Focusing for 5 minutes

Creating Breathe is part of my personal journey to increase focus and attention. My success or failure at work depend on my ability to keep structures of code in my head as I try to solve problems and create solutions. Focus is a key factor in the depth and breadth of my code, and the usefulness and lasting quality of my work.

But I can’t stay focused on something for longer than 5 minutes at a time. That’s bad. I’ve had moments when I’ve had longer focus. But those are infrequent occasions, when my energy and mood is high, and the code I’m working on is challenging but not impossible or frustratingly illusive.

I believe it’s because I’m anxious all the time. There is a set of conversations rambling in my mind, which include:

  • You better not waste your time
  • Something isn’t right
  • …Am I forgetting something?

Maybe you have a similar set of thoughts. Or different sets, but equally anxiety causing. How many thoughts do you have? How often are you thinking them? Are you aware that you’re thinking them?

The anxiety from these thoughts pull me both away from what I’m working on, or too deep into it. Because I might be forgetting something, I try to go deep into all the things that can possibly go wrong. This quickly leads me away from what I should be working on, like a game of That Makes Me Think Of (TMMTO). And while my code is compiling I make sure that I’m not missing anything on Gmail, Slack, Facebook, xkcd, Dr. McNinja, etc. I shouldn’t just sit here and stare blankly into nothing as my code compiles, right? Or maybe I should go get something to drink.


At first the idea of an app for breathing was OK, not my cup-of-tea. But I really wanted to do something with random reminders. I have had this idea for an app in the back of my mind for over a year now and Breathe was basically the same thing, but simpler and way better. And I liked the person who was proposing the idea to me, he also had a willing partner for design. All I would have to do was code the thing? I jumped on board without really thinking about it.

While developing Breathe I would use it daily myself. I would use the reminders as a moment to take a step back from what I was doing and relax. This included both body and mind relaxation.

I remember odd forays into meditation groups with a good friend of mine. Buddhist centers in the middle of mountains, Zen centers in a remodeled house, or finding a hairless spot to do some “sitting” with my friend in his studio and his three cats. I would spend the first 10 minutes trying to not think. It’s like trying to balance a pen on its pointy end. And then the rest of the 50 minutes battling all the different pains showing up in my body.

I liked it so much that I thought I would make a habit out of it. That was sarcasm, but I heard about all the benefits and I wanted some of that no-mind stuff that turned Tom Cruise into a Kendo master in one season in The Last Samurai. I tried various things like including it into my daily Muslim prayers, then just 10 minutes a day, then nothing. Like all good habits, they die young.

The Breathe reminders though, they’re like a tap on the shoulder. I sometimes just take one deep breath if I’m really busy. Usually I try to relax my face. That physical act does wonders and triggers my mind to quickly fall into a state of relaxation. Where the body follows, so does the mind. I set it to 10 Breathers between 10 AM and 9PM. When I’m in the middle of coding, I take a breath, relax my face, and continue. While talking to someone I just breathe deeply. If In meeting, I am usually already deep in some Tibetan-monks-meditating-in-the-snow shit.

It may seem contradictory, but the added interruptions from Breathe is helping my life, instead of burdening it.

The Apple Watch

My work is like cooking, but just stretched over a span of 8 hours. Usually I have 2-3 simultaneous tasks that I’m trying to accomplish while making a delicious yet nutritious meal for myself. There would even be a smattering of some miscellaneous tasks like chopping up an extra onion for later, or putting something interesting on TV while I cook. I would neurotically jump between stirring the pot, cleaning the dishes I’ve been using, and frying the side vegetables.

These tasks are always too small and too ever-changing to waste time trying to schedule it with TimedTrainer ahead of time and treat it like a workout.

Recently though I’ve decided to purchase an Apple Watch. What attributed to me spending money on something like the Watch (because I wouldn’t normally) was Apple sending me an email. It said that I’ll get special expedited treatment because I have the Breathe app, which has a Watch Extension, on my account. And they also said that I will be the first one to walk into work with a fancy shiny Apple Watch and all my co-workers will bow down at my feet and kiss it (I think I added that part, and it didn’t happen, someone got it before I did). Writing this now I realize just how powerful something like special treatment was for a stingy person like me, while costing Apple next to nothing extra to do it. Steve Jobs would be proud.

So I had the watch and I wanted to try an experiment. Whenever I could, I would set a reminder before moving onto a different task. I would tell Siri to schedule a 2 minute timer before I would have to stir the pot again. Then while I clean up the counter, I only focus on cleaning, not anxiously worry about the when I need to stir the pot.

The experiment was largely a success. The food turned out delicious and those worry free 2 minutes were bliss to me. Moments that were truly mine, not some mindless action driven by worry of the future or regret of the past. 2 minutes that I remain in the now, given to me by a piece of simple and reliable technology. Again Steve Jobs would be proud.


Using these two technologies, I am trying out new ways to get back into reality. So long it’s been the other way around. Radio and TV took children out of nature and play. Computers now keep us from having to be in the same room with anybody else. Mobile phones keep us from having to look around as we travel through this world.

