Wed, 11 Mar 2015 Comment by zem on Hacker News: What should I do if I feel depressed in my job? the main idea is, do not tie your identity or sense of self-worth to your job. be very clear that your job is what you do to get enough money to support your "real" life, and concentrate on making the rest of your time enjoyable. the side project is a good start, but also exercise more, take up some non-tech-related hobby (maybe one you can share with your wife), take short courses in random, interesting skills (e.g. cooking), develop an active community of friends (host dinners, board game nights, regular "check out a new restaurant" outings, walking tours of interesting neighbourhoods, etc.)
Source: news.ycombinator.com