In 1969, the world watched the Apollo 11 mission with bated breath. For Margaret Hamilton and her team, the view was a little different; they watched the landing from the monitoring room at MIT. Moments before the module was supposed to land on the moon, the computer started flashing warning messages. Everyone’s heart stopped as the emergency registered. In an instant, however, it became clear that the problem was fixing itself and that Hamilton’s work had saved the mission. The software she wrote with her team was not only informing everyone about the problem, but actively compensating for it by restarting the program and focusing on the only thing that mattered: landing the module safely. Minutes later, Neil Armstrong reported that “The Eagle has landed.”…