zerosleeps

Since 2010

ISO 8601

Thursday 28 February 2013

I’m a huge fan of the ISO 8601 standard, which describes an international standard for the display and exchange of dates and times. This xkcd comic highlights one of the common problems.

But there’s a super-handy bonus reason to use YYYY-MM-DD: because the format goes from most to least significant component, the dates are easy to sort. This rule continues to hold true if you keep going with the ISO and add times. As long as the dashes, colons and spaces are all consistent, the date effectively becomes a big integer which increases with the date and time.

For example, a file titled File 2013-02-28 19:56 would, if sorted in ascending order, correctly appear before a file created at a later time (2013-02-28 20:03) or a later date (2013-10-01 11:34).

So that’s settled - we must all stop using DD/MM/YYYY, and the even more illogical format of MM/DD/YYYY.

I moved my ute

Wednesday 30 January 2013

I made sure I moved my ute somewhere safe. I’ve got no job without my ute.

You just don’t read things like this in Scotland.

UHI

Saturday 26 January 2013

The sign says it’s a university now. They couldn’t have done it without me…

Sydney Harbour Bridge pylon lookout

Sunday 13 January 2013

The inside of the south-east pylon of the Sydney Harbour Bridge contains a museum and public access to the roof, so that’s where I headed today after breakfast.

It was surprisingly spacious inside the pylon, but then they were added simply to give the bridge an extra-strong appearance: they don’t actually contribute to structural integrity whatsoever.

Duck

Saturday 5 January 2013

This is a duck. And it’s in Cockle Bay as I type. And to get there, they had to bring Darling Harbour to a standstill. I just can’t write in words how amazing it is to see something so expensive, utterly pointless, and frickin' fun all at the same time. The world needs more giant rubber ducks if for no other reason that it makes people smile.