204 points · by pmoriarty · 9y ago · 91 comments
Compare with Google's ~1875-per-hour from 2015[1]:
>, and Google’s 25,000 engineers make about 45,000 commits (changes) to the repository each day.
Obviously, we can't extrapolate that Google should switch to an internal SMTP project management system layered on top of Perforce because "email is faster than any of the alternatives". Same for other companies with high commit rates to their source repos like Microsoft and Facebook.
Since Linus & Linux community never did an A-vs-B experiment of email vs open-source-JIRA-clone as a project workflow, I think we can only safely say that email works best for a disparate group of volunteers with different employers. Email is the lowest common denominator that everyone could agree to use.
You couldn't get 4000 opinionated developers to agree to use an open-source JIRA-clone or MS-Team-Foundation-clone or some other ALM[2]-in-the-cloud.
Therefore, listing advantages of email clients such as "threaded tree views" etc is actually hiding the underlying reason email-as-workflow works for Linux. Email isn't about "throughput"; it's "acceptance".
[1] https://www.wired.com/2015/09/google-2-billion-lines-codeand...
[2] https://en.wikipedia.org/wiki/Application_lifecycle_manageme...
Acceptance is certainly part of it, but 8 changes per hour is 8-10 email threads per hour, which is just not that hard to track as an individual, thus no need to change anything. Right now at work on a large (200ish) team, I get cc'd on about the same amount of patches.
isn't google's situation a monorepo composed of many distinct projects? there doesn't seem much utility in the comparison.
> Email isn't about "throughput"; it's "acceptance".
this seems to be the similar, in the other direction. using (or not) an alm in an organization isn't about "throughput", it's about "accepting" a company's policy assertions.
I don't think that equating it from the reverse direction works. Here's why:
Using the article's count of ~4000 developers, let's consider all software companies that employ 4000+ developers as part of a "natural experiment"[1]. This includes companies and organizations like MS, Facebook, NASA, SAP, Oracle, etc.
Each company "votes" in the marketplace of ideas to coordinate software development for a complex project. One company might use JIRA. Another uses MS Team Foundation. Another uses FogCreek. Maybe another employer might use SMTP emails similar to Linux kernel development.
Since companies have every incentive to develop software with cost-efficiency and velocity, they will want to use the best workflow possible.
Since no single software company I know of uses SMTP emails as their ALM workflow, it either means that (1) companies are wasting money & losing iteration velocity by avoiding email -- or -- (2) the Linux kernel community has special circumstances that makes using a true unified ALM unrealistic. I believe that special circumstance is: 4000 programmers work for different employers instead of a single employer.
in the abstract these are generally viewed as or presumed to be positive, but the pressures and objectives of a business can be rather complex and other things will often compete for finite resources.
having worked in a number of large organizations, the waste and inefficiencies one can find is absolutely staggering.
outside the sales pitches, it's also not clear how an alm interacts with notions of 'cost-efficienty' and 'velocity'. introducing process and bureaucracy isn't always a win.
perhaps the presumed predilection of large organizations for alms can be found in alms addressing (or seeming to address) other needs, pressures or requirements.
Kernel development seems to progress fine, I'm pretty sure if there was a problem, Linus would have made some effort to change it, just like the whole source control thing that ended up becoming Git.
I'm not claiming that there's a bottleneck in kernel commits. (I'd guess human code reviews checking quality is the ultimate bottleneck.)
I'm saying that using emails as "building blocks to reconstruct an pseudo ALM" instead of using an actual special-purpose ALM -- is the only realistic workflow that would be accepted by the disparate Linux community who don't work for a single employer. (If you're a single company employing all 4000 of Linux kernel programmers, you could impose an ALM tool be mandatory for code reviews, assigning work, tagging bug reports, etc.)
Discussing positive bullet points of email ... even though each bullet point is true actually obscures the underlying reason the devs won't use an ALM.
Let than sink in. It's not only 4000 opinionated devs. It's, potentially, 400 completely different organizations; 400 management layers on top; 400 different priority sets; devs in every time zone; etc. Google is just 1 company (a dozen, if you want to break down Alphabet).
It's amazing that they manage to get 8 changes an hour, and still be one of the most successful open source, and software project in general.
Why changing the system?
From 3.19 to 4.7, an average of 4600 lines of code was added daily.
Over 80% of all kernel development is done by developers paid for their work.
A small number of companies are responsible for a large portion of the total changes. These being, from biggest to lowest contributor: Intel (12.9%), Red Hat (8,0%), Linaro (4%), Samsung, SUSE, IBM, Google (2%), AMD, Texas Instruments, ARM, Oracle.
Contributions from unpaid developers have been in decline for many years. 14.6% in 2012, 7.7% in 2016.
The problem with a ALM is it is a global lock. It is enormously disruptive if it is unavailable or even slow.
GitHub and the like only work that well when there's maybe one or two things being discussed at once, because there's just a single linear stream of comments.
To add to that, email (and NNTP news) clients even from 20 or 30 years ago have other powerful features that web forums have yet to catch up on:
- kill files[1] (which you can use to filter out unwanted articles/mails based on content or metadata such as subject, user, etc)
- scoring
- user-configurable anti-spam filtering or other "intelligent" filtering (such as bayesian filtering not just for spam/ham, but for interesting/unintersting content)
- tagging not just on a site-wide level but at the client level so each user can tag messages/articles the way they make sense to them
- other advanced filtering and scripting based on any of the above
Web-based forums are just incredibly primitive compared to this many-decade-old technology.
Now, even though I and my email client still use threading, much of my incoming corpus does not. Instead, I see a mixture of users who break every thread (no In-Reply-To headers, ever), users who cannot comprehend subject metadata versus first line of message, and users who use the most recent few screens of activity as an address book, always replying to the end of a thread with a completely unrelated and new topic.
Or maybe give up and have some sort of manual threading overlay where I could rearrange and add my subject tags for messages..
It's a bit sad the code is messy and it's a tad slow compared to other options.
Notmuch for Emacs has so much potential to replace Gnus. The interface is incredibly fast and friendly (a classic tree view and a threaded view that IMHO surpasses Gmail). Plus super quick search.
I think it could become a killer application for Emacs (the other two now are org-mode and Magit IMHO).
However, there's no good tooling to keep Notmuch in two-way sync with maildirs right now. Everything works based on tags, which is incredibly flexible, but there should be some tooling to implement logic that allows moving mails around based on their tags, so that the remote IMAP store gets tidy.
People usually rely on scripts for simple use cases, which is fine albeit a bit hacky. Some DSL that resembles Sieve, but implemented in ELisp would be cool.
Notmuch doesn't have scoring, it doesn't have BBDB integration, it has no way to get arbitrary message headers from elisp, it only indexes a handful of headers.
I've heard it is possible to use notmuch as a backend for Gnus, to get the best of both worlds.
As for two-way sync, some people have come up ways of doing that, using something like Sieve.
For me two-way sync is not super critical, as I've come to view the webmail interface of my mail provider as just a backup to use in case my laptop dies or something. In all other cases, I'll just use notmuch, for which local tags are enough.
If you buy Reddit gold which makes Reddit to highlight posts that are new since you last time viewed the discussion, then Reddit becomes almost as good as NNTP clients were 20 years ago.
[0]: https://eul.im
then i started actually handling the raw email messages. i got threads working pretty well but noticed frequent rendering issues and digging into the cause. my conclusion is, email threading is mostly a pipe dream; it can only be done properly if you have a view of the entire conversation (as is the case with centralized forums/message stores like HN).
the 'References:' header only represents the message ids of any particular branch up to the root. if you try turning a number of messages with the same root into proper threads, you quickly discover missing branches, partial branches/holes, missing leaf nodes, etc. If your knowledge of a thread starts with a message forwarded to you, no thread is possible (even though one clearly exists as indicated by the References chain in the header!). side-conversations that happen (selective replies, cc/bcc), additional fwd/reply chains are all invisible to you. sadly, an incomplete thread view is an extremely common thing (at least in my inbox/sent of ~15k messages).
the client can only thread the actual raw messages it has; those simply quoted in any replies or forwards (which established the Reference chains) don't count. the only commonality you have is knowing the root message id and the timestamp for ORDER BY. everything in between, you may or may not have to reconstruct a partial view of the thread...and each user will have a different view of that thread based on which parts they've been party to.
the threading that i did get working was nice, but not as useful as a bulletproof solution would have been. unfortunately, i don't believe that's possible with email.
i now understand why gmail does flat convos.
Them why has it been working so well for me since I started using email?
Maybe take a look at this for inspiration: https://fkref.com/?RbC_-NEE
the problem is with this step:
4. Prune empty containers.
you can prune/flatten these containers but then the deeper messages that you do have are not direct replies to their ancestors in the flattened/pruned version of the tree.
i didnt say that threading did not work. it does. but it is imperfect at best and can be misleading at worst.
in my case i was constructing an MPTT structure (Nested Set) for optimal thread fetching and simply leaving in the dummy message placeholders that i didnt have a copy of.
i plan to experiment further, but there arent really any earth-shaking revelations in that post. it's all fairly obvious.
Like so many other things, though, this only works if you enforce it. It's pretty horrifying what the GitHub generation tends to think passes for acceptable on bugtrackers, for example.
Or that earlier posts get lost because no one actually sees them. With threaded discussion, if one subthread has gone off-topic, you can always collapse or kill that subthread.
And your point doesn't always hold true. For example https://github.com/torvalds/linux/pull/17
This is a social problem. I deliberately added a disclaimer about the tendency for things to turn to crap if you tolerate it.
I don't know what this is supposed to mean:
> And your point doesn't always hold true. For example https://github.com/torvalds/linux/pull/17
The said offline workflow (setup with: Mutt, OfflineIMAP, Postfix for local mail queueing, and Notmuch for fast indexing / searching / tagging) gives me unalloyed joy compared to the clickety-clicky, RSI-inducing pain that is Gerrit.
The problems listed in the below email, by Dan Berrangé, about Gerrit are still a bloody pain in the neck for me:
https://lists.nongnu.org/archive/html/qemu-devel/2014-02/msg...
[I learnt 2 days ago (can't find the URL to it; typing from my phone) that Gerrit now allows you to respond via email (strangely the announcement only mentioned the dreaded HTML email). I'm a bit cautious to say "sounds promising" without trying it yet.]
Email is a far lower cost and more reliable medium most other methods.
> A poor craftsman famously complains about his tools, Greg said, but a good craftsman knows how to choose excellent tools.
Unless their company forces tools on them. :(
I can try to work around Microsoft Word's UI by learning the keyboard shortcuts, but I can't do anything against Internet Explorer taking its sweet time loading webpages. No skill in the world will make that faster.
If you go through a website, a server downtime halts the development. If the mailing list crashes, patches can still be sent and some discussions kind of continue until it is resolved.
Individual email servers may fail, but it is easy to work around it. Many people have several email and other channels through which to be reached.
Also, a very important point that Linus explained was at the core of some design decisions for git: it works offline. You have your email archive offline so if you take a plan, are at a conference in a place with no internet (does still exist, sadly), are on the road, you can still go through your archives and the patches you have to examine are still available.
If anyone is interested in getting involved in the closed alpha for this software, my email's in my profile. Hit me up!
Web forums made us forgot how far we came with NNTP years ago. Even the shittiest NNTP could do subthread splitting, hiding and scoring. Handling hundreds of messages per day was easy. The convenience of doing-it-all under one powerful client was massive.
You can still do that with mailing lists, as long as it's not as badly managed as forums-with-a-wanna-be-mailing-list-mode addon as Discourse is.
Without notifications, which I, of course, do not use, email is the least intrusive and least disrupting way someone can contact me. I simply check my email when I feel like it, which is about two times daily, morning and sometime late evening.
Then, even when I look at my email, I don't have to respond. I don't have to do anything. And if there's an email I want to reply to, I won't necessarily do so right now. Maybe tomorrow. Maybe never.
The best part is the record of all communications and the fact that you have a searchable archive. Man, I wish I could search all my other conversations with people. In fact, I think I should just start recording everything, every day, all the time, and convert the audio to text.
About a decade or perhaps 15 years ago in Birmingham UK, the Ikon gallery had a multi-artist exhibition of a conceptual nature. one of the artists had used a micro-cassette recorder to record every word he uttered over a week and then had the tapes transcribed by audio-typists. The results where exhibited as an impressively high stack of A4 sheets. Unfortunately, they were, apart from a few sample sheets on the wall, piled in a glass case thus preventing viewers from sampling the text. I was taking bets on the sheets that were hidden from view being blank. The artist also exhibited the micro-cassette recorder and tapes used.
Google has nothing to say about the exhibit, but it has to be said my memory is a bit short on key words.
A sibling post mentioned Ted Nelson.
For one to one or one to many types of communication, I agree. Email, in my opinion, breaks down when there's a discussion amongst multiple people. For instance, you have to make sure that everyone in the discussion addresses are added by your MUA before clicking the reply button (or using the equivalent keyboard command). The other problem is that if you need to include a new person in an existing discussion, they won't have any of the previous messages to refer to (other than what happens to be quoted in the email they receive).
Newsgroups, on the other hand, address the issues I mentioned and are just as good as email in communication IMO.
Never mind that "text messaging" in say Japan has been email based since virtually forever, since the SMS standard had issues with Japanese script.