Logo
HTTP 418: I'm a teapot. Yes, really.
  • 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

Sleep-in-production Memes

Posts tagged with Sleep-in-production

Nothing Is More Permanent Than A Temporary Fix

Programming Java Javascript Debugging Backend
6 hours ago 28.6K views 0 shares
Nothing Is More Permanent Than A Temporary Fix
That "temporary hack for Black Friday 2019, remove on Monday" comment aged like milk left in the sun. Five years later, it's still there, hardcoded user ID and all, probably keeping the entire payment system afloat. The CEO's brother-in-law gets free stuff forever now. But wait, it gets better. The actual pricing logic is wrapped in a try-catch that sleeps for 2 seconds (because apparently the payment gateway confuses legitimate traffic with a DDoS attack), then just returns 99.99 for everything. Your $5,000 laptop? 99.99. A pack of gum? Also 99.99. The comment says "Average cart value in Q4 2018" which means someone just gave up and hardcoded a number from a spreadsheet. The cherry on top? "DO NOT REMOVE THIS SLEEP" in all caps. Someone tried to fix it once and chaos ensued. Now it's production code that nobody dares touch. Technical debt? More like technical mortgage at this point.

Today's picks

Where's The Love

Where's The Love

Programming
149.5M views 25 days ago
Apple 2018 Mac Mini with 3.0GHz Intel core i5, 16GB RAM, 256GB SSD - Space Gray (Renewed)

Apple 2018 Mac Mini with 3.0GHz Intel core i5, 16GB RAM, 256GB SSD - Space Gray (Renewed)

Affiliate
$189.95
Same Word Different Feeling

Same Word Different Feeling

Programming
438.3K views 10 months ago