Papers We Will Love
This are my slides and notes from my talk given at the Papers We Love Berlin meetup on November 23rd 2017.
![](/data/QmTjuqhpa2DvLpnvpRCyiucqb4oU1kE2jwNzrhPwRFmbUn?content-type=image%2Fpng&filename=Papers%20We%20Will%20Love.001.png)
This is going to be a short talk. I do hope this gives us the time for a discussion afterwards.
![](/data/QmaPHMH5yuWMmHkhf6pHUQapSDQbeQUtYGzDC2Zu8T4yLV?content-type=image%2Fpng&filename=Papers%20We%20Will%20Love.002.png)
I want you to imagine a future where scientific papers are not published as PDFs, but as living documents with executable code. With graphs whose source can be viewed along with their input data. Imagine these artefacts could be embedded around the web, but always traceable back to their source and reusable at a click of a button. And finally, all of this code would continue to run, no matter if it's one year or ten years later.
About ten years ago, I tried really hard to apply ideas from papers to my problem – which was tubes.
![](/data/QmYBC5xePffFUGTHpA3Vw2o2F36HkrJ9CbXRXcHBtvYBQz?content-type=image%2Fpng&filename=Papers%20We%20Will%20Love.003.png)
I was writing a program that would reverse engineer the parametric surface of a tube based on 3D scan data.
![](/data/QmTP9UjsGMAJ2GHEuzsDkY7TFiZQDduwMj1irS1WyyXhqF?content-type=image%2Fpng&filename=Papers%20We%20Will%20Love.004.png)
Who has ever forked a repository on GitHub?
It has transformed the way we as developers do our work. This was made possible by two things: first, a strong technical foundation, based on immutability. This means unchanging over time.
But I would argue that the real change that enabled this transformation wasn't a technical one.
![](/data/QmaM6BV9f22H1CxeF5f9Gq2E3ne2vfHYH9czmrPwD4JdqC?content-type=image%2Fpng&filename=Papers%20We%20Will%20Love.005.png)
It was a change in usability. GitHub put the source code front and center and allowed you to fork a repository with just one click. This meant that it just became so much easier to make a change to a library. A change that you wouldn't even have considered doing otherwise. This is something that isn't nearly talked about enough, especially in papers.
![](/data/QmSRuaLXsVvd7NRLgvu2JwWnZPSmraZYWxxDvcshwZ5TsW?content-type=image%2Fpng&filename=Papers%20We%20Will%20Love.006.png)
Now this isn't just a matter of convenience alone. We know that people are losing trust in science. I don’t think it’s a stretch to say that the US, the second largest emitter of CO2 after china, backing out if the Paris agreement is related to this growing mistrust.
![](/data/QmeCCZgUwWn9op8nyNdZG5Y3zXoQp98UsoRu78ko21PjVH?content-type=image%2Fpng&filename=Papers%20We%20Will%20Love.007.png)
In his climate change article Bret Victor underlines the importance of technology for tackling climate change. If there’s one thing you take away from this talk today, please read that article. It’s also a great example of how much nicer an interactive web page with links can be for presenting ideas rather than a PDF.
![](/data/QmdtUxQntxbuVp5LcTgCdRLvKGsaT1yt9W6xzsoc1xRpVP?content-type=image%2Fpng&filename=Papers%20We%20Will%20Love.008.png)
I caught a glimpse of how much messier things can get doing my diploma thesis in Physics. Looking for a way use my software development skills – while somehow covering up the fact that I didn't know a whole lot about Physics, I ended up in a group doing computational molecular Biology.
![](/data/QmT8wSiSB2hBAhhYxTuo7z4XHthbSKECpR68Tz7o7VjZRA?content-type=image%2Fpng&filename=Papers%20We%20Will%20Love.009.png)
In this group, a typical publication would depend on simulation and molecular modelling packages, custom Java and Python code, and a handful of unrelated visualisation tools and finally you would put it all together in LaTeX. A simulation would run on multiple nodes on the groups GPU-cluster, producing hundreds of gigabytes of raw data.
Now if you search around for how to approach this problem, here's a thing that comes up: the ten simple rules.
![](/data/QmU7RswiS6EGvZc9t7HDZMhFSthaHYzd7KKT5ZbDZhXLgv?content-type=image%2Fpng&filename=Papers%20We%20Will%20Love.010.png)
They go like this.
![](/data/QmaxhtoWfkEu2sC3o8GDpWNu2VGi5TPK74WPyG3VcAWanV?content-type=image%2Fpng&filename=Papers%20We%20Will%20Love.020.png)
Can you imagine how much additional work this is for a workflow like this? How practical is it that someone else will read through the descriptions and redo the steps? How do you estimate the chances of success?
![](/data/QmYS4q6fJ5sburLKYnZaYgtLnht8YH4xUGGp34HWZMdTkw?content-type=image%2Fpng&filename=Papers%20We%20Will%20Love.021.png)
You see that I'm talking about the work behind the paper. I believe if we truly want to evolve the medium we must use tools that have our end goal in mind: produce an artefact that can be reproduced and reused.
![](/data/QmYJNLjwpcwsThFu4FaExxKBn3jgr6LSPKvS4ZoVaAgDus?content-type=image%2Fpng&filename=Papers%20We%20Will%20Love.022.png)
What you see here is an article that contains code that trained a neural net in image recognition.
![](/data/QmYNj5ukYJdkXc8uvVSf2qoHaCDZXbUjMgNyLnEhScfhAQ?content-type=image%2Fpng&filename=Papers%20We%20Will%20Love.023.png)
Let’s look at what’s needed to run code. This is what we we call dependency hell, your code runs on a brittle foundation of language specific packages, a language runtime, system libraries and an operating system.
![](/data/QmWSPusouYtFeCqjfFK7roA7w7YkXkJ8pDAcsqBF22n76L?content-type=image%2Fpng&filename=Papers%20We%20Will%20Love.024.png)
Who here knows about leftpad? It is a NodeJS package, containing only 11 lines of JavaScript. When it was removed from the node package manager system after its maintainer was faced with a legal threat, it broke thousands of builds that depended on it.
![](/data/QmUsTf8d2GffDaT9DFw8LZXjYjR82jxs9RTPCn53xc7YrC?content-type=image%2Fpng&filename=Papers%20We%20Will%20Love.025.png)
A more radical solution to this problem is storing the complete environment from packages down to the operating system. A popular way of doing this today is with docker.
![](/data/QmXuvggAaMpCUCUjUgP8FhmPC8VKDCgvpvPJM243Yr6euN?content-type=image%2Fpng&filename=Papers%20We%20Will%20Love.026.png)
This is one of the reasons why we treat data separately and don’t just put them in this environment.
![](/data/QmTXEJpkEkEkTVmK5MNP2n8TEJRxoZANvUwptUSfyKcH1N?content-type=image%2Fpng&filename=Papers%20We%20Will%20Love.027.png)
Now I’ve talked about a fundamental change in the way scientists works. I believe the missing piece here could be an idea originally conceived by Ted Nelson in the 60s: transclusions. He argues that cut-and-paste the way it works today is not what authors want. Today when we copy something we lose all references to the original. What we actually want is to just reference that and maybe make changes on top of it.
![](/data/QmNm7F5tqJMMkTd5kt2r6Pv9iaPghvnwbDwYhPA2eSENLg?content-type=image%2Fpng&filename=Papers%20We%20Will%20Love.028.png)
![](/data/QmRMSQt5HQxL1183QUKKNR59JZ73DkzMq7Ydku7tEF3iw3?content-type=image%2Fpng&filename=Papers%20We%20Will%20Love.029.png)
That’s it from my side and I’m happy to take any questions now. Thank you!