search
Sunday, 2013 December 1, 22:08 — me!me!me!, neep-neep

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.

« Previous Page