HNHacker News
TopNewBestAskShowJobs

g9yuayon

1,328 karma · joined March 3, 2007

submissionscomments
g9yuayon··on Google Employees Uncover Ongoing Work on Censored China Search
https://www.washingtonpost.com/technology/2018/10/16/google-...

Okay, let's say you don't trust Google's number, then think about this: how many web pages are about politics that are sensitive to Chinese government, and how many web pages are about our everyday life?

Edit: oh you mean quality of Google search compared with Baidu's? Well, for one, Google does not use paid listing, and there are numerous reports that compare Google and Baidu's search quality.

g9yuayon··on Google Employees Uncover Ongoing Work on Censored China Search
Just because you don't like be censored, you'd rather deprive every Chinese's access to information of much much better quality. Yes, a few percent of searches will be censored, but the other 90+% of them are still miles better than Baidu's. Yet the righteous Google employees rather let people die of misinformation provided by Baidu(https://en.wikipedia.org/wiki/Death_of_Wei_Zexi). They'd rather see event like this happen everyday in China: https://www.ft.com/content/9be0b974-10e9-11e6-bb40-c30e3bfcf.... They'd rather let ordinary people comb through pages of thinly disguised ads to get to truly useful pages. They'd rather let good people be bombarded with false information by Baidu. They'd rather deny billions of people's access to vast number of educational videos on Youtube. Yeah, right, this is some people's version of justice.

Yup, political ideal certainly is more important than the quality life of billions of real, ordinary people.

What a bunch of hypocrites.

g9yuayon··on Harder programming questions do a worse job of predicting outcomes
I just finished reading Bill Kilday's Never Lost Again. It was amazing that four engineers produced the ground-breaking Google Maps in 16 months. Algorithm/Math questions used to be really effective at finding engineerings like those four engineers. There was a reason that Microsoft resorted to algorithm puzzles in its hay days as well.

It's just unfortunate that there's so much prepping materials online nowadays that the programming puzzles have become ineffective. It gets worse as many interviewers were not good enough to ask follow-up questions. For instance, addition with big integers is a pretty easy interview question, right? But if a candidate can go as deep as this article: https://bearssl.org/bigint.html, I can be pretty confident that the candidate is really really good.

That said, I personally don't find it necessary to join the rat race. Instead, I'd suggest engineers just take time to thoroughly study just one book on algorithm designs. In fact, an introductory book, such as Kleinberg's Algorithm Design or Udi Manber's Introduction to Algorithms, will be good enough. It may not get you into Google, but it will likely get you into another damn good company. The best part of this approach is that passing interview is really just the byproduct of you trying to become a better engineer.

g9yuayon··on Classic Mathematics Books for Lifelong Learners
Middle majority among those who pursue STEM in college. Not everyone is or should be in STEM, after all.
g9yuayon··on Classic Mathematics Books for Lifelong Learners
Did you read the book What Is Mathematics? It is certainly not "an exaggerated biography for some of the scientists".

And the mentioned books, at least some of them, serve different purposes: they aim to inspire, to motivate, and to offer historical context and intuition. The last is especially important, as they show people how abstract concepts emerged from historically concrete endeavors.

When it comes to learning math, you can't take an elite's view. Not everyone is born Bourbaki dudes or Galois or people like them. Ordinary people like me don't just fall in love with maths. I was certainly not interested in number theory as I thought it was too fundamental for me to spend serious time on. And I'm still not. I was certainly puzzled on why my professors introduced the concept of functional in linear algebra or quotient groups in algebra or lattice equations in program analysis or category theory in model checking or probability space in probability. After all, all I wanted was to learn how to model the world to be a better programmer. And I was not able to grasp the abstractions without serious effort. I needed historical context and motivations to plow through those topics and to enjoy math.

Yes, the elites will love and excel at math for no particular reason. Yet it is the middle majority like me who will greatly benefit from the mentioned books and biographies and what not.

g9yuayon··on Tech Is Splitting the U.S. Work Force in Two
Easy, just tell everyone that anyone can study STEM as long as they work hard. Do you know Noether, Marie Curie, Grace Hopper, Chien-Shiung Wu, and many more female scientists and engineers are household names? They are featured in mass media, in text books, and in our bedtime stories.

Gender bias in STEM? That's a god damn first-world problem.

g9yuayon··on Tech Is Splitting the U.S. Work Force in Two
Unnatural in the sense of "Young man, in mathematics you don't understand things. You just get used to them". Or in the general sense of science, you work hard to get intuition that is against what you get from your daily experience, such as feather and iron ball fall at the speed in vacuum, electrons interact with electronic field, there exist functions that are continuous everywhere but not derivative anywhere, light of spped is constant in all reference frames, or simply high school algebra is really simple (and has been watered down for years) and most of kids should have no excuse not to excel at it.
g9yuayon··on Tech Is Splitting the U.S. Work Force in Two
I highly doubt that education reform will come by any time soon. Studying STEM is not natural to many kids, yet the reality is that people in the US have been living comfortably for so long that they would rather give up teaching tough subjects for so-called children's happiness, or shit like no kids left behind.

As a result, it is the ordinary kids, which is the majority middle, who will hurt -- they think they learn something in high school and college, but they really don't.

g9yuayon··on When a programmer thinks not knowing BFS is okay
I'm pretty sure that no one has a opening to research how to find the area under a simple curve.
g9yuayon··on How much Americans make in wages
Yet many parents still think that nerds are boring. Many students still bully those who focus on academic excellence. Teachers still think that students should learn easy peasy stuff because, well, "everyone is fking unique", or let's leave no child behind.

The end result? The people in the middle ground, aka most children, will be left behind.

g9yuayon··on We are Google employees – Google must drop Dragonfly
Even though Google's search engine will censor some content in China, it will still be miles better than Baidu. People who use Google will find highly relevant results quickly when searching about health, academic research, and a million of other things. They won't have to worry about finding thinly disguised promotions of illegal hospitals (https://en.wikipedia.org/wiki/Death_of_Wei_Zexi) on the first page of Google. They don't have to worry about combing through pages of search results for something that should've been found in seconds. They don't have to play the game of mouse and cat just to get a usable VPN to use Google outside of the GFW.

So, the logic of this protest is that Chinese people do not deserve even incremental improvement, a huge improvement by the way, in their lives?

g9yuayon··on The American Dream Is Alive in China
True for liberal arts. The K-12 education in the U.S puts a lot of emphasis on critical writing and research in liberal arts. I see much less rote learning there. And China's education on liberal arts, especially history and economics, resort to a lot of rote learning.

I feel sorry to say this, but there is really not much rote learning of STEM subjects in Chinese K-12. How can you rote learn when you need deep and intuitive understanding of fundamentals to excel in your math exams? That's what my teachers tried hard to instill in us every day. On the contrary, there's a lot of rote learning in that of the US. The reason is simple: students resort to rote learning because it works, and it works only because the problem sets they deal with are so simple and mechanical. That's not the case in China.

g9yuayon··on The American Dream Is Alive in China
One thing important that many people ignored about China is its K-12 education system. It is much better than the US in a number of ways, especially for the ordinary students, which accounts for the majority of the student body, myself included.

- For starters, teachers in China are responsible. They care about the subjects they teach, and spend countless hours finding challenging problems for students as well as grading students' solutions with detailed feedbacks. Parents could just leave the education of their kids to school. They didn't have to worry about tutoring at all, because they knew that their kids would be sufficiently challenged in school. This is true equality, isn't it, as financially challenged families did not have to worry about not being able to afford tutoring. In contrast, teachers in Cupertino, a town known for good schools, asked parents to grade students' homework.

- Second, they believe in their students. No no no, I'm not talking about this "every student is unique and therefore it's okay to not doing well in academically" crap. When I grew up, my teachers were tough, but they were tough by being honest, by telling me that I didn't do well in exams because I didn't try hard enough, because I didn't use the right techniques to study, or because I didn't focus on the right things. In other words, we truly believed that I could excel in school work. They didn't give up on me or other kids just because we did poorly in homework or in exams. They were truly happy if their students did well in school, and then they told the students that they could do even better by assigning more challenging problem sets. That is, they believed that their students could grow by keeping themselves in their discomfort zone. In contrast, Why did the US schools keep lowering their standards just to keep students happy?

The K-12 education systems in the US are great for two types of students: those who are really challenged academically, and those who know how to push themselves. For the former, they enjoyed the love from teachers or the policies like "no kids left behind". For the latter, they got excellent resources, such as taking advanced classes in universities, and participating in all kinds of competitions. It is the students in the middle, the majority of the students like me, who will lose, big time. The students in the middle will not be challenged enough, who will falsely believe that they are good at STEM and then get shocked or even defeated by not-really-so-hard courses like calculus or organic chemistry, those who could've had a wonderful career in STEM but bail out because they didn't get enough training in high school. How sad is that?

Don't get me wrong, I'm not saying that Chinese K-12 did everything right. I spent way too much time preparing for the national entrance exam. I spent way too much time mastering all kinds of problem-solving skills that are not needed in college. I didn't learn advanced subjects like calculus or stats until college. That said, my teachers truly prepared me, like they did millions of other ordinary students, for advanced STEM subjects. They injected passion and a sense of pride of studying STEMs. I wouldn't be able to do what I do today without my teachers' dedication and caring. That's what matters, isn't it?

g9yuayon··on The highest paid workers in Silicon Valley are product managers (2016)
That beats me. If I have to guess, I'd venture to say dealing with ambiguity is truly hard. As a production manager, you need to have unique insights on the market you're interested; you need to capture future trend; you need to understand human psyche, you need to convince your company to take risks and invest into something that does not necessarily have a future, you need to build trust with both the engineering team and the management, and you should be analytical enough produce supporting numbers. Many of such activities are ambiguous in nature, and getting clarity and buy-in out of such ambiguity is in high demand in the current market.

On a side node, engineers do sometimes need to function as PMs to build great product.

g9yuayon··on The highest paid workers in Silicon Valley are product managers (2016)
Supply and demand? My assumption is the less challenging a technical project becomes, the more supply of engineering talents can work on the project. There should be more generalists after all. And dynamics of supply and demand will determine if engineers will be able to "hold out for ownership".
g9yuayon··on The highest paid workers in Silicon Valley are product managers (2016)
This hardly comes as a surprise. How many companies, especially startups, really need to tackle tough technical challenges? On the other hand, how many companies desperately need product talents to figure out what is valuable to produce?

In addition, engineers have commoditized many technical solutions that used to be challenging in the past 15 years. Scaling used to be a tough challenge, not any more for many companies. In fact, part of my daily job is to prevent passionate engineers from reinventing wheels in the name of achieving scalability. It's not because we don't need to solve scalability problems, but because the infrastructure is good enough for most of companies. Building and operating so called "big data platform" used to be hard, not that hard any more. Building machine learning pipeline used to be hard, not that hard any more for many companies. Of course, it's still challenging to build a highly flexible and automated machine learning pipeline with full support of closed feedback loop, but many companies can get by without that level of maturity.

g9yuayon··on Learning Math for Machine Learning
Personally I used David Lay's Linear Algebra and Its Applications as my first linear algebra book. It's more formal than Gilbert Strang's famous text book, but less formal than Linear Algebra Done Right. It's emphasis on geometric intuition really struck home, particularly the discussion on coordinate systems, change of basis, and quadratic forms.
g9yuayon··on Learning Math for Machine Learning
I'm kinda curious why so many people think that Linear Algebra Done Right is an introductory book for beginners who have math anxiety. Don't get me wrong, the book is great and I enjoyed working it through. It was a magical experience when I saw how simple it was to prove some seemingly hard theorems by just linking the right definitions and theorems. That said, the book does require certain level of math maturity as it achieves its elegance by staying at certain level of abstraction and its style is quite formal, so much so that a person who can use this book as its first linear algebra textbook shouldn't have math anxiety at all.
g9yuayon··on Google admits brainteasers were useless for hiring (2013)
People tend to forget the historical context of a policy. Google was small in the early 2000s, but it was one of the hottest companies in the valley. Therefore, it could afford being picky. It was solving really tough computer science problems in massive scale, so it needed to find talented true geeks, those who live and breath math, engineering and computer science. The so-called brainteasers were usually thinly disguised and well-designed math or algorithm questions. There were few interview-prep books back then, either. Therefore, those who could solve the teasers were likely creative geeks.

Fast forward to it today, we have huge amount of prep materials and prep schools, so it becomes hard to tell who's truly talent and who has great memory. Google doubled its workforce in the past three years from 35,000 people or so to 70,000 people. You just can't expect that everyone is passionate and talented about math or engineering. Besides, Google does not need too many of this kind of people either.

However, if a small company is tackling a hard problem that does require tons of math, computer science, or pure ingenuity. Hell ya, brainteasers can be of great help. They don't even need brainteasers, they can just directly ask math problems.

g9yuayon··on Why I Quit Google to Work for Myself
This article may as well be used to describe my employer or many other companies that have more people than the quantity of work. My suggestion: join a company that figures out how to manage visibility, such as Netflix. Or join a company that does not need to manage visibility, such as a fast-growing startup.
g9yuayon··on H-1B: Nearly three-quarters of Valley techies are foreign
> In practice, though, H1-B becomes indentured servitude, since they cannot freely move between companies.

Not true. An H1-B can change job. I did it a number of times without any problem. In addition, good companies do not take advantage of this so called immobility. Netflix certainly does not. Its CEO used to say money shouldn't be an issue to employees, and he certainly means it. In fact, Netflix's culture is so good to ICs, but I digressed.

g9yuayon··on H-1B: Nearly three-quarters of Valley techies are foreign
I wonder where American-born geeks are? Is there any stats on how many techies that American education system produces year by year?
g9yuayon··on It’s Surprising How Much Small Teams Can Get Done [audio]
Hot startups in Silicon Valleys should take notice. You know who hired hundreds to thousands of engineers in a year or two, when there were really not that many significant engineering challenges. Productivity and morale dropped after certain threshold. Chaos and unhealthy dose of politics ensued. Yeah, really fun stuff.

If we look back, Google made really good decisions in its early days. Founder's bill is a brilliant invention, thanks to Eric Schmidt

g9yuayon··on A new grad SDE makes 2x more in SF than Toronto after tax and COL
Assuming employees have the same productivity in two different locations, shouldn't a company even pay more to the employees in the location that has lower operational cost, because the company will end up having a higher margin anyway? Instead, what I often see is that companies use "lower living cost"(which I assume is correlated with lower operational cost) as a justification of paying an employee less.

Yeah yeah, I understand that it eventually boils down to supply and demand of talent, but just saying...

g9yuayon··on Alibaba hits nearly $18B in ‘Singles Day’ orders in 12 hours
Most of the comments here focus on the business aspects of US/China retailing. I'd like to remind techies here that Alibaba has become a tech powerhouse as they learned how to deal with ever increasing traffic. Their work on infrastructure has been phenomenal. It's not a joke to handle up to 45 million database transactions per second, or 256K payments per second. Few US companies could do it without breaking a sweat. Check out their work on JStorm, Flink, messaging queue, container, JVM, ML platform, and databases. Alas, tech innovations came from real and challenging business scenarios. It's like diamonds are forged by extreme heat and pressure. Now look at Silicon Valley, how many companies can claim tech achievement similar to that of Alibaba, except the same ol' Google, Facebook, and Amazon? I don't think it's due to lack of tech talent. Instead, it's due to lack of business scenarios at scale for most of the companies.
g9yuayon··on How Canada became an education superpower
I took an AP math in Canada and later graduated from CS department of U of Toronto. The schools in Toronto did at least one thing right: they didn't dumb down their courses.

I did well in my AP calculus, 98/100 or something like that, but I still felt the pressure in all the tests and exams, as there were just so many questions crammed in a single test. I had to keep writing, non stop, and barely had time to double check any of my answers. Contrast to my school experience before I went to Canada, I could usually use way less than half of the exam time to finish and double check every problem.

The same pattern continued in U of T. The class average of courses like algorithms often went below 40/100. I usually had to keep writing until the last minute to finish every single question in an exam. Assignments were usually time consuming and required lots of thinking. I still remember the tremendous satisfaction when I finally proved a theorem about universal hashing (an exercise from CLRS, IIRC). And past success on assignments and tests didn't guarantee good grades in the final exam. I was actually dumbfounded when I did poorly in my AI course, even though I did extremely well except for my final exam.

Looking back though, I am very grateful for the struggles my professors put me through. They made me. What I learned then carried me a long way, even today. Without the high standards imposed by the schools, an ordinary student like me would not be able to do as well. As I kept telling friends, schools MUST keep their students in discomfort zones to help them learn and improve - the very thing that US schools, in particular SF bay area public schools, have been failing miserably.

g9yuayon··on The quitting economy
Changing jobs every two years is not necessarily a good strategy for techies who want to gain deep experience. When joining a new company, it will take time for one to become productive by learning the dynamics of the company as well as the unique business and technical challenges. And then it will take time for the person to learn something deep by building a truly great product.
g9yuayon··on Employees Who Stay in Companies Longer Than Two Years Get Paid 50% Less
As I often told my friends, go to a company like Netflix. Netflix actually tries very hard to make money not a concern to its employees, and they do hell of a great job.
g9yuayon··on Math education: It’s not about numbers, it’s about learning how to think
Is this a US thing? Why would people still think that math is about numbers? Math is about patterns, which got drilled into us by our teachers in primary school. I really don't understand how US education system can fuck up so badly on fundamental subject like math.
g9yuayon··on Why you should refuse to participate in coding interviews
Coding interviews make sense for great companies like FB and Google. Such companies receive probably tens of thousands of applications every week, and all the candidates who can get an onsite interview have impressive resumes. How do they pick the best and brightest from the best and brightest? Code interview at least sets a higher bar for minimum requirements for two types of candidates: - If a candidate is a genius, the candidate can solve those interview questions easily - If a candidate is not a genius but is truly passionate about CS, the candidate should have read or practiced enough to solve the interview questions too.

Either way, the candidates who pass coding interviews meet the minimum hiring bar.

And don't forget the historical context when Microsoft popularized brain teasers and algorithmic puzzles in its haydays. In the 80s and 90s, there were few interview prep books. There was no leetcode or any other pre site. Those so called teasers are cleverly disguised math puzzles. Remember the questions about pirates dividing up gold coins? Classic math problem. Remember the one that asks how many unfaithful husbands there are in an island? Putnam question solvable by mathematical induction. Similarly, the so-called algorithmic puzzles came from classic CS books or from real projects. Those who can solve the puzzles are either super smart or super geeky. Either way, they were likely to be great hires for Microsoft.

← PreviousPage 8 of 9Next →