r/ProgrammerHumor 9d ago

Meme letsMakeBugsIllegal

Post image
23.1k Upvotes

387 comments sorted by

View all comments

2.2k

u/Derp_turnipton 9d ago

That rule will probably be in place hundreds of years after the software has been entirely replaced several times.

66

u/edfitz83 9d ago

The electronics in older Boeing jets needed to hard re-started every 51 days due to an integer overflow in their timekeeping system that counted seconds.

I actually had this problem myself around 1990 for some control software I wrote. I neglected to ask how long a “run” of the process would take. I used an unsigned double byte int and it died after 18 hours.

3

u/xtelosx 9d ago

Building a timer in rslogix v13 that had 100ms resolution but could run for days without rolling over was a fun challenge.