• 269 Posts
  • 2.36K Comments
Joined 2 years ago
cake
Cake day: July 2nd, 2023

help-circle

  • I recently did a library implementing pretty much the whole ActivityPub protocol and let me tell you one thing I’ve learned: ActivityPub is a half-assed unfinished mess.

    It has so little constraints that pretty much anything is valid. You’d think that there was some logic at the core, but not really.

    For example, there’s the Like activity, the name is pretty self-explanatory. But it’s valid to like anything. You want to like another Like activity? Why not! So you can like a like that likes a like…

    Obviously, no real project implements such nonsense. But because almost everything is valid and up to interpretation of the implementer, there really is no single ActivityPub to implement that gets you running smoothly. There are many de-facto standards with various levels of compatibility with each other. Sending private messages is one such thing that many projects chose to implement in different ways.

    Fun fact: Without implementing the HTTP Signatures spec, your app will not be able to send any activities to any software, because ActivityPub allows anyone to impersonate anyone, which obviously didn’t really fly with people developing actual software that uses it.

    In conclusion, pure ActivityPub is an unusable mess in its pure form that literally won’t be able to communicate with other software implementing “ActivityPub,” so everyone is kind of implementing a similar slice/hybrid of ActivityPub and other protocols, but not exactly the same ActivityPub.

















  • No, it probably isn’t more dangerous in the direct sense. But it’s more dangerous in the subtler ways. Look, I’m from a country where we had the Soviet bland of dictatorship disguised as communism and let me tell you it’s very similar to the Chinese bland.

    You have to censor your opinions because you might end up in prison for saying the wrong thing to the wrong people. And the worst thing, you don’t know what you’re missing because the government and its secret police tries really hard to make sure you don’t know how much better it is.

    I believe that you had a superb time as a tourist in China, after all they only show you the good parts as a tourist. You’re simply not allowed anywhere that might shed light on their propaganda.

    I’m not saying US is some kind of utopia or whatever, but pretending China is a good country to live in is crazy and dangerous.