Mathematics

Mathematics

Edge Cases

Ten years of professional software development have given me a healthy awareness of edge cases - I'm always trying to code defensively, validate input, catch exceptions, use assertions, and of course pick holes

Spot The Misleading Graph

Fifty-three years since Darrell Huff published the seminal How to Lie with Statistics, and still we have newspapers as august as The Times pulling the oldest trick in the book: At first glance

Big Integer

As I mentioned last summer, I do enjoy whiling away a few hours attempting to solve the maths / progamming challenges set on Project Euler. My language of choice for most puzzles is C#

Rounding Up The Result of Integer Division

Here's a damn useful piece of information which should be in the armoury of every modern codemonkey: In Java, if it is required to round up the result of dividing m by n