February 04, 2017

How to Find Time: Stop Finding and Start Creating It

When people hear that I published 14 books and several online course while speaking at 17 conferences in 2016 and working full time at Capital One on hands-on projects, they ask one question: “How do you find time?”. Simple answer is I don’t.

I never lost time to find it. Every day each of us gets 24 hour. Not more and not less. Generally it’s not a lack of time but a lack of energy. Have you ever came from work and felt tired, then had dinner and vegetated on a sofa watching yet another TV show? I use this time to write books, blogs, and courses.

I also create time. People like to watch movies while flying. I write this blog post right now as I’m 10000s feet up in the air. People like to play games on their iPhones and Android while in a subway commuting to work (I hope not while driving!). I listen to books and podcasts to educate myself and stay on top of current technologies and events. People spend time looking at social media to become negative because they can’t keep up with the Jones. I get my relevant news from digests and newsletters while automating social media postings.

In the end, time is not the problem and often times you can create more time. Having enough energy is more important, and flow and paleo helps me with that.

January 22, 2017

Flow

Flow is a blissful state of activity in which time is distorted and reality is ignored. Programming, writing, painting are all examples of a flow.

Distractions kill flow. Emails, IMs, noise are examples of such flow killers. Each distraction not only robs you of your amazing flow time, but it also taxes the mental capacity to get back into the flow. So a 5-minute detour typically cost 15-20 minutes because it takes time to remember the last step, focus and remove residual thinking. That 30-minute call actually ate 1-1.5 hours because you stopped the flow 15 minutes prior the call at a stopping point so you are not in the middle and have plenty of time to dial in. Then you had to get back into the flow after the call which took at lest 15 minutes more. That’s a 3-4x increase which don’t account for. But that’s not the only problem with work fragmentation.

It is more exhaustive to multitask (which is a form of constant switching) than to be in the flow. Most of us had a tiresome day when we can’t name a thing we accomplished because there were meetings, calls, conversations, urgent things, emails and IMs. I feel more tired when I try (and fail) to multitask in a meeting by checking emails or taking notes.

So flow feels good, it’s more productive and produces a higher quality results (Deep Work). Good. Then why the multitasking habit is so prevalent in our day and age? I’ll blame the internet.

You see, the Internet is a network built on server client architecture. Clients, a.k.a. as browsers, make requests to remote servers to fetch information or to send it. There’s delay. The delay was way worse a decade ago. That’s why there are tabs in a browser. I noticed that I tend to open multiple webpages using “Open in a New Tab”, then start with the first while others are loading. It was saving me minutes a decade ago but now the time saved is negligible. However, I’m distracted by jumping from the content of one task to another.

For programmers, compilation time is something they utilize by multitasking. So tempting to check IM messanger while my Webpack is transpiling JavaScript! Or Maven and Java for you, Java devs. Engineers are great of optimizing after all. They try to optimize their time too… at a cost of breaking the flow. They are also very curious (as noted in Managing Humans) which makes them good at learning but prone to losing focus.

The solution is to resist to optimize the waiting time. Use the waiting time to continue to work on the same task… or just sit and stare at that rotating loading icon. I despise SMS/text messages for this because you can drag a 5-minute call into a multi-day correspondence. If you send me anything other than an address, phone number, price or your SSN, I’ll ignore you.

To add to the habit of optimizing the waiting time, there’s over-reliance on external resources like online search, documentation, colleagues and forums. Every time you need to look up something, you risk of going down the rabbit hole, getting distracted by unrelated content. If I can write a book without a research, I can do it in a few day. (In fact, I wrote ProgWriter in a day while on a internet-less train ride from Portland, Oregon to Oakland, California.)

The solution is to get all you need offline. Some email clients like Outlook allow you to switch to offline mode. The programming library APIs can be remembered after you use them a few times. Offline docs like man command, reading source code in node_modules, or Dash app are other options. If not feasible to remember something, then just leave a TK or TODO and batch up the search for a later time.

Finally, the third type of distraction is the distractions are the easiest to eliminate because they are external. Things like noise, email notifications, etc. Sitting near a ping pong table, foosball or sales team is the worst! Solution: turn do not disturb mode ON, stop working in cafes and/or office, download music without words (Spotify has music from video games), process emails instead of checking them, and let people know that you respond only once a day or even better once a week.

