jonny, to random
@jonny@neuromatch.social avatar
hrefna, to fediverse
@hrefna@hachyderm.io avatar

No, seriously, what the hell am I supposed to do with this object when it can literally be any of

  • A URI
  • An object
  • A list of either of those
  • A list that contains both of those.
  • An object of type collection which then contains either/both

Like…

just…

even a peripheral attempt here requires either/both just chucking a bunch of it out of the window and declaring an actual object model or building a billion custom serializers.

/rant

#ActivityPub #ActivityStreams #JsonLD

mauve, to fediverse
@mauve@mastodon.mauve.moe avatar

It'd be cool if one could open an EventSource on an OrderedCollection to subscribe for changes in a user's outbox, This could be used as a basis for real time chats and games.

Probably needs to be on top of HTTP2/3 to handle more subscriptions over a single connection.

Maybe even with a Triple Pattern Fragments querystring to filter by Activity type/author/cc/etc?

#ActivityPub #ActivityStreams

hrefna, to fediverse
@hrefna@hachyderm.io avatar

I'm trying to make sense of how audience is supposed to work in #ActivityPub and it feels like something is missing in the specification here both for AP and #ActivityStreams.

The documentation from AP:

  1. Never uses audience targeting even in its audience targeting example.
  2. Uses it almost identically to "to" or "cc"

On the part of AS it gets somewhat alluded to in 5.1.1, but not in the main section actually titled "Audience Targeting" (5.1) and says very little about it, just one example

7.1.1 Outbox Delivery Requirements for Server to Server When objects are received in the outbox (for servers which support both Client to Server interactions and Server to Server Interactions), the server MUST target and deliver to: The to, bto, cc, bcc or audience fields if their values are individuals or Collections owned by the actor. These fields will have been populated appropriately by the client which posted the Activity to the outbox.
Activities are rarely isolated events. Often, multiple individual activities will be performed around a similar context or audience. For instance, a collaborators working on a shared project might perform multiple related activities in the process of achieving some goal. Such activities can be logically grouped together using the context property, and scoped to a particular audience using the audience property.
audience, Notes: Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.

pieceofthepie, to fediverse
@pieceofthepie@n8e.dev avatar

Is anyone aware of any OSS project that enables Disqus like commenting on static file blogs powered by ActivityPub?

I've found https://github.com/oom-components/mastodon-comments and https://github.com/dpecos/mastodon-comments which are really close to what I envision.

What I really want is something more akin to the Wordpress plugin. i.e. a full integration with the protocol. A blog author that can be followed by a Mastodon user etc.

evan, to random
@evan@cosocial.ca avatar

Does anyone know of any work in #ActivityTheory in #psychology or #HCI that uses #ActivityStreams as a structured modelling language?

reiver, to fediverse
@reiver@mastodon.social avatar

There are a lot of different types in the ActivityStreams Vocabulary.

https://www.w3.org/TR/activitystreams-vocabulary/

But because Mastodon only supports 8 of them (with only 2 of them being supported properly), there is "pressure" on other Fediverse software to restrict themselves to these 8.

https://docs.joinmastodon.org/spec/activitypub/#payloads

Because they want to be compatible with Mastodon.

gabek, to random

Love the work @evan has been putting in. Was just reading through the new #ActivityStreams extensions primer and kept thinking "I didn't know you could do that!" while going over examples. https://www.w3.org/wiki/Activity_Streams/Primer/Extensions

hrefna, to random
@hrefna@hachyderm.io avatar

An inbound parser view into the #ActivityStreams object.

Yes, this is the base object. All objects can have any/all attributes.

hrefna, to fediverse
@hrefna@hachyderm.io avatar

Cool, even with relatively weird objects everything seems to be working.

Did discover some things that I need to tweak in terms of architecture, but all straightforward things (a factory here or there, mostly, to make it easier to test) and so far it has succeeded at everything I've thrown at it.

#ActivityPub
#ActivityStreams

jonny, to fediverse
@jonny@neuromatch.social avatar

i'll say more about what this is in the morning, but anyway here's a #LinkML transcription of #ActivityStreams that will also get the implicit definition of an Actor in #ActivityPub later, along with all the other fun stuff that brings like generic dataclasses and pydantic models for programming with, sql, graphql, json schema... yno all the formats.

https://github.com/p2p-ld/linkml-activitypub

kidehen, to fediverse

Boom!

New release. Highlights include self-sovereign identity () enhancements, native & support, compliant Web Service import and export, and a new foundation for high-performance and integration using , , or retrieval augmented generation ().

https://community.openlinksw.com/t/virtuoso-08-03-3329-release-notes/4059

hazelnoot, to fediverse

Is this a valid ActivityPub object?

{
  "@context": "https://www.w3.org/ns/activitystreams",
  "type": [
      "Object",
      "Link"
  ],
  "href": "https://example.com",
  "audience": "https://example.com"
}

Multiple types are allowed by the spec, but I can't find any documentation specifying whether those types can include Object and Link together.

@activitypub

hrefna, to random
@hrefna@hachyderm.io avatar

