4 ms·
Please, do not use b6133fd6-70fe-4fe3-bed6-8ca8fc9386cd, I checked my database and I was using it already.
by jordiburgos 5mo ago
Please, do not use b6133fd6-70fe-4fe3-bed6-8ca8fc9386cd, I checked my database and I was using it already.
- mittermayr 5mo agoI knew it, we're all getting the same cheap UUIDs and the good ones are reserved for the big dogs.
- robshep 5mo agoI'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?
- mittermayr 5mo agoWe 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.
- broken-kebab 5mo agoBut then I will claim I have already used all the UUIDs in my spreadsheets, and my lawyer will send cease&desist letters to every database.
- volemo 5mo agoA site previously posted here could be useful: https://everyuuid.com/ https://everyuuid.com/
- jsnell 5mo agoYou can check https://everyuuid.com/ https://everyuuid.com/ for collisions.
- classified 5mo agoThat UUID should have my name sticker on it. Don't your UUIDs have name stickers?
- rich_sasha 5mo agoI always thought generating UUIDs at random was insane. I now only use LLMs. The prompt is: "generate a UUID. Make sure no one ever used it anywhere in their code or database. Check your work and think hard about each step. Do not output any reasoning or plain English, only th UUID itself". You're welcome.
- mh2753 5mo agoActually asking ChatGPT this query led it giving me this UUID "550e8400-e29b-41d4-a716-446655440000" which happens to be a very common example UUID
- wolttam 5mo agoThe LLM is mechanistically unable to pick something actually random and outside of its training distribution, so... yep.
- antonvs 5mo agoIf you ask it to construct a UUID character by character you should get a somewhat random one, just because of temperature.
- recursive 5mo agoBut all LLM output is token by token, which isn't too far from character by character in the case of a UUID. Why is this different? I do not know.
- pwython 5mo agoThis actually worked well when I asked Gemini to generate a random color, character by character. I was getting Indigo/Electric Indigo a lot if I just asked for a random color on new sessions.
- smokel 5mo agoActually, asking this multiple times to ChatGPT gives me different UUIDs every time, and it checked with a web search that they are not found in public data.
- sedatk 5mo agoFull list here: https://everyuuid.com/ https://everyuuid.com/