Unofficial Hacker News client - receive Push Notifications on replies.

Self-hosted software development factory (opens external site)

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

View full thread · View on Hacker News

Comment thread (49)

  1. Human in the loop is the future of software development.

    The reason everyone is inclined to use async agent swarm techniques is because token bandwidth is abysmal right now. I'd argue we haven't even reached the 28.8kbps era of token speed. Sitting at your computer and mostly watching a progress bar is not a good time.

    Once we are at a point where tokens can be generated 1000 or 10k times per second, entire new ways of working will open up. Developers will become more like commercial airline pilots with the business sitting in the copilot seat. You can solve problems live on a screen share without an intermediate process getting in the way. Iteration speeds can go through the roof. Code standards, testing, etc can be handled in the back office once everyone on the phone is happy. That's the new software factory.

    I've already done some practical experiments with real client issues using ultrafast OAI models and it feels like we're exactly one more turn of the crank away from this becoming a reality. If 8x token rate is borderline, 16-20x is going to feel really good. We should have this by summer next year.

    I challenge HN to go try GPT ultrafast models at least once before the end of this week. Try to recall what it was like to use broadband internet for the very first time (if you're old enough for this to be relevant).

    Replies (12)
    1. Are "ultrafast" modes faster because your request does not wait to be batched? Or does it run on faster hardware? Or are the models themself different?
      Replies (1)
      1. From my general understanding, OpenAI has partnered with an AI chip company that baked the models directly into the chips to make them run faster and more efficiently, analogously ASIC miners were better than GPUs or CPUs for BitCoin mining even though less versatile of course.

        Feel free to correct me, I’ve got so much to learn!

        Replies (1)
        1. I don't think the crypto hashing task is a close enough analogy for LLM inference.

          There are companies working in the ASIC implementation of inference (eg. Etched AI) and other companies working on inference-optimized hardware (eg. Cerebras).

          One of the major issues with inference is the foundation labs can't keep the chip utilization very high. The GPU cores are largely idle when data is being transferred, so one of the major issues today is overcoming memory bandwidth constraints.

          The difference between the complexity of crypto hashing (something like 10KB KB of code and 2KB of data being hashed) is many orders of magnitude smaller than LLM (100GB of model, a few MBs of prompt + prompt files + system prompt + LLM gathered source files + compiler / test output from many runs).

    2. This is a really good point. Yes, I'm developing faster with agentic workflows than I was before LLMs became effective. But I'm also spending more time swordfighting in the hallway than I was a couple years ago.
    3. I like this parallel, very good point.
    4. What if tokens gets pricier as venture capital money runs out and the product start the enshittificating process?
      Replies (1)
      1. Use models that don't depend on VC to exist.
    5. maybe I'm a moron, but had to ask. who will these "software factories" be building "software" for? "software" is already a commodity, any determined junior out of school with claude can already spin up almost anything, for most use cases (good enough for any SME). and "software" used by Jane Street or NASA in any case will always be out of reach for non-specialists. so who exactly is the market for these "software factories?" and are we ok with irreversible climate change in the name of "software factories" with very limited social utility? like I said, maybe I'm a moron. but can some enlighten me?. edit: formatting
      Replies (3)
      1. Understand that it's just a term people use to describe their agentic vibe systems, 'gas town' et al., they're making software for their operator or operator's employer, it's just a grandiose way of describing a tool (and more likely to imply elements of gamification, personification, etc.).
        Replies (1)
        1. thanks for the explanation. i kind of sort of understand this, but i do not think that any employer will allow the use of refurbished dell optiplexes etc. for company work. i will just stop at that
      2. You won't really get an answer for those. I'm using OpenBSD, which does a release every 6 months or so. If you look at their release pages, like the one for 8.0

        https://www.openbsd.org/80.html

        you will see that the items mostly fall into two categories: a) Bug fixes and tweaks; b) New features. Both are the results of people actually using the OS and finding it lacking in some way. And that's on the level of an entire operating system with various use cases. For smaller projects you can spend years without the need for updates.

        The software development lifecycle should include the users (or at least a paying customer) to have any meaning at all. Otherwise, it's just navel gazing and building sand castles. And if you got that feedback, development should always converge to a reduce activity on the codebase unless external events that update the definition of what the software should be.

        Replies (1)
        1. > The software development lifecycle should include the users (or at least a paying customer) to have any meaning at all. Otherwise, it's just navel gazing and building sand castles. And if you got that feedback, development should always converge to a reduce activity on the codebase unless external events that update the definition of what the software should be.

          yes, absolutely. cannot agree with you more

          > I'm using OpenBSD, which does a release every 6 months or so...

          We are on debian, mostly (ubuntu server being the other os, for GPU-centric systems). So I can understand

      3. > "software" is already a commodity

        Commodities are the class of things that are essentially fungible, where you can exchange one unit of SomeCommodity with another unit with no loss. Corn, for instance, or steel of a given type. If I give you one kernel of popcorn, and take another one from you, essentially there's no difference.

        Software is decidedly not this. If I take Microsoft Excel from your computer and replace it with Quicken, that is a meaningful change.

        Replies (2)
        1. > Commodities are the class of things that are essentially fungible, where you can exchange one unit of SomeCommodity with another unit with no loss. Corn, for instance, or steel of a given type. If I give you one kernel of popcorn, and take another one from you, essentially there's no difference.

          today, most businesses have the same workflows--manufacturing/services, marketing, accounting, administration, management, IT (even the smallest 10-person company has an IT person, whether in-house or contracted). "software" for these processes is already "solved," either by saas or claude (both of which solve "software" for these processes at very little cost, comparatively (compared to contracting/hiring a "software factory"))

          so today, most buyers of "software" can exchange one unit of "software" for another unit of "software" with no loss. i used the word "commodity" in that sense, and even if it is not already a commodity today for some niche use cases, it definitely will be a commodity tomorrow for absolutely all of the above use cases

          so coming back to my original question, who/where is the market for these "software factories"

          edit: added "administration"

          Replies (2)
          1. Perhaps one answer is that there will probably no longer be a market for it, and instead entities (individuals and companies) will have their own software factories to build things tailored to themselves, like the OP. The other answer is that there will always be entities that do not know what they need or how to organize themselves well in every regard, or have no interest in figuring this out, so they would rather delegate that to another entity with the expertise for it.
            Replies (1)
            1. On the one hand, if someone wants to make any real money (bmw money, not coffee money) from a "software factory," they have to provide such services to relatively successful SMEs, who by definition are not disorganized, because if they were disorganized, they would would not have the "bmw money" to pay to the "software factory" service provider. And for any relatively successful SME, the saas/claude model is more cost effective (as explained above), so no reason for them to go to a "software factory"

              On the other hand, if a "disorganized" entity were in the need of software for the purpose of "better organization" would they even have the "bmw money" to pay to the "software factory" service provider in the first place? Bums are by definition broke

              Do you see the problem, this is not a viable business model except at the mom and pop store scale? I cannot think of a counter-example

              Of course, if someone is using the "software factory" term to mean software for personal/company internal use, well, that is a different usage of the term from what the blog post's author intended--as a "software factory" that builds software for paying external clients

          2. They don't have the same workflows, where are you getting this from? If you have experience with B2B SaaS then you would know that every business does things a little differently. A single SaaS they use is usually just a node in the process and is never the entire process.

            > so today, most buyers of "software" can exchange one unit of "software" for another unit of "software" with no loss

            That's the most hyperbolic statement I've ever heard in my life.

            Replies (1)
            1. Whatever. You do admit that saas has already solved their software problem. So "software factories" cannot be more cost effective for them, as explained above. So, again, this is not a real market for "software factories"

              > That's the most hyperbolic statement I've ever heard in my life.

              Well, llms solving coding seemed like hyperbole to me too at about this time last year

        2. People are already pretending that software is 0 cost.

          Good news everyone, you can light your laptops on fire. We only need one computer for the whole world. It will instantaneously generate all of the software we need. Free food is on your left, free drinks on your right.

          Replies (1)
          1. > People are already pretending that software is 0 cost

            I never said "0 cost," please don't misrepresent what i said

            All i said is that "software factories" have a cost disadvantage compared to saas or Claude, and it is only going to get worse, for 99.99% of use cases. If not today, then tomorrow. So there is no real market for "software factories"

            If you think a real market exists for "software factories," please give me one specific, concrete, real-world example of such a market. prove me wrong

    6. I don’t think this will be as transformative as it seems. In my opinion there is a limit above which generation speed doesn’t help as it improves something that wasn’t the bottleneck anymore. Maybe it’s just my use case or maybe my whole process is wrong but in my use cases most of the time is actually spent in running tests, benchmarks or interacting with the world (or an expensive step). Claude could write at a billion tokens by second and my sessions would still be roughly exactly as long.
      Replies (1)
      1. >there is a limit above which generation speed doesn’t help as it improves something that wasn’t the bottleneck anymore

        one could argue that the market for these "software factories" product becomes the bottleneck/constraint

    7. In around 2023 I was quite vocal that tokens are going to become like traffic, a measurement we don't even think about in the future, but I've been quite wrong. I think the establishment likes to sell very expensive gpus and there's no economical incentive to make it so. Not without a huge market crash.
    8. 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.

              Continue this thread (1 replies) →

          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.

              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.

              Continue this thread (1 replies) →

        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.
    9. Counterpoint, Amdahl's law.
    10. My attentions and energies do not scale with swarm outputs, in fact I get more fatigued.

      I don't think you're wrong per se, but I see the future of development still as a concerted effort where different experts take care of different parts of the development. Right now in my team we're 4 people with 4 projects, so each of us has to also know about databases scaling, optimizing agents and prompts, UIs, accessibility, performance, improving the tools (the more agents output the more you want your tools to be fast and reliable), setting up proxies, relays, websockets, platform and cloud limitations and yada, yada we all know the list is endless.

      I think it would be more sensible if we got back again into taking care of different parts of the stack, but then I don't see how is it possible without increasing the amount of cross engineer syncing, which becomes again the blocker.

    11. I'm already bottlenecked by what I and my team mates can review. Faster tokens don't help me at all.

      And yes I need to review everything. There are many reasons for this.

    12. > Once we are at a point where tokens can be generated 1000 or 10k times per second, entire new ways of working will open up.

      Hell, I'd take the current near-SOTA models at like 40 tokens per second but with decent parallelism (let's say up to 16 parallel sessions) but without any token limits cause currently those are the main limiting factor, for anything and everything.

      It feels like anything above around 200 tokens per second has diminishing returns because it just shifts the slowdown more to human in the loop unless you're doing batch work - I'd benefit more right now from models that don't write obtuse spammy bullshit and communicate clearly and well, and have the equivalent of decent "taste" in regards to development.