Logo
Most expensive bug: $460M rocket explosion.
  • 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

Heat-death Memes

Posts tagged with Heat-death

The Universe Is Done Bro Im Crine

Python Programming Debugging Algorithms Math
3 months ago 55.4M views 0 shares
The Universe Is Done Bro Im Crine
Someone wrote a loop that's supposed to run 10^100 times (a googol, literally more iterations than atoms in the observable universe), but there's a fatal flaw: if randint(0,1) returns 0, it resets i back to 0. So you've got a 50/50 chance every iteration of going back to square one. The heat death of the universe will arrive before this loop finishes. Your descendants 10 billion years from now will still be sitting there watching i bounce between 0 and maybe 47 if they're lucky. The print statement is pure poetry though—passive-aggressively asking why you're still at your computer when the universe itself has given up. Truly a masterpiece of accidental infinite loops disguised as ambition.

Today's picks

Where's The Love

Where's The Love

Programming
149.5M views 15 days ago
As opposed to what?

As opposed to what?

Debugging
85.3K views 2 years ago
the main thing is that it works properly

the main thing is that it works properly

Programming
155.0K views 5 years ago