diff options
author | Melody Horn <melody@boringcactus.com> | 2025-04-13 11:33:35 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2025-04-13 11:33:35 -0600 |
commit | e5907e23495aa0fa194c13a318da71be45acb8e3 (patch) | |
tree | f575c938fbffdcdcbe9125b978f66e88a02e65ed /_posts/2023-02-12-uuid-versions.md | |
parent | e271f32674f91c1fdaaad83edbbf4491c24b405c (diff) | |
download | boringcactus.com-e5907e23495aa0fa194c13a318da71be45acb8e3.tar.gz boringcactus.com-e5907e23495aa0fa194c13a318da71be45acb8e3.zip |
overhaul <details> display
Diffstat (limited to '_posts/2023-02-12-uuid-versions.md')
-rw-r--r-- | _posts/2023-02-12-uuid-versions.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/_posts/2023-02-12-uuid-versions.md b/_posts/2023-02-12-uuid-versions.md index 9293056..52d5fde 100644 --- a/_posts/2023-02-12-uuid-versions.md +++ b/_posts/2023-02-12-uuid-versions.md @@ -17,11 +17,12 @@ in the early 90s, some UNIX people ran into this problem when drawing up their D the UUID format has two control fields and three data fields. the version field is pretty straightforward - it's 1 for UUIDv1, 2 for UUIDv2, etc. at this point, they only had 1 and 2, but they left room in the spec for up to 15 just in case. there's also a variant field, which says whether it's a normal UUID (`10`, hex value `8` through `b`) or some other bullshit that may or may not adhere to any of the rest of this spec. <details> - <summary>other bullshit</summary> +<aside> if the variant field is `0` then it's a UUID from Apollo Computer's Network Computing System, which had UUIDs before DCE but defined them in a slightly different way. if it's `110` then it's a UUID but the wrong endian, which Microsoft does sometimes when it makes UUIDs (it calls them GUIDs, because they're thinking too small, merely Global rather than Universal). if it's `111` then you're living in the future where they assigned a meaning to variant `111`. what's it like? how's the whole climate change thing going? +</aside> </details> the data fields are |