According to the New York Times, recent studies show that people solve puzzles better when they are in a good mood.
Here's the article,
Tracing the Spark of Creative Problem-Solving, and don't skip the interactive feature:
Test your insight.
hf = gg

Patience, grasshopper.