song of the day: Von Wegen Lisbeth - Madame Tussauds - dropped one hour ago!
data-star is an alternative to htmx and got some favourable reviews: https://everydaysuperpowers.dev/articles/why-i-switched-from-htmx-to-datastar/
https://data-star.dev/essays/why_another_framework
update: after reading https://news.ycombinator.com/item?id=45536000 it seems like the article is misrepresenting a few things.
Eric_Lippert writes on his blog about different types of exceptions: fatal exceptions, boneheaded exceptions, vexing exceptions, exogenous exceptions and how to handle them.
at the core this is about exceptions being used for exceptional circumstances:
in my opinion, this is one of the important principles to observe when writing robust code, together with making illegal states unrepresentable.
The least amount of CSS for a decent looking site People often over-engineer solutions, and it leads to them running into problems with their CSS. In this article, we'll take a look at the least amount of CSS that you need to make a decent looking page.
https://thecascade.dev/article/least-amount-of-css/
i've used the color-scheme selector to enable dark mode support here.
The Death of Thread Per Core: https://buttondown.com/jaffray/archive/the-death-of-thread-per-core/ HN
very nice tutorial with pretty animations on how to build a simple KV-store using an LSM (Log-Structured Merge) Tree.
look at this space elevator! https://neal.fun/space-elevator/ - all of neal.fun is of the highest quality.
The setHTML() method of the Element interface provides an XSS-safe method to parse and sanitize a string of HTML into a DocumentFragment, and then insert it into the DOM as a subtree of the element.
https://developer.mozilla.org/en-US/docs/Web/API/Element/setHTML
new blog on my blogs_and_mags list: https://www.felixstocker.com (via https://www.felixstocker.com/blog/talent)