This is a funny area. I feel quite confident giving prescriptive advice about strategies for software development, but not so much about strategies for dealing with psychological issues like depression and helplessness.
What I can do is share my own experience, and tell you where to find the resources that helped me. Thus... I would say that if anything in the post feels like something that is bothering you or has bothered you in the past, go and read about Learned Optimism, the rough opposite of Learned Helplessness:
https://en.wikipedia.org/wiki/Learned_optimism
And especially Seligman’s self-help book on the subject: http://amzn.to/1zFQXcr
The book claims that “optimism” can be measured, and that there are strategies for improving it, and discusses those strategies. I personally found that they did help me, and further that Cognitive Behavioural Therapy (CBT) under the supervision of a professional helped me even more.
I also wrote a post directly about Optimism a while back, it outlines Seligman’s strategies:
http://braythwayt.com/homoiconic/2009/05/01/optimism.html
There was lively HN discussion at the time, you may find it informative:
Go backpack the world a bit - beaches trekking etc. Amazing how stuff like that can change your mood.
Drugs - go to your GP - he'll give you pills - may work.
Check out Seligman / CBT. Helped me. See http://www.amazon.co.uk/Learned-Optimism-Change-Your-Mind/dp...
[1] http://www.amazon.com/Learned-Optimism-Change-Your-Mind/dp/1...
[2] http://www.amazon.com/The-Optimistic-Child-Depression-Resili...
A good start might be with the book "Learned Optimism" from Martin Seligman — http://www.amazon.com/Learned-Optimism-Change-Your-Mind/dp/0....
He argues that most depression is just severe learned helplessness caused by your own pessimistic inner explanations of why events happened. He makes a good case for it & suggests techniques to build better explanatory habits. I haven't finished the book yet but so far it's quite compelling.
If you're more interested in how negativity and pessimism have measurable effects on success, I suggest reading Martin Seligman's Learned Optimism. I found it pretty eye opening.
http://www.amazon.com/Learned-Optimism-Change-Your-Mind/dp/1...
The generic, feel-good ones, sure, those are trash that usually doesn't work (they still might work given the specific situation).
The well researched, written by scientists and psychologists - I found a few that I love. In fact I'm going to buy ten pieces of one book for this Christmas because I have found it crucial.
These are the three well researched books I've read in the past 18 months that turned my life around for the better and that I heartily recommend:
[1] The Promise of Sleep
[2] Self-theories: Their Role in Motivation, Personality, and Development
[3] Learned Optimism (that's the one I'm buying ten times for this year's Christmas)
The one recommended in the article, 59 Seconds, is waiting on a pile of books (not exclusively from the self-help category, with The Algorithm Design Manual, Street Smarts, Architecture of Open Source Applications, Learn You a Haskell etc.) to be read soon.
Let's read, think and become better people.
[1] http://www.amazon.com/Promise-Sleep-Medicine-Connection-Happ...
[2] http://www.amazon.com/Self-theories-Motivation-Personality-D...
[3] http://www.amazon.com/Learned-Optimism-Change-Your-Mind/dp/1...
http://www.amazon.com/Learned-Optimism-Change-Your-Mind/dp/0...
Seriously. Seligman wrote a great book on the subject: http://www.amazon.com/Learned-Optimism-Change-Your-Mind/dp/0...
I've also recently learned that Coursera has a Foundations of Positive Psychology Specialization [2] put on by UPenn (where Seligman is a professor) -- it includes a course on Positive Psychology taught by Selgiman.
[1.] Learned Optimism: How to Change Your Mind and Your Life - https://www.amazon.com/Learned-Optimism-Change-Your-Mind/dp/...
[2.] Coursera Specialization: https://www.coursera.org/specializations/positivepsychology#...