4 ms·
EIDs (Encoded IDs)
- winslett 5y agoLove the “easy to select for copy and paste” as a usability requirement.
- GorsyGentle 5y agoNot gonna lie, UUIDs are awful and I agree with that being a requirement. My personal favorite is actually Amazon's ID system. The fact that at a glance I know what type/class of resource something is phenomenal. Looking at you Azure. You GUID dumpster-fire of an API.
- atonse 5y agoI also like Stripe's prefixes. like sk_ or card_ etc. Removes any ambiguity.
- Scaevolus 5y agoNote that the standard base32 rfc encoding does not sort the same as the underlying data, but the hex encoding does! (base32.HexEncoding). Reddit uses base36 for similar purposes.
- snthpy 5y agoWhy is this? Because of the optional padding?
- snthpy 5y agoSo kinda like ULIDs (except when not using the time based generating algorithm) and using standard-base32 instead of Crockford's base 32?
- snthpy 5y agoI'd love to use this instead of UUIDs. Is there an easy to install PostgreSQL extension?