Archive for October, 2005

Internet Explorer can [censored] my [censored].

Seriously.

I spent two hours last night poring over the WordPress template files and the stylesheet for the theme I’m building, searching for some error that would explain why IE was rendering the page improperly.

Exhibit A (Firefox):
Exhibit A - Firefox

Exhibit B (Internet Exploder):
Exhibit B - Suck it, IE

See that grey border on the right? It’s supposed to be a solid line from top to bottom, but IE was pushing it to the right partway down, and rendering it twice at the bottom of the page.

After much frustration, I realized that there must be something “special” about the content of one or more entries on the page. Through trial and error, I managed to isolate the problem to a single entry: a movie review for Dungeons & Dragons: Wrath of the Dragon God. I tried removing any unusual formatting (image float, footnotes) without success. Finally, after hacking the entry to pieces, I removed a couple of lines where italic text wrapped from one line to the next. Voila, no more rendering problem. It didn’t make any sense, but there it was: italics.

So I searched for “internet explorer italics bug” in Google and I came up with this entry at PositionIsEverything.net. Seems IE doesn’t respect element sizing very consistently. The author provides several good examples as well as a couple of ways to work around the problem. I tried the “overflow: visible” method, which seemed to work until I put the rest of the contect back in the entry, at which point the entire middle section of the page got bumped down below the sidebars in IE (but not in Firefox).

This morning, I set the width of the rogue element to 95% and voila… all better. Well, except for a little “extra” padding on the right, but that doesn’t actually affect the rendering of the border.

I’m not finished working on the new theme, but this particular bug as been fixed. IE can still [censored] my [censored].

NaNoWriMo Progress Bar

I saw that Codeshaman has added a NaNoWriMo progress bar to his blog and I liked the idea so much that I swiped it. I have no idea what the mechanics of his bar might be, but the code behind mine will do the following:

  • Prior to 1 November, display a countdown to 1 November. Note that I didn’t account for the time difference between Willoughby and my server location (Chicago), so it’ll be an hour off.
  • Beginning on 1 November, display a progress bar and a daily target line. The progress bar visually represents the percentage of completion, while the target line displays the ideal word count based on writing 1,667 words per day. Target word count is also displayed numerically beneath the progress bar.
  • Upon reaching the overall target word count (50,000), remove the daily target line (and corresponding target word count) and display a message indicating completion.

That’s the theory, anyway. I’ll be the first to admit that this little widget is extremely kludgy. Most of the CSS that makes it work feels like a big, fat, inelegant cheat.

Oh, and of course it doesn’t look quite right when viewed with Internet Explorer. The real kicker is Opera. The version I’ve got (7.0, which I paid for) shifts the whole blasted sidebar about 500 pixels to the right, way off into Never-Neverland. Maybe I should download the latest version. I hear there’s no advertising on the free version these days.

Supertramp: Original Playa

Supertramp - Breakfast in America (CD)A couple of weeks ago I was listening to KJToonz in the MvOD and Supertramp’s “Goodbye Stranger” queued up on the playlist. It’s a song that I’d probably heard a hundred times, recognized instantly, could hum the melody and sing along with the chorus… and had never actually listened to. Certain snippets of the lyrics (”Like a ship without an anchor, like a slave without a chain…”) stuck in my head, but I didn’t attach any real meaning to them. To me, it was just a guy saying goodbye to a couple of women:

Goodbye stranger, it’s been nice,
hope you find your paradise.

Goodbye Mary. Goodbye Jane,
will we ever meet again?

For whatever reason, I processed the song differently that night, and it was like hearing it for the first time. Underneath that familiar and—dare I say—beloved melody Roger Hodgson was telling a story that I’d never really heard before. Roger Hodgson was telling the story of a stone cold playa: the early morning lover who must be movin’ on.

The snippets of lyrics I knew so well were immediately followed by the shocking truth:

Just the thought of those sweet ladies
sends a shiver through my veins

I’ve been listening to Supertramp since I was six! How could I possibly go twenty-six years without realizing that “Goodbye Stranger” is about the king of one-night stands? It’s enough to make one question everything.

Actually, I think the key is that I have been familiar with the song for so long. When I was six years old, I hadn’t the faintest idea why Hodgson would be saying goodbye to Mary and Jane, much less what a one-night stand was. Yet I heard the song enough times (thanks to my older brothers and the wonders of vinyl) that the whole of it became imprinted in my memory and it never occurred to me during the intervening years to apply my expanded knowledge of the world to a song I’d been listening to since I was six.

