Logo
90% done means 90% left to do.
  • 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

Logic-paradox Memes

Posts tagged with Logic-paradox

Recursion Stack Exceeded

Algorithms Programming Debugging
4 months ago 21.5M views 0 shares
Recursion Stack Exceeded
The genie offers 3 wishes, and our clever protagonist immediately spots the infinite loop exploit: "I wish you don't grant this wish!" The genie's brain starts processing the paradox—if he grants the wish, he's not granting it, but if he doesn't grant it, he IS granting it. Cue the stack overflow as the poor genie's logic enters an infinite recursive call with no base case. His processor is literally melting trying to evaluate if (grantWish()) { return !grantWish(); } until the call stack explodes. It's basically the programming equivalent of "this statement is false" but weaponized against magical beings. Maximum recursion depth exceeded, genie.exe has stopped responding.

Today's picks

SANOTO Bone Conduction Headphones with Mic, Bluetooth Headset with Microphone Noise Canceling & Mute, Wireless Headset with Sponge Microphone Windscreen, Open Ear Headphones for Work Driving Call

SANOTO Bone Conduction Headphones with Mic, Bluetooth Headset with Microphone Noise Canceling & Mute, Wireless Headset with Sponge Microphone Windscreen, Open Ear Headphones for Work Driving Call

Affiliate
$69.99
Did you look at the log...oh!

Did you look at the log...oh!

Programming
95.6K views 5 years ago
"Oh wow, this page looks really good and shows our data so well"

"Oh wow, this page looks really good and shows our data so well"

Programming
108.6K views 5 years ago