24 July 2008
Photography

I finally got a chance to try out my new Sigma 10-20mm wide angle lens.
Overall I'm pretty happy with it. There's a tiny bit of lens distortion at 10mm, but I think it makes the photos more interesting.
The wide angle makes it great for landscapes and indoor photography. Here's a few photos I took from the Carillion.


4 June 2008
Photography
Waterfront properties in Glenelg, Adelaide.
31 October 2007
Programming, PHP

I had 2 hours to kill so I thought I'd write a LOLCode interpreter.
I know there's already a few LOLCode interpreters around, but I couldn't help myself. Plus I've always been interested in interpreter design.
It's still a work in progress at this stage, so a lot of the language hasn't been fully implemented.
Here are two working programs...
Hello World
BTW the classic hello world program
HAI
VISIBLE "Hello world!"
KTHXBAI
Output:

Accepting User Input
HAI
VISIBLE "Hello there, what is your name?!"
I HAS A NAME ""
BTW ask for the users name
GIMMEH NAME
BTW welcome the user
VISIBLE "Welcome to LOLCode " N NAME N "!"
KTHXBAIOutput:
30 October 2007
If you're addicted to reddit.com like me, you'll understand my frustration with all those Ron Paul links. Especially if you don't live in the US, and don't really know who the guy is.
If anyone is interested, I've written a small Greasemonkey script which hides all reddit links that include the text "Ron Paul".
To install, download the Greasemonkey file and drag it onto your firefox window.
ronpaul.user.js
16 October 2007
Photography
Taken at 6AM on Kambah Pool road.