arcsin | 4 years ago | on: Insurance is like gambling, don't overdo it
arcsin's comments
arcsin | 4 years ago | on: It's probably time to stop recommending Clean Code (2020)
Personally now I've held both sides of the argument at different times. I think in the end it's a trade-off. There's no hard and fast rule, you need to use your best judgement about what's going to be easiest for the reader and also for the people maintaining the code. Usually I just try to strike a balance that I think my coworkers won't complain about. The other thing I've realized that makes this tricky is that people will almost always overestimate their (or others) commitment to maintaining comments, and/or overestimate how "self-documenting" their code is.
arcsin | 4 years ago | on: Daisugi, the 600-year-old Japanese technique of growing trees out of other trees
Of course in the ideal world only the people that are correct would think for themselves or everyone would be correct all the time. But it doesn't work that way, usually people that think for themselves are wrong. When a culture has more people willing to go against the grain sometimes they will be right and make things better but more often they will be wrong and make things worse.
arcsin | 4 years ago | on: Daisugi, the 600-year-old Japanese technique of growing trees out of other trees
arcsin | 5 years ago | on: Why Learn Haskell? (2018)
In OOP you try to limit the scope of state, private variables inside an object can update its value but can only be directly accessed from inside the object. But still those objects are inherently stateful. In order to understand an object, how you can use it, whether it is working correctly, you are still forced to understand where/when it is in the timeline of updates.
Purity means that if you understand a variable or object in one place in your code then you understand it from anywhere in your code. You don't need to know how it was used before because it can't be changed. If it were changed then you would know because it would now be a different variable or object.
arcsin | 5 years ago | on: Statement on New York Times Article
I'll try to put this as objectively as I can. There is now a cultural overlap between those that support varying degrees of "censorship" and progressives, and between those that support "free speech" and, let's say, anti-progressives. This makes sense because now racism/sexism is more likely to be censored than extreme progressivism. Probably if it were the other way around (if extreme progressivism were more likely to be censored) then those same progressives would become staunch free-speech advocates and anti-progressives would be fighting for more "content moderation".
So if you are generally for the toleration of ideas, perhaps holding some unpopular opinions yourself, and against censorious tactics, you tend to attract extreme anti-progressives as well. For the most part, racists and sexist do not see themselves as racists and sexists, they see themselves as holding true but unpopular beliefs. Another interesting example of this is Sam Harris somehow having a fair amount of Trump-supporting listeners even though he spends a lot of time ranting about how incompetent and morally-bankrupt he thinks Trump is.
arcsin | 5 years ago | on: Silicon Valley’s Safe Space
Someone in this thread asked how it's not a pipeline problem if 80% of graduating CS students are male, and your response is to just stop caring about CS degrees. But how does that make sense unless you think that there is an equally disproportionate ratio of uncredentialed yet qualified women programmers? And frankly the rhetorical techniques you're using here feel dishonest, implying that if I don't accept your argument then either I didn't think hard enough about it or I'm sexist. Or the "this is my last reply on this topic". If people have genuine questions why not answer them?
And after seeing this kind of discourse so many times there is such a sense of relief when someone is willing to say "let's look at the truth even if it's an inconvenient one" because to come up with a good solution you have to start with what's actually true right? For a lot of people that's what SSC represents and that's why they feel so strongly about defending it.
arcsin | 5 years ago | on: From First Principles: Why Scala?
arcsin | 5 years ago | on: I No Longer Tell My Friends about Anki/SuperMemo
I'm not really into flashcards, but I'm seeing a lot of comments like this, that flashcards are only good for memorization. I think they're more useful than that. You can use flashcards similar to how you would train a machine learning model, large iterations of input and feedback. People who are serious about language learning with SRS don't just study words but whole sentences per card. You could probably use flashcard to train yourself in many things that would be considered skills, not just knowledge. For example, you could put chess problems with answers on flashcards. If the resolution were high enough you could probably train yourself to recognize forged paintings. Things like that.
arcsin | 5 years ago | on: I No Longer Tell My Friends about Anki/SuperMemo
arcsin | 5 years ago | on: Do countries lose religion as they gain wealth? (2013)
I think this isn't quite right. Religion is a social mechanism. It creates the right incentives for its members to buy into a kind of insurance program. When a member falls on hard times the other members will take care of them. Of course this is more appealing to people in financially or socially unstable circumstances.
In order to avoid free-loading, there might be something like a tithe where you actually have to pay money into a shared pool. But if you don't have money to spare then usually membership comes down to costly signalling, i.e. various forms of self-sacrifice. Usually the poorer the members the more extreme the religion.
The idea of divine, absolute laws of conduct and an un-gameable entity that enforces these laws sounds fantastical but it's very effective at getting people to cooperate once they've bought in (which is why costly signals of buy-in are so important). It shifts the prisoner's dilemma payouts away from defect, toward cooperate. And a strange quirk of the human mind is that the more socially useful something is, the more it will prevent us from realizing it's not actually based on something true, and the more socially harmful it is the more it will prevent us from realizing it's actually true.
As society modernizes, people move away from religion because the costs don't seem to justify the benefits. Also without strong social incentives to believe, it becomes too hard to believe based only on the likelihood that it's actually true. Unfortunately I think we do lose something in the process. Modern society is more likely to be disconnected. Religiously active people generally tend to be happier. Looking around a lot of people I know have nothing like a weekly church meeting where they can socialize with a group of people that takes care of each other.
arcsin | 5 years ago | on: Independently Poor: A Twist on FU Money – a.k.a. “FU, Money”
arcsin | 5 years ago | on: Independently Poor: A Twist on FU Money – a.k.a. “FU, Money”
I can tell you that for me personally I don't think it was ideal. Yes, at first the freedom is exhilarating, but it doesn't last forever. There were two big problems. One is that you feel disconnected from society. This is hard to explain but being outside of normal social structures you lose a sense of context and meaning to your actions. Second is that when you don't have any social or financial pressures it's hard to avoid the path of least resistance. It's very easy to fall into bad habits, just watching youtube, reading reddit, bad diet, etc.
I would assess myself as someone who would be less susceptible to these problems. I consider myself a fairly self-motivated person and definitely an introvert. But after several years it starts to weigh on you.
Today I work in an office. There are often times when it's hard and I have to deal with things I don't want to. But I still think it's better than when I wasn't working. I think if I never had the experience of not working I would probably only see the downsides of office life as the upside is quite abstract and hard for me to articulate. I don't think this is something unique to me, I think it's human nature to want social structure and this naturally comes with social obligations. But for most people not being constrained to social structures was never an option anyway so they underestimate how much it affects their happiness.
arcsin | 5 years ago | on: Eating Thai Fruit Demands Serious Effort but Delivers Sublime Reward
arcsin | 5 years ago | on: Repetition and Learning – misconceptions about effective studying
I think the way that we are able to process speech at that speed is that we essentially guess what words are coming next, which is really only possible if you’re able to construct the sentence yourself. If you stop a sentence at a random point a native speaker will be able to predict the kind of words that will come next, if not the exact words. Another bit of evidence for this theory is that if someone says something very unexpected and out of context we often won’t understand what they’ve said.
Now it’s possible that you could achieve this ability only through input and not through production but I believe that it will be much less efficient.
arcsin | 7 years ago | on: Ask HN: Highest paying remote companies?
Are there any people here who are US citizens but living abroad that have applied to these companies? What was the response?
arcsin | 7 years ago | on: Coders Automating Their Own Job
arcsin | 7 years ago | on: Computer science as a lost art (2015)
Depending on the kind of work you do, the minority of the time where it would be beneficial to know CS might have a big impact both on the product and your reputation in the company. This could help you move up to higher, better paid positions, but it also might not. Teaching yourself CS is a big time investment and if you just want to maximize your salary there's probably better ways to do it.
I think it's really only worth it if on some level you enjoy it and find it interesting. You can seek out jobs where they use more CS, but again this doesn't guarantee you'll advance professionally. But if you're the type of person who enjoys programming as a creative activity, I think CS can be very rewarding because it opens you up to what's possible.
arcsin | 7 years ago | on: Some suddenly become accomplished artists or musicians with no previous training
arcsin | 7 years ago | on: Zuckerberg defends right of Holocaust deniers to be heard on Facebook
In general money has a diminishing utility, your first dollar is worth more to you than your millionth dollar. In order for it to be worth it to play a -EV lottery not only does you utility graph need to be nonlinear, it cannot decrease monotonically. At some point your nth dollar needs to be worth more (to you) than your first dollar. For example, you have one dollar and a life saving drug for your terminal disease costs 1 million dollars. You would see a sudden spike in utility at the 1 million dollar mark. It would be rational to play the lottery in this case.
Another possibility is that the event of winning money or even just the thought of possibly winning that money gives you more value than simply having the money alone, and this tips the scale. This would be like the opposite of insurance. For some people the experience of losing, or worrying about the possibility of losing money is so negative that it still makes it worth it to buy insurance.