<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[UUIDs are so funny today because almost all of their deployments is &quot;we take a string of mostly-random bits but give it structure for no apparent reason&quot;]]></title><description><![CDATA[<p>UUIDs are so funny today because almost all of their deployments is "we take a string of mostly-random bits but give it structure for no apparent reason"</p>]]></description><link>https://board.circlewithadot.net/topic/aa9d9dbb-f813-4b6c-be4b-e76035562050/uuids-are-so-funny-today-because-almost-all-of-their-deployments-is-we-take-a-string-of-mostly-random-bits-but-give-it-structure-for-no-apparent-reason</link><generator>RSS for Node</generator><lastBuildDate>Tue, 26 May 2026 15:00:29 GMT</lastBuildDate><atom:link href="https://board.circlewithadot.net/topic/aa9d9dbb-f813-4b6c-be4b-e76035562050.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 25 May 2026 20:34:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to UUIDs are so funny today because almost all of their deployments is &quot;we take a string of mostly-random bits but give it structure for no apparent reason&quot; on Mon, 25 May 2026 21:09:18 GMT]]></title><description><![CDATA[<p><span><a href="/user/whitequark%40social.treehouse.systems">@<span>whitequark</span></a></span> <span><a href="/user/ramsey%40phpc.social">@<span>ramsey</span></a></span> I've only ever seen version 4 (unstructured random) in production that i can recall</p>]]></description><link>https://board.circlewithadot.net/post/https://ioc.exchange/users/azonenberg/statuses/116637260766300349</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://ioc.exchange/users/azonenberg/statuses/116637260766300349</guid><dc:creator><![CDATA[azonenberg@ioc.exchange]]></dc:creator><pubDate>Mon, 25 May 2026 21:09:18 GMT</pubDate></item><item><title><![CDATA[Reply to UUIDs are so funny today because almost all of their deployments is &quot;we take a string of mostly-random bits but give it structure for no apparent reason&quot; on Mon, 25 May 2026 21:09:10 GMT]]></title><description><![CDATA[<p><span><a href="/user/whitequark%40social.treehouse.systems">@<span>whitequark</span></a></span> i like UUIDs because someone else has already solved the problem of "how to make thing unique" for me and i don't have to think about it</p>]]></description><link>https://board.circlewithadot.net/post/https://mastodon.social/users/ratsnakegames/statuses/116637260209169031</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://mastodon.social/users/ratsnakegames/statuses/116637260209169031</guid><dc:creator><![CDATA[ratsnakegames@mastodon.social]]></dc:creator><pubDate>Mon, 25 May 2026 21:09:10 GMT</pubDate></item><item><title><![CDATA[Reply to UUIDs are so funny today because almost all of their deployments is &quot;we take a string of mostly-random bits but give it structure for no apparent reason&quot; on Mon, 25 May 2026 21:08:41 GMT]]></title><description><![CDATA[<p><span><a href="/user/ramsey%40phpc.social" rel="nofollow noreferrer noopener">@<span>ramsey</span></a></span> <span><a href="/user/whitequark%40social.treehouse.systems" rel="nofollow noreferrer noopener">@<span>whitequark</span></a></span> yeah, at a previous job we used v7 uuids with for request IDs with a single-character signifying the source of the request and a freeform suffix (guaranteed to be delimited by a non-<code>\w</code> character for ease of splitting).</p>]]></description><link>https://board.circlewithadot.net/post/https://gts.chuuni.solutions/users/saikou/statuses/01KSGFFVRGSW6P1AH2YYWVCGK2</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://gts.chuuni.solutions/users/saikou/statuses/01KSGFFVRGSW6P1AH2YYWVCGK2</guid><dc:creator><![CDATA[saikou@gts.chuuni.solutions]]></dc:creator><pubDate>Mon, 25 May 2026 21:08:41 GMT</pubDate></item><item><title><![CDATA[Reply to UUIDs are so funny today because almost all of their deployments is &quot;we take a string of mostly-random bits but give it structure for no apparent reason&quot; on Mon, 25 May 2026 21:06:51 GMT]]></title><description><![CDATA[<p><span><a href="/user/ramsey%40phpc.social" rel="nofollow noopener">@<span>ramsey</span></a></span> oh, I didn't know this!</p>]]></description><link>https://board.circlewithadot.net/post/https://social.treehouse.systems/users/whitequark/statuses/116637251085102701</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://social.treehouse.systems/users/whitequark/statuses/116637251085102701</guid><dc:creator><![CDATA[whitequark@social.treehouse.systems]]></dc:creator><pubDate>Mon, 25 May 2026 21:06:51 GMT</pubDate></item><item><title><![CDATA[Reply to UUIDs are so funny today because almost all of their deployments is &quot;we take a string of mostly-random bits but give it structure for no apparent reason&quot; on Mon, 25 May 2026 20:54:26 GMT]]></title><description><![CDATA[<p dir="auto">@whitequark@treehouse.systems The "structure" makes them easier to handle for human brains and they are an RFC that is implemented in a lot of places.</p>
<p dir="auto">I'd say they've gotten developer experience right by accident.</p>
]]></description><link>https://board.circlewithadot.net/post/https://pleroma.envs.net/objects/75a6188e-afff-46bb-9b02-50167720551d</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://pleroma.envs.net/objects/75a6188e-afff-46bb-9b02-50167720551d</guid><dc:creator><![CDATA[slatian@pleroma.envs.net]]></dc:creator><pubDate>Mon, 25 May 2026 20:54:26 GMT</pubDate></item><item><title><![CDATA[Reply to UUIDs are so funny today because almost all of their deployments is &quot;we take a string of mostly-random bits but give it structure for no apparent reason&quot; on Mon, 25 May 2026 20:52:09 GMT]]></title><description><![CDATA[<p><span><a href="/user/whitequark%40social.treehouse.systems">@<span>whitequark</span></a></span> Most applications that use UUIDs these days tend to use version 7 UUIDs, which use milliseconds since the Unix epoch as the most significant bits. This embeds the creation timestamp in the ID and allows for sorting, while also adding in sufficient randomness so they're not incremental and multiple systems can generate them with low probability of collision.</p>]]></description><link>https://board.circlewithadot.net/post/https://phpc.social/users/ramsey/statuses/116637193336984496</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://phpc.social/users/ramsey/statuses/116637193336984496</guid><dc:creator><![CDATA[ramsey@phpc.social]]></dc:creator><pubDate>Mon, 25 May 2026 20:52:09 GMT</pubDate></item><item><title><![CDATA[Reply to UUIDs are so funny today because almost all of their deployments is &quot;we take a string of mostly-random bits but give it structure for no apparent reason&quot; on Mon, 25 May 2026 20:47:51 GMT]]></title><description><![CDATA[<p><span><a href="/user/dysfun%40social.treehouse.systems">@<span>dysfun</span></a></span> <span><a href="/user/whitequark%40social.treehouse.systems">@<span>whitequark</span></a></span> GUIDs and UUIDs are the same, except for the order of the bytes in binary form. For UUIDs, all bytes are in network byte order (big-endian). In a GUID, the order of the bytes are reversed in each grouping for the first 64 bits and stored in little-endian order. The remaining 64 bits are stored in network byte order. Both string representations are the same. Who knows why. <img src="https://board.circlewithadot.net/assets/plugins/nodebb-plugin-emoji/emoji/android/1f937.png?v=28325c671da" class="not-responsive emoji emoji-android emoji--shrug" style="height:23px;width:auto;vertical-align:middle" title="🤷" alt="🤷" />‍<img src="https://board.circlewithadot.net/assets/plugins/nodebb-plugin-emoji/emoji/android/2642.png?v=28325c671da" class="not-responsive emoji emoji-android emoji--male_sign" style="height:23px;width:auto;vertical-align:middle" title="♂" alt="♂" />️</p>]]></description><link>https://board.circlewithadot.net/post/https://phpc.social/users/ramsey/statuses/116637176378890671</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://phpc.social/users/ramsey/statuses/116637176378890671</guid><dc:creator><![CDATA[ramsey@phpc.social]]></dc:creator><pubDate>Mon, 25 May 2026 20:47:51 GMT</pubDate></item><item><title><![CDATA[Reply to UUIDs are so funny today because almost all of their deployments is &quot;we take a string of mostly-random bits but give it structure for no apparent reason&quot; on Mon, 25 May 2026 20:44:14 GMT]]></title><description><![CDATA[<p><span><a href="/user/whitequark%40social.treehouse.systems">@<span>whitequark</span></a></span> Yes, but it takes a lot of characters. Particulary in protocols like SIP where you don't want to spend a lot of bytes for your message (you don't want fragementation), having a SIP-stack that just puts in UUIDs can really cause problems. Plus for SIP you want a variable number of randomness for different parts. While you might want 64 bits for your Call-ID, the From:- and To:-Tags are fine with 16 bits.<br />Again, every byte saved in the header saves you from problems.</p>]]></description><link>https://board.circlewithadot.net/post/https://f-ckendehoelle.de/users/casandro/statuses/116637162162047161</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://f-ckendehoelle.de/users/casandro/statuses/116637162162047161</guid><dc:creator><![CDATA[casandro@f-ckendehoelle.de]]></dc:creator><pubDate>Mon, 25 May 2026 20:44:14 GMT</pubDate></item><item><title><![CDATA[Reply to UUIDs are so funny today because almost all of their deployments is &quot;we take a string of mostly-random bits but give it structure for no apparent reason&quot; on Mon, 25 May 2026 20:42:48 GMT]]></title><description><![CDATA[<p><span><a href="/user/whitequark%40social.treehouse.systems">@<span>whitequark</span></a></span> Once constructed, I have literally never seen anybody ever care about the specific fields.  There's no reason for it to be divided up asymmetrically because the only things people do with those sorts of uids is bit compare the whole thing, or print as text in hex.</p>]]></description><link>https://board.circlewithadot.net/post/https://mstdn.social/users/wrosecrans/statuses/116637156562685362</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://mstdn.social/users/wrosecrans/statuses/116637156562685362</guid><dc:creator><![CDATA[wrosecrans@mstdn.social]]></dc:creator><pubDate>Mon, 25 May 2026 20:42:48 GMT</pubDate></item><item><title><![CDATA[Reply to UUIDs are so funny today because almost all of their deployments is &quot;we take a string of mostly-random bits but give it structure for no apparent reason&quot; on Mon, 25 May 2026 20:42:22 GMT]]></title><description><![CDATA[<p><span><a href="/user/nyovaya%40transfem.social" rel="nofollow noopener">@<span>nyovaya</span></a></span> they are the same thing</p>]]></description><link>https://board.circlewithadot.net/post/https://social.treehouse.systems/users/whitequark/statuses/116637154823282886</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://social.treehouse.systems/users/whitequark/statuses/116637154823282886</guid><dc:creator><![CDATA[whitequark@social.treehouse.systems]]></dc:creator><pubDate>Mon, 25 May 2026 20:42:22 GMT</pubDate></item><item><title><![CDATA[Reply to UUIDs are so funny today because almost all of their deployments is &quot;we take a string of mostly-random bits but give it structure for no apparent reason&quot; on Mon, 25 May 2026 20:41:59 GMT]]></title><description><![CDATA[<p><a href="/user/whitequark%40social.treehouse.systems">@whitequark@social.treehouse.systems</a> I thought Microsoft made GUIDs popular?</p>]]></description><link>https://board.circlewithadot.net/post/https://transfem.social/notes/amp8kwua397405pa</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://transfem.social/notes/amp8kwua397405pa</guid><dc:creator><![CDATA[nyovaya@transfem.social]]></dc:creator><pubDate>Mon, 25 May 2026 20:41:59 GMT</pubDate></item><item><title><![CDATA[Reply to UUIDs are so funny today because almost all of their deployments is &quot;we take a string of mostly-random bits but give it structure for no apparent reason&quot; on Mon, 25 May 2026 20:40:16 GMT]]></title><description><![CDATA[<p><span><a href="/user/casandro%40f-ckendehoelle.de" rel="nofollow noopener">@<span>casandro</span></a></span> 124 bits of randomness is enough for basically any application where UUIDs are used as references</p>]]></description><link>https://board.circlewithadot.net/post/https://social.treehouse.systems/users/whitequark/statuses/116637146585873817</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://social.treehouse.systems/users/whitequark/statuses/116637146585873817</guid><dc:creator><![CDATA[whitequark@social.treehouse.systems]]></dc:creator><pubDate>Mon, 25 May 2026 20:40:16 GMT</pubDate></item><item><title><![CDATA[Reply to UUIDs are so funny today because almost all of their deployments is &quot;we take a string of mostly-random bits but give it structure for no apparent reason&quot; on Mon, 25 May 2026 20:40:04 GMT]]></title><description><![CDATA[<p><span><a href="/user/whitequark%40social.treehouse.systems">@<span>whitequark</span></a></span> no, it doesn't. but you've already generated them then you just throw them away because they've arbitrarily decided to mark some of them with a constant.</p>]]></description><link>https://board.circlewithadot.net/post/https://social.treehouse.systems/users/dysfun/statuses/116637145775426943</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://social.treehouse.systems/users/dysfun/statuses/116637145775426943</guid><dc:creator><![CDATA[dysfun@social.treehouse.systems]]></dc:creator><pubDate>Mon, 25 May 2026 20:40:04 GMT</pubDate></item><item><title><![CDATA[Reply to UUIDs are so funny today because almost all of their deployments is &quot;we take a string of mostly-random bits but give it structure for no apparent reason&quot; on Mon, 25 May 2026 20:39:21 GMT]]></title><description><![CDATA[<p><span><a href="/user/dysfun%40social.treehouse.systems">@<span>dysfun</span></a></span> i don't think 124 vs 128 bits of randomness makes any salient difference</p>]]></description><link>https://board.circlewithadot.net/post/https://social.treehouse.systems/users/whitequark/statuses/116637142995992688</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://social.treehouse.systems/users/whitequark/statuses/116637142995992688</guid><dc:creator><![CDATA[whitequark@social.treehouse.systems]]></dc:creator><pubDate>Mon, 25 May 2026 20:39:21 GMT</pubDate></item><item><title><![CDATA[Reply to UUIDs are so funny today because almost all of their deployments is &quot;we take a string of mostly-random bits but give it structure for no apparent reason&quot; on Mon, 25 May 2026 20:39:10 GMT]]></title><description><![CDATA[<p><span><a href="/user/whitequark%40social.treehouse.systems">@<span>whitequark</span></a></span> What makes this stranger is that there's a lot of software around that uses external dependencies to create UUIDs to act as random strings... even when the enthropy to character ratio would be important. After all rolling your own routine is trivial and fast... and allows you to cram in 6.5 bits per character easily.</p>]]></description><link>https://board.circlewithadot.net/post/https://f-ckendehoelle.de/users/casandro/statuses/116637142241422640</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://f-ckendehoelle.de/users/casandro/statuses/116637142241422640</guid><dc:creator><![CDATA[casandro@f-ckendehoelle.de]]></dc:creator><pubDate>Mon, 25 May 2026 20:39:10 GMT</pubDate></item><item><title><![CDATA[Reply to UUIDs are so funny today because almost all of their deployments is &quot;we take a string of mostly-random bits but give it structure for no apparent reason&quot; on Mon, 25 May 2026 20:38:45 GMT]]></title><description><![CDATA[<p><span><a href="/user/stevestreza%40indieweb.social">@<span>stevestreza</span></a></span> <span><a href="/user/whitequark%40social.treehouse.systems">@<span>whitequark</span></a></span> If it works...</p>]]></description><link>https://board.circlewithadot.net/post/https://masto.hackers.town/users/drwho/statuses/116637140617463832</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://masto.hackers.town/users/drwho/statuses/116637140617463832</guid><dc:creator><![CDATA[drwho@masto.hackers.town]]></dc:creator><pubDate>Mon, 25 May 2026 20:38:45 GMT</pubDate></item><item><title><![CDATA[Reply to UUIDs are so funny today because almost all of their deployments is &quot;we take a string of mostly-random bits but give it structure for no apparent reason&quot; on Mon, 25 May 2026 20:38:45 GMT]]></title><description><![CDATA[<p><span><a href="/user/whitequark%40social.treehouse.systems">@<span>whitequark</span></a></span> actually i remember microsoft more for GUIDs than UUIDs</p>]]></description><link>https://board.circlewithadot.net/post/https://social.treehouse.systems/users/dysfun/statuses/116637140596493607</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://social.treehouse.systems/users/dysfun/statuses/116637140596493607</guid><dc:creator><![CDATA[dysfun@social.treehouse.systems]]></dc:creator><pubDate>Mon, 25 May 2026 20:38:45 GMT</pubDate></item><item><title><![CDATA[Reply to UUIDs are so funny today because almost all of their deployments is &quot;we take a string of mostly-random bits but give it structure for no apparent reason&quot; on Mon, 25 May 2026 20:38:33 GMT]]></title><description><![CDATA[<p><span><a href="/user/whitequark%40social.treehouse.systems">@<span>whitequark</span></a></span> Pretty much. Plus, MS has its own special variant that only they use.</p>]]></description><link>https://board.circlewithadot.net/post/https://masto.hackers.town/users/drwho/statuses/116637139807453317</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://masto.hackers.town/users/drwho/statuses/116637139807453317</guid><dc:creator><![CDATA[drwho@masto.hackers.town]]></dc:creator><pubDate>Mon, 25 May 2026 20:38:33 GMT</pubDate></item><item><title><![CDATA[Reply to UUIDs are so funny today because almost all of their deployments is &quot;we take a string of mostly-random bits but give it structure for no apparent reason&quot; on Mon, 25 May 2026 20:38:19 GMT]]></title><description><![CDATA[<p><span><a href="/user/whitequark%40social.treehouse.systems">@<span>whitequark</span></a></span> java stuff likes them as well, that probably didn't hurt.</p><p>what really upsets me though is your randomness library doesn't actually support a bit at a time because that would be silly, so of course you just grab 128 bits and then drop 4 on the floor and waste them.</p><p>it's a silly thing, but when you're making it worse in the process...</p>]]></description><link>https://board.circlewithadot.net/post/https://social.treehouse.systems/users/dysfun/statuses/116637138916423932</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://social.treehouse.systems/users/dysfun/statuses/116637138916423932</guid><dc:creator><![CDATA[dysfun@social.treehouse.systems]]></dc:creator><pubDate>Mon, 25 May 2026 20:38:19 GMT</pubDate></item><item><title><![CDATA[Reply to UUIDs are so funny today because almost all of their deployments is &quot;we take a string of mostly-random bits but give it structure for no apparent reason&quot; on Mon, 25 May 2026 20:37:48 GMT]]></title><description><![CDATA[<p><span><a href="/user/whitequark%40social.treehouse.systems">@<span>whitequark</span></a></span> The funniest is when people store them as strings in their database.</p>]]></description><link>https://board.circlewithadot.net/post/https://indieweb.social/users/stevestreza/statuses/116637136902342238</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://indieweb.social/users/stevestreza/statuses/116637136902342238</guid><dc:creator><![CDATA[stevestreza@indieweb.social]]></dc:creator><pubDate>Mon, 25 May 2026 20:37:48 GMT</pubDate></item><item><title><![CDATA[Reply to UUIDs are so funny today because almost all of their deployments is &quot;we take a string of mostly-random bits but give it structure for no apparent reason&quot; on Mon, 25 May 2026 20:36:03 GMT]]></title><description><![CDATA[<p>it's true that you could populate some of those bits with predictable sequences to avoid clashing (a la snowflake) but guess what: you can do this to a hex string or a number (as does snowflake). i think the only reason UUIDs are as popular as they are today is Microsoft?</p>]]></description><link>https://board.circlewithadot.net/post/https://social.treehouse.systems/users/whitequark/statuses/116637130022714452</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://social.treehouse.systems/users/whitequark/statuses/116637130022714452</guid><dc:creator><![CDATA[whitequark@social.treehouse.systems]]></dc:creator><pubDate>Mon, 25 May 2026 20:36:03 GMT</pubDate></item></channel></rss>