Better HN
topnewbestaskshowjobs
Log inSign up

x3haloed

529 karma · joined Feb 23, 2015 (11y ago) · 247 submissions

Submissions

comment 8h ago · link · parent

That's true, and sometimes it's unavoidable, but I'm arguing that the first move should be to compact the codebase and rely on documentation only where the codebase is too sprawling to fit in context.

And I don't mean that you should try to fit the entire codebase into one context window. Anything bigger than a little to-do app is going to grow past that really quickly.

I mean that we should get rid of the abstractions and cruft that we used to rely on to make the codebase understandable to humans so that more and more of the causal structure does fit directly into one context window. Get rid of anything that's there to make everything fit into neat elegant abstractions. Keep everything that creates a single source of truth.

But IMO repository patterns, data transfer objects, and boundaries that exist for conceptual reasons alone should all disappear.

If I have a front-end UI framework that has nested components on a page that call an AJAX/fetch class with models that call the server, which has an endpoint with a matching data transfer object that maps onto a business-layer model that is manipulated through a repository class that calls an ORM that modifies a data model in a database somewhere, that is a useful separation of concerns that helps a human programmer reason about how the program works through learned architectural consistency. But it's also potentially 10 to 20 files to go from button click to UI change.

I would argue that shifting to a server-rendered application with a thin database abstraction is better, because it's two or three files to understand exactly what the button click does. It's more possible to hold that entire structure in context, and therefore also more of those structures. You don't need to feed it a bunch of documentation about how things are organized, why they're organized that way, what the system does, and how you designed it to behave. It's all evident in the two files of code.

So I'm not saying it's always possible to hold everything in context and documentation is useless. I'm saying the stronger move is to compress the actual architecture first, and then only document what's still sprawling and complicated.

comment 9h ago · link · parent

So interestingly, I have almost the opposite philosophy. It would be interesting to compare notes.

My philosophy is that agentic engineering works best when the code is compact and straightforward, and there is no documentation to confuse the source of truth. The code is the documentation.

What is the purpose of documentation to begin with? It's a shortcut to compress the structure of a system into a quickly scannable map. Or for closed-source software, it's a stand-in for actually being to see inside the black box yourself.

But why would you write documentation about a system that already sufficiently describes itself in an understandable format? What the program is and what it does is already abundantly clear to the model, because it can absorb all of it at once (or all of the relevant pieces at once).

I understand what you're saying about using documentation as requirements and a system design guide. And that definitely stands out as useful. If you can anticipate the architectural tensions ahead of time and encode your decisions about them in the documentation, then you don't have to encounter them and unpack them in the middle of surgery.

But after thinking this over, there is one thing I see missing from my method. The code itself already describes exactly what happens, but it doesn't provide any information at all about which choices in the algorithms in the architecture are just straightforward implementations and which are consequential to the system for outcomes, customers, industry-specific requirements, etc.

You and I typically hold those things in our heads and remind each other of them as we collect years of experience on a codebase. But every time I asked an LLM "but why would it be implemented that way?" I get almost a readback of the code itself. Something like "Because Var X depends on it." Yeah. Well. Why does Var X depend on that? Where is this all going? What does it touch in the DB and the UI?

comment 9h ago · link · parent

Yes. I've noticed the decision fatigue that comes from working with LLM agents and a similar one from shifting into management. I was just reflecting on this earlier this week, actually.

But it feels even further compressed. When you are leading a dev team, there is the entry-level dev who needs conceptual guidance on how to think, the developers take weeks to finish their tasks and will sometimes come up with solutions by tapping colleagues on the shoulder instead of you, and when it comes time to work on a hard problem, they can narrate how they got there and what other solutions they tried. All of those things take some load off of you, assist you, and slow down the rate at which the hard problems assault you.

I can think of times where I have three agents working on three different products, all three are sitting waiting on me, and none of the decisions involved are simple. It feels like constantly tangling with the hardest problems in your system designs all day long.

It's extremely productive and extremely exhausting.

comment 1w ago · link · parent

Delete Google

comment 1w ago · link · parent

> Based on our data, it looks like they’ve been tuned for cost savings. Specifically output tokens per task and reasoning tokens per task have dropped.

Efficiency has been part of the value proposition of every technology I’ve ever seen in my lifetime.

One does not buy a machine without considering its efficiency.

comment 1w ago · link · parent

The tomato is so unnerving. Watching it slide over things before eventually vacuum-sealing itself to whatever is underneath. I think it's the slimey, bumpy testure and the pliability.

comment 2w ago · link · parent

Google ain’t in the same league right now.

comment 2w ago · link · parent

I miss 5.6-Sol’s attack dog nature. Everything in the 6 family just feels like it’s sleepy.

comment 2w ago · link · parent

1. It's a stress on maintainers. 2. OS projects often close their doors to AI. See point #1.

The fact that free software is benefitting at all from more coding power is a win. We have bottlenecks to solve though.

comment 2w ago · link · parent

Kind of a silly position. I mean, if it's you're code verbatim, then yeah, it's a violation. Shouldn't be allowed. But like... it saw open-source code and therefore all output must be open source? I don't know about that.

Here's where I can get on board. I think people should be putting AI to work to improve everyone's lives for free. Your version of "should" is like "we should make this a law." My version of "should" is more like a moral recommendation -- we should be using as much of our subscriptions as possible to benefit everyone instead of enriching a handful of people. I view it as a natural extension of the spirit of free software to begin with. Software should be free (as in freedom), and we finally have enough development power to make real headway on that.

comment 3w ago · link · parent

This is the point. hmontazeri is imagining where AI still has left to grow as a consumer product, but AI is currently more of a business product. Even without a new consumer use case, it's easy to see demand for tokens keep going up.

comment 4w ago · link · parent

Here's the thing. As you're indicating, UI and UX are not the same thing, but they're both subjective.

You can ask the model to implement common patterns for both UI and UX. You can ask the model to correct obvious UI errors.

But you can't really ask the model to have UI taste unless you supply that taste, and you can't ask a model to "do UX" in a vacuum. UX work requires user testing. So any UX workflow that is going to be handled by agents must also include observational data of humans using the software.

There is no set of instructions that can do "UI/UX" without also incorporating human feedback.

comment 4w ago · link · parent

I had a pre-order. The reason I canceled was because the delivered product had a lot less range and was much more expensive than previously announced.

There were other things that contributed to the decision, too: the announced "stressed skin" exoskeleton was panned in favor of adhering the body panels to the body with glue, it became clear that Tesla's profit and valuation were funding Elon's right-wing political project, and I would have preferred a solid-axle design.

The absurdity was not what was wrong with it. It's OK to be absurd. I really liked the stainless steel design. Less trail damage when off-roading and no need to worry about paint scratches causing body rust. The door wedge design? Meh. But it enabled the stainless steel body.

In the end, I want what the Cybertruck failed to deliver: a full-size electric pickup at a good price with excellent range. I currently have my eyes on the RAM REV. We'll see if that one gets axed, too.

comment 1mo ago · link · parent

Where do you find that T3 Code is strongest and where it is weakest?

comment 1mo ago · link · parent

I want to make a joke about that last line so badly.

I've had the same experience as you with Claude, and I have to choose a single subscription, so I'm on Codex. I definitely wish I had access to Opus 5.5 right now.

comment 1mo ago · link · parent

Codex (Pro x 1), no outside models, custom harness, custom orchestration, custom agent harness.

I avoided building anything custom until I had to, and I avoided adding more than a single agent until I had to.

My preferred way to use AI for coding has been to work closely with a single coding agent with the code open. That changed wth 5.6-Sol and a handful of skill files. I stopped needing to watch closely to keep it from fucking up the codebase. With the right request, that combination will get the job done 9/10 times.

That unlocked a new workflow: as soon as a change is requested, a coding agent reads it and gives me a PR. I want a complete proposed code change in front of my eyeballs by the time I open the change request myself.

So I have a custom solution in place to manage a handful of agents aligned with this workflow.

Custom solutions are so cheap and easy now... it's really hard to put up with solutions that are only mostly right for the job.

comment 1mo ago · link · parent

I literally just said that you should let the AI surface the information for you -- not summarize or draw a conclusion for you.

comment 1mo ago · link · parent

True. Although I generally find that to be rare.

comment 1mo ago · link · parent

Yeah, I don't like the direction of any of this.

comment 1mo ago · link · parent

Yeesh. Claude still does that? I haven't had that problem since GPT 5.

comment 1mo ago · link · parent

Any TV that you want. Just don't connect it to a network. Why is this hard?

comment 1mo ago · link · parent

OK, I like this in concept a LOT. I especially like that it's efficient and headless with an attachable GUI.

But I don't like how opinionated it is: "Therefore Prospero prime design principle: Never wait forever. Every operation has a deadline. This decision influences everything."

I respect that opinion, but I don't share it, and therefore an entire coding harness developed around that opinion is not helpful for me.

comment 1mo ago · link · parent

Oh, you are 100% correct about that.

comment 1mo ago · link · parent

