News for hackers. Stuff that matters.

greenbeans1991

Re:How Discord Stores Billions of Messages (2017) on Tuesday August 24, 2021 @10:26PM (#28297420)
Ah it gets rid of the non-time related bits. Below is a description of the formatting

* id is composed of: * time - 41 bits (millisecond precision w/ a custom epoch gives us 69 years) * configured machine id - 10 bits - gives us up to 1024 machines * sequence number - 12 bits - rolls over every 4096 per machine (with protection to avoid rollover in the same ms)

thanks :)

Re:How Discord Stores Billions of Messages (2017) on Tuesday August 24, 2021 @09:47PM (#28297231)
Could somebody help me understand the reasoning behind

`timestamp = snowflake_id >> 22`

Thanks :)

Re:Tesla Announces a Humanoid Robot “Tesla Bot” on Friday August 20, 2021 @12:05AM (#28242447)
hmm kinda there can be more randomness and chaos in driving. Depends on the initial application for the Tesla bot
Re:Square to acquire Afterpay for $29B on Monday August 02, 2021 @03:10AM (#28033735)
How is it different than credit cards?