Category Archives: open source

Schwartz vs Mickos on MySQL and open source

At least, that’s how it looks. I was intrigued when I saw reports raising the possibility of “high-end” features in MySQL being released under a closed-source license – confirmed (as a possibility) in a roundabout way here. I found it odd because Sun CEO Jonathan Schwartz had told me of Sun’s intention to open source everything.

So what does Schwartz think of the MySQL idea? Not much, according to his statement in this email interview with Tim O’Reilly:

Marten Mickos (SVP, Database Group at Sun, former CEO, MySQL) made some comments saying he was considering making available certain MySQL add-ons to MySQL Enterprise subscribers only – and as I said on stage, leaders at Sun have the autonomy to do what they think is right to maximize their business value – so long as they remember their responsibility to the corporation and all of its communities (from shareholders to developers). Not just their silo.

I think Marten got some fairly direct and immediate feedback saying the idea was a bad one – and we have no plans whatever of “hiding the ball,” of keeping any technology from the community. Everything Sun delivers will be freely available, via a free and open license (either GPL, LGPL or Mozilla/CDDL), to the community.

Everything.

No exception.

Seems clear enough to me.

What to say about Ubuntu Hardy Heron?

I installed Ubuntu Hardy Heron, a “long term support” release which went final yesterday.

It’s a tricky thing to assess. There are in general two things to say about Linux. First, you can take the line that it is a wonderful thing: free, fast, responsive and capable. You can do your work on this, even run a business on it. You can write applications in Java, C# or any number of other languages. You can have fun with it too – it’s great for multimedia, just a shame that few games support it. Finally, it is nice to know that most of the world’s malware is targetting someone else’s operating system.

Alternatively, you can argue that Linux is fiddly, perplexing, over-complicated, inconsistent, and still not ready for the general public.

It is tempting to give Ubuntu an easy ride because it is free and because we so much want it to succeed; we need an alternative to the Microsoft tax or the Apple tax. Unfortunately you never have to look far to find little problems or things that should be easy but end up consuming considerable effort.

Here’s one thing I noticed today. Close FireFox. Open  the Help Centre, and click a web link. The Help Centre opens FireFox with the link you requested, but then cannot be used until you close the FireFox instance. Trying to close it brings up a “Not responding” message. If FireFox was already running when you clicked the link, it is fine.

Here is another. Open Help Centre, click Playing Music, then Listen to online audio streams. It says I can install Real Player 10 and that it is available from the “commercial respository”. What is the “commercial” repository? This page describes four Ubuntu repositories: main, restricted, universe and multiverse. Real Player is not in any of them. Further, if you try and install it using apt get, the following message appears:

Package realplayer is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package realplayer has no installation candidate

Hey, it’s Linux. Just Google and you’ll find a way. Who needs Real Player anyway? But that’s not the point … the point is that these little issues crop up and make running Linux less fun for non-geeks.

Here’s another one: I tried GNU Chess. I poked around in Preferences and chose the 3D view. It said:

You are unable to play in 3D mode due to the following problems:
No Python OpenGL support
No Python GTKGLExt support

Please contact your system administrator to resolve these problems, until then you will be able to play chess in 2D mode.

Fair enough; it is a clear, accurate and informative message – aside from the bit about “contacting your system administrator” which sounds like it was borrowed from Windows. You can just about forgive it in business software, but this is a game.

I still love Ubuntu. This one installed easily and updates nicely; the fancy graphics effects work smoothly; and most important, the same machine which felt slow with Vista now seems more like a high-performance workstation.

In other words, it it easy to support either line of argument. Personally I veer towards the favourable view; but I doubt fear of Ubuntu is keeping anyone in Redmond awake at nights.

mvn cloudtools:deploy

I love this. Write your Java EE app; then deploy to up to 20 virtual servers like this:

mvn cloudtools:deploy

The servers are Amazon EC2 instances, charged by the hour.

The tool comes from Chris Richardson, author of POJOs in Action. It combines a Groovy framework called EC2Deploy with appropriate Amazon virtual machine images and a Maven plugin. He calls the combination Cloud Tools. More on EC2Deploy here. The Cloud Tools home page is here. Open source under the Apache License 2.0.

Great for testing, could be good for live deployment too, especially now that you can get proper support from Amazon.

See also Jeff Barr’s Amazon Web Services Blog.

Ubuntu Hardy Heron – very cool

I had a spare desktop after upgrading my Vista box – at least, I popped my old motherboard in a spare case and added a hard drive. It seemed a good opportunity to try Ubuntu Hardy Heron. Ubuntu has a policy of  upgrading its Linux distribution every six months, in April and October, and Hardy Heron is this year’s April release. I tried a late beta, since final release is not until the end of the month. Burned a CD, stuck it in the drive, and installed it.

The install went smoothly. The main hassle with Ubuntu, and most other Linux distros, is that there are a few add-ons which you can’t easily do without, but which are excluded from the main release either for legal reasons, or because they are proprietary. For example, I tried to play a DVD, but the Totem movie player said it did not have the right GStreamer plugin. It would be nice if Ubuntu had a one-click install, something like “OK, I give in, give me libdvdcss2, give me Flash, give me Java, and I’ll take the consequences.” I fiddled around with Medibuntu, then realised you can get something close to a one-click install if you add ubuntu-restricted-extras to the repository. It didn’t actually take too long before I was up and running: DVDs played, YouTube worked, Java worked. I also added the NVIDIA proprietary driver which is needed to enable the Compiz Fusion 3D desktop. That one was easy: Ubuntu prompted me to do it.

The “what’s new” list includes Linux kernel 2.6.24, Firefox 3 (although still in beta), and better virtualization support with KVM. Gnome is updated to 2.22. Think incremental rather than dramatic changes.

Subjectively, Ubuntu performs better on the same hardware than Vista. There is just less waiting around. I had some fun connecting to my Vista desktop using the Terminal Server client. Then I pressed Windows-Tab to cycle between applications (note the cool reflections):

The key factor for Ubuntu is not features, but usability. In this respect, it seems to get better every time I look.

Technorati tags: , , ,

Now it’s Eclipse that has “baroque” code

This provoked a wry smile, from a Reg Dev article on the forthcoming Eclipse 4:

Underpinning all this, though, is an attempt to escape the “baroque” 3.x codebase for something that’s simple, clean and modular. That means eliminating repetition in code and interdependencies found in the monolithic 3.x.

“It’s getting to the point where it’s difficult to reach in and fix a bug without impacting lots of other things,” one e4 committer told EclipseCon.

Now, Eclipse is a child of the refactoring era. It is built using an MVC (Model-View-Controller), component-based, plug-in architecture. Design patterns guru Erich Gamma worked on Eclipse and on its Java Development Tools.

If Eclipse is now a ball of spaghetti, what went wrong? Though its possible the problems are being over-stated in an effort to justify version 4.

Technorati tags: , , , ,

Mono on the iPhone

Unlocked iPhone, of course. Miguel de Icaza has the details and some video links.

Flash, Silverlight, Mono, Java: surely Jobs won’t keep all these runtimes officially forbidden for ever? It strikes me that Flash has the best chance of getting there, simply because without it the Web is a little bit broken for iPhone users. It’s an influential device and its runtime support (or lack thereof) will be a factor in web development trends.

Technorati tags: , , , , ,

Erich Gamma on Eclipse and Jazz

Erich Gamma spoke at Qcon London on the subject of “How Eclipse changed my views on software development.” Or did he? This was a somewhat schizophrenic talk; in part an articulation of general development principles, and in part a description of how Eclipse is developed. Gamma spelt out the Eclipse philosophy, the starting point being that everything is a a plug-in; that APIs matter a lot and its better to get a small API right rather than get it wrong and have to support it for ever.

He then talked about iteration, a key tenet of agile development. He showed a great slide which charted the progress of some projects, from “all the time in the world” at the beginning, to “say goodbye to your loved ones” at the end, followed by total exhaustion after the thing is shipped. Iterative development with continuous builds and sign-offs every 6 weeks is less stressful and more productive.

It’s a great point, but does this work in every instance? What if you have a game to ship for the Christmas market?

He also talked about the benefits of open source development: transparency between developers and customers, critical mass of community activity, frequent feedback, and so on. Nothing new here; but perhaps this simply demonstrates the extent to which the merits of the open source model have become accepted.

Gamma then focused more sharply on Eclipse. He says there is a major new release every year, and they don’t want to ship in the summer or near Christmas, so they ship in June.

He described how the Eclipse project manages its large international team. It comes down to components: developers are divided into teams on specific sites, and each team manages one or more components, and has its own process for planning, building and testing. A weekly integration build prevents incompatibilities between components from getting out of control.

Towards the end of his session, Gamma gives us a tour of Jazz, IBM’s open source but commercial project for collaborative software development. Interesting, but I’m not sure that this product pitch belonged in a talk that was billed as something more general.

Overall: good insight into how Eclipse comes together, but not too exciting. I don’t envy these guys who face heightened expectations because of significant contributions they have delivered in the past. Nobody can change the world daily.

Technorati tags: , , , ,

Chris Anderson on Freeconomics

Chris Anderson, the Wired editor who coined the term “long tail”, has written a lengthy piece on Free – why $0.00 is the future of business, and is writing a book on the subject.

It caught my eye in part because of what Sun’s Jonathan Schwartz told me the other day: the only acceptable price is free.

The idea must terrify Microsoft, which makes most of its money from software licenses, while letting third-parties take the profits from custom development and services. Companies are less vulnerable if they sell both hardware and software, or have strong services departments.

The paradox here is that even when the marginal cost drops close to zero, there still has to be a business model. Something I am still trying to figure out as I give away content on this blog.

Sun’s OpenSolaris community fracas: not just a name thing

