Stavros' Stuff

Angry rants of programming and other things.

The Sims

These last few days I’ve installed and been playing the Sims 2. For those of you who don’t know it, it’s a game where you manage the lives of various people (henceforth called Sims). You have to tell them to get dressed, go to the bathroom, take baths, go to work, flirt with other Sims, buy them the things they need, etc.

My Sims are a normal couple. They have their wants and needs. The father is

Continue reading…

Image manipulation with Python et al

This weekend I had no internet connection thanks to a DSL upgrade (well, more like downgrade, since I’m getting half the speed I got before) and since I had Python, PIL and a webcam, I decided to see what I could do.

After playing around a bit with PIL and motion recognition in images, I decided to write an image stitcher.

Continue reading…

Gmail Checker Part II

Fans of Gmail Checker, rejoice. Your favorite Gmail notifier is back with a vengeance. The slew of changes I made in the last hour is a veritable deluge, but I will attempt to describe them in a few short sentences.

Version 0.1.5, codenamed “SUPER DUPER CHECKER EXTRA WITH 100% MORE PIMP” with IntelliMailAccountLoginPageDerivation technology is now able to open the sign-in pages for your accou

Continue reading…

Pi

I return once more, with a startling proposal. In the scientific spirit that governs this here blog, I am about to shake the mathematical world to its very foundations.

The basis of what I am about to lies shortly after prehistoric times, when the ancient Greeks started drawing stick figures on the ground, and thus realised that the ratio of the circumference of a circle divided by its diameter i

Continue reading…

Gmail Checker released

My newest creation, Gmail Checker, has just been released. You can get it from the downloads page.

Gmail Checker is (yet another) Gmail notifier. It sits in your system tray and checks your Gmail account(s), notifying you when you have new mail. It supports multiple (unlimited) accounts, Gmail for your domain, is open source (source will be posted soon) and has many cu

Continue reading…

Boa Constructor

These past few days I realised I’m a bit rusty on my appication programming, having mainly programmed scripts and websites for quite a few years. I decided I wanted to go back to the good old Visual Basic days, but if possible without VB. Since wxPython is apparently the best toolkit available for Python, I decided to give it a try.

Needless to say, I was swamped. Sadly

Continue reading…

Fallacies

It is time for another one of my updates, and this time I bring you an important scientific discovery. I would like to bring to your attention a new logical fallacy, which I herewith name “argumentum ad urmomum”. It appears that noone else has ever thought of this name[^1], so I would like to claim it myself.

Continue reading…

How to resolve hostnames in linux

This last month I have grown very fond of Ubuntu. I have installed it on some 4 PCs around the house and at work, and it works very well (also, I love Beryl). While I haven’t completely switched from Windows, Linux beats Windows on a server by far.

One of the things I could never get to work is local hostname resolution under Ubuntu. None of the PCs I installed it on could resolve hostnam

Continue reading…

MUDdrop

If you know me, you’ll know that I like to waste my time on playing in my favorite MUD (Multi-User Dungeon). If you don’t know what MUDs are, you have been born after 1970. MUDs are online multiplayer games (think WoW) but without all the graphics and fanciness. It’s purely text-based, so it takes a while to get used to, but the writing on good MUDs is great (and I mean novel-level, and not anythi

Continue reading…

New tutorial

It is time for me to create something magnificent, but I am all out of ideas. Ideally, I’d like to write a tutorial or something to that effect, but I don’t know what on. So, what would you like to learn? I guess if you knew what you wanted to know you’d already know it, but I’m open to ideas. Post comments here (you don’t have to register) and I’ll get right on it.

Continue reading…