2009-11-23

Linux: Font + Fixing Eclipse (IBM VM)

Font Enhancement: http://keramida.wordpress.com/2009/11/07/dejavu-condensed-as-default/ (Condensed is much better)... for general use.

I've also switched my fixed-width font to Droid Sans Mono:
http://hivelogic.com/articles/top-10-programming-fonts
//modified zero version in comments of link
//I tried Inconsolata, but didn't really like it
Update: I'm using Deja Sans Mono Book - Slightly Cleaner

Also, I suggest using a Murrine based theme (seems much faster):

Eclipse under Sun's 64Bit JVM sucks... badly enough that I have been considering switching back to Windows --

I've just installed IBM's 64Bit VM:
http://dmartin.org/weblog/eclipse-ubuntu-linux-amd64

Noticeable initial lags (maybe a slower form of hotspot; I don't care this isn't for production, but after an initial hit it seems noticeably speedy) -- hopefully this will fix all the GUI glitches (e.g trashing my perspective layout, crashing hard on open type hierarchy or Findbugs, random lags, etc... missing buttons (expand/contract... was awful).

Interestingly; there are noticeable GC differences - when running say Findbugs the memory usage increases rapidly and GC's... this seems quite different from the usual much more gradual increase under Sun's VM -- oh, and it is *much* faster.

IBM's VM and the Condensed Font change have made Eclipse awesome again... We'll see after a couple days...

2009-11-18

Perl Script/Strip Lines (Thanks Anthony)!

Since perl never remains in my brain --

perl -ne '($d) = m|date="(\d+)"|; print if (!$d || $d >= 1230768000000)' ICO2009.xml |head

Strips lines from a Code Swarm processed xml file that are prior to a certain date.

2009-11-14

Eclipse + Android Source

Install Repo, Fetch Eclair...

http://source.android.com/download

And... the Python script+Instructions found here:

http://blog.michael-forster.de/2008/12/view-android-source-code-in-eclipse.html

Work perfectly :)

Now for my ShakeSensor...

2009-11-08

SUBSYSTEM=="usb", SYSFS{idVendor}=="22b8", MODE="0666";

What's that? The VendorId corresponds to Motorola... I have a new Droid. Android SDK is up and running and debuggable through Eclipse.

Now to start writing some code for it!

Drrroidd...