Chip's Quips
A tiny spark of wit for a highly flammable world

Chipping the web – reverse for hex

February 6th, 2007 4:55:53 pm pst by Sterling Camden

Chipping the webRock lobster was one of the B-52s’ more memorable songs.

I’ll need this handy tip sheet from Deb Shinder when I up(?)grade to Vista.

Stu Savory commemorated the 50th anniversary of the Wankel rotary engine. Includes a great animated graphic of the Wankel’s cycle.

How can we stop the erosion of our individual freedoms? Stop being so self-centered .

I fixed a minor bug in the tag cloud widget. PHP, globals, and nulls — oh my!

Thanks to widget users: Aoyoyo, pete, jaspp.net, aquastuff, and muder.tv.

And thanks for the link-love, Patrick and Joseph!

Posted in Share the Love | 1 Comment » RSS 2.0

Thank you, Merck, for sticking it to us again

February 6th, 2007 9:50:55 am pst by Sterling Camden

Merck and their good friends at the CDC want all pre-adolescent girls to take a new vaccination aimed at reducing cervical cancer. That’s so sweet, especially when you consider that routine screening is already nearly 100% effective as a preventive treatment. They went to all that trouble just so girls could get three shots instead of having to remember to get a pap smear.

No, wait. Merck says it’s not a substitute for regular screening. Oh well, better take it anyway just to be safe, girls. Don’t worry, you’ll get over that irritating joint pain. And the seizures. The loss of consciousness should only be temporary. And if you happen to come down with Guillain-BarrĂ© syndrome, I’m sure the good people at Merck have some immunoglobulins they can bilk treat you with.

Besides, the shots will only cost you several hundred dollars. You have insurance, right? Of course your insurance company will pay for it, and they wouldn’t think of raising their premiums to cover the expense, now would they?

After all, you may not have a choice — if your state legislature adds this shot to your state’s vaccination requirements. Aren’t you glad the state, the CDC, and the drug companies work so well together to make these decisions so much easier?

Posted in Get Outta Here, Wildly popular | 18 Comments » RSS 2.0

Lombardi goes to Indy

February 5th, 2007 10:27:27 am pst by Sterling Camden

Shout out to Doug a big congratulations on the Colts winning the Superbowl!

Apparently some Bears fan has vandalized the Wikipedia entry on the Colts, subbing their hindquarters as quarterback in the roster. By the time you read this, maybe it will be fixed.

The last time I saw the Colts play in the Superbowl my Dad and I were rooting for Johnny U when the Baltimore Colts lost to Broadway Joe and the Jets (somehow I missed Superbowl V). Although this isn’t the Colts’ first Superbowl win, it is their first one since moving to Indianapolis.

The Colts have the distinction of being one of only two teams to win the NFL championship and lose the Superbowl in the same season. The other is the Vikings, who lost to the Chiefs the following year — the last year before the AFL merged with the NFL.

Only four teams have won an NFL championship but have never won a Superbowl: the Cardinals, the Lions, the Eagles, and the Vikings. You could add the Browns to that list, since they never won a Superbowl as “the Browns”. The Baltimore Ravens, who are the former Cleveland Browns, won Superbowl XXXV. Minnesota has lost the Superbowl four times (1969, 1973, 1974, and 1976 seasons), and Philadelphia twice (1980 and 2004). Arizona and Detroit have never even been to a Superbowl.

The Cardinals are the oldest professional football team, founded in Chicago in 1898, but they have not won an NFL championship since 1947. They are one of only two remaining charter teams of the NFL — the other being this year’s Superbowl losers, the Chicago Bears.

Posted in Clenched Teeth | 6 Comments » RSS 2.0

Love and Insanity in the Kitchen

February 3rd, 2007 1:19:00 pm pst by Sterling Camden

Last night I rediscovered Dave’s Insanity Sauce, the hottest sauce on the planet. The only other time I tried it, years ago, was at a hamburger joint that featured a variety of sauces. I like hot food. I regularly eat two habaneros, a jalapeno, a red chile pepper and a Thai chile in my breakfast. So on that first encounter I laid the Dave’s on a hamburger like most people use ketchup. Let me tell you, I finished that burger three beers and a lot of “woo-hoo!” later.

So last night I used more caution. Just five thick drops on three scrambled eggs, and it was still a whole lot hotter than my breakfast recipe. I was sweating and swearing and loving every minute of it. It gives new meaning to the phrase, “Hot damn!” Dave’s is made with habanero peppers, the hottest in the world. But to me the sauce tastes hotter than eating the peppers by themselves.

My first encounter with the hellish habanero was in a bar (can’t remember the name) up on Mt. Washington, overlooking the three rivers in Pittsburgh. This establishment offered buffalo wings in four varieties: mild, medium, hot, and Three Mile Island. The latter were covered in habanero sauce. I ate the whole platter, accompanied by generous draughts of beer. As I was sweating and whewing my way through the meal, the bartender asked, “Why are you doing that to yourself?”

