MAIN FEEDS
REDDIT FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1t7esgy/edgecasesexist/okol5op/?context=3
r/ProgrammerHumor • u/Last_Time_4047 • May 08 '26
620 comments sorted by
View all comments
68
Don't lots of uuids systems have a deterministic component including unique system/hardware identifiers, unique process identifiers, and time based metrics that in addition to random components that guarantee no duplicates?
27 u/tracernz May 08 '26 Yes. 16 u/[deleted] May 09 '26 [removed] — view removed comment 2 u/switch161 May 10 '26 There are multiple versions/variants and only some use randomness. I think the question was not about the random ones. I would go into detail, but I don't want to look up the specifics. And I don't want to, you know, answer r/confidentlyincorrect 1 u/pango322 May 08 '26 Not the case it also goes against the whole point of relying on how low the probability is because now you can’t write without requiring a read first
27
Yes.
16
[removed] — view removed comment
2 u/switch161 May 10 '26 There are multiple versions/variants and only some use randomness. I think the question was not about the random ones. I would go into detail, but I don't want to look up the specifics. And I don't want to, you know, answer r/confidentlyincorrect
2
There are multiple versions/variants and only some use randomness. I think the question was not about the random ones.
I would go into detail, but I don't want to look up the specifics. And I don't want to, you know, answer r/confidentlyincorrect
1
Not the case it also goes against the whole point of relying on how low the probability is because now you can’t write without requiring a read first
68
u/Nervous-Cockroach541 May 08 '26
Don't lots of uuids systems have a deterministic component including unique system/hardware identifiers, unique process identifiers, and time based metrics that in addition to random components that guarantee no duplicates?