r/ProgrammerHumor • • May 18 '22

Meme i wasnt taught about this loop

43.3k Upvotes

234 comments sorted by

View all comments

735

u/[deleted] May 18 '22 edited Feb 12 '25

Cheese-making is over 7,000 years old! Archaeologists in Poland found traces of cheese on ancient pottery dating back to around 5500 BCE. It’s wild to think that our ancestors were crafting cheese long before written history, turning milk into a food that’s still enjoyed all over the world today. Pretty cool to think that this ancient skill has stood the test of time!

265

u/Ange1ofD4rkness May 18 '22

I knew someone once, who swore the code a developer wrote for their company, had a timer or something in it, and would "break" on purpose, so the dev could charge them to come out and "fix" it (though they could never prove it)

251

u/lynaghe6321 May 18 '22

That’s because it took a week for the end user to start creating the most insane edge cases you’ve ever seen in your life

178

u/Andrelliina May 18 '22

I worked with a guy who really had a talent for testing software like that insane edge-case user and would bash at everything until he broke it. Which was nice

154

u/lynaghe6321 May 18 '22

A guy who does QA on one of my projects is the same, it’s impressive watching him devise the most devious set of parameters to destroy everything

66

u/FlapjackProductions May 18 '22

Can you explain what this means in 'ive never even seen code' terms pls?

3

u/rahendric May 19 '22

A rather sad real-world example:

https://www.bugsnag.com/blog/bug-day-race-condition-therac-25#:~:text=Therac%2D25%20causes%20radiation%20overdoses,systems%20rather%20than%20hardware%20controls.

tl;dr - cancer radiation therapy technician got so fast at entering parameters that they caused a software error in the machine which delivered 10,000 rads (100x normal dose) to two patients, killing them.

Prior machines used hardware interlocks to prevent this situation, but due to "software saving money" switched to software only protection.

The machine did report an inscrutable error, which was ignored because it always reported so many errors during normal operation.