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
 
all 41 comments
sorted by: hot top controversial new old
[–] JudgeDredd@lemmy.sdf.org 1 points 3 hours ago

No one would even assume that someone chose a single character. People with bad intentions would start at with a minimum of 4 or 6 characters?

This way, in case of just bruteforcing your way in, you are indeed very safe. They would brute force into infinity...

[–] Randelung@lemmy.world 2 points 5 hours ago

So that's why entropy checks exist.

[–] Patrikvo@lemmy.zip 1 points 9 hours ago

'4' is actually a great choice if the attackers would start searching from the highest number down. In fact there are only 4 other possiblities that are better: 0,1,2 and 3. And that is assuming the worse case where '0' is a legal choice. /s

[–] doomsdayrs@lemmy.ml 22 points 22 hours ago (1 children)

This is now hanging up in a state office somewhere, at someones desk.

I did that.

[–] _stranger_@lemmy.world 6 points 13 hours ago

with your fingers

[–] potatopotato@sh.itjust.works 77 points 1 day ago (3 children)

How did xkcd predict this so perfectly?

https://xkcd.com/221/

[–] jxk@sh.itjust.works 11 points 12 hours ago (1 children)

What if the person who chose 4 made a reference to xkcd

[–] laurathepluralized@lemmy.world 3 points 4 hours ago

I bet their machine's password is correctHorseBatteryStaple

[–] ulterno@programming.dev 8 points 1 day ago

eMudhra was probably required to be IEEE-RFC-1149.5 compliant.

[–] Unreliable@lemmy.ml 8 points 1 day ago

Iirc that's in reference to the PS3?

[–] MsPenguinette@lemmy.world 30 points 1 day ago (1 children)

So yeah, check your shit. I was having fun until I tested if we were affected

[–] ArmoredThirteen@lemmy.zip 13 points 1 day ago (1 children)

How do you check your shit? I don't even understand what I'm checking for

[–] MsPenguinette@lemmy.world 8 points 1 day ago (3 children)

If you see hello when you got to this site instead of getting an insecure warning, you've got a bit of a problem. https://emuhdra.we-have-a-problem.com/

[–] percent@infosec.pub 11 points 21 hours ago
[–] Bane_Killgrind@lemmy.dbzer0.com 3 points 23 hours ago (1 children)

I think my pihole filtered that dns request

[–] ArmoredThirteen@lemmy.zip 1 points 23 hours ago (1 children)

Still don't understand what this is looking for? I recently fired up a server and this all seems like something I should be worried about but I don't really know how to look up the right words. Is there a way for me to go to this site through the cli so I can check on my server? And if my server says hello when I look what does that mean?

[–] Bane_Killgrind@lemmy.dbzer0.com 1 points 23 hours ago (1 children)

Do you have certificates you've issued to your stuff?

[–] ArmoredThirteen@lemmy.zip 1 points 15 hours ago

I've used certbot to enable https if that's what you mean

[–] slazer2au@lemmy.world 33 points 1 day ago

That was quick.

[–] Triumph@fedia.io 20 points 1 day ago

That doesn't sound right, but I don't know enough about four to dispute it.

[–] 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.

[–] JoeBigelow@lemmy.ca 7 points 1 day ago (1 children)

Am I missing news from today?

[–] Deconceptualist@leminal.space 6 points 1 day ago (2 children)

I caught the xkcd reference. But why olives?

[–] Asetru@feddit.org 24 points 1 day ago (1 children)

It's actually an olive reference, with just a little bit of xkcd thrown in:

[–] Deconceptualist@leminal.space 4 points 14 hours ago (1 children)

Why would I regret eating olives? Because they're salty? Or maybe because I don't like olives?

[–] Asetru@feddit.org 3 points 10 hours ago (1 children)

I don't know. Maybe just eat 30 to 40 and find out?

[–] Deconceptualist@leminal.space 3 points 6 hours ago

Well now I regret even asking 😜

It's originally a meme about eating 30 olives for dinner.