Thursday, January 29, 2009

HIDPoint Rocks

HIDPoint makes a free driver and configuration program for a variety of mice and keyboards for linux. I just installed their drivers for the Logitech MX3200 wireless keyboard and the MX600 wireless mouse and it works fabulously. All the special buttons and fancy things work! I couldn't be happier!

Wednesday, January 28, 2009

Also

I love my G1

Android HTML parsing

A few weeks ago, I spent an extended period of time trying to find an html parser that would work reasonably well in the Android mobile operating system. Long story short: fail. This site provides a helpful list of open source html parsers for java, but alas each and every one of them was too slow to be usable in android. I wasn't even trying to parse a large page, only ~100K, but it was still taking ~ 1 minute to parse. In the end, I gave up. Instead of parsing the site and redisplaying some of the info, I just manually skipped down to the content part of the page and fed the content as a String to the built-in webkit browser. Fortunately, Android makes it extremely straightforward to embed the browser in an app.