So, worth writing down, even while still buzzed (K10K housewarming — good stuff), but jwz has definitely lost touch. We couldn’t get into DNA Lounge because my flat pants and my Rod Lavers weren’t good enough apparently. Obviously the geeks are no longer his peoples… Well, such is such and all that.

As alluded to earlier, I’ll be in the Bay area this weekend, tomorrow to Sunday afternoon, Valleyish early in the week, and in SF proper for the weekend. My Saturday and Sunday are currently quite unstructured, so, if anyone wants to hang, give me a buzz, randomfoo at gmail.

One unfortunate thing about ServerMatrix‘s service is their lack of publically accessible authoritative bandwidth usage. This is nothing that a little WWW::Mechanize can’t solve:

# User Agent
my $a = WWW::Mechanize->new();
$a->agent_alias('Mac Mozilla');
# TokeParser
my $stream;
# Login
$a->get('https://orbit.theplanet.com/');
$a->field('username', $login);
$a->field('password', $passwd);
$a->submit();
# Get Bandwidth
$a->get('https://orbit.theplanet.com/nav_hardware/a1_bandwidth_utilization.html'
);
$stream = HTML::TokeParser->new($a->content());
while(my $token = $stream->get_tag('td')) {
  my $text = $stream->get_text();
  if($text =~ /^Estimated RAW Usage: /) {
    my @t = split(' ', $text);
    print "muffins bw:
";
    print $t[3] . 'GB, ';
    printf('%3.1f%%', $t[3]/12);
  }
}

This runs on cron and gives me a nice little output like so on my desktop (care of GeekTool):

My Treo 600 unfortunately started crapping out on me last week and has since gotten worse. I was finally able to get a tech at the Sprint Store to look at it and got a ‘fail’ status back. It’s still under warranty (just barely), so I’ll be getting a replacement.

This, of course, doesn’t mean that they opened a box up, but rather that they’re getting one shipped out, scheduled to arrive Oct 4. After my weekend trip up north where I’m sure to need my phone. I’m going to see if I’ll be able to resurrect my old Timeport for the trip.