HNHacker News
TopNewBestAskShowJobs

swatow

404 karma · joined December 7, 2014

submissionscomments
swatow··on Signs that you're a bad programmer (2012)
I would be suspicious of any subroutine whose function couldn't at least be described in words. So I agree that a function might be practically impossible to use in any other context, but it's worrisome to me when I see a function that doesn't do something that can be described in words.

In most cases, after factoring out a function from a bigger function, it's usually a good opportunity to think about what this function really does, and to make it do something conceptually simpler (even if that is less tailored to its sole use case). This way, you can even write meaningful tests for the new function.

swatow··on The $30/hr Data Scientist
You're the one who doesn't understand the free market.

Grad students tend to be intelligent capable people (from privileged backgrounds too!). Therefore we don't expect grad students to be desparate, because we infer that they ahve a lot of other options.

The only sense in which grad students are desperate, is that they really want the other advantages that being a grad student confers, most of all the education and experience, and the degree they get at the end. And this was precisely the point of the post you replied to: graduate students are getting non-monetary compensation.

If you disagree, I challenge you to find one testimonial from a grad student whose story is that they were so desperate for money, that they had no choice but to enroll in grad school to make ends meet.

swatow··on Machine Learning for Programming – Peter Norvig
What would that union do? Use violence or the law to force employers not to automate programming? That would be a net negative for society. One thing I like about nerd culture, is that the kind of self deception needed to convince oneself that a union is good for everyone, is absent from the nerd community. Amongst socially better adjusted people, the in group instinct is stronger, and even smart people convince themselves the the supply of labor in their industry has to be restricted, (for the good of all, of course).
swatow··on Academia's 1%
and exactly the same thing now happens with Asians.
swatow··on Academia's 1%
Just 18 elite universities produce half of all computer science professors, 16 schools produce half of all business professors, and eight schools account for half of all history professors... What that means is something every Ph.D. from a less-prestigious institution knows all too well: No amount of publishing, teaching excellence, or grants can compensate for an affiliation that is less than favorable in the eyes of a search committee.

This is just wrong. It is possible that publishing and grants are correlated with institution rank (and teaching excellence is usually a relative measure so hard to compare across schools anyway).

It seems decades of anti-discrimination indoctrination have resulted in a situation where no argument is to sloppy, and no evidence is to flimsy, when you are arguing that discrimination exists somewhere.

swatow··on Social conformity despite individual preferences for distinctiveness
You seem to have missed my point. Either way, you are making a lot of assumptions. It's like "assume zero friction" vs "assume friction follows exactly this formula". In either case, your result is wrong if friction isn't exactly as you specify.
swatow··on Social conformity despite individual preferences for distinctiveness
Yes, and so we should treat the result with caution. But the results I were critiquing are worse, because they assume homo economicus plus some very specific deviations, or some very specific (non-free market) environment.

The paper (and most game theory based papers) also assumes that people are perfectly rational and have perfect knowledge. The only difference is that instead of actions being restricted to the free market, and payoffs being consumption, game theory allows an arbitrary environment (chosen by the paper author) to provide the actions and payoffs.

swatow··on The Online Abuse Prevention Initiative
Would a campaign to get someone fired because they held progressive political views, be considered harassment or abuse?
swatow··on Social conformity despite individual preferences for distinctiveness
The problem with this sort of analysis is that its trivial (assuming you have time) to turn any common sense argument into a mathematical model. In game theory, it's unlikely that the math is ever going to say "I can't let you do that" [1].

What actually gets published tends to be filtered by its political content. In particular, results with a liberal bias tend to be promoted.

[1] In classical economics, the reverse holds. It's very hard to show that any mechanism is possible under the assumptions of classical economics. Hence the huge number of negative results: (a) Coase theorem, (b) the Modigliani-Miller Theorem (irrelevance of capital structure) and (c) Ricardian equivalence. All these results basically say that if you try to do X (where X is (a) change people's actions that have externalities by assigning property rights, (b) change the value of a firm by changing its capital structure, and (c) change people's actions by government spending), the free market will completely undo your actions and leave the situation unchanged.

swatow··on The Drug Cartels' IT Guy
If they were focused on the core mission of delivering and only killing people as needed, they'd probably have a stack of resumes metres deep.

Unfortunately it's not so simple. You start out as a Chemistry teacher who just wants to make money on the side giving people a quality product, and end up committing multiple murders.

EDIT: I just read what you actually wrote. only killing people as needed??? You're nuts.

swatow··on The Online Abuse Prevention Initiative
You seem to have moved the goalposts here, from actually being responsible for abuse, as a group, to being perceived as being abusive.
swatow··on The Online Abuse Prevention Initiative
When people are exposed as saying "racist" things, they often experience a torrent of abuse, including violent threats.

Do you think the ant-racist movement is morally equivalent to GamerGate because they have "done absolutely nothing to stop it"?

swatow··on The Online Abuse Prevention Initiative
The problem with abuse is that it is an ambiguous term.

