C# Is just “SO Last Year”

Most readers of this humble blog will be very aware of my personal opinion about Mono and specifically with regards to where it should belong in Ubuntu.

Free and Open Source Software projects are built using a wide variety of programming languages. Blackduck who study this kind of thing have released some interesting data regarding the use of various languages to develop FOSS applications.

C# (the language of choice for Mono advocates) is languishing in 10th place behind Perl, Python, PHP, Java and many not insignificant others.

FOSS Language use

FOSS Language use

And is doesn’t appear to be growing by anything other than what looks like a statistical anomaly.

Mono Growth

Mono Growth

If one were to listen to some proponents of Mono/C# you might have been led to think that (to be read in a really deep voice like the old Carlsberg ads):

“Someday, all software will be written this way”

Yeah right.

My other foot has bells on it…

Thunderbird 3 on a netbook?

I’ve been discussing the layout of the forthcoming TB3 release on their mailing list recently.

Since I installed it on my new Asus 1008HA on top of the Ubuntu Karmic Alpha build I’m having a bit of an issue with the [relatively] huge size of the header panel for messages. According to a quick measurement in the Gimp, the header is using 137px of vertical space. Netbooks typically have a 1024x600px resolution, some are even smaller. 137px represents almost 23% of the available vertical space.

TB3 Classic View

TB3 Classic View


Here’s a screenshot showing the typical layout I prefer clearly showing the space required by the header. Note that I also have the Calendar plugin Lightning installed too.

There used to be a “compact header” layout that took up much less space but allowed you to see more of the information if needed. But for reasons I do not understand that has been dropped from the current builds which seems a bit of a shame to me. The size of the header is making TB3 quite difficult to use on the increasingly popular and common ultra-portable devices. I am assuming this will be same if you are using another operating system too.

It was suggested that I try one of the other “views” or layouts that you can choose in TB and provide some screenshots too. Here you go then:

TB3 in the Wide View layout

TB3 in the Wide View layout


TB3 in the Vertical layout

TB3 in the Vertical layout


TB3 Vertical layout with the Today Pane removed

TB3 Vertical layout with the Today Pane removed

As you can see, the header impacts the available message body considerably in all layouts. One thing I realised though is these screenshots show a plain text email from a newsgroup reader. How about another common type of email then? HTML…

TB3 Classic View HTML Email

TB3 Classic View HTML Email


TB3 Wide View HTML Email

TB3 Wide View HTML Email


TB3 Vertical View HTML Email

TB3 Vertical View HTML Email

I find these images even more telling. Note how there is virtually no working space in the Classic View to determine if the mail is one you want to allow images to be loaded. I don’t think the Vertical view works at all and even the Wide View which is probably the most usable of the three seems to just draw your attention to the header and not to the message itself.

I also notice that there is a rather silly bit of wastage to do with the Calendar and Tasks buttons (underneath the search box). Why can’t they appear alongside the rest of the main toolbar? If you have multiple tabs accessible then I can see why we need the row to hold the tabs, But when there isn’t a tab open, is it really necessary? Whatever the case, I see no reason why the Lightning buttons need to have their own toolbar. That’s just waste and unintuitive. I’d expect those buttons to be with the others, not out on their own like that.

I will post a link to this blog page on the mozilla.dev.apps.thunderbird mailing list for all to see and hopefully comment.

Don’t get me wrong though. I really like Thunderbird. I have a strong preference to it over Evolution. Whenever I have tried Evolution I’ve found it difficult to use (in the sense it isn’t obvious), and it failed to work with our CalDAV calendars which was a known and long standing bug (I am not sure if this is still the case). It also didn’t feel as stable as TB, and considering I regularly use Alphas or nightly builds of Thunderbird and Lightning that is saying something. There is also a bug that has been open since 2004 with the title “Evolution is unusable in 800×600 or 1024×768″. It has seemingly received little attention since it was reported 5 years ago.

A recent post to the bug above pointed me to a blog post by Srini Ragavan discussing a new development going on for Evolution specifically to create a UI that is better suited to small resolution displays called Anjal.

Anjal looks to be a very interesting development and one I will be following closely. If Evolution gets to be as easy to use and as polished as I feel about Thunderbird, then I might well end up giving it a try again.

Software Patents: The new MAD

With the recent news of Microsoft being told to stop selling MS Word in the US due to it’s infringement of a patent owned by i4i I am really hopeful that perhaps, just perhaps, someone will start to realise just how MAD this all is.

Reading the first story I linked to, there is a reasonably understandable explanation of the patent in question but lets be honest here. Does this sound like an truly new and innovative invention?

