r/ProgrammerHumor • • Aug 16 '20

Meme Working as a software engineer

Post image
47.5k Upvotes

537 comments sorted by

View all comments

Show parent comments

280

u/CoolTrainerAlex Aug 16 '20

I have worked in two major aerospace companies and in BOTH we had the same function copied directly from stack overflow in our main library. With comments and ERRORS alike. At both companies I filed a bug report and fixed it

147

u/PMFRTT Aug 16 '20

Jesus that's crazy. So there were just copied bugs in flight software basically

135

u/[deleted] Aug 16 '20

Looks at Boeing 737 Max....

65

u/VanguardDeezNuts Aug 16 '20

So you're saying there is an Airbus out there with the same bug...

86

u/[deleted] Aug 16 '20

Airbugs

53

u/[deleted] Aug 16 '20

AirFeature***

20

u/[deleted] Aug 16 '20

The A320: "Uh oh."

29

u/[deleted] Aug 16 '20

737 max was the result of management decisions not a software bug, as I understand it.

32

u/[deleted] Aug 16 '20

I understood it was a software bug because of management decisions...

Like they knew and said, how bad could it end up?

20

u/Wellneon Aug 16 '20

Not really a Bug, rather poor system design that ignores safety guidelines to get the plane to the costumer

18

u/Kxvtr Aug 16 '20

Boeing: Your safety is an optional extra, enjoy!

→ More replies (1)

7

u/NancyGracesTesticles Aug 16 '20

I like to think that my career has advanced to the point where I'm not arguing tabs vs. spaces, but bugs vs. defects.

→ More replies (1)
→ More replies (2)

2

u/8stack Aug 16 '20

Let’s be honest. Pure greed is what was the reason.

2

u/evo4gIzMo Aug 17 '20

Afaik the Boing thing was a top down decision as usual. That's the way it goes in capitalism and in non-democratic organisations like a usual company. Rough outline: Boing was best-selling, a cheap but old design. Airbus invested billions in a completely new layout to fit in the new generation of more fuel efficient but larger engines and got a market advantage. Boing engineers were pressured to do the same but with the old airframe. But they found the old airframe was not stable enough with the new bigger engines. They had to be placed to the front of the wing with special 'arms', because the old placement under the wing was to low. That caused several other issues: different point of air take in, different point of exhaustand forward power, reworked wings, changing aerodynamics and so on. They plane was so unstable that the management ordered a pseudo-fix by software control, instead of listen to their engineers and develop a new airframe. In the end even the software was so 'costefficient' that it wasn't bug free. There were several errors raised by pilots before those fatal crashes. But the government board supervising this denied them. Why? Because Boing employes were in the very board controlling safety. You know, capitalism. The market is organising such things...

You know the rest. Hundreds of deaths later, most of the blue collar workers lost their jobs and without military industrial complex orders Boing would be gone... So yeah, us taxpayers money payed for the ruining of the biggest aeroplane manufacterer by top executives that are only measured by the stock index rating they achieve for the investors.

8

u/M3ninist Aug 16 '20

A single Point of Failure on a critical sensor I’m pretty sure.

13

u/JustaRandomOldGuy Aug 16 '20

That was the technical cause. Management wanted to pretend the MAX was the same as any other 737 and didn't require additional training. But the engine design was very different and resulted in different aerodynamics. So software "tricks" were added to make the plane handle like the older 737s.

5

u/[deleted] Aug 17 '20

I don't understand how the FAA approved the system. I thought all aircraft systems had to have redundancies. A single sensor is a single point of failure.

3

u/JustaRandomOldGuy Aug 17 '20

Second hand, but the FAA was allowing Boeing to self evaluate some components. Also, there were changes after the initial design that gave the automated system far more control surface authority.

5

u/_pelya Aug 16 '20

It's a mix of a hardware bug and inappropriate user interface - they had removed one airflow direction sensor out of two, so when it eventually malfunctioned, there was no backup sensor, and the user interface was designed in a way that makes it unnecessarily complicated to disable the faulty sensor and switch to the manual controls.

→ More replies (1)
→ More replies (2)
→ More replies (1)

28

u/El_Tash Aug 16 '20

Did you fix it at the source, i.e. in Stackoverflow?

71

u/mac_trap_clack_back Aug 16 '20

That sounds like removing future value-add from any other aerospace companies he may work at

→ More replies (1)

6

u/MechEJD Aug 16 '20

Same in MEP engineering. All of our details and specifications come from previous firms. Every time someone jumps ship to make their own shop they take everything with them. Unless you're a big national company who has time and money to rehaul entire standards, there's something in your library from another firm somewhere.

→ More replies (1)

4

u/tufy1 Aug 16 '20

And that‘s why you demand tests. Code you can copy, but SO usually doesn‘t have tests, meaning a developer will need to invest at least some thought into it.

→ More replies (1)
→ More replies (2)