Err the Blog, revisited
Before there was GitHub, there was Err the Blog. Chris Wanstrath and PJ Hyett wrote one of the essential Rails blogs of early Rails era. Therein, many of the idioms and ideas we use to build Rails apps today were documented or born.
I’d figured this site was offline, as are most things from the mid-2000s. ‘Lo and behold, it’s still online in its pink-and-black glory. Lots of nostalgia on my part here.
Writing is a "do it, somehow, every day" game
Whenever I find myself wishing I was posting more toots/articles/etc., I remind myself that the first step is to get words out of my head and onto the page. The hack is that “the page” is often a personal journal (I use Day One), a paper notebook (Baron Fig, currently) , or even a task with a note of a few sentences in Things. It all counts.
More importantly, it generates momentum. Possibly, this writer’s most crucial but immeasurable input commodity.
Related: finishing is the skill and Austin Kleon’s notes on daily blogging, and stock/flow.
Dock jackpot
In twenty years of using Mac OS X/macOS, rarely has my dock not been all blue icons or a bunch of faces staring at each other. Today is one of those days, bless.
Focus in a time of distraction
That is, some notes on helping junior developers focus on execution when they are surrounded by the twin distractions of novelty and outright broken things. With apologies to Love in the Time of Cholera1.
Faced with a junior developer who finds themselves stuck, what questions could you ask them to help them get back on the happy path without all the distractions that junior developers face:
The trick for juniors, is they’re always learning more than one thing at a time, often on accident. They want to build a feature, but it requires a new library, and it requires learning the library. They went to start up my development server, but then something weird happens with Unix. It’s the essential challenge of being a junior – they’re just getting started, so they’re always learning a couple of things at a time2.
Is this a side quest?
Compared to senior developers, juniors often find themselves down the wrong rabbit hole. Senior developers have a better sense of when they are chasing the right lead. Over the course of months and years, they develop a sense of when we’re looking at a red herring. More so, they learn to recognize issues caused by development environment rot, bad data, unrelated bugs, and other sorts of non-essential annoyances.
In those situations, it’s helpful to ask junior developers if they’re pursuing the essential problem or if they’re on a side-quest. If it’s a side-quest, write it down and get back to the essential issue. If it’s the essential problem, then…
What do you need to know to focus or make progress?
At all experience levels, software developers face the frustration of “it just doesn’t work”. Occasionally, this is down to outright broken software. Often it’s not knowing about or misunderstanding a crucial detail of how the sub-systems work together.
It’s extremely tempting to skip ahead, tell a junior developer what they need to know, and move along. That’s how it works on the internet2. It’s time efficient. The ability to swoop in with an answer feels wizardly, and that’s pretty fun.
Unfortunately, that’s the “give a man a fish, you feed them for a day” approach. Junior devs are a source of endless questions, sometimes excellent and sometimes not. Answering one question, no matter how decisively, is unlikely to change the shape of the ‘questions per hour’ graph.
Better questions, better information
Better to teach junior developers to generate better questions. Nudge them to lead with what they know about the non-working situation. Encourage them to steer clear of trying magical solutions3 and whack-a-mole troubleshooting4.
This teaches a junior developer two things:
- They probably know more than they think.
- They’re more likely to find their answer by answering questions than by fixating on what doesn’t work
Which questions can you answer right now?
Now that our junior developer is armed with better questions, it’s time to answer them. Given all the questions that might help them make progress, they should start from the ones we know how to answer right now. Sometimes luck strikes and the problem is solved. Other times, the issue and the tricky questions remain.
This is the scenario where senior developers5 can help a junior developer the most and teach them to fish, so to speak. Senior developers are often more adept at using REPLs, debuggers, automated tests, documentation, static code reading, inspecting data, or observing runtime behavior to turn good questions into answers. In one session, a mentor can show an apprentice how to use an unfamiliar tool, think about problem-solving, and solve the original question. The mentor will probably learn something too!
Luck happens
There is a bit of chance in solving problems. Recall what you already know. Pattern match on the (correct) factors that likely won’t bring you closer to a solution. Ask answerable questions that narrow the issue space. If you make a mis-step at any of these, you could end up confusing yourself even more!
Stick with it. Maybe step away if you’re already drained, or it’s getting late in the day. But stick with it. Persistence beats luck and chance, most of the time6.
Thanks to Wade Winningham and Henrik Nyh for sharing ideas on this topic via ruby.social.
- Which I have not read but is a pretty snappy title. ↩
- e.g. Stack Overflow and its ilk ↩
- e.g. restart the computer, reinstall something ↩
- Trying random changes, repeating one test in hopes of seeing a different result, blindly applying suggestions from similar problems posted on the internet. ↩
- Senior developers appear to have the superpower of seeing circumstances and going directly to the root cause. That usually happens by quickly enumerating what they know about the problem and pattern matching on the circumstances to reduce the problem space to a few possibilities worth eliminating or verifying.
This happens via answering enough questions that the problem or behavior of the system becomes obvious. It’s a bit of crafting a theory until you trip over the actual situation. ↩ - Casinos and rigged games are notable exceptions. ↩
Reading, February 2023
I’m still reading about the Manhattan Project. The going is slow. Big books, big timelines. At least, for the speed at which I read.
Rhodes, Making of the Atomic Bomb – I’m 500+ pages in and only up to the early 1940s. That’s a hefty history meatball. That said, it’s a deep dive into the history of science in context with chemistry and quantum/nuclear physics. If you like a hefty but complete book, this one is your jam.
Wellerstein, Restricted Data – I have very much enjoyed the author’s blog of the same name over the years. The author goes deep on the newly created apparatus for keeping the Manhattan Project secret from very nearly the whole world during the war. The pace for this one is a little off, to my preference, so I’ve put this one down for the moment.
Gleick, Genius – Big Richard Feynman fan here. This book does not disappoint as a biography. Gleick is a great writer, writing with detail but without losing pace or going so deep that the thread is easily lost.
Reading in topical clusters has worked really well for me. The books talk to each other. It’s a bit like a Manhattan Project Cinematic Universe when personalities come together in Los Alamos and then disperse as each book follows a different thread of history. Physicists assemble, I suppose!
Write linked notes so you don’t have to remember
Writing linked notes helps engineering makers and managers alike develop the super-powers of augmented memory and the appearance of effective multitasking.
I’m revisiting Simon Willison’s essay and conference talk Massively increase your productivity on personal projects with comprehensive documentation and automated tests. I’ve started thinking about it1 as “the surprisingly effective power of writing linked notes”.
In particular, those last three words:
- Writing: most thinking is improved and clarified by writing.
- Linked: writing is even better when the writer or interested colleagues can return to it later. Linking facilitates discovery via browsing and searching.
- Notes: mostly static text, but sometimes executable tests/documentation, too!
Over time, writing linked notes gives you what looks like the myth of multitasking. Really, it’s reducing the cost of context-switching and remembering:
This is how it relates back to maintaining 185 projects at the same time.
With issue driven development you don’t have to remember anything about any of these projects at all.
I’ve had issues where I did a bunch of design work in issue comments, then dropped it, then came back 12 months later and implemented that design—without having to rethink it.
Occasionally, I get a feeling, whilst working on a tricky problem, that I am starting to lose the thread. Keeping all the variables, ideas, and context is difficult as the interconnections grow. That’s the moment when writing it down to get it out of my head allows me the space to remember less, concentrate more, and push through to make progress again.
Highly recommended.
- And, sharing it with anyone who will listen. Present company included. ↩
Top of Mind No. 4
The practice of building software/technology is going through a phase shift. We’ve worked from abundance the past few years. Now we have to figure out which developments are worth keeping and make a dividend of that exploration. It’s not clear what job roles, kinds of software, practices, and benefits1 will persevere.
We’re going to have to ask “what would you say it is you do around here?” of software development assumptions from the past few years. It’s unsettling2, but some good corrections will come of it.
I’m betting that using writing as a lever will remain under-rated and under-used. Both for asynchronous/remote work and improving all kinds of thinking about building software.
Furthermore, Poker Face is excellent.
Natasha Lyonne is my generation’s Joe Pesci
Poker Face is a gem. Do yourself a favor and start watching it[1]. I didn’t realize I needed a weekly murder mystery kind of show. But I did, in this specific form.
Like murder mysteries of yore, Poker Face has a recognizable and soon-familiar cadence. We see a murder happen in the first few scenes, rewind to a few days previous when Natasha Lyonne arrives on said scene, we see her discover and solve the murder. The format works, even if you aren’t a viewer of crime shows and procedurals.
This being a show about a journey[2], each episode brings a few interesting actors in for a cozy, crisp murder mystery. These guest stars are as excellent as you might guess given the show is produced by Lyonne, Maya Rudolph, and Rian Johnson.
The bottom line, in this case, is the star is the show. The show is built around Natasha Lyonne, who is perfect in this role. Lots of little wise-guy energy. The way she uses her arms and voice to fill scenes, it’s great. I can’t stop telling people she is my generation’s Joe Pesci. They’re even the same height!
Make code better by writing about it
Writing improves thoughts and ideas. Doubly so for thoughts and ideas about code.
Writing, about software or otherwise, is a process wherein:
- thoughts and ideas are clarified
- ideas are transferred to colleagues
- culture (of a sort) is created by highlighting what’s essential and omitting what’s transient
Documenting code, as a form of writing, is a process wherein:
- the concepts and mechanics in the code are clarified
- what’s in our head today is made available to our teams (and ourselves) in the future
- culture happens by highlighting what’s intended and what’s “off the beaten path” when working with this codebase
I suspect that open source is (often) of higher quality than bespoke, proprietary software because it has to go through the crucible of documentation. Essentially, there’s a whole other design activity you have to go through when publishing a library or framework that internal/bespoke software does not.
I can’t objectively verify this. Subjectively, when I have made the time to write words about a bit of code I wrote, it has resulted in improving the design of the code along the way. Or, I better understand how I might design the code in the future.
Writing is a great tool for designing code. Use it more often!
Corporate personhood and ants
Filtered for ants and laws, Matt Webb:
Let’s say we could chat with ants. Could we trade with them? What would we want from them?
…
In short: people treat almost everything as people, at least a bit, including companies.
- We could try to communicate with ants and then include them in capitalism. Would this raise all boats for humans (who currently do low-paying/low-prestige work) and the ants (what is good pay/prestige/standard of living for an ant, I don’t know!)?
- We attribute person-like qualities to corporations. Infamously, in the case of Citizens United and more innocuously like attributing creativity to Apple, potential then hucksterism with Tesla, or declining design aesthetic with BMW.
- If we bring ants into corporatism and personify them, there’s an opportunity for some futurist/dystopian sci-fi where a mysterious cadre of house cleaners/chore-doers conceal themselves via surveillance technology and financial engineering of shell corporations. Turns out, it’s just a mega-colony of ants.
Turn the pages. Read the code. Hear the words.
“Turn every page. Never assume anything. Turn every goddamned page.” — Robert Caro, Working
So goes the wisdom super-biographer Robert Caro received from a mentor when he was an investigative reporter in New York. Caro went on to apply this energy and depth to write a sprawling biography on real estate developer Robert Moses and four volumes on the life of LBJ.
I like the energy, determination, and purpose of Caro’s advice. In his writing, Caro takes a maximalist1 perspective2. He looks to understand the system. Caro read every original document in every archive he could find (“turning the pages”) to ensure he fully grasped the context of historical events and didn't miss any details that might change the interpretation of events. Caro tries to load the whole state of his subject into his head and notes. Only then does he start writing his expansive biographies.
1. Read the code
Building software benefits from the same energy and determination displayed by Caro. As I’m working on a project, I flip between code I’m writing, code I’m using, and adjacent systems. Once I’ve read enough to have the problem and system in my head, I can move through the system and answer questions about it with that everything is at my fingertips feeling3. Fantastic.
Recommended: read third-party libraries, frameworks, standard/core/prelude libraries. Read demo code. Find inspiration, learn something new, and build the muscle for reading code with confidence.
2. Hear the words
When I’m really listening, avoiding the urge to think through what I’ll say next, I’m doing my best work as a coach or mentor. When I really hear and understand what a colleague is trying to accomplish or solve, it’s a bigger win for everyone.
Subsequently, I can switch to brainstorm or solution mode. Not before.
Recommended: literally listen to what they’re saying. Especially for the leaders and managers out there. Get the context needed to understand what they’re thinking. Ask clarifying questions until you’re sure they understand what they’re thinking. Don’t start responding until you’re sure you understand the context and the kind of response4 expected of you.
3. Build a model
Reading (words and code) and listening are great ways to build a mental model of how an organization, system, team, or project works. That said, a model is mostly predictions, not rules or hard-won truths.
To verify your model, you have to get hands-on at some point. A model is likely invalid unless it’s been applied hands-on to the system in question. Make a change, propose an updated process. See what happens, what breaks, who pushes back. Building (with code, with words) upon the model will evolve your understanding and predictions in ways that further reading or listening will not.
Recommended: turn reading words, reading code, and listening into a model of how your code-base, team, or organization work together. Apply that model to a problem you’re facing and use the results to improve your predictions on what actions will produce welcome outcomes. Rinse and repeat.
4. Go forth and deeply understand a system
With due credit to Robert Caro, I suggest doing more than “turning the pages”:
“Read the code. Read every damn function or module you’re curious about.” — me, a few months ago
"Listen to what they're saying. Hear every damn word until they're done talking." — me, several weeks ago
Next time you think “I need more context here” or “that seems like magical code/thinking”, go deeper. Take 15 minutes to read the code, or listen 15 seconds longer to your conversation-mate.
Turn the pages. Read the code. Hear the words.
- Aside from his biography quote above, all of his books are doorstoppers. ↩
- Extensively aided, it should be noted, by further research and organization by his wife. ↩
- Aka Fingerspitzengefühl ↩
- e.g. commiserating, brainstorming, un-blocking, taking action, etc. ↩
Remote work skills today look like being online in my youth
Checking my emails frequently. Responding to a few group/direct-message chats at a time. Managing to write code, do math, or put together a slideshow/essay at the same time. Always in front of a computer.
That’s what productivity in my college years1 looked like. There was lots of multitasking and goofing around online. A smidge of collaboration via nascent networks2.
There is little coincidence that’s close to how I work today. Slack is a better IRC3, messaging apps work a lot like AIM4 and ICQ5 did back in the day. I try to focus more and multitask less, to the extent that circumstances and discipline allow.
What strikes me is, when my career started6, that’s not how we worked.
In the early 2000s, if I needed to talk to more-experienced developers or managers, I wrote an email or walked over to their office/cubicle7 to try and catch them for a quick chat. If I needed to talk to a more junior developer who was just out of college (like me), I sent them an instant message. I probably had Slashdot, IRC, or several blogs open in a minimized window somewhere.
Now, I’m the experienced developer/manager-type person, and the style of work matches a lot of my college habits. A lot of that is leadership determinism (i.e., I have the agency to set and model the structure of our work). Maybe some is down to measurable productivity improvements that, e.g., Slack bring. Most of it feels like it is down to the opportunity seized of remote work – you can’t work remotely without all the tools folks in my cohort started using as we were pivoting from students to professionals.
Today, “Extremely online” is a whole other thing that is unrelated to how I work professionally. But as a new generation becomes the largest in the workforce, probably that will change and things will look a little weird to me. So it goes!
- 1998-2003. Most of those spent on a dual-everything Linux PC. I bought my first laptop/Mac in December 2002. ↩
- Mostly, folks were Very Offline. Especially outside my generation, but even in my peer group. Now, we’re all Pretty Dang Online. ↩
- For all but the neck-beard-est measurable axes. ↩
- AOL Instant Messenger, the definitive software of my youth. ↩
- Which required knowing your user ID to get people to add you as a friend. Thusly, I can still tell you my ID to this day: 11772935. ↩
- Roughly 2000 is when I did my first productive programming for money. ↩
- Thinking back, cubicles were not great or cool, but they did beat desks in an open layout on most axes. Larger pair cubicles with someone you like to collaborate with were pretty good, all things considered. ↩
Songs You Must Listen To At Maximum Safest Volume
- “Uptight”, Steve Wonder
- “Summertime Blues”, The Who
- “Wouldn’t It Be Nice”, The Beach Boys
- “Good Vibrations”, The Beach Boys
- “Jungleland”, Bruce Springsteen
- “Once In a Lifetime”, The Talking Heads
- “Flashlight”, Parliament
- “Rhythm Nation”, Janet Jackson
Top of Mind No. 3
Working in small increments towards medium-to-large projects or outcomes is tricky. I too frequently find myself down a much deeper rabbit hole than I’d intended. And I’ve spent a lot of time thinking about it and practicing at it! Recommended reading: Simon Willison on productivity.
Read-only and write-only modes of accessing social media – there’s something good here. E.g., blogs and feed readers are distinct from most1 posting software. Currently, I’m reading Twitter once a day, as a digest, without the ability to scroll an infinite timeline. If I want to post, I open up an entirely different app that nudges me towards writing instead of dashing off hot-takes. Interestingly, Typefully and Mailbrew are what I’m using for this and are made by the same team. I wonder if that was intentional or a happy accident?
Billing/subscriptions/payment projects are absolutely crucial, “undifferentiated heavy lifting”, and difficult to pull off. I have a ton of unstructured ideas about this. The latest kernel of an idea: billing projects are very likely to involve weird interactions between business goals, customer psychology, and anecdata.
The nap hierarchy – naps are probably in my top 5 list of work-from-home benefits.
- Early versions of NetNewsWire and Userland Radio notwithstanding. ↩
Albums You Should Listen To From Start To Finish
- Born to Run, Bruce Springsteen
- Blood Sugar Sex Magik, Red Hot Chili Peppers
- Pet Sounds, The Beach Boys
- The Blueprint, Jay-Z
- Songs in the Key of Life, Stevie Wonder
- Sign ‘O The Times, Prince
- Symphony No. 9, Beethoven
- The Rite of Spring, Stravinsky
The nap hierarchy
Doing a short snooze in the middle of the day? I highly recommend it if you have the means. Ideally, one of these places (in order by quality of rest):
- Couch nap
- Chair nap (recliner/lounge chair, ideally)
- Bed nap
- Sky nap (airplane)
- Train nap
- Car nap
Places I have napped, for better or worse, and would not recommend:
- A rock concert (The Who, Bruce Springsteen)
- A college lecture
- A piano recital
- Voyage of the Little Mermaid (Walt Disney World, Hollywood Studios)
- Great Moments with Mr. Lincoln (Disneyland)
- American Adventure (Walt Disney World, EPCOT)
Bruce Springsteen Epochs
- Motown Bohemian, curly hair, The Wild, The Innocent, and the E-Street Shuffle
- Denim, muscles, Born in the USA
- The introspective wanderer, bolo tie, Human Touch
- Revival, the flavor-saver goatee, The Rising
- The rock ‘n roll stateman, dark vest and necktie, High Hopes
What A Guitar Is Supposed To Sound Like
- “Summertime Blues”, The Who, Pete Townsend
- “Estranged”, Guns ‘n Roses, Slash
- “Glory Days”, Bruce Springsteen and the E-Street Band
- “Highway to Hell”, AC/DC, Angus Young
Music I Wish I Had Written
- The Rite of Spring, Igor Stravinsky
- The Planets, Gustav Holst
- “Good Vibrations”, Brian Wilson
- “Losing My Edge”, James Murphy
- “I Feel the Earth Move”, Carole King