Recent submissions

Comment · 1 year ago
Comment · 1 year ago
I just read your comment today. And the good news is, someone just found the commit that triggered the sleep issue literally a couple hours ago. Fingers crossed a fix is incoming.
Comment · 1 year ago
In `pwsh` (that's the xplat version of powershell, v7+), default encoding for Out-File is `utf8noBOM`.
Comment · 1 year ago
When told, "only room for one person OR one animal", it's also the only one to recognise the fact that the puzzle is impossible to solve. The farmer can't take any animals with them, and neither the goat nor wolf could row the boat.
Comment · 1 year ago
Weird thing is, in Google AI Studio all their models—from the state-of-the-art Gemini 2.5Pro, to the lightweight Gemma 2—gave a roughly correct answer. Most even recognised the packing efficiency of spheres.

But Google search gave me the exact same slop you mentioned. So whatever Search is using, they must be using their crappiest, cheapest model. It's nowhere near state of the art.

Comment · 1 year ago
Comment · 1 year ago
Ironically, Visual Studio introduced monochrome icons in the early 2010s, and the protestations were so deafening that they introduced colours back in.

Fast-forward a decade, and nobody even bats an eye. I also struggle visually navigating around VSCode when I'm not using a keyboard, but we seem to be a minority.

Comment · 1 year ago
There are two wins in this. 1) Firefox. Which means you also get the extension on mobile. 2) Dark Reader works on all websites (and you can turn it off for sites don't play well, which isn't many).
Comment · 1 year ago
I've got the inverse problem. Middle is my trigger finger. And when it's tired, I fall back to using the index finger. With games that are sensitive to analog trigger levels (e.g. car throttle), it's extremely noticeable how much my precision degrades when using the index.

Always chalked it up to not enough practice. After reading this paper, I feel somewhat vindicated. It's not my fault, it's the finger's.

Comment · 2 years ago
Comment · 2 years ago
I believe they removed the stalk in last year's model.
Comment · 2 years ago
Firefox allows users to choose a global preferred font, but also individual Serif, Sans-Serif, and Monospace preferred fonts. Which means this site, which correctly specifies `monospace` as a font fallback, does show correctly in my preferred monospace font.
Comment · 2 years ago
Comment · 2 years ago
Interesting that HN is pinned way more than stackoverflow.
Comment · 2 years ago
Our team uses diagrams-as-code (plantUML) to document processes, interactions, and state machines. Because our use case is functional, they don't have to look good - just good enough and understandable.

Some reasons on why we still use them: (1) They're source-control friendly. And (2) in some cases, we could generate them directly from code. We deal with a lot of state machines on embedded devices, and whenever management asks for "documentation", we run a transformer script that consumes the source code and spits out state diagrams that would placate them.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton