When the sun is directly overhead it's meant to be 12:00 - IN THEORY!
However as Timezones are pretty wide, most of the time you'll be at least 15 minutes out. Sometimes you'll be out by as much as 3 hours - and you've probably never even noticed!
Telescopes already have to compensate for this (as well as for summer time).
Leap seconds make a shambles of book keeping too. What is "2022-07-17T12:00:00" + (60 x 60 x 24 x 365 x 5) seconds? No one knows! And the answer to that question will change depending on when you calculate it and which updates you installed!
So I say ditch the leap second and let it drift. In a few hundred years we could update our timezones if we _really_ want to (timezone changing is actually pretty common, so code should already be handling this edge-case).
People can simply set the volume on the player louder if there's more background sounds. The trick to the loudness wars is to sound louder (than other songs) at the _same_ volume. If a bar or radio is in the background at a fixed volume, the loudest songs stand out.
I wonder how the licensing issue referenced in the Wikipedia article is handled in the UK. I imagine Ofcom will have had to approve and license these installations, or will they have made these exempt (I can't find any evidence of this)?
I can't see these devices specifically mentioned in https://www.ofcom.org.uk/__data/assets/pdf_file/0028/84970/i..., though the frequency range they operate in (20-140kHz) is allowed to be used by induction loop type applications, at a suitably low power.
I think "1 million" means 1e6 everywhere. But the confusion might be because "1 billion" means 1e9 in USA but 1e12 in UK/Ireland. "1 trillion" similarly is 1e12 in USA but 1e18 in UK/Ireland. This is called the short/long scales. It's a headache.
If Chrome made denied cookies by default and required an explicit opt-in caused by a user action (basically deter un-prompted cookie prompts like we managed to deter popups) then that would change very quickly. I wonder why they don't?
Not anymore! Adobe has been taking the activation servers offline for its older products for some time now. Newer versions as I understand it are the service model "Creative Cloud" meanwhile
I guess you assume to build one timeflake per ms for one year. That's about 3e13 timeflakes. Ordinary UUIDs have a collisions at the order of 1e18 hashes (cf. https://en.wikipedia.org/wiki/Universally_unique_identifier#...). So we are "only" 5 orders of magnitude away. For me the collision quality feels the same.
If you assume one per ms then timeflake and UUIDv1 both have a 0% chance of collision as they encode the timestamp.
You might go above this rate some of the time though and we might as well strive for perfection.
One of the nice things about UUIDs is that you can just merge data together willy-nilly without worrying about collisions - for example, if you gets bought by Google. You can't really do this with timeflake.
>> If you assume one per ms then timeflake and UUIDv1 both have a 0% chance of collision as they encode the timestamp.
They can be generated anywhere at any time. It two machines are generating even 1 per hour, they will have collisions if their clocks are synchronized. The random bits are important.
You'd run into a bigger problem than collisions a lot sooner (IMHO): time ordering. "ms" precision is very misleading, because keeping clocks really in sync while processing this much data is a real challenge.
Sure, maybe it doesn't matter that one server/emitter and thus a bunch of IDs are out of order, but if this is really just for helping indexes, then a simple 0.1 second precision would make more sense. (Or even simply truncating the timestamp to however many bits to get ~2-30 sec precision, and using a data store with LevelDB-like staged compaction. Which is virtually a requirement at this scale.)
Which is a pretty safe assumption, considering just generating
those 128bits 50 million times a millisecond results in over 20
million TB of data in a year. I think it's safe to say this is
not a common scenario.
There are close to 32 billion millisecond in a year. If the chance of a collision happening within a millisecond is 1 in a billion then my intuition is that the probability of a collision happening at least once a year is quite high, indeed.
It's like a dice: You have 1 in 6 chance of getting a 6 every time your roll the dice. Now, if you roll the dice 100 times the chance that you'll get a 6 at least once is then pretty high.