The Tax Loophole Every IT Contractor in the UK Should Know About

September 26th, 2008

IT consultants in the UK can increase their income by around 3% by taking advantage of the Flat Rate Scheme for VAT. This scheme is designed to simplify the VAT calculations for small businesses, but for IT contractors it also offers a significant boost to income.
Read the rest of this entry »

The UML Diagram They Don’t Teach You in School

August 1st, 2008

I love class diagrams. When I’m knee-deep in spaghetti code there’s nothing better to help me understand what’s going on. I’ve even developed an obsessive-compulsive disorder which requires me to have a pen and paper handy at all times ‘just in case’ I need to jot down a little class diagram.

But recently I came across a bit of code that was resistant to the power of the class diagram. What if there are no significant class relationships, just a bunch of static methods?
Read the rest of this entry »

Solar Accounts Released

February 1st, 2008

Well after 3 years development we’ve finally released Solar Accounts:

www.SolarAccounts.co.uk

Ten Under-Appreciated Eclipse Keystrokes

January 11th, 2008

Think you know Eclipse? Most programmers quickly learn the common keystrokes but don’t take advantage of other good shortcuts. Here are my favourite lesser-known ones:
Read the rest of this entry »

Negative Productivity

October 29th, 2007

Would you rather have a team of three excellent programmers or 15 with average ability? Most programmers would want the team of three, but most managers I suspect would pick the larger team. There’s plenty of support for the idea that the excellent-to-average productivity ratio is at least five, but you occasionally hear, “Well, I could believe two or three times as productive, but five or ten…?”
Read the rest of this entry »

Swing Font Rendering Still Playing Catch-up

June 14th, 2007

Three years ago I chose SWT for my accounting application partly because Swing was painfully bad at rendering text. Since then Swing has come a long way, though it’s still not as good as Microsoft or Apple.

See for yourself; below are examples of different fonts rendered on different platforms.
Read the rest of this entry »

Missing Swing Components

November 8th, 2006

For years Swing has been missing some very obvious components. Java developers have been crying out for common controls such as a Date Picker, Wizard Dialog and Progress Dialog.

Sure, there are dozens of third-party libraries, but these are generally third-rate solutions. I don’t want to use something a kid put together for his college assignment, and I don’t want to pay fifty bucks for a simple date text field. There needs to be one, official, standard implementation for each common control. Microsoft understands this. So does Eclipse. Why can’t Sun?

Having said this, here is my attempt at a couple of these dialogs:
Read the rest of this entry »

JavaSpeed Eclipse Plugin

October 21st, 2006

Benchmarks are tedious to run. You have to compile the code, execute the tests, record the results, create charts and tables. Then the benchmark becomes out of date as soon as a new compiler, JRE or CPU is released.

So I’ve created JavaSpeed, an Eclipse plugin to run a small set of performance tests based on this benchmark. The screenshots are self-explanatory:

Screenshot 1

Read the rest of this entry »

On the Bandwagon

October 20th, 2006

Like literally a million other people, I’ve decided to set up my blog. I’m not aiming for a Pulitzer prize, just something above the usual What-My-Cat-Ate-For-Breakfast drivel. I believe Steve Martin said it best in Planes, Trains and Automobiles:

“And by the way, you know, when you’re telling these little stories? Here’s a good idea - have a point. It makes it so much more interesting for the listener!”

For the curious, my old site is here.