Because I love them. The habanero has a unique taste, almost fruity at first, and the heat doesn’t hit you right away. It takes a few minutes to get really hot, and then it just keeps getting hotter! No matter how you douse it with water, beer, or what have you, it keeps coming back.

When my wife and I were first getting together, we kept our relationship a secret for months. She worked in software sales for a client of mine. I know, conflict of interest. But this time it all worked out. Anyway, our common employer hosted a summit meeting of some of their most influential customers, and one evening they took them all out to The Kitchen, a very nice and intimate restaurant in Sacramento. It’s so small that they had to reserve the entire restaurant. They seat the diners around a large counter where the chef prepares the meal right before your eyes.

My future wife and I managed to sit beside each other without drawing too much attention. As we sipped our wine awaiting the feast, I noticed all the baskets of things scattered around the counter. Right in front of me was a basket full of huge habanero peppers!

Knowing about the gradual onset of the habanero’s heat, I picked one up and bit it in half.

While I could still speak, I handed the other half to my sweetheart, saying “Not too bad” before the wave of heat engulfed my soul.

So she popped the other half in her mouth.

I’m afraid it was probably the half containing most of the seeds.

She shrieked and quickly downed about a pint of wine. Of course, the heat only continued to rise, so she drank rather more quickly than usual all that whole evening. In front of her employer and her best customers, too. And she couldn’t taste any of the fine meal or desserts.

But she didn’t kick me out. So I thought to myself, “She’s got a sense of humor — she’s a keeper.”

Posted in Get a Grip | 16 Comments » RSS 2.0

WP plugin stops plugging WP

February 2nd, 2007 12:33:36 pm pst by Sterling Camden

Just activated a new plugin for WordPress: wikipedia-nofollow. Ken Yasumoto-Nicolson (aka seron) says he whipped this one up over lunch, but it’s well written (for PHP) and succinct. It adds rel=”nofollow” to all links to wikipedia.org in your posts (and optionally in the comments as well) if they don’t already have that attribute. Rather than modifying the database, it operates when content is rendered — so you’re not making permanent changes.

Why would you want to use this plugin? Because Wikipedia has started adding rel=”nofollow” to all of their outbound links, denying sweet Google-juice to all of their sources. In today’s web, which is driven by search, that’s the equivalent of omitting attribution, IMHO. Plus, it is so not “the wisdom of crowds”.

I’m pretty certain that Wikipedia contains no links to any of my sites, nor do I expect any in the near future. This action is based on principle, and was inspired by Andy Beal’s battle cry (thanks, Randy).

Posted in Get Outta Here | 8 Comments » RSS 2.0

Printing in style

February 1st, 2007 1:29:04 pm pst by Sterling Camden

Jeff Atwood provides a sensible approach to styling your blog for print and handheld: just hide the things that don’t apply by adding the “display: none;” style to the containing div sections. I’ve applied that principle to Q and T for printing. No more eight pages of sidebar when printing a post. From the number of complaints that I’ve had about that (0), I would infer that at least for most blog readers, the dead tree medium really is dead.

Has anyone else noticed that the print preview in Firefox renders images far more accurately than the one in Internet Explorer 7? The fonts look better, too. I bet IE7 generates an image of the entire page based on the printer’s device context and then uses StretchBlt (or an equivalent) to scale it to the screen DC (which ends up scaling the images twice), while Firefox works its scaling algorithms for each font and image, based on the size of the current DC for each rendering. Just my guess. End of Wingeek speculations.

I haven’t addressed handheld yet, because that may prove to be a bit more complicated for my theme. Some of the sidebar items (“Search”, for example) would be desirable to retain for mobile devices, but I don’t want the tag cloud, blogroll, etc. Since the sidebar is generated by the WordPress widget plugin, and I can’t add CSS classes to individual widgets, I might just have to duplicate the applicable widgets in a handheld-friendly fashion and suppress them in the other stylesheets.

Jeff only subtlely indicates (in the HTML example) how you go about applying different stylesheets for different devices: the “media” attribute on the “link” tag. The HTML 4.01 Specification describes several possible values for this attribute: “screen”, “tty” (really?), “tv”, “projection”, “handheld”, “print”, “braille”, “aural”, and “all”. And of course, it adds ominously: “Future versions of HTML may introduce new values and may allow parameterized values.”

The spec also alludes to the CSS @media rule, which allows you to style conditionally based on media type within a stylesheet. In that case, you would specify media=”all” in the “link” tag. That would actually be a better option in my case. How about yours?

Posted in Blog Blog, Geek Meditations | 1 Comment » RSS 2.0