programming

Ten reasons I don't like Visual Studio

For my work I’m using Microsoft Visual Studio 2010 (VS) to write our C++ code. There are so many things wrong with this IDE that I just had to write this post.

Extending Selenium from the client driver

Selenium is a web page testing tool that we use a lot at my work. It can be extended by supplying it with a user-extensions.js file. We’re extending our test application to include support for Selenium Grid.

Multiple instances of QApplication in one process

I’m working on a PyQt 4 application for my employer Chess. Of course I’m writing plenty of unit tests for it as well. Those tests have to be cleanly separated from each other, so every test that requires the entire application to be up and running should have its own instance.

Refusing to continue

I’ve seen this so many times, and thought about writing about it. Today I found some code that is too good an example to let it go. I’m talking about the refusal some people have to using the continue statement.

Python Flickr API 1.2 released

Today I released the Python Flickr API version 1.2. Originally the Python interface was made by Beej, and since it’s seen many an improvement. Here’s what’s new in this version:

Hacking in Fallout 3

Fallout 3 is my latest addiction. It’s a great game by the makers of Oblivion. Part of the game is the hacking of computer terminals. It is basically a Master Mind game, but then with letters.

Java does not support Unicode, Python does

Sometimes Java just amazes me. As a friend of mine posted, Java does not support Unicode. Of course, my favourite language Python has a much friendlier approach to Unicode: >>> s = '⿱𠂉乙'.

Python vs. Java

One of the major reasons my company prefers Java over Python, is Java’s static type declarations (and all the benefits that follow). If only Python had that, my life would be so much nicer.

Proper Exception handling

UPDATE 2019: The articles below have been taken offline. The articles below are about Java, but I think they apply equally well to other languages that have exception handling. It would be nice if more were to read those articles.