Ephera
- 39 Posts
- 3.01K Comments
Will mich da mal nochmal damit ausprobieren, weil ich mir erhoffe, dass es konfliktfreier über Systeme ge-synced werden kann, weil eben nicht mehr die gesamte Datenbank-Datei als geändert markiert wird, sobald man auch nur ein Passwort ändert.
Aber ja, hatte das vor einer Weile schonmal probiert und war mir damals doch zu minimalistisch…
Habe
passnur mal kurz vor 1-2 Jahren ausprobiert, aber wenn ich mich richtig erinnere, gab es da durchaus teilweise die Anforderung die Dateipfade direkt auf der CLI anzugeben. Also vielleicht willst du’s doch nicht zu tief im Dateisystem vergraben, oder zumindest dann einen Symlink im Home-Verzeichnis haben…
- Ephera@lemmy.mltoDACH - Deutschsprachige Community für Deutschland, Österreich, Schweiz@feddit.org•Sexualisierte Gewalt: Franziskaner stellen Missbrauchsstudie vorDeutsch6·14 hours ago
98 Tatverdächtige
In Deutschland leben knapp 200 Franziskaner
Ähm, puh. Keine Ahnung, wie vergleichbar die Zahlen sind, weil wohl mindestens auch die Niederlande teil der Untersuchung waren, und weil evtl. die Mitgliederzahl seither zurückgegangen ist. Aber so sehr kann man das gar nicht schön rechnen, dass das auch nur annähernd normal aussieht.
Selbst wenn man die aktuelle globale Mitgliederzahl von 13.600 dagegen hält, reden wir immer noch von 0.7% Sexualstraftäter, was immer noch absurd hoch ist.
VSCode is Electron, i.e. a webpage, so it’s not hugely surprising that they opted for the natively supported JavaScript Object Notation.
And also shows that they don’t care for using the right tool for the job to begin with.Personally, I much prefer TOML over YAML, because it does not have significant whitespace, and because you can read the spec in a reasonable amount of time. It just has so much less complexity, while still covering the vast majority of use-cases perfectly well.
We just document that this is how you write the config file:
[network] bind.host = "127.0.0.1" bind.port = 1234 # etc.And that seems straightforward enough. Yeah, technically users can opt to use inline tables or raw strings or whatever, but they don’t have to.
Well, you can still decide how much of the TOML features you actually use in your specific application. For example, I’m currently involved in two projects at $DAYJOB where we read TOML configurations and we don’t make use of the inline tables that OP memes about in either of them.
Ultimately, the big advantage of TOML over INI is that it standardizes all kinds of small INI extensions that folks have come up with over the decades. As such, it has a formal specification and in particular only one specification.
You can assume that you can read the same TOML file from two different programming languages, which you cannot just assume for INI.
- Ephera@lemmy.mltoKaufempfehlungen - gute, haltbare Produkte, die man kennen sollte@feddit.org•Gesucht: Der Sinn im lebenDeutsch1·2 days ago
Für mich taugt es, explizit keinen höheren Sinn zu erwarten.
Also ja, irgendwo alles nicht so krass bedeutungsvoll, aber das Gleiche gilt eben auch für die eigenen Sorgen. Gibt keinen krassen Grund zu leben, aber auch keinen krassen Grund es nicht zu tun.Dadurch versteift man sich auch nicht so darauf diesen Sinn zu suchen, sondern macht eben was man in kleinen Sinne für sinnvoll erachtet. Dann macht man vielleicht mit der Zeit auch noch mehrere solcher sinnvoller Dinge und irgendwann fragt man sich gar nicht mehr, was jetzt der große Sinn ist, weil man so viele kleine Sinne hat.
Counterpoints:
- TOML is intended for configuration, not for data serialization, so you shouldn’t be sending it over the wire in all too crazy ways anyways.
- Most protocols will have a built-in way of knowing when the whole content has been transferred, typically by putting a content length into the header.
- Having to wait until the closing
}or]can also be a disadvantage of JSON, since you cannot stream it, i.e. start processing the fields/elements before the whole thing has arrived. (You probably still don’t want to use TOML for that, though. JSONL, CSV or such are a better idea.)
Well, TOML is essentially just an extension of the INI format (which helped its adoption quite a bit, since you could just fork INI parsers for all kinds of programming languages).
And then, yeah, flattening everything is kind of baked into INI, where it arguably made more sense.
Although, I do also feel like non-techies fare better with flat files, since they don’t have to understand where into the structure they have to insert the value. They just need find the right “heading” to put the line under, which is something they’re familiar with.
They serve largely different use-cases. JSON is good for serializing data. TOML is good for configuration.
- Ephera@lemmy.mltoDeutschland@feddit.org•Theo Müller unterliegt vor Gericht gegen CampactDeutsch9·2 days ago
Find’s wertvoll, dass das öffentlich ausgetragen wird. Viele Kapitalisten sind maximal opportunistisch unterwegs und behalten sich vor mit Nazis zu kooperieren, sobald es finanziell vorteilhaft wird.
Mag sein, dass die Klage dafür gedacht war, Campact mundtot zu machen, aber schon die Klage selbst hat erfordert, dass sich Theo Müller dazu hinreißen lässt, explizit zu sagen, dass er nicht die AfD unterstützt.
Egal wie dicke er mit Alice Weidel ist, so eine Aussage kommt bei der Basis der AfD erstmal wie sie gesagt wurde an.
Und naja, mal schauen, vielleicht bricht es ja auch das ewige Schweigen der Kapitalisten.
- Ephera@lemmy.mltoDACH - Deutschsprachige Community für Deutschland, Österreich, Schweiz@feddit.org•Liste Möglicher Amazon AlternativenDeutsch3·2 days ago
Habe mehrere Minuten damit zugebracht, einen Produktbegriff zu finden, wo es keinen “…24.de”-Shop dazu gibt, weil ich weder Werbung für einen Betrüger-Shop machen will, noch einen legitimen Shop durch den Kakao ziehen will. 😅
- Ephera@lemmy.mltoDACH - Deutschsprachige Community für Deutschland, Österreich, Schweiz@feddit.org•Liste Möglicher Amazon AlternativenDeutsch4·3 days ago
Finde ich cool, gerade auch weil’s so ein bisschen schon kuratiert ist, einfach nur weil die Leute nicht jeden Schrottladen eintragen.
Wenn man halt in eine Suchmaschine “knalltüte online-shop” eintippt, dann kommen teilweise die üblichen Verdächtigen, teilweise dann aber auch knalltüten24.de, wo man sich einfach nur denkt, Leute, ihr könnt mir nicht erzählen, dass ihr nur Knalltüten verkauft und sich das rechnet.
Die mittelgroßen/regionalen Online-Shops findet man leider oft nur mit Glück, oder indem man bei den üblichen Verdächtigen schaut, wer deren Vertriebspartner ist.
- Ephera@lemmy.mltoAsklemmy@lemmy.ml•What are some examples where the more you know about the world, the better it seems?English2·3 days ago
Yeah, I was gonna specifically pick out biology. Feels like the more you know about it, the cooler it gets to just head outside and look at critters. Kind of like Pokémon, but real.
- Ephera@lemmy.mltowikipedia@sh.itjust.works•Beauty trends among American conservativesEnglish18·3 days ago
Man, I do love when Wikipedia is Just Stating Facts™ and yet reads like the sassiest gossip, because reality is just so dumb[1].
Ivanka Trump [Trump’s daughter with his first wife] has been described as the inspiration of Mar-a-Lago face.
Kristi Noem, Melania Trump [Trump’s third wife], and Kimberly Guilfoyle have been described as having Mar-a-Lago face.
He does like to talk about wanting sex with Ivanka, so I guess, that tracks.
Melissa Rein Lively, a MAGA political worker, was reported […] to reject “any idea of submission or constraint” associated with Mar-a-Lago face, and that “no one forces me to do two hours of sport a day, to go to the hairdresser every three and a half weeks, to get my nails and eyebrows done, to get Botox.”
Blink twice, if you’re being forced to say this…? Seriously, why would you list a bunch of unpleasant aspects, if you’re trying to make the point that you don’t mind it?
By the way, we do have a great word for this in German: Realsatire – when reality is so ridiculous that merely recounting it sounds like satire. ↩︎
One thing that will become important pretty quick if you continue making these scripts is that it’s almost always better to wrap your variables in quotes - so it becomes
yt-dlp -x “$a”.Oh man, this reminds me of the joke that any program that’s more complex than Hello World has bugs – and folks still don’t even agree how to spell “Hello, World!”.
Of course, Bash is a particular minefield in this regard…
Is it? I work in tech and I would have not a single fucking clue…
- Ephera@lemmy.mltoDACH - Deutschsprachige Community für Deutschland, Österreich, Schweiz@feddit.org•Der wahre Engpass: Warum schnelleres Coden mit KI Projekte nicht beschleunigtDeutsch4·4 days ago
Joa, habe TDD nie als Dogma gelernt, sondern aus der Praxis, also kann gut sein, dass das was ich kenne ein pragmatischerer Ansatz ist.
Für mich war immer der relevante Aspekt, dass man eben nicht einfach drauf loscodet, sondern sich vorher Gedanken macht, was die Anforderungen sind, was wiederum eine Grundvoraussetzung für sinnvolles Design ist, daher hat mich eure Beschwerde gerade etwas überrascht…
- Ephera@lemmy.mltoDACH - Deutschsprachige Community für Deutschland, Österreich, Schweiz@feddit.org•Der wahre Engpass: Warum schnelleres Coden mit KI Projekte nicht beschleunigtDeutsch3·4 days ago
Das entspricht so gar nicht meiner Vorstellung von TDD. Für mich ist TDD, dass man sich explizit vorher Gedanken macht und diese in einer Spezifikation niederschreibt. Die Spezifikation wird dabei in Form von Unit- und Integrationstests verfasst, damit automatisch geprüft werden kann, dass der Code der Spezifikation entspricht.
Hab erst heute zufällig in F-Droid ein Update gesehen, falls du die App meinst: https://f-droid.org/packages/app.passwordstore.agrahn