Tuesday, June 29, 2010

A proguard builder for Scala + Android

I just put up code for an Eclipse builder to make it simpler to build Scala projects for Android.

http://github.com/banshee/AndroidProguardScala

It's still pretty rough, but it gets the job done.

Saturday, June 19, 2010

Eclipse plug-ins not showing suggested templates

If you’re new to developing Eclipse templates, and you’re wondering why you’re not seeing a list of templates when you create your new project, make sure you check “This plug-in will make contributions to the UI” in this dialog:
image
If you don’t check that, you’ll see:
image
Instead of:
image

Thursday, June 10, 2010

Comparing Microsoft and Google

Interesting comment on Microsoft vs Google (what it's like to work there) on the
Mini-Microsoft blog.


Look for the comment starting with:

>> And how do you compare GOOG to MSFT?

It's not black and white, there are advantages and disadvantages to both.

http://minimsft.blogspot.com/2010/05/thoughts-on-wrapping-up-microsofts-fy10.html?commentPage=2

Wednesday, June 9, 2010

Fail Whale

Just got the Twitter Fail Whale - haven't seen that for a long time:

Tuesday, June 8, 2010



If you're trying to use jruby on rails, and you see an error like this:
GEM_HOME=~/.jrubygem jruby -S rake db:create:all
(in /private/tmp/fnord)
!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql.
rake aborted!
no such file to load -- mysql

(See full trace by running task with --trace)


The solution is to run script/generate jdbc:

GEM_HOME=~/.jrubygem jruby -S script/generate jdbc
      exists  config/initializers
      create  config/initializers/jdbc.rb
      exists  lib/tasks
      create  lib/tasks/jdbc.rake
See Nick Sieger's blog for more detail.