A simple and elegant solution
On a related note, here are some interesting articles.
My solution is to run away ... at least for a moment
What do you do when you hit a wall? When you found a bug and you can't figure out how to fix it. You spend hours and hours in front of the screen and nothing seems to work. Sometimes this can be the worse nightmare for a programmer and putting more hours trying to fix it won't make a difference.
You can only benefit from your own failure.
In the start up world articles that talk about failure are very inspiring. It is very hard to admit that you failed and move on. On hackernews, these post almost always make it to the front page. There are a lot of praises in the comments section and people thank the poster for being so courageous. But how useful are those articles?
The secret is, there is no secret
The secret to lose 10 pounds in a week, the secret to be more productive, the secret to appear on Google's first page, the secret to become a millionaire. I used to read those, but now they seem more like a cheap attempt to make money off of desperate people. On the web, spam site took those books and refurbished them into click bait articles who exist for the sole purpose of generating more page views and ad impressions.