Don't unicode.encode() during module import
2008-01-24 19:19
I just had a piece of software where a simple code snippet like this would hang Python:
u = u'x'
s = u.encode('UTF-8')
The issue was not limited to UTF-8, .encode()ing it to e.g. US-ASCII made Python hang as well. The Python execution would simply stop at the .encode() call.
Mini-Howto for the LEGO NXT on gentoo Linux
2007-11-14 15:26
As I had to program a LEGO NXT at home, where only gentoo Linux is available ;) I thought I'd sum up what I did to get it up and running.
PHP and its weaknesses
2007-06-06 21:12
I just found a good summary of PHP's weaknesses. It also contrasts them with how Perl is doing better, and while I'm not a fan of Perl, all the points against PHP are valid.
- Oversimplification leads to excessive complexity
This is a quote from another site, but many of the items of criticism are based on it, and it's one of the main reasons why I like other programming languages much better.
Bad Bad Bad (Ensim Pro)
2006-08-20 18:48
I just published an entry I wrote quite some time ago, but which I forgot to publish. Have fun, or be shocked reading Bad Bad Bad (Ensim Pro)!