Recent submissions

Comment · 10 months ago
Memoization to limit left-recursive recursion is nicely described in Guido van Rossums' article here: https://medium.com/@gvanrossum_83706/left-recursive-peg-gram...

I recently tried that approach while simultaneously building an abstract syntax tree, but I dropped it in favor of a right-recursive grammar for now, since restoring the AST when backtracking got a bit complex.

Comment · 10 months ago
I do that, too! I use git for version control outside the docker container, and to prevent claude from executing arbitrary code through commit hooks, I attach the docker volume mount in a nested directory of the repository so claude can not touch .git. Are there any other attack vectors that I should watch out for?
Comment · 10 months ago
Comment · 2 years ago
Here are some more interesting related resources.

This Wikipedia article explains how the lightning strikes are localized: https://en.wikipedia.org/wiki/Blitzortung#Detection_method

And this map uses the same data, but looks a bit nicer: https://www.lightningmaps.org If you zoom in a lot, you can also see an expanding circle, which visualizes the sound of thunder.

Comment · 2 years ago
I think this is the check box in question: https://pomf2.lain.la/f/8v4aq9sg.png

It is located at "Settings" -> "Privacy & Security" -> "Website Advertising Preferences" and is checked by default.

Comment · 5 years ago
Comment · 5 years ago
Comment · 5 years ago
Conjugate gradient descent with a multigrid preconditioner also works quite well in my experience, especially for larger systems.
Comment · 6 years ago
Comment · 6 years ago
Comment · 7 years ago
What is benchmarked here is basically the performance of the division operation on big integers and does not represent the general performance of a browser for everyday tasks.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton