<story><title>The Effect of Sleep on Happiness</title><url>https://www.trackinghappiness.com/effect-sleep-happiness/</url></story><parent_chain><item><author>1996</author><text>I sleep 10 to 11h per night. I may trim that to 6h one day but no more than once per month and if there is an absolute emergency - but then I know my productivity will be killed for at least 2 days.&lt;p&gt;OTOH, my inspiration will be higher: I will have more creative ideas on how to combine stuff, but I will be too tired to do any of that. I will just take notes.&lt;p&gt;With adequate sleep, I do not feel happier or sadder than anyone else. I feel more productive however. Sunday I had never done any python because I preferred perl, but for some specific task there was no option but a python library (well, it was also possible in another language I don&amp;#x27;t like either)&lt;p&gt;So on Monday, I learned python, then asynchronous execution with asyncio, then parallelizing with joblib. Tuesday, I coded.&lt;p&gt;Today I have a python3 daemon with error handling and other niceties ready to be deployed to test. It seems robust enough to require minimal oversight by systemd.&lt;p&gt;In any case, it will be deployed on all POPs and in production on Friday - even if I must have a bad night. But that means I will not do much next day. But that means I will have other creative ideas!</text></item></parent_chain><comment><author>sbinthree</author><text>I had a nice solid 9h each night until having a child. I find I am actually more creative (uninhibited) when I get less sleep. My brain is firing too hard on perfectionism when I get a good sleep, where I can be a lot more creative and free flowing when I am sleep deprived. I don&amp;#x27;t implement or debug well in that state though, so my cycle tends to involve writing the code and debugging on better sleep nights and having my ideas and catching up on admin if I have a bad sleep.</text></comment>
<story><title>The Effect of Sleep on Happiness</title><url>https://www.trackinghappiness.com/effect-sleep-happiness/</url></story><parent_chain><item><author>1996</author><text>I sleep 10 to 11h per night. I may trim that to 6h one day but no more than once per month and if there is an absolute emergency - but then I know my productivity will be killed for at least 2 days.&lt;p&gt;OTOH, my inspiration will be higher: I will have more creative ideas on how to combine stuff, but I will be too tired to do any of that. I will just take notes.&lt;p&gt;With adequate sleep, I do not feel happier or sadder than anyone else. I feel more productive however. Sunday I had never done any python because I preferred perl, but for some specific task there was no option but a python library (well, it was also possible in another language I don&amp;#x27;t like either)&lt;p&gt;So on Monday, I learned python, then asynchronous execution with asyncio, then parallelizing with joblib. Tuesday, I coded.&lt;p&gt;Today I have a python3 daemon with error handling and other niceties ready to be deployed to test. It seems robust enough to require minimal oversight by systemd.&lt;p&gt;In any case, it will be deployed on all POPs and in production on Friday - even if I must have a bad night. But that means I will not do much next day. But that means I will have other creative ideas!</text></item></parent_chain><comment><author>megaman22</author><text>I&amp;#x27;m jealous.  4-6 hours of sleep is a good night for me, punctuated at least once or twice a week with days I never actually get to sleep; I just sort of lay there in bed from midnight until the sun comes up again, maybe drifting to a weird loopy half-conscious state for brief periods.  The only things that can bring my sleep schedule in line with &amp;quot;normal&amp;quot; amounts is if I do hard physical labor for 8-12 hours during the day, have sex, or drink about two beers and read for a half hour before bed.  Basically this has persisted my entire life - growing up I&amp;#x27;d read half a dozen books a week at night when I was supposed to be in bed and couldn&amp;#x27;t fall asleep.&lt;p&gt;On those nights when sleep just isn&amp;#x27;t going to come, I&amp;#x27;ve given up on trying; I&amp;#x27;ll just go find something to do.  All-night programming is a pretty good fit, although I&amp;#x27;ve also spent entire nights painting and putting down flooring, or tinkering in my shop.</text></comment>