I have a suspicion that eventually you won't have to be a developer to successfully create good software. I do think that familiarity with algorithm design will still help a lot. But ultimately, if your verification, testing, and observability regimes are good enough, the exact implementation shouldn't matter.

comment 1mo ago · link · parent

This is why, to me, it's more interesting to ask the question "how are good devs attaining outsized successes with AI" than "why are good developers wary of AI?"

Yes, there are real reasons to be careful, but that's already obvious to everyone in the field. The real gold is in discovering how successful devs are managing these risks while also retaining the benefits.

comment 1mo ago · link · parent

Honestly, I see good points in both of your comment sets.

But there really is a floor on how deeply a person can understand their own software. There has to be a "good enough" somewhere. As a C# dev, I can understand my entire codebase pretty deeply. And I've read enough of the .NET Core framework to understand some of the nuances of how a lot of the methods we rely on every day are implemented. But I've never once looked at the CIL that Roslyn has produced, and certainly not inspected the machine code that the runtime has compiled. I can't read or write Assembly. I don't really know anything about the x86 or ARM instruction sets. My understanding of the CPU is barely better than "it's transistors," and even lower than that, I have a vague awareness that neutrinos from space can flip bits and there are error correcting mechanisms for that, but I have no idea how they work. And yet, I'm able to write fast and reliable software.

There are super knowledgeable devs out there who pretty much DO understand the whole thing, but it's impossible to memorize every line of every version of framework that you're using or the unique alterations and upgrades to every piece of silicon that your program will run on, and as you guys pointed out, proprietary operating systems are basically completely opaque to our understanding.

So the question is really "where is the practical floor that you stand on?" And for me, personally, there is room for at least some areas of code at the application level that I'm OK with never having read myself.

comment 1mo ago · link · parent

I think this blog post is underbaked. I think it misplaces where the tension is, and also the skiing metaphor is attempting to simplify an explanation that's already simple.

The post describes the tension as being between leaders and developers. I don't really think that's where the tension is. I'm on a small team of all senior devs, and I've seen both sides -- skepticism and full embrace, and leadership was not pushing AI on us at all. On our team, no matter where we're each individually at on adoption, we're all pretty clear-eyed about the upsides and downsides. The upside is absurdly fast code production. The downside is losing touch with every line of code in the codebase.

There's no need to introduce the skiing metaphor, because the problem is simple: it's the devs' necks on the line when the system goes down or a customer record goes missing. When you get a call at 4 in the morning from the CEO, "Let me ask someone (AI)" isn't an acceptable answer. It's your job to know the failure modes like the back of your hand and be able to diagnose and rightsize in minutes. We've spent our whole careers guarding against those failures by agonizing over every line of code that goes into the product. With that understanding, it's pretty obvious why senior devs are hesitant to adopt something new without a clear picture of how they can be sure that the program isn't going to go down under load, isn't going to drop or mangle customer records, and when one of those things inevitably does happen, how to recover quickly. In a nutshell, job #1 for a senior dev is to account for every failure, and this becomes much harder when an automated system is pushing through 10x as much code.

I'm one of the devs who has chosen to adopt AI. As I reflect on that, I think the reason I'm willing to do so is because I have a level of certainty that I can work the pipeline to safely introduce more changes, faster. So far, I am getting mixed results, but that's not deterring me from continuing to try to reach an optimal point on the tradeoff curve.

comment 1mo ago · link · parent

This topic is bringing out the hallucination-panic crowd.

It's perfectly safe to use LLMs to surface underlying data and knowledge without having to trust that it's giving you correct advice.

Use the LLM as search technology: string match -> semantic search -> search intelligence.

This is especially helpful when you don't know the right question to ask. Semantics only help you find text that is semantically near the input query. Semantics won't help you when what you are looking for is connected to what you have by something other than semantics, like causation, mechanism, or interpretation.

Trying to figure out why your crops aren't growing well will likely require you to read several articles across a range of sciences, probably scoped to the specific conditions you are dealing with. A semantic search is not going to surface those first.

Allowing an LLM to chain together several sources for you to read first does not require you to ask it for a conclusion.

comment 1mo ago · link · parent

Decent LLMs can run on anything now: https://github.com/he-be/turbo-fieldfare

Kiwix is great, but I'd also like a language model to be able to deeply interrogate all of that information much faster than I can read.

Just arrange its harness so that its responses are grounded in the source material and require source citations for everything. Then read the citations to confirm it's not a hallucination.

comment 1mo ago · link · parent

I made it a while ago now, but similar: https://github.com/x3haloed/eowkit

Helps you download a local LLM and offline Wikipedia. Probably easier to just ask your favorite agent to glue something together yourself these days.

12345
9