Menu
CTRL+C, CTRL+V: The real programming heroes.
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
User registration Memes
Posts tagged with User registration
Make Age The Main Identifier
Databases
Programming
Security
Backend
11 months ago
411.8K views
0 shares
When your database schema is so bad that you're using age as a primary key. Because apparently, birthdays are more unique than usernames! Bonus points for the error message implying there's only ONE 17-year-old allowed on the platform. That dev probably also stores passwords in plaintext and thinks SQL injection is a new energy drink.
Who's Gonna Tell Him About Primary Keys
Databases
Backend
Programming
Frontend
Debugging
1 year ago
387.3K views
0 shares
Ah, the classic primary key violation that no one warned the poor user about. Some developer thought storing age as a unique identifier was a brilliant idea, and now we've got 17-year-olds fighting in the Thunderdome for database supremacy. Next time try using UUID instead of, you know, THE MOST COMMON AGE AMONG TEENAGE USERS. This is what happens when you let the intern design your database schema after a Red Bull all-nighter.
Today's picks
ESP-WROOM-32 ESP32 ESP-32S Development Board 2.4GHz Dual-Mode WiFi + Bluetooth Dual Cores Microcontroller Processor Integrated with Antenna RF AMP Filter AP STA Compatible with Arduino IDE (3PCS)
Affiliate
$16.99
Sometimes I start a code block and don’t know where it’s going, I just hope I find it along the way
Programming
80.3K views
2 years ago
She got the point..
Programming
87.5K views
5 years ago