Updating zone file serial numbers with sed

published on 2006-11-11 in computing

I made some mods to all my zone files just now (changed name servers) and needed to update all the serials as well. The name server change was easy enough:

# sed -i 's/from/to/g' db.*

But changing the serial is a little tricker. A serial number is in the form YYYYMMDDNN where NN is the update number for that day. So today would be 2006111100. This is the forumla:

# sed -i 's/200[0-9]\{7\}/2006111104/g' db.*

This says to replace any text starting with 200 and followed by 7 digits with 2006111104 . I should add this to the sed one liners page: http://sed.sourceforge.net/sed1line.txt

BTW, my high school web page is now on my servers.

I'm in your base, killin your d00ds

published on 2006-11-09 in uncategorized

I only now learned about this. But that's because I guess I am old now, I find out about the latest catchphrase after they're already tired. Still, I laughed my ass off when I was reading that and came across this:

Pumpkins

published on 2006-11-08 in uncategorized

IMG_4953.JPG
IMG_4953.JPG. Tracy and I made some pretty cool pumpkins this halloween. I made a time lapse of our pumpkin creators and put it up on vMix:

Pumpking Timelapse

For the record, my pumpkin was titled "Angry Robot" and Tracy's was titled "Makes Nathan Sneeze".

Voting traffic?

published on 2006-11-08 in uncategorized

Lots of A-Holes cutting me off...pretty sure that the reason the traffic was insane getting out of Del Mar was because everybody was rushing home to vote. I voted! Line was long, took about 40 minutes to vote.

Digital Camera EXIF Orientation Issues

published on 2006-11-06 in computing

Problem: Most modern Digital Cameras do not actually rotate an image based on the orientation, they just set a flag in the EXIF headers. Most software (including iPhoto and Preview on the Mac) will display the image properly by rotating it on load. But uploading to online based services means you have an image with the wrong orientation. The ones that plauge me are Flickr, Wikipedia, Gallery2 and vMix Slide.

jhead + jpegtran. jhead will read the EXIF headers, detect the oritentation and then call jpegtran to do a lossless rotation on the image, saving the proper EXIF headers back to the file. What does that mean? It means you will have a file that is properly oriented for display on your editing software and for uploading to online services.

jhead: http://www.sentex.net/~mwandel/jhead/
jpegtran: http://sylvana.net/jpegcrop/

There are jhead binaries for linux, mac, windows. To install jpegtran on OS X I used the Fink software package. On Linux I used yum.

To automatically detect and rotate to the proper orientation, run this on the command line (OS X Terminal):

# jhead -autorot *

Easy and fast. I ran this on all the images I have taken with my new digicams, it only took a few minutes to run thru a few thousand photos.

SUPREME NERD GOD!!!

published on 2006-10-31 in uncategorized

Nyah Nyah....

I am nerdier than 95% of all people. Are you nerdier? Click here to
find
out!

Overall, you scored as follows:

5% scored higher (more nerdy), and
95% scored lower (less nerdy).

What does this mean? Your nerdiness is:

All hail the monstrous nerd. You are by far the SUPREME NERD GOD!!!

</span>

I made the front page of the UT!

published on 2006-10-27 in uncategorized

Well, I didn't, but an article I was quoted in did:

http://www.signonsandiego.com/uniontrib/20061022/news_1n22second.html

It was on the front page of the Sunday Union Tribune. Pretty damn cool. How I ended up getting quoted about Second Life is pretty funny. A co-worker sent out a mail to staff on a Friday afternoon that asked "anybody know what Second Life is?" I responded, thinking I'd just give her the quick scoop on the thing..I mean, I've logged into it 3 times and watched that Google Tech talk on it. So, I know what it is and what makes it tick. But instead, in response, I got a confirmation with the UT for an interview 10AM that Monday. They even asked if they could take my picture. So of course, I had to spend the weekend getting brushed up on SL. And then they didn't quote me on any of the stuff I studied up on:

Nathan Hubbard, networking manager at San Diego video-sharing service vMix, said he is personally and professionally interested in Second Life. He and others at vMix are looking for a way to provide an in-world video service.

"I went into a club (in Second Life) to check it out,” he said. “I was just wearing jeans and a T-shirt. Everybody else was dressed up. I felt out of place. Of course, I've had that experience in real life. I'm a big geek.”

His avatar shares the first name of Nathan. He asked that the avatar's last name not be published because he doesn't go to Second Life to socialize.

“I don't really go there to play,” Hubbard said. “I'm more interested in the entrepreneurial opportunities.”

Well, there you have it. My .15 microseconds of fame for this week. Heh. I still don't 'play' SL much, but if you have an interest in meeting up 'in world', let me know. Or you can SLurl your way to my humble abode.

And for the record, I didn't call myself a geek. I called myself a nerd and suggested that the journalist should put that down as my title. ;)

Update: I guess that article has been sourced/quoted by other papers:

http://www.paramuspost.com/article.php/20061103090214491

Monterey Historics 2006

published on 2006-08-23 in uncategorized

Went up to Monterey Bay, CA for the Historics again. It was pretty fun this year. John, Mark, Karl and I went up for the 4 day trip. We took John's Ford Escape, Karl's 2002 and Mark's MR2 Spyder.

Highlights:

Using the MR2 Spyder Frunk
http://www.flickr.com/photos/n8foo/222457809

Karl pissing off the side of a mountain
http://www.flickr.com/photos/n8foo/222459017

Mark doing a dusty burnout and subsequently John and I nearly getting
killed in a head-on collision
http://www.vmix.com/viewVideo.php?ID=1243215

The current model Toyota F1 race car setting the Laguna Seca all time lap record of 106.309. He (I think it was Ricardo Zonta) beat it 3 times that weekend, besting the 2001 record (Honda Champ car) by more than a second. And more than 4 seconds faster than the Ferrari in 2003.
http://www.vmix.com/viewVideo.php?ID=1243220

A million Coopers on the track
http://www.vmix.com/viewVideo.php?ID=1243222

A million Mini's:
http://www.flickr.com/photos/n8foo/222444643/in/set-72157594247743094/
http://www.flickr.com/photos/n8foo/222444004/in/set-72157594247743094/ (hehe)

Flaming Drinks:
http://www.vmix.com/viewVideo.php?ID=1243242

Seeing a Mazda RX-792P Start, warm up and rev.
http://www.vmix.com/viewVideo.php?ID=1243246

Watching a Lister pretty much destroy everyone on the track:
http://www.flickr.com/photos/n8foo/222450249

Seeing Old Yeller again:
http://www.flickr.com/photos/n8foo/222450149

Hearing a Lexus pace car tear up the track with it's super loud squealing tires:
http://www.flickr.com/photos/n8foo/222449804

Actually seeing under the hood of a Toyota 2000GT...they started them and drove them around the track. Holy shit!
http://www.flickr.com/photos/n8foo/222446206/in/set-72157594247743094/

Couple of funny plates and stickers:
http://www.flickr.com/photos/n8foo/222429701/in/set-72157594247723487/
http://www.flickr.com/photos/n8foo/222430639/in/set-72157594247723487/
http://www.flickr.com/photos/n8foo/222429724/in/set-72157594247723487/
http://www.flickr.com/photos/n8foo/222432875/in/set-72157594247723487/
http://www.flickr.com/photos/n8foo/222433231/in/set-72157594247723487/

Seeing the 2 under-hood urinals in the new Mustang GT500. LAME ENGINE BAY.
http://www.flickr.com/photos/n8foo/222430483

And some awesome driving:
http://www.flickr.com/photos/n8foo/222457169/in/set-72157594247761996/
http://www.flickr.com/photos/n8foo/222459331/in/set-72157594247761996/
http://www.flickr.com/photos/n8foo/222458611/in/set-72157594247761996/
http://www.flickr.com/photos/n8foo/222456759/in/set-72157594247761996/

The rest of my pics here:

Monterey Historics 2006: The Drive
http://www.flickr.com/photos/n8foo/sets/72157594247761996/

Concorso Italiano 2006
http://www.flickr.com/photos/n8foo/sets/72157594247723487/

Monterey Historics 2006: Paddock
http://www.flickr.com/photos/n8foo/sets/72157594247743094/

Monterey Historics 2006: Races
http://www.flickr.com/photos/n8foo/sets/72157594247749628/

Monterey Historics 2006: Misc
http://www.flickr.com/photos/n8foo/sets/72157594247765359/

Been a while.

published on 2006-08-03 in uncategorized

...since last I posted in my blog. I've been so damn busy with work. But I'm slowly getting things under control and hopefully having more free time to do these sorts of things.

What have I been up to lately? Hrmm. Check out some of these vids:

Now for something that entertained me quite a bit this morning:

From somethingawful:

Whew. And for any 14-year-old girls who love Avenged Sevenfold who might be reading this: it’s not too late. You have until the age of seventeen to start liking real music, but after that you’re pretty much doomed to liking awful shit for the rest of your life, so straighten up now or you’ll eventually become a pregnant stripper, and you’d better hope against hope that Myspace is still around then so you can find a dad for your little sack of crap.

A 14 yr old's response:

...HEY IM A FUCKING 14 YEAR OLD AND UMM IM NOT GUNNA END UP A PREGNANT STRIPPER BECAUSE OF A BAND!!!! ...

And his response to that:

It may be true, Chitchatgirl, that you will not end up a pregnant stripper because of a band. You will end up a pregnant stripper for any number of diverse and inevitable reasons, which may include your love of Avenged Sevenfold, but may be entirely peripheral to it. You may become a pregnant stripper because of your crystal meth habit, or because you were abused as a child, or simply because I am going to devote about 3% of my mental energy, from this day forth, to willing you to fail. Hey, it probably won't make any difference, but when you do fail, it'll make me feel psychic.

Truly great. The rest of the thread is here: http://www.somethingawful.com/index.php?a=3990

Bender Background

published on 2006-05-01 in timelapse

It's been about 10 years since I made my own custom background for a computer. But after some inspiration from a screen shot I saw of someone else's PC, I made a background with my favorite cartoon character, Bender. I used the Gimp on my Mac to make it, thought I'd share it with all my many, many readers. All 3 of you. But I still made one for both right-hand and left-hand users. It's formatted 1440 x 900 and pretty subtle. Click to see full rez version

and

BTW, I can recommend using the Gimp for your image editing on the Mac. It worked out well and didn't cost a dime. There are a few different options, one of which is Gimp-Mac, a pay version that is packaged in an Aqua wrapper so you get a good UI. The other options all require X11 on your mac. You can have Fink install it or you can do what I did and download Gimp.app. It doesn't have a Mac UI but it worked fine and could crank out this image pretty easily.

This weekend I changed the air filter, oil and oil filter in my Tacoma. Made a quick timelapse movie of the oil filter change and a quick wash.

Also saw a really huge lizard today. He was a monster!