• 0 Posts
  • 19 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.




  • I have always been very confused about whether the tip line on the receipt in the US works with my British cards given that I enter a PIN into a terminal that doesn’t show that tip amount.

    As of last year I’m pretty sure the tip is deducted from my card, but I don’t think that has always been the case. I understand it works based on PIN-authenticated pre-authorisation for a higher amount and they later take your tip+bill from that pre-authorisation.

    It doesn’t seem very secure but the US always seems behind on card security.

    When I first started travelling to the US for work restaurant staff were always extremely confused about why my card needed a PIN. They often tried again and again or said my card wouldn’t go through, then worked out that it needed a PIN. Lots of places then had no way to hand you the terminal to enter it, like they would have to push aside mountains of junk to get the terminal out, or invite me round to the other side of the bar because it’s literally screwed down.


  • Protecting, say, 17 year olds from deliberate access to porn is weird when you think about it. If they want porn, they are post-pubescent and therefore sexually mature.

    “You are not 18 therefore you cannot have sexual interests” is a weird take on the face of it.

    Maybe lock up the weird/dangerous stuff, and make it hard for little kids to see, but otherwise, knock yourself out.











  • No, those are both trademarks, you’re associating 𝕏 with your tech business (to the extent that Elon Tracker is a tech business).

    But if you start a plumbing business you can call it 𝕏, because trademarks are industry-specific.

    You might be able to get away with starting a business called XYZ and putting 𝕏 symbols all over your website as long as it obviously isn’t your logo.

    Or you can publish images of people doing unspeakable things with the 𝕏 logo. As long as you are not claiming to be 𝕏, you can use the 𝕏 glyph however you like.

    This is not true of the bird logo. You aren’t by default allowed to reproduce it, so the company can allow you to, with extra conditions of their choosing. They can make you take down images of people doing unspeakable things with the bird logo, on the basis that it contravenes their terms and therefore is not covered by the license.


  • 𝕏 is actually a Unicode symbol, so musk can’t trademark it

    That’s not true, it absolutely can be a trademark. You might be thinking of copyright - he can’t copyright the current 𝕏 logo.

    The rights you’d get from each protection are different and a sensible business probably would want both. Trademark protection would prevent another tech company trading as 𝕏; copyright protection for the logo would let you set terms on how it is used.