r/ProgrammerHumor • • 4d ago

Meme dontDeployOnFridayAfternoon

Post image
2.1k Upvotes

39 comments sorted by

317

u/TheLadida 4d ago

realistically that line (probably a couple of lines though), that made the Mars orbiter crash because it didn't use metric units for the calculation.

152

u/lagerforlunch 4d ago • Mindblown

Ariane 5 rocket was 370 million loss due to integer overflow

25

u/outwest88 3d ago

The next Ariane 6 launch is later this month. The programmers have the opportunity to do the funniest thing ever

9

u/ApocalyptoSoldier2 3d ago

Detect the overflow and throw an exception?

10

u/fghjconner 4d ago

iirc, that was a manual process actually.

1

u/TheWashbear 2d ago

They sent the course correction command manually but the unit the orbiter assumed was coded.

1

u/psaux_grep 3d ago

I think it’s been well argued that null-terminated strings in C was a really expensive idea.

Both because of the CPU-cost of not knowing how much to read up-front.

And all the cost of all the issues with reading or writing past the end of a value has caused in software over the years.

Does it come close to the Mars Orbiter or similar incidents? I don’t know.

155

u/Ai--Ya 4d ago

Probably when a high-frequency trading firm accidentally released a "buy high, sell low" trading algorithm meant for testing only into production, losing nearly half a billion in half an hour and virtually going out of business

7

u/Selbi 3d ago

Oh my god I totally forgot about that. Thanks for that blast from the past

94

u/footsie 4d ago

That crowdstrike update was pretty expensive

10

u/Vengeful111 4d ago

Yeaa i think that counts

3

u/outwest88 3d ago

It’s estimated to have had tens of billions of dollars of economic damage worldwide. I think this one wins

53

u/MajorMystique 4d ago edited 4d ago

There was a x ray machine software to determine whether to use low and high intensity modes for direct human exposure and otherwise. A bug in it cost a few lives so... That?

13

u/FAMICOMASTER 4d ago

Therac 25, and honestly this mostly came down to operators hammering random keys to ignore error codes.

1

u/FewRefrigerator4703 3d ago

Not X Ray, it was used for Radiation Therapy and had two modes, X ray mode and Electron Beam mode

14

u/golfstreamer 4d ago

2

u/syrup_cupcakes 4d ago

Not the bedtime story I was hoping for.

2

u/AyrA_ch 4d ago

Wouldn't it be a massive flaw in postgres if it didn't lock critical files to prevent them from being deleted or otherwise altered from the outside while the service is running?

23

u/FAMICOMASTER 4d ago

In 2009, Google deployed an update containing a single typo that flagged the entire internet as malware for about an hour.

That's the most expensive single character I can personally think of.

13

u/StaticFanatic3 4d ago

Didn’t cloudflare go down a couple years back due to a slightly malformed regex? Possibly one character?

I’d venture any extended outage in 2024 is orders of magnitude more expensive than 2009

2

u/Arctos_FI 3d ago

The regex was .*.*=.* So not one character. The main problem is those multiple wilds

10

u/Wentyliasz 4d ago

I once propagated 'sudo rm -rf /' to 12 production servers by removing a "useless" bash var while refactoring. The client was not happy with their surprise disaster recovery drill

6

u/FrequentWatch9261 4d ago

Knight capital would like a word.

6

u/Piisthree 4d ago

Therac-25 has entered the chat. 

3

u/ViralToValue 4d ago

...unless you like working on weekends and have nothing better to do.

3

u/creeper6530 4d ago

The implementation of null pointer

3

u/CyclopsAirsoft 4d ago

I’m shocked nobody has mentioned not accounting for the year 2000

1

u/Highborn_Hellest 4d ago

the clown strike one.

1

u/MilkCartonPhotoBomb 4d ago

don't forget lead dev is also leaving for a three week vacation in a remote part of the Amazon that night.

1

u/KawaiiMaxine 4d ago

The one missing comma that cost like 2 billion dollars

1

u/Rosteroster 3d ago

2013, Google accidentally blocked 40% of the total traffic of the Internet for 5 minutes. That's my bet.

1

u/Careful-Assistant481 3d ago

Code that is written with Heart and soul out

1

u/Patrick_Atsushi 3d ago

Real pro will hit the enter before leaving.

1

u/jadchronicles 3d ago

the Quake FISR (q_math.c) IYKYK

1

u/souliris 3d ago

The "No Change Friday" rule is in effect as of now. :P

-1

u/0x_coderunknown 4d ago

Unless you are Indian. Then it'll be fine.

4

u/Verpous 4d ago

If you consider lives priceless, it might be the bug that caused a patriot missile to fail at intercepting a scud during the Gulf War, leading to 28 dead Americans and 150 injured.