At times this is an amazing blessing because some of the more out-of-the-box solutions get formed in these moments but more recently it's been veering into unhealthy obsessive territory (e.g. out for dinner or exercising).
Please share your experiences + any tips around striking a balance?
I don't think this is discussed often enough. The traits that make for the best infosec professional are the same traits that make for the worst spouse. And that's before even considering the tendency to "over analyze" that comes with the baseline analytical mind required for any engineering profession.
So how to manage it? Well, I'm not sure you can really turn it off. But you can be aware of it. Remain cognizant of your own biases, and redirect some of that analytical energy into introspecting and analyzing yourself, before you take it out on someone else. But don't take it too far - sometimes your gut instinct is right; maybe she really is cheating on you, maybe you're not just crazy. But take a second to think about it. And make sure to communicate your biases to anyone whom they might affect, so that they're prepared to recognize when they emerge - that's when a good partner will sympathize and bring you back to earth, and a bad partner will take it personally and exacerbate the situation.
An innate draw to perfectionism becomes the engineer's plauge. The notion that we can approach a quality in our craft compels us, stirs us and drives us, pulls us to an ideal we never quite seem to reach. This plauge promotes paranoia, large egos, self doubt, loathing, fear, complexities and difficulties in our relationships, in our selves.
One day, about 8 years ago, on a trip to The Island of Hawaiʻi, a day tour around the island brought with it a brief stop to see some giant ocean turtles, laying eggs upon the shore. Before we were released from the bus, the tour guide emphatically begged us, striving for a personal connection, to please, please leave the turtles alone. And then, as though I was watching the birth of conceptual inevitability, I watched happy couple after happy couple, smuggling turtle eggs for digital photos. Most were placed back, a few were broken, yolks dripping into the water and rocks and a quick shriek turned to laughter.
I felt free. I felt a freedom from responsibility, as the expanse of the loss of control I have finally came from its spectre and showed me the infinite boundary of what I cannot control. This freedom was not joy. It is not joy. It is the cold comfort of certainty, the icy maw that I cannot escape from with more than a few variables of integers at a time, and to simply allow myself to be the briefest of willful rejections amongst it.
And so that's how I turn off at night. I know that if I disappeared into the static between clouds, this would all go just about as well, or poorly, and that I am not going to save the world if I just push git commits fast enough.
And why do those traits not also make you the worst employee?
* Vigorous exercise, especially cardio - ok to let your mind wander here but wary of mentally exerting yourself
* end of day writing down everything you need to do and what you have learnt
* if you have extra learning/coding side projects, do it only at the office after work but before you go home so that home is a work free zone
* have a threshold routine when you get home, e.g. change clothes or have a shower, after which you don’t think about work anymore
* controversial one but minimise talking about work with family - obviously share the nice things about your day but I pretty much avoid grumbling about work or specific stresses at work with family as it means you never get a rest from them
* consume media unrelated to work (don’t read hacker news before bed if you’re a software developer lol)
* some people meditate, never clicked for me but it’s meant to be very good
* work yourself to death when you are working so that you can properly relax guilt free when you’re not working. Honestly WFH makes a lot of these more difficult.
Do something that takes a good amount of concentration/coordination physically, so there's no way to think about work.
Ex: go to the gym, change, circuit train and focus on good form, breathing.
Make it a routine, so that the motivation barrier won't stop you from going.
I got into a habit of writing down things that required continued work next day, at the end of my workday. Initially I started doing this because it would take too long to get back into the depth needed to be productive especially after a long weekend or context switching for a day or two due to something time critical. The most effective form of "state dump" being specifically what is the next thing I need to immediately work on given next opportunity.
Overtime I realized, this "checkpoint" allowed me naturally to evaluate how much time and energy I spent on something and be specific about the next thing that would move me towards the outcome I wanted. This focus would:
1/ put my mind at ease, because I know what's important was written down and I don't need to spend mental energy keeping the state alive in my mind.
2/ It would direct my thinking towards what is important to do next time around rather than thinking of interesting but nuanced thing that are actually low value in grand scheme of things.
3/ Often, narrowing down what's the next thing I need to do meant I had a solution next morning and would often experience high productivity in first few hours of the day.
ymmv.
If you continue to think about the problem space during that ‘off time’ (which you likely will) add the thought to some notes for review when you return.
During out for dinner: Alone of with someone? When you are with other people the UI/UX is important and must be responsive. Remember to switch off as many side process as possible.
If I'm thinking about a hobby problem, then I don't sweat over it, unless of course it's eating into some other aspect of my life (friends, outdoor activities, etc).
Billing for thinking - in my experience this is how some of the best people work. But you have to be careful in management conversations around it. :)
- I finish these working hours every day with an activity that stimulates me and/or requires concentration. Usually this involves getting outdoors where there's a lot more sensory input to process. A walk around the park is usually good enough!
- I don't expose myself to anything work related outside my working hours. I don't have work related apps on my phone and I use a separate work profile on my laptop.
I work remotely so these rules are doubly important for me, where I don't have the luxury of being able to leave the office.
As others have mentioned, meditation may help too. It'll help you learn how to let thoughts go without obsessing. So, everytime you catch yourself following down the programming thought path you need tell yourself "HEY, it's time to turn my attention elsewhere". Just like physical exercise you'll build the brain pathways to do this more easily the more you practice.
Lastly, maybe you just need to take some time off. I find if I'm gone from work for a few days all that stuff fades away while I'm doing other things.
I would add that getting out into nature can be really helpful as well. If you're in an urban situation a walk in the park or near some water is good.
Exploring art like with physical drawing or painting can be good too. Or sculpting if that turns you on.
I think it's really important as part of this to get out of the "productivity mindset" - so go for a walk/run/bike ride/whatever and don't try to get a "two-fer." So don't listen to a podcast or audiobook while you're exercising or walking. Really try to dial down all the mental input as much as possible. You don't have to do this all the time but at least a few times a week can really help.
Second this, I am a city dweller, but I found myself next to forests in central Europe, and it's absolutely incredible.
I know this is probably not the answer you wanted to hear. But reducing my work hours to 30h/week has been the single biggest improvement to quality of life that I've ever made. I've never questioned if it's worth the money.
It’s really a little thing, but maintaining separation between workplace and home and trying to minimize that overlap works well for me
Outside of that, I engage with flow arts (specifically poi spinning) to get out of my head. The reason it works for me is because the moves require an absurd amount of bodily concentration which forces my brain to disengage. Later, as a trick becomes rote and requires less physical concentration, I find that the hours I spent practicing resulted in habituation wherein I drop out of my "thinking mind" whenever I pick up my props - even if the tricks I'm doing are easy enough.
But I still have automatically jumped into logically dissecting the problem and looking for edge cases and mulling over the logic of the problem. And trying to get the basic problem, to find the perfect solution. Needlessly.
Stepping down a gear to just doing things because there's a reason for it has been helpful. Letting the logic and rhetoric part my mind relax / let go / go blank helps.
It feels like I'm not doing the random chore correctly (for like a split second), but it's better to just chill on a little faith than spin mental gears pointlessly.
Well, recently my headaches and itches have gotten worse. I feel that it's tied to my anxiety. I've had success showing myself that it's not 100% natural to think or obsess as much as I do, and there's a certain level of acceptance/trust/love that I didn't have in my life. That is helping me dramatically.
So, yea, music can induce mood changes. I'm not necessarily saying you should create a playlist where you feel like you're losing 20 IQ points, but experiment with music! :D