Thoughts From Eric Archive

Put Up or…

Published 22 years, 11 months past

A random thought that came to me at 6:40am as I was pulling records for my radio show: wouldn’t it be cool if we restructured our government so that any declaration of war had to be approved by a majority vote of the country’s citizens, and those who voted in favor of the war were required to report for combat duty if the war referendum passed?  I suppose those physically unable to fight could be required to fund another soldier’s training, transportation, supplies, and funeral (if necessary).

I just wonder how many people would be willing to go to war if they knew they’d have to fight in it, or at least go broke for it—and how much more likely it would be to create a situation where we only went to war when it was felt truly necessary and just to do so.


Like In a Funhouse Mirror

Published 22 years, 11 months past

I’m a little late coming to this party, but it was worth posting anyway: Ted Rall’s War Cry.  It just doesn’t sound quite so reasonable when we’re the rhetorical target, does it?


Catching Up

Published 22 years, 11 months past

In all the head-pounding over learning XSLT last week, I let some things slide by without comment, so I’ll try to cover them all in a single post.  (And remember, if you have an RSS aggregator, you can syndicate these posts via my RSS feed!)

In early November, I’ll be appearing at Meet The Makers New York on a “standards mini-panel” with Jeffrey Zeldman, so I’d better get around to calling Moishe.  There will also be a San Francisco Meet The Makers where my co-worker Arun will be on a panel with Tantek Çelik of Microsoft.  You might be able to score a free VIP ticket to either event if you hurry (and are willing to fill out the questionnaire).

I’ve added more information to the upcoming events on my Speaking page, including promotional codes for events that have them.  I disclose when using a code will make me money, and have been thinking about ways to turn those into community-building exercises.  Maybe I’ll take everyone who used my code(s) to a group dinner, assuming I can come up with a way to verify code use.

Last week, we published a CSS2.1 Quick Reference sidebar tab for Gecko-based browsers, and French translations of the CSS2 and DOM2 sidebar tabs, to the Sidebars area of the DevEdge Toolbox.  I also published a technical note on fixing list-item marker size in the NS6.x series.

Over the weekend, I not only dug into more XSLT (which almost made me pound my head against a wall, again), but I wrote some Javascript bookmarklets to help manage the administration of css-discuss.  It’s been a while since I thought of myself as a programmer, and I certainly am no expert—but it’s been good to stretch those mental muscles again, after so long.  The neural paths needed for exploring and using CSS and structural markup aren’t the same as those needed for programming.  The sense of achievement I felt when I figured out how to do what I wanted to do was a welcome change of pace.

It’s really cold in our house right now, but at least the shaking and banging of workmen dismantling our 82-year-old boiler has stopped.  Kat and I are sort of sad to see the old beast go, but since it had suddenly started leaking enough carbon monoxide to form its own atmospheric system, we don’t exactly regret replacing it.  The replacement boiler is almost ridiculously smaller than our old boiler.  I have trouble believing that it can heat the basement, let alone the whole house.


A Transformation In My Thinking

Published 22 years, 11 months past

Recently, at the urging of a well-known Web dude, I added “permalinks” to the entries here.  That’s what the little paragraph symbols are all about.  At that point, I figured that I ought to drop all of my past posts into some kind of system that could automatically generate said “permalinks,” as well as allow me to finally publish an RSS feed.

Most people would say “I’ll use Blogger!” or “time to install Moveable Type!” but I didn’t really want to run a CMS package just to store and syndicate my random mutterings.  So I of course did the obvious thing, and decided to pour the whole archive into XML, using my own private markup, and then teach myself XSLT so I could take that archive and produce whatever output I wanted—the home page’s five most recent entries, the permalink archives, an RSS feed, whatever.  Okay, there was an actual work-related reason: learning XSLT will make me better able to help manage DevEdge, which is driven by XML, XSLT, and CSS.  But mostly I was doing my usual thing, and effectively learning how to fly a helicopter just to get to the corner grocery store.

So here it is!  You syndicators can pick up the RSS feed if you like, and be automatically informed whenever I work up the energy to write another entry.  Aren’t you lucky?  I know you’ve just been dying to see this happen.  I even went to the effort of writing entry titles, which I didn’t have before, just to make the feed content look better.  Who loves ya?

Now I’ll probably decide to teach myself HTTP and Perl just to build my own skeletal RSS aggregator.  Yeah, that sounds reasonable…


Futurespeak

Published 22 years, 11 months past

I’ve added upcoming events to my Speaking page, so now all you stalkers can effectively plan ahead.  These join the previously available archive of presentation files from past speaking engagements.

I’m working on some back-end improvements to the site, so there isn’t much else to talk about right now.  The political scene is too depressing to talk about now, so I’m not even going there.  Maybe in a few days I’ll have some cool things to ramble on about.


Say, That Is a Good Question

Published 22 years, 11 months past

In the context of a heated debate over the prospect of going to war with Iraq and the politics surrounding that potential action, Senate Minority Leader Trent Lott (Rep. – Mississippi) has posed the question, “Who is the enemy here, the president of the United States or Saddam Hussein?”

