Monthly Archives: December 2008

fantasy video player box

(I say ‘fantasy’ because we’ve had thoughts about this for a year or more, but we have more important things to spend our money on). We don’t watch much normal TV. Cable doesn’t seem worth it. However we use a certain site to get bittorrent downloads of British shows we like. This currently means we […]

args4j – command line option parsing in Java

I was a bit sceptical about args4j to start with, but it has grown on me. There is an initial extra step you have to make to add it to a program, but this is mostly boilerplate like this: @Option(name = "—help", usage = "Show option help", aliases={"-?", "-h"}) boolean showHelp = false;   private […]

cut with multiple spaces

Today’s little command line lesson. Unix cut command takes a parameter which tells it the delimiter character to use. Often this is a space. However it only ever matches a single character, so when you have a line with extra spacing to make some columns line up, this doesn’t work right. Instead of just using […]

home server upgrades

At home we have a D-Link DNS-323 and I think it is great. We originally fitted it with a pair of 500GB drives, but a while back I commented that once 1TB drives were available for below $100 I would upgrade. With the pre-Christmas sales that time came… To perform the upgrade, first I moved […]

fish

I run Workrave on my work and home PCs. It reminds me to take a break every now and then. I find if I ignore it I end the day with strained eyes and aches in my shoulders or neck, so I try not to ignore it. When I’m in the office and my computer […]