Archive for the ‘Web developmnet’ Category

Policy notification from Google

Tuesday, December 15th, 2009

My Swedish site Folkmun allows anyone to add words and their definitions. It's a simple Swedish version of Urban Dictionary. Some people add very explicit words and I had totally forgotten that such words may clash with Google AdSense policies. Today I received a friendly warning: While reviewing your account, we ...

New site: Blekinge.IT

Tuesday, December 8th, 2009

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 ...

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

Tuesday, November 10th, 2009

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? $ ...

Online PHP MySQL CRUD Scaffold generator

Monday, July 6th, 2009

I needed some simple PHP MySQL CRUD and found www.phpscaffold.com. Perfect!

I’m an HTML Tag Criminal

Tuesday, June 2nd, 2009

I read the 10 HTML Tag Crimes You Really Shouldn’t Commit article and while I had suspected it for a while, I now know myself to be an HTML Tag Criminal. My biggest crime is: Crime 4: Using <b> and <i> for Bolding and Italicizing Actually WordPress will convert <b> and <i>to ...