Logo
CAPTCHA: Computers Asking People To Confirm Humanity Again
  • 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

Numeric limits Memes

Posts tagged with Numeric limits

Integer Overflow

Debugging Java Programming C++
1 month ago 68.8M views 2 shares
Integer Overflow
When your gas tank counter hits max capacity and wraps back around to zero. Homer's filling up his RV but the pump's probably been running so long it overflowed back to empty. Classic integer overflow behavior - you reach the maximum value your data type can hold, and instead of stopping like a reasonable system, it just says "screw it" and loops back to the beginning. It's like when Gandhi becomes a nuclear warmonger in Civilization because his aggression stat goes below zero. Your RV's gas tank: technically full. Your fuel gauge: confidently displaying empty. Your weekend trip: not happening.

Today's picks

UnionSine 1TB Ultra Slim Portable External Hard Drive HDD-USB 3.0 for PC, Mac, Laptop, PS4, Xbox one, Xbox 360-(Black)

UnionSine 1TB Ultra Slim Portable External Hard Drive HDD-USB 3.0 for PC, Mac, Laptop, PS4, Xbox one, Xbox 360-(Black)

Affiliate
$69.71
NordVPN

NordVPN

Sponsored
VPN
Wait

Wait

Programming
92.3K views 2 years ago