2009


1
Jun 09

Back from my travels

After a solid month of eating and chilling, Im back. Despite eating anything and everything that looked remotely edible, I managed to gain only a couple of kilos. Almost every meal brought with it something new and challenging to my palette, from sea snails and chicken feet, to deep fried fish heads and pig’s trotters.

I’m too lazy to sort through and upload my photos yet – instead, I am trying to get out of holiday mode and get back into training and coding :/

Night market at Kenting, Taiwan.


10
Apr 09

You are here…

Playing around with Maxmind’s GeoIP city database, I made this globe that ‘should’ look up your IP address and point to where you are on Earth – well, the nearest city at least:


26
Mar 09

Audio visualiser

I finally got around to making a simple audio visualiser, something I’ve been meaning to do for a while. If you have a microphone, simply click ‘allow’ below and put some music on. You may need to play with your micrphone gain though, just right-clic, go to ‘settings’ then click the micrphone tab and drag the ‘record volume’ slider up/down.


20
Feb 09

Migrate to AS3 now!

Much as it pains me, I still develop in AS2 when it’s absolutely necessary. But I was never a big fan of AS2, its quirks, the weird work-arounds and its ‘almost but not quite’ OOP nature. We should all be using AS3 now, but many of the roles I get asked about are primarily AS2 – with AS3 exposure an advantage, they say. No shit sherlock!

For those still clinging to AS2 like a comfort blanket, daunted by new-fangled syntax and the loss of some of AS2′s most trusted old arcane method… fear not, help is at hand in the form of the AS2 to AS3 migration guide:

http://livedocs.adobe.com/flex/201/langref/migration.html

In many ways, AS3 is actually simpler than AS2, because it retains less of the AS1 legacy that plagues AS2′s structure and behaviour. So, in saying that (in my opinion) we should all be developing in AS3 now and drop AS2 like a bad habit, it’s not because I’m some kind of code fascist (far from it). I find that the development and maintenance of projects built in AS3 just seem to go smoother – but the enforced use of the proprietary, often clumsy frameworks I encounter in some of my contract placements is another story altogether. :)