veganism.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Veganism Social is a welcoming space on the internet for vegans to connect and engage with the broader decentralized social media community.

Administered by:

Server stats:

233
active users

#uuid

0 posts0 participants0 posts today

I've made a thing! A new version of an UUID encoding I came up with 12+ years ago. There might even be one or two people here who remember me giving my first Tech Talk at work about this back then.

Next to the PostgreSQL version that I shared, I always had implementations in the languages I worked with, and I improved the encoding a bit further in the last years, and just published an implementation in Go:

github.com/sdassow/go-sort64id

I just released the first major update for the ULID unique ID generation library in over 8 years! I’ve been following it as a user for years, having even forked it for ulidx when it wasn’t being maintained. It’s fulfilling to not only see it updated (as I use it a lot), but having done so myself.

If you’re building a new feature and are about to reach for an ID generator (like UUID), you might consider trying ULIDs instead: github.com/ulid/javascript

Using #sourcehut is a lesson in itself
for all keys you upload to builds page you get a UUID that you use to indicate which secrets you want to use on that particular build … because secrets are global to your account. #SSH keys get saved on the .ssh directory with filename of the #UUID (see example below), and for files you can provide both the filename that will be used and the permissions of the file (following the numeric style of *nix systems)

My favorite hobby: reading EDN spec and finding examples where practice diverges from theory.

E.g. did you know that

.1

parses as a symbol?

Or that

:/

and

:///

are both valid keywords but

://

isn’t?

Also this:

#uuid "f-7-1-a-8"

is a perfectly fine UUID.

Anyway, have a good weekend!

Replied in thread

@timbray
“UUID should be represented by the "hex-and-dash" string format consisting of multiple groups of uppercase or lowercase alphanumeric hexadecimal characters “

Every time I’m handling uuids in code I need to remember to think about case. I have seen resource IDs in azure recently consisting of multiple uuids in the one resource ID string. where some UUIDs are in caps and others are lower case. *In the same ID string*. But if you were building that resource ID string to use in an azure SDK you would have to respect which UUIDs are in caps and which are lc otherwise it will not be useable. It’s an absolute nightmare.
because the standard allows both and some library code has not implemented the standard correctly, we get issues with case. #Azure #UUID