Coding


PHP Confessions

Last night on twitter I started this series based on the hashtag #PHPConfessions I’ve never gotten the order of arguments right for str_replace without checking http://php.net first  #PHPConfessions I’m always afraid I’ll be seated with the Perl people at programmer gatherings  #PHPConfessions I like PHP because I like always having the option to blame my tools #PHPConfessions Sometimes [...]

Read The Rest Of This Post

How To Do It

Perl There’s more than one way to do it Python There is one way to do it PHP I found a way to do it but it didn’t work. I’m just going to do it in WordPress ColdFusion You can do that? .NET There is one way to do it, but you can do it [...]

Read The Rest Of This Post

Dreamhost is incompetent

This site was offline for three days due to the unbelievable incompetence of Dreamhost. There is no excuse for a company in the business of hosting websites to fail so miserably and so often. The reason for the outage is unclear, their infrequent updates would refer to different pieces of failing hardware. The backup server, [...]

Read The Rest Of This Post

Online Audio Is A Poor Format For Learning Code

Saw a link to a “radio show” about Advanced OO Patterns. I thought that was an odd format for a topic like that. Online audio presentations are great for ideas that live mostly inside your head, but code you usually need to write down. I clicked the link and found a flash-based audio player. No [...]

Read The Rest Of This Post

PHP Gravatar Class

I was recently working on a small side project when I ran across a need for a php implementation of a class that would produce Gravatar urls. Generating Gravatar urls is not a complicated affair. In fact, it’s not out of the question to write a one-off gravatar function as needed. I wanted something slightly [...]

Read The Rest Of This Post