Monthly Archives: August 2005

EclipseWorld was a success

Looks like EclipseWorld was a success. I didn’t get a chance to go, even though it is on the same coast I am. Why do I say so? Well, from the most recent EclipseSource, the lead article was titled “Exuberance and Umbrage…” by Edward J. Correria. I’ll only be dealing with the Exuberance part here.

It said that there were 550+ attendees, which I think is good for a 1.0 conference. (In comparison EclipseCon 2004 had 600+ and EclipseCon 2005 had 1000+.)

Even more interesting, Dwight Duego asked attendees of his “Getting Started with Eclipse on Windows” tutorial about their experience with Eclipse:

Only about a third of those in the class had ever installed Eclipse, and only two or three of those were using it for Java development–yet they were there. To me, that’s a huge potential for further growth of Eclipse.

Finally found a DC Mac Programming Group

Last week, I finally found a DC Mac Programming Group. It is the Programming SIG of the Washington Apple Pi (WAP), which is the big Mac Users Group in the area. We met over in Reston, VA in a _really_ nice club house room with a big projection screen that hooked up to our PowerBooks. The chairs were plush and comfortable. Only thing missing was soft drinks and pizza (like we have at the NOVAJUG.)

We talked about all sorts of technologies from Cocoa to Python to SQLite to AppleScript. We presented some code and showed off some apps. All good stuff. In today’s age, where you can connect with experts from around the world, I still think there is a good place for talking with people who share your passion in person.

We meet every 4th Thursday of each month. So if you’re programming on a Mac, come on by! Email me for more info.

RCP from my readers

I got two comments from my readers recently on RCP:

1. Henry wrote “Why Eclipse RCP is going to rule the world“, giving 5 reasons. I agree with his arguments that Eclipse RCP is the ideal platform for building desktop clients, especially if they need to be cross-platform. There is a lot of momentum behind it and you would be hard pressed to duplicate what it provides you on your own.

2. Kent commented that

“RCP saved me an incredible amount of time. I certainly cannot thank the Eclipse project enough. Without it I would have taken a lot longer to create the BigBlogZoo and it would not look as nice.”

Again, using RCP saves you time because it is just plain hard and time consuming to build a desktop application framework. Bonus points that it makes your desktop app look like every other app on your system, that is like a native app.

How to have a stable hostname in OS X Tiger

I’ve got DHCP at home and at work. Its definitely a lot easier than the early days of network administration, where everyone had their own static IP.

There is a problem though: with DHCP, my hostname keeps changing whenever I get a new IP address, specifically when I reconnect to a network. This is not that big a deal, except for apps like Perforce, which want you to have a specific hostname.

So how can you have a stable hostname on OS X Tiger? (Note this will work on Panther as well.) Well, it turns out that you have to get into the Terminal and edit a system configuration file: /etc/hostconfig

I personally like to use vi: sudo vi /etc/hostconfig

Then you need to either edit a line that looks like HOSTNAME=-AUTOMATIC- or if that line doesn’t exist, then just add something that looks like:


I believe you have to reboot to get this setting to stick, but I think you can execute this command to tide you over if you don’t want to reboot right away:

sudo hostname myHostName

Check out more about this in the OpenDarwin FAQ.

Dependency Injection in both Ruby and Java

Dependency Injection: Vitally Important or Totally Irrelevant? by Jim Weirich at OSCON 2005.

This is a great presentation about Dependency of Inversion (and why you might not need it). It nicely compares and contrasts Java and Ruby. It underscores why I really enjoy programming in Ruby: it is very fluid. For example, classes are objects and can change at runtime.

It also answers the question: Do you need something like Spring or HiveMind in Ruby?