What does ‘nerd’ mean?

( n ) A studious, unsociable person. See if you can get the nerd to leave his computer long enough to go for coffee.
( n ) Computer devotee. Forget the nerd; he’s connected to that computer by an umbilical cord.