Unofficial Hacker News client - receive Push Notifications on replies.

Self-hosted software development factory (opens external site)

325 points by ingve 1 day ago | kudmitry.com | 179 comments on HN | Vote on HN (opens Hacker News)

View full thread · View on Hacker News

Comment thread (21)

  1. Currently the bottleneck already isn't token speed but human understanding speed. Context switching is a huge problem that the "human in the loop factory" model doesn't fix.

    I believe we're moving past the human understanding or human approval approve workflow and are quickly diving into human verification only, and even that for a small set of edge cases only.

    In the airline pilot analogy I'd say we're past airline pilots and more like air traffic controllers: they don't understand the decisions pilots take inside the cockpit but direct them and check for outcomes.

    Replies (3)
    1. But if the feedback loop gets much faster, maybe you don't have to have many things going at once? Just iterate on a single thing until it's done.
      Replies (2)
      1. No matter how fast it becomes the same issue will come up: why be serial when you can be parallel?

        There is no longer a reason to work on only one thing because it doesn't get materially better the longer you work on it.

        Replies (2)
        1. But I can't be parallel if I get a constant stream of questions one after another. That would be like driving several cars at once.

          Today the "cars" are tortoise slow, so I can do it.

          Replies (1)
          1. You’re right, we humans can’t. Current agents are outcome based: you give it a goal and it’ll try to achieve it without asking questions. You validate if the outcome is acceptable in the end.

            You’re not driving the cars, you’re telling them to go places and asking for pictures as confirmation that they went.

            Replies (1)
            1. It's tortoises all the way down. What's a good goal? In that world, someone has to tweak the goal for the goal tortoise.

              Maybe it will always be like this, the ebb and flow.

        2. If the tasks are truly parallel in their construction, then there isn't a strong argument for this. However, I've never experienced a marketable product that could be developed in an exclusively parallel manner. Everything is connected in some important way. If it wasn't, then we would be selling that many different products instead of just the one.
      2. If we speed up the feedback loop, you're answering 17 questions and then immediately getting 19 new ones. You're the bottleneck.

        At some point you will say "you know what, just bring me the important stuff."

    2. This is paradoxical. Before it was easier to verify because a team built something and had to have understanding to build it. In this paradigm you're being asked to do one of the hardest tasks, verification, at precisely the point where you are least equipped to do it. If you're not involved with the building process, you have no context for what looks right and what doesn't. And this problem isn't solved by ever improving models. Reasoning alone can't bridge that gap unless it becomes truly infallible.
      Replies (3)
      1. My view is that understanding the system won’t be important, just understanding its externalities and blast radius.

        There is no way of creating a human understanding of codebases that run into the millions of lines of code in a few hours or days since inception. The incentive to simplify and understand codebases are just not there anymore as LLMs changed the calculus. We’ll see more and more of these systems, specially with these fully automated AI software factories or software dev lifecycles.

        The engineering job will shift to externally validating these systems and constraining them so they don’t have adverse effects. Bridge builders don’t need to know how concrete with additives behaves chemically, they need to know how to test its strength and minimize eventual failure.

        We already run systems we don’t understand all the time and do so under very thin trust contracts. Nobody here has ever understood or validated Chrome and yet we give it full disk and network access. We’ll see a bigger focus on those contracts in the future.

        Replies (1)
        1. > Bridge builders don’t need to know how concrete with additives behaves chemically, they need to know how to test its strength and minimize eventual failure.

          Uhh yes, bridge builders very much need to know how concrete with additives behaves chemically. The tests are verifying that the well-understood chemistry is occurring as it should. The tests do not exist in a vacuum, absent the understanding of the underlying chemistry.

          This misunderstanding is kind of a microcosm of why I disagree with everything you've expressed in your comment. We're already to the point where a developer can generate a system beyond their comprehension - just prompt Claude and come back later and push to production. The issue is why would anyone trust to run that system when it begins to actually impact a business' bottom line?

          If your answer is to test it, well you're basically describing the process of engineering a well-designed system while insisting that it's not actually understanding a system.

          Replies (2)
          1. > bridge builders very much need to know how concrete with additives behaves chemically

            the civil engineers I know have tables of products and their properties built in to their design software. They most certainly do not know the chemistry in concrete beyond what's required to pass a class in undergrad maybe. The manufactures of concrete certainly know but "bridge builders" just look up a product based on the specs they have and the customer's budget.

            Replies (1)
            1. So who will be in charge of producing the table of specs? Which in software development is called API docs.

              I don't look at Linux's code to use their syscall or Java's implementation of HashMap to use it. I mean I can, but I don't need to.

              Instead I've got a reliable description of the semantics involved which I can build upon. Any bugs is more likely to come from my logical construction than an error in the docs. And when the latter does happen, there will be someone on the other side who is familiar with the code there and can fix the bug reliably, aka with a very low chance of introducing new ones.

              The tower of abstraction of software systems does have people at every level that do know how things work. And people do communicate with each other with reliable information.

              Continue this thread (1 replies) →

          2. > The issue is why would anyone trust to run that system when it begins to actually impact a business' bottom line?

            You already do, all the time. Let's say you run a company on the cloud. You don't know how any of your cloud instances work, you don't know their hardware, you don't know how the hypervisor works, you don't know how the database is configured, anything. The quality or safety of that software and hardware is completely unverifiable to you. You cannot look inside or audit it, but you trust it.

            That's because you only care about the possible negative impact of it, its blast radius if it goes bad.

            So you rely on contracts and mitigating solutions: you set up budget alerts, monitoring, you set up backups, contingency plans, disaster recovery, multi cloud providers. Basically you try to contain the negative impact of trusting a system you didn't build.

            > If your answer is to test it, well you're basically describing the process of engineering a well-designed system while insisting that it's not actually understanding a system.

            If I gave you a black box binary right now that I say is faster than `grep`, told you to compile and run it, what is the best way for you to ensure it is safe and does what I say it does?

            You run it inside a FreeBSD jail or some other capability restricting Kernel tool. You set up your firewalls to not allow external connections. You devise a set of acceptance tests to ensure it actually finds the same thing as `grep` does, you devise a set of performance tests to compare it to `grep`.

            You limit the bad outcomes of running untrusted software by constraining it and you verify it does what you want externally.

            Same thing will have to be done for AI-written software but at a domain scale.

            We already have incomprehensible software that we run and trust right now, just not usually the ones we write.

            Replies (1)
            1. > If I gave you a black box binary right now that I say is faster than `grep`, told you to compile and run it, what is the best way for you to ensure it is safe and does what I say it does?

              I don't want any virus from random stranger. /jk

              On a serious not, usually black box binaries comes from reputable organization which puts their reputation on the line (usually). There's no reason for me to trust random organization/individuals with their binaries. Putting a software in a container is not about verifying the software, it's mostly about ensuring a consistent environment, and limiting the blast radius for some specific misbehavior. I wouldn't care about proving that your binary is a real `grep`.

              Right now I'm running some blob from intel on my laptop (wifi and graphics driver). I trust intel about being reliable and correct, and I have no interest of proving anything about the behavior of their firmware. But if the latter start mysteriously glitching, I would either downgrade to an earlier version or just switch to another device. That's usually how you deal with unstable system.

      2. I'll just say it: modern ai slop is still better than 90% than what the industry got out even when (or because of) hiring hordes of MIT-bred Leetcode ninjas.

        And most of the code out there is Magento, Laravel, ASP.net etc monstrosities.

        Might've not been true 6 months ago, but the situation is just better, and easy to make better if you're just willing to spend the time to do it.

        But you really do feel drained holy hell.

      3. Long ago, in the time before agile, there used to be a people from a place called the QA department. Though they were allies of the developers, they would practice long and legendary battles between them in wait for battle with outside forces. But when the best of each fought, the most amazing and capable combined force could emerge. Over time the QA departments were dismissed, fading back to where they came. You will have to rediscover why they were called away, and the strategies and techniques of their time. Now, I tire of this story, and I need to grow a grey beard to scratch musingly.
    3. It's a UX problem. What happens now is that you prompt your agents and they dump the result on you. It takes a lot of mental effort to figure out where to start, how it progressed to the solution, etc.

      But imagine an interface that takes your hand and show you the code being created, with all sorts of visuals, with the ability to point and click and get an explanation at the right level of abstraction, this ability to zoom in and out, to move a cursor on a timeline to go back and forth on the progression towards the results, it's what's really missing.

      4 years already and still nowhere in sight there is the equivalent of an IDE for AI boosted development.

      Replies (1)
      1. I've been thinking about ways to use something like Unity or Godot to create an environment that can facilitate this experience.