this post was submitted on 15 Nov 2024
57 points (98.3% liked)
Fediverse
28494 readers
313 users here now
A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).
If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!
Rules
- Posts must be on topic.
- Be respectful of others.
- Cite the sources used for graphs and other statistics.
- Follow the general Lemmy.world rules.
Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
One (small) issue is that it assumes there *is* a client outside of the server. Most server apps have both a web UI and an API, and it's even possible to build an ActivityPub server with no client API at all (microblog.pub was like that, IIRC). I think the ActivityPub C2S API was intended for servers that worked just like you're describing, but IDK if anyone ever really implemented it properly.
Hmmm. Speaking of Fediverse interoperability, platforms other than yours (Pandacap) typically arrange things so that
https://pandacap.azurewebsites.net
was the domain, and something likehttps://pandacap.azurewebsites.net/users/lizard-socks
was the user, but Pandacap wants to usehttps://pandacap.azurewebsites.net
for both. Combined with the fact that it doesn't seem to support /.well-known/nodeinfo means that no other platform knows what software it's running.When your actor sends something out, it uses the id
https://pandacap.azurewebsites.net/
, but when something tries to look that up, it returns a "Person" with a subtly different id ofhttps://pandacap.azurewebsites.net
(no trailing slash). So there's the potential to create the following:https://pandacap.azurewebsites.net/
sends something out.https://pandacap.azurewebsites.net
)https://pandacap.azurewebsites.net/
sends else something out. Instance looks in it's DB, finds nothing, so looks it up and tries to create it again. The best case is that it meets a DB uniqueness constraint, because the ID it gets back from that lookup does actually exist (so it can use that, but it was a long way around to find it). The worst case - when there's no DB uniqueness constraint -is that a 'new' user is created every time.If every new platform treats the Fediverse as a wheel that needs to be re-invented, then the whole project is doomed.