Logo
Tabs vs Spaces: The eternal holy war.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Azure Azure
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

Programming laws Memes

Posts tagged with Programming laws

Let's Make Bugs Illegal

Debugging Programming Testing Security Algorithms
1 year ago 501.3K views 0 shares
Let's Make Bugs Illegal
Ah, Switzerland—where they legislated against integer overflows before they legislated against bugs. The meme shows an actual Swiss railway regulation forbidding trains with exactly 256 axles because the axle counter would reset to zero, essentially making the train invisible to the system. For the uninitiated, 256 (or 2^8) is where an 8-bit unsigned integer maxes out and wraps back to zero. It's like your car odometer hitting 999999 and rolling back to 000000, except this rollover could cause a train collision. Instead of fixing the code, they just banned the edge case. If only we could solve all our debugging nightmares by making them illegal. "Error 404? Straight to jail."

Today's picks

Oh Boy

Oh Boy

Hardware
195.5M views 5 days ago
Which Of These Javascript Expressions Is False?

Which Of These Javascript Expressions Is False?

Javascript
506.1K views 1 year ago
Made Some Homework For My Reverse Engineering Lecture

Made Some Homework For My Reverse Engineering Lecture

Security
535.2K views 11 months ago