the world is not a zero sum game

When I used to teach computer science and shared with my students how an open-source software is born and developed, many of them would ask me, why would anyone want to start an open-source project?

Open source projects are kind of a big deal, to say the least. The React JavaScript library, the software at the very foundation of what Facebook is built on top of, was made open-source by Facebook. Google has made a similar decision with Chromium, an open-source sister of Chrome and Chrome OS.

My students’ question stems from the perception that it seems counter-intuitive for a company to share their secret sauce (the code that they developed) with the world. But they fail to see the upside of sharing and accepting contributions from engineers all over the world by turning a project open source to improve on it, and allowing creative people in all walks of life to come up unique and useful applications making use of the technology.

There is no question that Google and Facebook both have its share of brilliant engineers, but there is great power in the collective knowledge of the entire world that even the most successful companies stand to benefit from. It just takes stepping back from the myopic views (such as “me and this one rival”, or “our sales for the next quarter”), and observing the broad, long-term effects of improved software and universal access.

Do you think it’s an accident that Wikipedia today gives you much better information on most topics compared to other encyclopedias? It turns out that 7 billion prospective volunteers collectively make a much better expert than a few hundred well-paid professionals. By the same token, the quality of a software is naturally improved by allowing the world to make contributions to the code. In this technology-driven world, better software means a better world.

One key thing to recognize here is that economic rewards in this world has not been, is not, and will not be, a simple game with winners at the cost of losers. The early hunter-gatherers who would share their hunt for the goodwill of their neighbors were onto something. Today, access to information benefits everyone, even the person who was the source of that information.

A great example of that is one of Google’s early data-processing models called “MapReduce”. Google used it to index the world-wide web, which was the foundation of how Google search worked in its early days. You would think that such secret should be kept within Google, but Google saw what it could mean to share the knowledge. So they published a paper, outlining MapReduce’s inner workings.

Out of that paper, arose a project called Apache Hadoop. It is an open-source collection of data-processing software. It allowed everyone (even small startups with little money) to perform analysis of big data. This has led to the explosion of applications that make use of data in just the last ten years. We now take it for granted that weather and traffic can be predicted more accurately than ever before, your photos can automatically organize themselves based on factors like where it was taken or who is in it, everyone can get customized movie recommendations as if they’re curated by someone who knows the deep intricacies of your personality, and doctors can diagnose diseases more accurately. Data analysis even exists in surprising areas where you would not expect it. I was very surprised to learn recently that farmers can predict the best time to milk a cow simply by letting a cow wear a pedometer and letting a data-processing software analyze the output from the pedometer. With the right technology in the hands of the right people, maybe the day when we’ll be able to predict earthquakes in advance isn’t so far away.

Tomorrow at Google, we are celebrating the company’s 20th birthday. It is a celebration of the innovations of the past, as well as the future that is to come. Yet as we speak, we are in the midst of a trade-war led by some misguided people. The future that I dream of is an open one, a world in which both physical goods and knowledge flow freely across boundaries. This world is not a zero sum game.

On sexism

It has been a few days since the infamous Google doc, or the “Anti-Diversity Manifesto” as so many media sources have called it, has been passed around. I’m not going to respond specifically to it because many have done that already, and I basically agree with the leaders of the company (whose internal e-mails addressed to us have somehow leaked to the public very quickly) and many of my coworkers’ views which you have likely come across on various social media. The gist of my take is, the part of the doc stereotyping the genders and arguing that the inherent biological difference between the genders may be the cause of unequal representation of genders in tech, is completely wrong and outrageous, and quite frankly, I admire and respect the work that my female coworkers have done on my team so much so that I’m scared to imagine where Google would be if it weren’t for them. Now I wish the media didn’t simplify the issue and boil it down to a sound bite with a misleading title like “Anti-Diversity Manifesto”, because, despite the author’s horrible mistake of mixing up his personal bias for sound reasoning, his main motivation for writing the document doesn’t seem to be to speak against diversity itself, but to question Google’s specific diversity initivies, I hope, unless he’s blatantly lying when he writes about his motivations, then that would make him truly evil. Anyway I’ll give him the benefit of the doubt for now. Beyond that, if you want to know more on my personal thoughts on this doc, I agree with ex-Googler Yonatan wholeheartedly on this, so give his take a read.

