Geekier than Thou—Stardate 2006.1028


And you thought your family was geeky? Left to right are Isaac, as Lieutenant Commander Data; Doug as Chief Engineer Wilcox, stationed on the USS Reliant; Naomi as her favorite Star Trek character, Princess Leia (yes, we know); Nichelle as Chief Medical Officer also aboard the Reliant, and David as Ensign Monroe, leader of the Elite Force on board the USS Voyager.

Yesterday we attended Phoebe Dunn’s thirteenth birthday party. Now, the Dunn family is slightly fond of Star Trek, and the only serious contenders in our immediate circle for being Geekier than the Wilcoxes. Phoebe wanted a Star Trek themed party, and her mom put it together wonderfully.


I look great in this uniform. Chief Engineer Wilcox, reporting.

Over half of the attendees were in costume. Nichelle whipped up great stuff for Naomi, who insisted on being her favorite Trek character, Princess Leia Organa. Phoebe and her brother Chas were Klingons (“old school” without the forehead ridges). Their mom Trish was an Andorian female. Their father Charlie, who took these wonderful photos, was the classic redshirt who dies on an away mission. Nichelle looked fabulous in a Starfleet medical uniform, complete with medical tricorder, that arrived literally an hour before we needed it, courtesy (like our uniforms) of eBay.


Trish Dunn as an Andorian female.

Trish Dunn made great Trek-themed snacks, or relabeled existing ones. We drank roctagina, and Klingon blood wine, and snacked on candied tribbles and targ-on-a-stick. Delicious!


David as Ensign Monroe, leader of the Elite Force serving on the USS Voyager. He appears to be eating some of that wonderful targ-on-a-stick.

Nichelle made David’s costume, based on the character Ensign Monroe in the Star Trek Voyager Elite Force video game. It came out great. David provided expert design advice, and was wearing the costume again this afternoon.


Isaac as Lieutenant Commander Data.

Isaac wore a uniform I used to be able to fit into in my academy days (we presume Data is now in a command position, as he’s wearing a burgundy uniform).


NaNi smiles as she hold up a tribble she “caught.”

One of the games for the younger kids was a tribble hunt. They had a ball finding these creatures.


NaNi hugs the birthday girl, Phoebe.

We also played a homemade Trek-ized version of Win, Lose, or Draw. Phoebe had made the topics, and they came in two flavors: “painfully easy” and “so-hard-a-Vulcan-would-be-stumped.”

I tried to stay in character and told stories from engineering, like about the time we convinced a cadet that we really did cook “hot dogs” in the dilithium matrix as a rite of passage on the Reliant, and got him to try it just as the Captain showed up for a “suprise” inspection. Then there was the transferee from the Enterprise we sealed in the Jeffries tube, and tweaked the environmental controls so they matched the conditions of a Borg cube. That was a bit ruthless, but he got though counseling just fine.


Doug and Nichelle as Lieutenants serving on the USS Reliant.

It was a great day. The Dunns hope to repeat this at least once a year.

IE7 Doesn’t Like gzip Compression

Geek Version:

(See the Non-Geek Version below, as well as the Blonde Version.)

It seems that Internet Explorer 7 doesn’t like gzip compression being served up from at least some Web servers.

For a week or more, I’ve been aware that getting to our BLOG using IE7 was impossible. (Bob Richardson first pointed it out to me.) More specifically, one could get to the BLOG, but it would nearly immediately disappear with the “Internet Explorer could not display the webpage” being displayed instead.


The Wilcox Family BLOG, before today, as viewed by Internet Explorer 7.

I hunted off and on for the past week, using a computer at work we have at the office running the prerelease version of Windows Vista (which is amazing, for the record). I removed pieces of the BLOG, checked for logs that would tell me the problem, but was completely unsuccessful. I could take off every piece of the BLOG, and just display some text via PHP, and the problem would still occur; but, if I saved the HTML to a plain file and served that from my Web server, everything would work fine, which seemed ridiculous, as the HTML delivered was exactly the same.

While we were waiting for a server restart, I explained all this to my co-worker RaviShekhar, and he said, “Have you looked at the headers?” So I took a peek. The header from the BLOG that failed in IE 7 looked (retrieved via Firefox) like this:

