Java Unit Evolution

As my Bachelor thesis at The Open University, I investigated the possibility of using unit test cases to define fitness functions in genetic programming. More precisely, I wanted to see whether GP could benefit from the practices of test-driven development.

So I bought a huge book and a small book and began. My plan was to create a framework that would automatically evolve a program that would pass a set of user-defined test cases.

I made some promising progress at first, but I soon realised that GP and TDD are not as good a match as I thought. Furthermore, I had some technical difficulties, making it impossible to evolve anything but the most trivial programs. I discussed the issues with Klaus Meffert and he gave me some ideas on how to solve them. But I’ve been working on this for the last nine months, and I prefer to work on other projects right now.

Anyway, I’m still happy with the results. I didn’t get the grade yet, but I have quite a good feeling. Furthermore, I was able to investigate both TDD and GP thoroughly. I’m pretty psyched about TDD, as evident from my recent blog post about it. Working with GP has taught me a fair deal about machine learning, which is in my opinion the most interesting topic in artificial intelligence.

If you’re interested, feel free to read the paper and get the code, it’s open source.

Android Market without GMail

I recently got my first Android phone, a humble HTC Wildfire. While I’m overall very happy with Android (have been working on my first app since I got it, and I’m writing this very Blog post on the phone), the Market annoyed me by being unstable and requiring me to set up a GMail account. That’s right: not a regular Google account, an actual GMail account. I, “and many others”:http://code.google.com/p/android/issues/detail?id=2332, find that ridiculous.

Yet eventually I surrendered and got one, which I could luckily register through my existing Google account. Annoyed by the Market’s instability, I deleted the GMail account, and noticed that I could still use the Market, downloading both free and paid apps.

Apparently it is Android’s Google account setup wizard that forces you to get a GMail account, not the Market. So just create a temporary GMail account with your regular Google account, complete Android’s Google account wizard and delete the GMail account. That’s it, Android Market without GMail (sort of).