How I Came to Hate Orbit

29. February, 2012

Orbit is an Eclipse project which contains IP clean OSS code to be used in Eclipse projects.

Why is that important? Well, IP clean means that big companies who consume Eclipse code, can use it safely (their lawyers have to check the EPL once and after that, their developers can use any code they can find on

Now, Eclipse writes a lot of source code but not everything. commons-io, for example, contains a lot of code which would be really cool to have for Eclipse projects.

Orbit was created to have just that: Copies of OSS code from all kinds of places relicensed under the EPL. Sweet.

Enter stage:

The idea behind is to provide projects outside of the Eclipse foundation a place where they can find Eclipse’s OSGi bundles as Maven artifacts (which are easier to consume when you build your projects with Maven). Sweet 2.

To make the Eclipse bundles available on, I need to convert them. Part of that process is to assign each Eclipse bundle (which has bundle ID and a version) a Maven coordinate (which consists of group ID, artifact ID and version). That’s not always simple but I’ve found a rule that works pretty well.

If it wasn’t for Orbit.

Orbit contains bundles which you can also find on Maven central. One example is commons-io.

And Orbit didn’t simply copy the JAR from Maven Central – they changed it. In this case, the changes are purely for legal reasons (EPL license, moved a couple of files around). Not a big problem here. I could map the two to the same coordinate – except that you would sometimes build software which contains code licensed by Apache and sometimes code which is licensed by EPL. Worse, some other code might be under the viral GPL on Maven Central – linking that could turn your project into open source! Not a problem for most developers but it could be a problem for your legal department and guess which head is going to roll?

But there is more.

Let’s have a look at … org.apache.batik.pdf. This is a fragment of the Batik’s rasterizer JAR from Maven Central. In this case, we have several issues:

  • Orbit has split a single artifact from Maven Central into several Orbit bundles. Which bundle should get the same coordinate as the original Maven Artifact?
  • The Orbit bundle also contains code from commons-io and commons-logging. So it pollutes your classpath with classes that you don’t expect. Worse, someone (not the Eclipse guys) removed “unnecessary” methods from some classes copied from commons-io. So if the compiler sees this JAR on the classpath, you will get errors for many methods in the class IOUtils. Bad.
  • Some Orbit bundles have bugs fixed but the version hasn’t been changed – only the qualifier changed which works if you use OSGi to build your classpath but Maven doesn’t. A couple of bundles from org.apache.batik are among them (bug 329376).

While it might make sense from Orbit’s point of view to do this, it makes my life a bit complicated.

Open Source As Good As Proprietary Software

28. February, 2012

The Coverity Scan 2011 Open Source Integrity Report (registration necessary) says: “Open source quality is on par with proprietary code quality, particularly in cases where codebases are of similar size.”

Which isn’t that surprising considering that it’s the same people who write both.

But there are a couple of hard number in the report which are interesting:

Linux 2.6 has about 0.62 defects per 1000 lines of code (KLOC) which Coverity says “is roughly identical to that of its proprietary codebase counterparts.” They can’t tell names but I guess the counterparts are Windows and Mac OS X. They have 0.64 defects per KLOC.

The industry average is 1.0 defects per KLOC which matches well with my (more anecdotal) knowledge that the best software developers make about 3-4 mistakes per KLOC of which 75% are found during development.

I See You And Jesus, Too

27. February, 2012

A burglar breaks into a house. As he combs the rooms for loot, a strange voice calls out: “I See You And Jesus, too”

He jumps and flashes around with his torchlight but there is no one except him. Thinking it might be some kind of device to scare people off, he continues to search valuables.

“I See You And Jesus, too”

Again this really odd voice. The thief starts to relax.

“I See You And Jesus, too”

This time, the thief is quick enough to see where the sound is coming from: There is a parrot in a cage hanging from the ceiling. Not really expecting an answer, he says: “You freaked the hell out of me! Who are you?”

“My name,” the parrot replied proudly, “is Nebuchadnezzar.”

The thief starts to laugh: “Nebuchadnezzar! What kind of fool calls his parrot Nebuchadnezzar!

“The same fool who calls his pit bull Jesus.”

How Would a Sentient Robot Respond to an Invitation to a Board Game?

24. February, 2012

“Physical game pieces? … Well, I guess we’ll play like savages, then.” (from Ctrl+Alt+Del)

The next page is great, too. I like his first move: “I win” 😉

EFF Tries To Sanitize Patent Law

23. February, 2012

The EFF has started a new campaign to clean the patent system.

I’ve blogged about the many problems of the parent system when it comes to software. If you care as well, at least spread the word. If you want to do more, check out the EFF site or maybe  help with the Patent Busting Project.

Code Is Design

22. February, 2012

If you look for reasons why software development is often such a mess, here is an interesting, new angle: Code Is Design by Ryan Brush.

Trying to Hide is Futile

18. February, 2012

There have been many good arguments to avoid all contact with any extraterrestrial life form (“aliens”): Stephen Hawking warns over making contact with aliens

The consequences of an alien contact would probably be dire:

  • Mass panic of people whose religious beliefs, the very foundations of their sanity, are being questioned (they might take the aliens for demons or fallen angels or take their presence as an excuse to start Armageddon).
  • Implosion of the patent system (because aliens probably have prior art to anything we’ve been invented so far)
  • Transmission of germs (even though I believe that aliens would know about this problem, too, and they should have thought a solution – our germs are as much of a problem for them as theirs are for us)
  • Superior ideas (how long could mankind withstand the lure of, say, a system that allows you to do anything without leaving your bed?)
This blog toys with these ideas in some more detail.

But can we avoid them? The discussion often revolves around the idea that we should minimize our electromagnetic footprint and active signals to attract aliens should be avoided at all cost.

While I see the risks, I don’t see how avoiding to send radio signals is going to help us. It’s a good idea to tone down electromagnetic signals (because that ultimately means to waste less energy) but there is a signal that we’ve been broadcasting for hundreds of millions of years and which we can’t avoid: Breathing.

How’s that? Breathing changes the composition of our atmosphere. The composition is easy to detect using a spectral analysis, even over great distances. Astronomers use it since 1835. Exactly this method was used to find the first earth-like planet a few weeks ago.

So unless we stop breathing and kill all other life on our planet, we are constantly distributing a strong, telltale signal that we’re here.