Danny
Programmer | Moderator
So a slightly misleading topic title 
No I am not asking how to code an application to turn off your computer at a set time at night
As a programmer, I code all day then when the time comes I go to bed. The problem is I just cannot shut off my brain. I always think about algorithms and bugs when I hit the hay, and rarely sleep as a result.
It's not always a bad thing as I usually get up the next day using what I thought about while trying to sleep and fix any bugs i have, however, it is deeply frustrating.
How do you guys switch your brain off at night, and leave programming until you awake?
This is a serious thread, this has affected me for years.
No I am not asking how to code an application to turn off your computer at a set time at night
As a programmer, I code all day then when the time comes I go to bed. The problem is I just cannot shut off my brain. I always think about algorithms and bugs when I hit the hay, and rarely sleep as a result.
It's not always a bad thing as I usually get up the next day using what I thought about while trying to sleep and fix any bugs i have, however, it is deeply frustrating.
How do you guys switch your brain off at night, and leave programming until you awake?
This is a serious thread, this has affected me for years.