A fun but tiring weekend

This weekend we were babysitting Paretao, an 8 year old girl with a bunch of energy. Luckily Kahurangi loves her.

Paretao and Kahu

We went to the Mall and shopped for Jewelery for like 7000 million hours (Thats what it felt like to Kahu and I). Then Laurel and Kahurangi shopped some more while Paretao and I went to see Horton Hears a Who.

We also ate way too much icecream.

The next day we went to Te Papa (the museum) and tried to look at everything all at once. By the end of the weekend, both Kahurangi and I were tired out.

Tired

Creating a Programmers manual for Koha 3

Using the neat little module Pod::Manual I whacked up a quick script to combine all the man pages for koha into 1, then output it as docbook (xml not sgml).


#!/usr/bin/perl
use Pod::Manual;
my $manual = Pod::Manual->new({ title => 'C4 Manual'});
my $path = $ARGV[0];
my @chapters = <$path/*>;
foreach $chapter (@chapters){
$chapter =~ s/$path///;
$chapter =~ s/.3pm//;
eval {$manual->add_chapter ($chapter);};
}
print $manual->as_docbook();

I then used the dblatex tools to convert it to pdf.
./manual.pl /path/to/man/files > file.xml
dblatex -tpdf file.xml

What a dick!

So it’s my first arsehat in a while. But a deserved one, how would you like to wake up in the morning, look at the paper and see this headline on the front page. “Pacific migrants ‘drain on economy'”.

Lovely, reading the article its full of gems like
“Of particular concern is the large Polynesian subculture whose educational achievements mean they will contribute very poorly in this regard,” Dr Clydesdale says.

“And because of high fertility and current immigration levels, New Zealand will have a significant population that can contribute little to economic growth.”

Lovely, lets just generalise a huge disparate group of people based solely on the geographic area they are from. I hope he puts out a paper on the land stealing tendencies of European immigrants next.

What happens when Kahu and Chris are home alone

So this weekend Laurel was teaching which meant Kahurangi and I had the weekend to chill out together.

On Saturday we had a pretty lazy day, one of the fun things that happened was when I was shaving I cut myself (not uncommon) So did the old tissue paper to stop the bleeding trick. As it was just Kahu and I at home I had him the bathroom with me while I was shaving. He’s at the age where he mimics most anything he sees, I didn’t notice at the time but when we got back in the lounge I noticed something different about his face. Check out this photo.

At least he didn’t mimic the cutting part.

On Sunday we went to the Zoo with the grandparents, then to a greek cafe and then shopping at the
Mediterranean food warehouse, as well as at the new Arabian food store. Kahurangi charmed his way into a free orange juice at the Arabian store.

All in all a tiring weekend but a fun one.

Things you see on your way to work

I suspect you are unlikely to see this elsewhere in the world, but today as I was walking from the bus stop up to the office. I looked out of the corner of my eye and noticed a very fit looking woman, who had obviously just stepped out of the configure gym, sitting on a bench eating a steak pie.

I guess its all about balancing that calorie intake with what you burn.