Posts from: August, 2010

9 Aug 2010

Why the Pernice Brothers Don’t Tour

From “Will he/they tour?“: JP: We make any money if we tour for two weeks? JL: You mean ten days, if rehearsals are included. JP: Yes. JL: No. JP: Well then why would we do it? RM: Because Menck wants to rock. JL: Theoretically, the tour is just one piece of the things you do [...]

6 Aug 2010

PHP UTF-8 string class

A couple years ago I put together a class for UTF-8 strings, kind of a smart wrapper around Harry Fuecks’s phputf8 string functions. All Utf8String objects—if I’m not missing bugs!—are guaranteed to house valid UTF-8 strings. The factory, make(), enforces UTF-8 validity, stripping non-UTF-8 bytes (default) or replacing them with Utf8String::$replacement (? by default). $str [...]

5 Aug 2010

Research Chain E-mails in 30 Seconds

A friend or family member has just forwarded you a wonderful piece of propaganda: It’s filled with inflammatory bare assertions, stirring anecdotes, and a dare to pass it on to everyone you know! And no sources. 1. Find a phrase in the message that’s a) unlikely to appear in anything else on the web, and [...]