I think the word nerd is like that other n-word. It's fine when it's used inside the nerd-dom, but it is offensive when used by someone who is not a nerd themselves. At least it is for me. Maybe it's just because I grew up in the 80's when being a nerd was not nearly as cool as it is today. Being obsessed about computers and science was a very negative thing socially for me.