r/ProgrammerHumor • • Nov 04 '26

Meme dontDeployOnFridayAfternoon

Post image
2.1k Upvotes

40 comments sorted by

322

u/TheLadida Nov 04 '26

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.

153

u/lagerforlunch Nov 04 '26 • Mindblown

Ariane 5 rocket was 370 million loss due to integer overflow

26

u/outwest88 Nov 05 '26

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

10

u/ApocalyptoSoldier2 29d ago

Detect the overflow and throw an exception?

10

u/fghjconner Nov 04 '26

iirc, that was a manual process actually.

1

u/TheWashbear 28d ago

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

2

u/psaux_grep 29d 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.

1

u/TheyStoleMyNameAgain 23d ago

Probably peanuts in comparison to the initial 2 digit year variable declaration :D

158

u/Ai--Ya Nov 04 '26

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 Nov 05 '26

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

95

u/footsie Nov 04 '26

That crowdstrike update was pretty expensive

10

u/Vengeful111 Nov 04 '26

Yeaa i think that counts

3

u/outwest88 Nov 05 '26

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

54

u/MajorMystique Nov 04 '26 edited Nov 04 '26

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 Nov 04 '26

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

1

u/FewRefrigerator4703 29d ago

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

14

u/golfstreamer Nov 04 '26

2

u/syrup_cupcakes Nov 04 '26

Not the bedtime story I was hoping for.

2

u/AyrA_ch Nov 04 '26

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 Nov 04 '26

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 Nov 05 '26

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 29d ago

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

10

u/Wentyliasz Nov 04 '26

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 Nov 04 '26

Knight capital would like a word.

6

u/Piisthree Nov 04 '26

Therac-25 has entered the chat. 

3

u/ViralToValue Nov 04 '26

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

3

u/creeper6530 Nov 04 '26

The implementation of null pointer

3

u/CyclopsAirsoft Nov 04 '26

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

1

u/Highborn_Hellest Nov 04 '26

the clown strike one.

1

u/MilkCartonPhotoBomb Nov 04 '26

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 Nov 04 '26

The one missing comma that cost like 2 billion dollars

1

u/Rosteroster Nov 05 '26

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

1

u/Careful-Assistant481 Nov 05 '26

Code that is written with Heart and soul out

1

u/Patrick_Atsushi Nov 05 '26

Real pro will hit the enter before leaving.

1

u/jadchronicles 29d ago

the Quake FISR (q_math.c) IYKYK

1

u/souliris 29d ago

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

-1

u/0x_coderunknown Nov 04 '26

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

4

u/Verpous Nov 04 '26

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.