?

Log in

No account? Create an account
wolog.net
Sunday, November 27th, 2005

Date:2005-11-27 01:43
Subject:The wrath of Science?
Security:Public
Mood: amused

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.

2 comments | post a comment



Date:2005-11-27 01:47
Subject:How to get started developing an extension for Firefox 1.0 or 1.5.
Security:Public

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 borngeek.com, 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: helloworld-xpi.zip. 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.

8 comments | post a comment



Date:2005-11-27 16:16
Subject:Let's have more long weekends!
Security:Public

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...

1 comment | post a comment



Date:2005-11-27 19:41
Subject:UUID generation in Python.
Security:Public

Well, to write a Firefox extension you have to give it a UUID (universally unique identifier). I wanted to make a UUID, but i couldn't find a UUID module in Python. So i wrote one: uuid.py. For details, look at its documentation page (generated by pydoc).

Hope someone else out there has a use for it.

35 comments | post a comment



Date:2005-11-27 21:41
Subject:Earthquake!
Security:Public

And the USGS has already pinpointed it within seconds after i felt it.

1 comment | post a comment


browse days
my journal