It might be hard to adjust at first. You might feel good about being in the flow for an hour or two. Maybe three. But then feel an urge to peek into email or news or social media. What is someone needs you? What if something important happened? Resist. It’ll go away. Take a walk in the park or around the office if needed, and get back into the flow of your task. I read somewhere that humans can only spend two to four (2-4) hours per day in an intense focus. You are a human, right? The do the important things first while your brain is still fresh and will power the strongest.

PS: I remember I was able to have a TV in the background and still work (and play) on my computer when I was younger. I am sure that I wasn’t doing as much focused and advanced work back then. My guess is that over the years of programming and meditation practice, I developed the ability to focus deeper on my work by using flow. Conclusion? The deeper your work (which requires flow) the more sensitive and damaging the distractions are.

January 04, 2017

I Don't Need Your Feedback

I was at a conference and some guy told me after a quick chat “I’ll give you my feedback on Node University”. No, I don’t need your feedback. I don’t even know if you are my target audience. 👊

Sometimes we assume all feedback is good. The more the better. Bring it on! This is especially true if you’ve been feedback starved which usually means you didn’t have enough users or no one really cared. Ugh.

Let’s put aside Lean Startup, most of feedback is garbage because the person who is giving it:

  • Not a customer 💰: They are NOT paying you money and most likely never will, therefore they are NOT your target audience. Of course, first you must have a paid product or a service. You can replace paying with actively engaging.
  • Not a majority 💯: Minority which means you should NOT cater to their needs — use 80/20 rule.
  • Not an expert 🎓: They don’t know what’s best. It’s your job to be on the cutting-edge of innovation and bring the goodies to the user. It’s not the user’s job to know about the new stuff. (Think Ford and horses.)

The downsides of listening to too much wrong feedback is a feature creep, fashion-driven development and lack of innovation. For example, most of my negative reviews on Amazon are written by people who never read the books’ introductions and most of them never finished reading the books either. Ignore.

Feedback is proliferating. Uber ride? Leave your feedback. Hotel stay? Fill out a survey. Meal in a restaurant? Comment on Yelp. Listened to a conference talk? Fill a survey. Watched an online course? Leave stars. Read a book? Write a review… But we know so little about the background of those reviewers! Be careful who you are listening to, because you are missing on other opportunities… use some feedback filter like the one I listed above.

January 01, 2017

Shaming is Good

Shaming is good because it’s a strong motivator to change. If you have a trouble with the word itself due to negative bias, then substitute it with peer pressure or environment.

Humans as tribal creatures evolved to conform, for the most part, to our environment. It’s done via shaming. Let’s take an accent for example. Most people will adapt to the accent of their region to fit in. They do it automatically, both adults and children. Children do it faster, because there’s more shaming from other children. Thus, there’s a stronger motivator.

To expand on accents, when I worked on the East Coast in the IT industry as an app developer, I was surrounded by other foreigners and native English speakers. But neither of them who would correct pronunciation or point out. The foreigners didn’t care or knew and native speaker were polite to correct such trivialities (which are not trivial at all). As a result, there was very little motivation and even awareness to not just to change an accent, but event to pronounce words correctly. It seemed like no one cared… and of course adults and professionals just more tolerant and mature to laugh (form of shaming) at other adults’ pronunciation.

Lack of shaming could be one of the reason why despite being dumber kids learn accents faster than adults do. The latter just coast in their blissful ignorance once they acquire the minimum functional level. I’m sure you can find other examples of good shaming like switching to macOS from Windows, picking up a new programming language because PHP is not cool anymore, finding a better job or to dumping that crazy girlfriend. :)

Shaming is an important fail check that prevent individuals to fall below a certain level. Of course, too much shaming like too much of almost anything is bad… however, no shaming at all can lead to no personal or career growth at all.

December 28, 2016

What I Learned Reading 200 Books 📚

I’m not a huge fan of reading. In fact, I don’t like reading. But I love getting better, finding out something new and useful.

You can talk only to few interesting people in-person. The limit is in time, location or just that they won’t talk with you. Books are a transferable information. Good info can change career, life, relationships… everything!

