May 21st, 2009
Disabled Aero? Because “one of my applications” does not “support” it? How about telling me which application? How about re-enabling it when that application exits? How about coming up with an Aero theme that doesn’t make me seasick when I drag a window?
I hate Vista.
Posted in Misc | No Comments »
May 6th, 2009
I made a special trip to the store today to buy more charcoal and lighter fluid.
Yes, I know lighter fluid is both wasteful and environmentally unsound, and I should use a charcoal lighting chimney arrangement made out of large coffee cans and a grating, but I don’t like crappy coffee enough to chase down the cans, and furthermore it wouldn’t be considered wasteful if 9 out of 10 people alive today weren’t. Also, it’s fun to play with flammable fluids. Really fun. Whoosh.
So, as I was saying, I bought more charcoal…the hardware store is the closest business of any kind, and they have the Kingston charcoal with BBQ flavoring. Curious to see how that turns out, but it certainly smells good.
And I wonder: I sure do go to a lot of trouble to make my food carcinogenic. Why does it taste better when it’s partly burned?
Posted in Gaming | 1 Comment »
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, quote, author, source
FROM " . $wpdb->prefix . "quotescollection QC
WHERE visible = 'yes'
".$exclude_condition."
LIMIT " . $offset . ", 1";
$random_quote = $wpdb->get_row($sql, ARRAY_A);
if ( !empty($random_quote) ) {
return $random_quote;
}
else
return 0;
}
There’s an additional query, but it doesn’t have to allocate a random number for each quote in your database. Which is nice. Hope this helps.
Posted in Misc | No Comments »