If I roll out of bed and open reddit or facebook first thing in the morning, I feel like I am priming my mind for failure. Lately I have been trying to read more enriching material in the morning, and slowly move into less useful material as the day goes on. For example, I usually wake up and have my first coffee while reading HN and WSJ. Mid morning break I may read a chapter of whatever non-fiction book I am currently working on. Lunch may be Ars, TC, or hackaday. And finally in the evening I will start moving towards reddit, facebook, etc.
Maybe there are more disciplined people out there that can completely avoid non-enriching material, but for some reason I can't shake it. I can however move it to the least productive part of my day, and I generally feel better for it.