Recent submissions

Comment · 22 days ago
Comment · 1 month ago
I noticed in the "A penguin juggling chainsaws" prompt that Qwen created an animated svg
Comment · 1 month ago
Comment · 1 year ago
Comment · 1 year ago
Comment · 1 year ago
one might argue that one of the advantages of languages like C is that you only pay for the features you choose to use, no unnecessary overhead like initializing unused variables
Comment · 1 year ago
Comment · 1 year ago
Comment · 2 years ago
Comment · 3 years ago
the cache being talked about is for recently/frequently accesses things, not stuff pending write
Comment · 3 years ago
first thing I did before reading the article, using uBO to block JS on the page
Comment · 3 years ago
Comment · 3 years ago
I agree, the visualization is pretty but kinda useless to explain mat-mult.

It would have been more intuitive to show every element in output matrix corresponds to a dot-product of row/column vectors from input matrices, the animation doesn't even highlight those corresponding vectors clearly..

Comment · 3 years ago
Comment · 3 years ago
The above manifesto makes the argument to use UTF-8 *everywhere*, even on windows where the internal representation is not native utf8.

The conversion overhead is really negligible: https://utf8everywhere.org/#faq.cvt.perf

(note: the two api calls per conversion is because how those specific functions work, first call to get the size to allocate, second to do the actual conversion, but you can always use another library in the implementation for the utf8<->utf16 conversion that might be more optimized than those windows api functions)

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton