[HN Gopher] Ask HN: Turning off the programming mind during non-...
___________________________________________________________________
Ask HN: Turning off the programming mind during non-work hours
I have this habit which I'm sure many other dev have of thinking
through programming problems during routine moments throughout the
day. 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?
Author : tennisprince
Score : 24 points
Date : 2023-09-11 08:56 UTC (13 hours ago)
| wsowsowso wrote:
| Hey I'm in trading - Often we go home with millions of dollars of
| risk on our books after 12hours at the office, so it's a common
| problem switching off in the little time after work. Most of us
| feel the need to constantly be up to date with market news/price
| movements/thinking about how to best position ourselves around a
| certain event. Within the industry there are well known ways for
| switching off out of work, some have been listed here already.
|
| * 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.
| beezlewax wrote:
| I can't see how working from home could effect anything here. I
| have a work laptop that I close when work hours are up.
| bfung wrote:
| > Vigorous exercise ... threshold routine ... change clothes
|
| 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.
| oneepic wrote:
| I didn't see other responses like mine, so I wanted to share that
| "why" was really important for me, not just how. I was afraid of
| disconnecting, and I wanted a really good reason.
|
| 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.
| unsated wrote:
| I found "dumping/serializing state" greatly helped me.
|
| 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.
| renjimen wrote:
| - I set strict working hours where I allow myself to think about
| work things.
|
| - 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.
| austin-cheney wrote:
| I solve my toughest programming problems during my cool down walk
| after a long run. This is a blessing, because the time is spent
| regardless.
| satya71 wrote:
| Meditation should help with this. After all, it's about
| practicing to calm and focus the mind one thing only.
| javajosh wrote:
| A solid 90% of mental health issues stem from the inability to
| choose where to place your attention. The only activity that I
| know of that teaches this important ability is meditation. And
| the only place I know of that teaches it well are the Vipassana
| 10-day retreats (dhamma.org). They help you by taking away all
| distraction, giving you a safe, quiet place to practice, and all
| the encouragement in the world.
| cloogshicer wrote:
| For me personally, the only solution was to work less.
|
| 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.
| hyggetrold wrote:
| In my experience the ability to "turn it off" is a skill that
| requires practice. This thread already has some good suggestions:
| exercise, meditation, writing a note to yourself, etc.
|
| 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.
| PartiallyTyped wrote:
| > I would add that getting out into nature can be really
| helpful as well.
|
| Second this, I am a city dweller, but I found myself next to
| forests in central Europe, and it's absolutely incredible.
| [deleted]
| kdmccormick wrote:
| If I'm thinking about a work problem, I count it towards my 40
| hrs/wk of allocated work time.
|
| 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).
| hyggetrold wrote:
| _> If I 'm thinking about a work problem, I count it towards my
| 40 hrs/wk of allocated work time._
|
| 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. :)
| mooreds wrote:
| If I have a burning thought about something work related, I'll
| send myself an email to review the next working day.
| night-rider wrote:
| https://practicalpie.com/the-tetris-effect/
|
| https://exploringyourmind.com/tetris-effect/
| barrysteve wrote:
| Often something in life needs doing for a good reason, and
| there's not really much to logically parse.
|
| 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.
| TechBro8615 wrote:
| Personally, the worst impact of "bringing my work home with me"
| has been when I'm spending time adjacent to infosec or
| pentesting. That's a discipline that requires cynicism (engineers
| are incompetent, can't protect their systems), paranoia (everyone
| is constantly trying to hack your vulnerable systems) and
| distrust (any user input could contain a malicious payload).
| Unsurprisingly, these are _not_ the ideal qualities for fostering
| strong relationships, especially with a new partner or anyone you
| met recently.
|
| 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.
| Justsignedup wrote:
| Spouse needs to be well aware of it. My current spouse fully
| understands that the same thing that makes me successful is
| also something incredibly annoying that she needs to pull me
| out of occasionally. Sometimes the person just needs to remind
| you of what's important, and your brain can snap to a different
| mode of operating. Sometimes it is just gonna be a point of
| contention.
| xk_id wrote:
| i think the fact you are even thinking in terms of an on/off
| switch suggests you are far from your goal. the brain is not a
| computer [1]. yet, you projected on it machine characteristics:
| such as step transitions between states. rather, the biology of
| brain states is more similar to that of exercise biology: when
| you finished running, your heart rate, body temperature and
| _numerous other adaptations_ stay elevated. in fact, metabolic
| rate stays elevated above sedentary baseline throughout the rest
| of the day (which constitutes a benefit). likewise, it 's
| unrealistic to expect a discrete switch from on to off of
| "programmer mind" adaptations. there are many good suggestions in
| the comments for speeding up the transition, but i thought i
| would mention this biological context. it's completely normal to
| struggle with reverberations of the activity which occupied most
| of your day. above all it takes patience for them to fade away.
|
| [1] https://news.ycombinator.com/item?id=37426601
| sys_64738 wrote:
| The method I use is to always leave when you've solved the
| problem for the day. Don't start another afterwards.
| costanzaDynasty wrote:
| Ive had mostly terrible jobs before I got into programming and I
| learned to leave work at work. At my last job(non-tech) I got so
| good that the second I drove out of the parking lot I forgot I
| had even worked. I also exercise after work and it really helps
| kill negative energy.
| lagrange77 wrote:
| Of course it shouldn't get obsessive, but i let my brain do it's
| thing in that context.
| SeanAnderson wrote:
| Meditation sounds like a good solution. I suggest Ten Percent
| Happier. The CEO at my last company recc'ed it to me and I've
| found it to be quite good. It's a paid subscription, though.
|
| 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.
| gus_massa wrote:
| During exercising: I don't mind if it's not dangerous. For
| example, when you are biking IRL and get distracted. A fixed bike
| is nice for thinking. On the other hand, I can't think while
| swimming, so it may be an option to 100% disconnect.
|
| 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.
| DrThunder wrote:
| Try a type of exercise that gets you out of your head. Jogging
| isn't going to cut it unless you're sprinting ridiculously hard.
| For me, it's heavy weights or technical mountain biking. For
| mountain biking I really cannot take my focus off the trail or it
| could mean a really bad wreck. Of course, if I don't change up
| the trails enough my mind can even wander during that.
|
| 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.
| nickdnickd wrote:
| Agreed, Crossfit has been remarkably helpful for this. It's a
| group setting combined with movements that require focus on
| strength, coordination, and socializing.
| cryptoboy2283 wrote:
| Kids?
___________________________________________________________________
(page generated 2023-09-11 22:01 UTC)