Expiring Comments

Due to the increasing threat of Comment Spam, and people leaving comments in old weblog posts, I’ve installed the CloseComments plugin and set it to close threads after they fall off the front page — a seven day shelf life. Is that too early? Or too late?

IMG stealers

A “travel” page seems to be committing wholesale bandwidth theft by hotlinking remote images wihout permission: in this case, one of my Bohol photos, among photos from several other sites. (Whether those other sites gave permission, I know not.)

Gladly, one can use .htaccess and mod_rewrite to prevent hotlinking and bandwidth theft. People attempting to use images from brownpau.com in such a manner will now be met with a dancing banana. (It was that or the jumping kitty.) The trick also applies to this old Mark Byron post.

It's Peanut Butter Jelly Time!

Under a Pricy Shoe

WWYS appraises my soul at a value of £64984, but that’s in some weird foreign currency I couldn’t care less about.

I’m just kidding, you lovable Brits. X-Rates tells me my soul is worth US$110,362.

(Rod, we’re still waiting for your blog.)

DubdUbduBDot

Deprecate the “www?” But I’ve already prepended "www." to every domain in my links, and just to be ornery about it, I’ve added the following lines to my .htaccess for URL consistency in my logs:

RewriteCond %{HTTP_HOST} !www.brownpau.com

RewriteRule (^.*$) http://www.brownpau.com/$1 [L,R]

Does that make me such a criminal???

Here’s how it works in reverse, and feedback on MeFi. Slashdot, which has been pretty slow on the pickup lately, doesn’t seem to have a thread yet.

Drowning in

printf("<img src=photos/%s><br>%s<p>n", ....);

See the unquoted src attribute? The missing alt attribute? The unterminated <br>? The <p> tag used as a spacer? All in a single line. Code like that is thrown my way everyday, and I clean it up. It’s kind of fun.

(Title of this post is a direct conceptual rip from Zeldman’s older article on web standards, “Why Does It Hurt When I <P>?”)