However, beyond the doc, I do want to point out a few things about sexism in the workplace and in society in general, because the gravity of the issue at hand is actually about so much more than this one single doc.

“Sexism”, just like many other words that end in -ism, is ingrained in the way a society functions which propel behaviors from the members of the society that cause a certain effect, in this case, the degradation of the members of the female gender, made possible largely by what are considered the societal and cultural norms, and our indifference toward those norms. So the problem isn’t simply the one openly sexist person who believes that men are better than women, but rather, what all of us tolerate every single day, or at times don’t even realize or label as sexism because of our ignorance and the subtlety of the issues that we encounter. So much of sexism goes unnoticed because we have built a society in which it is perfectly ordinary for one gender to be treated differently than the other, so unless we are actively seeking to identify and bust the existence of sexism, we will continue to live in a sexist society. Most of the time, we don’t even stop to think about it, or realize that something is wrong, which is exactly why this is a problem.

It starts early in our lives as culture and society subliminally enforce stereotypical norms on everyone from a very early age. As young kids, boys are given puzzles and legos that improve their spacial and reasoning abilities, while girls are given dolls to play with. Boys are encouraged to develop skills that lead to a career (You like to cook? You should become a chef) while girls are encouraged to develop skills for making a home. (You like to cook? You’ll make a great wife and mother.) That might not be as big of an issue if homemakers got the respect that they deserve for the hard work that they do, but as long as society continues to elevate work above home-making, and money-making above relationship-making, this is a major issue. In school, boys are more likely to be given feedback from their teachers that directly address their performance, while girls are more likely to be commented on about their smiles and clothes. And even if we actively tried to stay away, nobody is immune from the dose of pop culture that is always screaming at us; all those TV shows and movies that portray men as heroic protagonists and women as objects to be won by those heroes. And throughout all of these experiences, little by little, we start to pick up on the social cues, and what it means for each one of us to be a valuable member of this society. While boys are taught to be brave and take risks (which naturally lead to many life opportunities), girls are taught to play it safe, be gentle, and look and act cute.

The sexism of course doesn’t stop in adolescence, they continue through adulthood. I routinely notice that when a group of people are having a conversation, a male member of the group will often interrupt a female member who is speaking, and nobody will raise this as an issue. This happens so often that we don’t even notice it as it happens right in front of our eyes. (One time, I encountered exactly this situation in a meeting to discuss how we can promote diversity. Irony much?) Not only do we often fail to recognize the inherent sexism here, men even benefit from such a scene, because so many people view it as a sign of strength when a man expresses his views and dominate the conversation. But our reactions are surely different if the opposite were to happen, that is, if a women were to interrupt a man. Or heck, she doesn’t even have to interrupt anyone, she may just hold a strong opinion about something and express it, at which point she quickly gets labeled as “bossy” or “bitchy”. (related read: Lean In by Sheryl Sandberg) Ok, maybe people are not that explicit nowadays with their choice of words, but you get the point.

Here’s another example that you may have encountered: a female coworker of yours does something that is outside of her job description, such as volunteering to organize a team lunch together, or cleaning up after a social event in the office. If you pay some attention as to how the situation plays out, you will notice that she got little to no recognition for this work, because subconsciously, we take it for granted that it is the normal role of women to be these supporting figures behind the scenes, all the while men are encouraged to take on the more flashy, “respectable” roles that stand out more, and often are more about elevating himself rather than the team (by the way, it is horrible that such actions are tolerated and even rewarded, because it hurts the company more than it helps if we wish to engineer a great product, but we can save that discussion for another day), and through these selfish actions, he somehow earns status and respect, and with that come the raises and promotions. And even if your male colleague were to volunteer himself to do some of the “supportive” tasks instead, he is still recognized for that because it is out of the norm for men to take on such a task and be so “selfless”, so his actions are immediately noticed and appreciated.