I welcome a change where I can get one or two minutes of reality. I like getting a gentle tap on my shoulder reminding me to breathe. But it’s all in the experimentation phase, I’m still on my journey. I don’t even know what it is that I’m seeking. Does more focus mean going from 5 minutes to 10 minutes without interrupting myself or going off tangents? Or does it mean that the same 5 minutes are full of quality. And my co-workers would slowly come to hate me if they hear “Hey Siri, timer two minutes 30 seconds” every 10 minutes at work. So I can’t run these experiments in the real world just yet. Maybe I can make an app for that though…

I’m interested in knowing about your challenges and some hacks you’ve thought up that might help me gain focus in my life too. Please leave a comment below with some ideas or stories of your successes or failures. And you should really try Breathe out for yourself and let us know how you like it.



This thing isn’t the most aerodynamic vehicles really. In fact it has this giant sail thing that must cause such a drag against the wind. I know when I’m just trying to bike against the wind I feel like it’s torture. But this dark-brown skinned man is pulling me, this contraption, and my cousin along bumpy rocky paths and weaving through traffic, uphill, downhill, missing car bumpers and open sewer lanes on the sides of the roads by inches.
It’s hard on my posterior.. but I can’t really complain.. all I have to do is sit here.. but I still complain to myself. Why can’t they get cushier seats? Maybe because it’ll just add weight and price to an already strained man.
And how old is this guy? He looks like he’s in his 70s.. but his physique is like that of an anemic 16 year old. I wonder if he competed in those bike races he could probably outrace anyone in America, then give every one of the competitors rides back to the their homes afterwards and barely break a sweat. Considering he’s taking me from one end of the town to the other for only 20 taka. Highway robbery too, that’s what my cousin said. He originally wanted 22, but my cousin brow-beat him down to 20. Brow-beat, that’s a nicer term for making someone feel like a shitty human being for asking 2 taka more then you want to pay for, for hauling you across town.
I’ll slip him an extra 10 taka when we get off, away from my cousin’s sight, or he’ll get angry and tell me to stop encouraging them to cheat others.
And maybe it is a cheat, it is capitalism at it’s purest level. and the market has set it’s price, who am I to argue against it? It’s fair.
But it’s also so unfair.
I ask him if this Ricksha is his own or if he’s renting it. It looks old and used. He says he’s renting it, what rate? 100 taka a day. So that means he has to make at least 100 to break even. That’s 5 more rides like mine from one end of town to the other. How log is the rental for? There’s two shifts, one in the day time, one at night. He says this is his last trip, it’s dusk and he has to be getting home. He has two kids. One, the oldest, is in the Madrasa. It’s the only affordable option he has to educate his children. Not much of an education really, except in learning how to read and memorize the Quran and the Hadith, the Madrasas in this country has no weight when it comes to other topics like mathematics, biology, history (outside of Islamic history). But it’s the best he can do. Maybe his son will become an Imam some day and have a better life then he has.
We come across a hill and he has to drop down and push the Ricksha. My cousin hops off and helps push, he tells me to stay in my seat. I don’t have the courage to hop off like he did anyways. The pointy rusty metallic edges of the Ricksha scares me enough to stay in my seat and hold on to those un-aerodynamic sails.
As we cruise down the hill, the wind cooling my face, I wonder about this man’s family. What will happen if he ever gets a cold? He’ll be out for at-least a day, maybe two. Will they even have enough money to buy fever-reducers? Or will they spend a taka or two on some useless Homeopathic remedy? That’s two days without any income. Lets say that on a good day he can make 100 taka profit. That’s 700 a week, 2,800 taka a month. That’s if he works every single day of his life. 2,800 taka, at 60 taka a dollar, is $47. 47 Dollars a month, I can piss that away on a dinner for two at a shitty restaurant back home in America.
Hell, I can piss away 2,800 taka away in a week of mobile minutes. I have two 500 taka notes in my pocket right now.. plus some change. I have almost half his monthly income in my pocket right now.
Maybe I’ll slip him a 20 taka note instead.
He’s talking about his son. He sounds very happy. Very proud. His son is 8 years old, doing well in school. He says that books are expensive though. I can imagine those books. I’ve had a few myself when I was going to Sunday school at the mosques. Tattered thin yellow papers. They cost maybe 10-20 taka each? That’s a fifth of his daily income. How much does a chicken cost here? Forget about fish, his family can’t afford the fish prices here anymore. When’s the last time he’s had any source of protein in his diet? I can probably pick this man up over my shoulders, he might weight maybe 130.. 140 lbs?
He wipes some sweat off his head with a Gamsa. They dont even have towels. They have a piece of thin, absorbant, colorful cloth. I can imagine his house. Tin all around, maybe some dry grass on the roof to help keep it cool. But probably still hot as sin. I can’t believe his family would even own a ceiling fan. His bed is probably some sheets over a straw mat, probably on the floor. His entire family probably sleeps together on that one straw mat at night.
Maybe I’ll slip him another 10 taka on top of the 20..
Maybe I should give him everything I have in my pocket and cry on his shoulders in gratitude for dragging my fat ass across town, smiling the entire way, thinking and talking of his children and how lucky he is..