352 points · by signa11 · 15y ago · 126 comments
Yinghai, we have had this discussion before, and dammit, you need to understand the difference between "understanding the problem" and "put in random values until it works on one machine".
"There was absolutely _zero_ analysis done. You do not actually understand WHY the numbers matter. You just look at two random numbers, and one works, the other does not. That's not "analyzing". That's just "random number games".
But an attitude combined with less than excellent technical insight is, of course, going to get posts downvoted into oblivion. Well, -4, anyway.
On the other hand, I've seen him trying to strong-arm his view in another case in just the same manner. Only here he had no technical (nor organizational) argument, beyond, ``it's easier to hack glibc than make Adobe fix Flash Player and make developers read man pages of memmove(3) and memcpy(3)''.
Oh well.
I downvote when people don't add to the conversation; when I consider them to be wrong or misleading (or when we had comment scores if they're comments seemed over-rated).
Personally I don't find anything wrong with the comment made there - the chap is just asking that things aren't done without a proper rationale. Doesn't seem brusque, harsh or patronising to me.
Just decide not to be offended, job done.
Otherwise, you get either self-serving double standards or fawning hero worship (or both). Neither is strange, but neither is healthy.
HN on the other hand is the place where people come for communication and it is primary purpose, or secondary to - you know - news, but still very high on the list.
When Zed Shaw says stuff here, I think sometimes it's up-voted and some times it's down-voted. Sometimes the up-voted stuff is good and sometimes times the down-voted stuff is bad.
In ways, I think that relationship is better. Zed has carved-out the position of being celebrity who's not automatically respected. Being a curmudgeon myself, I respect him more for this...
Also, I've seen some high karma folks here still get -4's (back when karm was visible).
Most people (including Linus at times, credibility does not make you immune) confuse that issue.
A novice was trying to fix a broken Lisp machine by turning the power off and on.
Knight, seeing what the student was doing, spoke sternly: "You cannot fix a machine by just power-cycling it with no understanding of what is going wrong."
Knight turned the machine off and on. The machine worked.
I can't think of how many times someone has come to me with a computer problem, or I've gone to a vendor/support chat with a problem that hasn't worked dozens or hundreds of times. Then suddenly, with the guru there, whether it is me or someone else, suddenly the problem evaporates.
I've found myself wondering if this wasn't some illusion, but an actual artifact of the nature of the universe. Think about it: if noob's problems everywhere were actually the universe not letting their shit work, there would be no one to ever notice it; because when the expert comes in and fixes it, it is magic to the noob anyway, and the expert is 100% used to mundanes not having their stuff work for any given reason.
It's called "confirmation bias"
I propose we name it the Zawinski Effect.
When Yinghai answers:
We did do the analyzing, and only difference seems to be:
good one is using 0x80000000
and bad one is using 0xa0000000.
he clearly didn't understand what Linus meant by "think and analyze".I don't know the Chinese culture well enough (assuming Yinghai is from China), but I am under the impression that they would emphasize more on results (fix the problem) than on processes (understand why the fix works, in order to be sure we are not breaking something else).
Am I wrong?
On the individual level, he did do the debugging and analysis, on a smaller scope. Linus was asking a bigger scope analysis and a lot of work. Some people are willing to spend time to understand and fix problem for free. Some people have better things to do and aren't willing to spend the time to do it. That's their prerogative.
On a nation level, there are Chinese who want to get things done and there are Chinese who want to understand the root causes, just as there are people in other nations/cultures who want to get things done and there are people who want to understand the root causes.
A patch like that has zero (actually, negative) value. It simply shouldn't be accepted and regressing to the last "working", most tested version should be the option.
So, all in all, if you are not willing to do your homework well enough, it's better for everybody if you don't bother at all. It wastes both your time and the maintainers' time. Linus' time no less.
On your second point, yes, you can say of any cultural group that there are people who do X and people who do non-X, but that doesn't proves that there are no global traits and that all cultural stereotypes exists for no reason.
But I understand your point as "you are wrong to try to attribute the behavior of an individual to a stereotype, since they can only be used at a very broad level", and I think you're probably right.
Also, issues like "Why don't you accept my (seemingly) working patch?" appear quite frequently in a lot of Free Software projects, independently of the nations of the people.
I guess this cultural difference has more to do with professionalism and long-term experience on software projects.
The greatest living mathematician has Chinese origins: http://en.wikipedia.org/wiki/Terence_Tao
If someone 'thinks and analyzes problems' then he does.
I don't like categorization by nation because I am Hungarian and I am afraid a lot of people in the U.S. who don't know me yet thinks something entirely different of my problem solving style than reality.
I'm a great believer in cultural traits, and I think they are normal. We are not all identical, and we are not all totally randomly different. We all share some cultural background from the country we grew up in, in varying degrees, and it does not prevent any individual from having any specific ability.
Yet, I was wrong to try to correlate a specific behavior of a specific person to his/her culture. That's where my logic was flawed.
If anyone wants more insight on cultural differences, I really recommend "When Cultures Collide" from Richard Lewis, it's a great book.
What assumptions do you normally encounter?
Are you implying the "fix it and get it done with" people don't exist in other nations?
Mind you, cultural traits of nations are a reality. I'm a Franco/Brazilian guy living in Vietnam, and I have seen it well enough. It doesn't mean that since you're from country X you will do Y, but it helps in understanding general behaviors.
edit: excellent book on this topic: When Cultures Collide, by Richard Lewis
http://www.amazon.com/When-Cultures-Collide-Richard-Lewis/dp...
So you admit you are just fuelling your confirmation bias.
Hmm...there's a problem with this code. It looks like changing this index to start at 5 works. OK, bug fixed!
Don't just make random changes. There really are only two acceptable models of development: "think and analyze" or "years and years of testing on thousands of machines". Those two really do work.
This definitely struck a chord, though, and I have my own saying for silent retorts:
"It's a computer program, not a #$%^ing Advent calendar."
The point being, I want to see analysis and process, not just the right numbers popping up in the right boxes.
http://pragprog.com/the-pragmatic-programmer/extracts/coinci...
If all you do is listen to the tone, then YOUR WORK WILL SUFFER. Because if someone comes up to you and says, "you dick! What the fuck were you thinking putting that double dereference there?? There's no way it could ever work!"
If you stop listening after, "you dick! What the fuck were you thinking..." then you will miss out on learning something that you should know. The person is angry BECAUSE you have been stupid. Yes, that sucks, and perhaps they should learn to control their temper. But you can't do that for them. What you CAN do is be less stupid next time!
Usually, people speaking with a scornful tone of voice (or the written equivalent) are more venting than they are providing useful information. There's no need to pay too much attention to whatever they have to say, because if it's a big deal they'll say it again once they've calmed down.
I've noticed that when programming computers there are very few problems that can be fixed by behaving like a dick. And those that can be fixed by behaving like a dick, can also be fixed whilst behaving in a more gentlemanly fashion. The rest can be left unsolved, politely. There's really no reason not to do this.
The realization that a magic number was already being used could have caused one of two outcomes:
a) justification for replacing one magic number with another
b) realization that more research needed to be done to understand exactly what was going on in the first place
I appreciate seeing (b) as the option chosen. We should all strive to be this diligent.
Making changes until someting seems to "work".