Monthly Archives: December 2013

off by one

A look at 404s in my HTTP log revealed a bug in my math pix page, which in two places chooses randomly from families of images. I didn’t know that the PHP function rand(nmin,nmax) is inclusive at both ends.

Posted in me!me!me!, neep-neep | Leave a comment