Let’s continue our exploration of the Net_Gearman API by extending the Net_Gearman client/server application we built earlier.Continue reading Building a distributed app with PHP and Net_Gearman, part 2
In this installment, we’ll cover error handling in the client and we’ll add some useful callbacks to the worker script.Continue reading Building a distributed app with PHP and Net_Gearman, part 3
I recently upgraded to a new MacBook Pro, so I’ve been installing all my favorite apps. When I went to install the MySQL Query Browser, I found that the MySQL Workbench has matured significantly since I last looked at it. I’m now using it instead. I’ve got a couple of tips for OS X users.Continue reading MySQL Workbench on OS X
One of my developers picked this up at WWW2010 yesterday in the Media on the Web Developer’s Track session. Amazing what modern browsers can pull off:
This makes me really eager to see some standardization on video codecs and streaming protocols. Note to google: please open VP8 and back it up with your muscle to give the world a true open video standard! If you can wire a town for gigabit fiber, surely you can foster the adoption of an open video standard.
Vint Cerf gave his keynote address this morning. I thought I’d post some of his interesting observations.
Continue reading WWW2010 – Vint Cerf Keynote
I’ve always considered myself very good with regular expressions. This one drove me crazy for a little while, but it turns out to not be a problem with the regex so much as the way the PHP PCRE engine was applying the regex.Continue reading preg_replace() madness
I’ve had this ridiculous user manual sitting around for months now, and I couldn’t stand the thought of such an amazing piece of literature wasting away in the data closet. I just had to scan it in for the world. I’ve seen some bad documentation in my life, but this goes beyond bad. Most people who have little command over another language will try to write as little as possible to reduce the chance for errors. This guy just kept on going for 8 pages. Mind you, this is for a USB disk enclosure! How much freakin’ documentation does that require? Maybe 4 bullet points?
I now present to you in its entirety, the USER MANUAL for the USB PORTABLE HARD DISK (some no-name product I bought from Tiger Direct last year).Continue reading Docu-FAIL
The Blackberry mail reader (at least some of the older models like the 8000 series (Pearl, Curve, etc.) seem to have some problems with HTML messages that have tables with backgrounds. Through some careful investigation, I’ve isolated the problem.Continue reading Blackberry mail mystery: gray text in HTML newsletter
mod_expires and mod_rewrite are two indispensable tools in any Apache administrator’s arsenal. But there is at least one situation where they don’t play too nicely with each other: when you have a global cache policy in place, but you define a conditional redirect that you don’t want to be cacheable.Continue reading Cache control and redirection with mod_expires and mod_rewrite