Author Archives: filosofo

“filosofo” is the nom de guerre of Austin Matzko.

New WordPress Plugin: Custom Image Sizes

I make a lot of WordPress themes, and frequently clients want to associate a particular size of image with a post. You can do this easily with WordPress by using add_image_size() to define an image and then by calling wp_get_attachment_image() later to print the markup for that image.
So for example, if I have an [...]

Welcome, Benjamin!

My second son, Benjamin Eliot, was born today at 3:19 CDT, weighing 8lbs. 15oz. and 21 inches long. Like his older sister he was born VBAC, and like his older brother he has a full head of hair.

Counterexample

From Scientific American:
Researchers insist they can tell someone’s politlcal affiliation by looking at the condition of their offices and bedrooms. Messy? You’re a lefty. A neatnik? Welcome to the Right.
According to a controversial new study, set to be published in The Journal of Political Psychology, the bedrooms and offices of liberals, who are generally thought [...]

I Am an Official Regex Day Winner

Ben Nadel declared June 1, 2008 the first National Regular Expression Day, and to celebrate he hosted a giveaway of regex-related prizes, including Jeffrey Friedl’s Mastering Regular Expressions. As you can see, I won the book and got it in the mail yesterday. I use regular expressions all the time—in PHP, JavaScript, Perl, sed, [...]

Webmonkey.com Returns

When I was first learning web development about ten years ago, I frequently consulted Webmonkey.com for tutorials about how to do all things “DHTML.” I still remember how an article comparing frames to a cafeteria tray made it all click for me, for some reason. I also picked up some bad habits that I [...]

What Motivates Islamic Radicals

A friend and I keep having different permutations of the same conversation, which revolves around this question: what is the essential explanation for Islamic terrorism? My friend’s answer is that it’s primarily religious; in other words, that something intrinsic to Islam spurs on suicide bombers and the like. I disagree for a number [...]