• 0 Posts
  • 23 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.devtoScience Memes@mander.xyzVoyager 1
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    1
    ·
    6 months ago

    No, it doesn’t. Commands could be authenticated using a pre-shared secret. Even public cryptography existed prior to Voyager 1’s launch (by a year).

    Based on the state of computer security at that time I would guess that’s unlikely, but then again it was the Cold War.

    Anyway, just because it is possible it doesn’t mean anyone can do it.










  • lordmauve@programming.devtoScience Memes@mander.xyzhmmmm
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    8 months ago

    Some infinities are bigger than others but those are both the same sized infinity, ℵ₀. Same if you multi-track drift.

    Edit: I didn’t read it closely enough, it says “one person for every real number”. Which is indeed a larger infinity. However I don’t think you can diagram that, the diagram is showing a countable infinity of people on the lower track.

    Killing one person for each real number, the train will be killing an uncountably infinite quantity of people in any given finite time slice.