Sitemap
Crawford Comeaux

Crawford Comeaux

Good ideas, bad ideas, and gibberish. Coder, technologist, geek, and habitual cardancer. Thinks he may know how to break all the “rules” of habit change

Continuous Delivery for Habits

8 min readAug 14, 2013

--

The conventional wisdom for trying to change your habits is to take baby steps and to avoid changing more than one habit at a time. I’ve tried this approach for years with the help of girlfriends, parents, friends, and coaches/counselors with little to no success. This is an account of my thoughts as to why that is and what I’m doing about it. If you don’t want or need the background info, jump ahead from here:

Intro
Disclaimer
What is “Continuous Delivery”?
What Are Habits and How Do They Affect Us?
My Hypothesis
Poppins: Continuous Delivery for Habits
How Did You Make the Table of Contents?!

I’m a thirty-year-old software developer obsessed with creating startups around my ideas, and I have Attention Deficit Hyperactivity Disorder (ADHD). As mentioned above, past attempts to learn to manage it have largely failed. I take medication, which helps me focus, but for adults with ADHD, the symptoms aren’t typically as difficult to overcome as the habits that develop as a result of the symptoms (see side note to the right of this paragraph by clicking on the little chat bubble icon). These habits tends to relate to and negatively impact executive functions, the mental processes related to organization, time/task management, planning, and just about anything else along those lines. To a knowledge worker, that basically means she’s hindered in everything she does, both professionally and personally.

Early last year, I sat down with some friends and family members to perform a SWOT analysis on myself. I think everyone should try doing this now and again, though it requires extreme honesty on behalf of yourself and whoever else is involved—ideally people who are closest to you.

I examined the list of weaknesses from the SWOT analysis and drew lines between issues and those that they reinforced, if any. The result was two clusters of interconnected weaknesses and some standalones. I later realized that the standalone items were issues that I’d actually been improving on over the years and all were related to how I interact with people; the clusters were all executive functions.

My theory is that the clustered habits essentially have a stronger support system than I do, so when I’m battling a single one of them, I’m essentially outnumbered. As further evidence to back up the theory, I’ll point out that all of my friends with severe ADHD who didn’t learn to manage the condition until adulthood point to their spouses as the key to their success. This leads me to think that some people with ADHD require a level of support that’s so intimate that it can only be met by someone who spends the majority of their days/nights with the other and who has a strong reason to provide that support. For children, that means their parents. For adults, it’s a spouse or significant other.

I live with a roommate, but am currently single.

The next two sections may be slightly oversimplified. I believe they capture the overall gist of things, though, and that’s really what’s important to understand where I’m going with all this. If anyone spots inaccuracies that interfere with the overall points, please post a note so I can address them.

In terms of software development, continuous delivery refers to a set of practices and processes that allow for continuously updating a product. For the purpose of this discussion, you just need to know that typical continuous delivery systems operate on a new feature for a product by automating/streamlining the:

· integration of the feature’s code into the existing code.
· execution of tests that verify the new code works as expected.
· notification of people who need to know when a step in the process has succeeded, halted, or failed.

Continuous delivery emerged over the past few years as a way to help tech startups improve their products as quickly as possible. Using a system like this allows for small improvements to be made at a steady pace, which allows projects to better manage their risk. And that’s really what successful entrepreneurship is all about, so hooray for continuous delivery!

As I hinted at earlier in the disclaimer, this is more about how I think about habits, based on what I know, rather than a purely scientific description. Having said that, I don’t think anything that follows is inaccurate to the point of breaking the model.

The current theory is that habits are conceptually comprised of three things: a cue, a routine, and a reward. Cues are patterns that get matched against some external or internal stimulus. They trigger routines, which are our established responses to the cues that we perform to achieve their respective rewards. A reward can be anything that satisfies some need. Understanding a habit’s cue-routine-reward loop is the key to quickly changing the habit.

That’s the conceptual idea behind habits, but in our brains, habits are encoded as connections between different points in our neural pathways that have been strengthened over time. The brain operates by sending electrical impulses through its goopy bits, so I like to think of a habit as a combination of three different electric circuits.

All of the circuits in this electrobrain, not just the habits, are connected by billions upon billions of wires. However, not all wires are created equal…some conduct electricity better than others. So if we think about a single habit, the circuitry for the cue detects stimuli, matches it against the pattern for said cue, and triggers a routine if a match is found. The cue circuit may have numerous wires leading to different routines, but one wire has been strengthened over time and conducts electricity better than others, leading to the routine circuit that defines the habit. I find this way of thinking about habits helpful in understanding what’s required to change them.

Studies show that we have a finite amount of “willpower” and that we spend willpower when we force ourselves to do something other than our conditioned response. That expenditure is referred to as “ego depletion” and it’s important to understand because if you’re running low on willpower, you’ll be more likely to fall back into a habit you’re trying to change. It’s easy for me to understand how that works when I think of habits as circuits. In the electrobrain analogy, when I’m trying to change a habit, I’m attempting to divert the flow of electricity away from one wire to another. No wonder habit change is hard…we’re trying to manipulate electrical impulses within our brain!

Get Crawford Comeaux’s stories in your inbox