Response Headers - http://blog.wilcoxfamily.net/

Cache-Control: no-store, no-cache, must-revalidate, 
   post-check=0, pre-check=0
Connection: close
Date: Wed, 25 Oct 2006 20:22:53 GMT
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Content-Encoding: gzip
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Vary: Accept-Encoding
Server: Microsoft-IIS/6.0
X-Powered-By: PHP/4.3.11-dev, ASP.NET
X-Pingback: http://blog.wilcoxfamily.net/xmlrpc.php

200 OK

And the one from a nearly identical BLOG that worked fine looked like this:

Response Headers - http://robots.wilcoxfamily.net/

Connection: close
Date: Wed, 25 Oct 2006 20:23:27 GMTm 
Content-Type: text/html; charset=UTF-8
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET, PHP/4.3.11-dev
X-Pingback: http://robots.wilcoxfamily.net/xmlrpc.php

200 OK

One obvious difference is the gzip compression. What happens is this: Certain Web servers, to save bandwidth and improve speed, will compress the data that is sent out to the browser. The browser uncompresses the data when it receives it. This allows more information, especially blocks of text, to be sent more quickly.

But what if a browser can’t support the compression? Well, the browser is supposed to communicate with the Web server, and say what it will actually accept, and this is communicated in the request header. So, a browser should only be sent gzip-compressed information if it sends a code to the server that says it accepts gzip.

I don’t yet have the header information that IE7 is sending to the server, but I think it’s sending an “accepts gzip” when either it doesn’t accept it, or there’s something wrong with the uncompression algorithm.

At any rate, turning off the gzip compression on the BLOG lets me visit it using glorious IE 7 (which isn’t bad at all).

To be continued (when I have time to investigate the request headers) …

Non-Geek Version:

The latest version of Internet Explorer, just released by Microsoft, would not display the Wilcox Family BLOG for more than a fraction of a second.

After much investigation, and some helpful suggestions, I found the cause of the problem, and changed the BLOG settings to work around it.

Blonde Version:

It took our blonde site visitors a week to realize that “Internet Explorer could not display the webpage” wasn’t a new BLOG entry; so, no harm done.

The Wilcox Family’s New Look

Above (click to enlarge): The Wilcox Family has a new look.

  • Isaac is Hordhunter, a Night Elf druid. (He can polymorph into a bear at present.)
  • David is Stridar, a Dwarf paladin.
  • Nichelle plays sometimes. (She is actually afraid of becoming too addicted to the game.) She is Jassariss, a Night Elf warrior.
  • I chose to be a Gnome rogue, skilled at stealth and assassination (with trade specialties of mining and—of course—engineering. I can make bombs and dynamite now, and will progress to a host of interesting gadgets.)
  • Even Naomi has a character, Chritine, a Human rogue. (I’ll have to talk to her about that outfit, or buy her a nice dress the next time I’m in Stormwind or another big city.)

Our friend Phil Luchon convinced us to get a trial subscription to Blizzard’s World of WarCraft fantasy-based MMORPG (Massively Multiplayer Online Role-Playing Game). The kids had begged for months, having used his account to play when he visited and brought his computer, but it wasn’t until trying it for myself that I realized WoW (World of WarCraft) goes way beyond wandering the game world killing monsters. Approximately 7 million other subscribers (as of this September) worldwide seem to agree.

The game world itself is huge. There are two main continents at present, and an expansion is promised later this fall that I expect will make the game world even bigger, and introduce new races to play. There are eight races, each with six different class types, such as hunters, rogues, or priests. You can pick different occupational skills—I chose engineering (of course), and can now build things like dynamite and bombs. David in particular loves to design characters; I still have the first one I created, but will definitely add more later.

WoW has an excellent social aspect as well. Quite often I team up with my friend Phil, or other people who regularly game on the server I use at the time I use it, and go out adventuring. Besides teaming up for quests, there are ways to set up official guilds of similar-minded gamers within the game, including creating one’s own guild insignia.

I love exploring. The terrain is vast and wonderous, and varies as much as the terrain on Earth. There’s an underground tram that runs between two large cities, and you can rent a griffin to fly on to get between most other major locations. The game has e-mail, banking (including safety deposit boxes), an auction system much like eBay, and quite a bit of humor.

