voidynullness

(mis)adventures in software development...

10 October 2011    Unix

Batch rename of filenames to lowercase

I must have done something terrible in a past life, for as part of my day job I have to maintain software written in Visual Basic. Version 6. Yes, version 6. And it’s 2011. I’ve checked my watch. Twice.

The Visual Basic abomonation is only a small part of a much larger Unix-based client-server system — the VB applications are the GUI front end. It’s interesting that even when doing Windows development, remarkably often I find the need …

Read more...


04 September 2011    Technology

Cold And Grumpy: Why hast thou failed me my modern mod cons?

It seems to happen in threes. All of a sudden my digital TV reception has gone to hell. Being without TV I might consider a minor annoyance, in a world of online streaming of TV shows (and *cough* BitTorrent *cough*). But my ADSL is constantly dropping out too. And my central heating just broke down. So I am without both TV and internet. And I’m cold. Needless to say I’m fucking grumpy.

The ADSL I’ve been having …

Read more...


30 August 2011    Programming

JasperReports Font Foibles

One moment I’m thinking JasperReports is great, it’s exactly what I need, it’s making things so easy and my job/life/world is all the better for it. The next moment I find I’ve overlooked/forgotten/misunderstood some arcane aspect of it and everything degenerates into a horrible, broken, useless mess, and I’m thinking why am I bothering with all this when it just seems to be an exercise in endless frustration and misery? Kind …

Read more...


17 August 2011    Unix

Generating ssh keys

To set up ssh to allow logins without having to type a password, first generate keys on the local machine:

ssh-keygen -t rsa

Copy (securely) the freshly generated public key (id_rsa.pub) to the remote machine.

Append the contents of id_rsa.pub to the ~/.ssh/authorized_keys file in the home directory on the remote machine.

Finally, if necessary:

chmod 600 ~/.ssh/authorized_keys

The above procedure will also stop SVN from constantly pestering for a password when checking out a repository …

Read more...


20 July 2011    Programming

Generating gSOAP stubs in C

I think I might have enjoying my recent foray into the weird world of web services and SOAP had it not felt so much like trying to fit a square peg in a round hole. Reverse engineering a communication protocol that has its roots in RS-232 serial coms was bad enough. But then to work out how to send that data over a web service interface defined by a third part…while maintaining backwards compatibility…in C…let’s …

Read more...


14 July 2011    Linux

Move Gnome 2 window controls to right

I’ll give Unity a go one day, but for now I’m persisting with Gnome 2 on my work PC, because I have it set up with the GUI staying out of my way as much as possible, so for now it is the path of least annoyance.

At least now that I have worked out how to fix one of Ubuntu’s annoying allusions to OS X of having Gnome position the minimize, maximize and close buttons on …

Read more...


Home   Top