Recently I rediscovered Bottle, a Python-based micro framework for web applications. Bottle gives you full control over your URLs, has a simple built-in templating engine and a lot of other commonly used stuff. It takes you five minutes to get started and perhaps one hour with its great documentation to …
read moreOther articles
Writing Hamcrest Matchers
JUnit 4 introduced a fancy DSL based on the Hamcrest framework for expressing assertions. JUnit ships with the most important matchers and you can always add Hamcrest to your classpath if you need more. Sometimes no existing matcher fits your needs and you have to roll your own. Since it's …
read moreJUnit: Using External Resources
Many integration test cases need access to external resources like files or databases. Dealing with external resources is always messy because you have to set up state and tear it down later. Since JUnit 4.7, there's a mechanism that makes things a bit more convenient.Previously when you had …
read moreThe Future of python-musicbrainz2
I started the python-musicbrainz2 project in January 2006 as the first client library to the newly designed MusicBrainz XML web service. It has been my first Python project and I learned quite a lot in the process. Now MusicBrainz is undertaking a major data model change that also changes and …
read moreGoogle Gollections 1.0
The guys at Google took their time, but the much anticipated Google Collections 1.0 have finally been released. I expect this library to change the way we write our Java code (at least it did that to mine), so I put together an overview article to get you started …
read morePlotting with Matplotlib
New Project: JSysTest
I love unit tests and use them whenever possible. But in the end, there's no substitute for a full scale system test. Only after system testing, you can be sure that everything works as intended. When I was looking for a way to test a REST-style JSON web service, I …
read moreGoogle Collections Reaching 1.0
Exciting news for Java developers: The first 1.0 release candidate of Google Collections has been released. For almost a year I've been waiting for this, and now it seems the waiting will soon be over.
Basically, Google Collections is a better, more consistent version of commons-collections with generics and …
read moreUsing GridGain's Topology SPI