HNHacker News
TopNewBestAskShowJobs

rootlocus

3,199 karma · joined July 1, 2013

submissionscomments
rootlocus··on Small programming tricks
Why just one each day then? Why not a shared knowledge base? Do you start with a "bag of tricks" and then hand them out one by one each day to remind people you're the guy with the bag of tricks?

"Oh, yeah, I know a cool trick, but y'all have to wait until tomorrow to find out what it is."

"Look! It's a way to evaluate SQL expressions with a select with a from! Oh, you already knew about it?"

I have nothing against sharing knowledge, especially when seeing someone else do something that can be done better. But just leaving daily breadcrumbs to remind people you're the guy that teaches random trivia feels like attention seeking.

rootlocus··on Small programming tricks
Ctrl + R is great, you don't have to type out --dangerously-skip-permissions
rootlocus··on When code is a maze, smart developers make maps (2025)
I am 100% guitly of anthropomorphizing LLMs, sorry.
rootlocus··on When code is a maze, smart developers make maps (2025)
The most WTF comments are the ones that describe how the code looked during a rewrite session with no commits. It writes bad code, I ask it to rewrite it, and it leaves a comment saying why the previous implementation was bad, with no history in git of the previous implementation.

Edit: changed the LLMs pronoun to it.

rootlocus··on Astra for Coding: Why Are We Doing This Again?
Simple is better than complex Complex is better than complicated

Or something, I don't remember...

rootlocus··on Fine, I'll build my own text editor
They're asking about a reaction. "What did I say wrong?" is a valid question IMO, even if wrong is subjective, it's part of the question.
rootlocus··on How I use LLMs to learn complex topics
OP posted his rollercoaster tycoon inspired simulator that explained how chips are fabricated. Comments were full of people pointing out inaccuracies and hallucinations.

The problem with LLM explanations of unknown topics is that you literally cannot determine how right or wrong it is. I usually ask LLMs to bring references and they almost always admit they pulled random shit out of their ass and quickly appologize when evidence to the contrary surfaces.

rootlocus··on Defending my own brain against enshittification
You can focus on elevator music, doesn't make it not elevator music.
rootlocus··on Windows 11's built-in Weather app wastes more than 1 GB of RAM
Because that html page needs a full browser to render and browsers have accumulated decades of bloat for everything from webgpu to drm. There's a reason we can't write new web browser from scratch, and why some people are excited for protocols like gemini that you can hack a user agent over a weekend.
rootlocus··on Windows 11's built-in Weather app wastes more than 1 GB of RAM
10 apss using 100mb each plus 600mb shared use less ram than 10 apps using 200mb each.
rootlocus··on Our position on open-weights models
> My primary concern is the risk that authoritarian governments—not solely the Chinese Communist Party (CCP), although the CCP is clearly the most capable threat—build AI models that are more powerful than those built by the US, and use them to achieve permanent military superiority or perpetrate incredibly deep repression of their own people.

There's not much stopping US from becoming an authoritarian regime, and the US is already using AI against its own citizens.

rootlocus··on Claude Opus 5
Except where will be the programmers paying for overpriced coffee?
rootlocus··on Fields Medals 2026
If 0.0000125% of the population understands "the general ideas" I wouldn't call it accessible.
rootlocus··on I regret migrating to Codeberg
I have ~100 repos on github and only a few of them with LLM assistance. Aside from a few comments and a PR here and there throughout the years nobody cares about them. I have to assume it's the same for the majority of developers.
rootlocus··on OpenAI and Anthropic unite against open-weight AI risks to their bottom line
There's a reason we have expressions like "train of thought". Going from one idea to another is pretty much how we think. Much like going from one token to another.
rootlocus··on You only need the frontier model for one single edit
https://omp.sh/ - It's maintained by the author of the article.
rootlocus··on Kimi K3, and what we can still learn from the pelican benchmark
According to some benchmarks has the coding capability of Opus at the price of Sonnet, supposedly will be open weights and is not subject to random trade wars with allied states.

Competition is always good.

rootlocus··on Ask HN: What Are You Working On? (July 2026)
As someone with very little knowledge of economics, I played with the idea of writing a kind of wealth simulator, where money acts as voltage and keeps the economy running. It would allow you to eliminate jobs and replace them with AI and see how the circuit starves population groups which in turn cascade to other segments of the economy.

I never got to design a good representation of the entire ecosystem to simulate (external pressure, debt, military and technological advancements, international soft power, etc.).

rootlocus··on Are you telling me a readonly property is wrecking my performance?
Which is why Zig's top feature on its webpage is "No hidden control flow."
rootlocus··on Show HN: Shirei, cross-platform GUI framework in native Go
Is Tracy complicated enough? Because it's imgui.

https://github.com/wolfpld/tracy

rootlocus··on Show HN: Shirei, cross-platform GUI framework in native Go

    Co-authored-by: Claude <noreply@anthropic.com>
    Co-authored-by: Codex <codex@openai.com>
    Co-authored-by: Composer <composer@cursor.com>
    Co-authored-by: Cursor Grok 4.5 <noreply@cursor.com>
How do you get so many agents to co-author a single commit?
rootlocus··on Rewriting Bun in Rust
Im constantly surprised by the disk size required by rust builds. It takes over 50G to compile zed IIRC.
rootlocus··on Zig: All Package Management Functionality Moved from Compiler to Build System
This is exactly how I feel about performance. Unrelated to any programming language, including my own optimizations. The higher the speedup the more we cheer, however most optimizations aren't clever techniques. They're just someone using a profiler to find "huh, radiator fluid shouldn't go in the fuel tank".

Most performance bottlenecks aren't inherent limitations of the hardware or the problem. There's some minimum amount of effort required to get the result, but that's never the reason why the application doesn't perform well. It's always the cruft we add on top.

rootlocus··on Most arguments are about ego, not ideas
> If someone was wrong, I wanted them to know it, and I wanted them to know exactly why. I collected counterarguments the way I collected patches. I believed that if I just laid out the logic clearly enough, the other person would have no choice but to come around. Truth would win.

This is probably how flat earthers think. If you engage in arguments without being prepared to be proven wrong, and you're hoping people to accept your argument as truth instead of both of you arriving at the truth together, you're not debating, you're being eristic (which is a fancy word I just found).

rootlocus··on What's wrong with EU age verification? (Nothing)
And they still find ways to drink themselves to alcohol induced comas. There's no real substitute for education and parental nurturing only best effort band-aid solutions. Children with problems at home are more likely to be targeted by bullies or child predators.

I'm not saying the government shouldn't do anything, they should and it should probably involve legislature around social media that positively affects adults as well. But raising a child, teaching it what's dangerous and what's safe and developing a relationship of trust so you're aware when there's danger lurking, that's a parent's job. No amount of legislation will help neglected children. They're tiny, curious, ingenious humans who will find ways to get what they want.

rootlocus··on What's wrong with EU age verification? (Nothing)
Protecting kids online requires attention from their parents, not from the government.
rootlocus··on Show HN: Zanagrams
I would try to generate puzzles that don't involve plurals at all.

It happened twice that the word I missed was the plural of a word I already found. After finding a word I don't follow it again so finding the plural happened by accident twice, and it felt cheap.

rootlocus··on The Low-Tech AI of Elden Ring
Sure, and the article mentions the AI in elden ring is scripted in lua which is loaded at runtime, meaning it's not hardcoded.
rootlocus··on The Low-Tech AI of Elden Ring
LLMs can be described as "hardcoded weights for generating the next token". All code is "hardcoded".

I think AI for game NPCs is perfectly valid terminology. The actor senses the surroundings and makes decisions to achieve its goals within the constraints and events of the environment.

rootlocus··on Pledging another $400k to the Zig software foundation
Ginger Bill, the Odin language developer, is openly hostile against package managers (he wrote a post called "Package Managers Are Evil") so he maintains his own wrappers of popular C libraries in vendor folder next to the compiler. That doesn't sound like a healthy ecosystem to me.

I think zig is also highly opinionated but it always seemed to me that Andrew started from solid pillars and made an excellent job of carefully considering each feature that was added to the language:

- No hidden control flow.

- No hidden memory allocations.

- No preprocessor, no macros.

Odin on the other hand is just some developer's personal taste marketed as "Programming Done Right". So, if you disagree with any choice Bill made, you're not doing programming right.

Page 1 of 34Next →