January 28th, 2007
If you’re doing web development or design of any sort, you have to check out Joe Hewitt’s talk on Firebug at Yahoo! - download the movie or watch it online, just make sure you watch it.
If you aren’t already using Firebug, this will convince you. If you are, you’ll probably find some gems in there that you didn’t know before. I didn’t know that you could log events to elements on the fly, or press the up and down arrow keys to adjust numerical values (such as margins and paddings), or edit the values in the box model layout diagram, or hover over variable names to see a tooltip of their values in the JavaScript debugger, or conditional breakpoints.
Now if only it were able to detect JavaScript syntax errors that cause an entire JS file to be ignored by the browser.
January 21st, 2007
I just got back from BarCamp Singapore a few hours ago. I was only vaguely familiar with the Rules of BarCamp prior to this, and actually only found out about the event from Choon Keat (of RssFwd fame - check it out if you haven’t already) 2 days ago.
Anyway, props to the organizers for putting this together (especially the free BarCamp t-shirts from Yahoo!). Personally, I felt the icebreaker game took up too much time that could have been used for the sharing sessions - the tech track of sessions were crammed up towards the end of BarCamp.

Notably, Harish Mallipeddi, who interned at Bezurk for a couple of months, shared with us an introduction to Django together with some working code on a site he is working on. I didn’t know a whole lot about Django before and was impressed that there is a “free” admin application for Django applications. We (Choon Keat, Harish, and I) had a small debate over Django’s templating system (briefly, Django has it’s own templating system for its views, whereas Rails ERB is basically Ruby code mixed in HTML). To this day I am still convinced that PHP is already a templating language despite my old Smarty card-carrying days. Relating back to the Django templating system, Choon Keat and I didn’t like the idea of having to learn to use a templating language when the base language itself (Ruby or Python) would suffice. Obviously Python syntax wasn’t suitable for web designer consumption so Django had to come up with its own templating language.
Michael from PetrolWatch showed us some flashy scriptaculous effects on his site and demoed the Ruby on Rails-inspired CakePHP. It’s a nice framework if you had to use PHP and performance is a concern (it’s true, Rails apps run more heavily than PHP scripts, and the difference in performance is very clear in servers with minimal resources). But the lack of a good testing framework was discouraging. Still, I must say I’d have used it (or a similiar framework) if Rails didn’t exist or if I was tied to using PHP for web development.
Choon Keat showed the non-believers the power of Rails’ script/console as well as the flexibility of Ruby in allowing developers to make their own extensions to existing classes (aka “who needs hooks from God?”). I probably should have stepped in and showed some basic Rails migrations stuff that would have impressed (hopefully) the Django and CakePHP fanbase (all 2 of them) - but my laptop was running out of battery (and I was shy).
Oh and I saw a good number of Macs there, and at least 3 laptops running a Linux distro of some sort. Cool.
January 20th, 2007
RubyGems has been updated to 0.9.1 and is a required update due to a security issue. The blog announcement reveals more:
The most important change in RubyGems 0.9.1 is that RubyGems no longer allows files to be installed outside of the installation directory.
It’s a required update as the RubyForge gem repository will soon disallow installation of gems if you have an older version of RubyGems.
Anyway, a new feature I found very useful is gem outdated, which lists the gems you have installed that are currently not the latest versions (I just realized that mongrel is actually already up to 1.0 RC!). And don’t forget multiple gem uninstallation with gem uninstall.
Update your RubyGems by running:
gem update --system
January 20th, 2007
Found a forwarded email with this image of a receipt from a local restaurant in Raffles Hotel sitting around in my inbox while clearing my inbox (trying to achieve the state of “Inbox Zero”):
Yeah I’d like some nachos with my slut.
January 19th, 2007
One of the reasons I’ve been rather quiet on this blog ever since my return from the trip to Tokyo is this nice medium-sized abscess I brought back with me. It appeared about 3 days into the trip, and I must have really bad luck because it was located on my posterior - moving around on foot and sitting down were particularly trying events. Considering that we got around most of Tokyo either on foot or by train, it made most experiences less pleasing than they would probably have been.
Nevertheless, it was a great trip - had some great food, saw some breath-taking sights, bought some (or rather, not enough) anime swag. Someday soon (if not soon then probably never) I will blog about it (with pictures, of course).
And I saw a bus advertising a The Melancholy of Haruhi Suzimiya DVD release:
Anyway, I’m glad I can say that the abscess burst yesterday, relieving me of the pain that had to be suppressed with painkillers. While the copious amounts of blood and pus that came out of the burst abscess wasn’t pleasant to deal with (it’s still bleeding and excreting pus right now), the relief from the pain is immeasurable. Plus, I didn’t really like the idea of the surgery that would be necessary if it hadn’t burst - a friend who had an abscess on his face described the procedure and while it seemed painless enough, sticking a needle up that mass of pain just didn’t seem like an ideal way to deal with it.
Abscesses suck.