This is an interesting (pronounced like "frustrating") thread.
-
@jenniferplusplus @julian discovered firsthand when working on my toy AP poster that Mastodon won't even do the "right" thing with an "image" object - instead of converting this to an embedded image in a post, it just shows it as a plain link! have to use their Attachments thing to a note activity to get that to work
-
Heh, that's basically the thing I've been working on that I keep getting discouraged/overly frustrated by.
-
Hrefna (DHC)replied to Michael T. Bacon on last edited by
Yeah, that is one of the core points that BlueSky discussed in "why not AP":
Because if you want interoperability the RDF-isms just. don't. work. To the degree they do work, it is extremely expensive to validate and work with.
It's a model for describing things, not a model to be _understood_ about the things you are describing. That requires separate, out-of-band communication.
-
silverpillreplied to Jenniferplusplus on last edited by [email protected]
@jenniferplusplus I think when it comes to objects, duck typing is a good solution. Look at properties instead of types
-
@silverpill @julian it's not a strong argument for activitypub if it can't be effectively implemented in languages with compile time type checking
-
@jenniferplusplus @julian My project is written in Rust and for me duck typing AP objects is not a problem. I don't have experience with other languages, but there shouldn't be any problems with them either
-
@silverpill @julian @jenniferplusplus
Yes, it's quite easy to parse JSON in rust at compile time. There's even a package to generate a struct from a JSON schema. -
Jenniferplusplusreplied to Sir Alecks Gates on last edited by
@agates @julian @silverpill there's no schema to any of this
-
Sir Alecks Gatesreplied to Jenniferplusplus on last edited by
-
small circle π in calmnessreplied to Hrefna (DHC) on last edited byThis post is deleted!
-
small circle π in calmnessreplied to Jenniferplusplus on last edited byThis post is deleted!
-
@jenniferplusplus I also think #ActivityPub spec seems to be designed in early 2000s where users were supposed to just trust the servers. The only way I can truly own my identity is by running my own AP server on my own domain. Content is also referred to by its URLs, not by its content-hash which makes sure that I remain dependent on other servers/intermediaries.
#Bluesky at least recognizes some of these issues.
-
Nik | Klampfradler πΈπ²replied to nilesh on last edited by
Content being identified by IRIs (not URLs) is the backbone of the web. It could probably be other kinds of IRIs, yes, but don't drop the IRIs. And make sure they always stay dereferencable through HTTPS.
-
nileshreplied to Nik | Klampfradler πΈπ² on last edited by
@nik @jenniferplusplus What's this IRI you speak of?
-
Nik | Klampfradler πΈπ²replied to nilesh on last edited by
Basically, what you refer to as a URL (which, for the current state of the Fediverse, mostly is the same because virtually all IRIs of ActivityPub contents are URLs today).
But actually, ActivityPub content has an IRI, which does not have to be a URL, not even today: https://en.wikipedia.org/wiki/Internationalized_Resource_Identifier
-
nileshreplied to Nik | Klampfradler πΈπ² on last edited by
@nik @jenniferplusplus IRI seems to be about just allowing extra characters, not content-addressing.
It would be easy enough to build content-addressability within existing URLs. For example:
`https://myblog.com/my-article-<multihash>.html`
Web browsers could have built this universally for all resources when defining the SubResource Integrity spec which is ensures that JS scripts a page downloads has not been tampered with. They chose `<script integrity="<hashalgorith>-<hashvalue>">` instead.
-
Nik | Klampfradler πΈπ²replied to nilesh on last edited by [email protected]
The difference is the third letter β I vs. L.
An IRI (or URI), in contrast to a UR**L**, does **not** need to be a concrete HTTP address on the public web that can directly be loaded from a web server.
-
Dmitri | πΊπ¦replied to Jenniferplusplus on last edited by
@jenniferplusplus re
> except activitypub and the w3c are now actively standing in the way, and sucking up all the oxygen for organizing thatSo, I'm partly involved in activitypub and w3c stuff, so of course I'm very curious to hear more - what are some of the ways it's standing in the way? I mean, best as I can tell (being involved in it), the social web cg is just trying to provide some github repos, and some (monthly) calls for devs to coordinate, share pain points, start task forces..
-
Jenniferplusplusreplied to Dmitri | πΊπ¦ on last edited by
@dmitri the problems with activitypub can't be solved with feps and eratta. There are fundamental issues that break implementation and prevent implementations from meaningfully interoperating. The kind of changes that would be required to fix that are explicitly out of bounds. But here's the w3c, starting up task forces that just serve to limit what's possible and distract from any other effort.
-
Dmitri | πΊπ¦replied to Jenniferplusplus on last edited by
@jenniferplusplus Why distract, though? Can't we all work on all this stuff in parallel? For example, one of the task forces is the Threaded Discussions and Forums Task Force -- it's basically a bunch of implementers from forum and Reddit-like platforms trying to hammer out ways of interoperating. I don't disagree with you that ActivityPub has deep problems and needs work. But like..