So three years ago I start reading and logging books I read or listened to in a spreadsheet. Also, I was writing number of page or hours along with brief book summaries. I reached 200 with this breakdown:

  • 2014: 33 books
  • 2015: 67 books with 26 audio and 41 digital or print
  • 2016: 101 books with 75 audio and 26 in digital or print

Just the audio books for 2016 amount to over 400 hours of content. That’s 50 days of 8-hour listening per day. Almost all of the books were non-fiction. So here’s what I learned:

  • Books are not created equal: So books are junk or should be 50 not 350 pages because they don’t have than much substance. Most modern non-fiction books are junk.
  • Listening on 1.5x and speed reading rocks.
  • I really don’t like printed books. Kindle is a way to go!
  • Successful people have different rules, habits, approaches which often contradict other successful people. Thus, don’t listen to their advices. It’s not what brought them success. (Icons and Idiots by Bob Lutz).
  • History and biographies (especially auto biographies) tend to be the better books.
  • Eat my frogs first to get things done.
  • Black Swans can be good and bad. To benefit from good black swans, you have to take risk and action.
  • Writing books is more fun than reading books. I should write a non-technical book next.
  • Monopoly is good if you are the monopoly (Zero to One)
  • Wheat, bread, and GMO are evil. I knew it before but it’s good to be reminded.
  • Why steak houses make you eat in darkness (Mindless Eating).
  • Less is more (The Paradox of Choice).

That’s more or less all. It’s extremely hard to summarize books. The way they work, is that they take you on a journey and influence your subconscious. In the end you might have new ideas or perspective without realizing it’s from a book.

Bonus! My top 5 list:

  1. Antifragile
  2. Deep Work
  3. The Next 100 Years
  4. Made in America
  5. Grain Brain

December 23, 2016

Check vs. Process Emails

I stopped saying “I’m checking my email”, because I almost never check them. That’s true. I stopped checking my emails a few years ago, and it brought more focus, fun and productivity to my life.

Instead of checking my emails, I process them. What is the difference? Checking is looking at the inbox, fishing for urgent, filtering non-urgent and plain spam but answering only to urgent. This will make you seem like a very responsive person to senders, but most of the times they can wait a few hours or even a few days. If they are your clients or employees, then they’ll learn to batch items and not treat email like an IM, or write only as the last resort after they took a stub at or googled a question they want to ask.

Processing on the other hand is dealing with all emails from first to last. It’s inbox 0, but I take it to extreme. In the productivity method called Get Things Done (GTD), the author of the method recommends to respond to an email if it’s less that 2 minutes. I process an email which I estimate would take under 30 minutes right away. The reason is that I don’t want to star an email or move it to my todo list. I’ll be harder to come back to it. I’m already in the context by reading it, so I will benefit from not having a context switch. I take care of the email and the task right there.

A few words about mobile email processing. Sorry, but it’s not possible in most cases. Okay, maybe your work and life is different. Maybe all you need is your brain and a few sentences of reply in most of the cases. My work and life require me to have at my disposal developer tools, writing and publishing apps, calendar, word processor, etc. Therefore, I never process emails on my phone. Yes, I still do have the app to get some useful information like a travel itinerary but that’s it. Whatever time is gained by me filtering out quick responses and dealing with them at a Starbucks line is lost by the cognitive load of task switching and open loops of myriads of unfinished tasks marked by stars, flags and (worse) unread to move it back to inbox.

Human brains are wired for novelty so we see the thrill of new urgent emails and avoid non-urgent or boring. Casinos exploit this trait in their slot machines. Email apps and slot machine even have the same motion downwards: scroll down the inbox and pull down a lever.

It take longer to process emails than to check them once. However, processing is faster than checking emails over and over, and then one more time when you doing the task asked in the email. That’s what usually happens. All those unclosed loops overwhelm us. Argh.

Liberate yourself. Start processing instead of checking. I process my personal emails only once a day or ever every other day when I’m traveling. I love it.

December 16, 2016

Barbel Theory Applied to a Career in Tech

After reading Nassim Taleb’s great book Antifragile, I saw how one can apply the barbell theory, which he described in the book, to building a career in tech:

  • Focus 80-90% of fundamentals like algorithms, data structures, specifications (W3C), standards (ECMAScript), etc.: These concepts are less prone to changes.
  • Focus 10-20% on riskier but more promising new things which haven’t even been discovered by early adopters let alone the early majority.
  • Focus 0 on stuff in the middle

