Therapeutically, 1-2 days of 12 hour stints. If I am not programming, I am researching for it. Today I am doing some translations for a Free Software app.
Most days I have about few hours I spend reading specs, history, books. And I have emacs and slime running at all times, so I code about 2-3 times a day just trying things out. Everything is done in a Lisp repl; i might do calculations, test stuff I read in the spec, few attempts at solving someone's problem on IRC or Usenet,or trying out new API.
Just yesterday I hacked up stuff using the Dropbox API, and I ported a few OOP stuff from the Dylan spec to CLOS. Last week I wrote a util that separates the audio and video tracks in FLV videos; because my fiancee wants to listen to youtube vids in her MP3 player.
etc.
Just productive procrastination.
FWIW, I have ~600+ .lisp, .sh, .c and .asm files in my ~hacks directory, with absolutely no method to the madness. I sometimes forget I have done something previously and do it again. Gotta automate that part of my fun life I guess.
[Edit:
Lest my employer sees this; I wasn't counting work hours. Of course I put in 9+ hours of highly productive programming, design and analysis. Things that are crucial to meet our business objectives and execute our shared vision. Ooooh, shiny LLVM plugin!
Interesting to hear you say that you forget code you've written and do it again. I do the same. Code is so dense that I get the impression that the brain just has to do a bit of mark and sweep.
Most days I have about few hours I spend reading specs, history, books. And I have emacs and slime running at all times, so I code about 2-3 times a day just trying things out. Everything is done in a Lisp repl; i might do calculations, test stuff I read in the spec, few attempts at solving someone's problem on IRC or Usenet,or trying out new API.
Just yesterday I hacked up stuff using the Dropbox API, and I ported a few OOP stuff from the Dylan spec to CLOS. Last week I wrote a util that separates the audio and video tracks in FLV videos; because my fiancee wants to listen to youtube vids in her MP3 player.
etc.
Just productive procrastination.
FWIW, I have ~600+ .lisp, .sh, .c and .asm files in my ~hacks directory, with absolutely no method to the madness. I sometimes forget I have done something previously and do it again. Gotta automate that part of my fun life I guess.
[Edit:
Lest my employer sees this; I wasn't counting work hours. Of course I put in 9+ hours of highly productive programming, design and analysis. Things that are crucial to meet our business objectives and execute our shared vision. Ooooh, shiny LLVM plugin!
]