• 2 Posts
  • 44 Comments
Joined 1 year ago
cake
Cake day: June 5th, 2023

help-circle

  • Note that this isn’t specific to Go. Reading from stream-like data, be it TCP connections, files or whatever always comes with the risk that not all data is present in the local buffer yet. The vast majority of read operations returns the number of bytes that could be read and you should call them in a loop. Same of write operations actually, if you’re writing to a stream-like object as the write buffers may be smaller than what you’re trying to write.




  • Looks exactly like Visual Studio 2022.

    I guess the joke implies that automated (or incorrect manual) conflict resolution causes code that doesn’t compile. But still not git’s fault. They should probably have merged earlier and in rare cases where that wasn’t possible, you have to bite the bullet and fix this stuff.




  • dfyx@lemmy.helios42.detoich_iel@feddit.deIch🐮🗡️iel
    link
    fedilink
    Deutsch
    arrow-up
    9
    ·
    4 months ago

    Die Wirkung mag echt sein, das Gerät an sich nicht. Es gibt keine Belege, dass eiserne Jungfrauen im Mitterlalter existiert haben. Die ältesten Exemplare, die wir kennen, wurden im 19. Jahrhundert gebaut, um zu illustrieren, wie grausam und unzivilisiert das Mittelalter angeblich war.








  • dfyx@lemmy.helios42.detoich_iel@feddit.deich iel
    link
    fedilink
    Deutsch
    arrow-up
    10
    ·
    6 months ago

    Eben. Ich bin auch echt kein Freund von motorisiertem Individualverkehr, habe trotz fortschreitendem Alter nie einen Führerschein gemacht und schleppe selbst den Wocheneinkauf zu Fuß durch die Stadt. Aber es gibt ein paar Anwendungsfälle, für die ein Auto und insbesondere ein Lieferwagen kaum zu ersetzen ist und das meiste, was OP da aufzählt, gehört dazu.

    Ich würde mir wünschen, dass wir Autos an den Stellen kritisieren, wo sie tatsächlich überflüssig sind, statt uns mit unrealistischen Forderungen lächerlich zu machen. Sonst kommen wir nie zu dem Punkt, an dem die realisierbaren Forderungen ernst genommen werden.


  • dfyx@lemmy.helios42.detoich_iel@feddit.deich iel
    link
    fedilink
    Deutsch
    arrow-up
    40
    ·
    6 months ago

    Gut, die meisten davon haben halt auch einen Grund, durch die Fußgängerzone zu fahren. Bis auf das Taxi und den dementen Opa. Man kann kaum erwarten, dass der Zulieferer für die Läden in der Fußgängerzone ein paar hundert Kilo Ware von Hand durch die Gegend trägt. Besser wäre es natürlich, wenn man die Läden von der Rückseite aus beliefern könnte, aber gerade in Straßen, die früher keine Fußgängerzone waren, ist das halt nicht immer möglich. Ist blöd, aber lässt sich halt nicht vermeiden.

    Radfahrer haben dagegen immer die Möglichkeit abzusteigen oder zumindest Rücksicht zu nehmen statt im höchsten Gang durch die Fußgängerzone zu brettern und zu hoffen, dass man sie bemerkt und rechtzeitig aus dem Weg springt.



  • Definitely not a strict rule and I wouldn’t want to force anyone to do it the way I do (maybe I should have marked my comment as a joke) but as far as I understand, downvotes were originally meant for spam or low-quality/low-effort comments. Stuff that just doesn’t add anything to the duscussion and isn’t worth reading. Fortunately, that doesn’t happen very often on Lemmy.

    Downvoting comments that you disagree with just to bury them, especially without even leaving a comment that explains why you disagree, just feels petty.

    Overall, I’d rather upvote a well-written comment even if I disagree with its contents and downvote ten “yeah, same” comments that agree with me but add nothing to the discussion.



  • Anything that doesn’t devolve into “us vs. them”, doesn’t matter who “us” and “them” is.

    The fediverse was designed to let every instance or even every user decide for themselves who they want to interact with. There is no need to persuade others to use the fediverse the same way you do. A few months ago I wrote a blog post about why my personal single-user instance wouldn’t defederate from corporate-run instances as long as they play by the rules, with the clear intent to defederate if they do things that harm the way I interact with the fediverse. People got outright vile, called me names and tried to convince me that any tiny interaction with anyone they don’t like would inevitably lead to the death of the free fediverse.

    Personally I would rather have federated social media based on an open protocol where every user can decide what’s the best way to interact with content than being forced into proprietary platforms just to get updates from my favorite video game studio, streamer or artist. It may well be that there are people on the fediverse who exclusively want to interact with vegan FOSS communist hippies and that’s fine. But I’m not one of those people and I don’t see why they should decide how I run my instance or get mad at me about something that doesn’t affect them at all.

    Let’s all be as tolerant as we claim we are and treat people (and instances) based on their deeds and not based on how similar they are to ourselves.