Загрузка видео...

Не удалось загрузить видео

На главную

Time is the Best Unique Identifier

44,009 просмотров • 1 год назад •via X (Twitter)

Комментарии: 10

Фото профиля Dr. Brownian Bridge PhD
Dr. Brownian Bridge PhD1 год назад

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

Фото профиля DOGE Bolt⚡️.🇺🇸.🔫. ₿
DOGE Bolt⚡️.🇺🇸.🔫. ₿1 год назад

Basically UUIDv1

Фото профиля antony
antony1 год назад

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

Фото профиля Cyberistic
Cyberistic1 год назад

why are you using time and not space?

Фото профиля zxq9
zxq91 год назад

"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
Nostalgic southerner1 год назад

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

Фото профиля Scott Neibarger
Scott Neibarger1 год назад

I rather think time is the second best unique identifier.

Фото профиля Jason
Jason1 год назад

Beatboxing beats 🎧

Фото профиля Linuxcel
Linuxcel1 год назад

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
CaptainAmericaTex1 год назад

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.

Похожие видео