So about the “doc”, while we may feel good about ourselves because we are fighting sexism by expressing our outrage toward one man who decided to share his sexist views with the company, please, don’t let us stop there. It is great to have these conversations as a starting point, but more importantly, let our actions speak loudly for what we stand for. Let us fight deliberately the sexism in the world. To start, we must be aware of the ways in which societal norms elevate one gender and put down the other. Once we recognize the issue, we can actively challenge them.

Girls Who Code

Girls Who Code’s Summer Immersion Program application is now open.

If you know of any girls currently in the 10th or 11th grades, encourage them to apply to take part in this life-changing experience.

The Girls Who Code Summer Immersion Program (SIP) is like an intense coding boot camp for high school girls. Over the course of one entire summer, they attend the program for 7 hours a day, and they learn important computer science concepts such as conditionals, abstraction, and object-oriented programming, and their various applications such as robotics, cyber security, and game and web development. Most of the girls come into the program with little to no computer science experience, and not only do they come out with a newfound love for coding and problem-solving, they also learn that with time and effort, they can accomplish things that they thought they could not do.

Check out this video below documenting my students’ summer, and this LA Times article highlighting some of the girls and their projects. Video credit to Linda, my amazing fellow co-teacher!

Computer Science Education

As a former public school teacher and advocate for students everywhere, one issue that concerns me is the lack of access to computer science classes for students in K-12 schools.

The graph below shows the number of AP exam takers in various subjects.


It is immediately obvious that computer science has not seen the growth in enrollment that other subjects have.

But why? Considering that computing is arguably the fastest-growing industry in society today, how is it that our students are not exposed to the study of such a relevant and important subject?

This is a multi-faceted issue, but first, there is a serious shortage of computer science teachers. As a result, currently, only about 10% of high schools in the U.S. offer a computer science course.

To make matters worse, 97% of students who elect to study computer science in college choose the major because they have had prior exposure to computer science before entering college. So what about the students who did not have that opportunity?

Just put the numbers together: most high schools don’t offer computer science, yet only those who have been exposed to it consider it as a possible future career. We can deduce, then, that for most high school students in the nation, pursuing computer science is not even a viable option; they simply aren’t aware of the opportunities that exist.

Computer science is also suffering from an image problem. It is commonly (and mistakenly) thought of as a profession for privileged white males, sitting in cubicles typing away in front of a computer all day, eventually to suffer from extreme boredom and carpal tunnel, and die a lonely death. But that is far from the truth.

Programming is a creative endeavor, with as much opportunities for critical thinking and teamwork as any other field. It is an important and integral part in a variety of areas in society today. Computer professionals work for diverse employers, not just for tech companies. They are the ones who create the tools to make sense of data to inform policy to better the world. They help create technologies that cure diseases. They work with physicists and artists to create the algorithms to simulate the reflection of light or the movement of a strand of hair of a character in Pixar movies. They create platforms like Kiva that empower the marginalized to become entrepreneurs. They write the programs to auto-navigate spacecrafts, such as the MSL Curiosity Rover which, in a split second after the heat shield came off, made a decision on the safest landing-spot, and miraculously guided itself to actually land there softly, all in a low-pressure, low-gravity environment that could not have been replicated for practice here on Earth.

Anyone who wants to make a difference in the world can get off to a flying start by combining their passion with the knowledge of computer science.

If you are a high school student reading this, I encourage you to give it a try. Take a CS course or join a club if your school has it. If not, there are tons of online courses to get you started, and if you can, sign up for summer coding programs like Girls Who Code and others available in your area. It might just change your life.

If you are in college, chances are good that your school offers an introductory CS course available for non-CS majors. Enroll in it, and you might discover a new passion that you never knew existed.

If you are an adult, it is never too late to start learning. I know many people who got started in this field post-college and have grown to love it. Start taking introductory online courses, and attend meetups to see if there are others like you who might be looking for a study buddy. As far as online courses go, I really like the contents available on websites like Udacity, CodeCademy, and Khan Academy. They are all great places to get started, and each have their unique strengths, so see which one fits your learning style, or try them all.

Happy new year!