HNHacker News
TopNewBestAskShowJobs

alizainf

5 karma · joined November 15, 2015

submissionscomments
alizainf··on You can run Git on object storage if you re-make packfiles
You can also run git on postgres - https://github.com/usecontextlayer/pggit
alizainf··on Denest: A different way to read threaded comments
Thanks for the feedback! Yeah it's definitely jarring at first to see just a single tree.

There are indicators above each comment to show which index you're on right now, and "prev"/"next" buttons to give you a better sense of other trees on either side of the comment. It's harder to show more because of space limitations, though I will continue to iterate!

alizainf··on Denest: A different way to read threaded comments
Hey everyone, original author here. I've been experimenting with ways to make threaded comments easier to read, I'd love your thoughts and feedback. When using the demo, try enabling keyboard mode, it makes navigating a lot faster and more fun!
alizainf··on ULID: Universally Unique Lexicographically Sortable Identifier
Over time, UUID has been massaged and adapted to fit many different applications, with the actual similarities between different versions whittling down to 2:

  - data types used in binary representation (in order: u32, u16, u16, u8, u8, u16, u32)

  - canonical string representation (xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx)
I am of the opinion that this has diluted the usefulness of UUID, especially in specific circumstances. With this in mind, ULID was designed for applications that require the following:

  - distributed ID generation amongst loosely coordinated servers (ie. those that don't have incentives to maliciously manipulate timestamps)

  - sortability of items with assigned ID without any additional information (ex. no additional db joins/requests)
Finally, ULID was designed with the explicit intent of being as character efficient as possible, for use in URLs and such. By using the Base32 alphabet, it uses fewer characters than UUIDs, optimizes for human readability/clarity (Crockford's modifications) and remains case-insensitive.

For any API driven web-app where both the client and server can generate new data, ULIDs can be ideal. A lot of people are already using something similar. I thought it would be nice to standardize it as a drop-in replacement.

alizainf··on ULID – Chronologically sortable drop-in replacement for UUID
Didn't know it had already been posted, thanks! I'm answering it now