Ant TODO Update

Quick update regarding Ant TODO: there’s now a JAR available for download, so you can get it running even quicker!

addthis_url = ‘http%3A%2F%2Fblog.beplacid.net%2F2010%2F01%2F02%2Fant-todo-update%2F’;
addthis_title = ‘Ant+TODO+Update’;
addthis_pub = ”;

Ant Task for TODOs

I often felt the need to scratch an itch when it comes to source code and a little fragment called //TODO. It’s scattered everywhere; I’m sure you’ve seen it. Yet no matter what codebase you’re looking at, there’s never any real exposure to them.
I therefore decided to implement an Ant Task for parsing TODOs in [...]

Sky Songs and Linux

If you want to use the Sky Songs download client in Linux (say Ubuntu or Debian), just paste the following into a file called skysongs in $HOME/bin and then chmod a+x it:
cd $SKY_SONGS_DIR; /usr/bin/java -cp . -jar downloader.jar $*
Note, $SKY_SONGS_DIR should be changed to your installation directory. If you used wine to install Sky Songs, [...]

Learning Scala – first impressions

So every year I learn a new language. It’s fun, insightful and leaves me feelin’ a fresh for new challenges in my new found religion.
This time round I’ve been learning Common LISP and now Scala. Being a Java programmer professionally it makes sense to try the latter. I love the idea of it being its [...]

Configure Log4j To Disable Specific Package (Java)

I came across the need to disable logging (debug) for a specific package in Apache Log4j today whilst coding. It’s simple. All you need to do is precede the package name, e.g. net.beplacid, with log4j.logger and follow that with “=LEVEL”, where ‘level’ is one of TRACE, DEBUG, INFO, WARN, ERROR and FATAL – the standard [...]

Why Java is Obsolete

Note: This title is provocative. I don’t actually believe Java’s obsolete (in fact I think the opposite). This post does show some pitfalls in Java and why I prefer Python.
I’ve been a professional programmer for over three years now. I have worked on projects both large and small, ranging from Java Web Services to Perl-CGI, [...]