Join Medium for free to get updates from this writer.

Another thing to note about ego depletion: it results from choosing a path other than what the habit directs us to take. So while changing the flow of electricity in your brain is costly, the only action being taken is deciding to do something different.

Ego depletion is the key reason why attempting to change multiple habits at once is ill-advised, according to conventional wisdom: the quicker you drain your willpower, the more likely it is you’ll hit the bottom of the glass before you can refill it.

Another typical protip for habit change is to start with a small habit or change. The reasoning here is that your maximum supply of willpower can be increased over time through practice. So it makes sense to start small and work your way up as a means of ensuring you’ll have built up a big enough willpower tank to handle larger changes.

All this talk of cues and electrobrains and depleted egos is for the sake of understanding one simple thing:

The brain is an electrical system and all electrical systems can be hacked.

Don’t believe me? There are people with Parkinson’s disease all over the world who have implants in their brains that electrically stimulate key parts to alleviate their symptoms. We don’t know all the details as to why it works and we don’t have to. That’s not required to hack a system…you just need to know enough to get it to do what you want.

If you take the decision-making process out of the habit-change equation, you save a major amount of willpower. In electrobrain terms, you want to take the cue circuit for a habit you’re trying to change and cut all wires leading to routines except for the one leading to the routine you want to start using. When you do that, no energy needs to be spent diverting the flow of electricity; the only place it can flow is to the desired routine. The trick is figuring out a practical way of doing that in the real world. A common example is someone avoiding all sources of food that doesn’t fit into new eating habits they’re trying to adopt. The downside here is that you need to come up with individual ways of removing your options for each habit you want to change.

Here’s what we know:

· Habit = cue + routine + reward
· Analyzing a habit = time + energy
· Changing a habit = time + energy + willpower
· Hacking a habit = time + energy

That’s no good for me. I have very little willpower, but want to change multiple major habits. I’ve fought most of those habits for years with little success and they’re preventing me from pursuing my life goals, so I’m tired of waiting for results and I’d rather focus my energy on said goals, as opposed to changing habits. I want to find a way to successfully change multiple major habits at once in as short a period as possible.

And I think I may have figured it out.

Hypothesis — Ego depletion can be minimized when attempting to change multiple major habits by automating the:
· detection of cues
· removal of the default routine as an option
· prevention of doing anything else except for the desired routine
· measurements of success and failure
· rewards for success and punishments for failure

TODO:
[x] Share draft “Feedback Wanted”
[ ] Move table of contents section to its own post.
[ ] Fill out this section, potentially using some stuff from the repo’s readme file
[ ] Create something better than a crappy bookmarklet for handy Medium hacks

I was going to explain the process here, but it felt like it needed its own post. I wrote my own bookmarklet that will take a heading I’ve highlighted and display a popup message with the link selected and ready for me to copy. If you don’t know how to create your own bookmarklets, I’ve documented the process for you. Otherwise, use the following code to create it:

javascript:(function(){var e=%22%22;if(typeof window.getSelection!=%22undefined%22){var t=window.getSelection();if(t.rangeCount){var n=document.createElement(%22div%22);for(var r=0,i=t.rangeCount;r<i;++r){n.appendChild(t.getRangeAt(r).cloneContents())}e=n.innerHTML}}else if(typeof document.selection!=%22undefined%22){if(document.selection.type==%22Text%22){e=document.selection.createRange().htmlText}}window.prompt(%22Press CTRL-C and then ENTER.%22,window.location.href.replace(/(https?:\/(?:\/[^/]+){3}).*/,%22$1#%22+document.evaluate(%22//h2[text()=%27%22 + e + %22%27]|h3[text()=%27%22 + e + %22%27]%22, document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE).snapshotItem(0).attributes[%22name%22].value));})();

When creating or editing a post, add the headings for each of your sections. The link to each of the headings will look very similar:

https://medium.com/p/<post id>#<heading name>

You can essentially just copy the address of the post you’re editing, replace the “/edit” at the end of it with “#”, and then add the name attribute of each heading’s HTML element. If you know what that means, you probably know how to find it. If you don’t (or you don’t want to go through that process each time), there’s a simpler method that will provide you with the link to use whenever you highlight a heading and click a specific bookmark in your browser’s bookmark bar.

All you have to do is create a new bookmark in your browser, give it whatever title you like, and paste the following code into the URL field:

TL;DR — The “Baby Steps” Conventional Wisdom for Habit Change Has Failed Me Because I Have Too Many Negative Habits That Reinforce Each Other. We Have a Limited Supply of Willpower and when Someone Chooses to Not Follow Their Default Setting (Ie. A Habit), Some of It Gets Drained. So, Tackling All of My Habits Concurrently is a Recipe for Disaster Without Mitigating the Constant Drain on Willpower. That’s Why I’m Creating an App Called Poppins for Myself and Others to Automate Most of the Process, with the Hypothesis That Making the Habits Impossible to Perform Will Result Less of a Drain on Willpower. Insert Punchline About ADHD Guy Needing Help Coding Something to Overcome ADHD Because He Keeps Getting Distracted as a Result of His ADHD-Related Habits.

--

--

Crawford Comeaux
Crawford Comeaux