Strange Pants

Manually adjusting daylight savings time on Ubuntu

Without so much as a ‘by your leave’ Fiji’s government has decided to implement daylight savings … on 3 weeks notice!

Whatever the justification for daylight savings, short notice is generally a “Very Bad Idea”® particularly when there are computer systems involved.

This post on TripAdvisor hints at some of the confusion this change is causing.

All time-sensitive travel events and tickets with any international connection booked for December 2009 to April 2010, before the daylight savings were announced, now carry invalid information.

@sanjuroku suggests that the best way to manage this confusion is to ignore the changes and proceed as usual on Fiji Standard Time.

@avonsys suggests switching to New Zealand Time for a while.

If these float your boat, then so be it. If you, like me, are a bit OC about this sort of thing, then you can roll up your sleeves and rewire your system.

I addressed the Windows junkies on Twitter
Update: Microsoft has just released a hotfix to allow for Fiji Daylight Savings: KB977748

I now offer up the following guide to manually editing time zone rules for Fiji’s tiny Ubuntu (and Debian) community.

Fire up a terminal and make yourself a safe place to play

$ mkdir /tmp/tzdata
$ cd /tmp/tzdata

Now let’s get the official time zone data (and if necessary, the tools to work with it)

$ apt-get install dpkg-dev (if you don’t already have this)
$ apt-get source tzdata

Let’s find the data that references Fiji

$ cd tzdata-2009r
$ nano australasia (or use vi or emacs or whatever puts text-editing hair on your chest)

Look for the Fiji section (around line 250) and add these 2 rules below the existing rules.

Rule	Fiji	2009	only	-	Nov	lastSun	2:00	1:00	S
Rule	Fiji	2010	only	-	Apr	lastSun	3:00	0	-

These boil down as follows:

  1. For the timezone ‘Fiji’, on the last Sunday of November (in 2009 only), adjust the time to save 1 hour and change the time code to FJST.
  2. For the timezone ‘Fiji’, on the last Sunday of April (in 2010 only), revert the time so there is no difference from normal Fiji Time, and revert the time code to FJT.

Save the file and exit your text editor.

Now we compile our new rules, and tell the system to start using them.

$ sudo /usr/sbin/zic australasia
$ sudo dpkg-reconfigure tzdata

Select Pacific then Fiji

Now let’s make sure the new time rules are showing up:

$ zdump -v /etc/localtime | egrep ’2009|2010’

Should look something like this:

/etc/localtime  Sat Nov 28 13:59:59 2009 UTC = Sun Nov 29 01:59:59 2009 FJT isdst=0 gmtoff=43200
/etc/localtime  Sat Nov 28 14:00:00 2009 UTC = Sun Nov 29 03:00:00 2009 FJST isdst=1 gmtoff=46800
/etc/localtime  Sat Apr 24 13:59:59 2010 UTC = Sun Apr 25 02:59:59 2010 FJST isdst=1 gmtoff=46800
/etc/localtime  Sat Apr 24 14:00:00 2010 UTC = Sun Apr 25 02:00:00 2010 FJT isdst=0 gmtoff=43200

Now we’re good for this year. Let’s hope “the powers that be” give us all a little more warning next time.

Hat tip to http://wiki.debian.org/TimeZoneChanges

Firefox now checking your Fijian spelling

The good people at AvonSys have repackaged the OpenOffice Fijian language spelling dictionary as a spelling check add-on for Firefox/Mozilla

Fijian spell checker on Wikipedia
Fijian spell check in action on the Fijian version of Wikipedia (click for larger version)

The Fijian language pack for Firefox has also been updated since I last wrote about it

All we need now is a few good Fijian websites to fly the FJ-fj language flag … or you could contribute to the Fijian version of Wikipedia

While we’re talking languages, the Fijian version of Wikipedia has a link to the Fiji Hindi version Someone seems to take an active interest in updating it: it’s got a lot more content than the Fijian version.

Grab a historic copy of the (censored?) Fiji Times

When the Fiji Times launched a redesign of their flagship newspapers a few months ago, I don’t think they were contemplating the sort of strong use of white space evident in today’s (Sunday, April 12, 2009) Sunday Times.

I guess this has been building since the powers that be decided to vet the news pursuant to the freshly minted Public Emergency Regulations 2009, which provide for the “control of broadcast and publications”. Pictured here are pages 2 and 3 of the Fiji Times.

Censored: Fiji Times news

That’s a whole lot of ‘control’, and not much ‘publication’. And below is the editorial page (page 6).

Censored: Fiji Times cartoon and letter

The national sense of humour seems to have suffered somewhat.

For those of you wondering how we got to this state of affairs:

*Updated (13 April):* Added several new developments to the chronology.
*Updated (14 April):* Added link to Public Emergency Regulations. Added several new developments to the chronology.

Scooting off with Fiji's name ... again

Having previously written about products and companies misappropriating the name ‘Fiji’, I couldn’t pass up the opportunity to add a new infringer to the list.

Roketa MC-04 Fiji 150 Scooter

This fetching mode of transportation is the Roketa MC-04 Fiji 150CC Moped.

Roketa didn’t just stop at nicking Fiji’s name either: Aruba, Bahama[sic], Maui, Bali, Carpi, Sicily, Catalina and Jamaica are all doing double duty as moped names.

The company is based in Nanjing, China, with US distributors in California and Texas so any disputes about names may bounce around a bit before finding the right jurisdiction.

On the positive side, at least Roketa is selling an eco-friendly ‘Fiji’. A 150cc engine means you can run on the smell of an oily rag … there are lawn mowers out there with bigger engines.

Suva water - silting up your pipes

As part of recent family cost-cutting measures, we got rid of our water dispenser and bought a water filter to make the best of the Suva’s tap water.

The results have been educational.

Here is the ceramic dome in the first stage of the filter at the beginning of the week. Tap water has to seep through the micro-pores in this dome before it gets to the various other stages of the filter.

clean water filter

And here it is after a hard week filtering Suva’s sparkling, treated tap water:

dirty water filter

That’s a thick layer of silt people!

Now I’m all for developing resistance to the local bugs by way of a little exposure … but that’s a lot of silt to be gulping down with your daily hydration.

This is the rather basic 14 litre filter I got from Carpenter’s Hardware for about $50.

water filter

What about you? Sticking to the tap water? Got a filter? Or do you drink only the purest mineralised water bottled at a natural aquifer fed by dew drops from virgin rainforest?

Update: (15 March) Others have noticed! Seona Smiles column in the Sunday Times this week is dedicated to the art of feeding the filter. Go read it. She has better writing; I have better pictures.

« - previous posts