Quickie: Browser Detection

I haven’t had much time to do anything but sleep or work the last few weeks but I had to take a quick break to share something very, very cool.

I needed to add some browser detection code to my current project. This is such a standard thing I knew someone had to have written a version that I could use and lo and behold, Mozilla has done it: The Ultimate JavaScript Client Sniffer.

The page is marked as obsolete and a historical reference but that’s okay with me. I’m trying to detect obsolete browsers, so I figure it’s appropriate.

Detroit Hackfest Redux

I’m back home and more or less caught up on sleep after this weekend’s Ubuntu Detroit Hackfest. It’s a nearly six-hour drive each way but it’s worth it to hang out with everyone occasionally. We ate good food (thanks to Kattni’s wicked cooking skills) and even did a little keysigning. Thanks again to Kattni for letting everyone crash at her place. Saves money on a hotel, which makes it much more likely I can attend in the future.

In the end, I finally decided to start hacking on Tomboy. Step one is to make it easy to find and connect to other Tomboys on the network.

Thanks to Charlie, who told me about the GnomeVFS bindings for Zeroconf aka Rendezvous aka Bonjour. If you don’t know what that is, in a nutshell, it lets you publish what services are available on a machine. You could, on your mail server, use Zeroconf to announce that you have smtp, imap, and pop3 available. It’s a way to make shit easy when connecting people together.

I’ve started working on Mono bindings for the Zeroconf stuff. I have some of the calls working. Others I’m having some difficulties with and I may need to turn to the gtk-sharp-list group for some advice. One particular struct is giving me headaches

I’ll get the code posted up here soon and hopefully get some working bindings released in the near future. Once the binding is done I can start to do the actual integration work in Tomboy, which will be exciting.

After a while the code began to blur and progress grinded to a halt. Still, I made lots of headway and got to meet some cool new hackers. Hopefully I’ll be able to make it again in the future. After I got home I realized that I never did leave Andrew any money for the food we consumed. Sorry dude! I’ll make it up to ya when you’re in Chicago next month.

Detroit Hackfest

I’m heading to Detroit tomorrow to hang out with Jorge and the rest of the Detroit crew. A weekend of hacking on code and eating unhealthy food. Just my idea of relaxation.My only dilemna is what to hack on. Here are the current candidates:

tomboy – Adding network support so that you can access and search notes across multiple machines. Ideally advertised with rendezvous. No more wondering which machine you left a note on.

libnautilus-pr0n – Add some new functionality to my nautilus media-sorting extension, like exif tags and perhaps video support.

gnome-launch-box, a very cool launcher. I’ve patched it to work with Ubuntu Breezy. There’s still work to be done to improve the performance. I still don’t know if this is actively being maintained. I haven’t been able to get an answer from the projects maintainers.

Porting Expresso to Linux/Mono. Expresso was originally released on the Code Project. I’ve talked to the author, Jim, and he confirmed that I’m free to port the original code to whatever I need. This would be a very useful tool to have in Linux.

I know Jorge and n0p are interested in gnome-launch-box. Andy is excited about porting Expresso. I want to do them all but I know that’s not logistically possible. I guess I’ll let peer pressure decide for me.

Touring Wisconsin

5 days
1,619 miles traveled
78.6 max speed
41.6 average moving speed
38h 57m moving

Sights seen:

  • Amish Ambulance
  • Geographic center of western portion of the northern hemisphere
  • Found our first geocache

  • Amnicon Falls


  • What looked like an old fort or trading post in Ashland, WI

  • Deluth, Mn
  • Lake Superior
  • Two bald eagles
  • A group of lost conselors-in-training 15+ miles from camp

A long but fun weekend. It’s always good to get up north and see the family. We had a nice little camper we stayed in, with easy access to shower facilities.