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

What if Stack Overflow, except federated?

PieFed Meta
6 3 0
  • PieFed v1.4 will have Stack Overflow-like functionality: the person who posted a question will be able to choose which of the replies are the answer, by clicking the green tick icon in the bottom left. Chosen answer(s) then have a highlight and a green tick at the top of them.

    This is off by default - communities have a checkbox on them that needs to be toggled to turn it on. So only some communities will have it.

    To Lemmy instances, these questions and answers will look just like normal posts and comments, without the highlight and tick. So people using Lemmy will be able to contribute.

    Designating which comment is an answer involves federating a new Activity:

    {  
             "id": "https://piefed.social/activities/answer/hgb4iO4b8UAFRTn", 
             "type": "ChooseAnswer",  
             "actor": "https://piefed.socialz/u/rimu", 
             "object": "https://piefed.ngrok.app/comment/224",  
             "@context": ["https://www.w3.org/ns/activitystreams", "https://w3id.org/security/v1"],  
             "audience": "https://crust.piefed.social/c/linux_questions",  
             "to": ["https://www.w3.org/ns/activitystreams#Public"],  
             "cc": ["https://crust.piefed.social/c/linux_questions"]  
    }  
    
  • PieFed v1.4 will have Stack Overflow-like functionality: the person who posted a question will be able to choose which of the replies are the answer, by clicking the green tick icon in the bottom left. Chosen answer(s) then have a highlight and a green tick at the top of them.

    This is off by default - communities have a checkbox on them that needs to be toggled to turn it on. So only some communities will have it.

    To Lemmy instances, these questions and answers will look just like normal posts and comments, without the highlight and tick. So people using Lemmy will be able to contribute.

    Designating which comment is an answer involves federating a new Activity:

    {  
             "id": "https://piefed.social/activities/answer/hgb4iO4b8UAFRTn", 
             "type": "ChooseAnswer",  
             "actor": "https://piefed.socialz/u/rimu", 
             "object": "https://piefed.ngrok.app/comment/224",  
             "@context": ["https://www.w3.org/ns/activitystreams", "https://w3id.org/security/v1"],  
             "audience": "https://crust.piefed.social/c/linux_questions",  
             "to": ["https://www.w3.org/ns/activitystreams#Public"],  
             "cc": ["https://crust.piefed.social/c/linux_questions"]  
    }  
    

    NodeBB has a question and answer plugin that does something similar. We can adapt this functionality and make it work between Piefed and NodeBB as well.

    One thing I'd like to see is a property on OP (or maybe the context!! 😁) designating the selected answer. Otherwise if the activity is missed then it won't ever be seen again.

  • That would be cool!

    There is an answer on the comment Note:

    image

  • That would be cool!

    There is an answer on the comment Note:

    image

    Mm answer looks to be bool, any chance it can be an ID?

  • PieFed v1.4 will have Stack Overflow-like functionality: the person who posted a question will be able to choose which of the replies are the answer, by clicking the green tick icon in the bottom left. Chosen answer(s) then have a highlight and a green tick at the top of them.

    This is off by default - communities have a checkbox on them that needs to be toggled to turn it on. So only some communities will have it.

    To Lemmy instances, these questions and answers will look just like normal posts and comments, without the highlight and tick. So people using Lemmy will be able to contribute.

    Designating which comment is an answer involves federating a new Activity:

    {  
             "id": "https://piefed.social/activities/answer/hgb4iO4b8UAFRTn", 
             "type": "ChooseAnswer",  
             "actor": "https://piefed.socialz/u/rimu", 
             "object": "https://piefed.ngrok.app/comment/224",  
             "@context": ["https://www.w3.org/ns/activitystreams", "https://w3id.org/security/v1"],  
             "audience": "https://crust.piefed.social/c/linux_questions",  
             "to": ["https://www.w3.org/ns/activitystreams#Public"],  
             "cc": ["https://crust.piefed.social/c/linux_questions"]  
    }  
    

    Duplicate question, this was answered here [15 years ago, outdated and completely different stack] closing

    But seriously neat though lol

  • Duplicate question, this was answered here [15 years ago, outdated and completely different stack] closing

    But seriously neat though lol

    triggered


Gli ultimi otto messaggi ricevuti dalla Federazione
  • triggered

    read more

  • Duplicate question, this was answered here [15 years ago, outdated and completely different stack] closing

    But seriously neat though lol

    read more

  • Mm answer looks to be bool, any chance it can be an ID?

    read more

  • That would be cool!

    There is an answer on the comment Note:

    image

    read more

  • NodeBB has a question and answer plugin that does something similar. We can adapt this functionality and make it work between Piefed and NodeBB as well.

    One thing I'd like to see is a property on OP (or maybe the context!! 😁) designating the selected answer. Otherwise if the activity is missed then it won't ever be seen again.

    read more

  • PieFed v1.4 will have Stack Overflow-like functionality: the person who posted a question will be able to choose which of the replies are the answer, by clicking the green tick icon in the bottom left. Chosen answer(s) then have a highlight and a green tick at the top of them.

    This is off by default - communities have a checkbox on them that needs to be toggled to turn it on. So only some communities will have it.

    To Lemmy instances, these questions and answers will look just like normal posts and comments, without the highlight and tick. So people using Lemmy will be able to contribute.

    Designating which comment is an answer involves federating a new Activity:

    { "id": "https://piefed.social/activities/answer/hgb4iO4b8UAFRTn", "type": "ChooseAnswer", "actor": "https://piefed.socialz/u/rimu", "object": "https://piefed.ngrok.app/comment/224", "@context": ["https://www.w3.org/ns/activitystreams", "https://w3id.org/security/v1"], "audience": "https://crust.piefed.social/c/linux_questions", "to": ["https://www.w3.org/ns/activitystreams#Public"], "cc": ["https://crust.piefed.social/c/linux_questions"] }
    read more

  • This post did not contain any content.
    read more

  • @rimu @JohnnyEnzyme loved the idea

    read more
Post suggeriti
  • 0 Votes
    1 Posts
    10 Views
    I'm working on federation issues.👻 Release v3.1.2 of Ktistec improves support for Lemmy and community servers like it that distribute content by wrapping it in Announce activities (FEP-1b12: Group federation support). Ktistec also supports the audience property, although support for that was removed from Lemmy earlier this year.🎃 This release also adds support for delivering to shared inboxes, which are widely supported by other ActivityPub servers. Despite being federated, the Fediverse is not highly distributed, and this optimization can reduce outbound delivery traffic by 10-20x.AddedSupport for the Dislike activity.Support for the audience property on activities and objects.Support for delivery to shared inboxes.Support for full-width hash signs in hashtags (e.g. #日本語) commonly used in Japanese and other Asian languages.FixedStrip HTML from object summaries rather than escaping it.Properly unwrap Lemmy-style Announce activities.ChangedDestroy discarded drafts instead of deleting them.Enjoy!#ktistec #fediverse #activitypub #crystallang
  • Blogbastelei

    General Discussion activitypub fediverse plugin wordpress
    1
    0 Votes
    1 Posts
    8 Views
    BlogbasteleiNur ganz kurz, das ActivityPub Plugin ist wieder aktiv. Eigentlich hatte ich es nur nochmal installiert weil ich was nachschauen wollte. Dann habe ich mir gedacht, ich lasse jetzt mal drin.Vielleicht kann ich es tatsächlich demnächst mal brauchen, mal sehen.Man kann dem Blog also wieder im Fediverse folgen unter: @bloghttps://rausgerufen.de/blogbastelei-6/#ActivityPub #Fediverse #Plugin #WordPress
  • 0 Votes
    31 Posts
    75 Views
    @stephtara no, this should work on all plans!
  • 0 Votes
    5 Posts
    23 Views
    I mean, yes, but there's also an implicit social contract with fediverse software that you probably shouldn't scrape without federating back...?