Live data from Hacker News

Waking up at 5am to code

mattgreer.org

91–100 of 202 posts

Re: Waking up at 5am to code

#91
I'm almost in the same boat with the guy that wrote the article. Like him I also read 1year ago, on hn, about a guy who started to code on his projects starting with 5 a.m. because in the evenings he spent time with his fiance.

After I read it I tried it for a while, and it worked, I had to stop because then I was also a student and I was also working full time + I also had allocated gf time.

I will try it again, I hope I can get more things done in this way.

P.S. Thank you for/for posting the article!

Re: Waking up at 5am to code

#92
A lot of commenters have talked about the pros of this routine, and there are many. Few interruptions, working while your mind is fresh, working within a regimen, etc.

However, if you don't have an equivalent amount of discipline on at night to get enough rest, you will quickly burn yourself out. I did this routine for a lot of the second half of 2011, and since I'm a night owl by nature (going to bed at 12 midnight is 'earlyish' for me), the lack of sleep quickly caught up with me. My project was actually getting some traction though, so I basically spent about four months in a sleep-deprived haze and consuming about 400 mg of caffeine a day just to function.

So I guess what I'm trying to say is, if you're like me and you go to bed at 1AM, wake up at 9AM, and go into work at 10AM (a very common engineer schedule), then it's not just a case of setting of your alarm clock but really adjusting your lifestyle so you're not fundamentally sleep-depriving yourself.

Re: Waking up at 5am to code

#93
He mentions he gets between 7-8 hours of sleep. So he is going to bed around 9pm to 10pm... Yeah, not really feasible for a lot of people because it would mean family avoidance.

I usually work from 11pm to 1am on personal projects.

Re: Waking up at 5am to code

#94
post #49
post #27

In the last six or seven years I've been up regularly at 5am or so. I can get an hour of work done before the rest of the household wakes up. It's great. My inspiration was Gene Wolfe, who wrote _The Book of the New Sun_ in the wee hours, and held down a day job as a technical magazine editor. [I'm not claiming my code is anywhere near as great as the wonderful writing that Wolfe did, but the early hours are definite…

> My inspiration was Gene Wolfe, who wrote _The Book of the New Sun_ in the wee hours, and held down a day job as a technical magazine editor. Wow. That's really interesting. I was actually going to give this a try because of Robert Pirsig, who wrote Zen and the Art of Motorcycle Maintenance . Here's how he did it: In a 1974 interview with National Public Radio, Pirsig stated that the book took him four years to writ…

When writing my thesis I was very productive at night. Guess I was too tired to procrastinate and over-think things.

Re: Waking up at 5am to code

#95
post #65

I would love to see a simple service that groups people who are willing to commit to getting up at the same time each day in order to hold each other accountable. There doesn't need to be anything significant - maybe it's just a matching service, letting people figure out for themselves how they can "check in" to confirm they are up and working at 6am (or whatever time is chosen). I know that I definitely can commit…

This is a great idea. Probably doesn't require any groundbreaking technology either. Dear internet, please make this. EDIT: An iphone app that let's people call and text each other as their profile name (anonymously) would probably lower the barrier to sign up for something like this.

Doesn't adding distractions begin to defeating the purpose? =]

Re: Waking up at 5am to code

#97
I have been on this routine for about 18 months. Waking up early in the morning is not easy or fun, but the alternative is to work in the evening or not at all. I find working in the evening really difficult because after a full day of work and a nice dinner with my wife - I am not really in the mood to "go back to work". Waking up early allows me to put my personal project into a set routine. 2 hours every day - not 2.5 or 3 or an all-nighter. This constraint is great for focusing the mind and making those 2 hours really productive.

There is one downside. I really need to be asleep by 9:30 (I actually wake up at 4:30). This is difficult to do when I meet up with friends. For example, this week I have two meetups planned - both of which will probably cause me to get home past 10:30 which means I am more likely lie in the next morning. ...and I agree with the OP - it is much easier to keep a schedule like this if you do it every day.

Re: Waking up at 5am to code

#99
> Enjoying the work is key

Recently I've discovered that this mindset has been detrimental.

Sometimes hard work is supposed to be hard. If you rely on passion or some sort of intrinsic motivation, then as soon as you come to a task you don't want to do (i.e. the 90% of any project that doesn't involve coding) procrastination sets in. I worked mornings non-stop on my little side project for around 6 months last year and slowed right down as soon as all the 'fun' stuff was over.

Accepting that the work is sometimes going to suck is a) more realistic and b) more empowering. If you get used to short focused bursts of work you don't feel like doing, then there is quite literally nothing you can't achieve if you put your mind to it.

Re: Waking up at 5am to code

#100
I did something similar for a while but other concerns pushed my routine out of the window, and for the sake of my sanity I shouldn't have kept on with it as long as I did. If I could recommend one thing to anyone thinking of doing an early-morning stint, it would be to keep an escape route clear. Don't commit to more than a week's work at once (you shouldn't be doing this anyway) and make sure that you can unconditionally drop the project at short notice if something comes up. Otherwise you will find that your work strategy is very fragile and very explosive.

That said, the particular issues I faced were external to my early-morning work strategy, and on a level playing field it is a wonderful way to do some of your best work.

Post reply on HN