Archive for the ‘Development’ Category

Swinging Clojure

Having played with threading, I thought I’d have a go with Java integration. Swing was the obvious target, and a simple quote fetcher was the result. For simplicity, I stuck with URLConnection, but there are a number of Clojure libraries to solve the HTTP problem. All of them are somewhat nicer to deal with. I [...]

Travels in Clojure

I’m currently reading through Pragmatic’s Seven Languages in Seven Weeks. After every chapter it has a series of small ‘self-study’ tasks. For Clojure, the final of these is the Sleeping Barber problem. So, mostly for my own reference, I present my solution. If anyone who actually knows Clojure ever reads this, I’d welcome any suggestions. [...]

Two Datasources, One Rails Application

Rails has a habit of lulling you into a false sense of security. The ease of use for common tasks makes you wonder why you’re wasting your time with Spring or JEE. Then you try to do something off the common path and watch Rails just shrug its shoulders and grin. I was working on [...]

CheckStyle-IDEA: Adopt a project!

As any users have probably noticed, little is happening on this at present bar bug-fixes. This is primarily as I am no longer using it at work and therefore have little inclination to work on it, other than the guilt of support. Therefore, if you are interested in it and would like a try at [...]

CheckStyle IDEA 3.0 Release

After a long long wait, I’ve finally bit the bullet and released CheckStyle-IDEA 3.0. What is it? Integrated real-time and static CheckStyle scanning for IntelliJ IDEA 7 and 8. What’s new in 3.0? CheckStyle 5.0 support (thanks to jicken) Per-module configuration support Severity filtering on result list. Please note that you will need to reconfigure [...]

Linux love for TeamCity

For far too long we’ve been running our TeamCity build agents on Windows 2003 Server. This was, originally, driven by necessity. We were using Selenium, and out client cared only for a single browser: Internet Explorer. As time progressed we decided Selenium was costing us more than we received from it, so we dropped it. [...]

Building Java 7 on Mac OS X

Update 26/5/9: Updated for last night’s source with the JIBX libraries, and note on the version of XCode. So, I’ve just got my laptop back after a brief separation. What does one do? Compile the JDK, of course! For those unfamiliar with the situation, Apple hate Java developers. Well, one suspects they do. Apple being [...]

Keyboard Woes

Like many programmers, I’m very picky about my input devices. Particularly about keyboards – both at home and work I use a Microsoft Natural Ergonomic Keyboard 4000. Despite the overly lengthy name, it’s a superb piece of kit and I wouldn’t work without it. Apple, however, don’t believe in locales outside the US. And so [...]

Checking the EDT with aspects

I am unreasonably fond of Swing. While it has plenty of foibles, and brings a new horror to UIs with Metal, it’s nevertheless quite a nice framework to use – once you’re familiar with it. The problem is that getting familiar is a path strewn with brambles and holes full on punji sticks. One of [...]

The Curse of Open Source

One must only browse the vast repositories of half-finished software at SourceForge to see that many promising (or just plain useful) projects seem to just vanish, left incomplete and at the mercy of bit-rot. The main reasons for this are threefold: A lot of open-source software is written to scratch an itch. That itch may [...]