When you look at things with a glass-half-full mindset, it can lift your spirits. Suddenly, even a rainy day has a silver lining.