Live data from Hacker News

Guid Smash

guidsmash.com

71–72 of 72 posts

Re: Guid Smash

#71

Earlier quoted context omitted.

I always assumed that intuitively... I think the number is 20 people for the birthday paradox. 20 x 20 = 400, and there are ~365 days in a year. Is that how that works?

I was always surprised the math maths for birthdays. Human birthdays are not random, and cluster around various dates and seasonal patterns.

Doesn't the clustering make collisions strictly more likely?

Re: Guid Smash

#72

Instead of picking a target UUID and evaluating new UUIDs against it, a better experiment would be finding duplicates in all the UUIDs you have generated. This plays nicely with the birthday paradox.

It would require a lot more memory, because you have to remember every generated UUID. And how would you do the partial match? You are not going to observe any collisions.
Post reply on HN