MySQL offers a convenient method to store user passwords, encrypted in a database table. You use the password function both to store a password, and…
Expires header and dependent content-types
I generally set expire headers for CSS, JS and images according to Google's page speed recommendations, which at time of writing is one month. This…
Don’t forget about Base 2
We've all gotten so used to high-level programming that we often forget about how compact and clean machine code really is. Wait a minute, let's…
MySQL Union All – Unexpected behavior
I don't use the UNION ALL SQL keyword all that often. In most cases, I'm happy with UNION, which merges duplicate rows. Today, for this…
Firefox, some things are better left unchanged
I love Firefox, it's been my web developers tool of choice for years. The Web developer's toolbar, firebug, and various other web development tools make…