I think The IT Crowd, Big Bang Theory et al. are great for geekdom.
Yeah, we're being laughed at, but it's on a different level than it used to be. We're being laughed at the same way jocks get laughed at, that any group gets laughed at.
They are comedies, they are going to laugh at people. It's a matter of it being an affectionate laugh, or a scornful one. This is far more towards the affectionate side.
It used to be worse, a LOT worse.
I remember watching old episodes of Married: With Children. Geeks were something they loved to pick on. That show always depicted them as wearing 1950's style plaid polyester shirts with huge coke-bottle glasses patched with masking tape on the bridge of the nose, wearing pocket protectors stuffed with pens and using way-too-big words in every sentence, and they'd always be mocked, belittled, and usually physically attacked by the protagonists. I remember one episode that involved the Bundy family outright attacking a High IQ society party with the battle cry: "If you're stupid and you know it, punch a nerd!"
The Simpsons has as its resident geek Martin Prince, always portrayed as effeminate, utterly socially clueless, teacher's pet that does things like lobby to have the school day extended or reminds the teacher to assign homework if she hasn't already, and when he gets bullied it's usually depicted as a good thing.
Geeks were always the comic sidekick, or the running joke that was an acceptable target for the cool kids to beat up. In shows nowadays, we see geeks as the protagonist, not the sidekick, and they often get the upper hand at the end of the episode.