The Pledge

I believe Free Software developers should be free to work without their work being compared to terminal illness [0][1]

I believe Free Software developers should be free to pick and choose their development tools [2][3]

I believe Free Software developers should be free to contribute without being threatened with eviction from a community [4][5]

I believe Free Software thrives on diversity, and that there should always be a choice [6][7]

I believe we should welcome ALL developers, from any community, in helping to contribute towards Free Software [8][9]

I believe Free Software is about freedom – for both users and developers [10][11]

I believe that our priorities are our users and Free Software – meaning we should always strive to present our users with the very best Free Software has to offer [12][13]

Do you?

Here we go again – why Mono doesn’t suck

This post is a repost for something I sent to Linux Today. Their original message was here, where they invited people who don’t think Mono causes AIDS to justify themselves. I replied here. This is a repost, for the benefit of assorted aggregators. Some context may be lost by not reading the original “invitation” first.

—————————————————–

I am a member of the Debian Mono Group, Debian CLI Applications Team, and Debian CLI Libraries Team. I’ve been working on packaging for the Mono stack and applications which make use of it in Ubuntu (and Debian) for just under a year. And, fully aware of the flame war, threats and personal attacks which will follow, I’m going to take you up on your “invitation”. I speak for myself here – not for the Debian project, nor Ubuntu, not for the Mono project, nor for my employer.

Your request was for “a calm presentation of why Mono is desirable, why it is not a threat, and why it should be included in Ubuntu by default”. I’ll answer these three questions individually, then offer a general comment on your post, as well as the wider “anti-Mono” movement. This message is GPG-signed to ensure it is published unedited. The message as-sent will be made available at http://retro.apebox.org/herewegoagain.txt to allow people to verify authenticity signatures themselves.

Why Mono is desirable

That’s a question which depends on whom is being asked.

If you’re asking a user, then the answer is “it’s not”, any more than a Scheme compiler or LOLCODE interpreter.

If you’re asking a developer, then the answer is VERY different. Mono provides a well-balanced framework to enable Free Software to be developed quickly, effectively, and efficiently. By “balanced”, I mean it is unlikely to win every single contest that one can throw at a programming language – memory footprint, execution speed, availability of libraries, and so on – but does fairly well in ALL of them. Speedwise, Mono is much faster than Python – up to several hundred times faster according to some benchmarks. It has a fraction of the memory footprint of Java applications. It has modern features such as garbage collection which make it easy peasy to write code with compared to malloc()-happy C or C++. It is a well-balanced framework. As such, for people looking to write apps for a Free Software environment, it offers a compelling choice of framework on which to build. Several apps which have only existed for a short time – such as GNOME Do – make full use of functionality provided by Mono in order to be written very quickly and easily, compared to chasing SIGSEGV around due to human errors inevitable with C-based development. Mono was first conceived as a way to escape from the absolute horror of maintaining a large GUI C codebase (Evolution).

Taking it further, Mono on the whole also enables easier migration – for both developers and users – from legacy CLR frameworks such as Microsoft.NET. Students who learn Visual Studio.NET at University can take their skills and directly apply them to creating or improving Free Software on their shiny new Ubuntu installations, without the need to learn a new language. Businesses with investment in .NET-based applications can look at replacing their servers or desktops with Free Software. Whilst providing .NET compatibility has always been a secondary goal, it is an extremely popular one, which has prompted a lot of input and development work from assorted people into the Mono codebase.

It should be noted, however, that this use-case (Windows migration) is not cause for including Mono by default (any more than, say, Wine), and indeed, the libraries required to run the majority of Microsoft.NET applications are excluded from Ubuntu installations due to lack of necessity.

Why it is not a threat

