t

Thursday, August 25, 2005

TCP/IP at 70 MPH

I've been giving my Sprint card a serious work out this past week. We're on a 2,800 mile round-trip taking my oldest son to school in Oklahoma. Sprint coverage is pretty consistent along the Interstates across VA/TN/AR/OK. Though the rougher the terrain, the more variable the signal. Overall throughput is decent as long as I have at least 2 bars, though I'm having to get accustomed to modem speeds all over again. I did an 8M download as we drove through several cells as the signal waxed and waned, and even dropped off the Sprint network altogether at points, and then automatically re-established a little further down the road. (When this happens, the Novatel Connection Manager shows "Searcing for network" and then "Connected" again, with no intervention on my part.)

During these "brown outs" existing TCP connections simply stall until the air link comes back, (which can be for several minutes). Then packets just silently resume. (It's under these conditions that TCP/IP really shines.) New connection attempts fail on the DNS lookup... It might be nice if the adapter did some automatic retries, or even delayed sending the request when it realizes that the air link is not viable.

A nice feature of the Novatel Connection Manager is that it automatically establishes a new session after Standby or Hibernate.

Browsing

It's been a while since I've done much browsing at ~modem speeds. I am finding that open-in-new-tab really helps here. Ctrl-click a link to start it loading in a new tab, and continue reading on the current page until you can see that the new page has finished. Pages with excessive embedding are the most painful.

It can be frustrating trying to browse when coverage is spotty. Not only does your whole flow come to a halt, but you get popup DNS errors from the loading tab. This error leaves the new tab window an empty zombie - F5 doesn't attempt a reload, but you can go to the address bar and press enter, again and again...

Google Maps

It is very cool to be able to search "restaurant" in the "current map view". Much better than having to watch for those little Interstate signs that are posted just before the exits where you have to make high-speed culinary/lane-change decisions. The trick though is to find and zoom to your current location before you're no longer there! Hey Google: is GPS integration on the way!?

The drag-panning feature works surprising well. Google seems to have optimized the amount of data that flows across those Ajax connections to accomplish the map tiling. One glaring definciency of Google Maps for this task is the lack of mile markers. Now I need a "Show This Location in Mapquest" extension for Firefox. (Zeroing in on a location in Mapquest is MUCH more bandwidth-intensive than Google Maps.)

Instant Messaging

Instant messaging works great even at the lowest signal levels, but the "brown out" transparency can definitely interfere with the assumed immediacy. For example, I was talking back and forth with my niece for a while, then it seemed like she stopped talking. Several minutes later a bunch of her messages came across all at once, (and I assume mine pushed across to her). Even though her screen name continually to show as active in the buddy list.

Thunderbird/Sauce Reader


Not surprisingly, these make very effective use of the low-bandwidth connection.

VPN

I know from prior experience that my AT&T Network Cient on the IBM corporate VPN is fairly sensitive to intermitten connectivity. The heartbeat will timeout the session pretty easily in the presence of limited connectivity, so the fact that it stayed connected for long periods of time tells me that even when the air link is poor, the adapter maintains sockets and keeps packets moving. The actual usability of the VPN connection is another matter, however. The VPN overhead, plus Lotus Notes in my case, is like a scene out of The Matrix!

Google Earth

As expected it takes a lot of bandwidth to load the rich imagery. Using the tilt feature I was able to get an idea of what the landscape was going to look like around our hotel stop. It works, but I didn't find a really compelling reason to sit through the long streaming process.

Speed Tests (broadbandreports.com)

Because the signal fluctuated quite a bit as we drove along, it's hard to really say how many bars. (Kbps up/down):

0-1 bars: 21/22 (lots of connection stalling)
1-2 bars: 43/58
2-3 bars: 58/50
3-4 bars: 60/82

I see a little better throughput on terra firma:

2 bars 62
3 bars 73
4 bars 81

Whether moving or standing still, the correlation between signal strengh and throughput appears to be fairly linear, though the slope is much steeper when you're in motion; and has a lot more variance, of course.

The main thing here is that all this experimentation has been instrumental in distracting me from the separation anxiety. Stuart is going to do very well in the environs of Oklahoma Christian University. Lots of hard work, lots of caring people... Get a jump kido.

Tuesday, August 09, 2005

Star on the Horizon

Gotta be pretty proud of my youngest son, the budding actor. Kirk went to an extras call at American University last fall where they were filming a sitcom pilot, and he ended up landing the Featured Extra part: Ira Flagen, son of the advertising exec.

The key scene in the episode, (the one where you can see Kirk), is at Ira's bar mitzvah where he's waiting for the distracted video guy to start rolling so that he can show off his new dance step. "The High Voltage Shuffle" ended up on the cutting room floor, but Kirk plays the nerdy guest of honor very convincingly. He's the one in the background wearing an oversized suit, wiping his brow, hiking his pants, and generally acting impatient. Notice also in the conference room when Ira's dad takes the phone call, that you can also see him in the glass reflection.

They liked him so well that he made it into the credits - 2nd to last under "Almost Extras". All for just a day's work. Way to go Kirk, keep up the good work!

Here are the first 2-minutes of the episode - then I jump directly to the credits:



CUT! PRINT!!

Tuesday, July 19, 2005

To blog ... or not to blog

Why I decided to start blogging,
... and why my blog is so empty

You know, cause everyone else is blogging,
... but someone else must have already said *that*

As an outlet for my very active mind,
... but my mind goes faster than my keyboard

What I have to say isn't very interesting,
... but I haven't said anything yet

I don't have any readers cause I haven't said anything yet,
... but I haven't said anything yet, cause I don't have any readers

Friday, July 15, 2005

On being a .BAT Geek

I just realized something that really rubs me the wrong way. I have become quite the expert at writing DOS bat files in the past couple of years. There are a couple of reasons this bugs me: 1) I come from a UNIX background, and the worse than lame facilities provided even in Windows XP really grates on my nerves. 2) I have cygwin installed on all my computers, so I have glorious shell facilities at my beck and call. And 3) people are starting to recognize me as the "BAT file expert", or what ever you would call that...

