• 0 Posts
  • 28 Comments
Joined 2 years ago
cake
Cake day: July 16th, 2023

help-circle









  • I guess it’s less the response itself but the response objects in the codebase. The main code base I work on is fully typed Python/FastAPI but we depend on an API from another team that was, up until recently, untyped entirely. The responses were just dictionaries that were dynamically generated randomly in 10 layer deep functions. There was absolutely no way to tell what they would actually return, let alone what types they would be. It’s like, if you see a function that’s just called get_big_fat_entity_findings() with no typing, how would you handle that without spending an hour reading through the code line by line? Typing is important for any project that’s bigger than a quick script










  • I believe there was talk of opening it up to the fediverse but not sure where they landed on it

    Edit: From the linked FAQ actually

    Does Revolt have federation

    As of right now, Revolt does not feature any federation and it is not in our feature roadmap.

    However, this does not necessarily mean federation is off the table, possible avenues are:

    • Implement our own federation protocol
    • Implement a promising up and coming federation protocol, polyproto
    • Implement the Matrix protocol (unlikely, obtuse and unstable)
    • Implement the XMPP protocol (battle-tested and stable)

    Any federation that is implemented MUST exercise caution in:

    • Preventing spam and abuse: moderators should be able to block malicious actors
    • Protecting user data: users should be able to redact all of their information and messages