For me, the single most difficult thing to regulate is my focus. I'm beginning to suspect that, after my head injury in high school, I may have picked up a shard of ADD, or at least something functionally resembling it, along with the other new challenges. As soon as a random thought appears in my mind, I feel immediately compelled to follow up on it.
I've isolated a few major focus leeches that suck up my productivity during work hours:
Infinitely distracting sites, such as social media: for me, that's Twitter, YouTube, and GoComics.
Random IRC discussions that have nothing to do with anything.
Trivia dives: reading plot notes for various films and books, learning who invented marbles, or finding the GNP of Brazil.
Controlling these distractions is an ongoing uphill battle for me, but I have found a few tactics which help keep these in check. The trick, and perhaps a good personal goal for 2018, is implementing them.
The first step is also the easiest: making it difficult to access timesinks. For me, this means installing distraction blocking plugins (Leechblock NG on Firefox, and Stayfocusd on Chrome-based browsers).
Both plugins allow me to set specific blocking hours and time limits on sites, and even subsites, that are distracting to me during work hours. Twitter, YouTube, and all of my favorite comics go on this list.
The catch, of course, is that I sometimes need Twitter and YouTube from a professional standpoint. This is why it's important that I have time limits, giving me 15 minutes in total across all blacklisted sites during work hours.
I also only block YouTube URLs containing
/watch/, thereby allowing me unlimited access to my own control panels, as well as the search index itself (for finding links for other people). On Twitter, I've similarly whitelisted the
api. subdomain, since I need this for IT work.
I do have other ways of accessing any site. Technically, between my two main browsers (Firefox and Vivaldi), I have a total of 30 minutes. I can also access freely via Chromium or Opera, which I retain for webmastering work, or through Tor. However, I find that these alternative routes don't harm this strategy for me personally:
I don't consider deliberately bypassing my distraction filters to be a viable option. It feels like cheating and lying to myself.
I never login to anything on Chromium, Opera, or Tor, thereby still blocking social media.
I've found my self-control is at least decent enough to not cheat. This is also why I leave Leechblock's controls unlocked, in case I need to tighten controls or fix a mistake.
Distraction blockers are also helpful for me in that, when I really need to focus, I just engage "nuclear mode" on both, immediately blocking everything in my blacklist.
Unfortunately, there are things I cannot add to my blacklists. For work, I often require unlimited access to sites like Wikipedia, CodinGame, StackOverflow, and dev.to(). Of those, Wikipedia is the worst offender, fueling many a "trivia dive".
Similarly, those necessary 15 minutes of access to my blacklisted sites can even become a springboard for distraction. Twitter is a veritable rainforest of distracting off-links. I cannot reasonably check the box to block "outlinks" from blacklisted sites, because sometimes I use Twitter to find a link I need for work!
The solution to this conundrum proved quite simple. I had to renovate my bookmarks. Everyone's bookmarking habit is different. Some people leave tabs open, others curate lists on Pocket or their sidebar. For me, I use the bookmarks bar, omitting most works and just relying on website icons and Unicode symbols.
Take a look at my Vivaldi bookmarks bar. (By habit, I use Firefox when working.)
Last month, when I habitually clicked on Twitter for what much have been the twentieth time in one day, and reached the same "site blocked" page I'd already hit countless times before, I realized my problem: my distractions were too visually available. Every time I felt aimless when bringing up a new tab, I'd click on something towards the middle, and that was usually Twitter.
If it wasn't Twitter, it was any of the other dozen or so focus leeches I'd pinned to my bookmarks bar. (That smiley-face folder is my list of bookmarked comics, also a major clickhole for me.)
So, when I set up Firefox Quantum for a new work year, I decided to limit what bookmarks I'd bring over.
I now find that I access Twitter deliberately only, maybe two or three times a day. Instead of clicking the bookmark, I have to actually start typing in "twitter.com", and that extra effort lengthens my Moment of Choice: I often stop myself and ask, "why am I walking into a known distraction?"
Also, note what is on that trimmed down bookmarks bar: only things for work! DuckDuckGo, Archive.org, StackOverflow, CPlusPlus.com, dev.to(), GitHub, Authorea, our company work websites, and then my folders of Things To Process (!!!), documentation, and tools. I have cut out all games, all social media, and anything else that might distract me during work.
Yes, I still leave these things in place on Vivaldi, which is basically my "recreational" browser. I may trim it down later, or I might not. By habit, I don't use Vivaldi during work hours, unless a technological need calls for it.
I do not own a smartphone anymore. I did once, and it sucked up a LOT of my attention. There were a few techniques that I had to use to keep it under control:
If I didn't need to take calls or texts, I turned off the smartphone and put it away.
As much as I loved Angry Birds, I actually removed it and many other games for a time. I did keep a couple of games around, such as Angry Birds Go!, because the microtransactions blocked me from playing after a certain amount of time or lives.
I removed social media apps from my home screen. The effort of finding the icon increased my moment of choice, just like with the bookmarks. I even uninstalled YouTube altogether.
While I never did this personally, if you find yourself getting distracted on your phone a lot and you can't put it away, consider purchasing and installing a distraction blocker such as Freedom.
This still leaves a few focus leeches in place: StackOverflow and dev.to especially. I need these for work, but I also lose a lot of time browsing them.
Besides this, I have IRC to contend with. I live, play, and work on IRC. It is as vital to my workflow as coffee. Disconnecting simply isn't an option.
To keep myself on task, I have to use a more positive approach: remind myself of work. For me, this takes the form of Hamster, a desktop time tracking tool which can also periodically flash a notification reminding me of my current task.
I find that, when Hamster is running, I am at least twice as focused. If I find myself drawn into a scintillating IRC conversation, or reading one-too-many dev.to() articles, the timely "You're working on code" notification brings me back to earth.
Perhaps the most insidious focus leech is my vicious Curiosity. Just when I get flow, it'll sneak up behind me and demand to know how many companions Doctor Who had, and it won't rest until satisfied. I call these "trivia dives" because they never stop with one question. A mention of Donna will lead to my wanting to rewatch that epic time she beat the Daleks, and that will lead to curiosity about when the Daleks first appear, and that'll lead into wondering what other famous roles were performed the original actor playing Davros...........
(It doesn't help that I have two ways of accessing YouTube, and no way to plug that gap. I'm not describing the other method, lest I lead others astray.)
I can't really get rid of that Curiosity. It's part of who I am, and one of the driving forces behind my career progression. Instead, I have to control it.
One of the most effective, if personally underused, ways of doing this is to keep a notebook handy. Whenever my Curiosity demands to know how large the biggest Amazonian spider is, I can jot a note to look up the fact later.
I also have specific times that are free for me to exercise that ravenous Curiosity. This is one reason why I get up at 6 AM every weekday. I find that if I get it out of my system before starting work, the Curiosity has something to chew on throughout the day.
To put it another way, having a Curiosity such as mine is like owning a very large husky. The only way to keep it from destroying your house when you're at work is to ensure it gets plenty of exercise, and that you leave it with things to play with. You can't suppress the energy of a husky, you can only redirect it.
I find I cannot focus if I don't know what I'm working on in advance, the time spent trying to remember (or think of) what to work on is a prime opportunity for focus leeches to move in.
At the start of the week, I like to write down everything I want to get done that week. Then, every morning (or the night before), I set specific goals for the day. I actually write down more things than I know I'll achieve, so if something doesn't take long to complete, I have no shortage of other things to work on.
Obviously, the exact nature of my focus issues are unique to me. However, this is something many of us struggle with to varying degrees. Here's my tips again, in a more generic form.
Identify unproductive distractions, and cut back on them using distraction blocker tools. Customize their strictness as necessary for your level of self-control. However, be careful not to lock yourself out of things you need for work!
Configure your bookmarks, icons, and shortcuts to increase the time it takes to start something distracting. It's all about increasing your Moment of Choice.
Mobile devices are major enemies of focus. Employ the other tactics on your devices, and unplug whenever you can.
Set positive reminders about what you're working on, to snap you out of distractions. You might use time tracking tools, alarms, or even typing break reminders - whatever will frequently remind you you're working.
Tame your Curiosity. Write down things to look up later, and set times to take your inquiring mind for a "run".
Plan your workday in advance. Don't give yourself opportunities to not know what you're doing, because that's a prime opportunity for focus leeches.
This series of posts document a high-level process to use when planning a modern web application, from project organization, collaboration considerations and tooling choices during development, all the way through deployment and performance strategies.