Last night I set up NaNi’s in-game button bar to include some of the commands we normally type, like “whistle,” “train,” “silly,” and “dance.” (“Silly” makes the avatar tell a joke. “Train” is one of our favorites, as it makes any of the characters pretend to be a locomotive, including appropriate gestures and whistles.) Anyway, when NaNi was away from the keyboard, David walked up and started clicking the icons I set up for NaNi. She noticed, and yelled, “Hey! That’s my character!”

I’d write more, but I’ve been itching to play, and the kids are finally in bed …

Update

After nearly a month playing World of WarCraft, our appearances have changed somewhat. On the left is Nichelle’s Night Elf character, with much improved clothing/armor, as she nears level 14. Nichelle is funny, she hates the idea of leaving Teldrassil, the island plateau on which the Night Elves live, because it’s so beautiful.

In the middle I’m wearing the goggles I made for my Gnome rogue character. (Engineering rules!) I have discovered that I really enjoy the real roll-playing aspect of the game, having been awed by a character named Sinisterlady’s excellent roll playing skills and imagination. My regret is that more players don’t stay in character or treat the game world as “real” and behave accordingly, even though the server we use is designated a roll-playing one. Our friend Phil Luchon and I often quest together, and we’re both developing consistent personalities for our characters. We do quite a bit of dialogue where we trade humorous insults—many involving size—back and forth, and that has been great fun.

On the right Naomi’s character is wearing a new dress that Nichelle purchased for her and mailed using WoW’s in-game e-mail system. I have sent her another one, but she has to get to level 13 before she can use it. The boys and I have helped level her character up to level 5, because NaNi loves to walk around the game world, and she kept getting killed nearly immediately once she stepped outside of her starting location.

Running Multiple Versions of Firefox Simultaneously

(Based on information from this entry at the Dojo Foundation BLOG. This information is for Windows machines, specifically for concurrently running Firefox 1.0.7 and 1.5.0.x, but the same information applies to other versions of Ff as well. David Schontzler’s aforementioned post covers ‘Nix machines.)

As a Web developer on some fairly complex projects, it’s important to be able to run the current Firefox browser, as well as the previous release.

These instructions are based on having first installed Firefox 1.0.7.

Locate your current Firefox profile. Normally it will be in a folder under your Application Data folder, typically such as the following:

C:Documents and Settings{user_id}Application DataMozillaFirefox

Copy the entire Firefox directory someplace convenient, so you have a backup, for when you miss a step and something goes horribly wrong. (I know—this would never happen to me, either, but I was grateful I had a backup the two times I munged this setup and had to fix my initial Ff 1.0.7 installation.) You want to be able to fix your Firefox extensions in the event your running of Firefox 1.5 tries to upgrade them, which is a one-way process.

Then download and install Firefox 1.5.0.x, to a location other than the default location. (I recommend using a directory named C:Program FilesMozilla Firefox 1.5, as C:Program FilesMozilla Firefox is the default.) Do not launch Firefox 1.5 yet. (Be sure not to tell the install wizard to launch Firefox at the end.) If you do, you’ll need to quit the browser, and replace the now-upgraded profile folder with the one you backed up.

To allow you to clearly identify separate processes in the Task Manager process list, and to avoid accidentally running the Firefox 1.5 installation without the batch file that will preserve the Firefox 1.0.7 profile information, I recommend renaming the C:Program FilesMozilla Firefox 1.5firefox.exe to firefox15.exe. However, if you choose to perform this step, you’ll need to rename firefox.exe to firefox15.exe each time you perform an upgrade (such as from 1.5.0.3 to 1.5.0.4) of Firefox 1.5. (See “Future Upgrades,” below.)

Next, you’ll need to create a batch file to launch Firefox 1.5 and load a Firefox 1.5-specific profile:

set MOZ_NO_REMOTE=1

start "Firefox" "C:Program FilesMozilla Firefox
1.5firefox15.exe" -P "Firefox 1.5"

set MOZ_NO_REMOTE=0

