News for hackers. Stuff that matters.

khuey

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.

Re:How to speed up the Rust compiler in September 2026 on Thursday October 01, 2026 @11:46PM (#49929635)
Use the split-debuginfo setting in your Cargo.toml to have the DWARF bypass the linker (on Linux, YMMV on other platforms).
Re:First Principles Thinking on Saturday September 26, 2026 @08:24AM (#49855847)
Rebuild civilization while avoiding the mind worms.
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.
If the folks at OpenAI aren't qualified to be operating these systems who would be?
Re:There's no reason for software to be slow anymore on Saturday August 22, 2026 @01:49PM (#49402028)
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.
Re:Working with AI Feels More Like Leadership Than Coding on Saturday August 15, 2026 @11:49AM (#49311572)
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.
Governments are famously tolerant of other actors seeking to rival or usurp their power.
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.
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.
Yes, diversification results in lower returns than investing in just the best performing asset class.
Many people don't have a "rest of their portfolio".
Generally the default fund in a decent 401(k) (employer managed but largely employee funded retirement plan) will be a "target date retirement fund" that contains a mix of equities and bonds according to the expected risk tolerance of someone at that age, and generally the equity component is also split between US and foreign equities.

e.g. Fidelity's fund for people planning to retire around 2050 https://fundresearch.fidelity.com/mutual-funds/summary/31579...

Re:Why I am not going to buy a computer on Wednesday July 22, 2026 @11:55AM (#49008803)
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.

My memory is a bit fuzzy but I think you're correct.
We've seen b before. React was controversially released with a similar clause and ultimately Facebook dropped it and used a standard open source license. Their lawyers really love this idea for some reason.
Re:Who's Afraid of Chinese Models? on Tuesday July 21, 2026 @12:16AM (#48987988)
Painfully slow tok/s though.
If you show up at a US port of entry without any sort of anything the default decision is to deny entry (exceptions for Canadian citizens and citizens of a few small islands). If you show up at a US port of entry with an ESTA/visa you will most likely be allowed entry. Refusals are relatively rare.

Commercial carriers such as airlines are also not allowed to transport people who need ESTAs/visas and do not have them to the US, so in practice it's relatively difficult to even get to the port of entry without a visa.

That already happens. Witness all the random "bans" and "pauses" Trump has instituted against various nationalities and groups of people at the border.
As someone who doesn't follow databases that closely, how is this different from Amazon Aurora (other than being open source)?
IMO the threat model is more letting the agent loose on issues/PRs in a public Github repo and it getting tricked into running a malicious payload.
If Unity had 2.5 users anyone had heard of before the switch you can see where the motivation might (at least emotionally) come from.
Re:We scaled PgBouncer to 4x throughput on Saturday July 11, 2026 @05:36PM (#48876102)
I have bad news for you about where ClickHouse comes from then.
Re:Your code is fast – if you're lucky on Saturday July 11, 2026 @05:26PM (#48876022)
In the one statement case, clang emits LLVM IR where the last operation in each branch is the store. In the two statement case, clang emits LLVM IR where the last operation in each branch is the [pointer math](https://llvm.org/docs/GetElementPtr.html).

The SimplifyCFG pass in LLVM pulls the identical-in-all-but-one-operand store IR instructions into a successor block with a [select instruction](https://llvm.org/docs/LangRef.html#select-instruction) that will ultimately become a conditional move. But the pointer math differs by two operands (because there are two different pointers and one is being decremented and one is being incremented) so SimplifyCFG stops immediately and never reaches the stores.

This sort of brittle behavior where semantically identical code produces different optimization results is common in optimizing compilers unfortunately.

Re:Your code is fast – if you're lucky on Saturday July 11, 2026 @09:30AM (#48871918)
I'm not sure it's a "technique" but the general insight worth taking away from this is that compiler authors often write optimizers to recognize specific patterns so writing your code in a more idiomatic form increases the odds an optimizer will be able to optimize it.

In this specific instance, at the hardware level it helps to understand how the branch predictor works and why quicksort in particular is essentially the worst case for the branch predictor, and then you'll understand why the cmov/csel optimization is such a big win.

> And how many years of being passed over for promotions, I wonder.

He was Vice President of Product Design when he left Apple. How many more promotions could there be?

Re:Why American ambulance rides are so expensive on Thursday July 09, 2026 @09:07PM (#48854555)
I don't disagree with what you're saying but I want to point out that it's rather unusual for (American) ambulances to carry blood, and probably more of them should.

https://www.redcross.org/about-us/news-and-events/news/10-wa...

Re:Interview with Mitchell Hashimoto about Ghostty and Zig on Thursday July 09, 2026 @07:43PM (#48853965)
> Back then I found the Rust community had interest and respect for Zig, so the discourse was very much one sided.

In hindsight (and at risk of starting a flame war), it's easier to be magnanimous when you are winning/have won.

Re:Rewriting Bun in Rust on Thursday July 09, 2026 @06:53AM (#48843840)
If they did the opposite and called it Mygres or whatever people would give them shit for that too.
Re:Rewriting Bun in Rust on Thursday July 09, 2026 @06:27AM (#48843628)
> what's a single concept in C (e.g. "the pointer") easily has a dozen specialized equivalents in Rust

That "the pointer" is a single concept in C is the root cause of absurd numbers of bugs over the history of C.

The questions of how long the memory a pointer points to lives, what threads it is safe to access from, and how it is allocated and destroyed all still exist in C. Those answers are just implicit rather than explicit like they are in Rust. It's not like Python/etc where you don't have to worry about these things.

Older »