Archive for the 'Programming' Category

Kindle DX rocks PDFs

Friday, March 26th, 2010

I recently got a Kindle DX, upgrading from a Kindle 2. My reason for upgrading was twofold. First, I felt that I was having to ‘next page’ too frequently on the kindle 2’s screen. I hoped that the larger screen meant I’d be able to stay in the prose for longer between [...]

Eclipse Galileo on Ubuntu 9.10

Saturday, December 19th, 2009

If you’re running eclipse galileo SR1 on linux along with ubuntu 9.10 (karmic koala), then you MUST launch the eclipse script with GDK_NATIVE_WINDOWS=1 set.

USB Scale Hacking

Friday, November 20th, 2009

A while ago I purchased some Radio Shack USB scales on clearance for $5 each. I had always intended to get around to futzing with them but haven’t until just last night. Linux made it way too easy.
Plugging it in, I see the device identifies itself as some quasi-proprietary HID device.
Bus 002 Device [...]

Eclipse Ganymede Cannot connect to keystore.

Saturday, July 4th, 2009

If you’re using eclipse and find yourself getting the following errors:
Cannot connect to keystore.
java.io.IOException: This trust engine is read only.

It’s probably related to certificate installs (such as that needed to complete the AWS Toolkit for Eclipse install).
After doing that, try running keytool -list, if you get an IOException about an invalid keystore, then delete ~/.keystore
The [...]

Comic: If Architecture Was Like Software

Saturday, June 6th, 2009

So much truth in art
Comic: If Architecture Was Like Software.

No vpn support on android (yet)

Tuesday, January 6th, 2009

After searching the forums and the Internet I’ve ascertained that there is no current support for vpnc on the G1. I don’t know if the ARM processor will have trouble keeping up with IPsec, but now that I’ve done a few test programs my next task will be to investigate building vpnc.

Stdout on the Android DEV-1

Sunday, January 4th, 2009

Pro-tip: Always have a terminal running and showing the output of adb logcat. That’s where all your System.out.println()s will show up as well as stack dumps of your fatal exceptions.
Not that I ever get fatal exceptions, that is.
Second protip: The ID being assigned in the layout MUST be the android namespace id [...]

Installing Android Apps On A DEV-1 Phone

Sunday, January 4th, 2009

I may be really dumb, but it took me forever to figure out how to simply get an app installed on a physical phone. When I finally found out the tools to use, I was getting errors like the one below when I tried to actually copy the app over.

$ adb install ~/sandbox/HelloAndroid/bin/HelloAndroid-debug.apk
123 KB/s [...]

Android DEV-1 Phone using “T-Mobile VPN” APN

Saturday, January 3rd, 2009

I just received my Android DEV phone in the mail and discovered it’s a bit tricky to set up without purchasing the special service plan that T-Mobile wants you to buy at around $40/month. Unfortunately you CAN NOT setup your android phone without first logging in and syncing to a google account. This [...]

Android Me

Tuesday, December 30th, 2008

I held off for as long as I could before purchasing an Android phone. Frankly once they offered an unlocked restriction free developer version, it was hard to resist.
Next is to get the build environment working and start tinkering with the OS. Top on my list is figuring out if vpnc can be made [...]