• 0 Posts
  • 7 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle





  • Vlyn@lemmy.mltoLemmy@lemmy.mlProtection from Threads using ActivityPub.
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    1 year ago

    That’s really not the point. If the instance you post on is defederated from Threads and you create a valuable post (for example a lengthy review of some hardware) then Meta can’t just copy your post and put it on their platform. It would be stealing/a copyright violation.

    If Meta gets your content then they can (ab)use it. Put ads on it, charge to see it, mask it as their own content, whatever. So wanting to defederate from Meta is absolutely valid and if Meta steals your post you could force them to take it down.

    Meta just reading the content to train AI… not much you can do there. But putting your post up on their platform to serve to their users is a wholly different beast. Even when federated they would have to show your username@yourinstance.com and can’t just say they created it.


  • I was pro tabs when I started out with software development. It just made sense, right? You press the key once, you get a single symbol, you have your indention, neat. And there is the argument that everyone can adjust their tab sizes, want it to be 2 spaces? 4? 6? Whatever? Awesome!

    Then you write actual code and this perception changes. Tabs make a mess, developers often align both code and comments to make sense. That alignment only works at x-spaces and utterly breaks if you change tab width.

    An example in C# with LINQ (just semi-random stuff):

    var test = customers.Where(c => c.Deleted == false
                                 && c.Enabled
                                 && c.HasProducts()
                                 && blockedCustomers.Contains(c.Id) == false);
    

    This kind of indention only works with spaces, not with tabs. And no, mixing tabs and spaces doesn’t work (like some users claim, that you can indent with tabs and then do alignment with spaces… nope, if you change tab with then your space alignment breaks).

    Honestly, I don’t care either way, I just use what my company uses and adapt. But till now it has always been spaces (even though I was team tabs in university) and now I actually prefer spaces as it just makes sense. It’s consistent, it’s easy, it works everywhere.

    Btw. the Lemmy code editor is shit, trying to align this was trial and error for a minute :-/