What is a nerd?

Paul Graham, in What the Bubble Got Right: “someone who doesn’t expend any effort on marketing himself. A nerd, in other words, is someone who concentrates on substance.”

What is a nerd?