• 6 Posts
  • 124 Comments
Joined 3 years ago
cake
Cake day: June 17th, 2023

help-circle







  • unoptimized code that does complex stuff.

    You can still have complex code that is optimized for performance. You can spend more resources to do more complex computations and still be optimized so long as you’re not wasting processing power on pointless stuff.

    For example, in some of my code I have to get a physics model within 0.001°. I don’t use that step size every loop, because that’d be stupid and wasteful. I start iterating with 1° until it overshoots the target, back off, reduce the step to 1/10, and loop through that logic until I get my result with the desired accuracy.








  • Keep in mind that OP’s project is already based on a different protocol than the Fediverse for their own reasons. Trying to create and maintain a bridge between different protocols might be more work than to just make modifications to posts in the current system.

    Other factors are end user experience and branding. Keep in mind that the average Facebook/NextDoor user isn’t tech-savvy, and could also be put off by the weird software names commonly found in the Fediverse

    It’s likely worthwhile for OP to look into flohmarkt, but integration might not be the optimal method



  • Reading through your link, it seems like the main difference in your framework is that there’s auto-propogation of federation built in. Please correct me if I missed anything

    Unrelated point: before you throw too much time and effort into building up federation, I want to bring something in the Matrix vs. XMPP debate: caching.

    Apparently in Matrix, if a user on server A joins a chatroom on server B, then all of the content on the chatroom need to then be copied and synced to server A. There’s 2 primary problems with this: it’s a lot of duplication overhead that can limit scaling of the network and there’s legal consequences for server A caching potentially illegal content. There’s also a privacy concern as this means more parties that can see various interactions.

    XMPP gets around these problems by having the user on server A just directly connect with server B, without server A caching anything.

    I haven’t dug into too many of the differences myself, but wanted to bring it up in case it helped