wasabi

joined 6 months ago
[–] wasabi@discuss.tchncs.de 25 points 4 months ago* (last edited 4 months ago) (5 children)

We can. The point is that Windows users can't compile for arm. They depend on the Dev to to it. That will take some time and some won't do it at all.

[–] wasabi@discuss.tchncs.de 15 points 4 months ago (3 children)

You can plug it in upside down?

[–] wasabi@discuss.tchncs.de 1 points 4 months ago (1 children)

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.

[–] wasabi@discuss.tchncs.de 1 points 4 months ago (3 children)

Could you elaborate on the weird behaviour introduced by pipefail?

[–] wasabi@discuss.tchncs.de 5 points 4 months ago* (last edited 4 months ago) (1 children)

This is a docker/bash question, not a python question. Also reading the error message explains the problem.

[–] wasabi@discuss.tchncs.de 5 points 5 months ago

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.

[–] wasabi@discuss.tchncs.de 6 points 5 months ago (1 children)

You'd still only get strings as returns. No objects modeling git concepts.

 

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.
[–] wasabi@discuss.tchncs.de 1 points 5 months ago

Windows for until 8 => various Ubuntu Flavours for a while => Manjaro for a couple Weeks maybe => Arch for 5+ Yeats => fedora since maybe 2 months

[–] wasabi@discuss.tchncs.de 3 points 5 months ago* (last edited 5 months ago)

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
[–] wasabi@discuss.tchncs.de 2 points 5 months ago (1 children)

Probleme im System (die es definitiv gibt) entschuldigen kein grobes Fehlverhalten.

[–] wasabi@discuss.tchncs.de 3 points 5 months ago

Wenn er seine fahruntauglichkeit nicht mehr erkennen kann und er sich nicht davon abbringen lässt zu fahren, dann ist er schon eine Gefahr

[–] wasabi@discuss.tchncs.de 4 points 5 months ago (5 children)

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.

view more: next ›