I Should Just Syndicate Fracas

March 13th, 2007 at 11:17 pm by Mark
Tags: , , , , , ,

     Seriously… From her blog… 

Stupid Teenager Tricks

Please, it’s good advice…

Pies are meant for eating. Like with ice cream or cheese, on a plate, with a fork.

     Myself, I’m too pissed off to be funny lately.  Glad someone’s making me laugh.

Tae Kwon Do Mom Ties Up EMS Resources

March 9th, 2007 at 12:28 pm by Mark
Tags: , , , , , , , ,

     Apparently, this nutjob, California Tae Kwon Do-mom would like the Cops to enforce “Your Way, Right Away” at Burger King…

     “Ma’am, we’re not going to go down there and enforce your Western Bacon Cheeseburger … that’s not a criminal issue.”
     Fortunately, her calling 911 and tying up resources is a criminal issue.  Unfortunately, they apparently didn’t bother to arrest her.  That might have taught her kids not to be such spoiled little brats.

     What do you bet she was driving a mini-van?

     In a weird way, it reminded me of an EMS training call from Houston several years ago.  (Language Alert! — but it’s soooooo worth it)

http://www.youtube.com/watch?v=1BQW-0dpNrA

     The original was sped up before considerably before being broadcast on the Art Bell Show (remember him?), so the voices ended up sounding as far from their original southern drawl as possible…
     Several operators who received the training call were unsure whether or not the event was real, which makes it even better.  This is what a good EMS instructor should do — it weeds out those operators who can’t handle the stress. 

     “I need a bambi-lance!” 

     Preferably long enough to kill a deer…

Tip: Fracas

responsive_wp_468x60

Fix the Google Sitemap Generator Plugin for WordPress

March 7th, 2007 at 12:23 pm by Mark
Tags: , , , , , , ,

     Arne Brachnold’s Google Sitemap Generator for WordPress is a pretty neat piece of software that’ll build a Google-style XML-Sitemap, and ping Google with it every time you update your blog.
     Good stuff for SEO, good stuff for making sure Google has your site indexed. 

     After setting up a few blogs with the latest, I found a caveat that just annoyed me to death: you’re in the Admin, but when you manually update the sitemap, it comes back with a blank page. Sure, I know how to work around it, but they guys I’m setting this stuff up for get all huffy about it.
     Pretty quick bug to figure out.  There’s even a nice ticket on Trac (Ticket 604) that I’m unable to post this solution to…
     Line 2463 of sitemap.php is:

<script type=”text/javascript” src=”list-manipulation.js” mce_src=”list-manipulation.js”></script>

     Of course, that doesn’t exist, but if we change it to:

<script type=”text/javascript” src=”../wp-includes/js/list-manipulation-js.php” mce_src=”../wp-includes/js/list-manipulation-js.php”></script>

     …then all is right and good with the world.

     Hopefully, Arne’ll drop this in his next release — and be able to close Ticket 604 on Trac.  😉

[Ed. Note: The text of this article refers to “the latest” WordPress (2.1.x) and version of the plugin for it (3.0xxx).]

Time-Lapse Speed Painting

March 2nd, 2007 at 11:33 am by Mark
Tags: , , , , , , ,

     Quite by accident, I ran across a time-lapse video of a Photoshop paing by an “arte fusion” artist named Nico.  Some of you have probably seen this guy before…

     If you can see it fast enough, you might actually learn something about Photoshop.  Some people, of course, will discount Nico’s talent as a computerized trick, so here’s another one of his…

     He’s a talented artist, no doubt, but doing the time-lapse video is particularly brilliant in that it turns the relatively mundane act of painting into an enjoyable act of performance art.  It’s difficult to say what’s better: the artistic creations themselves, or the time-lapse videos of their production?

     For even more, check out his Profile page on YouTube.

Robinhood: Free Stocks for your Referrals!

Invision Power Board Code Bug

March 1st, 2007 at 11:37 am by Mark
Tags: , , , , , ,

     Yesterday, I was called to fix this bug, which caused a SQL error when users would go to the Stats / Leaders page:

Error:

mySQL query error: SELECT m.id, m.name, m.email, m.hide_email, m.location, m.aim_name, m.icq_number,
  f.id as forum_id, f.read_perms, f.name as forum_name, c.state
  FROM ibf_members m, ibf_categories c
  LEFT JOIN ibf_moderators mod ON((m.id=mod.member_id or (mod.is_group=1 and mod.group_id=m.mgroup)))
  LEFT JOIN ibf_forums f ON(f.id=mod.forum_id)
  WHERE c.id=f.category AND c.state != 0

mySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘mod ON((m.id=mod.member_id or (mod.is_group=1 and mod.group_id=m.mgroup)))’ at line 4

     Not too difficult to spot that first LEFT JOIN is broke … Editing the query in ~/sources/misc/stats.php, line 255, and surrounding `mod` with backticks did the job.

     Although, it’d be nice if customers would keep their software versions up-to-date…