I was a network engineer and would do the same, can't place the exact reason why, but today i am a python programmer doing network automation. I do think HN had a major part to play in this change
its an everyday struggle, but noting down the things which i am thankful for, such as wife, kid, some particular incident which could have been much worse but ended being manageable etc. has helped me a lot. It's a slow process though.