A must read, by Richard Hamming, back in 1986. Some obvious and yet underestimated attitudes, like keeping the door of your office open, changing the topics of your research regularly, and thinking seriously about the choice of the topics and their relative importance. See also for instance “How to choose a good scientific problem“.