Happens mostly at conferences for me, sometimes at networking events. Especially if I'm at an open source software booth. I don't look like "a hacker", so prevailing stereotypes apply. Last year it happened at least once at each of 3 conferences I attended and staffed a booth at last year.