ULID support in #HareLang exists now. Needs some finishing touches, but the bulk if it works. https://git.sr.ht/~blainsmith/hare-ulid #ULID
BTW, the U in #ULID is inaccurate - it’s not universal, or even Galactic, or even Stellar level unique.
A galactic level collision avoiding random number would be at least 40 bits more (for a trillion stars). 80+40+76=196 bits. Throw in a few extra bits to make a nice round 256 bit total size and you have a #GLID.
One oddity is that the universe is expanding so eventually you will be out of light speed communication range to even nearby stars. So fewer random bits needed in far future?
We have ported the code (ulid/javascript => PHP 7.4+) that can be used to generate Universally Unique Lexicographically Sortable Identifier (ULID) https://github.com/S5Innovators/php-ulid #ulid #ulid_generator #php
I made a common #lisp implementation of #ULID. ULIDS are neat, they're like UUIDs but sequentially ordered. I wanted to use ULID to make a different thing thing with, but I couldn't find any useful lisp ones. #procrastination #code
https://gitlab.com/colinstrickland/cms-ulid/
(I subsequently found some other implementations, because I'm bad at googling things, but I had fun making it I barely get to write any code these days, and it probably shows!)
#lisp #ULID #procrastination #code