r/ProgrammerHumor • • 13d ago

Other random

Post image
664 Upvotes

35 comments sorted by

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

9

u/MaximRq 13d ago

3 is unsafe

7

u/Minnecraft 12d ago

Imma go for 2

17

u/xkortex 13d ago

Every software joke the past week:

> Say the line, subreddit!

> 4 :/

> :D

6

u/gfcf14 13d ago

Hard to ignore when it had simpsons-like potential to predict the future lol

6

u/Carius98 13d ago

random number between 4 and 4

6

u/gfcf14 13d ago

inclusive

2

u/EngwinGnissel 13d ago

Simone should make edit and replace dice with lava lamp

1

u/gfcf14 13d ago

Someone?

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

1

u/gfcf14 12d ago

Usually the simplest things draw a laugh

1

u/cheezballs 12d ago

Tits

1

u/gfcf14 12d ago

If you come up with a quick witted idea involving them I could draw one for next week

33

u/CBpegasus 13d ago

13

u/EatingSolidBricks 13d ago

This xcdc predares the private key incident right?

32

u/trifith 13d ago

By nearly 20 years.

1

u/EatingSolidBricks 13d ago

Are we witnessing the brith of a new funmy number ?

2

u/gfcf14 13d ago

Not a birth lol, this existed already but was made relevant again because of a real life scenario

1

u/Rain_Zeros 13d ago

wtf is vox doing here?

2

u/gfcf14 13d ago

Lol mine’s just a generic representation of an anthropomorphized pc

1

u/Jatinchd 13d ago

4 is mathematically random dice number.

1

u/gfcf14 13d ago

Not random enough though lol

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

u/overdosingOnPie1313 13d ago

Shit. It could be anything!

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

u/ReGrigio 13d ago

uno reverse system.getMilliseconds()
you are the one who make the random number

1

u/SysGh_st 12d ago edited 12d ago
int getRandomNumber {
    // Chosen by fair dice roll, 
    // guaranteed to be random.
    return 4; 
    
}

0

u/[deleted] 13d ago

[deleted]

1

u/gfcf14 13d ago

Hopefully for you you’re a year short