跳过导航
Time is the Best Unique Identifier
0:00 / 2:10

Time is the Best Unique Identifier

Тsфdiиg

@tsoding12万 位关注者

在 X 上查看
915 个赞下载原帖

44,087 次观看

Time is the Best Unique Identifier

10 条评论

评论来自 X (Twitter) 上的原帖

  • Dr. Brownian Bridge PhD 的头像

    @dr_brownian

    Tsoding is the greatest stand up comedian of all time. Only a few will appreciate this.

    21 个赞

  • DOGE Bolt⚡️.🇺🇸.🔫. ₿ 的头像

    @0xbadfed47

    Basically UUIDv1

    8 个赞

  • antony 的头像

    @0xlac

    now i can't say "distributed systems" in any other way

    8 个赞

  • Cyberistic 的头像

    @Cyb3ristic

    why are you using time and not space?

    6 个赞

  • zxq9 的头像

    @zxq9_iwao

    "Snowflakes" are suspiciously similar to UUID "version 6" (styled in the link here as vVI() to not conflict in the future if there is ever an official UUIv6). (above is the call, implementation is here: )

    5 个赞

  • Nostalgic southerner 的头像

    @ListedonSale

    That beat switch on was smoother than butter on a hot desert day.

    4 个赞

  • Scott Neibarger 的头像

    @ScottNeibarger

    I rather think time is the second best unique identifier.

    4 个赞

  • Jason 的头像

    @lagooglejas

    Beatboxing beats 🎧

    4 个赞

  • Linuxcel 的头像

    @0x6B8B20

    I do this with everything. I use the timestamp format from the denote.el package. Now everything has an id - files, notes I want to keep a daily log of, todos in my code, etc.

    2 个赞

  • CaptainAmericaTex 的头像

    @CaptAmericaTx

    A unique identifier with a time component is always the right way to go. The other approach (which git uses to create unique filenames on the server) is to _pretend_ that a SHA-1 hash is a unique identifier, and accept the small risk of 1 in 10^48 chance of a hash collision.

    2 个赞