If you are a student you should always get a good night’s sleep, unless you have come to the good part of your book, and then you should stay up all night and let your schoolwork fall by the wayside, a phrase which here means ‘flunk’.