This is a question which will cause nothing but angry flames – although it certainly won’t harm your page hits and resultant ad revenue. Mono is not a threat because it is not special in any legal regard. Many people have spent hours if not days and weeks attempting to explain this. I’ll try to do so again. There are a whole smattering of reasons why it’s not an issue, covering a wide range of topics. I’ll present these points individually.

  • Mono is not the result of any deals between Novell and Microsoft. Mono was started 4 years before that unfortunate deal took place. Mono gets no special treatment under that deal. It is not mentioned in the deal (as with other apps). This is important to note.
  • Mono is covered by the OIN, as with most other major Free apps. Patent attacks against Mono carry the same risk to attackers as attacks against any other OIN entrant. Attacks against Mono would risk patent “world war”, which Microsoft cannot win. Such an action would harm their business – and lose them money.
  • Mono implements an international standard – albeit one from a convicted monopolist. If this is a problem, why do people use C, the standard from convicted monopolist AT&T? Mono implements an improved, Free replacement for a proprietary offering. If this is a problem, why do people use GNU (which provided an improved, Free replacement for proprietary UNIX)?
  • Regardless of whether or not any specific patent licenses over ECMA 334 and 335 cover Mono’s implementation of those standards, if indeed such agreements are available (ITWire’s curlish “attempt” to secure such an arrangement aside), the fact that statements have been made in public supporting the idea of royalty-free licensing essentially reduces the financial impact of such infringement to zero. If Foocorp has a license to use patents, under a “non-discriminatory” license, and did not pay for them – then it would be discriminatory to change anyone  else for them (breaking the signed terms regarding patent licensing), and as such, those patents lose any financial value. They may, however, still hold non-financial value (such as their use in defending against patent-related attacks), hence not making the patents “free for all” in any understood sense.
  • Mono cannot be “disabled” via an incompatible change to Microsoft.NET, for two reasons. Firstly, such a change would also break every single existing app for Microsoft.NET (in fact, if it were to happen, then the best option for those users would be to run their apps with Mono instead). Secondly, support for Microsoft.NET is a secondary goal for Mono – if Microsoft change something in .NET 5.0, then so what? It doesn’t prevent Banshee or GNOME Do from compiling and running fine on non-legacy systems like Ubuntu.
  • Absence of “patent protection” is not the same thing as “patent violation”. If I offer to sell somebody a promise not to sue them using any of my patents, their taking me up on my offer is no guarantee that I even have anything valid to sell them – merely that they are willing to buy it. If Jim buys protection from any patents I hold, it does not mean that Jim is infringing on anything specific – nor that if Ted does the same thing, that Ted is violating anything either. If a house insurance policy includes flood protection, it does not mean that your house will be flooded – and not buying flood protection does not mean that you will be flooded either.
  • Patents covering a specific implementation detail of a project cannot kill it dead – the example here is Freetype. Apple made some patent threats against the Freetype developers, for using their proprietary hinting data stored in TrueType fonts. You’ll notice that Freetype still exists today – this is because the specific METHOD that apple laid claim to was worked around, and auto-generated hinting data used instead. Apple’s threat was diffused, and the project went on. Suggestions have been made by FUD vendors that the Linux kernel contains a number of patent infringements – if specific details are ever provided, then those specific infringements can be worked around. A patent infringed in the Linux kernel would not cause all GNU/Linux distributions to be shut down overnight – and it’s disingenuous to suggest that any other Free Software is any different on that front. Even if a fundamental patent is infringed in Free Software, it’s no big deal – as a core change can be made, and applications etc which expect the “old” way can be modified to work with the “new” way, easily. Only proprietary applications cannot be fixed in the event of radical change – and proprietary apps are a secondary concern.
  • The layering of escape routes is extensive in Mono, especially Mono in Debian/Ubuntu. In the first instance, the contentious Microsoft-sourced non-ISO libraries such as System.Windows.Forms are not included by default, and are rarely used in Free applications anyway (because WinForms looks like ass, amongst other things). If a reason is found to remove these non-standardised libraries, then bam, they’re gone – without harming Free apps. Secondly, if a more severe change is required, then the Mono packages can be patched to remove the infringement. If more drastic changes are required, as mentioned above, then the applications can also be patched to support any core changes. And, taking it one step further, if the whole of Mono needs to be pulled, then applications can be ported. The porting process would potentially be slow and painful, and cause great harm to an application’s future rate of development (although no worse than if the app was written in the target language from day one), but nobody who has written an app they care about would simply throw their hands in the air and say “never mind, it was fun, but the Man says I have to stop now”.

