+1 for using YouTube for conference talks more than "watch me program" type videos. I love browsing through all of the Pycon [1] talks for example. It's annoying that each year is a different channel though. Oh well.
There are also a lot of other great videos in the channel [2] where the talk you mentioned came from.
This isn't particularly profound, but when I find myself getting distracted, I say "One thing at a time." to myself to reset my focus on the task at hand. Pretty simple, but it seems to help.
It's published in dead tree form by O'Reilly, but the authors also made it available online and gave it a CC-By-NC-ND license.
Full disclosure: I haven't read this deeply, but I've skimmed it, and it looks interesting enough that I want to read it deeply.