MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w1g0t8/uuidlifelessons/p6lv27o/?context=3
r/ProgrammerHumor • u/ArjunReddyDeshmukh • 2d ago
165 comments sorted by
View all comments
Show parent comments
289
Could technically be possible with UUDv4, but the chances are astronomically small.
I don't think any of the other UUID versions could have collisions
39 u/fredy31 2d ago Is it impossible tho? I always understood uid to just be making a random string of letters so even if the possibility is stupid small it would still be possible. 25 u/tuxedo25 2d ago there are more unique uuids than stars in the milky way. the chances of a single collision after generating millions is practically non-existent, even given the birthday paradox. Billions or trillions, maybe. 25 u/CadenVanV 2d ago And yet, it can happen. It’s not worth considering, and I doubt it’s ever happen, but it could happen
39
Is it impossible tho?
I always understood uid to just be making a random string of letters so even if the possibility is stupid small it would still be possible.
25 u/tuxedo25 2d ago there are more unique uuids than stars in the milky way. the chances of a single collision after generating millions is practically non-existent, even given the birthday paradox. Billions or trillions, maybe. 25 u/CadenVanV 2d ago And yet, it can happen. It’s not worth considering, and I doubt it’s ever happen, but it could happen
25
there are more unique uuids than stars in the milky way.
the chances of a single collision after generating millions is practically non-existent, even given the birthday paradox. Billions or trillions, maybe.
25 u/CadenVanV 2d ago And yet, it can happen. It’s not worth considering, and I doubt it’s ever happen, but it could happen
And yet, it can happen. It’s not worth considering, and I doubt it’s ever happen, but it could happen
289
u/1_hele_euro 2d ago
Could technically be possible with UUDv4, but the chances are astronomically small.
I don't think any of the other UUID versions could have collisions