Yeah, that's a pretty weird thing to say to someone. I'd be unsettled and uncomfortable if someone said that to me and tried to frame it as a compliment, and I'm a nerdy white dude.