Dave Chong

Getting Into Flow State: The Art of Disappearing

| Mindset & Philosophy | by Dave Chong

Have you ever got into a state whereby you just focus on your work and you become oblivious of your surroundings? The noise of the coffee shop fades away, the notifications on your phone cease to exist, and the passage of time becomes a meaningless concept. You look up, and three hours have vanished in what felt like twenty minutes.

That’s flow state.

In this state, you are not just productive; you are prolific. The work doesn’t feel like labor; it feels like an extension of your thought process, pouring out onto the screen or the canvas without friction. It is in this state that we build our best systems, write our best code, and solve our most complex problems.

But getting there? That is the battle.

To get into this state, we need to “start,” and that is often the most difficult part.

Chapter 1: The Friction of “Start”

The Story

I remember a specific Tuesday. I was staring at a blank IDE, the cursor blinking at me with mocking regularity. I had a massive feature to build—a complex integration for a logistics client that required holding a dozen different data structures in my head simultaneously. The sheer weight of the task was paralyzing.

I sat there for twenty minutes. I found myself doing everything except the work. I checked emails. I reorganized my desktop icons by color. I went to get coffee. I came back. I realized I needed water. I checked Slack. I read a tech article about a framework I wasn’t even using.

This wasn’t laziness. I love coding. I wanted to build this feature. Yet, I was physically repelled by the keyboard.

This is the “Resistance,” as Steven Pressfield calls it in The War of Art. It is the invisible force that pushes back the moment you try to do something meaningful. The brain is an energy-conserving machine; it fears the massive cognitive load required to enter deep work. It anticipates the pain of loading that complex context into your working memory. It wants the cheap dopamine hit of a quick email reply, not the mental marathon of architectural design.

The friction is highest at zero velocity. Just like a rocket uses most of its fuel just to leave the launchpad, the energy required to go from “not working” to “working” is disproportionately high.

The Blueprint

To overcome the friction of start, you cannot rely on willpower alone. Willpower is a depleting resource. You need a system that bypasses the brain’s alarm system.

1. Identify the Resistance

Acknowledge that the feeling of “I don’t want to do this” is not a reflection of your ability or passion. It is a biological response to projected cognitive load. Name it. “This is just the friction of start.”

2. Lower the Bar

The brain resists “Build the entire API integration.” That feels like a threat. The brain does not resist “Open the file and write one comment.”

Action: Break the starting task down to the microscopic level.

  • Bad: “Write the authentication module.”
  • Good: “Create auth.js and write the function signature for login.”

3. The “stupid small” start

Make the first step so stupidly small that it would be more embarrassing not to do it than to do it.

Key Takeaway: You cannot steer a stationary ship. Get moving, even if it’s just an inch.

Chapter 2: The Architecture of Distraction

The Story

A few years ago, I audited my “working” hours. I sat down for a 4-hour block of coding. Or what I thought was coding.

I installed a time-tracker that recorded my active window usage. The results were horrifying.

  • VS Code: 15 minutes
  • Chrome (Stack Overflow): 5 minutes
  • Slack: 4 minutes
  • VS Code: 10 minutes
  • Email: 3 minutes
  • Twitter (just a peek): 12 minutes
  • VS Code: 8 minutes

I wasn’t working. I was context-switching. I was fragmenting my attention into useless shards.

We are fighting a war against the smartest minds in the world. Engineers at Google, Meta, and TikTok are paid millions of dollars to figure out how to hijack our dopamine receptors. The notification badge, the infinite scroll, the “ding” sound—these are not design accidents. They are weaponized psychology designed to pull you out of your flow and into their ecosystem.

Every time you switch context—even for a “quick check” of Slack—you pay a “resume tax.” Research shows it takes an average of 23 minutes to get back to the same level of deep focus after an interruption. If you check your phone every 20 minutes, you are mathematically incapable of ever reaching deep flow.

The Blueprint

You cannot rely on self-control to fight an army of behavioral psychologists. You need to architect your environment to make distraction impossible.

1. The Digital Fortress

When it’s time for Deep Work, you must raise the drawbridge.

  • Slack/Teams: Quit the app. Do not just minimize it. Cmd+Q. If you are indispensable for 2 hours, your organization is broken.
  • Phone: It must be out of sight. The mere presence of a smartphone on the desk, even face down, reduces cognitive capacity (the “brain drain” effect). Put it in a drawer or another room.
  • Browser: Close all tabs that are not related to the immediate task. If you need Stack Overflow, open a fresh window. Do not leave your email tab open “just in case.”

2. Notification Bankruptcy

Go through your devices. Turn off all non-human notifications.

  • News apps? Off.
  • Social media? Off.
  • Shopping apps? Off.
  • Only keep notifications for direct human contact (calls, texts from family) that might be emergencies.

3. Asous-Vide Your Brain

Think of your attention like temperature in sous-vide cooking. It takes time to get to the right “heat” (flow). Every distraction opens the lid and lets all the heat out. Keep the lid sealed.

Key Takeaway: Distraction is the default. Focus is a deliberate act of rebellion.

Chapter 3: Crossing the Threshold

The Story

I used to wait for inspiration. I’d sit at my desk, sipping coffee, hoping to “feel like” coding. Some days it happened. Most days it didn’t. I was at the mercy of my mood.

Then I read about the rituals of great artists and athletes. Maya Angelou kept a hotel room where she would go only to write—she stripped the walls of art and wouldn’t let the staff change the sheets while she was working. Stephen King sits down at the same time every morning, same chair, papers arranged in the same way.

They weren’t superstitious. They were triggering a Pavlovian response. They were teaching their brains that Action A leads to Deep Work.

I realized I needed a ritual to cross the threshold from “Distracted Dave” to “Deep Work Dave.” I needed a signal that told my brain: It is time.

The Blueprint

Flow is not a mood; it is a discipline. You have to force the door open with a consistent entry protocol.

1. The 5-Minute Deal

This is the single most effective trick I have ever found. I sit down and make a deal with myself: “I will work for just five minutes.”

I tell myself that if I want to stop after five minutes, I can. No guilt. This lowers the barrier to entry so much that the brain stops resisting. Five minutes is easy, it thinks. I can do five minutes.

So I start. I write the first function. It’s clunky. I’m slow. But I watch the clock. By minute four, something shifts. The problem starts to become interesting. I see a bug. I want to fix it. By minute six, I have forgotten about the deal. I am in.

2. The Sensory Trigger

Pair your work session with a specific sensory input that you only use for deep work.

  • Music: I have a specific “Focus” playlist (Hans Zimmer soundtracks work wonders). I only listen to it when I am coding. The moment the first track starts, my brain shifts gears.
  • Beverage: A specific type of tea or coffee that is reserved for the work session.
  • Lighting: Turn on a specific desk lamp.

3. The Sequencing

Create a sequence of 3-4 actions you do exactly the same way every time.

  • Example Sequence:
    1. Phone in the drawer.
    2. Fill water bottle.
    3. Put on noise-canceling headphones.
    4. Turn on “Do Not Disturb” mode (Mac).
    5. Open the single necessary window.
    6. Start the 5-minute timer.

Run this sequence enough times, and your brain will start to enter flow state on autopilot by step 3.

Key Takeaway: Do not wait for the muse. Summon her with a ritual.

Chapter 4: Designing the Deep Work Cockpit

The Story

When a pilot sits down in a cockpit, everything is exactly where it needs to be. The altimeter is here. The throttle is there. They don’t have to hunt for the landing gear switch. If they had to search through a pile of laundry to find the throttle, the plane would crash.

For years, my digital “cockpit” was a disaster zone. My desktop was a graveyard of screenshots. My Downloads folder was a chaotic abyss. My IDE was cluttered with old tabs from three projects ago. My physical desk was covered in bills, sticky notes, and random cables.

Every time I sat down to work, my brain had to process this visual noise. “Oh, I need to pay that bill.” “What is that screenshot?” “Where is that file I downloaded?” This background processing power—visual drag—was eating up the CPU cycles I needed for complex thought.

I decided to treat my workspace like a surgical theater.

The Blueprint

You need a “Sterile Cockpit” for your mind. Physical and digital clutter are forms of friction.

1. The Physical Environment

  • Visual Silence: Clear your desk. Completely. Only the tool you are using (laptop/keyboard) and maybe a notebook should be visible. Anything else is visual noise.
  • Ergonomics as Foundation: If your back hurts, you cannot flow. Invest in a chair that vanishes. If you are constantly adjusting your position, you are breaking focus.
  • Single Screen Focus: While multiple monitors are great for some tasks, they can also invite distraction. For deep writing or complex algorithm design, try satisfying yourself with a single screen. It forces linear focus.

2. The Digital Cleanup

  • Desktop Zero: Your computer desktop should be empty. Use a wallpaper that is calm and abstract.
  • The “Context Reset”: Before you leave your computer at the end of the day, close your tabs. Close your windows. Leave the digital space clean for the next morning. There is nothing worse than opening your laptop to face the mess of yesterday’s unfinished problems.
  • IDE Zen Mode: Most code editors (VS Code, IntelliJ) have a “Zen Mode” or “Distraction Free Mode” that hides the sidebar, the terminal, and the menus. Use it. Just you and the code.

