You're not alone. I, and everyone at work except perhaps our CEO, get probably 30 hours of focused programming done, with the caveat that probably around 75% of that programming is done in pairs. Which still feels like very productive programming most of the time. We do this by using the pomodoro technique and TDD (although I'm sure there are lots of other ways, and that it's mostly a combination of company philosophy and a fitting business model and product).