nothing much

I have a backlog of posts that I’ve just never finished. I tend to start posts, make them much longer than they were originally supposed to be, then lose interest 3/4 of the way through. It’s a bad sign when a blog’s content bores the author.

So until I come back with some real content that’s worth a damn, check out duplos.org. It’s incredible what’s possible with some jQuery and a pinch of creativity. Ah creativity, how you elude me.

2 Comments »
date Mar 23rd 2010
author Mike
category Life
tags(none)
  2 Comments

(none)

Not that it was a living hell. It wasn’t. But it sure as hell wasn’t heaven, either.
—Markus Zusak, The Book Thief

1 Comment »
date Mar 15th 2010
author Mike
category Life
tags(none)
  1 Comment

how to talk with a 5 year old

Ally and I are going to a Bar Mitzvah in Miami later in the year, and when I found out about it I started panicking about all of the 5 year old cousins I’d be surrounded by.  I’m not so good with the lil’ ones, you see.  I don’t know how to talk to them, or what even to talk to them about.  They’re quite dumb creatures if you think about it.  They have few reasoning skills, and their abilities to carry on complex conversations are limited (to put it lightly).  They’re still in that phase of their life when they’re not psychologically capable of handling emotions in an appropriate manner, so they cry a lot.   Hell, when I introduce myself and hold my hand out expecting theirs in return, I’m usually met either with silence and overwhelming shyness, or a crusty booger-covered set of toothpick fingers.

So how am I going to deal with a long weekend—mere days before I begin taking upper division university courses about complex algorithms and low-level machine representations of data, no less—talking with these developmentally primitive miniature humanoids?  I’ve decided to come up with a few talking points to initiate conversations that would both be engaging for me, and dumb enough for them to understand and relate to.  Here’s what I’ve come up with:

  1. “I can solve a Rubik’s cube in about 1 minute.  What colorful toys are you that good at?”
  2. “I see you have hot dogs in that mac & cheese you’re eating.” [side note: I totally expect to be referencing the food on their bibs] ” I once ate an entire package of 8 hot dogs—including buns!—in under 5 minutes.  Boom goes the dynamite!”
  3. “Come on, think about it logically.  What sort of physical explanation can you come up with for how those reindeer stay in the air?  It’s just not feasible.”
  4. “If you were an animal on Arthur, what kind of animal would you be?  I call lion.  I’d never go hungry with all of those aardvarks around, that’s for sure!”
  5. “Don’t hang out with little Suzie too much.  Before you know it middle school will roll around, and you’ll be stuck in the ‘friend zone’ when it actually counts.”
  6. “Back in my day, garbage men used to hang off the back of the truck!  It’s never too late for you to change your aspirations, kid.  If you really put your mind to it, you too could hang off the back of a garbage truck someday.”
  7. “So your twitter background is a photo of elmo, huh?”

Hopefully Ally has seven or fewer 5 year old cousins.  I’d be completely stumped with what to talk to number eight about.

Let me know if you can come up with any.

2 Comments »
date Mar 7th 2010
author Mike
category Life
tags(none)
  2 Comments

disqus

I’m a fan of Disqus. It’s a great commenting system, the Gravatar support is a plus, and the comment tracking they have for your profile is awesome. So a few months ago when I was still in the process of creating this blog, I installed it here on Rhymes With Milk using the official Disqus WordPress plugin.

As the process of creating this site started to wind down, I started thinking about validating my code (as any good developer would do). Essentially this just means that I check to see if the organization that governs internet standards thinks my XHTML is up to snuff. And whaddaya know, the homepage alone has over 3 dozen errors*, but none of them are errors I made. They mostly come from the code Disqus adds to the page (with most of the others coming from an embedded YouTube video).

This really rubbed me the wrong way. These weren’t simple negligible errors like “you shouldn’t have a border size declared on an iframe because that’s not allowed” (this in fact is an error on Mark’s blog — I think it’s a Tumblr thing, so give them shit for it, not Mark)** but ones like “there’s an extra link closer-outer tag for a link that doesn’t even exist.” Seriously, Disqus? You didn’t test the plugin before you launched it?

So I decided to hack it. The php files that actually define the plugin’s actions are a bit more advanced than I was prepared for (I can usually pick my way through other people’s code pretty well. Just take a look at my archives. You think those looked like that out-of-the-box? Hell no.). I Googled the problem with very low expectations (Disqus dev documentation is surprisingly scarce) but stumbled upon this gem. This blog takes you step-by-step on how to correct the invalid markup that Disqus adds to your page. Awesome, it just saved me at least 4 hair-pulling hours.

I think the post was written at least one plugin version ago because some things looked a bit different on mine than in the examples, but for the most part I was able to do just what it said verbatim. And happily it worked. My site’s validation checked out (aside from that stupid YouTube video), but for some reason I lost comment count. All posts said that there were zero comments. With my tail between my legs, I got rid of the hacked Disqus and reinstalled a factory-fresh version, complete with its terrible markup.

But not all is lost. The site doesn’t really visually or functionally “break” because of the poorly written code (at least not on good browsers), so in the short run I can ignore the validation issues. And hopefully “the short run” is all that I’ll have to worry about. 3 days ago Disqus posted this on their blog:

We’re nearing the release of our new WordPress plugin that contains bug fixes, better importing, compatibility fixes with themes and other plugins, as well as offers new improvements in performance and speed.

And one of the comment moderators (aka a Disqus employee) said that the plugin is supposed to be released this week! It feels like Christmas in the RWM household. Hopefully they get it right this time. All the way right.

* Take a look for yourself. Click here to see all the errors.

** The only reason I looked at the validation info for his site was because he also has Disqus installed on his blog and I wanted to see if it generated the same errors there, too. It does not because the Tumblr and WordPress inclusion codes are different.

1 Comment »
date Feb 22nd 2010
author Mike
category Geek
tags,
  1 Comment

a sneak peek…

…of Ally’s new blog design. Dustin and I worked all night on it.

1 Comment »