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

I'm curious what other devs think about this.

General Discussion
12 5 10

Gli ultimi otto messaggi ricevuti dalla Federazione
  • @steve I think I’d be Quite Annoyed if a server did that when the C2S app I’m writing sent a Note. I’m asking it to Create a Note - I expect it to create a Note or fail to create a Note, not do some weird, unexpected third thing.

    I could maybe tolerate it adding a second type, but while my code can handle multiple types most ActivityPub software doesn’t seem to accept that kind of thing.

    read more

  • @jerger @steve

    Keeping msgs immutable is a general best-practice, I gather.

    In the case you mention it becomes confusing to still use client/server terminology. You have a full actor on the client's side, and when it sends a msg it acts in server/S2S role.

    Btw, in that scenario we do not have to make the distinction client + server anymore, as we have just actors communicating with each other. Then we can think in terms of the actor model, and honor its qualities.

    A client sending to the server's outbox is then analogous to an actor sending to another actor's inbox. That is a one-way msg exchange usually, fire and forget (esp. in a pure event-driven architecture... which the current fediverse is not). The remote actor is not responsible for keeping the Activity (event) in its server-outbox / actor.inbox. That corresponds to the spec part "may disappear at any moment".

    read more

  • @steve If you consider also peer 2 peer networking as an option, your client might switch it's role and act as a server.

    In this case it having such a different inside outside mapping for objects will become confusing.

    read more

  • @mariusor Yes, I'm seeing it in a real server while doing C2S testing/exploration. In this case, the server can handle Note and Article, in general, so I don't the rationale yet for the conversion. It's in pre-release code so it may or may not be intentional.

    read more

  • @steve

    lets say there is a local-server sending this create/note to a distant-server.

    Whatever object distant-server creates internally I am very neutral.

    But I am very engaged from

    1. viewpoint of local-server I expect to get feedback about a note object & being able to deref a note object.
    2. viewpoint of distant-server user I expect to see a object behaving like a note.

    In a bottom line - naming a note different makes absolutely no sense at all ...

    read more

  • @steve but did you actually observe this behaviour in any servers? What made you ask the question?

    To me it sounds very implausible, because the server *actively* needs to do something instead of piping the received activity directly to its recipients. Is it a case of "the server doesn't render Note objects" so they silently convert to something they do?

    Even that's implausible to me, because the same code can be used to render both...

    read more

  • @mariusor Like you said, I'm not sure the user (rather than the client dev) cares about details like the AP object type. However, they may care from a UX perspective if their messages are silently dropped (during S2S federation because the type was changed). And if they do care, they'll probably complain to the client developer who didn't cause the problem. 😉

    read more

  • @steve the problem as I see it is only with the "misrepresentation of the user's intention". Which might, or might not cover the aspect that you referred to...

    read more
Post suggeriti
  • 0 Votes
    1 Posts
    10 Views
    The Quiet app provides high-level technical details of how their app works:https://github.com/TryQuiet/quiet/#technical-overviewThis is actually very similar to one way I imagined a more server-less peer-based usage of ActivitiyPub working.@rolle RE: https://mementomori.social/@rolle/115960943912841883#ActivityPub #Fediverse #P2P #QuietApp
  • 0 Votes
    3 Posts
    10 Views
    @informapirata @fediverso Sulla faccenda hashtag del fediverso vs. tag di WordPress, devo aggiungere una dritta che ho scordato. Il post di ActivityPub funziona così: se dalle impostazioni si setta "automatico", lui di default prende [title] [excerpt] [permalink] [tags] non credo ci sia bisogno di spiegare in modo non-tecnico cosa siano queste variabili. Se, come scritto nel post precedente, io rimuovo il tag dal post (e dall'elenco tags) perché inutile per il resto del sito, questo non mi entra nel post che poi passa nel fediverso una volta pubblicato.Quindi, nel migliore dei casi, si lascia l'excerpt vuoto sostituendolo con uno-due paragrafi seguito da un blocco "altro", o qualunque sistema si voglia usare per il "leggi di più"... Se non trova il riassunto (excerpt) lui prende la prima parte. Che è meglio strutturare con una intro sintetica e gli hashtag, poi c'è anche un flag nelle impostazioni blocco, che te lo fa vedere o meno questo excerpt quando apri il sito.Dopodiché da WordPress -> tags (a seconda del plugin SEO) gli si toglie l'indicizzazione a quel povero tag solitario, e sul sito eventualmente si linka la risorsa esterna più accreditata a quell'evento specifico. Ma io rimango sempre dell'idea comunque di non usare troppi tag, di non perdere nella qualità e organizzazione dei contenuti, per star dietro ai trend che ancora poco e ti mordono le dita dei piedi.
  • WordPress and 844e

    Uncategorized fep 844e activitypub wordpress
    5
    0 Votes
    5 Posts
    42 Views
    silverpill@mitra.social the second code example in FEP 844e is wrong though, it uses [ and ] instead of { and } around the "object" in implements
  • 0 Votes
    1 Posts
    15 Views
    :botkit: Introducing #BotKit: A #TypeScript framework for creating truly standalone #ActivityPub bots! Unlike traditional Mastodon bots, BotKit lets you build fully independent #fediverse bots that aren't constrained by platform limits. Create your entire bot in a single TypeScript file using our simple, expressive API. Currently #Deno-only, with Node.js & Bun support planned. Built on the robust @fedify@hollo.social foundation. https://botkit.fedify.dev/