Archive for April, 2009

“Why I use Linux”

A great article about why people use linux. I personally agree with most of his points.



APG is really quite an interesting program. It randomly generates passwords. Big deal, I can write a ruby program that does that in one line. However, APG makes passwords that can be pronounced. This is amazingly usefull. This means that you can chooe a good, strong password, that you can easily remember.  In Ubuntu, you can install it with sudo apt-get install apg. It’s quite usefull.


Deady and irc bots.

I recently got involved in the creation of irc bots. It is common knowledge that my language of choice is ruby, so I set about making a bot in ruby. None of my friends had used ruby, they had used perl and PHP. I got an IRC library, and improved it, adding support for joining channels after the MOTD, a problem which was afflicting my bot (it wouldn’t always join the channels) an added support of auto-joining mutliple channels. I am currently working on a weapons system and dice bag. I then forked the project, and created Deady, a hellish irc bot. Deady is just like my other IRC bot, only Deady is contained in a single file, which you can download here. Deady utilzes ruby’s random number generator to generate a random name. It then joins the specified channels, and sits, doing nothing. However, if somebody says:

Deady will say: botsnack, starting a vicious cycle where each deady will say botsnack, causing the other one to say botsnack, and causing all the other bots in the channel to respond with thier proper botsnack response (typicaly “:D.”) Though it has not been tested in a real world enviroment, I trust it works well. You can visit my nice bot, RBHellfire, on #bots on He doesn’t do much yet.