Archive for March, 2007

Fighting the big wrapper syndrom

I have come to look into some code recently and found an Eclipse plugin that presents this method:

public Image getImage(String key) {
	return getImageRegistry().get(key);
}

The thing is, the getImageRegistry() method is public. In hope of having something under control, my guess is that the developer wrapped the code into a pretty method.

Do yourself a favor. Don’t wrap stuff just for pleasure. Instead take ten minutes to read the code and understand it, so that next time you write an Eclipse plugin, you won’t bring your “Utilities” scum bag with you.

Harmful software

From the Eclipse downloads page:

Installing Eclipse in Program Files directory on Vista

By default, Microsoft Windows Vista does not allow user level accounts to write
files in the “Program Files” directory. This can prevent Eclipse from starting
when installed in the “Program Files” directory, because Eclipse stores
configuration data by default in its install directory. Either of the following
workarounds can be used to avoid this problem:

Install Eclipse outside the “Program Files” directory

Instruct Eclipse to store configuration data outside the “Program Files”
directory using the -configuration command line argument. The problem will
not occur when running Eclipse as the Administrator user, but this is not
recommended because it compromises the Windows Vista security model.
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=168445)

There was no such disclaimer for Linux.

During that time…

Committer on the BPMN project

I have just become a committer on the STP project, more exactly on the BPMN component, on which I have been contributing for some time already.

This is part of my job at Intalio, Inc. More there !

Adding RSS to Rails

Adding a RSS feed to a Rails app is a work of a couple of hours.

I followed the instructions detailed here.

Then I had to do some tweaking. I was missing tags in my XML, or they were not correctly populated, so I used this wikipedia page to keep the structure in mind.

The final test was the Feed Validator, which made the job really easy.

I am still having some issues, I need to try to change the address from rss.xml to feed.rss to see if the extension is the reason for Thunderbird to offer to download the file instead of parsing it.

Requirements Tracker

This is my first post over what is my most time consuming hobby, to the strong dismay of my wife, Requirements Tracker.

This website offers the possibility to create requirements and manage their lifecycle.

I just added a basic functionality to add a RSS feed by project. Hopefully this should be consolidated and extended to the requirements by next week.

Google Summer of Code at Eclipse

If you are a student and interested into Eclipse, you can participate to the Google Summer of Code on one of the ideas that the Eclipse Foundation proposes here.

Please give us some feedback or directly add to the page the ideas you have for the BPMN modeler and EMF Compare !

This is an unique opportunity, getting paid and get some experience easily.

Interested in BPMN ? Contact me if you dare

If you are interested into Eclipse and the projects I am contributing to, you might wonder how to get in and talk to us directly.

If you want to ask questions and contribute, you may send an e-mail to the stp-dev@eclipse.org mailing-list (register here).

If you have questions regarding the use of our BPMN modeler, please send an e-mail to the stp-user@eclipse.org mailing-list (after registering here), or get Thunderbird and ask a question on the newsgroup.

Now here is the deal if you want to contribute code to the project. If you find a bug or have an enhancement, jut code it, then open a bug about it. Make sure it is assigned to the STP BPMN project !

Finally, attach the fix to the bug entry, and we will review it. After several of those contributions, you may be voted a committer.

Just make sure that your company is okay with it, if you do this as a work assignment.

If you have questions regarding our commercial product, just register here !

Take some lead.

I stumbled into this while browsing Debbie’s blog. It’s true that you have less registrations if you ask for an e-mail address right away, but at least you have really motivated people on your website after that.

Thanks K2 !

I love this theme, it’s a really nice piece of work !

From BPMN to BPEL at EclipseCon

Last contribution to EclipseCon, our talk on the transformation from BPMN to BPEL. This is a direct peek at my everyday work.

Hugues did most of the job of preparing the talk and left me with the computation of a graph into a tree, which in itself is a good subject to talk about for hours.

We had the pleasure of hosting the STP lead too. Oisin Hurley introduced beautifully our talk.

The experience in itself was amazing, since more than 50 people showed up for the talk, including the GMF lead (thanks Rich !), and we had a few good questions.

I think I agree with Hugues that we stunned the audience - we went into hardcore details right from the beginning and stayed there. :)

More feedback here.