“What we have developed at i4i is what’s customarily referred to as ‘customer-centric’ or ‘custom XML,’ which is allowing people to create customer-driven schema — we’ll call it templates or forms. So, while XML is used to tag and to mark the data that’s created, our technology is used to create the whole schema and the management of the data.”

They’ve managed to patent the ability to create your own schema by the sounds of that. Isn’t that what XML is for?

Anyway, I can’t see the good ‘ole boys really winning in the long run. I’m sure it will get over turned when hopefully someone shows up with some prior-art. But it seems to me that with this ridiculous system in the States, they are building their own new version of the Cold War. Remember Mutually Assured Destruction? That’s where they are now.

Businesses like Microsoft, IBM and others build vast portfolios of patents on the most ridiculous things not for their inherent value, but mainly as a safeguard against being sued for infringing someone else’s equally ridiculous patent. ‘If you sue me for patent xyz, then we’ll sue you with zyx’. Then we have the other wonderful group of [ahem] businesses known as Patent Trolls who bring nothing to the party except litigation. Nice.

Who wins out of all this in the long run? The worst group of parasites on the planet (yes, even worse than estate agents): Lawyers.

Surely, the US Government must see the stupidity and waste that this daft situation has created? I really hope that this is the litigious straw that will break the back of the patent camel.

Finally, get this. The last paragraph of that story reports on a patent that Microsoft has just been granted, which they applied for several years ago.

Word-processing document stored in a single XML file that may be manipulated by applications that understand XML

A word processor including a native XML file format is provided. The well formed XML file fully represents the word-processor document, and fully supports 100% of word-processor’s rich formatting. There are no feature losses when saving the word-processor documents as XML. A published XSD file defines all the rules behind the word-processor’s XML file format. Hints may be provided within the XML associated files providing applications that understand XML a shortcut to understanding some of the features provided by the word-processor. The word-processing document is stored in a single XML file. Additionally, manipulation of word-processing documents may be done on computing devices that do not include the word-processor itself.

Hmmm – this appears to have far reaching implications. OOXML, ODF, any word processor supporting XML file formats… Jeez. How the f**k can you call this an invention?

Please, UK Government and the EU Commission, don’t let the patent trolls of the world make you think that software patents are a “good thing”.

Packt Annual Open Source CMS Awards

Packt has launched its Fourth Annual Open Source CMS Award.

The Packt Open Source Content Management System Award is designed to encourage, support, recognize and reward Open Source Content Management Systems (CMS) that have been selected by a panel of judges and visitors to our website. At the moment, we’re accepting nominations for CMSes across different categories on the Award. Nominations will remain open till September 11, after which, the top 5 nominations for each category will go through to the final stage where people and our judges will vote to choose the best CMS in each category.

The 2009 Open Source CMS Award nominations have begun. Nominate your favourite CMS for the appropriate categories today and help them win their share of $24,000! If you’ve benefited from an open source CMS and would like to give something back to the team that made it happen, now is the time!

If you’ve been using a FOSS CMS then take a few minutes out and go and nominate your favourite; I’ve voted for mine. It’s a great way to help your project…

Pressure Mounts on Windows Tax? [Update]

I wonder…

Since I wrote about getting the Windows license fee refunded on my Asus 1008HA netbook here in the UK, there have been more examples where individuals have had some success.

First we had a story on slashdot in the USA that seemed to be inspired by my own:

Today Amazon credited my card with $65.45. After ordering an Eee PC 1005 HA from amazon.com, I asked them for a refund for the cost of Windows XP via the ‘Contact us’ form. At first they told me to cancel any items on my order that I wanted a refund for, but after I explained that XP was pre-installed on the machine they got it. They asked what the cost of the OS was, and I answered that I had no idea but that Amazon UK refunded £40.00. Within a few hours I got a response saying ‘I’ve requested a refund of $65.45 to your Visa card.’

Then we had some tales of difficulty in getting the refund from Amazon and Ebuyer, although I guess they will capitulate in the end as it seems the law is on our side:

If the retailer is awkward, then the way to a refund is avoid the trap of following the instructions in the EULA. Instead you request that the retailer replace the software with a version that isn’t ‘faulty’ (ie doesn’t have the additional terms and conditions imposed). You didn’t agree to them when you purchased the item and therefore they don’t form part of the contract of sale with the retailer.

The Sale and Supply of Goods to Consumers Regulations 2002 requires that the retailer replace the faulty item, or if that is impossible provide you with a refund. The Sale of Goods Act gives you the right to partially reject items. Essentially you assert your ’statutory rights’.

