Author: David
Garmin Communicator WordPress Plugin
I run the ridemap.org website which is a collection of motorbike routes and I wanted a way for people to download the routes to their GPS devices. Originally I was just going to provide a downloadable GPX file but then I found that Garmin have a browser plugin that allows data to be transferred between your Garmin GPS device and your computer. After getting it working on my website I decided to wrap it up […]
TextMate for IntelliJ users
I use IntelliJ IDEA. I also use TextMate. The fact that I spend most of my day in IntelliJ means I’m used to IntelliJ’s keyboard mapping which happens to be slightly different from TextMate’s. The biggest difference I found was with the Home and End keys and the Delete Line mapping. So here’s how to make TextMate work more like IntelliJ. Change Home and End keys From this old blog post: Create the custom KeyBindings […]
Devoxx – Project Coin, Defective Java and the Social Network
Joe Darcy and Maurizio Cimadamore gave a preview of the changes coming up in Project Coin. These are small changes to the Java language that will be added to Java 7. They all look pretty useful and include: Strings in switch Collection literals <> (generic type inference) Multicatch catch (ClassNotFoundException | NoSuchMethodException e) { // Do something throw(e); } Bill Pugh’s session was as popular as expected for his talk about defective code and how […]
Devoxx – Improve the performance of your Spring app
This talk by Costin Leau was about the new caching features in Spring 3.1. After going over some problems you can face when caching (stale data, thrashing, distributed caches) and different caching patterns he introduced the declarative caching of Spring 3.1. It uses AOP and can be declared on methods by adding the @Cacheable annotation. This annotation caches a method’s return value using it’s parameters as the key although this can be customised. Eg: @Cacheable […]
Devoxx – Performance Anxiety
I doubt Joshua Bloch suffers from performance anxiety but it was slightly ironic that there were some technical problems before he started his talk, titled Performance Anxiety, to an absolutely packed room at Devoxx today. I knew it would be a popular session so I got there early and so managed to find a seat, unlike the others who sat on the steps or crowded the doorway. His talk was about microbenchmarking – measuring the […]