Live data from Hacker News

Ask HN: We just had an actual UUID v4 collision...

news.ycombinator.com

51–60 of 369 posts

Re: Ask HN: We just had an actual UUID v4 collision...

#51
> I thought this is technically impossible

Actually it's not impossible, but very very improbable.

P.S. You should play a lottery/powerball ticket

P.P.S. Whenever I use the word improbable, the https://hitchhikers.fandom.com/wiki/Infinite_Improbability_D... comes in mind

Re: Ask HN: We just had an actual UUID v4 collision...

#52

I fully agree. It makes no sense. Yet... The only guesses I'm having is that we originally generated UUIDv4s on a user's phone before sending it to the database, and the UUID generated this morning that collided was created on an Ubuntu server. I don't fully know how UUIDv4s are generated and what (if anything) about the machine it's being generated on is part of the algorithm, but that's really the only change I can…

Better check what crypto.js is actually doing in your exact setup. Weak polyfills exist...

Re: Ask HN: We just had an actual UUID v4 collision...

#53
post #30
post #2

[flagged]

Question to fellow HNers, do you recognize that this comment was written by AI?

Interesting enough, I skipped it when scrolling through the comments the first time. I think I instinctually do that to most karma whoring comments, no matter if manual or LLM generated.

Only noticed it because I did another pass and saw the replies talking about "AI".

Re: Ask HN: We just had an actual UUID v4 collision...

#58
post #30
post #2

[flagged]

Question to fellow HNers, do you recognize that this comment was written by AI?

Yes but as a feeling (hunch?) not as something my brain analysed and reached a conclusion.

Weird how I'm already somewhat conditioned to spot it on a intuitive level.

Re: Ask HN: We just had an actual UUID v4 collision...

#59
post #3

1 in 4.72 × 10²⁸ 1 in 47.3 octillion. i'd be suspecting a race condition or some other naive mistake, otherwise id be stocking up on lottery tickets. (lol at the other user posting at the same time about the lottery ticket.. great minds and all that.)

I've always looked at it the the other way - being that lucky would mean you have even less chance of something else lucky happening, good time to save your money
Post reply on HN