Jeremiah, (edited )
@Jeremiah@alpaca.gold avatar

Hey @MDN, with Stack Overflow’s ongoing community implosion, now would be an excellent time to launch MDN Answers so people have a better place to help each other learn.

https://answer.apache.org/

Edit: Or @nodebb / other ActivityPub-enabled forum/threaded discussion community server software

#WebDev

julian,
@julian@fietkau.social avatar

@Jeremiah Might not be wise to count on @MDN to avoid similar issues long-term: https://github.com/mdn/yari/issues/9208

Jeremiah,
@Jeremiah@alpaca.gold avatar

@julian @MDN I agree that MDN’s embrace of ChatGPT is unfortunate, mostly because that model is not great at factual answers.

My objection to Stack Overflow+OpenAI is that it’s proprietary and power consuming.

In general, I think LLMs and other ML models can be helpful to people learning. If MDN had a Q&A site and used people’s contributions to train an open source model people could run locally, I think would be great.

thisismissem,
@thisismissem@hachyderm.io avatar

@Jeremiah @MDN wouldn't it be super cool to build on top of say NodeBB and make this federated?

flyboy,

@thisismissem @Jeremiah @MDN

Is NodeBB part of the ?

thisismissem,
@thisismissem@hachyderm.io avatar

@flyboy @Jeremiah @MDN yes, they've been working on it.

julian,
@julian@community.nodebb.org avatar

@thisismissem @Jeremiah @flyboy yep, we've been working on federation this year.

We're watching the implosion of StackOverflow with interest and would help facilitate a federated alternative if there is interest.

liaizon,
@liaizon@wake.st avatar

@julian @thisismissem @Jeremiah @flyboy there is definitely interest, I have seen like 20 people post "is there a fediverse alternative to StackExchange?" this week

julian,
@julian@community.nodebb.org avatar

@liaizon honestly I'm interested in this purely just to see how badly Mastodon will muck things up if I start sending NodeBB Q&A topics as a Question activity, because Mastodon currently uses it for Polls.

But they don't have a monopoly on using it, and I can make the argument that my use case is more in spirit to the protocol 😸

julian,
@julian@community.nodebb.org avatar

@liaizon oh I know, I'll send a Question activity, and all of the answers won't be text (as Mastodon expects, but uris to as:Note) hahahah

thisismissem,
@thisismissem@hachyderm.io avatar

@julian mastodon doesn't use the Question activity type.. at lesst not in a way that would expect things to break

It supports receiving Question, but it's mostly processed as Note, it'll only create a poll if there's anyOf or oneOf present.

On the sending side, it'll send Question instead of Note if it has a poll attached.

thisismissem,
@thisismissem@hachyderm.io avatar

@julian though oddly it expects, I think, Create(Question) instead of Question (which is an activity in of itself)

jenniferplusplus,
@jenniferplusplus@hachyderm.io avatar

@julian @liaizon It seems like they would be pretty easy to distinguish heuristically. A Question that bundles in multiple Answers is a poll. A Question that doesn't, or that links to an Answer, is a Q&A.

Although my preference would be for a, @/context entry that clarifies the semantics

julian,
@julian@community.nodebb.org avatar

@jenniferplusplus theoretically a Q&A site would bundle in answers, so we'd send anyOf or oneOf too!

@liaizon @thisismissem

thisismissem,
@thisismissem@hachyderm.io avatar

@julian then you might get some weirdness, because for that I think you'd be sending an IRI to another object, where Mastodon expects poll options to be inline: https://github.com/mastodon/mastodon/blob/main/app/lib/activitypub/parser/poll_parser.rb

thisismissem,
@thisismissem@hachyderm.io avatar

@julian arguably there's a possibility of a bug there where valid? will return true because items is an array, but options could resolve to an empty array (i.e., no "name" or "content" property on the item because it's a string & not an object

So the answer there would be to valid the values in items (anyOf/allOf) as being objects with a specific shape & type.

julian,
@julian@community.nodebb.org avatar

@thisismissem 😈

(That's an imp smiling emoji btw, Mastodon strips it out because we send inline images)...

thisismissem,
@thisismissem@hachyderm.io avatar

@julian perhaps you could go as far as limiting poll options (Note's in anyOf / oneOf) as requiring to be a single line of text in name or content?

thisismissem,
@thisismissem@hachyderm.io avatar

@julian also, looks like if you send Mastodon a Question (top level, no wrapping Create), it may ignore it (will if my reading is correct).

Jeremiah,
@Jeremiah@alpaca.gold avatar

@thisismissem I agree federation would be ideal. I mistakenly thought Apache Answer already supported ActivityPub. If it does, I cannot find any reference to it anymore. I have posted a feature request: https://meta.answer.dev/questions/D1kO2/activitypub-support

thisismissem,
@thisismissem@hachyderm.io avatar

@Jeremiah that seems to be a 404?

Jeremiah,
@Jeremiah@alpaca.gold avatar

@thisismissem Oops. My post is “awaiting review” probably because I just signed up.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • webdev
  • tacticalgear
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • Durango
  • GTA5RPClips
  • thenastyranch
  • Youngstown
  • rosin
  • slotface
  • khanakhh
  • osvaldo12
  • kavyap
  • cubers
  • anitta
  • everett
  • Leos
  • tester
  • mdbf
  • ngwrru68w68
  • ethstaker
  • modclub
  • megavids
  • provamag3
  • cisconetworking
  • normalnudes
  • JUstTest
  • lostlight
  • All magazines