If you give the nerd sex, computers lose their interest.
I believe there could be an XKCD graph in this for frequency of sex correlated against infrequency of genius.
IIRC there was a graph along those lines in Cryptonomicon. While there may be some truth to that, I'm pretty sure the optimal frequency is not zero.
Correct. He'd start to get so horny that he couldn't focus, so he'd have to masturbate (which was a small relief) or have sex, which was a great relief, and gave him weeks of productive work.