New site: Blekinge.IT

As much as I try to get rid of domains I don’t use, I can’t avoid registering new domains. I recently registered two domains (singular and plural) for a project with codename Green November. Another domain I recently registered is Blekinge.IT. At some point in the future I want it to be a site about… Continue reading New site: Blekinge.IT

fmod() in PHP is the worst !”#¤%&/()= function ever!

I hate floating point artithmetic and I really hate fmod() in PHP. It’s useless. fmod — Returns the floating point remainder (modulo) of the division of the arguments If you calculate 36 modulo 7.2?  What do you get? Zero, yes. 7.2*5=36. No remainder! What if you use fmod in PHP? $ php -r ‘echo fmod(36,7.2);’… Continue reading fmod() in PHP is the worst !”#¤%&/()= function ever!