Hacker News new | past | comments | ask | show | jobs | submit login

The values are hexidecimal, so all "9s" isn't the biggest UUID, but all "f's". Specifically, I think: `ffffffff-ffff-4fff-bfff-ffffffffffff`.

The "4" in the 3rd block is the only permitted value as these UUIDs are using the GUIDv4 format. I'm not sure what's going on in the 4th block, but the references and linked RFC in the Wikipedia article might reveal more details: https://en.wikipedia.org/wiki/Universally_unique_identifier#...




If you're going by hex, the biggest UUID is entirely f's, 32 of them. It's defined specially and doesn't have version or variant.


I see what you mean, but I was going by the definition of "UUID" used on everyuuid.com. The UUID of 32 "f's" isn't in the list.


But if it’s all Fs, that means you have the sign bit set, so it’s not the largest.

It’s the smallest that’s less than zero right?


I guess it's pretty subjective, but not all numeric types are signed, so I'm happy with my answer.


Your answer is good, mine was meant as a joke.




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

Search: