Default dns names

Once upon a time I knew how to configure BIND to send a canned reply for lookups to undefined IP addresses. Thus, a lookup of 192.168.1.16, if not assigned to a hostname, would return as “dhcp-16.example.com.”

Now I can’t remember what BIND option actually did this. Any other sysadmin geeks out there know how to do this?

Update: Found it! It’s the $GENERATE feature. Cool!

Smiling in passport photos

Don't dare smile

I just had two sets of passport photos taken, one at work and one at the local Costco. Both photographers told me not to smile in my photographs: that they could get rejected by the State Department’s passport processing if I were smiling. I thought that was ridiculous but to hear it from two photographers made me wonder.

Checking the Internets, I see there are differing opinions on whether this is a legitimate requirement. A few web forums say smiling is (and is not) allowed. The U.S. Consular Services in Canada office (where one would expect to find the official word) says you may smile if you wish.this is because smiling breaks the facial recognition software. Now, I would think any facial recognition software that can be defeated by the bad guy smiling isn’t worth much. I chalk it up to more security theater.

Interestingly, the Costo guy asked if my photograph was for a U.S. passport or a Canadian one. Apparently you can still smile in your Canadian passport photographs. No wonder Canadian travelers get better welcomes than Americans.

Sound Choice in the news again

I was delighted to read the story in today’s Charlotte Observer about Kurt Slep and Sound Choice, fighting back against illegal copying of their karaoke music. The company took a beating when unscrupulous karaoke jockeys (“KJ’s”) downloaded their music rather than paying for it.

While I was sad to hear how devastating music piracy has been to Sound Choice, I was glad to read about the history of the company, including the time in 1985 when I was one of its first employees.

Kurt, give me a call if you need a vocalist!

East Raleigh Community Day

I am back from a fun but busy day at the East Raleigh Community Day. I was the master of ceremonies for the four-hour event, and also ran between booths to fetch supplies when needed.

It was fun, there was a good turnout from the neighborhood, and lots of kids got school supplies. That’s a good day in my book!

You can see pictures on Flickr here.

Changing directions again

… well, not exactly changing directions so much as returning to the direction I’ve traveled before. Today I put in my notice at one of America’s great places to work. I have landed a sales engineering position at a growing software company. In a lot of ways it’s pretty much my dream job: I get to do what I love to do best, the folks at the company are all really cool, and I can really make an impact right from the start. I had been looking for the right position and it looks like it found me.

Sales engineering takes a combination of technical and people skills. While it’s easy to find people who excel in either category, it’s not often you find someone who excel in both. I’ve been using my technical skills at my current job but almost none of my people skills. This gives me a chance to perform while still being a geek. I love it.
Continue reading

Railhawks

We went last night to watch a game between our local professional soccer team, the Carolina Railhawks, and the Rochester Rhinos. They were having a ceremony at halftime to honor the athletes from each CASL team who were recognized for their outstanding sportsmanship. I am quite proud that our daughter Hallie was among those good sports.

We got lost on the way to the stadium, arrived late, and endured an especially sweaty night, but the family enjoyed the game in spite of the Railhawks losing 0-2. I hope we will see another game soon, even if Hallie isn’t being honored!

Fixing GNU Mailman to handle mimetypes

I host a few neighborhood email lists on my Linux server running the excellent GNU Mailman list server software. Part of my setup involves stripping pictures/documents from emails and storing them in the list archives instead. This way 300 neighbors don’t get a 5 MB attachment emailed out to them: if anyone wants to view the picture/document all they have to do is click on a link in the original email and it will be fetched from the archives.

Tonight I noticed that the MIME type image/pjpeg wasn’t being properly parsed by Mailman’s Scrubber.py script. Having dealt with MIME type problems before, I suspected that the problem wasn’t with Mailman itself but the operating system’s definition of the MIME type.

Sure enough, checking the /etc/mime.types file revealed there was no image/pjpeg type defined. A little more Internet hunting brought me to this post on the Mailman list, confirming the missing mime.type info as the culprit:

On Jan 6, 2010, at 8:18 AM, Ralf Hildebrandt wrote:

> * Ralf Hildebrandt :
>> I have a list where the attachments are removed and stored on the
>> mailman server itself.
>>
>> This works like a charm, but SOME image attachments of the type:
>>
>> image/pjpeg
>>
>> are stored as “attachment.bin” instead of “attachment.jpg”
>>
>> Why?
>> Example below:
>
> adding “image/pjpeg” to /etc/mime.types fixed that:
>
> image/jpeg jpeg jpg jpe
> image/pjpeg jpeg jpg jpe

This is because Mailman uses Python’s mimetypes module to generate the file
name, and I believe that consults /etc/mime.types where available. Since
before you edit Python didn’t know anythig about image/pjpeg, it assumed it was
random binary data, hence the .bin suffix.

-Barry

From what I can find out, image/pjpeg is a type that Microsoft products choose to use instead of the image/jpeg that the rest of the world uses. I guess those crazy Redmonders are just trying to keep us on our toes, eh?