News for hackers. Stuff that matters.
Re:Ask HN: Why does writing code physically hurt my brain? by valand on Saturday September 28, 2019 @01:02PM (#21101454)
Here are what might help you through the pain:

Treat mistakes as learning process

Treat errors as a tool

Treat difficult workmates and bosses as children

Treat scripts as writing stories for computers in different language.

If it affects you physically, it may be stress. Try to think that the whole process, whether it results in a good thing or a bad thing, is actually a progress.

There are indeed some frustrating part in scripting, unclear library docs, no static typings, slow feedback loops.

Keep in mind your end goal, being sysadmin right now is where you are and maybe a stepping stone. Do it one by one. Take a step back, calm yourself, see what's around you and take some steps to easen the pain and achieve your goal, whatever that is.

Re:Ask HN: Why does writing code physically hurt my brain? by HNUser34159 on Saturday September 28, 2019 @03:31PM (#21102375)
The goal is to stay gainfully employed without having a stroke.
Re:Ask HN: Why does writing code physically hurt my brain? by valand on Saturday September 28, 2019 @09:52PM (#21104478)
:D that's a start.

I used to have the same problem, but not when writing codes.

I love writing codes, and someday I was put in a lead/management position and the context switching between having to solve technical and managerial was giving me pain.

Then I allowed myself to make some mistake. Giving myself a sandbox to play in. That really helps.

Re:Ask HN: Why does writing code physically hurt my brain? by HNUser34159 on Saturday September 28, 2019 @10:10PM (#21104539)
At this point I'd trade having to manage over having to code.

Totally agree about context switching. I'm pretty much worthless at it.

Re:Ask HN: Why does writing code physically hurt my brain? by valand on Sunday September 29, 2019 @01:30AM (#21105285)
Keep living mate. Cheers