Recent submissions

Comment · 15 days ago
It makes it less ductile, which means it's harder and more resistant to deformation. Bronze is more brittle than copper.

Adding fibres to already brittle materials improves their resilience to tensile forces mostly

Comment · 7 months ago
This is a good change. Potentially ambiguous to read syntax is being made clearer in a way that harms no previous code substantially.

I sometimes wonder if the comments that say nothing more than "C++ is too complicated" are from people who use it regularly, much less people who are even commenting on TFA

Comment · 7 months ago
What is a teapot?

I cannot make one of those.

Refrigerator.

Comment · 8 months ago
Can't pass a PhoneNumber to a function expecting an EmailAddress, for one, or mix up the order of arguments in a function that may otherwise just take two or more strings
Comment · 8 months ago
Dates are unfortunate in that you can only really parse them reliably with a TZDB.
Comment · 9 months ago
Nitpick: icons are about signifiers, not affordances. A button affords being pressed, an icon on the button signifies what pressing it will do.
Comment · 10 months ago
In context, binary breakup and binary fracture apppear to mean a splitting ofa whole into two parts along a given line or plane
Comment · 11 months ago
Since the optimiser is allowed to assume you're not invoking UB, and strlen of null is UB, I don't believe that it would consider that case when optimising this function.
Comment · 1 year ago
You mean the same problem that the article is trying to solve in C? Generic data structures?
Comment · 1 year ago
"Just FYI I have a PhD in cosmology" is the credentials for the poster being an expert.
Comment · 1 year ago
That would certainly catch nearly all migration issues, but it doesn't provide a helpful error message like a test for a specific mistake like this does.

Ideally both approaches would be used, with the general case being used to detect and inform more targeted tests.

Comment · 1 year ago
And the Greek mathematician is pronounced OY-clid ;)
Comment · 1 year ago
I think the author misspoke and meant to say "easy-to-misuse" instead, which it definitely was.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton