Ramblings to do with software and computer/gadget related things.

I wanted to write a quick cribsheet of the GIT commands I do when starting a new project, 'cos I'm forgetful.

Continue Reading...

To format internationalized data properly, Java has a bunch of handy features. If you're English, you'll probably be setting your Locale to Locale.ENGLISH and all your i18n messages will come out fine, numbers, percentages, currencies etc. look right, and it all pretty much works. However...

Continue Reading...

(or - Stop users button mashing while you generate their reports)

Imagine you have a webapp that dynamically generates reports, maybe they're PDFs (mine often are). Sometimes these reports take a while to produce, because they're retrieving and processing a load of data from some huge database.

Continue Reading...

Locale strings should be fairly simple, there's nice ISO standards covering this stuff. Yet despite all their good work in the last few years, the Java team has managed to confuse matters and make life awkward when it comes to something basic like this.

Continue Reading...

Sometimes you need to check in Javascript if you're running on an Apple device (or some other specific hardware platform). You'd like to check that logic works via your dev machine, rather than needing the actual devices. Here's how to alter the hardware platform Firefox reports itself running on.

Continue Reading...

© Me. Best viewed with a sense of humour and a beer in hand.