News for hackers. Stuff that matters.
Re:California fault capable of producing a magnitude 8 earth... by mehrdadn on Friday October 18, 2019 @02:37AM (#21289162)
Question: What's the fastest earthquake notification source publicly available? I ask because USGS seems to have a 5-10 minute delay, whereas I'm hoping for less (ideally a few seconds).
Re:California fault capable of producing a magnitude 8 earth... by dheera on Friday October 18, 2019 @04:54AM (#21289724)
I was also hoping to create an early warning system and at least wake me out of bed a few seconds before an earthquake hits so I'm at least on the way to sheltering myself from falling objects.

The response I got from USGS was this:

> You can read our FAQ on that at https://www.usgs.gov/faqs/how-fast-does-earthquake-informati....

> You may also be interested in ShakeAlert - see https://earthquake.usgs.gov/research/earlywarning/.

So in short, no, they don't really have it yet. I wonder though if we (hackers) could create a realtime system for the bay area since USGS has been on it for years without results. About 20-50 sensors scattered in homes around the bay would probably be enough for an early warning system. Warnings can be delivered via a mobile app, or some kind of realtime API that anyone can use for their own purposes (e.g. stopping machinery, sounding building alarms, ...).

Re:California fault capable of producing a magnitude 8 earth... by semi-extrinsic on Friday October 18, 2019 @05:25AM (#21289853)
If you want to do this, look to Japan.

I'm not working in this field, but I know they put a lot of effort into not just the geology, but also the psychology of warnings, esp. compared to acceptable false positive rates.

Re:California fault capable of producing a magnitude 8 earth... by axus on Friday October 18, 2019 @09:36AM (#21291228)
They were able to warn everyone in real-time when North Korea launched those missiles. A quick search turned up this article that the J-Alert system is not perfect: https://www.japantimes.co.jp/news/2018/04/10/national/japans...
Re:California fault capable of producing a magnitude 8 earth... by AlchemistCamp on Friday October 18, 2019 @10:58AM (#21291921)
> I was also hoping to create an early warning system and at least wake me out of bed a few seconds before an earthquake hits so I'm at least on the way to sheltering myself from falling objects.

Wouldn't it be safer to not put objects that might fall above your bed?

Re:California fault capable of producing a magnitude 8 earth... by digitalsushi on Friday October 18, 2019 @11:36AM (#21292255)
he might have a roof
Re:California fault capable of producing a magnitude 8 earth... by Wowfunhappy on Friday October 18, 2019 @07:47PM (#21295921)
...which you also can't really get out from under in a few seconds.

I'm also not really sure what I could actually do to "shelter" myself in that timeframe.

Re:California fault capable of producing a magnitude 8 earth... by Jeff_Brown on Saturday October 19, 2019 @12:50PM (#21299388)
If you google "earthquake-proof bed" you'll find at least one way to avoid getting crushed by (a typical) falling roof.
Re:California fault capable of producing a magnitude 8 earth... by tlrobinson on Friday October 18, 2019 @08:52PM (#21296152)
It sounds like they have it, ShakeAlert, they just don't give access to the public for some reason.

I found this document that has some interesting technical details https://pubs.usgs.gov/of/2018/1155/ofr20181155.pdf

Re:California fault capable of producing a magnitude 8 earth... by fragmede on Friday October 18, 2019 @11:14AM (#21292064)
We have it, it was tested out just yesterday.

https://www.theverge.com/platform/amp/2019/10/17/20919639/ca...

Re:California fault capable of producing a magnitude 8 earth... by geocanuck on Friday October 18, 2019 @10:40AM (#21291757)
You can get small raspberry pi based seismographs from https://raspberryshake.org/ ... could be interesting to integrate it with a small alarms or web/mobile apps that go off when it detects p-wave/s-wave arrivals with amplitudes above a user-specified threshold (so its not going off every day with smaller/distant events that are not felt by humans at the measurement location)
Re:California fault capable of producing a magnitude 8 earth... by aarongolliver on Friday October 18, 2019 @08:20PM (#21296038)
If you haven't, take a look at the crowd sourced real-time lightning maps. Loads if sensors are scattered world-wide triangulating lightning strikes - there are even websites that estimate the sound wave as it grows & you'll hear the thunder right as the circle envelopes your location. Very fun to play around with during storms!
Re:California fault capable of producing a magnitude 8 earth... by mehrdadn on Friday October 18, 2019 @05:13AM (#21289814)
Thanks! It's nice to see someone finally address my question head-on. I feel the same way as you -- I can't fathom why it's taking them so long. Sad to hear nothing exists yet, but glad it's not just me being unable to find something.
Re:California fault capable of producing a magnitude 8 earth... by Rebelgecko on Friday October 18, 2019 @03:57PM (#21294585)
The USGS has a RabbitMQ broker for distributing early alerts but it's not available to the general public.
Re:California fault capable of producing a magnitude 8 earth... by tlrobinson on Friday October 18, 2019 @08:49PM (#21296140)
It seems like they should just allow one or two vetted members of the public access to the broker, and then they can re-broadcast it to whoever wants it (with strong disclaimers about reliability)
Re:California fault capable of producing a magnitude 8 earth... by Rebelgecko on Friday October 18, 2019 @09:28PM (#21296269)
That's pretty much what they're doing, the city of LA and the state of CA (by way of UC Berkeley) have their own apps that I believe are just rebroadcasting that data
Re:California fault capable of producing a magnitude 8 earth... by Excel_Wizard on Friday October 18, 2019 @07:39AM (#21290431)
Write a bot that detects earthquake-related tweets, a la xkcd.
Re:California fault capable of producing a magnitude 8 earth... by gsaga on Friday October 18, 2019 @08:35AM (#21290828)
Re:California fault capable of producing a magnitude 8 earth... by alikim on Friday October 18, 2019 @11:17AM (#21292082)
I've actually done this and get notifications usually 30 seconds post quake just like xkcd suggested.
Re:California fault capable of producing a magnitude 8 earth... by dheera on Friday October 18, 2019 @01:21PM (#21293222)
I thought of that but 30 seconds is too long for an early warning system, the waves travel pretty fast.
Re:California fault capable of producing a magnitude 8 earth... by alikim on Tuesday October 22, 2019 @02:40PM (#21327130)
Depending on where the epicenter is, it may take 1-2 minutes for the S waves (which are the slower, damaging ones) to travel to the major population center. Up to 30s of warning for an earthquake early warning system is enough for people to take cover and for cities to shut off things like water/gas lines. That being said my system is definitely not ready for that, and twitter can be seen as one source of information used to augment other early detection systems.
Re:California fault capable of producing a magnitude 8 earth... by dragonwriter on Saturday October 19, 2019 @04:30AM (#21297477)
The only way to get notification of an earhquake in time is a prediction system.
Re:California fault capable of producing a magnitude 8 earth... by mike_d on Friday October 18, 2019 @03:04AM (#21289248)
The newly updated MyShake app detects seismic events using peoples cell phones, then sends notifications to people nearby 5-10 seconds before the shock waves arrive.

https://myshake.berkeley.edu/

Re:California fault capable of producing a magnitude 8 earth... by andai on Friday October 18, 2019 @03:36AM (#21289378)
> MyShake uses a neural network to decide which motion is produced by earthquakes and which isn’t.
Re:California fault capable of producing a magnitude 8 earth... by mehrdadn on Friday October 18, 2019 @04:03AM (#21289490)
Thanks, but oh man... I've tried this a year or two ago, but I was hoping there would be something that wouldn't require my phone to have constant data connectivity? I turn it off sometimes especially at home/work. :\

Edit: I'm also not sure how much battery it uses... hopefully the battery-saver mode won't use much?

Re:California fault capable of producing a magnitude 8 earth... by ahbyb on Friday October 18, 2019 @04:04AM (#21289497)
How would something like this work without connectivity?
Re:California fault capable of producing a magnitude 8 earth... by ramchip on Friday October 18, 2019 @04:41AM (#21289653)
In Japan you can get early earthquake notifications, before the seismic waves arrive, via area broadcast.

https://en.m.wikipedia.org/wiki/Earthquake_Early_Warning_(Ja...

Re:California fault capable of producing a magnitude 8 earth... by mehrdadn on Friday October 18, 2019 @04:07AM (#21289507)
I didn't say without connectivity, I just said without phone data connectivity. Email would be best, SMS could work too.
Re:California fault capable of producing a magnitude 8 earth... by ahbyb on Friday October 18, 2019 @04:10AM (#21289521)
Email doesn't work without phone data
Re:California fault capable of producing a magnitude 8 earth... by mehrdadn on Friday October 18, 2019 @04:12AM (#21289524)
Sure it does? It goes to my computer.
Re:California fault capable of producing a magnitude 8 earth... by ahbyb on Friday October 18, 2019 @04:17AM (#21289545)
Ah geez. I was assuming you wanted the alerts to be sent to your mobile while you were away from home.
Re:California fault capable of producing a magnitude 8 earth... by neuronic on Friday October 18, 2019 @04:37AM (#21289630)
And your assumption was right. The original premise was "how can I get notified within seconds after tremors occur" and not "please send an email for me to read when I happen to use a desktop PC".
Re:California fault capable of producing a magnitude 8 earth... by donkeyd on Friday October 18, 2019 @04:55AM (#21289735)
Some people spend most of their day on their laptops and try to limit phone time. People in this thread are all assuming everyone does things they way they do, but not all people are the same.
Re:California fault capable of producing a magnitude 8 earth... by jannes on Friday October 18, 2019 @09:39AM (#21291244)
Email delivery can easily be delayed 1-2 minutes. I’m not sure it’s the best method for an early warning system.
Re:California fault capable of producing a magnitude 8 earth... by mehrdadn on Friday October 18, 2019 @02:22PM (#21293817)
I usually get my emails instantly, but if they get delayed, then they get delayed. At least a chance of getting a notification quickly is far better than nothing.
Re:California fault capable of producing a magnitude 8 earth... by squarefoot on Friday October 18, 2019 @04:23AM (#21289568)
A mix of technologies might help: say 10 cellphones in a given area detect a tremor, they start communicating each other via mesh WiFi (long range BT, LoRa if available etc.) their data and if one of them is connected to the Internet, it packs all data and send it to a central server where it is matched with other (groups of) cellphones data and evaluated if an alert is to be sent. If yes, it can use the same path (central server->Internet->connected phone->phones nearby) plus broadcasting an alert to other media sources, TV, radio etc. All it would need is one cellphone to be connected at a time, which in non rural areas should be almost the norm today. Also, the amount of data sent and received would be trivial so it wouldn't impact connectivity costs.
Re:California fault capable of producing a magnitude 8 earth... by dheera on Friday October 18, 2019 @01:23PM (#21293248)
I agree, having an API or some such would be nice; I don't usually carry around a phone indoors when I have massive screens available to me, and also put my phone in airplane mode while sleeping.
Re:California fault capable of producing a magnitude 8 earth... by lazyasciiart on Friday October 18, 2019 @02:19PM (#21293785)
The system only works because people run the app on their phones to produce the data.
Re:California fault capable of producing a magnitude 8 earth... by jdavis703 on Friday October 18, 2019 @08:59AM (#21290971)
FWIW this app failed to detect an earthquake yesterday that I felt in Mountain View (the origin was in Hollister). I think they still have some fine-tuning.
Re:California fault capable of producing a magnitude 8 earth... by notable_user on Friday October 18, 2019 @10:27AM (#21291639)
Almost certainly they detected the earthquake and decided not to notify people because it was too small to warrant a notification.
Re:California fault capable of producing a magnitude 8 earth... by TheCraiggers on Friday October 18, 2019 @11:36AM (#21292254)
Almost certainly, that's pure conjecture.
Re:California fault capable of producing a magnitude 8 earth... by athriren on Friday October 18, 2019 @03:33PM (#21294415)
The article I read announcing statewide rollout actually goes into some detail regarding what threshold the quake has to hit for notifying people. I found it interesting, because I had initially expected it to send out warnings for every quake. Some people complained that the app didn’t warn them about quakes they felt that had been quite mild, so they lowered the threshold for alert to more closely conform to people’s expectations (even though that level of shaking was very minor and not necessary to warn people about).

[0] https://www.theverge.com/platform/amp/2019/10/17/20919639/ca...

Re:California fault capable of producing a magnitude 8 earth... by fragmede on Friday October 18, 2019 @11:06AM (#21291983)
Yesterday, on the anniversary of the 1989 Loma Prieta earthquake, they tested out an early warning system hooked up to the system that drives Amber alerts. This will deliver warning of an impending earthquake, tens of seconds before an earthquake hits (in supported areas, like SF) due to the propagation speed differences between an earthquake's P-wave and S-waves.

(Japan has had such a system in place since the 90's, and will stop bullet trains and surgeries just before the earthquake hits.)

Re:California fault capable of producing a magnitude 8 earth... by Decade on Friday October 18, 2019 @04:00PM (#21294610)
My phone got the alert half an hour after the advertised alert window (advertised: 5:15 to 5:45, actual: 6:15), so that’s not great.
Re:California fault capable of producing a magnitude 8 earth... by cortesoft on Friday October 18, 2019 @03:28AM (#21289347)
Haha, well we just had an earthquake a few minutes ago here in Los Angeles. It was up on Reddit /r/losangeles within a few seconds.
Re:California fault capable of producing a magnitude 8 earth... by malingo on Friday October 18, 2019 @03:41AM (#21289399)
Yep, just woke me up. Here's the seismograph from Occidental college: https://apps.oxy.edu/ws/seismoday.aspx
Re:California fault capable of producing a magnitude 8 earth... by 0898 on Friday October 18, 2019 @04:56AM (#21289741)
For the life of me, I can't work out the axes on that graph.
Re:California fault capable of producing a magnitude 8 earth... by jefftk on Friday October 18, 2019 @06:50AM (#21290223)
Seismographs have time on the X axis and magnitude on the Y. This one wraps the X axis so each line across the paper is 15min.
Re:California fault capable of producing a magnitude 8 earth... by elorant on Friday October 18, 2019 @04:15AM (#21289534)
I live in Greece and often I check: https://www.emsc-csem.org/Earthquake/

It appears to have quite immediate reporting, in the region of couple of minutes.

Re:California fault capable of producing a magnitude 8 earth... by tlrobinson on Friday October 18, 2019 @04:54AM (#21289728)
Twitter.

Seriously. If you can get a real-time feed of all tweets with the word “earthquake” it should be pretty easy to detect all ~4+ magnitude earthquakes in (moderately? heavily?) populated areas.

Re:California fault capable of producing a magnitude 8 earth... by Cshelton on Friday October 18, 2019 @11:35AM (#21292240)
Exactly. And Twitter is also in the best position to build a dedicated alert system since many times they have the mobile location of each user tweeting. They could even have the app tell the user to then set the phone on a flat surface and use that to try and crowdsource a magnitude/validate the quake. I don't think any other company/org is in a position to be even remotely as accurate than Twitter is for real-time.
Re:California fault capable of producing a magnitude 8 earth... by rightbyte on Saturday October 19, 2019 @04:26AM (#21297466)
If a bad enough erathquake hit the network would probably malfunction or overload due to distress and "are you OK" calls. I guess there is need for satelite or some long wave RF system.
Re:California fault capable of producing a magnitude 8 earth... by Florin_Andrei on Friday October 18, 2019 @03:43AM (#21289418)
The Earthquake Alert! app on Android showed me the recent earthquake about 1 minute after the event - the time it took to figure out what's happening, get the phone, unlock, fire up the app, etc.
Re:California fault capable of producing a magnitude 8 earth... by moring on Friday October 18, 2019 @04:01AM (#21289485)
Sounds like room for improvement: Shout "earthquake" through the phone's speakers (overriding any volume setting), flash "earthquake" on the screen (turning the screen on if necessary, but if that takes a second, don't have it delay the sound output but do it in parallel), and especially without unlocking or opening the app.
Re:California fault capable of producing a magnitude 8 earth... by themaninthedark on Friday October 18, 2019 @07:34AM (#21290408)
Re:California fault capable of producing a magnitude 8 earth... by spuz on Friday October 18, 2019 @08:16AM (#21290676)
Why do you need to fire up the app? Are you looking to receive alerts or send them?
Re:California fault capable of producing a magnitude 8 earth... by alikim on Friday October 18, 2019 @11:27AM (#21292175)
I wrote a script that monitors twitter for earthquake related tweets and notifies me when a certain threshold is hit. It pretty reliably notifies me 20-30s post-quake. Main problem is that very few tweets actually have location data associated with them. I try to grab the location string users can specify in their bio and infer the location based on the most common occurrence in a body of tweets- works decently well although its usually a broader region.
Re:California fault capable of producing a magnitude 8 earth... by pkaye on Friday October 18, 2019 @05:23PM (#21295204)
California has a earthquake warning system they started just publicizing. http://earthquake.ca.gov/mobile-application/ Its been a few years in the making. Also it will give warnings only if close to your proximity by cellular location.
Re:California fault capable of producing a magnitude 8 earth... by cookie_monsta on Friday October 18, 2019 @04:49AM (#21289699)
I'm not meaning to be obtuse and I've only experienced a few earthquakes first-hand, but why would you need a near real-time notification? It's kind of obvious when one is happening in your vicinity and if it's not nearby why would the delay matter?
Re:California fault capable of producing a magnitude 8 earth... by thinkingemote on Friday October 18, 2019 @04:59AM (#21289754)
1) Tsunami early warning system. The difference of 30 seconds might be enough to save a life. 5-10 minutes might save many more?

2) Stabilize machinery, close windows, blinds, turn off gas, start emergency generator in hospital. I'm sure the financial people would be able to sell stocks with earlier notice than others!

Re:California fault capable of producing a magnitude 8 earth... by mehrdadn on Friday October 18, 2019 @04:54AM (#21289727)
One reason is that I've noticed sometimes it takes me a few seconds to be able to tell if it's genuinely an earthquake or if something else is causing a vibration, and sometimes it actually takes a few seconds for it to become noticeable... then a few seconds on top of that for me to figure out how to react. Any kind of confirmation notification at that point would be extremely helpful to snap me into action and avoid needless delays.

Another reason is that, well, I might be asleep, and ideally I'd prefer to wake up with a notification, rather than (say) with something falling on my head...

Re:California fault capable of producing a magnitude 8 earth... by m4rtink on Friday October 18, 2019 @11:52AM (#21292415)
Shinkansens apply full breaks automatically if dangerous earthquake is detected (there are about 50 on the way just between Osaka and Tokyo). Thanks to this system many trainsets will already be stationary when the seismic waves hit them.
Re:California fault capable of producing a magnitude 8 earth... by kalleboo on Friday October 18, 2019 @07:51AM (#21290501)
The real-time notifications to cell phones in Japan are faster than the actual seismic waves, so if it's a decently sized earthquake a little ways away, it gives you a 5-15 second head start
Re:California fault capable of producing a magnitude 8 earth... by Cerium on Friday October 18, 2019 @12:30PM (#21292744)
Usually I see the earthquake on the USGS recent earthquake feed within a minute of feeling the event.
Re:California fault capable of producing a magnitude 8 earth... by tyfon on Friday October 18, 2019 @03:28AM (#21289348)
Wouldn't SMS fit the bill?

Everyone has it and it's quick to send out if you have the system set up for it.

Re:California fault capable of producing a magnitude 8 earth... by tapland on Friday October 18, 2019 @03:59AM (#21289474)
Yes, as a system for publishing. But it's only a way to transfer the notification, not a source.
Re:California fault capable of producing a magnitude 8 earth... by mehrdadn on Friday October 18, 2019 @04:13AM (#21289530)
SMS isn't a notification source, it's a communication medium.
Re:California fault capable of producing a magnitude 8 earth... by tyfon on Friday October 18, 2019 @04:49AM (#21289703)
It's used for urgent notification of the public by the Norwegian government and municipalities. It's also very easy to accurately target specific areas as all the numbers are registered with the address of the owner.

The benefit is that you don't need any infrastructure except for the phone network so there are very few servers that can go down etc.

Edit: I see my error!, Yes it's not a source. Never mind my comments :)

Re:California fault capable of producing a magnitude 8 earth... by capableweb on Friday October 18, 2019 @04:28AM (#21289593)
> HTTP isn't a notification source, it's a communication medium.

> WebSockets isn't a notification source, it's a communication medium.

> Email isn't a notification source, it's a communication medium.

Seems like sometimes communication mediums are being used as notification sources. And that's fine.

Re:California fault capable of producing a magnitude 8 earth... by rolltiide on Friday October 18, 2019 @02:45AM (#21289184)
Twitter lol

You just dont get magnitude, depth and location data

You can also make your own seismoter, its not complicated but everything makes them go off

Re:California fault capable of producing a magnitude 8 earth... by de_watcher on Friday October 18, 2019 @03:42AM (#21289406)
I've got the googley eyes seismometer on my fridge.
Re:California fault capable of producing a magnitude 8 earth... by daveslash on Friday October 18, 2019 @03:23AM (#21289321)
Excusing the commentor's misuse of grammar and punctuation: I'm Not sure why this comment is being down voted.

I haven't done the research, but is @rolltide incorrect in his assertion that you can get certain data from USGS (such as magnitude, depth, and location)? That information is available on the USGS website.

Or are people down-voting him/her because of the claim of making your own seismoter? (rolltitde did misspel seismometer).

Re:California fault capable of producing a magnitude 8 earth... by vonmoltke on Friday October 18, 2019 @08:54AM (#21290943)
> Excusing the commentor's misuse of grammar and punctuation: I'm Not sure why this comment is being down voted.

I downvoted it for "Twitter lol".

1) The "lol" is unnecessary and juvenile

2) The statement indicates that either using Twitter should somehow be obvious, or that the poster is not taking the posed question seriously

On balance, it pulls the level of discourse down, which is my (and the proper) criteria for a downvote.

Re:California fault capable of producing a magnitude 8 earth... by Gibbon1 on Friday October 18, 2019 @06:49PM (#21295681)
> I downvoted it for "Twitter lol".

I would appreciate that you not censor other people comments over such trivial things.

Because it's really annoying to everyone else. And thus rude.

Re:California fault capable of producing a magnitude 8 earth... by mkl on Friday October 18, 2019 @04:19AM (#21289553)
It sounds like they just meant random people tweeting about earthquakes the moment they happen, instead of actual data or reliable notifications.
Re:California fault capable of producing a magnitude 8 earth... by rolltiide on Friday October 18, 2019 @06:43PM (#21295657)
seems the consensus is that it's not inaccurate, they just didn't like the format of the contribution

so you can learn a lot from downvote censored comments on this site

Re:California fault capable of producing a magnitude 8 earth... by Dylan16807 on Friday October 18, 2019 @03:31AM (#21289355)
For one, twitter can't give you a notification for an earthquake.
Re:California fault capable of producing a magnitude 8 earth... by mch82 on Friday October 18, 2019 @03:35AM (#21289376)
@earthquakesLA is very quick to post info

Edit: for example...

“A 3.7 magnitude earthquake occurred 0mi WSW of Compton, CA. Details: http://eqbot.com/2iV Map: http://eqbot.com/2ii”