Menu
DNS: The internet's phone book, but slower.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Backend
Bash
C++
Cloud
Csharp
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
7 months ago
332.6K 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
9 months ago
316.4K 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
VILVA Portable-Monitor-for-Laptop - 15.6'' 1080P FHD IPS Display USB-C HDMI Portable Monitor for Laptop with Cover and Speakers External Monitor for Laptop/PC/Mac/Phone/Xbox Switch/PS4/
Affiliate
$46.93
No Space Bar In This Fashion Statement
Programming
229.7K views
1 year ago
Hot take
Programming
101.9K views
4 years ago