Archive for August, 2006

My first Supybot plugin

Monday, August 7th, 2006

Using the guide I linked to the other day, I was able to create my first Supybot plugin tonight. It was far easier than I had expected.

Including a ’supybot-plugin-create’ script was a really nice touch on the part of the developers. The script asked me a few questions and then generated the basic skeleton of a working plugin:

europa $ supybot-plugin-create What should the name of the plugin be? DemoPlugin Sometimes you'll want a callback to be threaded. If its methods (command or regexp-based, either one) will take a significant amount of time to run, you'll want to thread them so they don't block the entire bot. Does your plugin need to be threaded? [y/n] y What is your real name, so I can fill in the copyright and license appropriately? J. Mulligan Do you wish to use Supybot's license for your plugin? [y/n] y Your new plugin template is in the DemoPlugin directory.

After that, all that I really had to do was walk through the guide, add some docstrings, and write the functions for the commands I wanted to add.

The plugin I wrote is just a simple dice-roller that accepts dice/modifier combinations such as 2d6+1, but it really wouldn’t be any harder to write something much more complex. I’m really impressed with the Supybot plugin system. Very cool.

Supybot plug-ins

Sunday, August 6th, 2006

I’ve wanted to try writing a plug-in for Supybot (an IRC bot written in Python) for quite a while. Strike has a tutorial up called Writing Your First Supybot Plugin that appears to be just what I need.

IPCop upgrade

Friday, August 4th, 2006

Tonight I switched some boxen around and upgraded my IPCop firewall. It is now a rather respectable P3-450 with 512 MB of RAM with four NICs, allowing me to run a Green + Blue + Orange + Red configuration.

I still have to install OpenVPN on it, but after that I should be all set.

400th post

Thursday, August 3rd, 2006

Here it is… post number four-hundred!

Just wanted to say thanks to everyone for visiting. Enjoy.

Skeletonz CMS

Thursday, August 3rd, 2006

Because the world doesn’t have enough CMSs:

Skeletonz is a new content management system (CMS) based on Python. It differs from others by being simple, but yet very powerful and extensible. If you need a simple system that you and your users are going love then Skeletonz might be the solution you are looking for!

MySQL required. No Postgres allowed apparently.

External video cards

Thursday, August 3rd, 2006

Jeremy Reimer talks about the possibility of external video cards at Ars Technica.

MythTV is back up and running

Thursday, August 3rd, 2006

Sometime over the weekend the power supply in my MythTV box went south. It didn’t completely die, but the fans started to sound really bad. So I figured it would be a good idea to power it down until I could swap in a spare.

Tonight I finally put the spare in (an old Enermax 431W) and powered it back up:

MythTV CPU usage

Unfortunately the new one is a bit louder than the original stock Antec power supply (which was almost silent). But it is nice to have Myth back in action.

Another dissatisfied Dell customer

Wednesday, August 2nd, 2006

I ordered a Dell XPS 400 desktop on 7/10/06. It shipped on 7/13/06, and after one failed delivery attempt (I wasn’t home to sign for it) I picked it up at the UPS depot in York on 7/18/06.

I brought it home, promptly hooked it up, and powered it on.

The first thing I noticed was that for a supposedly “silent” case, it sounded like a jet engine. The second thing I noticed was that it was dead on arrival.

Thus began my unpleasant experience with Dell Customer Care, and why I no longer recommend Dell products…

(more…)

Django 0.95 released

Tuesday, August 1st, 2006

Congrats to the Django team on the release of version 0.95!

Quoth Adrian:

This is the sexiest version of Django ever. It would take another six months to list all of the improvements, feature additions and bug fixes we’ve put into this release, but the release notes document attempts to list the big changes. The overall theme is: Slicker, faster, easier, better.

This release includes all the magic removal stuff.