May 2009
1 post
1 tag
Dealing with currency in Javascript
I probably don’t need to tell you that it’s a very bad idea to do any floating point arithmetic in Javascript. There’s no arbitrary precision decimal library (like BigDecimal). If you have attempted it, you know that this ends very, very badly. So what’s a dev to do when you need to do some simple arithmetic (adding, subtracting etc) on the client-side? The answer is to...
May 7th
April 2009
1 post
Apr 2nd
February 2009
8 posts
CSS selectors everywhere: SelectorGadget →
Pulling information out of a web page is a pretty common thing to want to do. You might want style, scrape or test a particular section of HTML in a page. Over the years I’ve used all sorts of…
Feb 27th
ListenJust found an old ‘Cafe del Mar’ style...
Feb 15th
JRuby 1.1.6 now available on MacPorts →
I really love how easy MacPorts makes installing packages on the Mac. If you own a Mac and develop software you are probably already using MacPorts. If you don’t you should take a look and see what…
Feb 13th
Feb 13th
Feb 13th
iPrimus jumping up and down to be part of the...
Apparently our corporate internet provider iPrimus is “jumping up and down” to be part of the filtering trial. Who in their right mind will use them if they really do have that attitude? Senator Stephen Conroy, what the fuck are you thinking anyway?
Feb 13th
“Every once in a while I get that ‘stabby feeling’”
– Linus Torvalds - http://torvalds-family.blogspot.com/2008/12/road-rage-explained.html
Feb 13th
Welcome to my tumblr. Stay tuned as I’m sure to intrigue, entertain and quite possibly horrify you.
Feb 3rd