Recent submissions

Comment · 22 days ago
Is it possible the size of the market for hand woven rugs has actually stayed the same, and the mass produced variety has simply filled the void for the large segment who were never able to afford them?
Comment · 1 month ago
This comment doesn't help the pedant
Comment · 1 month ago
I'm not sure I understand, are you suggesting that Tom Scott made it up?
Comment · 4 months ago
The first use case that comes to mind is if you want a DSL to build expressions that are evaluated later in some different context e.g. when using `polars`:

```python df.filter( pl.col("foo") == pl.col("bar"), ) ```

Sqlalchemy does something equivalent too, and I'm sure there are many others.

Comment · 7 months ago
I can imagine a pipeline where intermediate stages have been inserted to have some side effect, like debug logging all data passing through.
Comment · 8 months ago
The problem comes when there are lucrative odds for some unlikely scenario, which you can influence into realisation, and that outcome might be counter to the company's goals (i.e. sabotage)
Comment · 1 year ago
Huh.
Comment · 1 year ago
Is there a reason the Zig compiler can't perform type-narrowing for `u` within the `U::A(_) | U::B(_)` "guard", rendering just the set of 2 cases entirely necessary and sufficient (obviating the need for any of the solutions in the blog post)?

I'm not familiar with Zig, but also ready to find out I'm not as familiar with type systems as I thought.

Comment · 1 year ago
It gets worse the further you go, this was where I had to bail:

> the format is much favored by AI frameworks such as TensorFlow and PyCharm.

Comment · 1 year ago
Could mean "appear" as in "show up"
Comment · 2 years ago
> one of the first times

I don't think you can say it's "neither"! :)

Comment · 3 years ago
I don't think your "obvious" is the same as that of the person you're replying to.
Comment · 3 years ago
Tough to gauge how impressive this is without a before/after for comparison tbh.
Comment · 3 years ago
I'd say that the people counting leap seconds are the ones "doing something".

At the point they needed to be inserted, Unix systems carry on counting seconds as units of time as they pass, "ignoring" the need to add 1 for the purposes of accounting.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton