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

More reliably federating microblog responses

Technical Discussion
13 5 46

Gli ultimi otto messaggi ricevuti dalla Federazione
  • @silverpill @technical-discussion it's part of the outbox delivery algorithm, which bridges between c2s and s2s. the intention is that the outbox publishes activities via c2s, but then optionally delivers based on addressing properties via s2s

    (this ends up having other issues in practice due to the lack of an envelope, but at least the intent of "relevant activities should trigger notifications for relevant entities" makes sense, per 6.1 clients "look at" some relevant props)

    read more

  • @silverpill @julian @technical-discussion

    example: alice and bob on site.example each have followers collections, but alice can't see bob's followers. if alice addresses bob's followers collection, then alice's outbox can't deliver to bob's followers. alice must address bob, and bob can choose to forward to bob's followers (inbox forwarding)

    if site.example has a collection of "local users" that alice can see, then alice can address it and alice's outbox can deliver to items

    read more

  • @silverpill @julian @technical-discussion

    a "local collection" might still have access control on it.

    (the interface being assumed throughout the AP spec is HTTP, or at least HTTP semantics; "with the user's credentials" in this case means using an Authorization header that lets the outbox access the collection. it's only confusing if you have a monolith with no boundaries between the outbox and anything else; in that case it'd be "lookup the collection in your db/store/etc")

    read more

  • @julian Yes, I think in practice expansion should be performed only for local collections.

    the server MUST dereference the collection (with the user's credentials) is confusing, because it sounds like we're talking about remote collections here.

    @trwnh

    read more

  • @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
Post suggeriti
  • 0 Votes
    1 Posts
    3 Views
    This is our biggest release yet, including more finished tasks than any of our previous ones. Below is a summary of the highlights: What's new Posts & communities can be labelled as AI-generated and people can choose to hide all posts tagged that way. Very similar to how NSFW works. Comments can be marked as an Answer, like on StackOverflow. React to posts and comments with an emoji. Hide an individual post from yourself, without blocking the author. PieFed is now in the Yunohost app store, making initial setup easier. When banned from a remote instance you cannot make local-only posts in their communities. Honeypot to automatically IP ban badly-behaved crawlers. https://lemmy-federate.com integration, making PieFed communities get more exposure. "Share on Mastodon" menu item on posts. Vastly improve docs for new developers, see https://codeberg.org/rimu/pyfedi/src/branch/main/docs/developer_docs. Language selection is more visible during post creation. Tag clouds can also be viewed as a list of tags. View post/comment markdown. Bot accounts are not included in community statistics. Footnote support in markdown. Polish translation. Better HTTP caching, which reduces dependence on Cloudflare. Bugs Passkey fixes. Polls can now have up to 15 options. User profile performance improved. Don't allow bypassing minimum username length and post title with whitespace. Polls and Events can no longer be posted into Lemmy communities. API Additional user settings can be set through the api, including Extra Fields. Fetch url metadata. Sort comments by controversial. Comment search now works. Hashtags. Events. Polls. Emoji reactions on posts and comments. See https://piefed.social/c/piefed_api for more details. To upgrade To upgrade from 1.3.x: git pull git checkout v1.4.x ./deploy.sh or ./deploy-docker.sh There is a big database migration that will take a few minutes to run. How long will vary depending on how old your instance is - older instances will have more content to process. It took ~25 minutes on piefed.social so expect it to be less than that. Donations PieFed is free and open-source software while operating without any advertising, monetization, or reliance on venture capital. Your donations are vital in supporting the PieFed development effort, allowing us to expand and enhance PieFed with new features. Donations can be made via Patreon, Liberapay or Ko-fi.
  • The biggest problems with Lemmy right now

    Uncategorized lemmy
    1
    0 Votes
    1 Posts
    9 Views
    Lack of granular privacy / profile control “The lack of privacy controls … our profiles are public, and all our posts and comments are visible to anyone.” (lemmy.toot.pt) Users cannot choose who sees their profile history, comments, or posts. Poor content discovery / lack of niche communities / limited diversity “The platform lacks all the communities … There are no communities for games or music or sports or hobbies or movies or anything.” (Reddit) “Not nearly enough people to cover all the niche interest communities that Reddit does.” (szmer.info) Fragmentation across instances / duplication of communities “Multiple communities dedicated to the same thing across multiple instances … causes confusion …” (Popcar's Blog) “There are duplicate communities: every instance seems to have their own version of each community.” (Reddit) Bad User Experience (UX) / usability issues “Lemmy is losing so many potential new users because the UX sucks for the vast majority of people.” (NodeBB Community) “Simply using them is confusing … accessing remote subs is a complete train wreck.” (Reddit) Performance / reliability / scaling problems “Slow and unreliable” is listed among cons. (Slant) “Servers go down … syncing/federation issues.” (Android Authority) Moderation, safety tools, and content-quality issues “Moderation tooling is not adequate for removing illegal content from servers.” (We Distribute) Users report low content quality (memes, shitposts, agenda memes) instead of high-value discussions: > “The politics is always … or it’s toxic American hyper-partisan … The memes aren’t any better.” (Reddit) Search and archive weak/incomplete “Search sucks … Lemmy isn’t.” (szmer.info) Lack of long-tail content archive. Over-representation of particular content types (US-news, memes, agenda posts) and low content-quality Users note: heavy US-centric news, lots of meme posts, little local news/events or regional content. While I didn’t find direct sources for exactly “too much US news / no local events”, the broader complaint of “lack of niche interest/hobby/sports” covers this. (Reddit) It's not really the previously banned users that are the problem. It's that the real heart and soul of Lemmy is c/2real4meirl or whatever - ie, depression memes. Reddit initially became popular because it was fun and interesting. Lemmy has picked up some of the old reddit crowd by being a bit more tech focused - but for the most point the links and comments posted are doom and gloom. Either AI is taking all our jobs, or its a huge scam. The world is run by evil capitalists who personally want you, in particular, to have a meaningless and miserable life. But don't worry, because we, the proletariat, will overthrow them in a violent revolution... just as soon as we stop doom scrolling and crying in bed - haha, amiright guys? Nothing about this is fun or interesting. It is bitter, angering, and depressing. That is what drives people away. https://lemmy.world/comment/20046325 When you quote a block of text only the first paragraph gets quoted.
  • 0 Votes
    5 Posts
    32 Views
    Thanks Rimu. I'd link this one directly (and I do, under "Related Communities") but I was hoping for one dedicated to announcements only. No matter, it will work fine :)
  • 0 Votes
    1 Posts
    21 Views
    At Piefed office hours, rimu@piefed.social and I got to talking about what's next for Piefed and the Threadiverse WG. One of those things is moving stuff between communities (or in bbs parlance: moving topics between categories/forums). Rimu suggested we use the already-existing as:Move activity, sent by the community (a group actor), with origin and target set, and with object being the post id itself. I suggested we update this to use the resolvable context collection as object instead, which Piefed has supported since v1.2. That should be enough to get a proof-of-concept implementation going between Piefed and NodeBB... a question remained as to whether this should be Announce(Move(Object)) or simply Move(Object). Argument for former was that it was similar verbiage to other 1b12 actions. Argument for the latter was that this is merely 1b12 adjacent and needn't follow prior art. We'll likely put together an FEP for this.