When action is needed, optimism, even of the mildly delusional variety, may be a good thing.
Daniel KahnemanEstablish a closing ritual. Know when to stop working. Try to end each work day the same way, too. Straighten up your desk. Back up your computer. Make a list of what you need to do tomorrow.
Daniel Kahneman