Why Mono should be included in Ubuntu by default

It shouldn’t. Not in the sense that has been publicised on blogs, newsgroups, forums, and so on. We don’t want Mono installed by default on any distribution. Mono is a software platform, and software platforms are boring at a user level. Ubuntu shouldn’t ship with Java, Scheme, Assembly, LISP, etc, frameworks by default either. They are not interesting to users.

What we want by default are GREAT APPS. A user should boot an Ubuntu, Kubuntu, Xubuntu, or whatever CD and say to themselves “Wow, this Free Software stuff is great, I definitely don’t need Windows anymore”. All Ubuntu derivatives, as with all distributions of Free Software seeking to convert people to Free Software, should be chasing the best applications available. In the case of Ubuntu, a decision was made to include a note-taking application and a simple photo library manager, by the Desktop Team.

They determined that the best note-taking application to offer their users was Tomboy. Tomboy has a feature set far greater than the “Sticky Notes” applets provided in both GNOME and Windows Vista, and can be seen by new users as an easy replacement for Microsoft’s proprietary OneNote product, which retails for £80. The only other comparable GNOME application is Zim, a “Desktop Wiki”. Zim is a high-quality product, but it was decided by the desktop team to use Tomboy instead, as it is easier for non-technical users (and is the default application in its class as picked by the GNOME project).

They also determined that the best photo manager to offer was F-Spot. F-Spot is directly comparable to Apple’s proprietary iPhoto application, or Google’s proprietary Picasa application. It is NOT directly comparable to “file browser” type applications such as gThumb, as one of the key features of photo album applications is allowing you to tag your photos with important metadata – gThumb works on a per-folder basis, not on a “all my photos” basis.

Both Tomboy and F-Spot require the Mono JITter, and a set of libraries such as GTK#, in order to execute. So in order to offer these best-of-breed Free Software applications to new users (determined to be best-of-breed by the Ubuntu Desktop Team), parts of a Free Software runtime are required – the same way including the GNOME System Monitor requires GTKmm. As long as Tomboy and F-Spot are best-of-breed, they should be included – and with that, whichever libraries they happen to use. If other Free applications surpass one or both of these, then they should be used instead – if a Mono-based application surpasses a different application in a different class, it should be used instead. This is not based on preference for a given framework – although it is my personal belief that a high-level language such as C# or Python enables developing such an application much more quickly and easier than C would.

The post on Linux Today

Your initial post makes it clear that you are not even-handed on this topic. Here are some specific phrases whose purpose is to “throw mud”, and show your pre-determined judgements on the topics you claim to want to hear about. It is THIS, clear preconceptions and bias, which compel those with plenty of insight on Mono-related topics, not to bother. Which leaves only the anti-Mono people to pretend they have a majority.

“There are other, better applications that could be included” – Name them.

“forcing Microsoft technologies” – Help! Help! I’m being oppressed! No, not really. Good technology is good technology, and Not Invented Here never helped anyone. None of the Desktop Team are pro-Mono (most of them are Python fans), and no unilateral decisions are made over which applications to include. Nobody is “forced” over anything. No Mono-related packages have been marked as Essential:yes.

“unholy embrace into Ubuntu” – Demagogy. Microsoft are a corporation, not a supernatural entity. Suggesting any level of “unholiness” gives far too much credit to them. They are a corporation, with a wide selection of idiot senior managers, and a limited selection of competent developers. Nothing more.

“Mono fans have been creating a giant ruckus in the Ubuntu forums” – actually, it’s the anti-Mono crowd responsible for this. If you refer to accusations of censorship, then you’re being mislead (or intentionally misleading). Those who read the specific details of those accusations can find rudeness, threats, arguments, and worse – with anti-Mono people at the core. Childishness does not win arguments – nor friends amongst moderators.

“have not bothered to say why removing Mono from the Ubuntu installation CD” – To this, I offer a quote from Thomas Jefferson – “Ridicule is he only weapon which can be used against unintelligible propositions. Ideas must be distinct before reason can act upon them”. Demands to remove Mono from a default Ubuntu system are not based on any rational suggestions – there are no packagers offering superior replacements, only people demanding that because in their personal ill-informed opinion everyone will be sued to death, that Mono applications should be purged. This is, in short, software terrorism – demanding a change in someone else’s policy and telling them they are not Free to make their own choices, based on personal politics. Rational minds can dissent on questions of Mono, but until there are adequate replacements for Mono applications, complete with functional migration path, the choice is simple – make Linux suck more by moving to an inferior default application set, or “make do” with Mono. It should be noted that people with rather more to lose than random anonymous people on web forums – such as Mark Shuttleworth – have said on record multiple times that they don’t have any such fears. I would personally support a move from any Mono-based application to a non-Mono-based one, with demonstrable technical superioriority.

“simply including it in the standard repos is not acceptable.” – It’s perfectly acceptable – however, it’s not the only argument put forward. Suggestions range from reclassifying Mono as non-Free (moving it to third-class citizen status), to its complete removal from the archive, to the expulsion from both Debian and Ubuntu for anyone who has worked on Mono packaging. Free apps in general should be in the standard repos – regardless of their implementation framework – but if a specific application is best-in-class, it should be included by default.

“The inability of Mono fans to answer that simple question has me a bit bothered, as though there is a deeper agenda.” – If you want to make accusations, make them plain. Don’t play the Fox News game of “well, I find it *interesting*” – call a spade a shovel. If you have specific accusations to make about people who are not anti-Mono, then make them, or to put it bluntly, don’t spread lies.

The anti-Mono “movement”

Some people are “for” things. They are for Freedom, or for technical superiority, or for a sports team, or whatever. Some people are “against” things. They are against political candidates, or Microsoft, or people from certain places, or whatever. Some people define themselves on the basis of what they want, others on the basis of what they do not want. Mono causes immense anger amongst that second group – specifically, people who use GNU/Linux not because they are “for” anything, but because they are “against” Microsoft. This can be easily seen – using names like “Microshaft” or “Micro$oft” or similar childish attempts to define a “them and us” situation and ridicule the “them”. Mono is symbolic – it is Free (something they are supposedly in favour of), but Free on the basis of something sourced from the Great Satan – an inexcusable mix.

Many of those who advertise themselves as anti-Mono are, quite frankly, frightening. Calling for the deaths of Microsoft employees (see comments on Boycott Novell), or trying to have people who make positive comments about Mono fired (see recent comments on Ubuntu mailing lists), or making insinuations about anyone who does not agree with them (see pretty much every news post on Boycott Novell itself) – this is ugly behaviour, the absolute worst kind of advert for the “Free Software community” imaginable. If people want to be “against” Mono, then there are sane ways to do it – for example, by working on or packaging alternative software. Calling for people to be expelled from Free Software communities because they don’t work on apps you like is, in short, the antithesis of supporting Freedom. If the anti-Mono crowd want to be taken seriously, then they need to UNDERSTAND what they fight against – they need to have sufficiently intimate knowledge of what Mono is, how it works, and why, in order to know where to direct their energies (and general shouts of “ZOMG! MICRO$HAFT!” isn’t well-directed). I would LOVE to see some high-quality apps for GNOME written in, say, Java or Python – as the competition would only result in better applications.

However, the vast majority of the anti-Mono crowd are not developers or packagers – they are back-seat drivers. They make proclamations about how other developers (who are surrendering their time to developer Free Software) should instead use the framework of THEIR choice, not the developer’s. This is another reason why anti-Mono arguments are given so little respect – the sheer cheek, the PRESUMPTION that they somehow are in a position to make demands of other developers, is galling. Free Software is a meritocracy – those who do things earn respect. Until the anti-Mono crowd actually make a contribution to Free Software, they will continue to be treated as cranks – and their questions left unanswered.

In the end, there is NOTHING which will cause the Mono controversy to disappear – as long as vague threats of legal attacks are manufactured and fuelled by certain members of the community. Much like a presidential birth certificate, there is simply nothing which will placate those who have already made up their own minds without any concerns about basis in reality or fact. Anti-Mono arguments based in reality or fact are fine, and I welcome them – but I’ve very rarely seen them. And even when they are offered, they are offered drowning in a sauce of demagogy and FUD so thick as to obscure the salient point.

So, I think that’s what you were looking for. Repost it or don’t. It’ll make for a new chapter in the daily personal attacks I receive from the oh-so-sophisticated anti-Mono crowd.

–Jo Shields

——–
Understanding is a three-edged sword: your side, their side, and the truth

Conduct, and codes thereof.

You are not being censored for your opinion. Let me repeat that, for those at the back: You are not being censored for your opinion. Nobody on any of the mailing lists, user forums, bug trackers, or other community interaction sites you use is censoring you for your opinion. There is no vast conspiracy, there is no secret cabal.

You MAY, however, be censored for acting like a di… like a pr… for acting in a disrespectful and abrasive manner. Everybody is entitled to their opinion – and that includes people who disagree with you. However, sometimes people may feel that the only way to express their opinions is by attacking the integrity or motives of anyone who disagrees with them. THIS may wind up getting you censored. Filing political issues as bugs may end up with those bugs being closed (because, well, they’re not bugs). And so on.

Ubuntu, as with a number of larger Free Software projects, includes a code of conduct, which attempts to cement a basic framework for how people should interact with one another. If you feel you are being censored, then perhaps it’s not for your opinion – but because you are failing to follow the CoC? Just a thought…

Proprietary games, Free software

For many years, the games industry has made use of Free Software to help make their products better. A peek at a manual’s copyright acknowledgements (or exploring a game’s installed folders) can yield a number of interesting values. For example, Epic Games’ Unreal Tournament series has made use of the Free Ogg Vorbis codec for years, as well as OpenAL and (in the latest version of the game) the wxWindows library. Vorbis is used in other places as well – the PC version of mega-hit Grand Theft Auto San Andreas uses it. Another area of popularity is using Free Software for scripting engines – for example, the ever-popular Playstation karaoke series of games from Sony, Singstar, makes use of the Lua scripting engine (as well as Vorbis for its audio). Civilization 4 included a full copy of Python to handle its own scripting tasks.

How this happens license-wise varies, and is one of the primary concerns for game companies (whose code is kept proprietary, late-in-life iD Software games notwithstanding). Sometimes, permissive (non-copyleft) licenses allow a library to be used directly via dynamic linking, or even compiled directly into the end application. Sometimes this is not possible with a library’s Free license – however, a different (typically proprietary) license is also available as an option. The FreeType library for example offers users the choice of the GNU GPL, the world’s most popular copyleft license, or a permissive MIT/X11-style license which obligates the user to advertise the usage somewhere. The Qt windowing toolkit is available these days under a choice of Free copyleft licenses (GPLv3 or LGPLv2.1), or a paid proprietary license.

So, on to a new title. Yesterday was the release day for EA’s The Sims 3. Now, visibly, this game’s Free bits are not part of the game – but are part of the “Cider” compatibility engine based on Wine, used for the Mac “port”. As it is based on Wine, Cider includes buckets of Free libraries, as mentioned in the manual: libpng, libjpeg, dmalloc, bstring, SDL, FreeType, squish, iniParser, ffMPEG, and (generally speaking) Wine. However, this doesn’t always tell a full story – as I implied, sometimes something Free is used under a proprietary license, and often that replacement license does not require any copyright attribution in the game’s manual. Does The Sims 3 do any of this?

no images were found

Could be, could be. Oh, and for the nascent Sims 3 modding community, that might be your cue for where to start investigating the new custom items’ format.

4 GiB? Try 6.

One of the luxuries of having a whopping 6 GiB of RAM is the luxury to run lots of apps at once. Look ma, media players:

I confess I’m not sure where certain figures are coming from regarding RAM consumption on media player apps. It’s clear that RhythmBox is pretty lean RAMwise with a library the size of mine, but for all other players, there seems to be some pretty consistent comparative values that can be reached. What I wasn’t expecting was how high Songbird’s CPU consumption would be – I thought its resource gobbling was mostly limited to RAM and disk (as all these players use Gstreamer for playback). Certainly there’s no basis for statements like “3-10x more memory than RB” for ANY player, bugs aside. And bugs should be filed so they can be fixed.

Edit: I had a request for a non-jpg representation of the figures. Here it is. It’s the same file in all cases (an AAC or an Ogg, I don’t remember which), and before anyone asks, I had no apps open other than the players, Evolution, and X-Chat. Someone else suggested I should stop giving the misleading VIRT value from Top, so have re-measured the numbers using gnome-system-monitor’s “writable memory” column, which is probably the best measure I can easily take. So here are those numbers:

Player CPU % Writable memory
Songbird 1.1.1-0ubuntu1~fta4 16 94.3 MiB
Rhythmbox 0.12.0-0ubuntu4 3 32.5 MiB
Banshee 1.4.3-4~hyper1+jaunty1 3 44.5 MiB
Exaile 0.2.14-0ubuntu2 2 60.6 MiB
Listen 0.5-6ubuntu1 2 82.2 MiB

UDS EOF.

I got back from Barcelona last night, a couple of hours ahead of schedule. It was great fun, if exhausting – I know I’m not the only one who really needed a nap by Thursday. The really stand-out session for me wasn’t the media player one (I think Seb had that one completely under control without me injecting my £0.0123854347). No, my favourite session was entitled “Debian Relationship Healthcheck”, where a bunch of Ubuntu community people, Canonical people, Debian people, and combinations thereof, got together to talk about the importance of thinking Debian First – and to go back retrospectively and see how well that relationship has worked over the past cycle or two. I was delighted to have the opportunity to give a brief talk about the relationship between Ubuntu and Debian where the Mono team is concerned, which is a collaboration I’d like to think could be considered a real success story. Even Mark slipped into the session (as he did for many sessions throughout the time I was there) to cast an eye on where people feel that relationship stands, and offer his own suggestions. Overall, I’d say that session was definitely the one I’m happiest having been part of. With any luck the audio will be online at some point (it wasn’t a videotaped session).

It was also good fun having a chance to socialize a little (insofar as the hectic schedule allowed), and the most fun event would probably be the evening spent at a pizza place in town during the Football match – there was lots of beer during, and free celebratory Cava afterwards.

For the curious, I had an X-ray this afternoon and the hand i was moaning about wasn’t broken – just soft tissue damage. On the down side, that means I don’t seem to be as much of a badass who braves major personal injuries to be at a conference. But never mind, I didn’t really think it would be nice to have it in a cast.

Monobuntu Developer Summit notes

The session I came to UDS to be part of, Default Media Player Choice, is over. The upshot? Well, notes on the session will appear online soon (for now, try connecting to gobby.ubuntu.com with Gobby, and opening karmic-desktop-default-media-player), but the summary? I owe Jorge Castro a beer. The session was productive, everyone had constructive things to talk about, concerns to voice about all available choices, but the potted version:

Totem will remain default “file” player in Karmic.

Rhythmbox will remain default “library” player in Karmic – UNLESS a list of specific blockers mentioned in the Gobby notes is fixed, at which point Banshee would become the default. The deadline for the change is Karmic Feature Freeze (August 27th).

I want to thank Seb, Jorge and Evan, as well as others, for the time they put into the session – and here’s hoping for an awesome media experience in Karmic!

O Hai!

Hello there, guys & girls. I’m Jo Shields, I was made a MOTU on Friday, and assuming I didn’t break anything, this is my first post syndicated onto Planet Ubuntu. Whilst waiting for my secret society hood and keys to the Canonical corporate spaceship arrive, I’ll be busying myself with trying to make Karmic more awesome. And I’ll be at the Ubuntu Developer Summit later this month, too, if people have any suggestions on how to make Karmic more awesome they want to discuss with me. Or have any hot tips for good local beer.

Gnot Invented Here

A short missive on Gnote, which ties into my last post about bloat.

Gnote is, for those living under a large pile of particularly non-porous rocks, a fork of Tomboy, doing a line-by-line translation of the source into C++. It was announced one month ago today, and has already seen several releases.

Gnote is impressive. No really, The fact that Gnote exists is a testament to the patience of its developer – Mono (which Tomboy uses) was created to remove the pain associated with mangling C or C++, so taking an existing app and going back there is impressive work. It impressed me enough that when I became aware of it, I considered packaging it myself – however, inspection at a source level made me decide I couldn’t support certain practices which I’m not going to go into. That, and several members of the anti-Mono brigade had already accepted Gnote as their shining saviour and done packaging already.

If Debian’s FTP Master determines that Gnote is permissible for inclusion in Debian (I hear FTP Master has been particularly stringent these days in checking copyright) then great. Gnote is unquestionably faster to start up than Tomboy – that’s because Tomboy runs though a JITter and Gnote doesn’t. It doesn’t take a rocket scientist to determine that app startup time is higher on Mono apps than non-Mono apps. We’re not talking much time here – about a second or two tops on my desktop – but for some, that’s significant.

However, I think it’s worth mentioning at this point that those same anti-Mono elements (Moycott Movell, mi’m mooking mat moo) don’t seem to comprehend basic benchmarking technique, and readers should be very wary of their quoted numbers relating to (you guessed it) bloat. Firstly, RAM numbers. The quoted figures are 15.2 MiB versus 5.5 MiB. How true are these numbers? Well, first, let’s look at the RAM consumption here on Ubuntu 9.04 of both apps – Gnote 0.3 and Tomboy 0.14.0 – with a fresh install. 14.2 MiB versus 7.6 MiB. Hm, those numbers don’t add up to what was quoted. I wonder why….. Firstly, Gnote is a C++ app, and as a result, is much more memory hungry on 64-bit architectures like mine than on 32-bit architectures – that accounts for some of the difference.

However, let’s look closer – what functionality exactly is being offered by both apps, out of the box? Gnote comes with 4 add-ins, all enabled: printing, bugzilla links, fixed width, and timestamps. Tomboy has all of these, but ALSO comes with Sticky Notes importing, backlinks, HTML export, Evolution integration, local directory and WebDav synchronization, but NOT the timestamp addin by default. Let’s change Tomboy’s addins to match Gnote, shall we? 14.1 versus 7.6 – Gnote is half as RAM-hungry as Tomboy if you disable two thirds of its abilities. If you don’t want those abilities – e.g. integration into Tasque to-do lists or synchronization to anywhere else, then Gnote is definitely the less “bloated” app. But, just for curiosity’s sake, shall we try another comparison – Gnote with ALL its abilities enabled versus Tomboy with ALL its abilities enabled? 14.5 versus 7.6, with three times the feature set. Three times the features in twice the RAM footprint would, if my sums are correct, make Tomboy the less-bloated app in terms of features-per-meg-of-RAM. If you use those features. And now we’re looking again at defining bloat.

Now, the disk space question. Tomboy and its unique deps take 13.9 MiB of space on a Jaunty install CD. Gnote pulls in 6.3 MiB – so, again, about half the size. These numbers make certain assumptions – for example, that we’re working purely on these packages, and not making hysterical judgements on surrounding frameworks. Ubuntu comes with Mono and GTKmm by default due to other apps, and it’s important when measuring this kind of thing not to impact on other apps. And if you want a clue as to where the space difference comes from? Tomboy comes with documentation in 14 languages, taking 4.4 MiB of disk space; Gnote has 2 languages, taking 1.1 MiB. Don’t do the maths on what that would mean if Gnote had parity on number of languages including documentation, it’ll make you sad. Yet again, we’re into subjective territory over classifying features (such as documentation) as bloat or not. And the only people equipped to do that are the distro packagers who make a decision.

IF Gnote can reach feature parity with Tomboy, and IF it remains smaller on disk and in RAM with those features it currently lacks, and IF it shows a clean bill of health for security and stability over a testing period longer than its one month on this Earth, and IF the desktop team are comfortable switching from an app with an upstream team to a one-man show, and IF the desktop team are comfortable going from an app which innovates to an app which emulates, then I think it’s pretty clear which app makes more sense on the default install CDs. Until then, let’s be sure to compare Gnote and Tomboy using real, verifiable metrics and not hyperbole.

Don’t gloat about bloat

I’m going to take a moment to talk about bloat. What it means, and why one man’s bloat is another man’s necessity. First, a definition: bloat is an arbitrary measure of subjectively “useful” features minus subjectively “useless” features, divided by the size of something (in memory or on disk or whatever). If you want a non-computing comparison, then in pure Body Mass Index terms, most rugby players are considered morbidly obese – but in reality, the “useful” muscle accounts for the high weight-to-height ratio, compared to “useless” fat that BMI is meant to indicate.

And the same is true for apps. An app with few features and high requirements (RAM or disk) is bloated. An app with many features, all of which are useful, but modest requirements, is not bloated. The problems are how to define all the terms involved – and those messy in-betweens. If you need to pick between two apps (say for inclusion by default on a distro CD), and those two apps have feature parity, then the choice between them is easy. Where apps have their own unique features, it requires looking at the bigger picture.

Let’s take e-mail clients for example. Ubuntu ships with Evolution by default – a hefty application consuming just under 60 MiB of disk space in the Ubuntu default install of ~2.2 GiB. These numbers are taken on AMD64, by the way, where C-based apps are larger than on i386. And my figure for Evolution is just for the client – it doesn’t include the data server component used by Ekiga. Would a different client be smaller? Absolutely. Thunderbird would save about 20 meg of space. Claws (with no plugins) would save over 50 MiB. But the question is, is the space saved worth the trade-offs? The 20 meg gap between Thunderbird and Evolution means going from giving new Linux users “Outlook for free” to “Outlook Express for free” – are the added features, the added kudos of offering a Free equivalent to a £90 groupware client, worth 20 meg? Is that bloat, or is it usefulness? That’s the question distro makers need to answer. Taking it further, OpenOffice.org accounts for a terrifying amount of that 2.2 GiB install – just under 245 MiB, or 10% of the install. Would any inevitable space savings from switching to the GNOME Office suite (Gnumeric et al) be worth the loss in features?

What I’m getting to here is about my Banshee post. When I made my post, citing 6 meg saved, it was facetious of me. The numbers are true, don’t get me wrong – but it would be wrong to characterise Rhythmbox of being bloated. The difference in size between the two apps can be accounted for by things like, say, RB having about 6 meg of documentation provided, and Banshee having none. I picked an attention-grabbing headline, because the fact that a C#-based app like Banshee could actually be pretty lightweight was interesting, and challenged preconceptions. The real headline though, the reason I’m proposing switching to Banshee as default, isn’t because of space savings. It’s because the other plusses – the active development community, the constant improvement, and the features in Banshee not found in Rhythmbox – do not result in any significant losses in disk space. The Ubuntu Desktop team would love to have all the space in the world, to be able to include big things like OpenJDK by default, but they don’t and they can’t. The reason why I feel now is the time to make this proposal for Banshee (and I should note that whilst I’ve been using Banshee for a few years, I’ve previously strongly felt that Banshee was insufficiently mature, and also pulled in too much crap on disk, to be a sensible proposal), is that Banshee’s biggest plus – the Ubuntu-style striving for self-improvement – now comes with so little cost compared to the rather unmoving, “mature and unflinching” Rhythmbox.

I’ll always advocate for what I feel is the best technical solution to a task, regardless of the languages involved – and I really feel that “actively worked on” is enough of a feature to top the scales. Listen is pretty nice, but missing a bunch of features (are the missing features bloat? Who can say) and is still a little immature. Exaile is better, but actually consumes more resources than Banshee for no added features. Songbird? Well, Songbird is just plain bloated (very much aware of the irony, thank you) with its forked copy of XulRunner gobbling up twice the RAM AND disk space of Rhythmbox, and offering only an un-Accessible UI in return.

So going into UDS, I want to make it clear – I want to discuss with the desktop team candidly about which of the available applications has a sufficiently high features-to-resources ratio, with a clean migration path and no major feature losses, to warrant changing to default. If Rhythmbox wins out, then so be it – the process will result in valuable feedback which I have no doubt Banshee’s upstream could convert into fixes by the time Ubuntu 10.04 rolls around. And that active upstream is why I think this is a decision Banshee stands a good chance of winning. May the best app win, now and in the future.