HNHacker News
TopNewBestAskShowJobs

ta82828

149 karma · joined March 15, 2015

submissionscomments
ta82828··on Defending Darwin

  The two by definition are fundamentally at odds.
And yet, many pioneers of science were religious, some even members of the clergy.
ta82828··on Indian Supreme Court Judgement on Freedom of Speech [pdf]
The reason I brought it up is because the quoted text seemed to boast that Indian courts protect freedom of speech more strongly than U.S. courts. On a second reading, however, I have no idea what that text is actually trying to say.
ta82828··on Indian Supreme Court Judgement on Freedom of Speech [pdf]
On the other hand, India has hate speech laws, which are anathema to the U.S. view on free speech.
ta82828··on Amtrak police use of passenger data
IANAL, but deception here means, to convince someone that you're a sworn law enforcement officer, which is what a private security service would be trying to do. The exception is there so that for example an actor dressed as a police officer, or someone in a halloween costume, is not a criminal because they are not trying to convince a member of the public that they truly are a police officer.
ta82828··on Amtrak police use of passenger data
In the US sworn law enforcement officers have legal powers that private security does not, such as the authority to make arrests. Private security can't call itself police, impersonating a police officer is a crime.
ta82828··on Java is Pass-by-Value, Dammit
They are both labelled pass-by-value because they are both pass-by-value. Yes, they are different, but that doesn't mean one is pass-by-reference and the other is pass-by-value.

The C example is equivalent to

  pa = &a;
  pb = &b;
  swap(pa, pb);
When swap returns, the values of pa and pb are unchanged. Only the values or a and b are changed. But a and b were not passed to swap. Therefore this is not pass-by-reference, but rather passing a pointer to a variable by value.
ta82828··on Java is Pass-by-Value, Dammit
I disagree. The question of whether or not you can write a swap function as described in the article is fairly precise.
ta82828··on Java is Pass-by-Value, Dammit
I don't see how the article you linked to contradicts the original post.
ta82828··on Java is Pass-by-Value, Dammit
Yes, you can do that in C, but that is still not pass by reference. In C you are not passing the variable you are trying to change, you are passing a pointer to it. You cannot write

  swap(a, b);
You have to write

  swap(&a, &b);
ta82828··on Java is Pass-by-Value, Dammit
Call/pass by reference means you can write a function that swaps the values of two variables such that the caller will see the values swapped. See the examples in the posted article for Pascal and C++. This cannot be done in Java or C, which is why they are not pass by reference.
ta82828··on I Hate the News (2006)
I don't know what you can do on your site, because I didn't want to sign up, but you can look at HN without having to sign up and you still need an account to vote or to comment.
ta82828··on I Hate the News (2006)
Asking me to sign up before I've even looked at the page is annoying (to me).

http://tabcloseddidntread.com/

ta82828··on Pay Your Rent Online – Ask Your Landlord to Join Homehey.com

    Pay Your Rent Online – Ask Your Landlord to Join Homehey.com
I do that today with online bill pay provided by my bank. And it doesn't matter what my landlord is a member of because my bank can print a check and mail it if necessary.
ta82828··on Harry Potter and the Methods of Rationality finished today
The linearity of utility is irrelevant to the dust specks or torture problem because you can always increase the number of people to receive dust specks so the utility of torturing a single individual for 50 years is higher.

http://lesswrong.com/lw/n3/circular_altruism/

And calling people hypocrites because things like involuntary organ donation gives them "cognitive dissonance" is absurd. Also regarding hypocrisy, note that Yudkowski works for an organization whose goal is to protect humanity from Skynet, while people in Africa are starving. (I'm not personally attacking him, he can work on whatever he likes, and I think governments of wealthy nations have both the resources and responsibility to alleviate starvation, and individual efforts are mostly pissing in the wind. But parent poster brought up sweatshops &c. so I went there.)

← PreviousPage 2 of 2