How To Upgrade The Freemarker Jar Bundled In JBoss Freemarker IDE

August 30, 2008 – 18:28

The current version (1.0.0.GA) of Freemarker IDE from JBoss Tools comes with freemarker-2.3.8.jar bundled. To update to freemarker 2.3.13:

  1. Copy freemarker-2.3.13.jar into $ECLIPSE_INSTALLATION/plugins/org.jboss.ide.eclipse.freemarker_1.0.0.GA, and remove the freemarker-2.3.8.jar in there.
  2. Edit META-INF/MANIFEST.MF to replace the reference to “freemarker-2.3.8.jar” with “freemarker-2.3.13.jar”.
  3. Restart Eclipse with the “-clean” command line option. This is important because otherwise the Eclipse OSGI engine will keep using cached bundle data which is stale now.

But Then There Is Also Unnecessary Coupling

August 18, 2008 – 21:05

Jeffrey Palermo writes an interesting post about Inversion of Control is NOT about testability. I guess this is one of the scenarios where I agree with the conclusion, but not necessarily how it is arrived at. :) more…

Hooked up my new 24″ LCD – suprisingly easy

August 10, 2008 – 16:52

I’ve wanted to replace one of the dual-19″ LCDs with a widescreen for a while. So Today I picked up the Samsung 2443BWX $349.99 special Costco is running. I had thought hooking it up to my dual-head setup would be some pain because it would have to run under 1920×1200 while the other 19″ under 1280×1024. Well, it worked out surprisingly easy in both Windows and Linux. In Windows, it was trivially done via the display settings. In Linux, all I had to do was replace this line in the xorg.conf:

Option "metamodes" "DFP-0: nvidia-auto-select +1280+0, DFP-1: nvidia-auto-select +0+0"

with

Option "metamodes" "DFP-0: nvidia-auto-select +1920+0, DFP-1: nvidia-auto-select +0+0"

and restart the X server.

Manage Local Versions with Git

July 31, 2008 – 22:38

In almost every project I have worked on, there were always a couple of files here and there that are checked into the version control, but have to be modified according to everyone’s local environment. With conventional centralized version control, they can become quite a pain to manage — we have to condition ourselves to remember to ignore them during diff’ing, always be careful not to check the local versions in, and deal with the mess when we have to actually check into those files changes which do need to be shared. This blog post tries to present a approach that makes it easier and less error prone, using git.
more…

Ditz: Distributed Issue Tracking

July 28, 2008 – 23:19

Ditz is a little (ruby) gem I ran into today. It allows every developer to maintain their own issue tracking database, saved in human readable YAML files, which can be easily exchanged along with the corresponding code changes through a distributed version control system, such as git.

As the latest version number, 0.4, implies, ditz is still at an early stage, but the idea of distributed issue tracking and managing the issues themselves as part of the codebase sounds very interesting to me.

The UnknownHostException and A Not-so-obvious Cause

June 9, 2008 – 20:12

The past week has turned out to be the week of “all sorts of weird problems” for me. One of the issues I ran into was that, in a new Ubuntu installation, maven fails to download artifacts from the repository server. After some arm-twisting with maven (people really should start logging the actually exception instead of just printing “unable to download artifact…”), I was able to pinpoint the underlying problem to be an UnknownHostException from trying to resolve the repository server. The strangeness of the situation is, I can access the repo and download the same artifact with firefox, wget, or anything non-java. I can also resolve the repo server name just fine with nslookup. more…

Vmware to Virtualbox Migration Issues

May 20, 2008 – 19:43

In my Kubuntu, I have a Windows XP Professional virtual machine running in Vmware that I use from time to time. Recently I decided to migrate it to VirtualBox. Eventually I got it working, after going through a number of issues. Here goes a recount of them: more…

Why does the GWT compiler require an X server and how to work around it

May 12, 2008 – 20:20

Got this error today when trying to build our little GWT application in linux: more…

Ubuntu 8.04 Upgrade Goes Well, Not Without Issues

May 3, 2008 – 08:46

Upgraded from 7.10 to 8.04 last week. The Upgrade went quite smooth, especially considering I have been running a mixed kde 4/kde 3 setup, with the kde 4 pulled directly from the kde.org repo.
more…

There Is A Geek In Every One Of Us

March 18, 2008 – 18:39

Nick Tosches recounts his year-long quest to find out where the Windows wallpaper ‘Autumn’ was originally taken, and by who.