Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

#askfedi #peertube #makertube #spectravideo #activitypub #fediverse


Gli ultimi otto messaggi ricevuti dalla Federazione
  • @julian well, sure, with a monolithic implementation, the client and the outbox and the delivery agent are all the same app. but they don't have to be. the model is that the client submits to the outbox, and the outbox could also talk to a separate delivery agent internally. it's all opaque from outside the outbox. your internal "outbox" is the code that serializes activities and sends them to the delivery workers.

    read more

  • @trwnh@mastodon.social said in Expanding collections on delivery:
    > say you are an outbox and you get an activity to: some id. you deref the id and get some info. what do you do?

    Simple. My outboxes send a "not supported" HTTP tag 🤣

    But I'm being facetious.

    From a C2S standpoint I suppose that makes sense. Thanks.

    read more

  • @julian now remove the requirement. what do you do instead?

    - if it has ldp:inbox, send an LDN

    ...and that's it. at no point were you ever told or required to do anything else, so your followers/audience/members/etc will never get the activity even if addressed, because the collection was never expanded.

    read more

  • @julian i don't think it's "inferred", and leaving ambiguous cases up to inference in specification is typically called "unspecified behavior" ;)

    say you are an outbox and you get an activity to: some id. you deref the id and get some info. what do you do?

    - in all cases, if it has an `inbox`, you send an LDN to that id if you can.
    - in case it's an as:Collection, you iterate over its items in theory and repeat step 1 recursively. (this is also problematic because it can be both paged+unpaged)

    read more

  • @trwnh@mastodon.social so collection expansion is mainly for when I am sending an activity to collections that I control?

    Then I'm wondering why this needs to be explicitly spelled out and required because it seems to be inferred already from a UX perspective.

    read more

  • @julian there's probably a bunch of open issues on the https://github.com/w3c/activitypub/issues tracker regarding the problems with outbox delivery. those problems might be addressable all together, but it might instead make more sense to conceive of a sort of "LDN proxy" which handles deliveries instead (and holds your keys as an HTTP agent sending signed messages)

    read more

  • @julian

    i would be fine with removing this collection expansion behavior from outbox delivery if it was decided that outbox delivery itself is problematic and should be removed -- probably in favor of the client being responsible for sending notifications, where the client can apply whatever logic it wants.

    this is kinda what mastodon does right now as a monolith -- it is both the activitypub client (submitting to its internal outbox) and also the http agent for linked data notifications.

    read more

  • @julian

    > 7.1.2

    wrt inbox forwarding, this only helps when addressing collections of *someone else*, where the contents are private. for your own collections, unless you plan to deliver all such activities to yourself with the expectation that you will forward them (why didn't the outbox do it for you?^1), it doesn't help you.

    ^1: if the outbox doesn't have your credentials, then it can't do this. in this case, you or your client is responsible for deliveries, and the outbox only publishes.

    read more
Post suggeriti
  • 0 Votes
    1 Posts
    10 Views
    The big feature in release v3.2.2 of Ktistec is pinned posts with support for the Mastodon Featured Posts collection. Federation works both ways—pin a post on Ktistec and it will show up as a pinned post on Mastodon and vice versa. When you refresh an actor profile, Ktistec also fetches and updates the actor's pinned posts. This is another small step in the direction of supporting all features that Mastodon-compatible client applications expect to access via the API. It's also useful in its own right. The other major feature, which I posted a short video demonstrating here, is X-Ray Mode. X-Ray Mode is a developer and power-user tool for inspecting ActivityPub JSON-LD representations of actors, objects, and other content. Pressing Ctrl+Shift+X on any page displays the data behind the page—like an x-ray. You can:Cached Version: View the local JSON-LD representation stored in the Ktistec databaseRemote Version: Fetch and view the original JSON-LD representation from the source serverNavigation: Click on any ActivityPub IRI to navigate to that objectHistory: Use Alt+Left and Alt+Right to navigate through your viewing historyThis feature is useful for debugging federation issues, understanding ActivityPub structures, and verifying how content is stored and represented.Here's the full changelog for the release:AddedSupport for pinned posts and the Mastodon "featured posts" collection.X-Ray Mode for viewing and navigating JSON-LD resource (actor, object, etc.) representations.Back links on thread pages for easier navigation. (fixes #1)License page for LibreJS compliance. (fixes #127)Highlighting of recently fetched hashtagged posts.ChangedImproved presentation of audio and video media.Refactored theming/styling implementation.The next release will focus on smaller features and bug fixes.Enjoy!#ktistec #crystallang #activitypub #fediverse
  • The problem of cross-community posting

    Fediverse fediverse
    56
    0 Votes
    56 Posts
    129 Views
    There is, but I am not sold on giving up entirely on the idea simply because disparate communities might not want to talk to another. I agree that treading lightly is paramount, but the benefits of cross-community interaction could very much be worth it! One thing is for sure: making this an opt-out is not the way forward.
  • 🌞 Hello #fediverse!

    News fediverse news boston mlb
    1
    0 Votes
    1 Posts
    18 Views
    🌞 Hello #fediverse! This is GBH #News bringing you the world from #Boston. It's 49F at Logan Airport and visibility is 10mi. A freeze on SNAP benefits that help low-income Americans with their grocery budgets is still set to hit Nov. 1. Affordable Care Act rates for next year have become public, showing Americans how much their health insurance costs will increase next year. The World Series is tied 2-2 between the Blue Jays and the Dodgers. #MLB
  • 0 Votes
    1 Posts
    16 Views
    Vacations are wonderful. It is a privilege to be able to travel without worry. It's also wonderful to be home, and to have the time to work on projects I care about. With those thoughts in mind, I present release v3.1.1 of Ktistec, an ActivityPub server written in the Crystal programming language!This release is a mixed bag of small features and improvements:AddedAuto-link URLs in posts. (fixes #24)Support searching by actor username. (fixes #102)Support hourly granularity in metrics charts.FixedMark actor as down if refresh fails.Remove draft posts from the everything collection.Ignore charts with no points in the date range.Ensure HTTP::Client instances are closed.I added support for multiple users at the beginning of the month. I'm very interested in feedback on how that's working out for anyone using it.#ktistec #fediverse #activitypub #crystallang