Recent submissions

Comment · 6 years ago
It has a lot to do with GraphQL the ecosystem, though, doesn't it?

SQL injection is a particularly bad problem because concatenating strings is the easy path to getting queries working, and parameterization takes (a tiny bit) more effort.

Similarly, a system such that "by default, there's no authorization, no authentication, and it even comes with introspection" is a system that makes it very easy to do the wrong thing. And the default settings of GraphQL generators tend to be even worse than that.

Comment · 6 years ago
Ah, whoops. That seems even more useless, though.
Comment · 6 years ago
Small note: people often (but don't always) assume that a ring is unital (has an identity element), and that an algebra over a field is unital and associative.

Also, the label "algebra" is vague here, and refers to an "algebra over a field", but sometimes it refers to an "algebra over a ring".

Comment · 6 years ago
What would you do with that?

For example, I can see the use of commutativity (ab = ba) and anticommutativity (ab = -ba), but I'm not sure what I'd do with the negation of commutativity (ab ≠ ba).

Comment · 6 years ago
Comment · 6 years ago
1. How do they live on charity?

2. So what if they live on charity? I don't see how that would invalidate anything being said.

Comment · 6 years ago
• Sure, it could come under the umbrella of "declarative programming", but that's an enormous umbrella, so that doesn't really say much.

• I fail to see how differentiable programming (the idea of expressing the desired computation in terms of differentiable objective functions) is any less of a "paradigm" than logic programming (the idea of expressing the desired computation in terms of logical predicates).

• Depending on the expressiveness of your programming language, every paradigm can seem like it's "a great use case of a library, but hardly worthy of being called a new programming paradigm."

Comment · 6 years ago
Comment · 6 years ago
Comment · 6 years ago
Comment · 6 years ago
It means that it's opaque to your ISP and other people on your network, which is at the very least useful for people using it at McDonald's or a university.
Comment · 6 years ago
Comment · 6 years ago
It is already known that there is some association between intelligence and, for example, race. The underlying causes, whether they're wealth disparities, cultural attitudes toward intelligence, or genetics, don't change whether it's right or wrong to discriminate by race.

You seem to be insinuating something unpleasant, so I would very much appreciate if you could be explicit about what consequences you think this will have.

Comment · 6 years ago
Right, I mostly end up using Haskell's lists as an extremely ergonomic counterpart to iterators / generators in languages like Python and Rust.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton