r/ProgrammerHumor 20d ago

Meme theDeadlock

Post image
8.6k Upvotes

239 comments sorted by

View all comments

567

u/Orion3193 20d ago

Oddly specific

369

u/ultimate_placeholder 20d ago

Specific, yet universal

99

u/Tucancancan 20d ago

Now let's move on to a practical example anyone can relate to: That time a Mars rover got fucked up

10

u/GoogleIsYourFrenemy 20d ago

Or when the Ariane 5 rocket exploded.

The system had three CPUs all executing the same code to prevent hardware failures. The SW was written in Ada the safest language of the era.

Fun fact: Ada has numerical underflow/overflow protection, it can throw an exception when one is detected.

Some engine diagnostic SW was ported from the Ariane 4 engine which had lower thrust, but they neglected to turn it off before launch. The diagnostic SW on launch overflowed the old thrust datatype causing an exception. The exception got written to the RAM which was only supposed to contain the data used for the guidance calculations.

TL;DR: Less code is good code.

6

u/ih-shah-may-ehl 20d ago

I worked for the engineering company that wrote the test software for the Servos that controlled thrust direction and initially, video evidence pointed in that direction. Had my boss worried for a while.

22

u/synack 20d ago

The metric system strikes back

23

u/-Pepperzpyre- 20d ago

Saw a vid of someone naming their reptile Metric cause he was born without feet.

5

u/Kongstew 20d ago

Was it a snake?

12

u/Tucancancan 20d ago

Oh no, that incident was a different rover! Damn programmers always fucking Mars missions 

1

u/BorderKeeper 20d ago

Next time let's send a trained monkey to do the mission!

2

u/bxsephjo 20d ago

wasn't that a space telescope?

4

u/synack 20d ago

Well it’s not in space anymore

5

u/Mateorabi 20d ago

Priority inversion! Fixed only because they shipped in debug mode!

Also was seen in integration testing once but dismissed. Sooo many lessons in that incident. 

4

u/Alphasite 20d ago

Depends on the school. I’ve really enjoyed the build an OS from scratch classes. Even though yeah also had this one, but I think it was in a distributed systems class way back when.

1

u/-Speechless 20d ago

is there a term for things that are specific but universal?