News for hackers. Stuff that matters.
Re:Auto increment is a terrible idea by Cieplak on Thursday November 30, 2017 @09:37AM (#15815967)
Article doesn't mention this but if you're exposing UUIDs to users, it's nice to base62 or base58 encode them.

E.g.

    uuid v4: de7013fb-658e-40a0-9c02-d23080b57fdb
    base58 : tt7Udwi9Tx9VE1ze7HDBxi
Here's a lib I wrote in c++ for doing this, with python and erlang bindings, https://github.com/cieplak/uuid
Re:Auto increment is a terrible idea by viiralvx on Thursday November 30, 2017 @11:27AM (#15816994)
What's the benefit of doing this?
Re:Auto increment is a terrible idea by pluto9 on Thursday November 30, 2017 @11:52AM (#15817211)
It makes your URLs shorter.

You could also use base64, but it has some non-URL-friendly characters so it would have to be escaped.