I'm going to guess that the #ActivityStreams authors never worked on, or didn't intend for this to be used for, #GIS :p

(not a criticism, just interesting to observe my mind going "wait, where are all of the other things you need for… oh wait this is probably meant for people who aren't familiar with Esri")

antolius, to fediverse

So, I looked into ActivityPub the other day. I wanted to play around with it, maybe make some small project.

It quickly turned into a rabbit hole of specifications with #ActivityPub#ActivityStreams#JSON-LD → #IRI

It is at this point that I noticed a lack of native supported for IRI in JVM languages. "Up the spec chain" situation was spotty; I found a couple of libs implementing parts of it. But lacking a standard representation of basic concept such as links seemed troublesome.

reiver, to fediverse
@reiver@mastodon.social avatar
hazel, to fediverse

I'm excited to share a little thing I've been working on!

Over the past few months, I've been studying the various OSS projects that are based on / . This started as personal research - I wanted to see how everyone else is tackling the unique challenge of implementing ActivityPub (with the oddities of and the structural incompatibility of ) in a strongly-typed language like C#. It ended that way too - I got some ideas and moved on with my project. But I was unhappy with the overall state of .NET ActivityPub implementations, so I decided to continue the research in hope of encouraging development in this area.

As of yesterday, I've finally reviewed the very last project that I'm aware of. And to share those findings, I've put together a little website / index thing with information and links to all the project repositories. Its simple, its basic, but I hope its useful to the other peeps out there!

You can get to the webpage itself at this link, and I welcome feedback, corrections, and contributions on GitHub.

I plan to do a bit more work on this, particularly to implement a search function. But I decided to go ahead and post it now because it turns out that there are way less of these projects than I'd hoped. :blobfoxsad:​

smol edit: forgot to tag the groups 🤦‍♀️
@bot @activitypub @dotnet @csharp

hrefna, to fediverse
@hrefna@hachyderm.io avatar

Cool, my smoke test for my #ActivityStreams eldritch horror passes.

Now to actually make it to do something nontrivial.

#ActivityPub

mauve, to mastodon
@mauve@mastodon.mauve.moe avatar

Dang, looks like #Mastodon doesn't handle relative URIs when parsing #ActivityPub / #ActivityStreams data.

For example I can't set the id of a post to be a relative URL since it loads it as raw JSON.

https://github.com/mastodon/mastodon/blob/main/app/services/activitypub/fetch_remote_status_service.rb#L37

This makes it harder to publish static data to #p2p

devnull, to fediverse
@devnull@crag.social avatar

As expected, when an instance attempts to respond to a Note with a larger audience than the note replied to, Mastodon will silently drop it from processing.

I don't actually know if this is codified anywhere in or spec, but looking into it now. 💪

Edit: Might be it actually is processed, but doesn't link up to the more-restrictive parent. Also good I think. Not quite sure how I'd handle this in ...

reiver, to fediverse
@reiver@mastodon.social avatar

Regarding:
https://www.w3.org/TR/activitystreams-vocabulary/#actor-types

In ActivityStreams, the ActivityPub actor-types that are specified are:

• Application
• Group
• Organization
• Person
• Service

The "Person" and "Group" actor-types seem common with the various Fediverse software out there.

Is any Fediverse software using the "Application", "Organization", and "Service" actor-types?

Also, is any Fediverse software using an actor-type that is NOT in that list?

hrefna, to fediverse
@hrefna@hachyderm.io avatar

Comments we all love to write (and later read!) in source code, yes.

Wander, to fediverse
@Wander@packmates.org avatar

So, suppose I have an idea for an #ActivityPub implementation that guarantees more control over content and more privacy.

Who here knows enough about ActivityPub to help me break down the idea to detect any pitfalls and discuss viability? I could see myself coding a basic implementation but I don't have nearly enough experience to really assess its viability.

If you know anyone who could help me review a theoretical proof of concept on a really high level, please let me know.

Thank you <3
#ActivityPubDev #Fediverse #Mastodon #Lemmy #ActivityStreams.

box464, to threads
@box464@mastodon.social avatar

Threads has added achievement badges during special events. I wondered if the fediverse has similar and sure enough there are ideas around this! I know Sharkey has achievements but not sure they are federated.

https://activitybadges.org

joelving, to fediverse
@joelving@mastodon.joelving.dk avatar

Every time I take a stab at building for the Fediverse, I'm immediately drained for motivation by the ambiguities and contradictions of the AP/AS2 family of specs.

Oh, you want to do some validation of the actor property of activities posted to the Outbox? Good luck. It can have any number of values, and can even (per examples in the AS2 spec) mention actors from different instances.

Big respect for those of you who muddle through.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • ngwrru68w68
  • everett
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • GTA5RPClips
  • Durango
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • DreamBathrooms
  • megavids
  • cubers
  • ethstaker
  • osvaldo12
  • modclub
  • cisconetworking
  • mdbf
  • tester
  • tacticalgear
  • Leos
  • normalnudes
  • provamag3
  • anitta
  • lostlight
  • All magazines