Simos Xenitellis writes about trying to acquire a machine sans Windows Tax. And finds a few locations. I note that the first comment to his post is suggesting he visit our own site http://nakedcomputers.org for more bare-metal suppliers.

It is very difficult to buy a computer without Windows (that is, to buy it with either Linux, FreeDOS or no OS) in the European market.

Why would you want to buy a laptop without pre-installed Windows?

1. Because you are simply not going to use Windows (for example, you plan to use a Linux distribution)
2. Because your school has an Developer Academic Alliance (formerly MSDN AA) with Microsoft and they provide the Windows software for you
3. Because your organisation has a company-wide agreement for Microsoft software, and you do not wish to pay twice for Windows.
4. Because you somehow have a Windows license or Windows package installation box already.

Sadly, when talking to the sales personnel of a manufacturer, it might look an easier strategy to just mention points 2 or 3. There is already some prior knowledge with the sales personnel that large organisations do not need the pre-installed Windows software.

And then we have Venkat Raghavan who has just bought an Asus 1005HA, again from Amazon, inspired by the earlier mentioned Slashdot article, and with not too much trouble has managed to get the Windows Tax refunded:

I’ve been a linux user for quite a while now. I looked to buy a netbook without Windows on it, but due to market conditions, that did not seem possible.

Based on this slashdot article, I went ahead and ordered the same item. (see my report on it here)

The first conversation was over the phone, which did not get me anywhere.

I had better luck over email. They offered me a refund of 10% on the price of the netbook, along with keeping Windows on it.

I however, asked again pointing to the slashdot article and after that they refunded me the price of Windows XP according to the article: $65.45

Thank you amazon for being so awesome!

That’s great. Congratulations on your perseverance and success.

Venkat also describes his experiences installing Ubuntu Netbook Remix and subsequently eeebuntu on his new machine here.

To wrap up this quick post, there is this very interesting news story/rumour about Asus being reported currently, I wonder if the message is finally getting through?

Awesome news from Engadget about the open source future of the next generation of Eee PCs. Their ‘spies’ have uncovered information that the first Moblin-running Eee netbooks will be in stores come October. Asus, the Eee PC manufacturer, is apparently considering making open source OSes an option for all their netbooks in the future.

Please keep up the pressure dear readers. If you buy a computer where you do not “need” a Windows license, for whatever reason (see Simos’ suggestions for 4 of them above) then make sure you contact your supplier and request a refund. By all means use links and reports gathered around the ‘net to support your claim.

Hmmm, I think feel a new website idea brewing….

[Update]

We just received a comment on our “Please Sell us some Laptops” post from Claudio about how he got a refund from Dell in Belgium very easily:

I installed Ubuntu on the machine. Everything worked out of the box (a firmware update was needed to speed up the Intel Wifi) and I was a happy customer. Because I don’t use the pre-installed Windows partition, I sent a polite e-mail to Dell requesting a refund for the license of Microsoft Windows and Works. I just stressed I was a happy customer (I am) and didn’t want to return the laptop. I didn’t accept the EULA and asked for an address to send the Windows restore DVDs.

The answer was fast and professional:

Thank you for contacting Dell online customer service.

We will not be collecting the software CD’s from you, but would arrange for the amount to be refunded back to your account.

Please allow 5-7 business days for the amount to get reflected on your account.

And indeed, a few days later € 96,78 was added to my credit card. That’s what I call a customer service WIN.

Thanks.

Book Review: Trixbox CE 2.6 from Packt

[Please Note: If you use the book links from this site to Packt's and decide to buy *any* book from their site, we will get a small commission that we'll use towards the upkeep of our servers etc.]

Trixbox CE 2.6

Trixbox CE 2.6

Following on the heels of the Asterisk AGI Programming book review, Packt asked me to take a look at this one.

trixbox itself is a “packaged solution” comprising the operating system, Asterisk and a back-end/front-end configuration tool based on FreePBX. Personally, I’m from the “old school” when it comes to applications and I do like to know what makes them tick. So with Asterisk for example, when I first started looking at it I wanted to try and understand the configuration files and how it really worked so I installed from source and built everything from scratch. trixbox CE (Community Edition) on the other hand provides a user-friendly front end to Asterisk and wraps the whole thing up with an OS and delivers the bundle as a free download which is a ready-to-run ISO.

