What makes us feel good about our work?

Interesting TED talk from Dan Ariely, backed with some intriguing experiments. His book, Predictably Irrational, is well worth reading.