The above batch file presumes that Firefox 1.5 is installed in the directory specified, that the executable is named firefox15.exe, and that a user profile named Firefox 1.5 will normally be used. If you’ve used values for any of these items that are different than the recommendations above, alter the portions marked in red accordingly.

The first time you launch Firefox 1.5, the Profile Manager will appear. Create a profile that matches the name used in your batch file.

If you want to change the icon shown (on the taskbar and the Firefox title bar), create a new icon and place it in C:Program FilesMozilla Firefox 1.5chromeiconsdefault with the name main-window.ico. You can find one that has a “1.5” overlaid atop the regular Firefox icon here. You can also find utilities to change the text in the title bar itself, such as the Titlebar Tweaks Firefox extension—which, ironically, has not yet been officially updated for Ff 1.5.0.x (as of June 7, 2006). You can install an updated, but unofficial, version from here.

I have also found that using significantly different themes (skins) for my different Firefox versions helps keep them straight at a glance.

And, of course, if you prefer to make Firefox 1.5 your default Ff version, do so, and modify the batch file to point to 1.0.7 instead.

Future Upgrades

The best thing to do when one is about to upgrade Firefox 1.5.x, is rename the firefox15.exe back to firefox.exe, run the ugprade, and then rename it back. If you don’t, you’ll find that your firefox15.exe is still around, but that the upgrader has added its own firefox.exe, requiring a delete-and-rename, as well as producing some interesting quirks, like Firefox not realizing it’s been upgraded because the .exe you’re running is the old one, while everything else is new.

Remote Debugging Attachment to a WebLogic Server

Don’t believe everything you’ll find online. If you work in a moderately complex environment (meaning, you’re running a managed server instance via an admin server instance on WebLogic), you’re sure to be led astray by the dozens of articles offering guidance into this elusive technique. You don’t have to emulate Ray Milland, if you follow this advice:

If you Google “Remote debugging WebLogic” you’ll find a host of discussions about modifying the startWebLogic.cmd or startWLS.cmd files. Ignore them all (assuming you’re using WebLogic 8.1 or later)! (Also remember, never verb a noun.)

Let me review the scenario that I am actually addressing here:

  • You will be remote-attaching to a running WebLogic instance, rather than launching the instance from within your IDE. (I use Eclipse, because I’m cheap—and because version 3.1.1 really works great, unlike its predecessors—but these instructions apply to just about anything.)
  • You run your WebLogic application as an instance under a WebLogic managed server, and start/stop it using the Remote Start options in the WebLogic console.
  • You’ve tried desperately to get your debugger to attach, or your breakpoints to be hit, to no avail.
  • You have deadlines looming, and if you don’t get this one problem solved, you can never see your family again.

Okay, perhaps I went a bit overboard on the scenario, but if you’re reading this, I expect, like me, BEA’s WebLogic isn’t a platform you use every day, but one that you need to work on occasionally.

The key is that most of the documentation presumes you won’t be running your application from the WebLogic Server Console, and gives no indication that the JVM arguments, in such a case, go in a completely different place. Here’s how to prove to the world that you weren’t going insane:

  1. Log on to the WebLogic console, via http://{servername}:9999/console. YMMV as far as the port number (after {servername}) is concerned.
  2. Using the navigation tree, click on the domain on which your application resides, open the Servers branch beneath it, and click on your application’s name.
  3. With the Configuration tab in the top row selected, click on the Remote Start tab in the second row. (Be sure you don’t have Control selected in the top row, otherwise you’ll think I am just as batty as the authors of the previous 743 help documents you’ve read.)
  4. Scroll down to the Arguments: field, and add your debug settings to the JVM arguments in that field. In my case, I added -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n, which (among other things that are too cool for me to share) allows the debugger to attach to port 8787 (address=8787), and the server to start without waiting for a debugger to attach (suspend=n).
  5. Click on Apply.
  6. Then click on Control in the first row of tabs, and be sure Start/Stop is selected in the second row of tabs.
  7. Finally, you’ll need to either gracefully or forcefully shut down the server by using the links provided, and then restart the server. (You’re actually only restarting your application; the ambiguous language surrounding server is another problem.)
  8. Attach Eclipse to the server by Configuring a new Remote Java Application under Debug … Feed it parameters of the server name and 8787 (or whatever port you provided in the JVM arguments).
  9. Debug your problem.
  10. For goodness’ sake, go home and see your family!