For example suppose I were to criticize Zoe Quinn or Anita Sarkeesian. And suppose other people read my criticism, and decided to make nuisance phone calls, or even more severe forms of harassments. Was my original criticism harassment? Because that is how the GamerGate movement has been characterized. Since some people allegedly engaged in things that were clearly defined as harassment or abuse, it was considered that the entire "movement", i.e. everyone making the criticism, was engaging in harassment.

Let's turn this around, and consider whether it is "abuse" when people criticize right wingers.

The situation is especially problematic because the law also contains ambiguous crime such as harassment.

swatow··on The invisible network that keeps the world running
When things move so slowly, there is no advantage to being autonomous. And it makes little difference economically who the owners are. Right now, ships will change their speeds based on changes in interest rates, since it is more fuel efficient to move slowly, but when interest rates go up, it is worthwhile to get the cargo to its destination quicker.
swatow··on France wants companies to make appliances that last longer
You're not considering the cost of obtaining this information. And plenty of reviews that I read contained information on the lifespan (usually in the form of "this broke! zero stars!")
swatow··on France wants companies to make appliances that last longer
Everything is a tradeoff with phones. There is a tradeoff between phone size, battery life, and processor power. One day is a natural sweet spot since people charge their phones at night. Sure, this will result in a less-than-one-day battery life over time But people might have been happy to replace their phone anyway for other reasons.

Supporting old platforms is not just cross compilation, or at least the cross compilation involved is highly non-trivial.

I would say that excessive cynicism is as bad a bias as naivety. Everything you describe is actually consistent with perfectly informed consumers and profit maximizing companies. You are just not looking for explanations along these lines.

swatow··on France wants companies to make appliances that last longer
> Anything that gives customers more accurate information should lead to better-functioning markets.

Not if the information is vague or subjective or manipulable (as I think "expected lifespan" would be), or if that information is very costly for the manufacturer to estimate, or for the government to verify.

Sometimes its better to let the market work on its own, e.g. through product reviews.

swatow··on France wants companies to make appliances that last longer
I doubt planned obsolescence is common. Think about the reaction of the consumer to something breaking down. Do they go "that was a great product, pity it broke, better buy the new version" or do they say "that was a shit product, I'm getting a different brand". And what about people figuring out which products break early from Amazon reviews?

I think this law is probably heavy handed and unnecessary. Especially in an age where most people spend their money on items like phones and laptops, which are reparable and become obsolete very fast anyway.

swatow··on Ask HN: “Are you a good programmer?” – is it a pointless question?
While it's interesting that you got sensible answers, I also think it's too subjective to be a good question. Some people exaggerate their skills, while others are too modest. Some people might think you are testing their self-confidence, while others might think you are laying a trap.

I would simply ask technical questions and judge for yourself. Some whiteboard coding can't hurt.

swatow··on How We Learned to Kill
I find it very strange that people talk about soldiers as if they had some special moral responsibility for what happens during a war.

Sure, they should be thinking about the implications and ethics of their actions, as we all should, and yet they also signed up to serve the nation, and to do what their nation thought necessary and just. Do people think that democratic nations should not have armies, and it is an ethical imperative for Americans, English and others to refuse to serve? If not, then it is all of our responsibilities, as voters and citizens, to ensure that only just wars are fought, and using ethical means. If not, then we are all responsible, not just the soldiers.

Instead of asking "how could you kill someone" we should be asking "how can you live in a political system that causes people to be ordered to kill people, in which you have the ability to change this fact".

I'm not a pacifist myself, I just don't see how in a democracy, the buck stops with the soldiers.

swatow··on Beware the Pretty People
Nice link on the "Motte and Bailey" article. I might link to this in my blog since I independently came up with the same argument.

In this case, I think one version of "privilege" is the idea that our society involves unipolar power relations where one group/ideology is privileged and enjoys special advantages. Individual people might in some ways align with this group/ideologies, and in other ways not (this is called "intersectionality"). But when they do align with this group/ideology they receive some of its benefits.

Sago's version is that privilege is just another word for any group having any advantage for any reason. I.e. "privilege" stripped of its underlying assumptions about societies power structure. It's unfortunate that Sago feel so strongly that they represent sociological research, when I think that almost all sociologists use the other definition.

Sago says that Asians might be privileged simply because their culture [0]. The orthodox view would be that Asians only receive White privilege, by their willingness to accept both the White lifestyle, working under a capitalist system, and adopt White views on Black/White race relations. To the extend that Asians also study harder, that would be an accident of history, and probably something an orthodox sociologist would try to downplay (e.g. by looking at Nth generation Asians).

[0] https://news.ycombinator.com/item?id=9126189

swatow··on The Trans-Pacific Partnership clause everyone should oppose
I don't know. Why does economic orthodoxy result in smug self assured replies and downvotes, even though when people choose to educate themselves (by taking college courses, not reading blogs or non-mainstream sources) they almost all are convinced by the orthodox outlook?

I honestly feel like a pro-vaccination advocate when I post about economics.

EDIT: And to address your (very weak) point, how does working in factories not make people in poor countries richer? Are you aware of what a Chinese farmer makes per year, compared with a Chinese factory worker?

