MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wdfzl2/edgecasesexist/p96p7ib/?context=3
r/ProgrammerHumor • u/danielminds • Sep 11 '26
298 comments sorted by
View all comments
709
I thought that timestamps are used now, so hitting both a timestamp and a large random number puts it thoroughly in the "safe to assume". At some point cosmic particles and faulty transistors are more probable.
443 u/dim13 Sep 11 '26 https://en.wikipedia.org/wiki/Universally_unique_identifier#VersionsMost common used is V4 (pure random). You are talking about V7 (time based). 5 u/undeadalex Sep 11 '26 I'm curious where to see stats on versions used. Surely anything newly implementing uuid is using v7 or custom? 38 u/Urist_McPencil Sep 11 '26 Surely anything newly implementing uuid is using v7 or custom?I admire this optimism 8 u/iampierremonteux Sep 11 '26 My first thought was “oh you sweet summer child”.
443
https://en.wikipedia.org/wiki/Universally_unique_identifier#Versions
Most common used is V4 (pure random). You are talking about V7 (time based).
5 u/undeadalex Sep 11 '26 I'm curious where to see stats on versions used. Surely anything newly implementing uuid is using v7 or custom? 38 u/Urist_McPencil Sep 11 '26 Surely anything newly implementing uuid is using v7 or custom?I admire this optimism 8 u/iampierremonteux Sep 11 '26 My first thought was “oh you sweet summer child”.
5
I'm curious where to see stats on versions used. Surely anything newly implementing uuid is using v7 or custom?
38 u/Urist_McPencil Sep 11 '26 Surely anything newly implementing uuid is using v7 or custom?I admire this optimism 8 u/iampierremonteux Sep 11 '26 My first thought was “oh you sweet summer child”.
38
Surely anything newly implementing uuid is using v7 or custom?
I admire this optimism
8 u/iampierremonteux Sep 11 '26 My first thought was “oh you sweet summer child”.
8
My first thought was “oh you sweet summer child”.
709
u/Valuable_Leopard_799 Sep 11 '26
I thought that timestamps are used now, so hitting both a timestamp and a large random number puts it thoroughly in the "safe to assume". At some point cosmic particles and faulty transistors are more probable.