Hacker GitHub

← All repos

paralleldrive/cuid

View on GitHub ↗ ★ 3,501 JavaScript

Deprecated collision-resistant id spec. Insecure because it leaks timestamps. Use cuid2 instead.

10 mentions on Hacker News by 10 people: 2 stories, 8 comments · first 2018-12-28 · latest 2022-06-13

Mentions per year 10 mentions · busiest year 2021 (5)
20082026
  1. CUID might be a good alternative if you need something sortable over time: https://github.com/ericelliott/cuid It's mentioned in this IETF draft, but I don't see the analysis made available
    comment by pcthrowaway · 2022-06-13 · in New UUID Formats
  2. Some details on how CUIDs work: https://github.com/ericelliott/cuid
  3. CUIDs are a good distributed (locally generated) solution. https://github.com/ericelliott/cuid
  4. Would you recommend this over https://github.com/ericelliott/cuid ? I use cuid with Postgres and it’s worked out great.
  5. There is also CUID: https://github.com/ericelliott/cuid
  6. …you know the differences, can you please explain them for those like me who do not know both? [1] https://github.com/ericelliott/cuid
    comment by reader_1000 · 2021-02-19 · in Things you should do now (2011)
  7. …based on the browser or the process ID of the server. Cool stuff, thanks for pointing it out! [1] https://github.com/ericelliott/cuid
  8. cuid removes more of the randomness adds a counter and a fingerprint: https://github.com/ericelliott/cuid The default id in MongoDB does about the same. I always thought the MongoDB identifiers worked well for a lot of use cases. Its also…