Sometimes it’s just fun to watch a good thinker think.
That’s the case with the article “Cosmologically Unique IDs” by computer scientist Jason Fantl.
In it, he ponders the nature of UUID (Universally Unique Identifiers). The ones that you and I are accustomed to using have 22 bits of data, and they operate on a principle of randomness. Here’s a UUID, generate with the uuid utility on Debian Trixie (13.3 to be specific):
79aaa354-0d3b-11f1-acc4-101010105263
If you run the uuid utility on your system, it’s incredibly unlikely that you’ll get that same UUID.
How unlikely? As Jason puts it:
The probability of you being struck by a meteorite right now is small but non-zero, and you might even call that a “reasonable” (if paranoid) concern. But are you worried that every human on Earth will be hit by a meteorite right now? That probability is also non-zero, yet it is so infinitesimally small that we treat it as an impossibility. That is how small we can make the probability of an ID collision.
And we rely on that.
But that’s just for Earth. What if mankind spreads out across the stars? What if in the future there are billions of planets, each of which need UUIDs?
The article observes that just using bigger UUIDs will work. And though it’s not stated, the number of times when you’re going to need to compare UUIDs between millions of light years to make sure there’s no collision also works in your favor.
But what if you just had to be sure that UUID collisions were not just incredibly, incredibly unlikely but actually impossible? That’s what the rest of the paper tackles, and it’s a long fascinating journey into all the possibilities.
You’ll learn something, I guarantee it, and enjoy the journey!


















Leave a Reply