Being at the computer would not help you sleep, it would distract you from sleep even more. I know because I have pulled many all nighters!