Category Archives: code

The Currently Best Android 1.6 Tattoo Rom

I have been flashing my HTC Tattoo every now and again with different roms. Currently the Eclair 2.1 roms are too unstable and features are still missing (camera support, etc), but the hacked 1.6 roms are getting pretty sweet. The best rom I have seen so far is Chtulhu rom. It is worth trying out [...]

Indirect dependencies

I am currently building a bunch of C++ projects, using a build system created on top of SCons. Now, say that I have an application, called App, that depends on a static library, LibA. LibA in turn depends on another static library LibB, say. If I build App, then SCons first builds LibB, then LibA, [...]

Ripping CDs using the Windows Media Player SDK

I had need to write a CD ripping application (work related). Since the target platform was Windows XP it seemed that the easiest way to do this was to use the Windows Media Player SDK (part of the Windows SDK). So I wrote an application in about 10 minutes that should tested the functionality. And [...]

I hate references in C++

I have to declare this to the internet. I hate references! I hate ‘em! I get why references sometimes are useful but here is why I now officially hate them. Because, somewhere something just may get copied, and the bugs take forever to find! I just used over an over locating such a bug. And [...]

Upgrading WordPress Has Never Been Easier

I got tired of manually updating wordpress for my blog. As I complained to a friend of mine about this he said “I think there is a plugin that can do it for you.” There is http://wordpress.org/extend/plugins/wordpress-automatic-upgrade/ It works great. The only thing that didn’t work was the direct link to automatically generated backup files [...]

Windows Idiocy

I have begun playing around with Java ME for my Nokia E71. Everything went smoothly (installing and configuring the SDKs and NetBeans) up until the point where I wanted to deploy my little application directly from NetBeans on to my phone. The problem? You ask. The PATH environment variable. And what was the problem with [...]

Lazy Man’s Exceptions

I have a tendency to use exceptions a lot when coding C++. I guess it is caused by post traumatic stress of having to deal with magic values in C So I find myself doing this: #include <exception>; #define EXCEPTION(NAME, REASON)\ class NAME : public std::exception {\ virtual const char* what() const throw() {\ return [...]

Playing With Fractals and OCaml

I have spend the last couple of days playing around with OCaml and since I had nothing better to do I created a small application for playing around with fractals from the Mandelbrot set. The picture shown is generated using my little application. You can download the program and source code here. To generate the [...]