3. The Tools

Select your tools for speed and invisibility.

  • Learn your keyboard shortcuts. Every time you reach for the mouse, you are slowing down the translation of thought to code.
  • Use a dark theme. It reduces eye strain and signals “serious mode” to the brain.

Key Takeaway: Your environment should not be a place where you work. It should be a machine that facilitates work.

Chapter 5: The Vanishing Act

The Story

This is the destination.

You’ve fought the friction. You’ve locked the door against distractions. You’ve performed your ritual. You’ve struggled through the first clunky ten minutes.

And then, silence.

The noise of your own internal monologue—the part of you that judges, worries, and questions—suddenly goes offline. You are no longer “Dave trying to write code”; you are just the coding happening. It’s as if the boundary between you and the machine has dissolved.

I recall a late night working on a distributed systems problem. I looked at the clock at 8:00 PM. I blinked, typed a few more lines, and looked up again. It was 2:00 AM. Six hours had compressed into what felt like twenty minutes. My coffee was ice cold. My bladder was full. But I was high on pure logic.

There is a profound peace in this disappearance. In a world that is constantly screaming for our attention—demanding we look at this ad, read this headline, answer this message—flow state is the ultimate sanctuary. It is the only place where we are truly free from the chaos, locked in a silent dance with the task at hand.

The Blueprint

The “Vanishing Act” isn’t magic; it’s neurochemistry. Your brain down-regulates the prefrontal cortex (the part that worries and plans) and floods your system with norepinephrine, dopamine, and anandamide.

1. Recognition without Attachment

When you notice you are in flow, don’t celebrate. Don’t stop to tweet about it. The moment you self-reflect (“Wow, I’m working so hard!”), you wake up the prefrontal cortex and break the spell. Just notice it, like a surfer notices a wave, and ride it.

2. The Feedback Loop

Flow requires immediate feedback. This is why coding is so conducive to flow—you write, you run, it works or breaks. You know immediately. If you are doing tasks with vague feedback (like “planning strategy”), invent artificial feedback milestones. “I will finish this specific paragraph by 10:15.”

3. Absence of Struggle

The defining characteristic is the absence of struggle. It feels easy. If it starts feeling hard again—grinding, frustrating—you have fallen out. Don’t panic. Pause. Take a breath. Check your “cockpit” for new distractions. reset the 5-minute timer. You can get back in.

Key Takeaway: The goal is not to be a productive person. The goal is to cease being a person at all, for a little while.

Chapter 6: Sustaining the Flow: Riding the Wave

The Story

I was once building a real-time chat engine. I hit flow state early in the morning and rode it like a tidal wave. The code was pouring out of me.

But around hour three, I hit a snag. A weird race condition. I couldn’t figure it out. I tried one fix. Failed. Tried another. Failed. I started to get frustrated. I started checking Google maniacally. The smooth “pouring” sensation turned into a grinding “forcing.”

I had dropped out of the “Flow Channel.”

Mihaly Csikszentmihalyi, the father of Flow psychology, describes this channel as the sweet spot between Challenge and Skill.

  • If the challenge is too hard for your skill -> Anxiety.
  • If the challenge is too easy for your skill -> Boredom.
  • Flow sits right in the middle.

I had hit a problem where the challenge spiked above my immediate skill/knowledge. I fell into Anxiety. The flow broke.

The Blueprint

To sustain flow for hours, you must actively manage the difficulty of your task to stay in the channel.

1. Adjusting the Challenge Dial

You have to function like a game designer for your own work.

  • If you are bored (Too Easy): Increase the challenge.
    • “Can I write this function in half the lines?”
    • “Can I do this without using the mouse?”
    • “Can I finish this module in the next 10 minutes?” (Time pressure increases challenge).
  • If you are anxious (Too Hard): Decrease the challenge.
    • “This bug is too complex. I will just write a console.log to trace the variable.”
    • “I will step away from the code and draw the diagram on paper.”
    • Break the problem into smaller, dumber pieces until it matches your current energy level.

2. The hydration and glucose check

Your brain in flow consumes massive amounts of glucose. Sometimes you “fall out” not because of psychology, but biology.

  • Keep water on your desk. Drink it.
  • If you feel your focus fraying after 2 hours, you might just be hungry. A small, non-sugar snack (nuts, etc.) can extend the session.

3. The Micro-Break

You can’t sprint a marathon. Every 60-90 minutes, step back.

  • Do not check your phone.
  • Stand up. Stretch. Look out a window.
  • Let the “default mode network” of your brain run for 2 minutes to consolidate what you just did.
  • Sit back down and dive back in.

