Yes, some people might think I'm more intelligent based on my race. On the other hand, some people may think I'm not qualified for leadership or public facing positions because of male Asian stereotypes.
I am white. I get called 'brit' or 'pom' or 'white guy' and so on all the time by colleagues of various ethnic or cultural backgrounds. I take it as friendly jibing unless I can see there is clear intention to upset.
edit: Downvotes? Yikes. Like most people, I'd prefer some constructive replies instead of silent detractors, but it is what it is.
More importantly, I'm not asking you to understand. It's not your responsibility and I don't blame you for any of this. It's just something that Asian males have to learn to deal with. We just have to man up and deal with it.
However, I also benefit from being an Asian male software developer. Whenever I meet new people in business, I am automatically assumed to be smart which has proven highly profitable. Finding work is never an issue and I make quite a comfortable living because people with money assume I am good at what I do - I have less to prove than a programmer who is say, Latino or perhaps female.
My solution? If you can't beat em, join em. Why don't you volunteer to teach at a girls code school? Might meet some cute female instructors who also like programming - pretty rare. Use your strengths in whatever way you can.
As a post-script to the "Jap" guy, a few weeks later he got fired from his job and has been out of work since. He is a high school educated white male in his late 20s. We all have our challenges and if being white also included being stupid, ignorant and money-less like this guy, I'll take Asian.