It's not a trendy thing. Tumblr is, in fact, a platform for outcasts and niche fandoms that would otherwise be ridiculed on any mainstream sites or even anonymous sites like 4chan or reddit. They are using the words "nerd" and "geek" in the original, correct sense of the word. It is you who is using these words wrong. "Geek" means "freak". "Nerd" means "social outcast". It does not mean "I can code and know math".