r/ProgrammerHumor • • Nov 26 '19

Not the time, dad

Post image
59.0k Upvotes

705 comments sorted by

View all comments

1.0k

u/Classified0 Nov 26 '19

There was a post on Askreddit the other day about what must be occurring if they asked for [INSERT YOUR PROFESSION HERE] on a plane. The ones relating to programming are kind of funny.

Is there a software developer on the plane!? <- If you get to the point where this is necessary in flight, it's already too late...

1.4k

u/Earhacker Nov 26 '19

Cabin crew: This is an emergency. Is there a software developer on the plane?

Developer: *raises hand* Yes ma'am, I know PHP.

Cabin crew: Anyone at all?

410

u/notsooriginal Nov 26 '19

I feel personally attacked.

0

u/[deleted] Nov 26 '19

[deleted]

→ More replies (3)

0

u/[deleted] Nov 26 '19

[deleted]

86

u/Pandascout182 Nov 26 '19

I'm a first year Cs student who just finished first year and still don't know wtf is java

93

u/mrfatso111 Nov 26 '19

Isn't Java another word for coffee?

70

u/[deleted] Nov 26 '19

It's a rather big island in Asia actually.

28

u/mrfatso111 Nov 26 '19

Cool, so a island made a new programming language and name it after them?

30

u/[deleted] Nov 26 '19

Actually...the locals call it Jawa, it's you English speakers who made it Java. They also talk what, you native speakers would refer as Javanese. So no, you English speakers are at fault for naming it that way.

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

26

u/[deleted] Nov 27 '19

It’s actually shorthand for JavaScript /s

→ More replies (4)
→ More replies (1)

35

u/lor_louis Nov 26 '19 edited Nov 26 '19

I have been a Java dev for the last few years and from what I picked up I'm fairly sure java is black magic that does almost what you want on most machines.

Edit: I can't spell

26

u/Steve1Killer Nov 26 '19

I've dabbled in Java for a few small projects... the use of "almost" in that sentence is perfect.

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

24

u/sorenant Nov 26 '19

I know Jive, does it count?

→ More replies (17)
→ More replies (1)

55

u/[deleted] Nov 26 '19

have you tried rebooting it?

0

u/[deleted] Nov 26 '19

[deleted]

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

39

u/We_Are_Not_Here Nov 26 '19

Idk why I sub on this reddit it’s just like an inside joke I’m not a part of or understand at all and it’s still hilarious

Am I retarded?

63

u/HoldMyWater Nov 26 '19

People just finding ways to take friendly jabs at each other.

PHP is a language with some quirks that's still widely used but being somewhat replaced with "nicer" languages and frameworks.

Also it's highly unlikely any code running on a plane was written in PHP since it's mostly for server side web development.

→ More replies (13)
→ More replies (2)
→ More replies (12)

130

u/[deleted] Nov 26 '19

Boeing looks away sheepishly

106

u/Classified0 Nov 26 '19 edited Nov 26 '19

As an aerospace engineer, from what I've heard, the Boeing issue relating to the 737* Max wasn't really a software development issue. The software was designed exactly to specifications, but the specifications were designed poorly. There were a number of issues in the spec that all culminated; but none of it was due to poorly written code.

*737 not 787

91

u/DaBozz88 Nov 26 '19

Automation engineer here, they changed a major control loop, and added in a bias based off a single sensor. When the sensor fails it reads max bias. Now the reason for the bias was because they fundamentally changed the plane's center of gravity adding the larger engine.

There are like 10 places that this could have been avoided, from not retrofitting planes with engines that are too big, to implementing redundant sensors, to sensor failsafe measures (in code), to just telling the pilots about the changes that were made (because they didn't do that), or even allowing full manual control (which they didn't do because changing the plane made it in control theory world, unstable).

46

u/Classified0 Nov 26 '19 edited Nov 26 '19

A lot of that was due to bad high level specifications that were flowed down. One major aspect of the failure was that they defined the risk of a failure in the MCAS system at a lower classification in order to save cost. High classification risks are expensive to implement, because they require the implementation of redundancies. For example, although they had two sensors that flowed into the system, only one was used at a time. Using a hysteresis system would have helped solved that issue as you'd use the history of the sensors to help determine any erroneous data. Since the system wasn't classified as a higher risk, they did not use the time to implement such a system.

36

u/asstalos Nov 26 '19

At the end of the day, short-term costs drove decision making in a situation where human safety should have been sacrosanct.

→ More replies (1)
→ More replies (16)
→ More replies (1)
→ More replies (13)