Archive

The Dulin Report

Browsable archive from the WordPress export.

Results (31)

The future is bright Mar 30, 2025 Software Engineering is here to stay Mar 3, 2024 On luck and gumption Oct 8, 2023 Book review: Clojure for the Brave and True Oct 2, 2022 Why don’t they tell you that in the instructions? Aug 31, 2022 Monolithic repository vs a monolith Aug 23, 2022 Scripting languages are tools for tying APIs together, not building complex systems Jun 8, 2022 Good developers can pick up new programming languages Jun 3, 2022 Java is no longer relevant May 29, 2022 Automation and coding tools for pet projects on the Apple hardware May 28, 2022 There is no such thing as one grand unified full-stack programming language May 27, 2022 Best practices for building a microservice architecture Apr 25, 2022 Tools of the craft Dec 18, 2021 What programming language to use for a brand new project? Feb 18, 2020 Which AWS messaging and queuing service to use? Jan 25, 2019 The religion of JavaScript Nov 26, 2018 Let’s talk cloud neutrality Sep 17, 2018 TypeScript starts where JavaScript leaves off Aug 2, 2017 Design patterns in TypeScript: Chain of Responsibility Jul 22, 2017 Amazon Alexa is eating the retailers alive Jun 22, 2016 What can we learn from the last week's salesforce.com outage ? May 15, 2016 Why it makes perfect sense for Dropbox to leave AWS May 7, 2016 OAuth 2.0: the protocol at the center of the universe Jan 1, 2016 What Every College Computer Science Freshman Should Know Aug 14, 2015 The Three Myths About JavaScript Simplicity Jul 10, 2015 The longer the chain of responsibility the less likely there is anyone in the hierarchy who can actually accept it Jun 7, 2015 Big Data is not all about Hadoop May 30, 2015 Exploration of the Software Engineering as a Profession Apr 8, 2015 Thanking MIT Scratch Sep 14, 2013 Have computers become too complicated for teaching ? Jan 1, 2013 Scripting News: After X years programming Jun 5, 2012

Why don’t they tell you that in the instructions?

August 31, 2022

“Zen and the Art of Motorcycle Maintenance” by Robert Pirsig is one of those books that you either get or you don’t. It’s one of those works with a loyal following, and most people don’t get it.



I like to think that I get it.



I first read it back in 2000 while bicycling alone from Clarkson University to New York City on a soul-searching trip. One of my professors gave me a copy as a graduation gift. Since then, I must have re-read it in some shape or form at least a dozen times.



A recent conversation with colleagues reminded me of a scene in the book where the protagonist and his friend John park their motorcycles by a diner and go inside for lunch. When they come out, the sun is up, and the day is hotter. John follows the instructions booklet for his BMW motorcycle to the letter and struggles to start it:




I’m started and ready to go and there’s John pumping away on the kick starter. I smell gas like we’re next to a refinery and tell him so, thinking this is enough to let him know his engine’s flooded. 



“Yeah, I smell it too,” he says and keeps on pumping. And he pumps and pumps and jumps and pumps and I don’t know what more to say. Finally, he’s really winded and sweat’s running down all over his face and he can’t pump anymore, and so I suggest taking out the plugs to dry them off and air out the cylinders while we go back for another beer. 



Oh my God no! He doesn’t want to get into all that stuff.



“All what stuff?” 



“Oh, getting out the tools and all that stuff. There’s no reason why it shouldn’t start. It’s a brand-new machine and I’m following the instructions perfectly. See, it’s right on full choke like they say.” 



“Full choke!” 



“That’s what the instructions say.” 



“That’s for when it’s cold!” 



“Well, we’ve been in there for a half an hour at least,” he says. 



It kind of shakes me up. “This is a hot day, John,” I say. “And they take longer than that to cool off even on a freezing day.” 



He scratches his head. “Well, why don’t they tell you that in the instructions?” He opens the choke and on the second kick it starts. “I guess that was it,” he says cheerfully.



— Zen and the Art of Motorcycle Maintenance: An Inquiry Into Values by Robert M. Pirsighttps://a.co/9FWD5cc




Here is the thing. Software Engineering is a stochastic art. Programming is deterministic, but engineering is not. You may very well write your program to the exact specs, but you don’t know the conditions the code will run in. You may follow instructions to the letter, but if you encounter an edge case, will you know what to do?



The motorcycle manual can only account for so many things, and it cannot describe all possible permutations of riding styles, outdoor temperature, humidity, atmospheric pressure, rider’s weight, etc. The manual is only a starting point, but if you own a motorcycle, you need to know how the machine works to grok it.



The nature of our jobs as software engineers is such that we must deal with externalities. Hardware will crash. Services will auto-scale up and down. Garbage collection will occur. Humans will make mistakes and use our software in ways we did not anticipate. Someone will write configuration instructions for you on how to setup your dev environment, and they might not apply perfectly to your setup.



Grok your tools and your craft.