Archive for July, 2006

Useless use of if award

Similar to the useless use of cat award. The useless use of if award highlights code examples where people use the if function or ternary operator when the return of the expression does the exact same thing. I first noticed this with returning boolean values from php functions. To protect the innocent the winner of [...]

July 21, 2006 • Posted in: Geek, MySQL, PHP • 4 Comments

AT&T Does it again..

I woke up last friday and sat down at my computer much like I do every day. Only this day was different. My DSL was dead! After a bit of diagnostic work I found that my phone line was also dead. “Diagnostic work” means pulling a phone out of the closet to see if it [...]

July 6, 2006 • Posted in: Rants • One Comment