Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Every uuid dot com except if greater than 2^122 -1 doesn’t have the same ring ;)


There aren't more than 2^122 UUIDv4s.


This reminds me of some code I stumbled on recently, where someone had implemented a custom exception they could throw if their 32-bit loop counter was greater than the maximum value of a 32-bit integer.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: