khuey

Joined 15 years ago

Karma
8,808
Submissions
1,955
Member since
Mar 6
blog.kylehuey.com

Email is username at kylehuey.com.

View on Hacker News

Recent submissions

Comment · 21 days ago
A major problem with decoupling property taxes on owner-occupied housing from market prices is that it removes the biggest incentive for a homeowner to vote for policies that keep the local real estate market in check. An owner occupied house in a desirable area where there is no disincentive to politically engineering a supply shortage becomes a financial investment. Any increase in housing value becomes profit for the owner (or their descendants). This leads to supply restrictions and escalating prices and an increasingly unhealthy society as the young and the poorer are pushed out of the city, county, or even state.

This is essentially what has happened in coastal California over the last 60 years.

Comment · 1 month ago
Use the split-debuginfo setting in your Cargo.toml to have the DWARF bypass the linker (on Linux, YMMV on other platforms).
Comment · 1 month ago
Rebuild civilization while avoiding the mind worms.
Comment · 1 month ago
If you don't _need_ subnormals MXCSR.DAZ/FTZ (which you can get gcc to set via -mdaz-ftz) will let you ignore all of this.
Comment · 2 months ago
If the folks at OpenAI aren't qualified to be operating these systems who would be?
Comment · 2 months ago
One obvious reason to have an LLM output a high level language even if you are never going to read the code is because it will require fewer output tokens and therefore be cheaper.
Comment · 2 months ago
Yes, it's management with little concern for human factors because you can abuse or and even fire your reports and summon new ones of equal competence at will.
Comment · 2 months ago
Governments are famously tolerant of other actors seeking to rival or usurp their power.
Comment · 2 months ago
You should try writing it out. Doing it without introducing another unpredictable branch is harder than it looks.

I discussed this with a coworker earlier this week and the best they were able to come up with was

    for &x in input {
        out.push(x);
        n += (x > threshold) as usize;
        out.truncate(n);
    }
which works but is ugly af imo.
Comment · 2 months ago
Worth noting that as written the "trick" results in memory usage proportional to the size of the input rather than the output. If the filter rejects most of the input the difference could be quite noticeable.
Comment · 2 months ago
Yes, diversification results in lower returns than investing in just the best performing asset class.
Comment · 2 months ago
Many people don't have a "rest of their portfolio".
Comment · 2 months ago
Comment · 3 months ago
Unless you've checked it for accuracy why would I read your AI-generated documentation when I can ask my AI (which in a month or two will be a newer, better model than what you used to generate that documentation) to read the code and summarize it for me?

If you did check it for accuracy then I don't understand how you compressed months of work into minutes.

Comment · 3 months ago
My memory is a bit fuzzy but I think you're correct.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton