If you are at the end of a hard day's work, struggling with a tough problem and making no progress at all, even regressing at some points, take solace in this: you still did a lot more for the world than the guys at Lodsys
Edit: A bit unfair and stereo-typing.. I'm sure there are good people working at Lodsys that got sucked in...