Menu
A SQL query walks into a bar, walks into a bar, walks into a bar...
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
Seeding problems Memes
Posts tagged with Seeding problems
Random But Not Random Enough
Programming
Debugging
Algorithms
Math
7 hours ago
129.4K views
0 shares
You generate a random number from an absolutely massive range of over 39 undecillion possibilities. The function returns 4. Every. Single. Time. You check the seed, you check the implementation, you even restart your IDE. Still 4. The universe has chosen violence today, and its weapon of choice is the least random "random" number generator in existence. Fun fact: The number 4 is actually the result of a fair dice roll according to xkcd #221. Chosen by fair dice roll. Guaranteed to be random. Just don't ask it to roll again.
Today's picks
Cable Matters 20Gbps USB C KVM Switch, 3-in-1-Out, 140W PD Charging | 8K@30Hz on Windows, 4K@60Hz on macOS, Shares USB-C/Thunderbolt 4 Monitor or Dock, Not for Captive Cable Docks/Adapters
Affiliate
$79.99
Ops Mania
Python
78.5K views
2 years ago
The debate is settled then.
Programming
99.2K views
2 years ago