Apparently, We Can Reverse Engineer Our Kids’ Toys Now
A $6 expansion pack broke my kids’ $80 globe. After buying a second globe and trying so many USB cables, I tried writing my own installer.
Read MoreA $6 expansion pack broke my kids’ $80 globe. After buying a second globe and trying so many USB cables, I tried writing my own installer.
Read More
Doris, my household OpenClaw, lives in Telegram. She looks at our calendar, calls an API to get a draft of the week’s meal plan, and works with me to get the meal plan right.
I created the pipeline prior to OpenClaw, back when my meal planner was a website. The division of labor looked like this:
A deterministic algorithm drafts a plan.
I interact with the plan via chat. I might say something like “No chili, swap Tuesday and Thursday lunch, and I don’t want two types of spaghetti in one week.”
An LLM receives my critique, plus the full meal catalog, previous critiques, and the current draft plan.
It proposes changes to the meal plan, which the application validates and saves.
I critique until I’m happy.
Eventually I say “finalize” and I get a shopping list that another agent uses to order groceries.
On busy nights, we should get very easy meals (e.g., FISH STICKS AND MAC AND CHEESE!). When we have more time, we pull out the good knives and I make Marry Me Chicken.
Sometimes Doris suggests we make chili, which I love. But the kids don’t eat it; I usually tell her to swap it for something else. I could update the catalog, but I mostly leave unpopular meals in there in the hope that they’ll eventually realize that I only cook good food.
For the past many moons, GPT-5.2 has handled the critique step pretty well, and pretty cheaply. Two critiques from our September 7 session came to about $0.023. I can afford the luxury of a big ol LLM handling my back and forth on the meal plan, but with the release of TypeSafe’s Jev, I wanted to see if I could do the same thing at a lower price and latency.
If you haven’t read anything about Jev, it’s a small model that can make decisions based on unstructured data, given questions with defined answers.
This weekend I rebuilt the GPT-based pipeline. It took a few hours for Astra to bumble through. At one point my Mac lost the ability to create outbound connections because of how the agent had scaffolded its validation layer. From my end, the new pipeline looks like the old one except Jev handles the critique where GPT-5.2 used to.
It works well on cases based on the last 6 months of working with Doris: 95 of 98 critiques were correct on the first attempt. The remaining three resolved after one clarification. In comparison, GPT-5.2 handled 69 out of 98 on the first attempt.
It’s cheap, too! One successful meal planning session used six Jev requests and cost about $0.003.
Latency was better as well, but it wasn’t massive. What a letdown of an ending. I saved 2 pennies a week after using two ChatGPT resets and an untold amount of Astra compute. Was the refactor worth it? Probably not. But now I have hands-on experience with it, and I can imagine a bunch of interesting use cases for it.
My dog Carl after chasing his tail. I’ve been doing the same thing for a year and a half.
I used to enjoy going to the grocery store. Before we had kids, we lived really close to a Wegmans. It was incredible. There was a little coffee shop that had totally adequate coffee (I am now a snob, but then, nitro cold brew was all I needed). There was a toy train that circled the dairy. A rooster crowed on the hour. The floors were dark gray polished concrete and the light was exactly as warm as it should’ve been (none of that fluorescent tube nonsense), the aisles were wide, and the carts were the right size. The bakery was full of delicious treats and they even had live lobsters. The whole place felt like it had been designed by somebody who thought that you should enjoy grocery shopping.
I would go on Sunday mornings while my wife slept in. I would get a coffee, buy a newspaper, and sit there pretending to be older than I was. Then I would wander for an hour, picking my own produce, staring at cheese. I’d eventually make my way to the deli, where I’d try to decide if I wanted to sell an organ to buy some Jamón Ibérico.
Once we had kids, things changed a little. With one kid, going to the store was still manageable. My oldest was born in 2019. I would throw him in the cart and narrate what I was seeing to him. I explained parsnips. I told him that when I first started grocery shopping, I didn’t know that green onions and scallions were the same thing. I enjoyed taking him, and he seemed to like the different colors and textures. He also had no choice in the matter, so maybe I’m projecting a bit.
Then COVID hit. I remember walking into the grocery store in late March of 2020 and seeing all the meat gone. I stood there wearing black latex gloves and a mask. My cart had three cans of tuna, a frozen pizza, a loaf of bread, and a 6 pack of beer. I remember crying, thinking about how I’d feed my son and my wife. All of a sudden, the grocery store sucked (not to mention the fact that IT COULD KILL ME).
After those first couple of weeks of COVID, I stopped going. Grocery pickup became possible, and I ordered online while somebody else shopped for me. That was basically the end of my relationship with grocery stores as places. Even after I wasn’t worried about dying from COVID, I still ordered groceries online.
After the triplets were born, I started resenting the time I spent ordering groceries and figuring out meals for the week. I knew I could automate some of it, but I couldn’t spend my life writing grocery automation. So instead, I tried to automate and simplify shopping list curation. I never stopped wanting things to be better, I just wasn’t putting a ton of effort into it. I looked into APIs, but didn’t want to deal with the red tape involved.
Luckily for me, my needs and AI’s capabilities started to sync up towards the end of 2024. Not-so-luckily for me, grocery shopping is a really difficult thing for AI to do. It’s long-horizon and full of tiny judgments with the potential to piss the user off. Does “cheddar cheese” mean sliced cheese or block cheese? Organic or inorganic cucumbers? The user wants “Bananas” - how many!?
For the past year and a half I’ve been trying different products/research prototypes, and nearly all of them have failed.
Anthropic launched computer use on October 22, 2024. I tried it within a month of launch, hoping it could take some work off of my plate. It wasn’t very good. Their sample app had you running a potato version of firefox inside of a Linux VM. It would search for strawberries, click the button that hid all the windows and showed the desktop, think that firefox froze, close it from the taskbar, open Firefox again, and repeat. I gave it two evenings before I gave up on it.
browser-useAfter I complained at work, somebody pointed me at browser-use. If you’re not familiar, it’s a bunch of browser automation glue wrapped around an agent loop. It was good at clicking and typing, but unfortunately the bot detection on walmart.com was too good and I had to give up.
NOTE: walmart.com is the best grocery site I’ve seen if you want an agent to order your groceries. The biggest reason is that it has an affordance for how often you’ve purchased a thing (e.g., “bought 5+ times”), which means your grocery list doesn’t need to have hyper-specific brand names. You can have “toilet paper” and the agent will order God’s chosen brand of Cottonelle.
OpenAI launched Operator on January 23, 2025, and for a while I was absolutely flabberghasted. At seven o'clock I would hand it a list, go put four kids to bed, and by 8:15 I would come back to a cart that was ready. At first I reviewed every line item so closely that I saved no time. Then I started trusting it. After a month it was saving me roughly half an hour a week.
Predictably, Walmart started blocking it sometime in April and the whole thing fell apart. I filed bug report after bug report because I figured there could not possibly be that many people paying $200 a month to have an agent shop for them. My pleas fell on deaf ears. OpenAI started winding Operator down in July and formally deprecated it in August. I went back to ordering groceries myself like my ancestors did. I still miss Operator and whenever I get to meet a new person at OpenAI, I make sure to tell them that it was the best thing they’ve put out.
By June of 2025, I tried playing around with OpenAI's cua model. My assumption was that it was the model powering operator. So I set up a chrome session with my login and pointed the model at it. Unfortunately, Walmart’s bot prevention tech thwarted me again.
When ChatGPT agent replaced Operator, I tried it. It was very bad. I don’t remember the exact failure mode now; I do remember being annoyed that it took about an hour and a half to add four things to my cart.
Claude in Chrome launched in August 2025. I tried that too. Claude was too cautious though. It would get paralyzed on low-stakes choices like organic versus non-organic basil and burn an egregious amount of my Max quota. I only tried it once and decided that I’d have to continue living my sad, sad life of human-driven grocery shopping.
Atlas came later, in October 2025. The scrolling was soooooo buttery smooth. Genuinely, it was so pleasant watching the agent navigate. Unfortunately it seemed to scroll in fixed-height chunks, which is terrible when the thing you need is just below the fold. This made it impossible for the agent to do anything useful for me. Each new GPT model, I’d be back on Atlas, seeing if it could do enough to earn my usage. Each time I would leave disappointed for different reasons, warming up my index finger for another grocery shopping marathon.
When Codex got background computer use on April 16, 2026, I ignored it. People at OpenAI who knew how much I loved operator told me to try it. I like them, so I said I would.
This is the prompt I used:
You are my household grocery shopping agent. Your job is to place a grocery order for my family. Open Chrome and navigate to walmart.com to begin shopping. If you are not near certain of what item to pick, make a good effort based on what you see; if you think it's worth my review at the end, let me know. You may skip items but only if you genuinely cannot make a good decision. A good assistant uses my preferences (you can see them in the app! It says how often I've bought things) to make educated guesses. <shopping_list> Nature valley chocolate chip muffin bars Reynolds wrap New Item Aaa batteries Ritz crackers Graham crackers Nature valley s’more bars frozen strawberries Almond milk Chobani for kids (3 different 4-packs, choose flavors we favor) Zero sugar Chobani (6 total) • apples • arugula • bagged salad • bananas • blackberries • blueberries • cherry tomatoes • fresh mint • fresh parsley • limes • mushrooms • strawberries • tomatoes • almond milk • butter • cheddar cheese • pepperjack cheese Colby jack cheese • cheese sticks • eggs • Fage yogurt • milk • 1 cup mozzarella cheese • parmesan cheese • 2 cups shredded mexican cheese • 8oz block of white cheddar • 2 lbs 99% lean ground chicken • 1lb ground lamb • italian sausage links • 1 lb lean ground beef • 2 lb salmon • 0.5 pound sliced turkey • crusty bread • 2 packs naan bread • pita bread • Thomas' blueberry bagels • Thomas' plain bagels • Eggo waffles • frozen strawberries • applesauce pouches • graham crackers • granola • Lay's potato chips • Nutri-Grain bars • Quaker oatmeal variety pack • Ritz crackers • Dijon mustard </shopping_list> * For each item in the list, search through walmart's interface. Prefer items that I have purchased before (the UI has an affordance that says "Bought N+ times"). * Prefer non-organic to organic veg. * We have a family of 6. If you see something like "Bananas" or "Oranges", don't just order 1. * After every item is in the cart, review the full cart carefully against the original list. * Your final message should include all items that WERE NOT shopped or any items that need my review.
It ran for nineteen minutes and inexplicably stopped in the middle and said “Hey Boss, I did half the work but didn’t finish. Isn’t that great? Do you want me to do the other half of the work?”
I told it “yes”.
Thirty-two minutes later the cart was at 66 items. It even removed an extra yogurt that was not on the list! Fifty-one minutes. It stopped in the middle like a dipshit. It randomly added a yogurt I didn’t ask for (but it removed it!). I didn’t double check its work.
Technically, I don’t understand why Atlas is cheeks but Codex is incredible. Aren’t they using the same models? I don’t think it’s a technical capabilities thing. Like, they both can dispatch clicks and type. Really though it doesn’t matter. I don’t care! Because next week, I don’t have to order groceries.
The coffee tastes like someone brewed a shovelful of dirt. The bunkhouse stinks of exertion and your boots are still wet from yesterday’s toil. You and your partner sit under a lantern tending to the saw. Six feet of steel with huge teeth and tiny rakers that act like little spoons when they’re deep in the middle of a tree. You oil the saw because you hear it makes the job easier.
You walk with the saw bouncing on your shoulders. A sharp axe swings from your hip, and a sledge hammer and a couple of steel wedges make up the last bit of required kit. If it’s a good day you will fully process two trees. “Processing a tree” includes falling it (cutting it down), limbing it (cutting off all of the limbs), bucking it (cutting it into sections), and hauling out the pieces. But first you have to pick a tree.
A foolish man inside of a notch.
You finally get to the stand and look up. You want one that’s leaning the way you want it to. You want a healthy tree (they fall more predictably). You want one that has clear escape routes in case something goes wrong. There’s an art to selecting a tree that you have to earn.
You pick one and set down the extra gear. The first part of falling a tree is to cut your notch. You and your partner take turns chiseling into the tree with your axes. If you do your job right, the tree will fall in the direction of this cut.
It’s hard work with a rhythm. Tack, tack, tack. Once you get to the heartwood the sound changes to a thunk. Tack, tack, thunk. The forest sings with the quiet work of men and steel.
You breathe in the scent of wood chips and walk to the back side of the tree. Where you put the back cut is very, very important. If you get it wrong, you could die. If you place it too high, the hinge will be too thick and the tree could tear. If you place it too low, the tree could spin - or worse, it could split vertically up the trunk as it’s falling. But you put the cut in the right spot because you know what you’re doing.
Old time woodchoppers called the saw a “misery whip”. It might be a misery whip, but it’s yours. You and your partner get to each side of the saw, hands on the handles. Push-pull. Your job is to make your partner’s job easier. The first few inches are tough until the track is set. You have to keep it level so you don’t torque the blade. Push-pull. You can tell the species of the tree by the scent of the sawdust. Today it’s pine.
As you get deeper into the tree, you can feel its weight binding on the blade, so you tap in a steel wedge. It resonates with a satisfying ping. Ping, ping, ping.
You and your partner continue your dance and start to hear the tree talking to you. It pops, creaks, and groans as it realizes what’s about to happen. The tree begins to go. You back out into the escape path that you cleared earlier and keep your eyes up as it falls - it can kick back if you did anything wrong. This time it doesn’t. It lands with a deep bass that sounds like someone dropped the sky. You exhale, grateful to be alive. And now the hard work begins.
You and your partner grab your axes and walk the tree, taking off every limb you pass. Others join in. The group rolls the tree, always standing on the uphill side. Once it’s limbed, you have to buck it (cut it into sections). More people join. Push-pull. Wedges. Ping. Push-pull. Sawdust clings to your sweaty face. Push-pull. It’s in your lungs. Push-pull.
And then it’s time to get the logs out. You hook up each one to a team of horses and the teamsters pull it to the skid. This tree was close to the landing (where they collect all of the trees), so you’ll need to blow up the stump with dynamite. After that, if there’s time, you’ll get ready for tree number two.
Scenes like this repeated themselves daily in early 1900s America. The job wasn’t too different from how trees were cut down in the 1800s. Or the 1700s. To be a lumberjack was a dangerous, backbreaking job. There was a craft and an art to the job, and those who didn’t learn quickly (or were unlucky) ended up paying for it with their lives.
By 1940 there were about 170,000 people in the country doing this kind of work (source, page 25). Today there are around 23,000. No one who cuts trees for a living uses hand saws, but there are still people who do it using chainsaws. Most logging these days is done using machines called “feller bunchers”. These beasts cut the tree at the base, rotate it, and then feed it through, limbing and bucking as it goes. The two man team of 1940 could manage 2 trees on a good day; feller bunchers can process around 100 trees an hour.
A feller buncher processing a tree.
So how did we get from axes and hand saws to a rotating buzzsaw on tank tracks? My intuition was that early lumberjacks would’ve leapt at the opportunity to do less physical work, to cut more trees, and to earn more money. But my intuition was wrong.
Chainsaw from 1938.
The first chainsaws appeared sometime between 1920 and 1930 in the US. These early machines were massive two man devices that weighed up to 130 lbs. The form factor matched what the workforce was used to, but they weren’t ready for mass adoption.
The first chains required frequent resharpening, which slowed down productivity. They would break down regularly too, and would spit hot oil and gas at their operators. Many lumberjacks felt that the machines didn’t cut much better than a regular cross-cut saw, and the maintenance wasn’t worth it. They preferred to use the tools that they’d always used. They didn’t want to futz with engines and sharpen chains. They were woodsmen, not mechanics.
(1944 - Using a chainsaw in oregon)
Over time chainsaws got lighter and more reliable. But they didn’t see widespread adoption in America until WWII. During and after the war, demand for lumber skyrocketed, and logging companies scrambled to try out the new machines. Initial productivity gains were modest in absolute terms: instead of 2 trees, a crew might get through 3 or 4. Still, a doubling of output was a sign of the promise of these machines.
Two innovations would catapult chainsaws from curiosities to must-have tools. First, they got lighter and were able to be carried and used by a single person. By the 1950s they weighed about 60 lbs. A single man with a chainsaw could now fall and buck a tree by himself. This used to require an entire team of fallers and buckers (source).
The second invention that caused chainsaws to take off was Joe Cox’s “Chipper” style chain. Early chains were “scratcher” style. They would scratch the surface of the wood, scooping wood out and going a little deeper each time the chain rotated around the bar. This dulled the teeth very quickly, which caused crews to stop and resharpen far more often than they wanted to.
Joe had some curious hobbies - one of which was watching timberwood beetles feeding on wood. Rather than burrowing into the wood, the beetle moved its mandibles left to right as it ate, chipping wood along the way. Joe designed a new chain based on this action. It was more durable and required a lot less maintenance than the existing chains. And it was this combination of a more reliable chain and lighter saws that allowed chainsaws to gain widespread adoption throughout the 50s.
For a decade or so, logging didn’t change much. There were changes to how trees were moved from place to place, and saws continued to get lighter and more reliable. But the tools that the men in the field used were basically the same. By the late 1960s the first patents for the feller buncher were filed. By the 70s, prototypes were out and cutting down trees. By the 90s, we arrived at the kinds of machines that are more or less still in use today. In less than a career’s length of time, timber harvesting went from large crews of men with axes, to large crews of men with chainsaws, to small crews of highly trained machine operators driving up to trees and cutting them down.
To some it felt like “just one damn machine after another.” (source) They saw the craft of hand-falling a tree replaced by people sitting in air conditioned cabins fiddling with joysticks.
Others embraced the technology and were retrained to use the newfangled machines. The transition wasn’t smooth and the benefits weren't equally spread. The number of frontline workers dropped by 90% while overall production increased.
Knocker uppers, waking people up before clocks were widespread.
History is littered with jobs that no longer exist (e.g., the knocker-upper). But this story isn’t one where technology completely obliterated a job. We still need someone to cut down trees. And while the shift to mechanization did put people out of work and it did change whole communities as a result, the biggest shift was that fewer people could do far more work than before. The center of gravity shifted from the weight of your muscles to the dexterity of your fingers. From your arms to your brain. It didn’t obviate the skill required to do the job, it just changed where you placed the emphasis.
Software is following a similar arc. We used to have to punch physical cards in order to get computers to do anything useful (the axe-wielding days). Then we got terminals, GUIs, and IDEs where we could debug, test, and introspect the code at runtime (one man chainsaws). And now with AI coding tools, we can do a day’s worth of work in less than an hour (chipper chains). The current tools still spit oil and gas at their operators; they’re still heavy. But lighter and more reliable saws are coming. Feller bunchers are on their way as well. The march of “one damn machine after another” is underway.
I don’t want you to read this and worry too much about your job. Logging is constrained by the number of trees available for harvest and the overall demand for wood. Those exact pressures don’t exist in software. Demand is high and continuing to grow - but so too is output. The most likely scenario is that demand for SWEs stagnates in the near term and contracts over the medium to long term. The job you will be doing 3 years from now will be unrecognizable to someone who retired 3 years ago.
You’re probably going to be fine as long as you adapt to the times. But if you’re still holding an axe, you really ought to pick up a chainsaw. They’re here and they’re getting better every week.
There are a ton of ways to solve any individual problem. In this post we’re going to talk about the one I’ve had the most success with: a science-based approach.
Generally, when a scientist goes to figure out how the world works, they start by observing world. Then they make a guess about how it’s working. Then they set up some kind of experiment to collect evidence for/against their theory. Richard Feynman says it with more authority than I ever could.
Now I’m going to discuss how we would look for a new law. In general, we look for a new law by the following process. First, we guess it...Then we compute the consequences of the guess…And then we compare the computation results…with observations to see if it works.
If it disagrees with experiment, it’s wrong. In that simple statement is the key to science. It doesn’t make any difference how beautiful your guess is, it doesn’t matter how smart you are who made the guess, or what his name is…If it disagrees with experiment, it’s wrong. That’s all there is to it.
In the quote above, Feynman was talking about how physicists figure out how the world works. But that same way of thinking can be applied to problems in software. If you don’t believe me, let’s take a look at an example I took from a recent exchange with a colleague.
I was covering for the other team lead when one of the engineers came to me for help.
“I can’t figure this thing out. Can you help?”
”Sure,” I say. “What’s going on?”
He summarizes the problem:
“When reloading the large workspace after auto-arranging the windows, there is a hole where a window should be, and several windows are on top of one another when they shouldn’t be.”
A workspace is simply a collection of windows, their internal state, and their physical position on the screen. A native window is a type of window. Auto-arranging is a way of taking all of the windows on the monitor and forcing them to fill all of the available space on the monitor. Our product manages several different types of windows, and we were only seeing this bug manifest on one particular window type, after triggering auto-arrange.
What follows is a reconstructed transcript of the rest of our conversation:
D: It looks like the bug only presents on native windows. It was reported on the large workspace (40+ windows).
B: Huh. Why do you think that’s happening?
D: Well. When saving a large number of windows to the workspace, we are putting the windows in the wrong place because of a race condition in the code. There is a specific number of windows that makes this bug more likely to happen.
B: Alright. Why do you think that?
D: Well, I did a little experiment.
Before going over the results of his experiment, I want to pause. I’ve gotten a couple of very important bits of information from him. First, he told me his observations. Second, he told me his guess. And next, he’s going to tell me the experiments he ran to confirm/disconfirm his guess. I used this example in the talk I gave to the company. When I was prepping it, I asked for permission to use it. After he said yes, he told me that he’d heard a talk about using the scientific method to debug problems, and he was trying to apply that style to this problem. 👍👍
Now, for the results of his experiment and the rest of our conversation:
| Scenario | Result |
|---|---|
| 2 Windows | No bug |
| 4 Windows | No bug |
| 16 Windows | No bug |
| 25 Windows | No bug |
| 20 Windows | No bug |
| 21 Windows | BUG |
D: I think the problem is in [this other place in the code that you don’t need to understand to get the point I’m illustrating]. Something about a large number of windows is causing the bounds of the native window to be set incorrectly. It doesn’t happen on Electron windows. It looks like 21 windows appears to be the tipping point.
B: Does it happen when you just auto-arrange a bunch of native windows?
D: No
B: I’m not convinced. I think it's in the workspace management code. When we recreate a workspace, we just take the bounds from storage and pass them off to [the other part of the code that is irrelevant]. If your bug doesn’t happen when you trigger auto-arrange, I doubt it’s in [the other part of the code].
D: Okay, let's look at the data in the workspace.
B: Data looks fine.
B: Wait. There are fractional pixels for some of the windows. That’s strange. Don’t we round those when we move windows?
D: Maybe?
B: Wait. All of your tests were on even numbers. except 21. and 25. I don’t think it’s 21. I think it’s N, where N is a number that doesn’t divide evenly into the pixel-width of the monitor. Try 3.
D: It happens with 3.
D: Let me try 5. It happens with 5. Let me try 6. It doesn’t happen with 6. I think we’ve found the bug.
B: :)
So his initial guess was wrong. My initial guess was wrong. But by looking at evidence in favor of/contradicting our hypotheses, we were able to figure out where the bug was. One of the reasons we were able to solve this problem so quickly is that back in the day I’d seen some weird behavior when we tried to move a window to a fractional place in space (e.g., x: 283.76). It turns out that the win32 API expects coordinates to be integers, not floating point numbers.
But the other reason we were able to get to the bottom if this is because of the process he was following before we started talking. We only spoke for maybe 20 minutes. Before that, he only spent a couple of hours diagnosing the problem. There’s a lot that we can take from this example, but I really want to focus on his process.
First, he observed the problem. Second, he guessed what was causing the bug. Then he came up with an experiment to test his idea. And then he kept iterating. Once he felt like he had enough data, he looked at it and couldn’t make sense of it, so he came to me. Because he was already set up to approach the problem from a scientific angle, we were able to iterate rapidly and we ultimately solved the problem.
Using this approach doesn’t guarantee instant or even quick success. You won’t always be right on your first guess. Or your twelfth. But if you keep your mind open to the possibility that you’re wrong and you set yourself up to iterate quickly, this approach will get you to where you need to be. It makes a ton of intuitive sense to me, and it’s been by far the most effective way that I’ve been able to solve problems.
The next several posts will be about some common debugging mistakes that I’ve observed. I’ve tried to make them as generic as possible so that they are useful no matter which approach you use to solve problems. First, we’ll discuss perhaps the most important part of solving a problem: defining it.
Double-click to edit...
Double-click to edit...
One of my favorite things to ask interviewees is this: imagine the ideal software engineer. This engineer has 3 discrete skills:
Their ability to communicate with others.
Their ability to debug code.
Their technical expertise and experience.
I then ask the candidate to rank those skills in order of importance. Then I ask them to rank themselves on each of the skills. The way the candidate answers the question tells you a little bit about how self-aware they are; it also tells you what the ideal software engineer looks like in their head. The order doesn’t matter so much as their rationale for the order.
I think the order above is correct. Also, note that I called them skills and not qualities. Skills are things that can be learned and improved. Communication is at the top because of how difficult it is to learn to do well. Yes, you can become a better communicator. But I think the results depend a little more on aptitude than the other two on the list. As for expertise and experience - I think it’s nice to have. But you can gain experience by doing a job poorly. I have experience in woodworking. I’m not a good woodworker. Debugging — debugging is huge. Depending on the maturity level of the project, I’d wager that you spend 35%-75% of your coding time doing some kind of debugging. In an interview, I’m more interested in the person who tells me about an interesting problem that they solved than the person who rambles on about why Redux is clearly the best way to do state management in React apps.
That might be because I’m self taught. I got into this field because I enjoyed the problems. I never studied computer science or software engineering, so early on in my career I wrote a lot of code that didn’t work. Because of that, I got decent at figuring out why stuff wouldn’t work. But it wasn’t until I got onto my current project that I really honed my skills as a debugger.
I’m currently in a team lead role on a project I helped start. It’s a multi-process javascript framework and architecture designed for creating enterprise grade workflows. It’s very complex. Any given problem can be in the DOM, in the layer above, in the layer below, or somewhere in the communication layer. The product itself is only about 3 years old. We currently have 11 very smart engineers working on it, most of whom have been with us for less than a year. Because the problem space is so big, so complex, and so novel, I often end up serving as pair-programmer, rubber duck, and observer. Over the course of several months, I found myself giving the same or similar advice to different people. At some point, I had an epiphany in the form of a series of thoughts.
“Not everyone solves problems like I do”.
“ 😱”
“They’d be more efficient if they did.”
”Maybe I should do a talk about debugging.”
A couple of weeks later, I did a talk about debugging for the whole company. I want to be clear - I don’t think that the approach I will outline is the best way to solve every problem. However, if you combine the general approach and avoid some of the pitfalls that we will go over, you will be markedly better at debugging code.
By the end of this series, you should feel confident enough to parachute into a section of code with nothing but a stack trace or a description of what should happen and what is happening. From there, you’ll be able to make a guess, gather data, test your guess, and iterate quickly.
Up next: A Scientificish Approach to Debugging Code.