• 1 Post
  • 25 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.











  • You may be looking at the wrong things then:

    • While SSDs have been around for a while, they have only been commercially viable (for both home and enterprise use) for maybe 10-15 years.
    • Today, even a 300 dollar desktop 3d printer (especially a resin printer) will beat even the best industrial printers from just a decade ago.
    • For less than 50 bucks per month I can get an internet connection at home that’s 16000 times faster than what I had in 2004. Back then, I had to wait minutes to load a single photo, today I can stream three dozen 4k videos at once and still have bandwidth to spare.
    • The COVID-19 pandemic accelerated vaccine research a lot. We finally got mRNA vaccines to work and are now applying them to other diseases as well.
    • Ten years ago, the idea of fully reusing rockets was laughed at. The first time a first stage was reused was in 2017. Today, most new rocket designs are planned as fully or at least mostly reusable.+
    • First mass market VR headsets came out in 2012. We are are just now at a point where untethered headsets are reaching usable resolution and framerate. New headsets add features like eye tracking, finger tracking, external cameras for augmented reality…

    And so on…




  • 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.