When a 4.4-magnitude earthquake rattled Los Angeles on Aug.13, it didn’t come as a complete surprise to everybody. About a million Californians got an early alert on their phones that a quake was imminent. A screengrab from the MyShake app, one of the first digital tools to help predict temors. How did it happen? It...