Scala Is Disappointing

June 25, 2013

So, I've been playing around with Scala, and, while I'm quite impressed with the language syntax, it's a real pain-in-the-ass to deal with. To begin with, the various versions (2.7, 2.8, 2.9., 2.10) are binary incompatible, which is really annoying. I understand that the language is still in development, but you would think they'd have the core of the language all worked out by now.

I understand the reasons behind it: they're still making changes to the base traits which causes all the objects to change. But, really, this is one of those things that every


Scala Development Setup

June 22, 2013

I had this idea for doing a Scala project integrating WebSockets with Kafka, so I spent a good bit of today trying out different configurations for doing Scala development. My first pass was to try IntellijIDEA from JetBrains. I really liked their RubyMine IDE for Ruby, and people were raving about IDEA for Scala development, so I gave it a go.

It's actually not a bad IDE. I had some trouble navigating, but most of that was because I was so used to Eclipse. However, the big thing that was lacking was good sbt support. Whatever project I was going


Eclipse with Subversion 1.8 on OS X

June 18, 2013

I wasted a considerable amount of time following the instructions from this page on how to install Subclipse on OS X, trying to get MacPorts to install the right version of Subversion (Why subversion, you may ask? Because a customer is still using it, that's why...).

It turns out that MacPorts doesn't even have the 1.8 version of Subversion - it's only got 1.7, which won't work with the version of Subclipse I'm using. So, I had to go to WanDisco and download it (after removing the MacPorts versions first), and then everything worked.


Creating RESTEasy Project with Eclipse and Maven

May 20, 2013

Handy safety tip: to create a RESTEasy-friendly Maven project in Eclipse, do the following:

  1. Create the project as a simple Maven project
  2. In the project Properties -> Project Facets, make the project faceted, and select "Dynamic Web Module" (you may get a NullPointerException, but it doesn't seem to matter). Under "Further Configuration...", point the WebApp directory to be src/main/webapp, and have it create the web.xml file.
  3. Under "Web Content Settings", set the Context root
  4. Under "Deployment Assembly", select "Add...", select "Java Build Path Entries", and select "Maven Dependencies". It should put them in WEB-INF/lib.
  5. Add the