Unofficial Hacker News companion — get notified on comment replies, and more.

Self-hosted software development factory (opens external site)

331 points by ingve 3 days ago | kudmitry.com | 192 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (2)

  1. > 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.