Now that I’m done having my epiphany I have to go figure out what the hell “Lord is it Mine” is about.

Not again, Jar-Jar!

It wasn’t that long ago that I noted the time required to download 1 gigabyte of data over a slow (34.6 - 37.4 kbs) dial up connection. That gigabyte of data was the City of Heroes test server, and I downloaded it so I could participate in the City of Villains beta.

The City of Villains client was a second, even larger download. The 1.6 gigabyte update converted the City of Heroes test server to the CoV beta client. This made for roughly ten days of almost non-stop downloading. I was able to fire up City of Villains for the first time Friday evening, just in time for the developer to open the floodgates and allow anyone and his brother in for the weekend. The server was slammed; public areas were incredibly laggy (even for folks with broadband connections). Still, I was able to create three villains over the weekend: Retikion, Thunderhead and The Skink. They are all bad, bad men1, consorting with criminals, engaging in illicit activities and probably suffering from severe halitosis2.

Last night, I returned to more heroic pursuits, teaming up with Miscellaneous G™, Slowhand and five complete strangers in an attempt to rescue the kidnapped son of one Lt. David Wincott. Despite a thoroughly valiant effort, we were ultimately thwarted by a misbehaving server. With five minutes remaining in the mission, the team was making a final push past legions of animated rock creatures and dark mystics when the unthinkable happened: the server vomited the entire team back to the login prompt. Though we were all able to log back in immediately, our heroes had been transported out of the main mission area and watched helplessly as the mission timer ticked down to zero. Failure. Young Sam Wincott would have to suffer at the hands of the Circle of Thorns until another group of stalwart heroes rescues him from their clutches.

Tonight, I took Dr. Garabiton out on patrol. The Gravitas Mark IV battlesuit3 had been collecting dust in a secret storage closet recently while its creator, theoretical physicist Patrick Nguyen, explored other interests. Sadly, his romantic endeavors ended rather disastrously last night, so he decided that he needed to blow off some steam. After re-calibrating the Mark IV’s graviton manipulator arrays, Patrick donned the yellow and blue armor and took to the streets as Dr. Garabiton.

Fortunately for Patrick, there is no shortage of illegal activity in Paragon City, and he soon found himself hip-deep in criminals. Though he has never met Maxwell “Cardelion” Barstow, tonight Patrick learned the lesson that Max knows so very well: beating up bad guys is great therapy. When you’re angry at the world (or even just at Susan Kendrick), there’s nothing more cathartic than kicking the crap out of someone who truly deserves it.

After letting Dr. Garabiton work out some of his frustrations, I decided to call it a night and shut down City of Heroes. Instead of simply closing, however, the CoH updater began downloading “Issue 6,” a new upgrade that will fix bugs and add content to the game.

The patch file for Issue 6 is a whopping 1.6 gigabytes.

Oh, goody.

  1. The Skink is technically not a “man” (or a woman, for that matter), but rather the result of an attempt to recreate plant-like photosynthesis in reptiles utilizing an experimental (and illegal) DNA manipulation technique. Of course, that’s neither here nor there. [back]
  2. As a result of the aforementioned experiments, The Skink doesn’t actually have a mouth. Hence, The Skink does not have halitosis. Retikion, on the other hand, does have a mouth. Unfortunately, dental hygiene is low on his list of priorities (building a thriving criminal enterprise is #1 on that list), so not only does Retikion have halitosis, he also has advanced gum disease. [back]
  3. The Gravitas Mark IV battlesuit features a variety of “comfort options,” including an integrated 60GB iPod and Bose noise-canceling headphones with state-of-the-art automatic CoMPVoC technology. [back]

Or, if you prefer: for the love of Kelly Ripa’s immaculate part.

As an expectant father with what some have described as an “irreverent sense of humor,” I found Monday’s Penny Arcade ridiculously funny. Now, before you go clicking on that link all willy-nilly, let me first warn you that this particular installment of Penny Arcade might be regarded by some as tasteless and offensive. I don’t want to reveal too much for fear of ruining the joke for those who do opt to read it, but I will say this: it involves the placenta. If the mere mention of that word makes you cringe then for the love of Regis Philbin’s bushy eyebrows do not click that link.

[EDIT: It occurs to me that there is more than one way to interpret "Kelly Ripa's immaculate part." I would like to clarify that I am referring to the part in her hair.

Pervs.]

« Previous PageNext Page »