Skip Navigation
What Am I Doing Wrong?
  • Thanks. Bash should just be avoided except trivial uses. It has an impressive collection of footguns. I've written a lot of bash, even used it for CGI scripts to create web tools, but honestly it is time to move on. Ansible and Python cover most of the bash use cases.

  • What Git library to choose?
  • Maybe pygit2 is indeed the way to go. When I looked into it a while back it looked very low level like it only implemented the git plumbing. But maybe I looked at the wrong part of the docs, because it doesn't look too bad.

  • What Git library to choose?

    I happen to write a lot of python code dealing with git repositories. Currently I am calling the git command line tool from python and interpret the output.

    This solution really doesn't scale well. Can you recommend a python library that wraps git functionality?

    I have found three:

    • GitPython: Seems to work well, but it is in maintenance mode, unlikely to be improved. It also does not have any type hints making working with it annoying.
    • pygit2: Seems well supported and has type hints. But it also seems very low level and pretty tedious to use.
    • dulwich: Looks very promising feature wise but I'm unsure how well it is supported. It seems like an ambitious project being largely done by just one person.
    13
    What are your favourite RSS feeds?
  • YouTube and PeerTube feeds. No need for an account. No toxic algorithm (or at least much less).

    It even has a couple unique benefits:

    • seamless integration of various video sites
    • sort channels into different folders (news/tech/memes/different special interests)
    • everything synchronized between all your devices (depends on your client, I use Nextcloud News)
    • you can use siftrss to block #shorts or something like that
  • Rettung nach Unfall: Senior verhindert Landung von Hubschrauber
  • Nirgendwo steht was von Demenz aber mal angenommen das wäre der Grund gewesen, dann muss der Opa umso mehr weggesperrt werden (im Heim). Wer nicht die geistige Kapazität aufweist um in einer Notfallsituation polizeiliche Anweisungen zu verstehen ist gefährlich. Am nächstem Tag weiß er wohlmöglich nicht mehr wie Zebrastreifen funktionieren.

  • It's Time to Bring Back the Steam Machine
  • I've seen these mockups for a steam controller that is essentially a steam deck without a screen multiple times now and it looks like absolute dogshit. This would be far from "the perfect controller".

  • InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)WA
    𝕨𝕒𝕤𝕒𝕓𝕚 @discuss.tchncs.de
    Posts 1
    Comments 20