Code examples from blog *Number crunching why you should never, ever, ever...*