Wednesday, January 28, 2009

Electric Blue Tesla

I wonder how popular Electric Blue is as a color for Tesla Roadsters. Today I pulled off the highway and the car in front of me was another Electric Blue Tesla Roadster. I've also heard that the wife of a Google founder also has an Electric Blue one. The one in front of me today had a hard top and a guy with a goatee at the wheel. Probably not the wife of a Google founder. (I'm still waiting on my hard top to arrive.)
It's a great color. I just hope it's not too popular.

Tuesday, January 27, 2009

All Mine

I have the slopes to myself today.

Doesn't Suck

A little crunchy today but not bad.

Truveo Coverage

Thoughtful coverage of Truveo's international focus.

Saturday, January 24, 2009

Rhodes: A Smartphone Application Framework

Earlier this week I saw a presentation by Adam from Rhomobile on their application framework for smartphones. At a high level, this framework will allow you to write smartphone apps that will run on the six major platforms: iPhone, Android, Blackberry, Windows Mobile, Palm, and Symbian.

The framework is sort of like Rails for smartphones. You write your apps using a standard web technologies like HTML. The idea is to have Rails like erb files that render on the phone. They also provide Rhosync, which supports interaction between your app and back end web services. Presumably this makes it easy for your application to gracefully handle being connected and disconnected at random.

If you're thinking about building an application for more than one platform, this seems like a great way to go.

The project is open source but it seems that you will need to pay licensing fees if you're going to use it in any serious way. Check out the source at github here.

Tuesday, January 20, 2009

Water Dog View

From today's ride.

Saturday, January 17, 2009

Nice Snow

At Diamond today.

Friday, January 16, 2009

CentOS Development

I'm doing a lot of development on CentOS lately.

I've found that many things will fail because development packages are missing. For instance, this gem install fails:

sudo gem install curb
Building native extensions. This could take a while...
ERROR: Error installing curb:
ERROR: Failed to build gem native extension.

/usr/local/bin/ruby extconf.rb install curb
checking for main() in -lcurl... no
*** extconf.rb failed ***

This can often be fixed by installing the devel version of whatever you need. In this case you can see that the -lcurl is missing. So you fix it like this:
sudo yum install curl-devel
Now the gem install will work:
sudo gem install curb
Building native extensions. This could take a while...
Successfully installed curb-0.1.4
1 gem installed
Installing ri documentation for curb-0.1.4...
Installing RDoc documentation for curb-0.1.4...
So keep an eye out for those foo-devel packages. You'll need a lot of them.

Wednesday, January 14, 2009

More Close Obama Picks

Ok, this is getting weird. It seems Obama's choice to lead the FCC is Julius Genachowski, who was also an adviser to Truveo. As previously mentioned, I seem to know a lot of folks that are close to Obama. Obviously, I think Genachowski is a good guy.

Friday, January 9, 2009

Foggy Oracle

The fog was thick this morning. You can just see the Oracle towers
poking through.

Thursday, January 8, 2009

Started Playing with OpenCV

I started playing around with OpenCV, the Open Computer Vision library today. I'm hoping to be able to derive interesting images from my web cameras. The above image is simply the result of running the hello-world.cpp program over the image from an earlier blog post.

It's pretty easy to install on the mac:

% sudo port install opencv
And then to compile:
% g++ `pkg-config --cflags --libs opencv` -o hello-world hello-world.cpp
And then to run:
% ./hello-world test.jpg
It pops up a window showing the inverted image and waits for a keypress before cleaning up.

Monday, January 5, 2009

Broken Port Forwarding

I've spent over an hour trying to get my new D-Link DCS-910 working from outside my home network. I've done this kind of thing a hundred times, basically I'm setting up port forwarding so incoming connections to my home router will get forwarded to my camera.

I was forwarding port 8085 to but it just wasn't working. Inside my network I was able to go to but I wasn't able to get to (where resolves to my home network courtsey of DynDNS). After trying lots of different ports and even reloading the firmware on my Netgear WPN824, it turns out it was something simple and had nothing to do with the Netgear. The problem was the default gateway setting on the D-Link camera. I had setup the DCS-910 to use the static IP address of I didn't bother to set the default gateway. For some reason, this worked fine when I was going from some other machine on my 10.1.1.x network, but failed miserably when trying to connect from outside.

I don't disagree that leaving the default gateway set to is a problem, I'm just suprised that the camera would work on my LAN but fail when accessed via port forwarding.

If you have a similar problem with port forwarding, make sure the device you're forwarding to has its default gateway properly set! Lesson learned.

Disclaimer: My camera really isn't at I'm just using this FQDN as an example.