Category Archives: General coding

For the past few days I’ve been working with a friend over the Internet(Lutin/Pixy on EsperNet) on a simple IRC bot that is written in Python. Primarily the goal of the project is to expand my knowledge of both Python and programming in general. So far, the bot just connects and displays output from the server(the MOTD currently). We’ll add support for commands as we progress.

Our Assembla space can be found here.

EDIT: Apparently, Lutin hasn’t made the space public(he created/owns the space).

So I’ve necrotized provingGrounds, and it’s now become my simple testing application for opening documents(specifically XML files) and reading them for information.

Currently the program just opens files and displays their contents, and the skeleton of a manual parsing system is in place. However, I’m going to scrap that soon enough for an existing XML parser already existing in .NET – no use reinventing the wheel. Some screens:

[Edit: The existing XML parsing functionality I spoke of in .NET is the MS XML DOM.]

Ideas I’m throwing around in my head:

I’d like to experiment with plug-ins in C#. That is, plug-ins for the program you’re working on, not C# itself.

Depending on what they do they’d be fairly easy to implement. A skinning or theme plug-in would be easiest to use – just have the program look for files of a specific name to use as colors, images, icons, etc in a /themes directory. You could have an XML file determine what the file names are, and have the plug-in interface to the program look for(and if  found) read this file for information abou the plugin. This could also be used for functionality plug-ins, just have the XML file determine the filenames for the plug-in and how or where the program should use them.

I’m considering writing a simple C# app to test these ideas. I’ll post more later if I do so.