I guess one downside to the appliance package like trixbox is that you are tied into using the vendor’s choice of OS (CentOS in this instance) rather than your own. However, there are several advantages too: you know it works, has been tested all together and is supported, to whatever extent the community provides, by the producer. Anyway, this post isn’t a plug for Ubuntu or a review of the trixbox product itself. This is a review of a book about trixbox.

Before we get into the book though, for those who are unfamiliar with what trixbox is, their website tells us:

Beginning in 2004 as Asterisk@Home, the trixbox® Community Edition (CE) telephony application platform is the open source software that has quickly become the most popular Asterisk®-based distribution in the world. trixbox CE combines the best of the open source telephony tools into one easy-to-install package, along with the trixbox dashboard which provides a web-based interface to configure and manage a complete IP-PBX system. The most flexible and customizable communications platform available, trixbox CE averages over 65,000 downloads a month.

And the Wikipedia, in what must be one of the shortest pages in the entire Wikiverse, states:

Trixbox CE is 100% free and licensed under the GPLv2. Founding members of the trixbox CE project are Kerry Garrison and Andrew Gillis.

The trixbox CE brand is now owned by Fonality. Documentation, help and community forums can be found at www.trixbox.org

So that’s what the book is supposed to be telling us about. Let’s see if does…

It is subtitled “Implementing, managing, and maintaining an Asterisk-based telephony system” and written by Kerry Garrison. It’s quite a hefty tome weighing in at around 300 pages and is produced with Packt’s professional and easy-to-read layout & styling.

Chapter 1 is a brief introduction into the whole telephony scene covering subject such as what a PBX is. It then moves the reader toward an overview of the key features of Asterisk. For the most part the author has a good writing style and gets the information over with clarity. There is some good advice too; whilst obviously the author wants to explain why trixbox is the bees knees, he does make a very sensible comment early on:

While trixbox CE does make using Asterisk dramatically easier, it is certainly a good idea to really get in and learn all you can about the Asterisk configuration files. The more you know about how the system works under the hood the easier it will be for you to troubleshoot problems and even add features to your systems that aren’t available in trixbox CE.

Chapter 2 introduces the reader to trixbox itself:

  • Going over some of it’s history,
  • briefly mentioning the commercial trixbox packages available from Fonality,
  • looking at the core components that make up trixbox
  • trixbox features with lots of screenshots
  • and what you will need to try out trixbox such as a PC, perhaps an analogue line card and a SIP phone.

There are lots of URLs scattered about where necessary directing the reader to further sources of reading or links to relevant vendors and downloads etc. For someone who is getting started this is a good resource and introduction.

trixbox console after first boot

trixbox console after first boot


In Chapter 3 we get shown how to install trixbox, even showing novice readers how to burn a CD if you happen to be unfortunate enough to be using Windows.

I followed this chapter through myself and installed trixbox CE 2.6 in a VirtualBox VM. The instructions were good with plenty of screenshots and comments guiding the reader through the process. (Just FYI, on my PC Lobsang, the entire install in a Virtual Machine took just about 3 minutes!. During the first boot up I noticed that it uses the excellent OSLEC echo canceller by default. That’s a plus mark from me.)

The trixbox status screen

The trixbox status screen


Continuing through the chapter, after installing and doing a yum update we are guided to the browser interface of trixbox…

The rest of Chapter 3 explains the various screens and basic navigation techniques to get around. Once again, I’d say the book is comprehensive and has plenty of screenshots and comments.

I’m not going to write about every chapter because, to be honest, the rest of the book is equally well put together and covers the subject in detail. Chapters 3 to 11 are what a good manual would be like. Having digested these chapters, the reader will know a good deal of how (and perhaps more importantly why) to plan, select hardware, install, setup, configure and maintain a trixbox system. There is plenty of “extra” information thrown in that explains what various features or aspects of the system are for and how they work. References to external sources abound and other vendors are given a decent mention where appropriate. Simply put, it’s good. If you want to use or manage a trixbox CE system this book would be an excellent resource in my opinion.

The final part of the book, Chapters 12 to 17, provide somewhat more orthogonal, but nevertheless valuable, information. We get to find out a little about:

  • troubleshooting techniques and also where else to go to learn further skills,
  • some of the additional trixbox utilities that are available like the endpoint manager,
  • the basics of designing a decent callflow for the IVR,
  • an introduction to a new end-user interface called HUD (Head Up Display),
  • and an overview of the commercial trixbox Pro products.

In summary then, this is another good book from Packt that hits all the right buttons. It is well written, very detailed, and has good explanations of technologies and applications related to IP telephony.

As to it’s main purpose, that is explaining how to deploy and use trixbox CE, in my opinion this what a decent product manual should be like.