Logo
IPv6: Enough addresses for every atom on Earth.
  • 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
5 months ago 21.6M 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

Where's The Love

Where's The Love

Programming
149.5M views 22 days ago
It’s gotta be Java - that’s no programming language, it’s a method of torture….

It’s gotta be Java - that’s no programming language, it’s a method of torture….

Programming
146.3K views 3 years ago
Actually Your Problem

Actually Your Problem

Programming
103.9K views 1 year ago