[personal profile] mjg59
I was at the OpenStack Summit this week. The overwhelming majority of OpenStack deployments are Linux-based, yet the most popular laptop vendor (by a long way) at the conference was Apple. People are writing code with the intention of deploying it on Linux, but they're doing so under an entirely different OS.

But what's really interesting is the tools they're using to do so. When I looked over people's shoulders, I saw terminals and a web browser. They're not using Macs because their development tools require them, they're using Macs because of what else they get - an aesthetically pleasing OS, iTunes and what's easily the best trackpad hardware/driver combination on the market. These are people who work on the same laptop that they use at home. They'll use it when they're commuting, either for playing videos or for getting a head start so they can leave early. They use an Apple because they don't want to use different hardware for work and pleasure.

The developers I was surrounded by aren't the same developers you'd find at a technical conference 10 years ago. They grew up in an era that's become increasingly focused on user experience, and the idea of migrating to Linux because it's more tweakable is no longer appealing. People who spend their working day making use of free software (and in many cases even contributing or maintaining free software) won't run a free software OS because doing so would require them to compromise on things that they care about. Linux would give them the same terminals and web browser, but Linux's poorer multitouch handling is enough on its own to disrupt their workflow. Moving to Linux would slow them down.

But even if we fixed all those things, why would somebody migrate? The best we'd be offering is a comparable experience with the added freedom to modify more of their software. We can probably assume that this isn't a hugely compelling advantage, because otherwise it'd probably be enough to overcome some of the functional disparity. Perhaps we need to be looking at this differently.

When we've been talking about developer experience we've tended to talk about the experience of people who are writing software targeted at our desktops, not people who are incidentally using Linux to do their development. These people don't need better API documentation. They don't need a nicer IDE. They need a desktop environment that gives them access to the services that they use on a daily basis. Right now if someone opens an issue against one of their bugs, they'll get an email. They'll have to click through that in order to get to a webpage that lets them indicate that they've accepted the bug. If they know that the bug's already fixed in another branch, they'll probably need to switch to github in order to find the commit that contains the bug number that fixed it, switch back to their issue tracker and then paste that in and mark it as a duplicate. It's tedious. It's annoying. It's distracting.

If the desktop had built-in awareness of the issue tracker then they could be presented with relevant information and options without having to click through two separate applications. If git commits were locally indexed, the developer could find the relevant commit without having to move back to a web browser or open a new terminal to find the local checkout. A simple task that currently involves multiple context switches could be made significantly faster.

That's a simple example. The problem goes deeper. The use of web services for managing various parts of the development process removes the need for companies to maintain their own infrastructure, but in the process it tends to force developers to bounce between multiple websites that have different UIs and no straightforward means of sharing information. Time is lost to this. It makes developers unhappy.

A combination of improved desktop polish and spending effort on optimising developer workflows would stand a real chance of luring these developers away from OS X with the promise that they'd spend less time fighting web browsers, leaving them more time to get on with development. It would also help differentiate Linux from proprietary alternatives - Apple and Microsoft may spend significant amounts of effort on improving developer tooling, but they're mostly doing so for developers who are targeting their platforms. A desktop environment that made it easier to perform generic development would be a unique selling point.

I spoke to various people about this during the Summit, and it was heartening to hear that there are people who are already thinking about this and hoping to improve things. I'm looking forward to that, but I also hope that there'll be wider interest in figuring out how we can make things easier for developers without compromising other users. It seems like an interesting challenge.

The arguments also work the other way round

Date: 2014-05-20 04:06 pm (UTC)
From: (Anonymous)
I use Linux on my Sony Vaio Z23A4R laptop, and here is why: because no other OS works well enough for me.

First, here is why not Mac OS X on a Macbook.

I live and work in Russia. During my work (and sometimes this includes "at home"), I have to read and write e-mail, write network-related software in Python and C, debug it (this includes looking at IP packet traces), review patches, package it for Debian and then deploy to our production servers. These activities involve a lot of ssh, so a good terminal emulator is necessary. Due to the general Russian cultural habit of using Norton Commander workalikes, I often run Midnight Commander on remote servers. However, the default Terminal app built into Mac OS X eats all functional keys (such as "F3" to view a file, or "F10" to quit), making mc nearly useless. This is probably solvable by installing a different terminal emulator.

And for examiling packet traces, Wireshark is the king. Unfortunately, the official package sucks terribly (possibly due to the general GTK+ suckage on Mac OS X). It takes several minutes to start up due to the "fc-cache" process. Then, I need to open the capture file and filter it. In order to filter, I need to type some expression like "tcp.port eq 3128", which has Latin letters in the middle. But I can't! If the Russian locale is configured on Mac OS X (and I need that), GTK+ allows only input of Cyrillic letters, completely ignoring the system-wide cmd+space shortcut that switches between Latin and Cyrillic layouts. That's a deal-breaker. Under Windows and Linux, there is no such bug.

And now here is why not Windows.

This laptop has a 1920x1080 13.3" wide-gamut screen. So, in order to get a reasonable font size, the zoom factor needs to be set to 150% (or 144 dpi). And to get reasonable colors for photos (well, not required for work, but still nice), color correction has to be applied. Unfortunately, when the font scale is set to anything >= 120 dpi, Windows renders all applications that don't explicitly declare support for such high-resolution displays (i.e. almost all applications - including Chrome and Adobe Reader) into bitmaps, and upscales these bitmaps. And it doesn't have built-in full-screen color correction. So the whole benefit of having a good laptop screen is wasted. Linux, on the other hand, has no big problem with 144 dpi (especially good are GTK+ based apps), and has two window managers with working color-correction: Compiz 0.8.x (with CompICC) and KWin.

So, currently, Linux is by far the best choice of the OS on this laptop for this kind of work.

-- Alexander E. Patrakov

Profile

Matthew Garrett

About Matthew

Power management, mobile and firmware developer on Linux. Security developer at Aurora. Ex-biologist. [personal profile] mjg59 on Twitter. Content here should not be interpreted as the opinion of my employer. Also on Mastodon.

Expand Cut Tags

No cut tags