Show HN: 128-bit, roughly-ordered, URL-safe UUIDs
There’s a spec called ULID that’s pretty much this with default base32 encodinghttps://github.com/ulid/specI’ve also worked on a UUID-ULID bridge for Gohttps://github.com/sudhirj/uulid.goAnd seeing as this is just 128 bits it’s quite easy to move seamlessly between formats and representations.I’ve found this concept especially useful in nosql stores like DynamoDB, where using a ULID primary key makes objects time sortable automatically. It’s also quite easy to query for items by zeroing out the random component and setting only the time stamp bytes.