Nix wrote half of my debugger

(fzakaria.com)

108 points | by ingve 1 day ago

9 comments

  • pmarreck 1 hour ago
    There is likely a mass of devs that is probably, hmmm, 10x the number of Nix devs from over a year ago, who know exactly what Nix offers and why it is cool, but couldn't be bothered to master it until AI came along and basically "solved the problem".

    So I'd expect AI to rapidly accelerate Nix adoption. Hopefully, because it is amazing.

    • pavo-etc 1 hour ago
      This is exactly me and I've fallen in love with nix
      • cedws 17 minutes ago
        Me too. I’ve known about Nix for a long time but resisted the idea of learning a new language just to manage my system. In retrospect, it would have been worth it, but now I don’t have to.
    • p1necone 1 hour ago
      Yeah I tried to daily drive Nix at one point pre AI and the ergonomics were just not a good match for me - perhaps I should try it again.
  • tecoholic 2 hours ago
    Seeing Nix these days is such a whiplash experience. We have fully deterministic systems and then we have LLMs. God ;)
    • bentcorner 1 hour ago
      I use an agent to author my nix config - personally I don't have the determination to have picked Nix up entirely on my own so I find it to be a godsend. I can code review config changes and keep it all in git - also makes it easy to pick up the entire config and deploy it on a different machine.
      • weavie 1 hour ago
        Plus if it messes up, you can just roll back.
        • tyromaniac 40 minutes ago
          I don't vibe code my config but this is still my favorite part. If I had it working at some point, I can always get my full system back to there
    • jazzyjackson 40 minutes ago
      The configuration can be sloppy and vibed, as long as it behaves the same every time nix retains its power :)
    • nemo1618 1 hour ago
      LLMs can be deterministic too! People just don't bother because the applications of this aren't widely known yet. See https://lukechampine.com/repligraphs
      • autkuc 30 minutes ago
        I was just reading Michael Lynch's posts about Sia[0] and I came across this.

        Its a very curious project, but don't you end up pinning repligraph usability on model weights? Since you take indeterminism out of the equation, a repligraph's notability is as significant as the producing model's weights, and since there is no dice rolls to be made, the eyeball problem:

        > Our blind spots, while not perfectly correlated, have substantial overlap

        is entirely replicated. Models that are diffused from one another can have the same blind spots, the same loose statistical reality that exists with humans. This is partially addressed in steering:

        > A repligraph proves that a model generated some artifact. It does not prove that the model did a good job, or that the artifact is safe.

        but I think the "Peer Review" solution is inadequate, and with some jailbreaking prompts' innocuous looks considered, "the attacker just needs to find one prompt" might be much easier than it appears.

        Batching seems to be a huge economic turn off for proprietary model determinism, but I think its entirely viable for consumer models. Trustless evals are brilliant and should've been our reality. Nice project, good luck on your endeavor.

        [0]: https://mtlynch.io/tags/sia/

  • saagarjha 46 minutes ago
    I kind of confused what nix has to do with this considering it seems to basically be reimplementing rr?
  • __MatrixMan__ 1 hour ago
    I find myself moving more and more non-build things into nix builds because I don't want to roll my own cache invalidation. Seems like this is yet another reason to do so.
  • iwannakms 1 hour ago
    I'd love to become a Nix user one day. I tried to write a rather complex flake one day; it ended up with Nix (nix command) deleting itself: I immediately lost trust with it.
    • iwannakms 1 hour ago
      Also Nix first tries to find a derivation in a remote cache and sets a very long timeout, so when you have a limited connection (e. g. a corporate limited network setup), it's painful.
  • Cyph0n 4 hours ago
    Dude, this is amazing stuff. Farid really is putting out banger after Nix banger haha. This sounds like a mini/less capable Antithesis runtime, but running on your machine.

    Curious: how does Rewind deal with randomness?

  • itsjzt 2 hours ago
    [flagged]
  • itsjzt 2 hours ago
    [flagged]
  • itsjzt 3 hours ago
    [flagged]