The 120-Hour Workweek - Epic Coding Time-Lapse
blog.nickwinter.net
blog.nickwinter.net
Can we kill the Cult of the Workaholic already?
So, if you are pulling it off, can you give a comment on how long have you been working like this, and whether there's an simple trade-off in terms of restfulness, social life, etc... You know, can you live like this, and for how long.
Though I do notice that the author spends most of his time looking up and left. As someone with neck troubles, I suggest rearranging the layout so that most time is spent looking straight ahead, with head mostly level - before you develop the same kinds of troubles.
I never did a deliberate 120 week, but I can attest that when I constantly do >12 hour days for a limited(!!) period my focus was much better. While there may be a cognitive decline because of the hours I believe there is a positive counterbalance when you do not need to worry about food, emails, laundry or any mundane tasks and basically you never unload the problem from your head. For certain type of coding tasks that gives much more than what is removed because of the tiredness.
This is something like an ironman. You can do it a few times, it puts you into a zen state, but obviously you don't run an ironman every day or every week of your life.
Am I the only one who works better and more efficiently when I have a little bit of a break in between?
Yes.
a) A week off afterwards without touching a computer to get sane again
b) An hour a day for exercise, because I would not be willing to let my health go that bad. Sitting 120 hours isn't good, but at least a little exercise would raise my sanity/health a little
When I am coding and my mind do a context change to think about my unpaid bills or an approaching deadline, it severely decreases my focus.
I initially wrote it as an self-tracking activity logger with no interface, but when I went to do the time-lapse video, I added the HUD UI and made it save screenshots at regular intervals. The HUD is actually showing on my screen at all times, so it gets included in the screenshots. From those screenshots, I just used ffmpeg to compile a video.
I haven't written this for anyone else to run it, but if you're running Mavericks, you could try! You'd probably want to cut out some of the stuff, like the part that shows the work graphs from my website.
The stats get recorded by all of the TPTracker*.m code. For keystrokes and mouse movements, you just ask to get notified of all system events (the user has to enable assistive access for Telepath). For window switches, light levels, and webcam, you have to poll. GitHub, Trello, and Gmail are polling web APIs, reading the API keys from stupid config files in Dropbox. For tracking how many builds I've done, I wrote a hacky brunch plugin: https://github.com/nwinter/telepath-brunch .
Current music comes from iTunes/Spotify distributed notifications, simple. Work hours and happiness/energy/health come from distributed notifications sent out by a Python script that parses my Emacs org mode files where I record these things whenever I save those files with Emacs after-save-hooks. So those would be unusable unless you were to modify the code to get some other way of doing happiness and mood. Same with the rightmost section: a web view showing the percentile feedback work graph from my website is not easily transferrable.
How very neat and appropriate for a programmer.
There's a scene in Cryptonomicon by Neal Stephenson which is similar to this problem. The protagonist is in jail with a laptop which has the location of treasure on it encrypted by a WWII Enigma machine. However, the bad guys can see his screen at all times, so he needs to write the code to crack the cipher without looking at the data. I won't spoil how he does it because I recommend reading the book.