Drop me an e-mail using the link in the sidebar, or leave a comment, if I’ve goofed anywhere. I never claimed to be perfect. Sheesh.

Big News: Doug Bakes … from Scratch

Last night, Doug mentioned that he wanted to make banana bread. Now this is major.

So, after dinner, he and Naomi headed out to the neighbors to get 1/2 cup of shortening. He tried a few homes before getting some. The only thing I had to do was put out the ingredients, and he and Naomi did the rest.

The finished product looked great and tasted great. I was very impressed. I told him, “This is just the beginning, just think of all of the things you can start making.” He wasn’t all that keen on that idea, but this morning he mentioned to Naomi that they can make more this weekend.

Doug’s teaching techniques are quite unique, too. I found him telling Naomi, “You have to let go your aggression on the bananas … feel the hate,” when they needed to be mashed. Waaaaay too much Star Wars influence here. She had a lot of fun, and Doug commented that it was fun working with her, too. Naomi also likes to help me cook, so she now gets the teaching from both of us. Which is of course helpful for her to be well rounded.

Geek Humor @ H0//3

Tonight I was reviewing science notes with Isaac (click-and-drag to highlight my answers with your mouse to reveal them):

Q: What’s the densest element?
A: Osmium (actually, it’s a tie between Osmium and Iridium)
My answer: Fifth graderum.

I also dug up Tom Leher’s famous “The Elements Song.” You can hear it attached to a clever Flash animation here, or download the MP3 yourself.

And we had some fun because Isaac couldn’t remember:

Q: What is the most commonly occurring transuranium element?
A: Plutonium.

… which led to me mimicking bits of Doc Brown (Christopher Lloyd) from Back to the Future.

Doc Brown: “I’m sure that in 1985 plutonium is available in every corner drugstore, but in 1955, it’s a little hard to come by.”

Then Isaac confounded me with this one:

Q: What kind of tree did the mad scientist plant?
A: Chemis-try!

So I added:

Q: And what kind of tree did his mathemetician wife plant next to it?
A: Geome-try!

A Conversation with My Geek Girl

Background: Naomi loves her new Geekwear. For Christmas, I bought for her a Version 2.0 T-shirt and a new Geek in Training T-shirt to replace the one she’d outgrown.

She loves the shirts! She calls the “Geek in Training” one her “Mouse Shirt,” and asked for it every day several times a day when it was in the laundry. While that was being washed, she tried the “Version 2.0” shirt. (I suppose it really should be a Version 2.4 shirt, or maybe 2.3, depending on whether John gets—as the software equivalent of a buy-out—his own version number.) She went around showing people at church, pointing at the logo, and saying, “Version two oh.” Nichelle observed:

At Christmas, Doug bought Naomi two new geek shirts. She loves them. Yesterday, I was putting her laundry away and she spotted her V2.0 shirt and picked it up and hugged it. She was already dressed so I told her she could wear it to bed. She quickly took it and put it under her pillow and remembered to get it when it was bedtime.

At any rate, Naomi’s speech is becoming much more complex (even beyond calling me a weasel or a slacker). I called home one day, and she wanted to talk to me.

NaNi: Version 2.0

Dad: Your Version 2.0 shirt? I’m very glad you like it.

NaNi: Thank you, Daddy!

Dad: You’re welcome.

NaNi: Love you, Daddy. Bye!

She melts my heart!

Geek-Boy Isaac Makes Science Mistake

Ten-year-old Isaac Douglas Wilcox jeopardized his entire future career in science today, when he described the maximum size of an Australian salt water crocodile as “seven to eight feet.”

Fortunately, his vastly more knowledgeable father was there to correct this serious breech of cognition, and he quickly righted the error, pointing out that “Salties” grow to twenty to twenty-five feet in length. (The largest ever found was 29 feet in length.)

(This post has nothing to do with the fact that Isaac loves pointing out those extremely rare occasions when I am wrong in a scientific area. It’s all about the newsworthiness, folks.)