Late night tinkering is bad for your health.