Ramblings to do with software and computer/gadget related things.
Java has traditionally been a "heavyweight" language not well suited to quick, hacky scripting. That's changed with some of the features added in the last few releases. This is about scripting in Java - NOT Javascript.
A quick cribsheet of the GIT commands I do when starting new work on an existing project, 'cos I'm forgetful.
I wanted to write a quick cribsheet of the GIT commands I do when starting a new project, 'cos I'm forgetful.
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...
(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.