this post was submitted on 21 Oct 2026
593 points (98.7% liked)

Programmer Humor

33743 readers
2936 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] astropenguin5@lemmy.world 17 points 1 day ago (4 children)

Is there actually a downside to just, typing a random string of numbers manually over a number generator?

[–] MangoPenguin@piefed.social 46 points 1 day ago* (last edited 1 day ago) (3 children)

Yes, typing randomly isn't actually as random as it could be, so a generator will do a better job.

However mashing the keyboard is absolutely better than literally just "4" lol

[–] RichardDegenne@lemmy.zip 10 points 1 day ago (1 children)

What if the generator rolled a 4 though?

Then go buy a scratcher

first, what if i have my cat do it. second, why does it matter if a string is maximally random? is there a certain level that is random enough?

[–] BlaestEgnen@feddit.dk 4 points 1 day ago

Generators aren't intrinsically random either, the project that's closest to random is the lava light room at cloud flare. But a wall of lamalamps aren't random enough, so they add in a few parameters from the moon.

But ultimately, it's not truly random.

Most generators are magnitudes simpler than that and honestly mashing everything at random yourself does a pretty good job at it. Especially if you smash too many characters and then scrambles it before picking a sequence without thought. As the biggest issue with manual button smashing, is the same character either won't appear twice in a row ever or will always appear multiple in a row. Not to talk about special letters, which you likely wouldn't hit - although we could make larger keyboards for the lulz

Ultimately random generators is just a simpler/faster solution, but there's ways of doing something as randomly by hand

[–] one_old_coder@piefed.social 18 points 1 day ago (1 children)
[–] alpine_jim@piefed.social 21 points 1 day ago (2 children)

I'm not random enough? But I was holding up a spork! From my Invader Zim bag!

[–] surewhynotlem@lemmy.world 17 points 1 day ago

This is why Hot Topic girlies are not in charge of crypto standards. They're "OMG so random", but not mathematically so random.

[–] balsoft@lemmy.ml 6 points 1 day ago

Those are all technically words in some dictionary somewhere, arranged in a sensible grammatical order. The entropy is not as high as you may think

[–] RestrictedAccount@lemmy.world 11 points 1 day ago

It is not random enough to not be guessed by a state sponsored bot

[–] biggeoff@sh.itjust.works 10 points 1 day ago

Aside from humans being terrible random number generators, not as such.

It's better to seed a CSPRNG with a source of entropy though. E.g. there are tools that let you enter the result of many dice rolls and use it to generate a key.