It’s an excellent question, but geez, if he has to ask, where does that leave the rest of us?


KPMG Revisited

Published 22 years, 11 months past

A point of followup on the KPMG fix: It turns out that the fix works almost completely in Opera 6/Win, even when it identifies itself as Opera (as my copy does).  The little yellow-box navbar thing zips along quite speedily, but the drop-downs for “Search,” “Contact Us,” and “Country Selector” can be really slow, while other times very zippy.  Also, one of the “close dropdown” buttons doesn’t work.  I don’t know why, but I suspect these are easy to fix.

Here’s the kicker: I didn’t do any Opera testing until this afternoon.  As I carried out my fixes, I didn’t make one single coding change with Opera in mind, and yet the page is 95% fixed for that browser.  That’s the whole point of using standards—you can be almost completely browser agnostic.  The other 5% that doesn’t work in Opera is probably due to either a DOM bug in Opera—no browser is perfect—or (more likely) my fumbling attempts to get the code based on the W3C DOM wasn’t a complete job, and I left some non-standards stuff in there.

Will it work in Konqueror?  In OmniWeb?  I don’t know, but if they support the correct W3C standards, then the answer is “yes.”  It’s the same answer for any browser that supports Web standards.

I’d also like to reiterate for those of you planning to dig into the source of the fix that it’s not an example of completely  standards compliant design.  It’s merely an example of how one person, with a modicum of effort, was able to take an outdated design method and hack in some semblance of standards support in order to take a broken site and make it work in multiple browsers.  It isn’t perfect, but maybe it’s a start.  Share and enjoy.


It’s Like KPMG.com, Except It Works

Published 22 years, 11 months past

In the course of about two and a half hours yesterday afternoon, I hacked together a fixed version of KPMG.com.  It works consistently in Gecko-based browsers and Internet Explorer for both Macintosh and Windows (at least in IE5.5/Win, which is what I have).  This despite the fact that my version does no browser sniffing at all: the same scripts are handed to whatever browser comes to visit.  I would have posted all this yesterday, except KPMG’s Web site (from which I pull all the images) went offline yesterday afternoon, just as I uploaded my fixed version.  Weird.

My fix is not, I should point out, a full makeover into total standards-compliant code and markup.  I left the poorly structured HTML more or less alone, save for the minimal changes I had to make to get the page cross-browser savvy, like converting name attributes to id attributes.  Similarly, I touched only those pieces of the Javascript that needed to be changed.  And I didn’t try to make the DHTML effects more efficient, or speed them up for Gecko, whose dynamic performance still lags behind Explorer.  Thus in Gecko-based browsers the effects will seem sluggish.  Nevertheless, they do work and the page does lay out correctly in the Explorer and Gecko families, which is a heck of a lot more than we can say for the actual site.  I don’t know about other browsers because, in all honesty, I was only willing to sink so much time into a non-paying project.

As I say, this took me about 150 minutes to accomplish, and it would have been less if I hadn’t had to research DOM-compliant event handling (thank to kirun for hooking me up with the answer!).  Remember, I’m a CSS guru, not a DOM and Javascript expert, so it took me longer to figure everything out.  A full makeover to a no-font, minimal-table, optimized, and fully DOM-based script version would have taken a couple of days, most likely.  Add another day to make the way the page is put together rational, since right now the way the script routines fit together is a little frightening.  And there are other problems with the site, like serving CSS files with the MIME type application/x-pointplus, but those seem like incidentals.  Correction: kpmg.com’s CSS files are in fact served up as text/css; it’s kpmg.ca‘s CSS files that are the wrong MIME type.  My apologies to the server adminsitrator(s) at kpmg.com for my incorrect assertion.

In total, a complete makeover lasting three days would still be—even at top-drawer consultancy rates—around US$6000.  Compared to what the site probably cost to develop badly, that’s an amazing bargain.  If even one customer using, oh, let’s say AOL for OS X, was able to browse the site and decided to sign a contract with KPMG, the work would more than pay for itself.

Oh, and I almost forgot: KPMG.com has been broken for well over a year now, as detailed in Bugzilla entry 83846.  We know from that entry that KPMG got e-mail about the problem on 10 July 2001.

With any luck, they’ll take the work I’ve done and use it, seeing how as I’ve written them and offered it at no charge.  Feel free to add your own voice to the process; you could even use the contact form on the fixed version, and if you’re using a Gecko browser, you’ll have to since the actual KPMG site is, you know, broken in your browser.  If they’re afraid of what it might do in Explorer, they could still use their server-side sniffing to give any Gecko agent the fixed version (DevEdge has a good article on Gecko detection).  Of course, I think they should just offer up a standards-based site as the default, but hey, I’m only one guy.  No doubt a large corporation that couldn’t fix its own site problems knows far better than I do.  Hmmm… was that too bitter?


Browse the Archive

Earlier Entries

Later Entries