Recent submissions

Comment · 2 years ago
The detail missing from this explanation is that structs and classes are the same thing with different default visibility. I found this enormously confusing when learning the language, and I think it was a major mistake. My assumption was that a struct was exactly the same as a c struct, and the "new" functionality was all a part of the classes.

Still. There's always extern "c".

Comment · 2 years ago
I hope someone will one day talk about me the way corporate america talks about its logos.
Comment · 2 years ago
> those running the country control the police

Interestingly one of the things that came out of 2020 was that nobody appears willing to control the police. Unless by police you mean FBI, which would both make sense for investigating a national politician and be directly under the control of the executive.

Comment · 2 years ago
Surely there is some middle ground between "we should ban this behavior entirely the second this comment is read" and "we should never acknowledge or discuss or take responsibility for the inevitable harm that this behavior causes"
Comment · 2 years ago
> Vector search is almost never the winner relative to full text.

Full text search is certainly the winner in the time dimension, but can it compete in quality? Presumably which method is likely to provide relevant results depends greatly on the query. Invoking LLMs to pre-process the query and select a retrieval method is going to be quite expensive compared to each of the search methods.

Comment · 2 years ago
People probably just find it interesting
Comment · 2 years ago
Doesn't really matter if you can block the ads anyway

Besides, advertisers are not who i worry about when it comes to "my data".

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton