Last night I had a sudden feeling if illness. It hit pretty quickly and I decided I'd take a nap before my scheduled 4th Edition Dungeons and Dragons game at 8pm. I ended up passing out in my chair, only to have my wife wake me up at 9pm, at which point I stumbled upstairs, didn't set any alarms, and just crashed. I slept until 0715 this morning, which is 2 hours late for me, but I felt fine. I'm guessing my body was just telling me that I needed sleep.

On my drive into work (in much heavier traffic than normal) I tried to listen to the latest Podcastle, but couldn't get into it, so I told the trusty iPod to "shuffle all". Now, doing that on my iPod can be interesting, since my musical tastes include just about everything... Mozart and Bach, to country, to old school DC Punk, to reggae, to indie, to death metal, to hiphop. This morning though, it gave me a perfect playlist and I didn't have to skip through anything.

1) Operation Ivy - I Got No
2) The Bloodhound Gang - Your Only Friends Are Make Believe
3) Matisyahu - Dispatch the Troops
4) Danzig - How the Gods Kill
5) Prodigy - Serial Thrilla
6) Polecats - My Baby Said #2
7) Incubus - Idiot Box
8) PM Dawn - Intro
9) Paw - Last One

I didn't skip through anything, and when each song came on, it was perfect for the traffic I was in, and the mood I was in. I've never had that happen before, and it worked quite well.

Now I'm at work, and finishing up a database migration that has been giving me grief for quite a while now. I hope to get it done this week.

Lazy Sundays are the best.

New J!NX stickers on the Subaru :-)

My son's ninth birthday is coming up at the end of the month, so we got him a present. He had been using my original iPod purchase (4 years ago, a 4GB Mini) and it finally crapped out completely, so I told him that for his ONE present, he could pick the color of a new Nano. He chose PRODUCT(red), which is fine with me. I ordered it at the end of July and had it engraved, and we gave it to him early.

Monday night, I commented to him that he needs to be more careful with it, since it's by far, the most expensive thing he's ever had (noting that the cost was more than the crappy old 13" TV, cheap DVD player and PlaystationOne combined, that he has in his room on weekends) [I think he may be a bit spoiled, now that I type that out]. He HAS been getting a lot of use out of the iPod and he loves it, but he wore out the neoprene case that I got for it, by removing the iPod over and over and over.

I found a different case that was available at the local Target in town, so I recommended to my lovely wife, that she pick that up for him on Tuesday after swimming lessons.

About 1130 on Tuesday, I get a call on my cell. It's my wife, who says, "I'm too upset right now to tell you, so I'll have the boy tell you."

"Okay, put him on." Insert *sigh* here.

Boy: "Hi, Dad."
Me: "What's up, bud?"
Boy: "I had my iPod in my pocket when I went in the pool."
Me: ...long pause... "You're kidding, right?"
Boy: "No."
Me: "I'm assuming it no longer works. Is that correct?"
Boy: "Yes, sir." and then adds in a WAY too indignant tone, "Well, isn't there a warranty on it?"
Me: somewhat peeved by the attitude, "Now is NOT the time to be asking me about a warranty. Please let me talk to your mother."

So, now it's dead, and I'm going to see if Apple will replace it. The boy and I had a long talk yesterday about carelessness, and whatnot. I'm still not very pleased.

Someone remind me later to properly blog about NYC this past weekend. For now, I'm buried underneath DB migration and bugs.

Last night on my way home, shortly after turning onto VA-234, the passenger rear tire on my trusty Subaru blew out (nothing too violent, but I had to get off the road pretty quick). I made NASCAR like time in changing it (under 10 minutes, judging by the timing of calls to my wife in my call log) and that includes getting the piles of crap out of the cargo area of my car to get AT the spare.

I called SWMBO then, to have her look up a nearby NTB, and thought, "Wait a second! This Garmin Nuvi has information like that in it!" I looked up auto repair near my position, and scrolled down until I found an NTB, and lo-and-behold, one 6 miles, on the same road, in Manassas. I thanked my wife for her valiant efforts, and headed east to get new rubber.

Since we are going to NYC this weekend in the 'ru, and that's gonna be a long trip, I turned down the free "road hazard warranty repair" of plugging the tire, and got two new skins for the rear of the car, and a precision balance (since I'm not a fan of vibration over 70MPH) Within 40 minutes of arriving, I was outta there and on the way home. (The Nuvi did give me some bogus directions that I ignored until it figured it out, but that's okay... I'll forgive poor Karen. She's from the other side of the planet.)

Check out my twitter or brightkite feeds tomorrow to track our progress to the Big Apple ;-)

Two weeks ago, I ordered myself a GPS system. More specifically, I picked the Garmin Nuvi 350, which is NOT a traditional GPS, but a Personal Navigation System. I was mildly disappointed that it did not support the saving or dumping of raw GPS data. After playing with it, and figuring out the basic hacks for it within a few days (I was fully up on it by Thursday, got it on Tuesday) I acquired a "straight GPS" from my buddy Erik. The second device is a Delorme Earthmate USB. This thing is great, and like many devices, has better support in Linux than it does in Windoze.

I got GPSDrive working, talking to gpsd, along with a horribly written BASH script that I fat fingered and failed me this morning. Here's the corrected one:


#!/bin/bash
# $HOME/GPS/scripts/FollowMe.sh
# author: Me!
# last updated: Mon Jul 07 07:19:56 EDT
# abstract: Polls gpsd and sends results to brightkits
# this script is NOT pretty, but it's commented

# start gpsd as root
sudo gpsd -n /dev/ttyUSB0

# create directory for this run's data and define files
DATE=`date +%y%m%d-%H%M%S`
mkdir ~/GPS/$DATE
GPSDUMPFILE=~/GPS/$DATE/dump.nmea
GPSDRIVEFILE=~/GPS/$DATE/dump.gpsdrive
RSLTFILE=~/GPS/$DATE/dump.rslt

# poll gpsd every $INTERVAL minutes
INTERVAL=10

# my shitty while loop
X=1

while [ $X -eq "1" ]
do
# poll gpsd with netcat and output to the nmea dump file
echo r | nc -i 3 localhost 2947 >> $GPSDUMPFILE
# convert the nmea data to simpler gpsdrive data
gpsbabel -i nmea -f $GPSDUMPFILE -o gpsdrive -F $GPSDRIVEFILE
# sample most recent result
CURRENTRESULT=`tail -1 $GPSDRIVEFILE`
# for debugging, echo the result to the terminal and read the result
# with festival
echo $CURRENTRESULT
echo '(SayText "Uploading current location to bright kite dot com '$CURRENTRESULT'")' | festival --pipe
# create the file that will be mailed
echo "@ $CURRENTRESULT" > $RSLTFILE
# mail the file with mutt (keep in mind that your .muttrc will be
# used for this
mutt -b whereami@checkin.com whereami@checkin.com < $RSLTFILE
# i know... bash can do this, but i used bc :-P
sleep `echo "$INTERVAL * 60" | bc -l `
done

# the script is just killed by a C-c


I know, it's not pretty at all, but it works (I think... I only missed the "@" symbol last night in the $RSLTFILE, but I was tired.

Check my twitter and brightkite feeds around 1600 today, and it should be working :-)

Newer Posts Older Posts Home