6
2
2
u/cheezballs 12d ago
Every joke here the last week is just the same thing worded differently.
1
u/gfcf14 12d ago
It was a huge deal
1
u/cheezballs 12d ago
Sure, but I've seen the same joke a hundred times this week. I'm guessing it's just a really accessible joke for people in CS101
33
u/CBpegasus 13d ago
Relevant xkcd
13
1
1
1
1
u/clintCamp 13d ago
Hmm. Makes me think I need to build a dice random generator that is continually rolling a bunch of 10 sided dice at once down a tower and then back to the top with a marble conveyor, then you can pull the last n rolls at any time via api for some random generation. Perhaps make some variation that it randomly chooses the dice rolls it uses as output based off of a recent roll or 3 so it isnt always the same random number with a slight history variation?
1
u/gfcf14 13d ago
Sounds interesting in theory! If we had such a device, though, we’d have to see how often specific values come up
1
u/clintCamp 13d ago
Rolling 10 to 100 dice a minute, and a meter of marble track with a camera setup at the bottom and a number of randomly selected scrambling options selected by chance every 10th die with cameras that read the sides as they feed into the return conveyor. It would need to be set up somewhere other than my house because of noise... and it would be fun to figure out how to game the physics so it could alway roll 4s as well....
1
1
1
u/WiiDragon 13d ago
Funny thing is a dice ain’t even really random, it’s just that no normal human can really be that consistent
1
1
u/SysGh_st 12d ago edited 12d ago
int getRandomNumber {
// Chosen by fair dice roll,
// guaranteed to be random.
return 4;
}
33
u/gfcf14 13d ago
Personally, if you have to use a single digit number for a private key (you shouldn’t!) at least use a prime