Sqids – Generate short unique IDs from numbers
1–10 of 249 posts
Re: Sqids – Generate short unique IDs from numbers
#2Re: Sqids – Generate short unique IDs from numbers
#3Re: Sqids – Generate short unique IDs from numbers
#4Re: Sqids – Generate short unique IDs from numbers
#5But 127.0.0.1 looks more "readable" to me than lusab-babad
Re: Sqids – Generate short unique IDs from numbers
#6Re: Sqids – Generate short unique IDs from numbers
#7This used to have a totally different name iirc, they used to be called hashids
Re: Sqids – Generate short unique IDs from numbers
#8This used to have a totally different name iirc, they used to be called hashids
Re: Sqids – Generate short unique IDs from numbers
#9They should use a similar dictionary approach IMO because I looked at the implementation and it’s hardcoded to look for “bad” words
Otherwise looks real straightforward! I’d love to see some performance test suites for it
[0]: https://github.com/sqids/sqids-javascript/blob/ebca95e114932...
[1]: though with UUID v4 so common to generate and well optimized in most languages I wonder if these userland solutions are really better. You can always generate a UUID and re-encode with base32 or base64 with also is well optimized in most languages
Re: Sqids – Generate short unique IDs from numbers
#10It's weird under "Get Started" they have links to 40 different languages. You can only get started with 15 of the 40 languages listed, the other 25 are skeleton repos asking for people to start the repo to indicate interest.