Recent submissions

Comment · 3 months ago
This is far from a universal best practice and heavily depends on what code it is and for what reason you are duplicating it potentially.
Comment · 6 months ago
PostHog has a free managed reverse proxy last time I checked. Did you try that?
Comment · 9 months ago
A word of caution: It's worth factoring in battery depreciation. That 7p→15p arbitrage isn’t "free" profit: you pay round-trip losses and you burn cycle life. If you assume ~£X installed, ~Y usable kWh, ~Z cycles to 70–80% capacity, the wear cost alone is often several pence per kWh throughput, which can wipe out most of the spread.
Comment · 3 years ago
Does somebody else have manually written or at least edited Hasura permissions in YAML? Well that is for sure is a lot of YAML.
Comment · 3 years ago
Ah, thanks. Didn't see that. One more downside of all these little individual pages.
Comment · 3 years ago
Interesting. It seems that the book assumes its audience is exclusively male without explicitly stating it. Might be a fit here for Hacker News, but even that assumption is already reinforcing gender biases.
Comment · 3 years ago
This this this. You can ask it to write a test. You can ask it to fix it, if the test does not pass. You can ask it to check whether the code it wrote makes sense, and it will surely find most times that there is something to improve. Urgh, it's not "one prompt and done".
Comment · 3 years ago
What I would like to highlight is that it's still quite an achievement to be able at all to authenticate users with dozens of different APIs. Could it be better? Sure. Could it be worse? So much. Just imagine everyone would be cooking completely there own thing, or there being fractions or competing "standards".
Comment · 3 years ago
Nice, I'm curious though, does the API also remember context from earlier conversations or can it be made to?
Comment · 3 years ago
Just if you're interested in AWS: look into AWS Copilot CLI to get started really fast with getting a container up (and have a database with it).
Comment · 3 years ago
Using the term "female" to describe a woman can be perceived as reductive and dehumanizing because it reduces her to a biological category. By using the term "woman," the focus is shifted from her biological characteristics to her identity as a person, which is a more respectful and accurate way of addressing her.

Worth noting is that there is no equivalent term to "female" when referring to men, who are almost always referred to as "men." This is because there is an underlying cultural assumption that men are the default and women are the exception. While the use of the word "female" to describe a woman is not inherently wrong, using the term "woman" is more accurate and respectful, and nobody would use the term "male" to describe a man in the same way.

Comment · 3 years ago
> Working from home may offer more distractions by chores, family, network issues. Do those little things add up to meaningful productivity differences?

When you say "more", you have to compare both sides. Working in an office "distracts" me with noise, questions by others, spontaneous meetings, socializing in general, as well as other interruptions. I find it always baffling that in such arguments, the office is per default fine, and it's always remote which is the culprit.

Comment · 3 years ago
Sounds like you are suggesting First-Party Isolation (FPI) which you can enable in Firefox. Don't know what the state of it is, seems to be off by default, or depending on the tracking protection setting.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton