When devops makes a clock
smaslennikov.com
smaslennikov.com
What can one say. At least they didn't use Kubernetes for that.
-https://en.wikipedia.org/wiki/Epoch_(reference_date)#Notable_epoch_dates_in_computing
-https://en.wikipedia.org/wiki/Chronology_of_the_universe#Planck_epochAlso have at least three instances running, for redundancy and zero-downtime updating.
Right now, UTC is 10:39, not 03:39.
But hey, at least this page kinda works without JavaScript.
https://github.com/smaslennikov/whattimeisitrightmeow/issues
SSCG: Static site clock generator.
* Fast (no server side scripts running on get requests) * Safe (no server side scripts running on get requests) * Version controlled (every version of the time is stored in version control in case of time warp)
> Version controlled (every version of the time is stored in version control in case of time warp)
I'm laughing a lot more than I should at this.
> I woke up one morning after seeing the traeish of Bojack Horseman and thought
What does traeish mean? I tried to google but that didn't help much.
http://pageoftext.com/wikiclock
And they're up to >13,000 revisions already...
An opportunity lost if you ask me.
After that, if you assume 128 bytes per commit (timestamp, and maybe a hash or two saved?) then probably around 14 years.
I modified the script to commit as fast as possible (cycling the minutes between 1 and 60), and after 600 commits, doing "git gc --aggressive" before and after, the .git directory grows by around 460 bytes per commit.
Magnificent.
Need some kind of quorum/consensus algorithm in order to handle duplicate PR's though.
If you write Go every now and then you might get it.
While everyone around me is a gofan, I haven't touched it yet.
btw can I send a PR to your repo?