Recent submissions

Comment · 6 days ago
You are missing the point. You're allowed to think highly or lowly of whomever, for whatever reason. That's your business (freedom of thought). It's more problematic when you express, overtly or not, such low opinion, as you will cause resentment. And there is the risk that the mere request is seen as a "correction". In our society, it's not generally polite for adults to correct other adults' speech.

I would also take issue with reasonableness of the request. You concede it does not offend you, and that it's merely a preference. I also have a myriad of preferences about speech: the intonation, accent, the grammatical constructions, the words, etc. To ask of other people, whom I don't even know intimately, to match my preferences is something else altogether. It's to impose my preferences over that person's dialect or ideolect, which is also rightly frowned upon.

Comment · 11 days ago
He, I never really got a satisfactory explanation as to why she started (I think it some objections to the meat industry), and or to why she changed her mind. It's certainly more convenient, since vegetarian options in traditional restaurants are basically nonexistent. But the trigger was a desire to sample the local cuisine when travelling. Started with fish, then birds, then, in Valencia, where it's traditional in paella, rabbit.
Comment · 12 days ago
I'm glad it works for you. I've rarely tasted a vegetarian dish I really liked except maybe chili made with granulated soy protein rather than minced meat.

My girlfriend was vegetarian for many years, and she put the effort to make tasty dishes (tofu, specifically, always had some marinade). Once she started eating meat again though (and we're talking only white meat like chicken, rabbit, duck, not pork/beef), she almost never eats a vegetarian dish.

Comment · 12 days ago
Yes, the article covers this (mentions the std::variant). This makes it a closed set though. Other differences is that your Event here is as big your biggest event type, and it doesn't go through normal inheritance mechanisms. With polymorphic you could just have an abstract Event and implement your subclasses normally.

A way to see it is some sort of type-erasure over destruction and copy-construction (plus another corner case for mismatched allocators).

The constructor of polymorphics captures the type of the subclass during its constructor (they didn't make the same mistake as with shared_ptr of giving it a pointer constructor, like the UB in case the destructor is not virtual in Base *b; shared_ptr<Base> sp{b}). With this, it can instantiate a template (a control block) where the subclass is known.

Comment · 14 days ago
Comment · 20 days ago
That really doesn't speak to the usefulness of the distinction. To the extent that workers, as a whole, have common goals (like capturing a bigger share of the productivity gains, for instance), it probably make sense to organize as a single group to pursue those goals.

The right also organizes humans into us-vs-them: the natives versus the immigrants, the faithful versus the infidels, and so on. Whether those make sense depends only on the values, way of living or material conditions you want to protect and whether the other group is a menace to them.

Comment · 1 month ago
Can't they just do it with personalized discounts and other loyalty programs? That's what everyone's doing around here.
Comment · 1 month ago
You mean like pharmaceutical companies refusing to supply chemicals for lethal injection?
Comment · 2 months ago
Really depends on the kind of upbringing of the child. In Mongolia 5 year olds are teaching their younger siblings how to ride a reindeer.
Comment · 2 months ago
Only the AI labs are really interested in closed models. Google, Facebook, Microsoft, ... they'd rather go back to doing stock buybacks and being ridiculously profitable rather than raising capital for all this research and datacenters. They only do it because they think they have to.
Comment · 2 months ago
I have both as well. Floaters are mildly annoying, but at least when you lie in bed at night you don't see them in the dark.
Comment · 2 months ago
In every AI-written post, we have the script: some top post complaining it's AI-written, someone cluelessly saying they don't see it, and another person pointing out the claudisms. Sometimes someone posts a link to pangram.

I think we need the moderation team to set up some policy. In which direction idk.

Comment · 2 months ago
Right, SO was always better at answering beginner questions then advanced ones, except if the complex question had a broad appeal. Part of it is because the format is not good for asking a context-heavy question. Another part because you were dependent on the pool of people answering, and the more niched the question was (using a library not very popular, for instance) or the more expertise it required, the less likely you were to find someone.
Comment · 3 months ago
I appreciate the correction. Although it should be said that modern implementations tend to opt to assume that UB never happens.
Comment · 3 months ago
Undefined behavior is not the same as implementation-defined or unspecified behavior. A program with undefined behavior is by definition an incorrect program. But there are cases where the spec actually gives some margin to the implementation. Programs relying on the choices of the implementation may be correct, even if non-portable.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton