Menu
YCombinator: Not just for startups.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Azure
Backend
Bash
C++
Cloud
All Categories
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
Intermittent errors Memes
Posts tagged with Intermittent errors
Send Him Right To Jail
Javascript
Programming
Debugging
Testing
6 months ago
246.5K views
1 shares
Ah, the diabolical genius of adding a 5% chance of random failure to your code. Nothing says "I hate my fellow developers" quite like injecting TypeErrors that only appear occasionally. This is basically the programming equivalent of putting a landmine in your neighbor's garden and then obfuscating the code so nobody can find it. The person who wrote this deserves not just jail, but a special circle of developer hell where they're forced to debug Internet Explorer compatibility issues for all eternity. The best part? Those poor souls trying to reproduce the bug will spend days pulling their hair out because it only happens 1 in 20 times. Pure evil wrapped in a Math.random() call.
Today's picks
Beelink Mini PC AMD Ryzen 5 6600U, 24GB LPDDR5 500GB PCIE4.0 SSD, Mini Computer with AMD Radeon 660M, Dual LAN/Dual 4K Display/ USB3.2/ WiFi6/ BT5.2 / Home/Office/Gaming Micro PC
Affiliate
$479.00
Graduated today, I'm more proud of my yearbook quote than my diploma and awards
Programming
158.3K views
4 years ago
He demands an apology.
Programming
68.9K views
3 years ago