Archive for April, 2009

Quotes Collection: ORDER BY RAND() fix…

Tuesday, April 28th, 2009

A small change for the excellent Quotes Collection plugin that removes an “ORDER BY RAND()”, which tends to suck all of the randomness out of my site pretty quickly: function quotescollection_get_randomquote($exclude = 0) { $offset = rand( 0, quotescollection_count() ); global $wpdb; if($exclude && is_numeric($exclude)) $exclude_condition = ‘AND quote_id <> ‘.$exclude; $sql = “SELECT quote_id, […]

Actually, I’m doing fine.

Friday, April 24th, 2009

In fact, I’ve had a very nice week, but I haven’t had anything interesting to write about. So, to the casual blog browser, it looks like I’m still pissed off about Easter. But I’m not! Spring is great. I’ve always been a big fan of the rebirth of all of the plants. (Hey look, it […]

Happy.. Easter?

Monday, April 13th, 2009

Well, now I’m pissed. I get back from vacation just in time for band practice, and show up only to discover that nobody can come because of Easter. OK, I’m not actually opposed to celebrations and all that, but nobody in the band is Christian. So they’re off celebrating the glorious resurrection and ascension of […]