November 27th, 2005

The wrath of Science?

Remember this?
If there is a disaster in your area, don't turn to God, you just rejected him from your city. And don't wonder why he hasn't helped you when problems begin, if they begin. I'm not saying they will, but if they do, just remember, you just voted God out of your city. And if that's the case, don't ask for his help because he might not be there.
— Pat Robertson
Brad Templeton has the perfect answer. Brilliant.
  • Current Mood
    amused amused

How to get started developing an extension for Firefox 1.0 or 1.5.

I'm trying to write a Firefox extension, which i'm discovering means i have to create zillions of fiddly little files full of XML crap. There are a few good tutorials out there, like this one at, though they take some patience to work through. It took me a while to finally get something working. (The tutorial says "Creating a Firefox extension is easy," and other websites out there seem to all insist it isn't too hard, but it all seems awfully complicated to me. Writing all this boilerplate metadata makes me feel like i'm going through some sort of arcane hazing ritual for a fraternity invented by the bastard children of Tim Bray and Jamie Zawinski.)

So i hope this saves someone out there some time: This gives you a minimal framework to start from, with an example of a menu command and a toolbar button, and all the necessary files to make it work with both Firefox 1.0 and Firefox 1.5. There's a locale included as a starting point for internationalization. There's also a Makefile so you can just type "make" and it will pack everything into a single .xpi file for you. If you're using Firefox 1.5 on a Mac, "make link" will set up a link so that you can edit and see your changes without having to repackage and reinstall your extension.

Let's have more long weekends!

wealhtheow and janviere visited this weekend and i was happy to see them again.

I've been sleeping an average of 9 hours a day the last four days. It's fantastic. (About time, too — it's typically 6 or 7 for me, and sometimes less.)

I just discovered that jumping on the foof chair is even more fun if i take a flying leap off the bed. That extra half-meter of height makes a big difference, especially if the chair has been well foofed. Now excuse me while i do it again...