Live data from Hacker News

Waking up at 5am to code

mattgreer.org

131–140 of 202 posts

Re: Waking up at 5am to code

#131
post #40

Could someone please expound upon the term "Kanban board", as used in this article? I am not understanding the connection between Kanban and what the author is describing, though I would like to.

Kanban itself isn't key, but rather I think the key is having a plan.

Kanban is a process where you divide your work into stories, and place them on a visual board. You pull stories across the board into different columns as the story progresses. Typical columns are "ready to pull" (first column, this story is ready to begin work), "in progress", "in test", "complete". The idea is to focus on getting cards across the entire board, and having few cards in flight at a time. This is generally believed to increase productivity by avoiding the urge to multitask too much. It can also reveal bottlenecks in your team's process and generally is good at visualizing how your team gets things done. Which can be eye opening.

Since I'm all by myself, my kanban board is really just a fancy todo list. I am using http://www.agilezen.com for my board. Trello is a more well known app along these lines, but purists disagree that Trello truly accomplishes Kanban because it's missing a few key Kanban concepts (whether that really matters is up for debate).

Re: Waking up at 5am to code

#132
post #81

Earlier quoted context omitted.

If you wake up at any time of the day, mid way through it (no matter when) your brain "is toast". That is why so many sleep scientists suggest naps is because they have proven that naps are beneficial to mental fatigue.

Really? My brain is semi-toast until about the middle of the day.

Do you wake up with an alarm or 'naturally'?

Re: Waking up at 5am to code

#133
post #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…

The caffeine is a vicious cycle (I've been there.) When you're short on sleep, you need it to get through the day, but the side effect is you end up staying up later than you need to. Also, if you want to get to sleep, avoid screens (TV, computer) for the last hour or two before bedtime and you'll find it's a lot easier (E-ink readers like the Kindle are great for this.) It's hard to switch gears from the stimulation of TV or a game and go to sleep unless you're already overtired.

A lot of this also depends on age, I suspect... I used to be a 1AM-type person in my 20s but as I've grown older, I find I naturally wake up at 7 AM or so anyway. By 11pm or so, I'm geting pretty useless. My sense is this happens to lots of folks as they get into their mid-30s, even if they don't have kids.

Re: Waking up at 5am to code

#134
post #40

Could someone please expound upon the term "Kanban board", as used in this article? I am not understanding the connection between Kanban and what the author is describing, though I would like to.

Exactly. I just spent 20 minutes reading the Wikipedia article on Kanban but I don't see what sticky notes have to do with JIT manufacturing...

This is one confusing thing about Kanban. The Kanban JIT manufacturing process that Toyota developed is different from the agile Kanban process used in software. The latter was inspired by the former, but they are very different.

Here is the Wikipedia article talking about Kanban as an agile process: http://en.wikipedia.org/wiki/Kanban_(development)

Re: Waking up at 5am to code

#135
I wake up at 4:30 to read for a bit and some days squeeze in 30-40min of development work. After getting ready I head out for walking between 6:30-9am (depending on the day) then head to work. This gives me room to do a little project work in the evenings.

Glad to see more early risers!

Re: Waking up at 5am to code

#136
Another option that you should look into is switching to a four day, ten hour each day schedule. Of course your employer has to approve and I’ve seen a lot of people that can’t keep up with the long days, but if 5am schedule works for in the long term you shouldn’t have any issues with it.

I've done this for the last four years and it really works well for me. It gives me the option to work on my personnel projects on my off day (Friday for me). It also forces you to wake up early and the morning always seems productive. The best part is you can be flexible with that time, like on some weeks maybe you take a long trip or family/friend time.

Re: Waking up at 5am to code

#137

Why is waking up two hours earlier in order to do stuff like coding on personal projects so much better than staying up for two more hours at night? It won't make the day longer. Each hour you wake up earlier you will also probably go to sleep earlier. Of course you could also sleep less, but also in that case IMHO it doesn't make a large difference whether you add those extra hours to your night or to your morning.…

Morning hours are often more productive because there's fewer distractions - the rest of the household is asleep, the phone doesn't ring, and there isn't much on TV. Not to mention that if you've gotten up two hours early to do something, you're probably going to be doing it. (I used to have to get to work at 7:30 in the morning but still found that going to the gym before was the only consistent way to ensure it happened.)

All of that aside, the bigger problem is that other things pop up during the course of the day to steal your energy and time. If you have something scheduled at the beginning of the day, they can't eat away at it. If you schedule it anywhere later in the day, it becomes the "stub" for whatever else happened that day.

One of the pieces of advice they give folks who want to save more money is to "pay themselves first" - save some money from your paycheck _before_ allocating to other things you want to spend on, especially anything discretionary. This is the opposite of what we normally do, which is "save" whatever is left over after our spending. I think folks who set up a morning routine for work or gym are basically paying themselves first in terms of time commitment.

Re: Waking up at 5am to code

#138

I've tried this approach and others. I'm sure for some it can work but ultimately I found you can't cheat time. If you wake up at 5am by 2pm you toast (mentally at least). I've found no real secret to gain extra real hours. The reality is that your mind can only function productively for so long each day. The productivity you feel at 5am is the same you'd feel at 8:00am it just seems more amazing because it's happeni…

I've been waking up at 6 am for three months now (on weekends, 6:30 or 7, depending at what time I can get to bed). I'm getti to sleep earlier than usual though - I would be a night owl myself. The most difficult part for me, actually, is to force myself to go to bed no later than 23:00 :)

Re: Waking up at 5am to code

#139
5am sounds a little extreme.

I just arrive at work a half hour before I "should" be there. That's when I do a little code kata or read HN. Then I grab a coffee and it's work time. After work I go to the gym and coming home from that I find I have enough energy to put in another hour or two on my side projects.

However, having kids might change that and make 5am more sensible... you might at least get an hour before they're up and you have to get them ready for school.

Re: Waking up at 5am to code

#140
I did something a bit more extreme for over a year - and I have a family to contend with. But I wasn't coding, mainly product dev a(wireframes, specs, etc) and some hacking.

Schedule was:

- Hang w/family from the time I got home until their bedtime, roughly 9:30 PM.

- 2 hours of work, then 30-45 min of useless TV (Family Guy or TAR)

- About 5 hours of sleep

- Another 2 hours of work before hopping on the train

Somehow I kept this up for over a year, though it has to be said that I curtailed the workload to just 2 hours a day (and a bit more sleep) over the weekend to spend more time w/the family.

I think that's the only real guidance here - as long as you can budget adequate time to recharge the batteries, then you can keep this up for the long haul. For me, hanging with the family kept me fresh, kept me sane.

Post reply on HN