Yeah, I hate that too. I will ride on the sidewalk in industrial zones where there aren't any pedestrians and the streets are full of huge trucks (my office is in Greenpoint and the TV show shoots mostly in Long Island City, both in empty areas, and the roads themselves are terrifying). And I half-ride, half-walk down the sidewalk on my own block sometimes, but I'm going below 5 miles an hour and usually stop to talk to my neighbors. In any case I always defer to pedestrians. The other day I was with my wife and kid talking to an old woman who lives nearby, and someone riding down the sidewalk had the gall to ring her bell at us. I gave her a really nasty look and so must have everyone else, because she looked sheepish.
It's kind of impossible to always obey traffic laws in NY, but you can not be an asshole about it. Like, if I'm riding the wrong way down a one-way, I keep it to a minimum and always stop or move aside for traffic going the right way. The thing that gets me is the sense of entitlement. It similarly pisses me off when I'm driving and pedestrians go to jaywalk, then look pissed that there's a car coming so they have to wait.
(Incidentally, Stupornaut, I also hate motorists who ignore the crosswalk. I always stop).