r/programminghorror • [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live" • 10d ago

nothingIsMorePermanentThanATemporaryFix

Post image
251 Upvotes

10 comments sorted by

41

u/XaX1000 10d ago

I like the return 99.99 because it was the average. Now my single cookie costs $99, just because im running GTA6.

16

u/W00GA 10d ago

lol wtf

9

u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live" 9d ago

I don't fucking know, man. I just saw this on r/ProgrammerHumor and thought it really belongs here.

-1

u/W00GA 9d ago

🤣

thanks for posting

funny as fuck 👍

28

u/AgencyCritical8994 Pronouns: He/Him 10d ago

"NotTodayException" funny

16

u/darkalemanbr 9d ago

Using float for price? That's real the horror

0

u/lawrencfgsdfg 6d ago

is double

1

u/area51user1 4d ago

ahhh yes, sleep whole thread for 1 sync method.

1

u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live" 4d ago

Isn't that 2 seconds? That is ms, right?

3

u/srhubb 6d ago

Ain't that the truth and I've got 40+ years of experiences to attest to that.

The worst was one "temporary fix" at one company became extremely permanent when they discovered after 10 years the source had apparently been missing long enough to have cycled out of the backup streams so that all they were left with was the hardware netlist (hardware item roughly equivalent to a software object file) that was the core of their entire product line.

The decision was then made regardless of the work load or design requirements it would be cheaper to force future products and product enhancements to comply with that lone netlist than to "reinvent the wheel" from scratch.

They did learn their lesson though and made multiple copies of that precious core netlist and stored each copy at separate independent sites.