So why has this happened to me? Because even for little utilites that I devise for myself, I like to be able to share them. And the only shell facility I can assume that people have at their instant disposal is DOS. (Note that "sharing" often means ME, because I find myself dealing with someone else's starkly configured computer.)

I have actually found ways to do many things that I thought were impossible in BAT files. But the secret recipie is invariably wacked. For example:

I finally found a way to execute a command and take its output as a value - sort of. It turns out that you can feed a command line to the FOR command, which allows you to iterate through the result. But just know that the already lame command line substitution mechanisms are further restricted in this mode mode of FOR.

I still recommend just-say-no when it comes to writing BAT files, but this site is indispensible when you absolutely must write one: http://www.ss64.com/nt/

Friday, June 10, 2005

War Blogging

I just got my Sprint data card, and I decided to see if it could maintain a TCP connection all the way home in the car. I figured the easiest test would be just to keep my IM client open. It keeps a heartbeat going and it will yell at me right away if the connection is lost.

Well I got all the way home, (via the gas station and grocery store), without a hiccup. As I drove I could hear buddies coming and going, and I even typed a little as I drove - only at red lights and when I was stopped in traffic, which was most of the time!

One interesting thing I noticed when I got home is that AIM informed me that I was now connected from more than one location, so I guess Sprint moved me to a different server at some point as I moved between towers - maybe when I crossed a county line? My battery gave up right at 90 minutes, but by then I was at the grocery store near my house, so I got a pretty good coverage check.

Now that I look at the IM log, I'm thinking this might be some new kind of (sadistic) art form. Would archeologists be interested to read the blow-by-blow account of one miserable commuter's drive home on the ancient highways Northern Virginia? And when you think about it, isn't this yet another form of blogging? And since I was hunting for wireless signal, isn't this basically a form "war-driving"?

So I guess I was "War Blogging" !

(16:59:12) screen-name-omitted: in the car now - I WON'T ANSWER any messages
(17:02:41) screen-name-omitted: red light :)
(17:04:58) screen-name-omitted: same red light :(
(17:05:06) screen-name-omitted: this cool
(17:07:13) screen-name-omitted: this is war blogging!
(17:25:22) screen-name-omitted: now for the hard part - I66
(17:26:59) screen-name-omitted: looks real baaaad
(17:41:31) screen-name-omitted: compton rd
(17:46:34) screen-name-omitted: cub run
(17:53:54) screen-name-omitted: rest area - ugh!
(18:00:30) screen-name-omitted: manassas - rockin'
(18:08:05) screen-name-omitted: bypass - is that dinner i smell??
(18:09:21) screen-name-omitted: 29 exit baby
(18:13:09) screen-name-omitted: gas station
(18:18:57) screen-name-omitted: going in to giant... hope the battery lasts...
(18:29:59) screen-name-omitted: that's it for the battery

There, now that's worse than Vogon poetry
.::.

Wednesday, June 01, 2005

Ah Ha! We have arrived

You say: "Ah Ha! That's how we should have done it in the FIRST PLACE!". But I'm thinking: the solutions we arrive at are the result of where we started and what we saw along the way.

Apparently whatever you did in the first place, and then the second place ... was instrumental, since it ultimately got us to "Ah Ha!"

Anyway, saying: "THAT'S how we should have done it" presumes that NOW we have arrived.

The journey is never quite complete: Ah Ha!

Thursday, May 19, 2005

Hello? Is this thing on??

When someone shares an interesting concept with me, I like to ask:

        "... for example?"