News for hackers. Stuff that matters.

beefeater

Re:Please do not attempt to simplify this code on Thursday December 27, 2018 @07:18PM (#18773859)
If you need to make sure every condition is handled, write a test for every condition.
The fact that stupid people spend a lot of money on the lottery is a feature, not a bug. It allows us to extract much needed tax revenue from them without them even realizing it. Because of this, they're happier with government than they would be if they were taxed directly. This reduces the risk of extremist (communist, socialist, nazi, etc) politicians sweeping into power by riding the discontent of the masses.
The only things people actually agree are the government's job are to uphold the law and defend the country from invasion.

Giving citizens hot chocolate and tomato soup when they're sick is far from an agreed purpose of government.

Re:Ask HN: Have you ever regretted working on a product? on Wednesday November 21, 2018 @12:06PM (#18504139)
What's wrong with that algorithm?

Black people are more likely to date black people, white people are more likely to date white people, and rich people are more likely to date rich people. By tailoring the matching algorithm to take this into account, you increase the chance your users will find a good match. This seems user friendly to me. Were you also offended that the algorithm matched people differently based on age?

Re:Ask HN: Have you ever regretted working on a product? on Wednesday November 21, 2018 @11:58AM (#18504053)
+1.

I work in neither in Gambling nor Defense, but I still wouldn't hire this guy because he sounds difficult to work with.

Congrats on the dumbest comment of the day. Youtube's copyright filtering is going to be better than any competitor just because of the sheer amount of resources they can sink into it. Assuming any video hosting company can survive this legislation, this will do the exact opposite of leveling the playing field. It will turn what is currently a fairly level playing field into one that massively favors Youtube.