MapItOut: “How far could I live from X?”

The folks at IAmsterdam have released a map that measures distances not in miles / kms but in time. Select a spot + a means of transportation + a desired travel time and it’ll show you how far away (in time) you can get. From what I can tell European countries such as Belgium, France, …

Clock Experiments by Vasilis

Vasilis had some fun and created these experimental clock interfaces. First up is the “Decimal Clock”: If we had ten hours in a day, instead of 24, and if each of these hours had 100 minutes instead of 60, and if every minute had 100 seconds, our clocks would look like this, and the time …

Grid Time (or “Why are clocks in Europe lagging behind by 5 minutes?”)

Yesterday I heard on the news that clocks in Europe have started to lag behind on the official time. The culprit is a fluctuation in Europe’s electricity grid. Clocks, like the ones in your microwave, that are reliant on Grid Time are affected by these fluctuations: Grid Time is a time measurement which is based …

Prevent time drift in Docker with docker-time-sync-agent

Today, at work, a colleague of mine ran into some time issues with his Docker containers: the time was clearly off. Turns out it’s a common problem: Docker’s daemon fails to update the VM’s time after computer wakes up from sleep. The result is that VM’s clock will be set to a past time. This …

How and why the leap second affected Cloudflare DNS

At midnight UTC on New Year’s Day, deep inside Cloudflare’s custom RRDNS software, a number went negative when it should always have been, at worst, zero. A little later this negative value caused RRDNS to panic. This panic was caught using the recover feature of the Go language. The net effect was that some DNS …

Carbon – A simple PHP API extension for DateTime.

$carbon = new Carbon(‘first day of next week’); if ($carbon->isWeekend()) { echo ‘Party!’; } echo $carbon->addYear()->diffForHumans(); // ‘in 1 year’ Carbon is just a class which is designed to be used instead of DateTime. Due to extending DateTime, all DateTime methods are available to users of Carbon. Additionally, it implements a __toString method, allowing users …

June 2015 Leap Second

Today a positive leap second will be introduced, as per IERS announcement: To authorities responsible for the measurement and distribution of time: UTC TIME STEP on the 1st of July 2015. A positive leap second will be introduced at the end of June 2015. The sequence of dates of the UTC second markers will be: …

Falsehoods programmers believe about time and time zones

Every day has 24 hours Every day without DST changes is 86400 (60 * 60 * 24) seconds long Every day in UTC is 86400 (60 * 60 * 24) seconds long Week one of a year starts in January every year If I know what time zone someone is in and they just tell …