this post was submitted on 24 Nov 2025
357 points (99.2% liked)

Programmer Humor

27490 readers
1557 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] devedeset@lemmy.zip 5 points 1 day ago (1 children)

They're basically trying to find the time to create duplicate UUIDs. UUIDs are randomly generated and assumed to be so unique and actually random across... well, everything, that no one even checks if they're actually unique. They suggested they found one in 5 hours. The only maybe possible way I could think of to do this legitimately is to use some ridiculously powerful computer and still get very lucky.

[–] Kolanaki@pawb.social -3 points 1 day ago (1 children)

Ah! And this is why I don't really care that much about long passwords or things of that nature. If the attack is brute force, it could still get lucky and guess it in 5 hours just like this UUID thing!

[–] ClassifiedPancake@discuss.tchncs.de 3 points 22 hours ago (1 children)

The chance to get lucky and pick a long, random password is still ridiculously small. The chance to pick admin123 is ridiculously large. You see the difference?

[–] Kolanaki@pawb.social -1 points 13 hours ago (1 children)

Length doesn't matter if it's randomly trying every possible combination. It could just as easily guess the longest possible password as the shortest.

Other methods of attack would be a good reason to make it long and nonsensical; not a random brute force attack.

[–] ClassifiedPancake@discuss.tchncs.de 0 points 13 hours ago* (last edited 13 hours ago) (1 children)

With this logic you could say the chance to hit the lottery jackpot is the same as if the numbers are just 3 digits long. It’s not trying all the possible combinations all at once.

[–] Kolanaki@pawb.social -1 points 12 hours ago* (last edited 12 hours ago) (1 children)

If the password was forced to be a specific length and could not be shorter or longer, it would be the same as that. But they're not usually forced to be a specific length. They do have bounds, but that also makes it so there are fewer possible combinations to guess.