News for hackers. Stuff that matters.
Re:How the Boeing 737 Max disaster looks to a software Devel... by amelius on Thursday April 18, 2019 @06:07PM (#19695235)
> As someone who carefully crafts their code to strive for perfection, seeing sloppy work out there in the wild drives me nuts.

Do you use formal methods to prove the correctness of your code?

Because that is what Boeing engineers do (I hope).

Re:How the Boeing 737 Max disaster looks to a software Devel... by philjohn on Thursday April 18, 2019 @06:43PM (#19695453)
You would indeed hope. But then again, look at the Toyota ECU issues ... and the subsequent code review as part of the court case ...
Re:How the Boeing 737 Max disaster looks to a software Devel... by philipov on Thursday April 18, 2019 @07:28PM (#19695683)
"Beware of bugs in the above code; I have only proved it correct, not tried it." - Donald Knuth
Re:How the Boeing 737 Max disaster looks to a software Devel... by Raidion on Thursday April 18, 2019 @06:44PM (#19695455)
It's not the logic that's the problem as much as the fact that the systems are meant to work with clean data, and the fact that data could not just be missing, but straight up incorrect was never considered as a valid possibility. This was made worse by the fact that the poorly formulated "solution" was barely communicated to the pilots. I saw somewhere that the plane could be unrecoverable in 40 seconds. You need to have bigger safety margins than that.
Re:How the Boeing 737 Max disaster looks to a software Devel... by ncmncm on Thursday April 18, 2019 @08:05PM (#19695900)
40 seconds is an eternity to a pilot taking off or landing. Even Air France, taken down by a plugged pitot tube from cruise altitude, was doomed after only two minutes.

Airbus has a lot to answer for on that one: averaging inputs from the pilot's and copilot's game controllers? Game controllers? Turning off the stall warning in deep stall, so that starting to recover sounds it again? Failing to teach pilots what stalls are, what they feel like, and how to prevent and recover from them?

There is more than enough blame to go around for that one.

The Boeing software, like the Airbus's, apparently performed as specified, so there was no problem with execution of the spec. The problem was that it was a bad spec, in too many ways to count.