swatow··on Beware the Pretty People
1) How many jobs that are known for attracting socially adjusted, good looking men can you name where most of the winners are women?

2) How many high social status, well varied jobs can you name where most of the winners are women?

Law is both high status and favors people who are attractive and have good social skills. According to [1], women are 34% of the law industry compared with 12.33% of software engineers [2].

3) You defeat your point in your own parentheses.

Not really, because there is still a gender gap in math and physics, and so this just means (3) does not explain all of the gender gap in CS.

EDIT: I'm not going to reply to any comment that isn't a reply to this. You don't have to agree with the way that the delay before you can respond to a post grows exponentially as thread depth increases, but threads are unreadable if you try to circumvent it.

[1] http://www.americanbar.org/groups/women/resources/statistics...

[2] http://qz.com/143967/the-tech-industrys-woman-problem-statis...

swatow··on Beware the Pretty People
>Here's an intellectual way to approach the problem: Stepping back from our society, in some meritocratic system why would 38% of a population[1] produce 90%[2] of the winners? And is it coincidence that the 38% group has controlled power, wealth, and privelege for hundreds of years, and still does in most other situations (governnment, non-tech business, etc.)?

That is actually the least intellectual way you could approach the issue. You are relying on people self-censoring (and we may see some downvotes to provide some real censorship). But I will give you the uncensored answer. There are, in fact, a number of possible reasons apart from the one you have in mind. Here are some.

1) Tech is meritocratic so it attracts men who are less physically attractive or socially capable, because they mainly need technical skill. This in turn makes the field less attractive to women.

2) Tech is a monotonous job with low social status, and so it attracts people driven by ambition and desire for money, who tend to be male.

3) Women are fundamentally less interested in technology because they prefer fields with human interest (though this doesn't explain the gap between programming and, for example, math or physics).

I have only really addressed the gender issue above, but I think that's enough to critique your original way of phrasing the problem.

swatow··on Beware the Pretty People
But the people making these attacks are mostly actual feminists, liberals and diversity advocates. They are not business people or MBAs.

Maybe the MBAs jump on the bandwagon, but I think they mostly do it to pick the winning side, not because they fear the latent power of nerds.

That said, I think you've very accurately described the various attacks on traditional nerd/Silicon Valley culture that are occurring.

swatow··on Beware the Pretty People
Funny how the nerd stereotype is used in different contexts.

In the context of diversity in tech, nerds are a subculture dominated by White males. This culture has a misogynistic dark side, and it is important to show that you don't have to conform to this subculture to succeed in tech.

However, in the context of the corporatization of tech, suddenly the nerds are the good guys. And funnily enough, nerd culture was actually part of the counterculture movement. The old guard of cyber-hippies need to stop the slide into corporate monotony.

swatow··on New Data Show How Firms Like Infosys and Tata Abuse the H-1B Program
I think you're wrong about the government. It has many caring and dedicated people, who want to make the nation, and the world, better. And I think most politicians truly believe in what they claim to stand for. So stating what the government should do is productive and important, because ultimately it guides what politicians do.

The ideology I support is free market economics with generous redistribution and government services. This has been put into practice in Australia, NZ, Canada, the UK and Scandinavia. The only serious deviation is in the concessions made to the labour union movement, but these have been lessening with time.

swatow··on New Data Show How Firms Like Infosys and Tata Abuse the H-1B Program
I meant that the left considered it a right, but I added scare quotes (which I use too much anyway) to be clearer
swatow··on New Data Show How Firms Like Infosys and Tata Abuse the H-1B Program
People often conflate H-1B visas lowering wages, with H-1B holders earning less than market wages.

Actually it is possible (and probably) that H-1B holders earn the same wages as their equivalents. The presence of the H-1B workers increases the supply of labor, and lowers wages for everyone. But it happens simultaneously so that at no time are the H-1B holders earning less.

It's interesting to me that in order to deal with this inconsistency, people have basically invented the myth that it's hard to shift jobs while on an H-1B, and thus H-1B holders are like "indentured servants". The reality is for most H-1B holders the job market is no different, as long as they have the visa, which depends on the government, not their company.

swatow··on New Data Show How Firms Like Infosys and Tata Abuse the H-1B Program
Free market economics is often intentionally misunderstood because it doesn't fit into anyone's ideologies.

The left ignore the benefits of the free market, and pretend that there is a better system out there. They selfishly expect workers the developing world to respect the "right" of the Western middle class to high wages, as if magically other opportunities that don't involve competing with the Western middle class will arise.

The right want people to think that capitalism is magic, because they don't even want redistribution, which mainstream economists believe is something the market cannot do itself, and must be done by the government. The right want people to believe that all government intervention in the economy is equally bad, whether it is fixing the price of rent, providing medical services, or a negative income tax.

That said, I don't think H-1Bs are best used on average paid contractors. I know people earning a lot more money who missed out on the lottery. These people could have contributed a lot more to the economy.

EDIT: Added scare quotes around "right" in response to a comment.

← PreviousPage 3 of 11Next →