Key Takeaway: Flow is a dynamic balance. You must constantly micro-adjust the difficulty to keep yourself in the zone.

Chapter 7: The Interruption Protocol: Getting Back on Track

The Story

We have all been there. You are four layers deep in a call stack, holding the entire state of the application in your mind. You are essentially juggling twelve crystal balls.

Then—tap tap.

“Hey Dave, do you have a sec? Just a quick question.”

Crash. The crystal balls shatter on the floor. The mental model collapses. You turn around, force a smile, and say, “Sure.” But inside, you are screaming.

The “quick question” takes two minutes. But rebuilding that mental model? That takes twenty. And usually, the flow is gone for the day. You return to the code and just stare at it, unable to remember why user.id was null.

Reality happens. Interruptions happen. We cannot always prevent them. We need a protocol to handle them.

The Blueprint

You need a “Save Game” mechanism for your brain.

1. The “Hold On” Signal

If someone interrupts you, unless the building is on fire, do not turn around immediately. Hold up a hand. “Give me ten seconds.” Most people will respect this. This buys you the crucial moment for step 2.

2. The Context Anchor (Breadcrumbs)

Before you shift your attention away from the code, you must leave a “breadcrumb” that will help you re-load the context later.

  • The Broken Test: Write a failing test case that describes exactly what you were about to do. When you come back, run the test. It fails. The error message tells you exactly where you were.
  • The Brain Dump Comment: Type // TODO: I was just about to refactor the user loop to handle null IDs. directly into the code.
  • The Intentional Syntax Error: If in a rush, just type I WAS HERE FIXING THE BUG in the middle of the code. The compiler will scream at you when you return, pointing you to the exact line.

3. The Re-Entry Ramp

After the interruption is over, do not expect to snap back instantly.

  • Read your breadcrumb.
  • Don’t try to code immediately. Read the last 20 lines you wrote.
  • Re-run your 5-minute start ritual if necessary.

4. Asynchronous Communication Training

Train your team. “I am in deep work from 9 to 11. Please send messages on Slack, I will reply at 11:00.” If you respect your time, others will eventually learn to respect it too.

Key Takeaway: If you must stop, park on a downhill slope so it’s easy to get moving again.

Chapter 8: Strategic Rest: The Fuel for Flow

The Story

I learned this the hard way during a startup crunch mode. I tried to “force” flow for 12 hours a day, 7 days a week. By day four, I wasn’t flowing. I was zombie-coding. I was making mistakes that took longer to fix than to write. I was irritable, foggy, and cynical.

I was treating my brain like a machine that only needed fuel (coffee) and output (code). But the brain is a biological organ. It builds up metabolic waste products during intense concentration.

I took a mandatory Sunday off. No screens. I went hiking. I slept for 10 hours. Monday morning, I sat down and solved in 30 minutes the problem that had blocked me for 8 hours on Friday.

Deep Work requires expensive fuel. If you don’t refill the tank, the engine seizes.

The Blueprint

Rest is not the opposite of work. Rest is a part of work. It is the recovery phase of the performance cycle.

1. The Ultradian Rhythm

Our bodies operate on ~90-minute energy cycles (Ultradian rhythms). You can focus intensely for about 90 minutes. After that, your brain needs a “wash cycle.”

  • Respect the dip. When you feel the fog rolling in after 90 minutes, don’t just push through with more coffee. Stop. Walk away for 15 minutes.

2. High-Quality Leisure

Not all rest is created equal.

  • Garbage Rest: Scrolling TikTok, watching Netflix, checking news. This is “active” input. It uses the same neural pathways as work (processing information). It does not recharge you.
  • Premium Rest: Walking in nature, exercise, meditation, napping, chatting with friends (offline), playing an instrument. These activities allow the “Default Mode Network” to activate, which is where subconscious problem-solving happens.

3. The Shutdown Ritual

At the end of the day, you must disconnect completely. Cal Newport calls this the “Shutdown Ritual.”

  • Review your tasks.
  • Plan the one big thing for tomorrow.
  • Say a phrase (mental or out loud): “Shutdown complete.”
  • Close the laptop.
  • Do not check work email after shutdown. This allows your subconscious to release the open loops of work anxiety, ensuring you sleep deeply.

4. Sleep as a Weapon

Sleep is when your brain cleans out the neurotoxins (beta-amyloids) that build up during the day. It is also when short-term memory is converted to long-term mastery. If you sacrifice sleep for work, you are trading IQ points for hours. It is a bad trade.

Key Takeaway: You don’t get strong in the gym; you get strong while you sleep. You don’t get smart while you code; you get smart while you rest.