Recent submissions

Comment · 3 years ago
I wonder how this would change if you only looked at highly rated chess engines. For example, is a rook pair really not as good as a queen or is it just that _humans_ aren't as good at using the rooks effectively?
Comment · 4 years ago
Every time I see this project, I think it looks awesome and useful, but I hate that it's written in python. I love python and I use it all the time, but I hate to see so much effort and innovation going into something that can only be used by this one language. If this had been written in C, Zig, Rust or some other language that produces easily embeddable binaries with a C API, then you could have idiomatic APIs for lots of languages instead of having to repeatedly reinvent the wheel.

I don't mean that as any kind of insult to the people who work on this project -- I'm sure writing it in python is way more pleasant than writing in C. I'm just bummed that projects I have in mind that I intend to write in a language other than python can't use this.

Comment · 4 years ago
>Folks would rather feel good and virtue signal than really solve the problem.

The idea that people are using reusable shopping bags because they want to virtue signal and not because of any actual desire to do good is a completely baseless and needlessly pessimistic viewpoint. A much more reasonable and likely explanation is that most people can't fully assess the environmental impact of their decisions, so they make the entirely reasonable assumption that if they can avoid throwing away a dozen plastic bags every week, then that's probably a good thing. That assumption may turn out to be incorrect, but that doesn't mean they have the harmful motivations you are accusing them of.

Comment · 5 years ago
I see this question getting downvoted, and some of the responses are strangely hostile strawman attacks based on what those posters are guessing this person "really" means. I think this is a perfectly reasonable question.

A few years ago, I got a PhD in pure mathematics (low dimensional geometry and topology). As someone who loves pure math and spent many years devoted to it, I've had many conversations with mathematicians about whether we should be concerned with practical applications. One common argument, which several people have made here, is that there's been a lot of math that found practical application long after it was done. That really only applies to a very small proportion of math. The vast majority of math done has still never found application. So arguing that we should do that math because it may have applications later is kind of like arguing you should play the lottery since there's a greater than 0 chance that you'll win. Also, from the (admittedly biased) group of mathematicians I've spoken to about this, very few seemed to actually do math in the hope that it would be useful later.

Instead, people do math because it's interesting, beautiful, and challenging. I would argue this Mersenne Prime search is almost more like recreation. I could be wrong, since I never did much number theory, but I don't think this is advancing any research. It's just a fun hobby for people who enjoy math. I think doing math for the sake of its beauty is generally fine. I do have concerns about the climate aspect of this particular project though. This is a lot of power being consumed just for recreation. This project may not be big enough to have much of an environmental impact, but in general, I think we should be more mindful of not wasting large amounts of computing power just for fun.

Comment · 6 years ago
>they chose to have children, and I chose not to

Up until the pandemic, my work schedule had almost never been affected by me being parent in any way. I chose to have kids knowing that my wife and I would be able to continue working without this significantly impacting our jobs (after the first several weeks after they were born, of course), and that has always been true until this. You are acting as though parents fully understood the pandemic would happen and would affect them at the time they decided to become parents.

This argument is like saying that a storm knocked down your neighbor's house, but not yours. So it's unfair that your neighbor get some leniency from work while he tries to repair it while you are expected to keep working. "He chose to build his house on that side of the street, so he has to deal with the consequences."

This isn't about giving extra slack to parents. It's about giving extra slack to people who were hit particularly hard by this situation that they couldn't possibly have seen coming. I was forced to return to the office even though I'd rather be at home. I have a coworker with no kids but who takes care of his mother who is very sick and at high risk for COVID. He gets to keep working from home, which is what I'd like to do. It's never crossed my mind to be annoyed with him for that.

Comment · 7 years ago
There's a weird trend on HN. For proprietary products (e.g. slack) I rarely see them getting criticized for having a proprietary license. If you are fully open source, then of course they love you. But if you try to strike a compromise and give away a lot while still keeping some licensing terms to let you make money off your creation, then you'll be bombarded by complaints about your licensing.
Comment · 7 years ago
>you hit play in Netflix on your phone — how many people would have any way to tell how much of their data plan that used?

Instead of focusing on the client, what about the server? How happy would Netflix be to reduce their outbound traffic by 20%? I'm guessing it's quite happy.

Comment · 7 years ago
Thanks for the response. That all makes sense. I assume the FaunaDB devs would have already tested and fixed all the scenarios they could come up with, so it's reasonable you'd want an outside party to come up with even more scenarios to examine.
Comment · 7 years ago
From the post, FaunaDB initially had several issues, which they've generally resolved. Jepsen is open source, so I'm curious why a database company wouldn't run Jepsen internally, work out as many problems as they can, and then engage aphyr in order to get the official thumbs up. Given how important data integrity is, I would assume that any database company would be running Jepsen (or something equivalent) regularly in-house. If they are doing that, then how is it that aphyr finds so many previously unknown issues? And if they aren't running Jepsen in-house, why not?
Comment · 7 years ago
Despite being written in Java, DBeaver does let you connect to a server, then pick which database you wish to connect to.
Comment · 8 years ago
That repo doesn't encourage anything. It's presenting data that the author found useful for another project they were working on, which presumably did benefit from micro-optimization. You are right that micro-optimization is usually not needed, but the repo and its author never claimed otherwise.
Comment · 8 years ago
Comment · 9 years ago
I'm sure they weren't recommending you read every line and grok the whole code base of each of your dependencies.

I don't know how helpful reading source is for determining whether or not to use a dependency, but I find it very helpful to have at least a small understanding of how my dependencies work:

1. I find it useful for debugging. If a coworker or I have used a library incorrectly, understanding how the library works can help us figure out why it isn't doing what we wanted. Also, my IDE lets me do step-through debugging through dependency code as well, which can be helpful.

2. It helps with determining the capabilities of a library. If I know how a library works, then I can make reasonable guesses about what features the library has (or could easily add). I find myself thinking, "I'd like to do X, and from what I know of how library foo works, that seems like something it should be able to do." So I can go investigate that.

3. It helps with knowing the performance characteristics of the library. Just yesterday, I needed to implement some stats logic in java. I found an Apache Commons class that does exactly what I need, but by looking at the source code, I found that it uses an O(n) algorithm, which is fine for the cases they are probably targeting. In this case, I need more performance than that, and it's not hard to write this as O(log n). So I wrote my own instead. If my IDE (Intellij) didn't give me super easy access to dependency source code, this would have been more painful.

Comment · 9 years ago
I would dial this back a bit. Worst case scenario, the commenter you are responding to is committing confirmation bias by making negative assumptions to match their existing negatives beliefs. Confirmation bias is easy to slip into even if you know it exists, and this angry response isn't useful.

Best case scenario (which I think is more likely), they are simply interpreting this story in context. Uber has several ethics scandals under their belt including ones involving them gathering and analyzing data for unethical purposes (guessing which of their customers have had one night stands).

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton