Loading video...

Video Failed to Load

Go Home

Time is the Best Unique Identifier

44,009 views • 1 year ago •via X (Twitter)

10 Comments

Dr. Brownian Bridge PhD's profile picture
Dr. Brownian Bridge PhD1 year ago

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

DOGE Bolt⚡️.🇺🇸.🔫. ₿'s profile picture
DOGE Bolt⚡️.🇺🇸.🔫. ₿1 year ago

Basically UUIDv1

antony's profile picture
antony1 year ago

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

Cyberistic's profile picture
Cyberistic1 year ago

why are you using time and not space?

zxq9's profile picture
zxq91 year ago

"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: )

Nostalgic southerner's profile picture
Nostalgic southerner1 year ago

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

Scott Neibarger's profile picture
Scott Neibarger1 year ago

I rather think time is the second best unique identifier.

Jason's profile picture
Jason1 year ago

Beatboxing beats 🎧

Linuxcel's profile picture
Linuxcel1 year ago

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.

CaptainAmericaTex's profile picture
CaptainAmericaTex1 year ago

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.

Related Videos