If your bet on 20% of the riskier stuff is correct, you’ll be ahead of the Rogers’ bell curve. If not, then you are still safe with your 80% in the fundamentals. Maybe you even learned something like a special pattern which can be applied to another concept or language in the future. For example, functional programming.

In my career, I followed the Barbell Theory without knowing about it. I got bachelors and masters degrees, the safest bet one can make. Then I focused on web development which is NOT very exciting but very ubiquitous and always in demand. That’s my 80%.

Then, I branched out into Node.js which was very controversial in 2011-2012. Node.js is mainstream now. Also, I started writing books which is one of the most riskier activities to do (high chance of failure).

In his book Quitter, Jon Acuff starts the narrative with advice NOT to quit a job. I agree with him 150%. It’s way better and easier to take long-term riskier and more impactful bets when you have your steady base. Your 80%. I did my writing while still holding a full-time job. That’s barbell again. Moreover, teaching in-person and online, working full-time job, and writing fed one of another. Writing and teaching made me a better developer and vice versa.

So start a project on a weekend. Pick up a new language and read learn it over the holidays. If there’s a book on the language or framework—it’s too late. IGNORE the stuff in the middle. Ignore the noise, but know about the trends, and see a big one you can jump on while still standing on a solid ground. That’s the barbell theory in action.

December 13, 2016

Escapism: Stop Wasting Time and Distracting Yourself with Traveling

A lot of people are brainwashed into spending their hard-earned money into enduring stresses of traveling and adjusting to new places for subpar experiences. They even say: Work hard, play hard. Why?! Because resorts need to make money. Seriously, most people prefer the escapism and procrastination. Is it really worth it?

Let’s be honest, if you are a tourist, it’s harder to find good (price/value) food, gym, entertainment comparing to when you are local. There are even guide on how to travel like a local because traveling like a tourist gives people subpar and overpriced experiences. Also, traveling is a dangerous, time consuming stressful hassle.

To sum up:

  1. You waste time waiting in lines and for transportation (procrastination!)
  2. You risk germs, terrorist attacks, malfunctions, criminals
  3. You spend more on worst food/lodging/etc.
  4. You have to use slower internet
  5. You risk comparing and keeping up with the Joneses (distractions!)

Travel for business is okay, but only if any other means like Skype won’t cut it. Most of the times, video and voice calls will do it! Think clearly if this urge is an urge to escape the difficulties instead of facing them. Procrastinating instead of solving problems. If you need some rest, then consider a staycation—you won’t need to pay extra and risk a bad experience. You can find more piece and calm closer to you. Maybe go to a spa or on a hike. No need to fly to Cancun or Las Vegas and end up even more tired.

December 13, 2016

Why Liking to Travel and Enjoying the Journey is Stupid

Every time someone says: “I like traveling”, I know they are lying. Typically these people don’t travel much, or they foolishly think living in a foreign country for more than few weeks is traveling (hint: it’s called living in a country, if you stay there more than 3-4 weeks)… or they are plain simple masochists.

“Enjoy the journey, not the destination” is a bunch of crap. People who say enjoy the journey and the destination are CONFUSED. I want the destination. I like the destination. I need the destination. I like to have a walk the streets of Paris, or a cup of coffee in Plaza Vieja in Habana, or soak in blue lagoon in Reykjavik or eat pig knuckle in Prague. Why should I enjoy the commute to the airport, going thru security lines, sitting in closed spaced with stranger and all other troubles of traveling?

Let’s call things properly. Traveling is not being at a place and experiencing good things. Screw the journey. Enjoy the destination!

December 02, 2016

Small Stuff

Are you worried about small stuff and losing the big picture? Some people worry about whether they should cut down on coffee, walk more, eat less carbs, get more Starbucks reward and credit card miles, watch the latest TV show, or who said what on social media. All this B.S. Just thinking about these things makes me tired. Most of the time they worry about small stuff. That’s a great way to lose focus.

Why do they do it? To stay in the comfortable, but average mediocrity. To procrastinate. To avoid doing the big scary stuff.

Keep your eyes on the big goal. Put reminders everywhere. Stay laser focused. Do the most important scary thing first in the day, and the small stuff won’t matter that much.