New best story on News: Ask HN: We just had an actual UUID v4 collision...

Ask HN: We just had an actual UUID v4 collision...
421 by mittermayr | 319 comments on News.
I know what you're thinking... and I still can't believe it, but... This morning, our database flagged a duplicate UUID (v4). I checked, thinking it may have been a double-insert bug or something, but no. The original UUID was from a record added in 2025 (about a year ago), and today the system inserted a new document with a fresh UUIDv4 and it came up with the exact same one: b6133fd6-70fe-4fe3-bed6-8ca8fc9386cd We're using this: https://ift.tt/g8Mheab I thought this is technically impossible, and it will never happen, and since we're not modifying the UUIDs in any way, I really wonder how that.... is possible!? We're literally only calling: import { v4 as uuidv4 } from "uuid"; const document_id = uuidv4(); ... and then insert into the database, that's it. Additionally, the database only has about 15.000 records, and now one collision. Statistically... impossible. Has that ever happened to anyone?! What in the...

New best story on Hacker News: Ask HN: We just had an actual UUID v4 collision...

Ask HN: We just had an actual UUID v4 collision...
420 by mittermayr | 319 comments on
I know what you're thinking... and I still can't believe it, but... This morning, our database flagged a duplicate UUID (v4). I checked, thinking it may have been a double-insert bug or something, but no. The original UUID was from a record added in 2025 (about a year ago), and today the system inserted a new document with a fresh UUIDv4 and it came up with the exact same one: b6133fd6-70fe-4fe3-bed6-8ca8fc9386cd We're using this: https://ift.tt/iauXwno I thought this is technically impossible, and it will never happen, and since we're not modifying the UUIDs in any way, I really wonder how that.... is possible!? We're literally only calling: import { v4 as uuidv4 } from "uuid"; const document_id = uuidv4(); ... and then insert into the database, that's it. Additionally, the database only has about 15.000 records, and now one collision. Statistically... impossible. Has that ever happened to anyone?! What in the...

New best story on News: David Attenborough's 100th Birthday

David Attenborough's 100th Birthday
627 by defrost | 125 comments .


New best story on News: Google broke reCAPTCHA for de-googled Android users

Google broke reCAPTCHA for de-googled Android users
634 by anonymousiam | 224 comments on News.
Related: Google Cloud fraud defense, the next evolution of reCAPTCHA - https://ift.tt/T1mRw2D also: Google Cloud Fraud Defence is just WEI repackaged - https://ift.tt/ZAChmDs

New best story on Hacker News: Google broke reCAPTCHA for de-googled Android users

Google broke reCAPTCHA for de-googled Android users
628 by anonymousiam | 221 comments on
Related: Google Cloud fraud defense, the next evolution of reCAPTCHA - https://ift.tt/H3xcpMD also: Google Cloud Fraud Defence is just WEI repackaged - https://ift.tt/bxchRTZ

New best story on News: Google broke reCAPTCHA for de-googled Android users

Google broke reCAPTCHA for de-googled Android users
614 by anonymousiam | 216 comments .
Related: Google Cloud fraud defense, the next evolution of reCAPTCHA - https://ift.tt/H3xcpMD also: Google Cloud Fraud Defence is just WEI repackaged - https://ift.tt/bxchRTZ

New best story on News: Ask HN: We just had an actual UUID v4 collision...

Ask HN: We just had an actual UUID v4 collision... 421 by mittermayr | 319 comments on News. I know what you're thinking... and I sti...