logoalt Hacker News

robsheptoday at 9:42 AM3 repliesview on HN

I'm using 16b55183-1697-496e-bc8a-854eb9aae0f3 and probably some more too. I suppose if we all post our list here, then we can all check for duplicates?


Replies

jsnelltoday at 9:51 AM

You can check https://everyuuid.com/ for collisions.

mittermayrtoday at 9:47 AM

We should all send our already-generated UUIDs to a shared database, we could just put it on Supabase with a shared username/password posted on HN, so we can all ensure that after generating a UUIDv4 locally, it's not used by anyone else. If it's in the database, we know it's taken.

It's a super simple mechanism, check in common worldwide UUID database, if not in there, you can use it. Perhaps if we use a START TRANSACTION, we could ensure it's not taken as we insert. But that's all easy, I'll ask Claude to wire it up, no problem.

show 1 reply
volemotoday at 9:48 AM

A site previously posted here could be useful: https://everyuuid.com/