Skip to content

{ Category Archives } code

The most worthless bot on IRC

I’m not one to jump on bandwagons just because they’re rolling by (even with great companions), but I started using Python in one of my projects and I’ve got to say that I’m pretty happy with it. I think their documentation leaves something to be desired but overall the language is pretty intuitive and it [...]

Tagged ,

Threadbubble on AMO

I submitted Threadbubble to AMO tonight. I wanted to work out the bugs and get it in a stable state before I put it on there and I think it’s reached that point. Hosting it on AMO will prevent potential security issues, and it has the side benefit of providing automatic updates. The add-on is [...]

Tagged , , ,

If it’s a string, call it a string

This is probably well documented, but it’s a good reminder anyway. If you’ve got a column in MySQL that is textual (like a varchar), you need to make sure MySQL sees the data going into it as a string. Here’s an example I stumbled across today when I left out some quotation marks – `averagerating` [...]

Tagged ,

Getting notified when new mail arrives in Thunderbird

When writing an extension for Thunderbird, it’s a common goal to be able to tell when new mail has arrived. In versions of Thunderbird before 2.0, the accepted practice was to get a pointer to the nsiMsgMailSession and add a listener that got called when a new mail event happened. The code would look something [...]

Tagged , ,

ThreadBubble 0.5 released

This release fixes an annoying bug that caused messages to disappear from the message list (even though they were still in the folder). In previous versions, if there was a thread with 2 messages in it, and you deleted or moved the root message, the other would disappear from the display. If you clicked on [...]

Tagged , ,