• 0 Posts
  • 13 Comments
Joined 1 year ago
cake
Cake day: July 2nd, 2023

help-circle
  • I recommend wrapping the git cli commands using subprocess, using porcelain output modes etc, and parsing the output.

    We have had stability problems with GitPython (which wraps gitdb). On Linux gitdb does clever things with sliding mmap, which caused some crashes (in a multi threaded environment), and I found simple race conditions in the code for writing loose objects, which is about as simple an operation as can be, so I lost faith with it. I do use gitdb in one read-only single-threaded system; it’s undoubtedly fast.

    The biggest issues with git libraries are around the complexity of git configurations. Any independent reimplementation is probably going to support the most common 99% of features but that 1% always comes back to bite you! We use a lot of git features in service of a gigantic monorepo, like alternates and partial clones and config tricks.

    If we use command-line git we get 100% compatibility with all git configuration and ODB features, and it’s hard to ensure that with an independent git implementation (even libgit2).

    When you say “that solution doesn’t scale well” - we have made it scale. git itself scales well for operations it can perform natively, you just have to use the features effectively, often the high-level operations but sometimes lower-level commands like git cat-file --batch, git mktree --batch, etc. It’s not as fast as gitdb but fast enough, and I can have high confidence that I can write something once and it won’t break or cause problems later.



  • I doubt they are using Johansson’s voice. I expect they need much more studio-quality training data than they would have for her.

    The desire to create a “Her” might be real but explains why they chose a similar voice actress, made Sky the default, and continued to pursue Johansson to some day create the real thing.

    Suspending the Sky voice looks guilty but it might be a temporary action while the legal team considers their response. There might be a non-zero risk of being found liable if there were directions in the voice casting process to seek a result comparable to Scarlet Johansson. You’d want to collect and assess correspondence to see if that’s a possibility, which might take a while.



  • lordmauve@programming.devtoMemes@sopuli.xyzSolve a puzzle for me
    link
    fedilink
    arrow-up
    5
    arrow-down
    2
    ·
    6 months ago

    I don’t deny that this kind of thing is useful for understanding the capabilities and limitations of LLMs but I don’t agree that “the best match of a next phrase given his question, and not because it can actually consider the situation.” is an accurate description of an LLM’s capabilities.

    While they are dumb and unworldly they can consider the situation: they evaluate a learned model of concepts in the world to decide if the first word of the correct answer is more likely to be yes or no. They can solve unseen problems that require this kind of cognition.

    But they are only book-learned and so they are kind of stupid about common sense things like frying pans and ovens.