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
  • This is what they stole from you

    Uncategorized activitypub c2s
    12
    1
    0 Votes
    12 Posts
    68 Views
    @scottjenson not at all!I think the Readme for the API task force covers it pretty well.https://github.com/swicg/activitypub-api?tab=readme-ov-file#introductiontl;dr is that social applications on ActivityPub are often built as an integrated client-server stack.In other ecosystems, like the Facebook Platform, app developers could leave the complicated parts of storage, authentication, social graph, and distribution to the platform, and they'd just concentrate on innovate experiences at the top of the stack.
  • 0 Votes
    21 Posts
    57 Views
    @SimonTB @javahippie no fosdem for me unfortunately. Keep an eye out for the first commits. Still mulling over a testing strategy that is manageable and not too complex.
  • 0 Votes
    2 Posts
    8 Views
    It looks like Kevin Roose (NY Times columnist who hosts the Hard Fork podcast, hence the name) set up theforkiverse and invited folks to join. FYI @laurenshof new instance alert, the start of a trend?@KentNavalesi
  • 0 Votes
    1 Posts
    12 Views
    Experimental support for multiple users landed with Ktistec release v2.4.15. "Experimental" means that it works for me, but hasn't seen enough testing for me to call it "ready for production". With that said, it's unlikely you'll lose your data.There are lots of intentional design decisions that fit my vision for Ktistec but may surprise you. Here they are:Every user is an administrator. That doesn't mean users have access to each other's posts and data, but it does mean all users have access to the shared parts of the site—they can change the site description, for example—and they can add new users. So only add people you trust.If you want to add another user, create an account for them and give them their username and password.  There is no self-registration. There are no invitations.Beyond adding a user, there is no support for user management. You can't even boot a user from your site. Users can delete themselves, however.There is no support for content moderation. Only add people you trust.TL;DR Multi-user support in Ktistec is suitable for small teams, families (biological or chosen), and your personal avatars. There are better tools for online communities.Here's the full set of changes:AddedAdd support for multiple user accounts.FixedHide attachments behind the summary. (fixes #125)Mark actors as up after refreshing their profile.#ktistec #fediverse #activitypub #crystallang