Poll: What are your prime hacking hours?
I am mostly a night hacker (most productive around 10PM-2AM), but I am thinking of changing my routine.
Non-engineers too have hours in which they are most productive. Anecdotally, these hours are when they are not forced to sit comatosed in meetings or at their desks.
So, what period of day do you get the most work done?
The best most productive schedule I've ever been on usually came about around finals time in college.
I would wake up around 8AM, then fall asleep at 4PM, wake up again at 8PM and fall asleep again at 4AM. I was awake during all the necessary "business hours" to go to school, but I also had 8 uninterrupted hours in the middle of the night to study or read or whatever.
The best part was, whenever 4 came around I would get tired and fall asleep very rapidly, and snap awake fully energized at 8. Since I was never awake more than 8 hours at a stretch I was always refreshed right up to the time I would fall asleep. Meanwhile, unlike the hoax uberman or other sleep schedules, I was getting a full 8 hours of quality sleep per day, so I was never tired.
There's a few of them: 0200,0300,0500,0700,1100,1700,1900, and 2300. Of course, if you include minutes, please see the list here: http://www.wolframalpha.com/input/?i=list+of+primes+to+2400
When I used to do contracts in my 20s I would wake up at about 8pm, go out to nightclubs, not drink, come home about 3am then work on code until 11 am and then talk to clients. I would then fall asleep around noon. It was really great because I was really fresh and happy when I went out clubbing and the most annoying part of my day, talking to clients, happened when I was about to fall asleep.
I have noticed very little correlation between time of day and prime hacking hours. For me, it's whenever I can ensure a 4 hour (or more) chunk of time without meetings/interruptions, which tends to be either early in the day or late at night.
My peak is when I have to go to bed and the next day I have something very important to do, for which I have to be well-rested.
I'm a night hacker but liking the morning hacking more and more. Lately I'm exhausted by 10:30 pm, go to sleep and wake up at 5 no problem.
I get the same solitude as night time, but with a full, fresh head of energy and a clear mind. Instead of attacking my own projects with whats "left over" in the tank after a day, I get to put my most creative and best effort, first thing in the day, into my own stuff.
For those who work answer this: Do you get paid for your best and creative energy and effort every day, or more your attention to detail and reliability?
The answer to that question will help you decide where you put that best energy for best result.
Considering the similarities between hacking and writing - highly skilled, solitary, large "page size" - and I think the following excerpt could be enlightening.
From chapter 22, "Professional Writing Expertise" (Ronald T. Kellog), in the excellent Cambridge Handbook Of Expertise and Expert Performance:
...the converging point are that ... all of the idiosyncratic habits of professional writers
(1) focus attention inward by eliminating distractions,
(2) may alter consciousness to facilitate entry in a flow state, and
(3) help regulate the writer's emotional state to keep at the task.
...
Many choose to write at the same time each working day, but individuals differ from morning, afternoon, evening, late night, to early morning preferences. Work sessions of one to two hours correlate with productivity in scientific writing, but the relationship is weak (r=.22) and the variability is large, with some individuals writing four or more hours at a time. Successful poets also typically write for one or two hours, whereas most novelists typically report longer sessions of two to three or even four to six hours. Running or walking help some writers think through problems while away from the writing table. Others use meditation, coffee, cigarettes, alcohol, or other drugs to alter consciousness in the service of writing.
Now, writing isn't the same as hacking, but as a process it seems to have many things in common with hacking. I seem to remember reading somewhere (couldn't find the page) that most experts in general practise in the morning when energy is at its highest, but this doesn't seem to be the case with hacking. I found this rather curious. My guess is that the page size is typically bigger, which requires longer periods of time to enter flow, compared with say, chess, where 30 minutes is often effective. That still doesn't explain why there aren't as many novelists writing at night as there are hackers. So another, less scientifically backed up, idea is that hacking is less of an expertise and more of a "production task", meaning we often do things we already know perfectly well how to do, something that would require less energy. Computer science is an extremely new field, so it wouldn't be too surprising if we would see hackers that are experts at a whole other level 50 years hence. It could also be a cultural thing, since a lot of hackers start as teenagers when they are still in school. What are your thoughts, HN?
Anecdotally, I've heard most hackers do best at 10PM-3:00AM. I've heard of many switching to an early riser schedule after having families.
These guys go to bed early and do a 4AM wakeup to get in a couple hours of hacking prior to their families waking up. I'm considering making that switch.
I marked 10:00pm - 2:00am.
More generally, I feel sleepy all day until around 11pm, which is when I feel the most awake. I've always been this way, even as a kid before I did any programming.
At my day job, I code on a medium to large codebase with business requirements and meetings and whatnot, less of what I'd consider "hacking".
Late at night, however, that's when I become more alive and I feel like I'm hacking out things on solo projects.
I'm most productive before the deadline hour, day or night. I hope I'm not the only one..
However I voted morning; starting at 5:00AM is fun. I feel extremely positive/optimistic when I wake up, that counts for something I guess.
I get absolutely nothing done between noon and 3PM or so. I try to schedule all meetings/interactions in those hours to compensate.
I write the best code when I first wake up. Combined with the above, it means my ideal work day starts around 6AM and I can get 3 90 minute sessions in before lunch and early afternoon lethargy sets in.
10pm-2am, by far. There are so few distractions, and the entire internet goes quite. I don't get 10 new RSS items per minute anymore, people aren't @ messaging me on Twitter, tagging me on Facebook, emailing me about things, knocking on the door of my office to ask a quick question, asking me to come out for dinner, texting me a question, etc etc etc....
Hacking for over 30 years has ruined my schedule completely.
I have 3 basic schedules and often switch them in weekly random manner:
- Wake up 4am to 5am, hack 4 to 5 hours, do something outside, and go to bed early at sundown.
- Wake up 4pm to 5pm, hack through the night, and go to bed at sunrise.
- Wake up sometimes, breakfast, hack 4 to 6 hours, eat, sleep 3 to 4 hours - rinse repeat twice a day.
Interesting, Midnight to 3AM has always been a sweet spot for me.It was better before Netflix and Hulu made watching interesting TV possible at all hours and there was a natural lull as broadcasters said good bye to the late owls and waited for the early risers, but I still find just the quiet of the environment persists.
I'm a late-night hacker, but I think it's due more to a lack of distractions and a sense of true solitude than any sort of cognitive advantage granted by its placement in my sleep cycle. In fact, any serious hacking session has the unfortunate side effect of completely borking my sleep schedule for the rest of the week.
Theoretically it can be any time of day. I don't think there is a particular time at which we are most productive hackers, it's whenever the mindset is right and the circumstances work.
Most of the time I hack in the night, that's between 11PM and 3 or 4AM. But I also have my moments in the train (30 minutes trip, starting at 17:34). And once even at school (1:30PM or so), that was the best coding experience I ever had at school and also the only time I hacked together with someone in real life.
There isn't really anything that keeps you from hacking at any particular time of day I think, to me there seem to be two prerequisites: You need to have a clear goal (which is something out of the ordinary and not like "get this css done for a client"), and you need to know that nobody will disturb you doing it.
Is the preference for late night because 1) there are less distractions at night or 2) hackers are genetically prone to being night owls?
Personally when left to my own ways will migrate my schedule naturally to be nocturnal. Wake up at 2PM and go to bed at 6AM. I feel happier and am way more productive.
I'd like to think I have two different peak periods depending on the kind of work I am doing.
- 2:00 p.m. - 6:00 p.m. Usually great for bug fixing and such. - 10:00 p.m.- 2:00 a.m. Usually when I am working on big, solo, projects.
EDIT : Adding am/pm once I realized that the numbers were not unique.
For some reason during the day and early evening, my mind wanders and I find it incredibly difficult to discipline myself into focusing on the task at hand… unless I'm in an environment like a library. I'm taking these two data points and suggesting that perhaps it's the reduced amount of ambient noise.
Another thought: perhaps as children we're conditioned to be "out doing things" during the day, and as a result the brain desires to be constantly externally stimulated during the day. There's less predefined behaviour for what should occur at night, and as such the brain is at your mercy to utilise as you see fit. Perhaps.
My hours tend to be 10pm-2am but most of that is probably due to the lack of distractions. Everyone in my house is asleep at 10pm and I have no interruptions.
Is this the same case for others who are working late nights?
I used to be most productive around 02:00 - 04:00, but recently (like a year or something) it seems that my most productive times seem to have moved to 05:00 - 07:00 (when I am awake at that times, which is not really often) and to evenings. I think this was caused by trying to tend to somehow more normal and regular schedule in 2010 and then complete burnout (I stayed awake till 09:00 while doing nothing much meaningful and then slept to like 18:00 every day) in March of 2011.
This week I've been trying to get back into the early morning routine I started a few months ago. I've never thought of myself as a morning person but if I am able to drag myself out of bed my most productive is between 4:00am and 10:00am.
It has all the benefits of working late (quiet, peaceful, few distractions) with the added bonus of having a clear head. Definitely makes it easier for me to focus on getting stuff done when my head isn't spinning with the collective ideas of the day.
I find that there is really no set time period that I can get to hacking but I do have tendencies. If I get a light day at school I might go to my hideout at the library and get a few hours of work done. Other than that I tend to work pretty hard during the 6 PM to 2 AM range and most of my greatest breakthroughs always seem to be right after I have had a good night of sleep after being frustrated by a problem the night before.
It doesn't matter if I'm excited about what I'm working on.
I feel much better if I get an early night, and wake early before the world starts. I get a lot of stuff done, and it's good. Then I get on with the day.
Prime hacking hours? 2:00, 3:00, 5:00, 7:00 and 11:00
The answers seem pretty skewed to night-time ... a few months ago I wrote a post with some thoughts as to why this might be happening: http://swizec.com/blog/why-programmers-work-at-night/swizec/...
It's gotten quite a bit of traffic (14.4k tweets), but maybe someone still hasn't seen it :)
I think anytime works for me, if I make sure, there are no distractions: email - off, messengers - off, phone - off.
Without distractions my preferred time would be during the day in a room/office with daylight. When I was working a regular dayjob, my most productive hacking hours moved to late night - primarily because of distractions.
So much quieter between 10pm and 2am. My ideal day would be to get up late (by normal people terms), go out for a long walk, come in, wind down with something like TV and then about 8pm onwards, get on with the work. This sort of thing only really works with freelancing / self employed.
I marked the 10:00pm - 2:00am slot, though, I've found that what really matters is if people are interrupting and bugging me. I've also had good success going to sleep earlier and going into a completely empty office at 7am and working for 3-4 solid hours before the stupidity starts.
I like to come to work early morning, when the sorroundings are quite, mind is quiter. I get most done!
Back in my 20s 9pm->2 or 3am were prime. Now in my 30s with 2 kids I find that my most productive time is 9am til about 2:30pm provided I had a decent sleep. But sometimes that night owl hacker shows its face, especially when I really get into a problem area of interest.
I am definitely most productive in the early morning when my brain is fresh. I would like to take more advantage of late hours but I have found it causes annoying recurring dreams around whatever problem I'm working on. I always wonder if that happens to anyone else.
At school, when I have nothing to lose by sleeping in, I love nothing more than hacking from ~10pm to 6am and watching the sun rise. Then as everything is opening I usually go grab a donut and come back and pass out until 2-4pm.
I'm a pilot for UA - West Coast sector exclusively. I get a day off every 2 days... My day starts at 5am to 11am, back home at 1pm...sleep till 10 pm and hack the night away till its time for the day job that pays the bills.
There's a great way to find out. Track your working cycles and your breaks, and see how long they are at what times.
I made an app that helps you with that, look for Zone on the Mac App Store, if you're interested.
10PM - 4AM For me there is a huge variation depending on where I am with project, slow start and very productive at the end - not necessary a deadline, but that helps to.
What I actually do is that I get home from work 7ish, do a little bit of normal stuff and then back on hacking projects at 11 till mmmm sun? okay back to work!
I'm most productive when the world is asleep, so I usually work from 10PM to 6AM. I answered twice: 10:00PM - 2:00AM and 2:00AM - 6:00AM
The thought of being interrupted doesn't make me want to start hacking complex stuff. When they are all gone you can do the impossible....
Depends on the time of year. I seem to be more productive late at night (00:00 - 05:00) during summer and 22:00-02:00 during the winter.
It has more to do with; health, mood, state of mind, than fixed time of day.
Although, due to less distractions late night is oftener the sweet spot.
Between 8PM and Midnight and then after sleeping between 9AM and 12AM. In the Afternoon I prefer to make a little siesta.
Mid day is my least productive, usually. The other ends of the spectrum (morning and nights) are my most productive.
I usually get to the pub and start work about 12, then it takes me time to get properly into it.
2am and 2pm are the only two prime hours listed! Is this a trick question??!
Right now its been random between 4 - 10PM, but i would like 4-8AM.
Typically, I hack nightly.
So now 'hacking' == 'working' or 'productive' ? Since when is this, I did not get the memo.
Midnight to 6 AM for me.
huh. I guess hacking hours have a non parametric distribution
The best most productive schedule I've ever been on usually came about around finals time in college.
I would wake up around 8AM, then fall asleep at 4PM, wake up again at 8PM and fall asleep again at 4AM. I was awake during all the necessary "business hours" to go to school, but I also had 8 uninterrupted hours in the middle of the night to study or read or whatever.
The best part was, whenever 4 came around I would get tired and fall asleep very rapidly, and snap awake fully energized at 8. Since I was never awake more than 8 hours at a stretch I was always refreshed right up to the time I would fall asleep. Meanwhile, unlike the hoax uberman or other sleep schedules, I was getting a full 8 hours of quality sleep per day, so I was never tired.
When I'm awake