News for hackers. Stuff that matters.
Re:The Three Levels of Software Safety by lixtra on Tuesday December 29, 2020 @04:40AM (#25568224)
> Safety is ultimately about preventing a system from reaching dangerous states.

This is a fallacy. Whether a state is dangerous or not often depends on the environment outside the system and usually cannot be totally foreseen by the engineer.

I happily damage my engine if I can drive out of the dessert.

Depending on case I’m happy if files can be undeleted - or not.

But of course I appreciate a warning why the state could be dangerous.

Re:The Three Levels of Software Safety by OnlyOneCannolo on Tuesday December 29, 2020 @06:28PM (#25576363)
Every safety analysis has a system boundary and a definition of "loss". In your example, the topmost system would also include you as a subsystem, and the loss you're trying to prevent is injury to yourself. Getting stranded is a hazard that could result in that loss. A mitigation could be to allow you to damage the vehicle subsystem to protect the person subsystem. A formal safety program would try to avoid process escapes such as overlooking a scenario like that. You might still decide not to design for it, but at least you consciously made that decision.
Re:The Three Levels of Software Safety by adrianN on Tuesday December 29, 2020 @05:24AM (#25568486)
Identifying what a dangerous state is is usually left to the person writing the requirements. Often that's a completely different department from the engineers who implement them.
Re:The Three Levels of Software Safety by tapan_jk on Tuesday December 29, 2020 @05:59AM (#25568655)
You are lucky to have someone write requirements who weights in these aspects. I have seen too many specs (this mostly happens in business software) where failures are knowingly or unknowingly ignored... because schedule.

I think failures should be designed for (or at least explicitly defined) even if the requirements do not include them.

Re:The Three Levels of Software Safety by adrianN on Tuesday December 29, 2020 @06:08AM (#25568693)
I think that's a lot more common in software where safety matters. Often such software is developed according to some regulations like ISO26262.
Re:The Three Levels of Software Safety by minot on Tuesday December 29, 2020 @06:30AM (#25568802)
Yes, I have to constantly remind other front-end developers that we don’t need to be pixel-perfect faithful to Zeplin or the story. It is more of a guide and you can always bring up any concerns you have or if you think something should be done differently and we can talk about it.