The simplest thing

Minimum viable whatever, worse is better, PC-losering, Postel chaos, Burkean engineering, maintenance externalities, DX vs UX

February 3, 2020 — January 23, 2024

culture
economics
faster pussycat
institutions
mind
networks
standards
Video
Figure 1

I frequently find it complicated to discern what the simplest thing is, in terms of being the easiest to actually do, which is not necessarily as the simplest thing to analyze, explain, or diagram except when it is. Or, to put it another way, for whom it is the simplest? If there is irreducible complexity, who bears the cost? And how simple is it actually to identify irreducible complexity?

This is a hard problem, e.g. when designing software, experiments, or research questions. It is a notable weakness of mine, and why I am comfortable asserting I would never have invented Deep Learning, which is all about applying an asinine solution to a problem in a stupid way, which turns out to be just good enough to get billions of dollars funding to do it better. That is the effective kind of simplicity.

How about I collect some notes about the fraught question of deciding as early as possible what the minimum viable product is? When is it worthwhile starting from scratch Which cruft is structural? And which is yak shaving? If I had time I might try and unpack different notions of simplicity into ones that were predictictive of different qualities of the completion-time or project-cost distribution (average cost, median cost, extreme tail costs, cost variance…). But for now, I will dump some links that dance around that notion.

Greg Kogan frames simplicity as a question of outages:

Take the ship’s steering system, for instance. The rudder is pushed left or right by metal rods. Those rods are moved by hydraulic pressure. That pressure is controlled by a hydraulic pump. That pump is controlled by an electronic signal from the wheelhouse. That signal is controlled by the autopilot. It doesn’t require a rocket scientist or a naval architect to find the cause of and solution to any problem:

  • If the autopilot fails, steer the ship manually from the wheelhouse.
  • If the electronic signals fail, go to the rudder control room to control the pump by hand, while talking with the bridge through a simple sound-powered phone.
  • If the hydraulics fail, use the mechanically linked emergency steering wheel.
  • If the mechanical linkage fails, hook a chain to both sides of the rudder and pull in the direction you want!
Figure 2

This is related to Worse is Better. Richard Gabriel, in the original essay, expounds:

I and just about every designer of Common Lisp and CLOS has had extreme exposure to the MIT/Stanford style of design. The essence of this style can be captured by the phrase “the right thing.” […] I will call the use of this philosophy of design the “MIT approach.” Common Lisp (with CLOS) and Scheme represent the MIT approach to design and implementation.

The worse-is-better philosophy is only slightly different: the design must be simple, both in implementation and interface. It is more important for the implementation to be simple than the interface. Simplicity is the most important consideration in a design.[…]

Early Unix and C are examples of the use of this school of design, and I will call the use of this design strategy the “New Jersey approach.” I have intentionally caricatured the worse-is-better philosophy to convince you that it is obviously a bad philosophy and that the New Jersey approach is a bad approach.

However, I believe that worse-is-better, even in its strawman form, has better survival characteristics than the-right-thing, and that the New Jersey approach when used for software is a better approach than the MIT approach.

This connects to a question I face of what way of doing things is, over all, simplest. What is hubristic Not Invented Here-type high modernism and what is the clarity of starting over? How do you tell these apart? This perhaps connects to metis and friends via Chesterton’s fence, Postel’s Law, YAGNI, The Duct Tape Programmer, Gall’s Law and general standards

Steven Wittens:

The reason software isn’t better is because it takes a lifetime to understand how much of a mess we’ve made of things, and by the time you get there, you will have contributed significantly to the problem.

A test case here is rewriting software and the attendant complexities. Some of these are called second system effects. When is it simpler to start over with a shinier thing? Adam Turoff, Rewriting software:

If you’re dealing with a small here and a short now, then there is no time to rewrite software. There are revenue goals to meet, and time spent redoing work is retrograde, and in nearly every case poses a risk to the bottom line because it doesn’t deliver end user value in a timely fashion. […] If you’re dealing with a big here and a long now, whatever work you do right now is completely inconsequential compared to where the project will be five years from today or five million users from now. Requirements change, platforms go away, and yesterday’s baggage has negative value — it leads to hard-to-diagnose bugs in obscure edge cases everyone has forgotten about. The best way to deal with this code is to rewrite, refactor or remove it. […]The key to estimating whether a rewrite project is likely to succeed is to first understand when it needs to succeed.

Figure 3

Balaban et al. (2021)?

Here is one radical position for software in practice suckless.org:

Our philosophy is about keeping things simple, minimal and usable. We believe this should become the mainstream philosophy in the IT sector. Unfortunately, the tendency for complex, error-prone and slow software seems to be prevalent in the present-day software industry. We intend to prove the opposite with our software projects.

They have a bunch of software projects exemplifying this. They advertise that their software shades from austerely simple into outright hostile depending on who you are, and that this is a feature.

dwm is customized through editing its source code, which makes it extremely fast and secure - it does not process any input data which isn’t known at compile time, … Because dwm is customized through editing its source code, it’s pointless to make binary packages of it. This keeps its userbase small and elitist. No novices asking stupid questions.

Figure 4: Kepler’s model of the solar system: when a theory of gravitation meets scope creep.

Vexingly, their software is still not written in Forth: The Hacker’s Language.

A more viable option in the real world might be to work out how to manage simplicity while still offering some kind of onboarding for new users. Because while I am suffused with the DIY spirit I begridgingly admit that after giving it a go, the evidence suggests learning the artisanal Right Way to do everything does not actually leave much time to live your own life. Sometimes it is nice to be able to go to the store and buy a chair instead of them giving you a few nails and planks and telling you good luck. We need to pick our battles.

I am not sure if this is the Right Way to Do Sinple Things, but Ali Furkan Yıldız built a dwm configuratimifier as a web app, which feels like an incredibly effortful way of trolling minimalists.

Figure 5

1 DX vs UX

Developer experience versus user experience. TBC

2 Learning to use the thing

See learning curve.

3 Incoming

4 References

Adams, Converse, Hales, et al. 2021. People Systematically Overlook Subtractive Changes.” Nature.
Balaban, Grytten, Rand, et al. 2021. Ten Simple Rules for Quick and Dirty Scientific Programming.” PLOS Computational Biology.