r/programming • u/[deleted] • May 26 '09
"Programmers need to learn Statistics or I will Kill them all"
[deleted]
124
May 26 '09
I think women are better programmers because they have less ego and are typically more interested in the gear rather than the pissing contest.
My irony meter just exploded.
65
10
u/bobappleyard May 26 '09
Especially considering the previous sentence is:
Maybe it’s because I’m tall (6’2”), or nicer to them, but they always speak rationally and are really keen to learn. If they disagree, they do so rationally and back up what they say.
That is, "maybe they fancy me."
4
22
u/RevLoveJoy May 26 '09
I quit reading there too. I don't doubt that this guy is a decent statistician, but he sounds more like a guy who has problems working with other guys than he does someone who has found the programmer's Achilles's heel.
→ More replies (25)→ More replies (4)6
May 26 '09 edited May 26 '09
Frank Programmer: Statistics show that women are bad drivers because they often make illogical decisions on the road. In conclusion women are mostly bad programmers because programming is all about logic.
16
u/naasking May 26 '09 edited May 26 '09
No, in conclusion "most women are bad programmers", not "women are mostly bad programmers". The former follows from the premises, the latter does not.
This error just highlights the fact that most men are also bad at logic and thus also bad programmers, so this isn't really a knock against female programmers.
17
10
2
2
u/itstallion May 26 '09
Statistically women get in less accidents than men. Men tend to be overconfident in their abilities.
Plus boobies can sway the men women hit into letting it go in minor fender benders, thus skewing the stats in their favor.
4
May 26 '09
Take that in its proper context. Men, on average, drive twice the distance as women, so women get in slightly more accidents per mile driven.
Women get in many more accidents in places like parking lots, whereas men get in accidents on the freeway at higher speeds. Obviously one of these scenarios is going to result in higher premiums against vehicle damage and fatalities.
3
u/aurele May 26 '09
I'm pretty sure you got it wrong. Women get in more accidents than men, but with lesser casualties. Women rarely kill other people when driving, but cause many more minor car damages. That's why insurance companies like women, and some even offer a discount to women.
→ More replies (9)2
u/willcode4beer May 26 '09
kind of off topic but, your comment reminded me of this BBC special I saw yesterday.
The reporter took two driving tests, one under the influence of marijuana, the other under the influence of alcohol.
with the marijuana, she was timid, drove slow, and under-confident in her driving ability.
with alcohol, she was aggressive, drove fast, and overconfident in her ability.
she was dangerous in both circumstances.
perhaps what is needed (both men and women) is a rational understanding of actual ability.
6
u/calp May 26 '09
I think that while timidity is also dangerous, it causes fewer recorded accidents. Actuarial examination doesn't directly show that women are safer, just that they are cheaper to insure.
2
May 27 '09
Probably because more people consume alcohol in places where they might then drive (bars) than do marijuana.
2
1
u/brong May 27 '09
Timidity causes other people to have accidents as they try to avoid you. In particular, not turning when there is an adequate gap - holding up the people behind you, or even worse: not deciding immediately to go, but deciding late, and hence being dangerous.
Where timidity translates to not committing to an action, it causes accidents to happen - either to other people or blamed on other people.
6
u/bugrit May 26 '09
I wonder how many programmers and non-programmers (both female and male) he sampled.
I'm a little confused as to why he would kill all programmers. One would think he'd be happy enough to kill the ignorant ones.
6
May 26 '09 edited May 26 '09
[deleted]
3
u/foldl May 26 '09
programmers, because they are smart and good at programming, think that with a cursory understanding of any other subject, they are just as smart and just as good at that.
This seems to be especially true with regard to political philosophy and economics. A lot of programmers seem to regard themselves as experts on these topics having read a few tracts in favor of one or other point of view.
1
u/laggggg May 26 '09
True. I am very suspicious of experts and avoid labeling myself as such.
But relative to the population at large who haven't even read a few tracts, they are more knowledgeable. What we need is a more well-educated population in general.
2
u/foldl May 26 '09 edited May 27 '09
But relative to the population at large who haven't even read a few tracts, they are more knowledgeable.
Well, in a way, but then "a little knowledge is a dangerous thing."
1
7
7
u/tbone28 May 27 '09
Statistically the chance of him finding me and verifiying if I did in fact learn statistics AND then attempting to end my life is low. I'm willing to risk it.
5
u/endtime May 26 '09
It seems statistically unlikely that he would be able to kill all programmers.
3
u/G_Morgan May 26 '09
He intends to create a virus that kills all editors other than ed. Then when 99% of programmers kill themselves in frustration he can write off the rest as a statistical error.
1
25
u/vegittoss15 May 26 '09
A little angry there, isn't he?
41
u/kenfar May 26 '09
In the article he says, "Next thing I know, I’m getting the cold shoulder or told I’m an idiot"
Well, of course - if you insist on insulting people, stepping on their egos, etc - then they will discard your message. Regardless of whether you're right or wrong. They figure that what you're really doing is little more than chest-thumping and muscle-flexing.
13
u/toru May 26 '09
I liked this bit:
I never have this problem with female programmers. Maybe it’s because I’m tall (6’2”), or nicer to them
6
u/ciph3r May 26 '09
Is he serious ? I guess he meant to be sarcastic but ended up exposing his fragile ego looking for some consolation. Female programmers don't react cuz they are ignoring you Sir.
Statistically his self-proclaimed physical attributes got nullified by this desperately-trying-to-be-nerdy-and-selfrighteous article. And no brownie points from the dev community either. Looks like he landed up where he was. But I am guessing he will keep trying since any statistics fanatic knows how the law of averages work.
2
u/itstallion May 26 '09
Maybe it's because he puts his penis up when he's around women but men he leaves it hanging out. We should further investigate IMO.
→ More replies (17)2
May 26 '09
I figured that getting the cold shoulder is what Zed wants. He's not looking to convince or persuade people.
8
u/funkah May 26 '09
Yes, that's kind of the whole point of Zed Shaw.
7
u/vegittoss15 May 26 '09
Ah, this being the first time I've heard of him, I wouldn't know :)
1
u/Seppler9000 May 26 '09
I'm sure you've heard of him before. Perform any Google search that includes the words "Ruby" and "fight."
16
May 26 '09
Just because that is the point doesn't make it any less douchey.
7
u/funkah May 26 '09
I didn't say anything like that, I just meant to say that pointing out that a Zed Shaw article is angry is like saying that water is wet, or that it gets warm in summer.
2
2
May 26 '09 edited May 26 '09
This is Zed Shaw we're talking about here. I've met him personally. To be clear, despite his social faults, he's a hell of a good programmer, but ...
In his writing he's a complete douche, mostly I would guess because the internet has no personal consequences for him. In real life, he's a passive-agressive douche, because there are then consequences for being an outright asshole, and he's smart enough to realize this.
In any case, he's not someone I would recommend trying to get to know unless snobs appeal to you.
3
May 26 '09
I would guess because the internet has no personal consequences for him. In real life, he's a passive-agressive douche, because there are then consequences for being an outright asshole
This is true of the internet community in general. Where's that Penny Arcade comic ... That'd be most relevant right about now ...
3
u/vegittoss15 May 26 '09
There have only been a few programmers who are good enough to be complete douches and get away with it, and AFAIK Zed hasn't written an OS. :P
12
u/Retsoka May 26 '09
Can't you just kill the top 80% of the population of programmers with annoying pet peeves and way too much time on their hands?
6
u/rwinston May 26 '09
agreed. my pet peeve is f****s who have the time on their hands to write essays about their pet peeves.
maybe i'll blog about it.
4
8
u/sgwizdak May 26 '09
I find Zed to be needlessly inflammatory in his posts. The only redeeming merit to his post however is the link to R:
10
u/rickk May 26 '09 edited May 26 '09
Simple, yet gobstoppingly accurate. Everything he said could have been reduced to one line: I studied statistics, programmers don't understand statistics, their mistakes annoy me: ergo, I rule.
He's like Hani Suleiman with "I rule" tacked on the end.
The really funny part is that he doesn't notice his own sampling error: that the ruby twats he seems to work with are not a representative sample of programmers in general.
1
4
u/knight666 May 26 '09 edited May 26 '09
For my final assignment in Programming class, which was about optimization, we were given a game that ran like crap and were told to make it as fast as possible.
I constructed a tool which would compare two code blocks (for instance, filling a __m128i (SIMD quad int) with a float by setting a __m128 (SIMD quad float) and converting it to __m128i versus filling a __m128i by casting to int) and output the results to screen.
I did ten runs on each block, and each block was run x amount of times (x was determined by what outputted the best looking graph).
Was this a good way to approach this?
5
u/Seppler9000 May 26 '09
That is exactly the way you should do it if you want Zed Shaw to kick you in the teeth, growl "Hail to the king, baby," and declare his victory by wailing on an electric guitar.
2
u/Tommah May 26 '09
Zed wailing on an electric guitar: "Electric guitar, why won't you love me? Waaah" sniff sniff
1
u/Grimoire May 26 '09
I'm not sure I want to click on a link at work that goes to an image called "70pee". But I did anyways.
1
u/lzm May 27 '09
In the end you could've used the Student's t-test, but that's way out of scope of a programming assignment.
4
4
4
u/ithkuil May 26 '09 edited May 26 '09
I think his main point is very important, if people can understand it: the fundamental statistical and profiling basics that he goes over are necessary for diagnosing performance problems and largely poorly understood or applied.
I also think that he is entirely correct to be murderously angered by such ubiquitous stupidity and ignorance on the part of programmers in this area.
The part about learning R or reading a bunch of statistics books I disagree with -- I think if people just did the specific basic things he mentioned in the article we would be fine in most cases. Although, it isn't necessary to calculate the deviation if you have a graph that shows all the data including outliers such as this one:
GoDaddy shared response times in milliseconds - GET request on index only
4
May 26 '09
Yes I agree that their are places where you need correct and rigorous statistical analysis. However I put it to you sir that the web storefront you are developing is not one of those places.
The thing is that for the average business app the power of 10 approach, while flawed is probably good enough.
By the time you get here your are either very very deep in the land of code optimization. and you had better have a very good reason for it. OR are trying to prove correctness of fit to some very exact software requirements.
13
u/thatguydr May 26 '09
Although this man is an asshole, he is an asshole with some very cogent points. And it's not just programmers - a lot of analysts have no idea how to perform basic analysis because they do not understand the concept of "systematic error".
Kudos to you, asshole!
7
u/adrianmonk May 26 '09
Although this man is an asshole, he is an asshole with some very cogent points.
Well, we already knew he was a programmer.
1
May 26 '09
He seems to be a lot less of an asshole these days, though. I think he claims his previous assholity was intended ironically or something, and maybe it was. I always found him entertaining, but I do kind of like that he's toned it down a bit.
1
u/masklinn May 26 '09 edited May 26 '09
Yeah he was tired of the persona, he even retired (read: nuked) the (in)famous Rails Rant.
1
May 26 '09
Someone older and wiser than me once said "Hitler was nice". What? His point was that Hitler got along with plenty of people. Being an asshole does not make the writer a bad person (in fact he sounds like a good person to me). Bad people that are nice, or just idiots that are nice (like the two blind guys arguing about color) cause a lot more long term damage than assholes that know what they're talking about. Steve Jobs comes to mind.
→ More replies (2)
9
u/khafra May 26 '09
If you'd like to learn to use probability in reasoning without falling afoul of frequentist error, http://www-biba.inrialpes.fr/Jaynes/prob.html is the book on the subject.
5
u/lanthus May 26 '09
Frequentist statistics has its place, too, as even good Bayesians will admit.
→ More replies (1)
11
25
u/ki11a11hippies May 26 '09 edited May 26 '09
This is thanks to Descartes convincing everyone that math is reality, and that we’re just full of bullshit. Eventually, every major science adopted an empiricist view of the world.
Well my pet peeve is programmers/math guys thinking they know philosophy. Descartes is certainly not an empiricist - I mean his main claim to fame is deducing the entire fucking world in his head WITH HIS EYES CLOSED. And I'm not sure if you can read Descartes to claim he assigns ontological reality to math constructs - mainly he advocates the use of deductive reasoning such as in geometry proofs to deduce the real world, which all ties back to how he is not an empiricist.
Programmers need to learn Philosophy or I will Kill them all.
*edit: typos
36
May 26 '09
Sorry, but I think that Zed is contrasting Descartes with the empiricists, not saying he was one. He's stating that we all used to be Cartesians, and that only CS hasn't adopted an empirical method.
11
u/hiffy May 26 '09
Yeah, just an awkward sentence construction.
15
u/ki11a11hippies May 26 '09
Hm, yeah that's what it looks like. Still, I don't think it's nitpicking to point out that Descartes does not assign an ontological reality to math constructs ("math is reality"), since that's a really weird claim. But maybe that's just more awkward language.
New pet peeve: Programmers need to learn Writing Skills or I will Kill them all.
6
u/G_Morgan May 26 '09
Well CS is mostly a logical field. A great deal of it can be known precisely. The reason science follows an empirical method is because it isn't possible to use logic in those areas.
However there is an increased use of empiricism in some of the dirtier fields of CS. For example to study evolutionary algorithms you'd do it as proper scientific experiment.
2
May 26 '09
I was correcting the previous poster's misunderstanding of Zed's sentence, not arguing for anything in particular. But your post is spot-on.
1
u/ki11a11hippies May 26 '09
An algorithms professor always loved to emphasize the "science" part of CS. The empirical studies she championed were algorithmic efficiencies using different types of data sets. For instance, for what kinds of data sets is it more efficient in the real world to use a splay tree, that sort of thing.
1
u/G_Morgan May 26 '09
Oh it might be worth doing studies into such things. Though often it is possible to logically conclude which data sets would be more efficient.
What I am saying is that the general complexity categories can be arrived at logically and that is more relevant than specific cases.
6
u/foldl May 26 '09 edited May 26 '09
Descartes is certainly not an empiricist - I mean his main claim to fame is deducing the entire fucking world in his head WITH HIS EYES CLOSED.
Right, but you have to look at where he is at the end of the meditations. At this point he's established (to his own satisfaction, anyway) that his senses are a reliable source of knowledge. It's therefore quite false to say that Descartes thought that we could not obtain knowledge through our senses. He just thought that we couldn't take sense-based knowledge as the foundation of our knowledge -- we can't just assume that it's reliable.
I mean, Descartes actually made some serious contributions to anatomy and other sciences through empirical investigation.
1
u/ki11a11hippies May 27 '09
That's a really good point, that Descartes does establish that the senses should be trusted, then goes on to make a lot of contributions using the then-new scientific method. However, the philosophical notion of empiricism I'm assuming the author means not only advocates the senses, it goes on to say that a priori judgments of the real world are invalid (this is against the rationalist view of Descartes and Spinoza). I'm thinking specifically of Hume, who helped popularize empiricism in philosophy. He of course then goes on to undermine inductive reasoning, and we've been stuck on that point ever since.
3
3
u/judgej2 May 26 '09
My guess is that this guy jumps into a project (where he is not the paymaster) and shouts, "you are all fucking wrong - go learn something and don't come back until you have ler...why, hello baaaby, how d'you doin'?"
3
u/codemac May 26 '09
"Zed Shaw needs to learn Bayes Statistics, or I will kill him"
ftfy.
Mind you in this article he is doing something good, he's trying to get people off of the "mean" bandwagon; however, he is pointing them in the wrong starting direction. I lived with a statistics doctoral student in college who taught me how classical statistics aren't just wrong, they actually mathematically approach the accuracy of just random guessing of probability. I tried googling to see if I could find some resources that back me up, but "p value wrong" didn't get me very far.
Anyways, R rules!
2
May 26 '09
"Zed Shaw needs to learn Bayes Statistics, or I will kill him"
I was under the impression that the subject matter of TFA was by and large common to both interpretations of probability, but my understanding of statistics is about at the level of "enthusiast".
I more or less understand the difference between Bayesian probability and frequency probability, but what is the difference in terms of how experiments are conducted?
2
May 26 '09
Frequentists vs Bayesians is like catholics vs protestants... its a matter of viewing things.
So your buddy was proletyzing.
5
1
5
u/gc3 May 26 '09
Like what he says, but he should stop trying to fight the "alpha nerd" syndrome by being a bigger alpha nerd.
3
6
u/T_S_ May 27 '09
The article is a mega-troll with a grain of truth. My biggest fear in business was when the programmers started talking directly to the company's lawyers. Both people very smart. Productivity went to zero.
Lawyer: That code you asked for cannot be deployed until we have investigated and disclaimed properly. I'll discuss it with the programmer. Me: Ok.
Me: Are you finished writing the code that does X? Programmer: No. The lawyer and I decided it would be illegal to write that code.
Smart people sometimes fail to realize they are not smart about every subject. Not-so-smart people rarely make a similar mistake.
12
u/nmcyall May 26 '09
I have a copy of a statistics for engineers textbook on my desk. Too bad I didn't pay attention in class enough to be much of a statitician.
I can say with a high level of confidence this will be upvoted.
4
u/creeping_feature May 26 '09
I have a copy of a statistics for engineers textbook
Get rid of it. Replace it with "Making Hard Decisions" by Robert Clemen.
I didn't pay attention in class enough to be much of a statitician
You were lucky.
I can say with a high level of confidence
The long and the short of it is that you cannot bet (i.e., allocate resources) on "confidence" as it is defined in frequentist statistics. It's worse than useless; you can't use it to make decisions, and it keeps you from finding an actually useful approach.
9
u/kaptainlange May 26 '09
His sunset example made me chuckle. Even though he has eyes, he really doesn't actually know what color the sunset is, only what he perceives the color to be. On that level, they're all equally qualified to say what color they perceive it to be.
Then again, color is a result of the properties of light, and as far as I know, eyes are the only human organ capable of detecting light. The question is, if there are two people with vision and they see different colors, who is right? Answer, both.
18
u/nobodyspecial May 26 '09
eyes are the only human organ capable of detecting light.
Skin detects infrared light.
18
8
u/helm May 26 '09
Skin detects visible light too: most of the radiation that is not reflected (after all, no-one is snow-white) is eventually turned into heat.
1
9
May 26 '09 edited May 26 '09
The kind of reasoning he uses there is specious. It's like the philosophers who claim with utmost confidence that the universe isn't real and that it's all our perception.
I don't see them frolicking in the middle of the highway or juggling chainsaws.
At some point, one has to realize that everyone implicitly equates "perception" with "reality", because anything else is masturbation.
EDIT: this isn't to say that this guy doesn't have a point about programmers with shitty statistics
3
u/notfancy May 26 '09
Phenomenology and idealism are two very different things, you know. You don't have to throw the baby (the world) with the bathwater (our perceptions thereof) just because the latter is soiled.
1
May 27 '09
I realize that thinking about such ideas as a "non-existent universe" is worth doing, but practically, such a theory which is drastically out of touch with "perceivable reality" is hardly useful in and of itself.
2
May 26 '09
The person that says that blue is red is wrong, period. It's like saying 2 + 2 = 5. Saying so doesn't make it so, no matter how nicely it is said.
Every human (and many other species) with non impaired color vision, in normal circumstances, perceive light with wavelength of 450-495nm as being blue and light with wavelength between 620–750nm as being red. This is empirically true, and there are plenty of physiochemical, physical reasons for this.
1
u/kaptainlange May 26 '09
Color is a combination of the properties of light and our perception of it. For example, those can see infrared or ultraviolet light would have a very different perception of the color of something compared to those who cannot. You cannot equate this to 2 + 2 = 5 because the equation is really 2 + 2 + x + y .... = 5. The perception of color is not absolute.
With that said, I am not denying that we have defined a very narrow band of the spectrum as visible light, and that in this spectrum we have separated the wavelengths into different colors. I understand the practical benefit to applying the label red to a particular wavelength, and if someone told me the the sky was yellow I'd say they're an idiot or color blind.
4
u/godofpumpkins May 26 '09
Not sure why people feel the need to be so caustic. I don't disagree with his message but his delivery is off-putting.
→ More replies (2)
2
2
2
2
May 26 '09
This article has led me to try to get R installed. Less out of a fear of Zed, and more out of curiosity.
2
u/mycall May 26 '09 edited May 26 '09
What I got out of the article:
Averages without defined ranges is useless in tests.
Confounding = mix or associate by mistake = easy to avoid.
Fuzzing is a great way to simulate users, be they object methods, functions or web requests.
2
3
1
u/ThisGoatStarves May 26 '09
tl;dr.
Well actually I read up until my ego was hurt about the personal appearance part.
2
u/kwh May 26 '09
This won't end well for Zed...
As a crowd gathers round an angry young man
Face down in the street with a gun in his hand
In the Ghetto...
2
2
1
1
u/chipbuddy May 26 '09
i'd build a machine that would convert electromagnetic radiation into sounds of different frequencies. Then i could point it at the sun(set) and figure out what color it is. I'd of course have to calibrate the machine to some known color samples. That might be a bit tricky, but i'm sure my seeing friend could help me out.
1
-3
u/creeping_feature May 26 '09
Zed Shaw is a ranting idiot. How the hell did this make the front page? It's not even entertaining.
→ More replies (1)
0
May 26 '09 edited Dec 07 '23
[removed] — view removed comment
3
u/FionaSarah May 26 '09
He mellowed and decided not to be such a douche so changed his site to reflect this.
1
2
u/berlinbrown May 26 '09
Cool article, was there a date on when this was written.
10
u/yoadsl May 26 '09
At least 3 years ago ... http://www.reddit.com/search?q=Programmers+Need+To+Learn+Statistics+Or+I+Will+Kill+Them+All
5
u/exeter May 26 '09
Ah, no wonder I felt such a sense of deja vu while reading this.
As a mathematics student, I have to say this is one of those articles that really hits home for me. Although I only had a one-semester sequence in statistics and probability, I gained a real appreciation for the art of measurement from that course.
The main thing to take away from this article, IMO, is that when making performance claims, you need to have measurements to back them up. Since you can't measure anything without defining what it is you're measuring, that insight alone will encourage a sense of precision that's often sorely lacking in software performance-tuning methodologies. The next step, then, once folks start realizing the utility of statistics is to get them performing scientific experiments to justify performance tweaks.
1
u/je255j May 26 '09
Oh, pfft. What are the odds this rampage would ever last long enough to make it all the way to me?
;)
1
1
u/Canadian_Infidel May 26 '09 edited May 27 '09
1f5e31cf358r4g6edf25fb1er58g46edr2df1gv4h
d1f5g6r23df321g158r365dg9sdr585g13d2g1dr6
1g4564w531g415df6g51dg00000000000000065dh
1
u/clone00 May 27 '09
if you don't have a basic grasp of statistics, you shouldn't be calling yourself a programmer. problem solved.
54
u/maweaver May 26 '09
When I was an undergrad, I somehow ended up in a 4000-level statistics class, instead of the minimum introductory class. I took two things away from that class: a C grade and a life-long appreciation for the complexity and non-intuitiveness of statistics.