News for hackers. Stuff that matters.
Re:The Therac-25 Incident by 0xDEAFBEAD on Wednesday August 27, 2025 @07:50AM (#45038360)
Honestly I wish instead of the Therac-25, we were discussing a system which made use of unit testing and defensive coding, yet still failed. That would be more educational. It's too easy to look at the Therac-25 and think "I would never write a mess like that".
Re:The Therac-25 Incident by wat10000 on Wednesday August 27, 2025 @08:16AM (#45038635)
The lesson is not to write a mess like that. It might seem obvious, but it has to be learned.
Re:The Therac-25 Incident by kccqzy on Wednesday August 27, 2025 @04:27PM (#45044742)
Software engineering has advanced in the past few decades that the kind of code considered a "mess" has expanded.
Re:The Therac-25 Incident by wat10000 on Wednesday August 27, 2025 @09:55PM (#45047468)
We’ve invented entirely new ways to write bad code.
Re:The Therac-25 Incident by 0xDEAFBEAD on Thursday August 28, 2025 @05:29AM (#45050181)
Examples?
Re:The Therac-25 Incident by wat10000 on Thursday August 28, 2025 @10:29AM (#45052610)
Dependency managers, Agile, Electron, AI, Java.
Re:The Therac-25 Incident by roeles on Wednesday August 27, 2025 @08:45AM (#45038899)
One instance that crosses my mind often is the airbus a320 incident at Hamburg in 2008. Everything was done right there, but the requirements were wrong.

Despite all the procedures and tests, the software still managed to endanger the lives of the passengers.

Re:The Therac-25 Incident by 0xDEAFBEAD on Wednesday August 27, 2025 @08:59AM (#45039042)
Interesting, do you happen to have a case study?
Re:The Therac-25 Incident by shmeeed on Wednesday August 27, 2025 @09:32AM (#45039438)
Re:The Therac-25 Incident by I_dream_of_Geni on Wednesday August 27, 2025 @05:04PM (#45045268)
Speaking of Airbus, They 'lost' 3-4 different aircraft (from 1988 to 2015) which crashed during development, or, spectacularly during their first airshow. Never slowed down their customers at ALL, and to this day, Boeing has never lost one new commercial airliner in those same circumstances. Yet, Boeing gets all the hate. smh
Re:The Therac-25 Incident by Izkata on Thursday August 28, 2025 @10:14AM (#45052435)
The Boeing 737 MAX had an additional safety feature that was causing crashes due to bad input from the sensors, that pilots didn't know about so they couldn't override. This was 2018 and 2019. After the first crash, the manuals and training were updated to explain what was going on and how to override it.

https://en.wikipedia.org/wiki/Maneuvering_Characteristics_Au...

Re:The Therac-25 Incident by hinkley on Wednesday August 27, 2025 @01:37PM (#45042566)
I bring up Knight Capital every time people start acting like feature toggles will solve every problem we have with feature rollout.

KC lost over $400 million in less than an hour due to an old feature toggle and a problem with their deployment process.

Re:The Therac-25 Incident by jopsen on Wednesday August 27, 2025 @04:39PM (#45044920)
I'd agree, it's super easy to think such errors won't happen had they just used a fairly safe language and sane architecture. Or unit test, race detectors, etc.

I suspect that few organizations that do all that, have a process/culture of ignoring bugs in the wild -- and those that do have such complicated domains that explaining the error is hard.

Software best practices today would probably also involve sending metrics, logs, error reports, etc.

That said, it's still extremely easy get embrace a culture were unexplainable errors are ignored. Especially in a cloud environment.

Re:The Therac-25 Incident by jldugger on Wednesday August 27, 2025 @07:10PM (#45046431)
Perhaps this is why the cover of my software correctness book in undergrad used a series of stills from the arianne-5 disaster[1] for the cover.

[1]: https://en.wikipedia.org/wiki/Ariane_5#Notable_launches