While I was at Sun last week I was following the discussion in the OpenSolaris community about the naming and repositioning exercise which saw a Project Indiana become the official OpenSolaris distribution. Some of the external members most deeply involved in OpenSolaris were immensely frustrated not by the decision itself, but by the way it was made and announced, with little consultation of those who were supposedly governing OpenSolaris. It was exactly this issue which provoked Ben Rockwood’s post which I quoted in a blog post on 15th February and again in The Guardian. Unfortunately I didn’t see Roy Fielding’s post resigning from the OpenSolaris community until later, otherwise I would likely have quoted him as well:

This well is poisoned; the company has consumed its own future and any pretense that the projects will ever govern themselves (as opposed to being governed by whatever pointy-haired boss is hiding behind the scenes) is now a joke. Sun should move on, dissolve the charter that it currently ignores, and adopt the governing style of MySQL. That company doesn’t pretend to let their community participate in decisions, and yet they still manage to satisfy most of their users.

On 14th February I spoke to Rich Green, Sun’s Executive Vice President, Software, and asked him to clarify the changes to OpenSolaris:

This is one of those classic “what’s in a name” things. OpenSolaris is a community, is a source code base, and is the distro from Sun Microsystems. We’re going to put a lot of energy into it, not only in terms of the quality of the technology, but the business model around it, very much akin to other open source programs focusing on subscriptions and support, but that open source base is out there for other distros to be derived, and we encourage them. There was a naming complexion change, but the feedback from the community was mostly, not uniformly, it never is uniformly: thank you, for clarifying what we all expected you to do. Thanks for putting your name and brand behind a distribution of the source code base which is out there. And thank you for moving it out into the open so others can do the same. So that’s where we are, that’s where we’ll stay. The reaction has been generally, never uniformly, very positive.

I didn’t realise at the time that “not uniformly” included the resignation of such a prominent member of OpenSolaris – Fielding’s post is dated just after midnight on the previous evening. However, Green is correct in saying that many see the decision itself as sensible, which makes this whole fracas rather unnecessary. Fielding makes further comment here.

Of course this is not really a naming thing, it is about how Sun relates to the community it is building around its open source projects, and to which it attaches huge importance. I lost count of how many times CEO Jonathan Schwartz and others used the community word to describe how it would create new business opportunities and monetize its open source efforts. Quite possibly Sun misjudged the impact of the way this particular decision was made, but in a way that is the point; it is a failure of relationship, and suggests that Sun wants to maintain tight control of its software even though it has made the decision to make it free and open source. I asked Schwartz about this but did not get a particularly illuminating response.

Technorati tags: , , ,

Microsoft moves to protect its Office business in format war

Here’s a key snippet from yesterday’s interoperability announcement:

We’re also designing new APIs for Microsoft Word, Excel and PowerPoint applications that will enable developers to plug in additional document formats and allow users to select those formats as their default for saving documents.

Translation: if OOXML fails to get ISO standardisation, and/or if the rival ODF catches on or is mandated by institutions, then Microsoft wants you to keep using Office.

Product Manager Gray Knowlton has a little more detail here.

I’m not clear how extensive these changes are. Presumably it amounts to more than just tweaking the open and save dialogs to enable different defaults. Office applications already let you select from a range of different formats.

A few further comments. First, I’d like to see OOXML standardized. Aggressive IBM-sponsored lobbying has not convinced me this is a bad idea. And yes, I’ve pored over the spec and even done a little development with OOXML. Standardization tends to improve documentation and helps to protect developers from arbitrary changes.

It is interesting to see someone like Patrick Durusau, Chair of incits, coming out in favour of  OOXML standardization [PDF]:

I have seen some attacks on OpenXML saying it is not an “open” standard. I am quite puzzled by those attacks and think that OpenXML makes the case for open development of standards.

Understand that as the Project Editor for ISO/IEC 26300 and the OpenDocument Format TC editor in OASIS, I carry no brief for OpenXML. However, a well defined and publicly controlled OpenXML would be a great benefit for future work on the OpenDocument Format standard so I have no reason to wish it ill.

That does not mean Microsoft has done everything right. Microsoft’s Jean Paoli, now an evangelist for standardization, told me three years ago that OOXML was not suitable to be managed by a standards body. Why the change of heart? Simply, the threat of losing market share to a rival that was standardized. Microsoft had years of unchallenged Office supremacy in which it could have opened up its formats; but did nothing until its profits were threatened.

This should tell us something about the benefits of competition.

Despite Microsoft’s efforts, gains in ODF market acceptance will damage Microsoft Office. It will take more than a few API changes to make Microsoft Office as good an ODF editor as Open Office, which has a family relationship with the rival formats.

Standardization is only a small piece of this puzzle. On the Microsoft side, Office is a decent product with massive market dominance. On the ODF side, Open Office is also a decent product and is free and open source. The fight will still be on, no matter how the standards thing plays out.

Technorati tags: , , , , ,