News for hackers. Stuff that matters.
Re:Prison. Bankruptcy. Suicide. How a software glitch ruined... by PakG1 on Tuesday January 16, 2024 @03:11AM (#39010747)
There is something about how buildings, bridges, and damns are tangible and therefore easier for people to conceptualize and appreciate. There is a natural literacy there in that you don't have to understand what goes into making a bridge to understand the consequences of having a bad bridge.

Meanwhile, software's inner workings are encapsulated so that they're not self-evident as to consequences if things go awry. Furthermore, software is inconsistent in how it works, and this trains people to think that software is just naturally glitchy, but the glitches aren't a big deal. See the joke about different types of engineers also: https://www.reddit.com/r/Jokes/comments/pqr8t3/four_engineer...

The mechanical engineer says: “It’s a broken starter”

The electrical engineer says: “Dead battery”

The chemical engineer says: “Impurities in the gasoline”

The IT engineer says: “Hey guys, I have an idea, how about we all get out of the car and get back in”

If that's what the IT guy recommends, how do you get users, never mind corporate managers and executives, to take software system quality seriously? Obviously, this isn't what a proper software guy will think, the proper software guy knows that things are a bit more complex than that. But this is what the software guy communicates to non-technical people. And only a few rare non-technical people will tell the software guy, "OK, look, just tell me what's really going on here, how deep the problem is, and what we need to do to fix it, no matter what it takes." Most people won't have the time for that because fact of the matter is that the system satisfices needs until it doesn't, and then it's too late.

Re:Prison. Bankruptcy. Suicide. How a software glitch ruined... by mjevans on Tuesday January 16, 2024 @04:22AM (#39011234)
Software is more like blueprints/processes for manufacturing. When something doesn't work right it's a yield rate issue. Oops the process failed, try it again.

Software can, and should, also be helpfully smarter. Where there's a chance for invalid inputs, they should be validated. That would help with errors like:

* Authentication failed, check your account credentials.

* Could not connect to remote server.

* Invalid data input, failed to parse around byte/octet 1,234,666, near line 56789 (printable filtered) text: 'Invalid String Example Here'

Yes, those are my take on 'software' versions of the starter, battery, and impurity.

Lots of well written software will do this, mostly good compilers for software.

Poorly written software, often hides these errors if it even collects them at all. PHBs and other less professional people seem allergic to thinking, for them it's easier to call in a specialist or just not do it with the broken tool.

Re:Prison. Bankruptcy. Suicide. How a software glitch ruined... by rightbyte on Tuesday January 16, 2024 @04:47AM (#39011423)
> The IT engineer says: “Hey guys, I have an idea, how about we all get out of the car and get back in”.

I have worked with ECU programming. When test drivers got stuck and called me it was the first thing I told them. "Restart the vehicle". If that didn't work, "disconnect the battery and wait 5 minutes".

They quickly learned.

Re:Prison. Bankruptcy. Suicide. How a software glitch ruined... by mathgeek on Tuesday January 16, 2024 @06:09AM (#39011964)
This happened to us with a first model year vehicle multiple times until the dealership received the necessary software upgrades. It was quite frustrating to be stuck at a busy fuel pump for 10 minutes until the software systems restarted properly.
Re:Prison. Bankruptcy. Suicide. How a software glitch ruined... by tialaramex on Tuesday January 16, 2024 @11:41AM (#39015324)
1. This is garbage, we should do better.

2. Early implementations of Britain's TPWS on railways are exactly like this. Suppose you're pulling into a terminus station and, for whatever reason, you happen to stop such that your train's sensors are right on top of the TPWS "toast rack" (basically think radio transmitter). When the next driver turns the train on, it can see a TPWS transmission. Now, it knows perfectly well it isn't moving, so we're not in some terrifying near-death scenario, and it could let you, a human train driver, sort this out by, you know, not crashing the train into the station buffers. Nope, in v1.0 the firmware just considers starting in this situation to be a fatal error and won't let you move at all, the only authorised solution is to get rid of any passengers who've boarded your train, switch the train into it's (unsafe for passenger service) maintenance mode, drive it away from the beacons a few yards, stop, turn off the power, and then reboot the computer where it now can't see a troubling TPWS transmitter and now it's a working train again.

Re:Prison. Bankruptcy. Suicide. How a software glitch ruined... by scoot on Tuesday January 16, 2024 @05:15AM (#39011597)
> The IT engineer says: “Hey guys, I have an idea, how about we all get out of the car and get back in”

"The IT person says". IT is not an engineering discipline (nor is software development in most cases), although they really should be.

And "turn it off and on again" is the canonical "joke".

Re:Prison. Bankruptcy. Suicide. How a software glitch ruined... by lupusreal on Tuesday January 16, 2024 @05:51AM (#39011840)
Belief in software glitchiness should have saved these people from erroneous prosecution, but instead what we see is people trusted the computers to be infallible.
Re:Prison. Bankruptcy. Suicide. How a software glitch ruined... by candiodari on Tuesday January 16, 2024 @06:12AM (#39011997)
No they trusted management to be infallible, even when management couldn't redo the calculations of the software manually.

This sort of thing is inevitable once a company is controlled by people who don't understand what the company does.

Management replaced know-how with software, and it mostly worked. Then they probably fired the few remaining people that had the know-how. Then, when it became painfully clear something was wrong, management chose to blame anyone, including to the point of pursuing prison sentences, rather than admitting they didn't know their business and someone made a mistake. They chose to destroy people's lives rather than admit they couldn't do the ONE job they claim they can.

Re:Prison. Bankruptcy. Suicide. How a software glitch ruined... by jimnotgym on Tuesday January 16, 2024 @10:56AM (#39014779)
> This sort of thing is inevitable once a company is controlled by people who don't understand what the company does.

I think we should examine why this doesn't happen with structural engineering firms.

For the third time on this thread I'm going to say it is because you have to have proper qualifications to do that for a living.

Re:Prison. Bankruptcy. Suicide. How a software glitch ruined... by BobaFloutist on Tuesday January 16, 2024 @04:06PM (#39019142)
Ok but, for example, Boeing has recently come under fire for poor quality control, which people are blaming on management decisions taking power away from technical experts.

And the enormous Millennium Tower in San Francisco is sinking and tilting.

So it's not unique to software.

Re:Prison. Bankruptcy. Suicide. How a software glitch ruined... by jimmydddd on Tuesday January 16, 2024 @09:19AM (#39013482)
I previously worked in factory automation back when computers were first getting introduced into factories. After I spent a day tracking down and correcting some software glitch that was causing a problem, the factory manager would ask what the problem had been. I was instructed to say "bad valve, we replaced it," which I noticed they found far more satisfying to hear than "software writing to wrong register."
Re:Prison. Bankruptcy. Suicide. How a software glitch ruined... by shagie on Tuesday January 16, 2024 @10:25AM (#39014275)
In one of the books I got on technology (early '00s?) there was an anecdote about a computer at a military facility crashing each night (probably in the 70s or 80s). They brought in a consultant to look at it and after an extended period of time looking for the problem in the code, the consultant was staying late in the data center wracking his brain over the problem.

At 10pm, a janitor came in, unplugged the computer, and plugged in his floor clearer, cleaned the floor, and then when done, unplugged the floor cleaner, and plugged the computer back in.

The consultant then suggested using the outlet on the other wall that had a free outlet (and got a 'difficult to unplug' cover for the outlet with the computer).

The next night he stayed late again and the janitor used the outlet on the other wall.

The consultant then told management that the problem had been solved and it was a buffer problem.

Re:Prison. Bankruptcy. Suicide. How a software glitch ruined... by atombender on Tuesday January 16, 2024 @06:43PM (#39020831)
There's a book called The Devouring Fungus: Tales of the Computer Age [1] that features a story like this, was that the book?

Apparently there are tons of these stories [2] [3], many of them probably urban legends.

But there was one last year that was definitely real [4], when a cleaner removed power to a freezer holding decades of samples, apparently because they were annoyed by an alarm sound it was making.

[1] https://www.goodreads.com/book/show/3227607-the-devouring-fu...

[2] https://old.reddit.com/r/talesfromtechsupport/comments/5yrs1...

[3] https://www.logikalsolutions.com/wordpress/information-techn...

[4] https://www.theguardian.com/us-news/2023/jun/27/cleaner-coll...

Re:Prison. Bankruptcy. Suicide. How a software glitch ruined... by shagie on Tuesday January 16, 2024 @10:15PM (#39022801)
That was the book. It's been a few years since I've dug it out... and looking it up on Internet Archive...

https://archive.org/details/devouringfungust00jenn/page/96/m... (pages 97 to 98) is the proper telling of the story.

Re:Prison. Bankruptcy. Suicide. How a software glitch ruined... by mywacaday on Tuesday January 16, 2024 @09:46AM (#39013800)
SW engineering is still in its infancy compared to other disciplines that have 100s of years of knowledge accumulated and built into their education process. SW education is different country to country and institution to institution. In no other engineering discipline would it be tolerated that you could be self educated. The lack of a standards and governing body that you would be expected to be accredited to is a major gap.
Re:Prison. Bankruptcy. Suicide. How a software glitch ruined... by anthk on Tuesday January 16, 2024 @12:01PM (#39015615)
In Europe in order to be called yourself an Engineer you need a Bachelor's Degree as a mininum. If not, it's illegal to work as an Engineer because being one requires civil accountability on casualities. You might work as one only if a colleague at work signs up your project. And, yet, depending on the case your colleague will refuse because he or she would be the one to sue in case of risks.
Re:Prison. Bankruptcy. Suicide. How a software glitch ruined... by synecdoche on Tuesday January 16, 2024 @12:39PM (#39016168)
Not in Sweden. There are a lot of creatively named engineers around here.
Re:Prison. Bankruptcy. Suicide. How a software glitch ruined... by syndicatedjelly on Tuesday January 16, 2024 @03:25PM (#39018630)
This is true in the US in regulated industries as well
Re:Prison. Bankruptcy. Suicide. How a software glitch ruined... by graemep on Tuesday January 16, 2024 @04:06PM (#39019144)
Not everywhere in Europe. Not in the UK for example.

There is legal accountability though, and a much better understanding of who can be held to blame for what. Software suppliers are pretty much immune to consequences of carelessness.

However, I think the real problem is that software is far more complex than a bridge or a building. IT system have complex hardware (far more complex than any mechanical device) running even more complex software (counting all the layers from OS up). On top of that people (meaning users/buyers) have no idea how to evaluate safety/reliability/security and mostly seem to regard it as a nice to have to be traded off against other nice to haves, not an essential baseline.

Once its implement everyone assumes the computer must be right, and acts accordingly. The presumption that computers are right is even enshrined in UK law (the intent was to stop people getting out of things like speeding tickets by claiming speed cameras where faulty) but I think everyone has come across situations where the final word on a dispute was "the computer says so".

Re:Prison. Bankruptcy. Suicide. How a software glitch ruined... by anthk on Wednesday January 17, 2024 @08:14AM (#39027180)
How about the safe code in avionics/nuclear sites, ADA/Spark, Misra C? Not magic or as safe-proof as a physical engineering where it's far easier to guess how a system will behave, OFC, but it's a good start.
Re:Prison. Bankruptcy. Suicide. How a software glitch ruined... by graemep on Wednesday January 17, 2024 @09:01AM (#39027754)
Yes, it gets done when necessary which shows we can do it.

It does not get done everywhere because it is not a high enough priority.

Re:Prison. Bankruptcy. Suicide. How a software glitch ruined... by brnt on Tuesday January 16, 2024 @04:56PM (#39019693)
I'm pretty sure that Bologna abolished 'Engineer' titles.
Re:Prison. Bankruptcy. Suicide. How a software glitch ruined... by germanier on Wednesday January 17, 2024 @01:49AM (#39024131)
In Germany, the protected title Ingenieur is still around but most bachelor degrees in a technical field grant you the right to use it. Whether or not you are one doesn't change the liability situation (although you can't perform certain works at all without). It's not really relevant in software development.

The English term "Engineer" can be used by anybody though.

Re:Prison. Bankruptcy. Suicide. How a software glitch ruined... by anthk on Wednesday January 17, 2024 @08:11AM (#39027157)
I think not, because the difference between being an actual one and not it's to spend several years in jail (you and your employer) in case of life or health related damages and harms.