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.