How to get along with your professor