The internet platform of the future

I recently sent the following to the New Statesman in response to a piece they recently carried which weighed up the likely fortunes of Google, Facebook, and Apple, and asked which would be the internet platform of the future. It is quite obvious to me that we already have the internet platform of the future, and it’s called Linux. They ran it, edited, in the letters page, but they don’t publish letters online so here, for the first time, live and unplugged, is the unexpurgated version.

“I read the recent “Is Apple dying?” with great interest- a sound analysis of the woes of the increasingly less mighty Apple. It’s interesting that even in the pages of the New Statesman, however, the value of something is ignored unless it is profitable. For we already have “The internet platform of the future”. We have long had it and it shows no sign of weakening in the future. It’s called Linux. It’s totally free and so turns no profit for shareholders, but it ceaselessly and tirelessly grows and develops, a product of a global community that believes in the true values of the internet. The internet as we know it today would be quite impossible without Linux- could Apple and Facebook say the same? Google perhaps could, but it’s interesting to note their heavy use of Linux, most notably within the Android operating system.”

Free and open source software. Come for the free, stay for the awesome

I just wrote this for the Institute of Mental Health blog so I thought I may as well cross-post here. I promise I will talk about something other than Shiny soon 🙂

Open source software refers to software whose code is available for anybody to view, revise and reuse. This should be contrasted with closed or proprietary code which is known only to the manufacturer, and who will often charge a fee for individuals to use the software (for example, Microsoft Word, or Adobe Photoshop).

There are many types of open source licence but the principle of viewing, revising, and reusing underpins them all. On the face of it, this does not seem like a very exciting proposition, and newcomers to the concept often wonder what difference such an apparently obscure part of software licensing could make.

However, because open source software (often, although not always, available at no cost, and referred to as Free and Open Source Software or FOSS) can be modified by anybody it offers a number of advantages over traditional proprietary software.

Firstly, FOSS is free. I’m writing this blog post on a computer which contains absolutely no software of any kind that costs any money whatsoever. I shall repost it on my self-hosted blog which runs on a server which itself contains no software of any kind that costs any money whatsover. In a time of austerity, the availability of free software that can perform all the tasks of paid software should be a deafening clarion call across the public sector. And indeed FOSS is starting to gain traction in education and health.

However, not only this, but FOSS is often better than its paid counterpart. This is because anybody can change and improve it, and whole communities exist around popular tools, adding new features and fixing bugs continuously with everyone inside and outside of the community benefiting. The FOSS operating system Linux basically runs the internet. The closed source Microsoft Excel, notoriously, features bugs that Microsoft can’t or won’t fix (e.g. here, here). Even the US Military are making ever larger use of open source sotware.

The statistical programming language R is another success story from the FOSS world. Precisely because it is free and open source, a huge community of statisticians, programmers, data visualisers and analysts all contribute to its development. At the time of writing there are nearly 5000 user contributed packages within R, which help users with tasks as diverse as computational chemistry and physics, finance, clinical trials, medical imaging, psychometrics, machine learning, statistical methods, and the production of extremely powerful and flexible statistical graphics. R is rapidly becoming the lingua franca of analytics and is widely used in many leading data science departments, perhaps most notably Google.

I have made extensive use of R in my work on Nottinghamshire Healthcare NHS Trust’s new patient feedback site, using R to serve both static quarterly reports as well as interactive, searchable analysis of all of our feedback past and present.

The searchable reports are made possible by the Shiny package which makes it ridiculously easy to allow users to interact with a dataset. Shiny handles all of the hard work involved in programming a graphical user interface and lets analysts such as myself concentrate on the content of what is delivered to the user.

Although Shiny is never going to replace other methods of programming for very large, fully featured analytics platforms (for example, Google Analytics) it has certainly proved its worth on the patient feedback website and I would hope that R and Shiny would find more and more use in NHS settings up and down the country to allow Trusts to better communicate their data to the communities and service users whom they serve.

There are some demonstrations of what can be done with Shiny on my website, some are little examples I wrote just for the book but some are more fully featured than that and hopefully demonstrate some of the things which can be achieved using Shiny.

Over the next 10 years I hope to see more and more use of FOSS, not only for the Free, but also for the Awesome.