It was August 15, 2003. A software bug invoked a blackout spanning the Northeast, Midwest, and parts of Canada. Subways shut down. Hospital patients suffered in stifling heat. And police evacuated people trapped in elevators. What should have been a manageable, local blackout cascaded into widespread distress on the electric grid. A lack of alarm . . .