News for hackers. Stuff that matters.
Re:ActivityPub by robertwt7 on Monday November 07, 2022 @06:13PM (#33513866)
I wonder what other cool app (other than Mastodon) has been implemented based on this protocol.. 99% of the app out there is built based on centralized and traditional protocol, it's pretty cool to see more app built based on this protocol with new use cases
Re:ActivityPub by 40four on Monday November 07, 2022 @06:41PM (#33514138)
Check out this article from the other day. It gives a nice info-graphic showing a lot of the major players in Activity-pub. No shortage of options :)

https://news.ycombinator.com/item?id=33472622

Re:ActivityPub by jrnichols on Monday November 07, 2022 @09:24PM (#33515248)
that was a great infographic that I hadn't seen before. thanks!
Re:ActivityPub by Jtsummers on Monday November 07, 2022 @06:15PM (#33513880)
Nextcloud, PeerTube, PixelFed, and others.

https://en.wikipedia.org/wiki/ActivityPub - has a list, almost certainly incomplete but seems to cover the major ones.

Re:ActivityPub by andrewmutz on Monday November 07, 2022 @06:15PM (#33513883)
How do algorithmic feeds work in the fediverse?

Are there already services out there the last slurp in a ton of activitypub feed data and help surface content to users that they will enjoy?

Some of the centralized social media services do this extremely well after you've been using them for awhile (YouTube in particular)

Re:ActivityPub by zrail on Monday November 07, 2022 @06:26PM (#33514005)
I'm sure you could do that but, thus far, it seems like algorithmic feeds are rejected wholesale by the fediverse communities.
Re:ActivityPub by doener on Tuesday November 08, 2022 @12:40AM (#33516226)
Yes:

"Does Mastodon or the Fediverse use ads or trackers or algorithms or blockchain or cryptocurrency or anything annoying like that?

No.

There are no ads, no trackers, the timeline shows all posts from everyone you follow in chronological order, and there is no blockchain/cryptocurrency/web3.

Fediverse servers connect to each other using traditional sustainable methods that email and websites have used for decades."

https://fedi.tips/mastodon-and-the-fediverse-beginners-start...

Re:ActivityPub by whimsicalism on Tuesday November 08, 2022 @12:31PM (#33521666)
Yeah, I'm sure the Fediverse doesn't use any "algorithms."
Re:ActivityPub by _Algernon_ on Tuesday November 08, 2022 @01:25PM (#33522388)
There is no need to be pedantic. Everyone knows that "algorithm" is synonymous with "recommendation engine" these days.
Re:ActivityPub by barbazoo on Monday November 07, 2022 @07:24PM (#33514488)
It's funny but I definitely wouldn't have put YT on that list. Even after attempting to "train" it by removing from the feed stuff I'm not interested in, it's still very random and comically irrelevant at times.
Re:ActivityPub by lsaferite on Tuesday November 08, 2022 @02:09PM (#33522936)
YT is SO bad. It's not even funny at this point.
Re:ActivityPub by rektide on Monday November 07, 2022 @07:32PM (#33514538)
This solutionism is kind of a little a lot problematic. Expecting a single pat answer that utterly projects & reduces all possible wins into a single minded "this is how it will work" confines imagination & potential (just by the pointed ask alone), reduces a complex place we can keep exploring & winning & growing, into an overbearing consumerist expectation that all answers are known, all is worked out, and that there is some total answer thats gonna drop in our laps.

Synthetic feeds of recommendations is an open topic. How much data one is willing to send upstream, as inputs to one's recommender engine, is as much of a topic as how such things would work, what kind of activitypub feeds the engine would emit.

Right now there's nearly nothing & (while I dont agree) a vast amount of the userbase considers this lack to be a feature: a distinguishing characteristic that makes this network human and not aggressively eye-ball stealing machine & greedy. Human connection & old fashioned following people you run into is a win for organic matter & innate connection over pre-programmed ways to insure more eyeball-time.

That philosophy battle aside: there's infinite possibilities here. The way the question is phrased expects there is a singular clear way. You probably should not sign up for a fediverse instance! You dont seem like a fit.

Re:ActivityPub by whimsicalism on Tuesday November 08, 2022 @12:32PM (#33521679)
You seem to be shadowboxing a non-existent opponent. If anything, their reference to service*s* suggests that they do not expect a singular clear way.
Re:ActivityPub by rektide on Thursday November 10, 2022 @09:58PM (#33556825)
> already services out there the last slurp in a ton of activitypub feed data

this posting was from the enemy seeking an evil reductionist desire deeply in opposition to what this world wants (self definition) and you are ungenerous & unmoderate in unwillingness to meet part way here. bad things here from bad intent! be warned. this is a vile path.

Re:ActivityPub by kornhole on Tuesday November 08, 2022 @12:54PM (#33521972)
Centralized algorithms for feeds are generally rejected by the community so far. Some projects such as Mastodon provide users the ability define filters of their raw chronological feed. People can also use and follow hashtags.
Re:ActivityPub by mariusor on Wednesday November 09, 2022 @02:55AM (#33528588)
In ActivityPub "feeds" are not really a thing. A "feed" is the content of an Actor's Inbox and it will contain all the Activities that have been received by that Actor in chronological order.

That being said, you can overlay some semblance of algorithmic feed in the client that presents the Inbox contents to the end-user, but that is not related to the specification in any way.

Re:ActivityPub by chatterhead on Monday November 07, 2022 @06:16PM (#33513894)
Does Daniel even moderate anymore?
Re:ActivityPub by dang on Monday November 07, 2022 @06:38PM (#33514105)
I'm afraid so, and you've been posting so many unsubstantive and/or flamebait comments that were going to have to ban you unless you stop. WE've already asked you once.

If you wouldn't mind reviewing https://news.ycombinator.com/newsguidelines.html and taking the intended spirit of the site more to heart, we'd be grateful.

Re:ActivityPub by chatterhead on Monday November 07, 2022 @06:44PM (#33514155)
This isn't moderating, Daniel - it's curating.

So do what we both know you enjoy about this job since you don't seem to do the other aspects of it.

Re:ActivityPub by dang on Tuesday November 08, 2022 @01:26PM (#33522403)
People mean so many different things by those words (you can throw in 'censorship' too) that I don't know what they mean any more.

If you want to say something about which aspects of the job I'm lacking in, I'd definitely be interested.

Re:ActivityPub by codefreeordie on Tuesday November 08, 2022 @05:13PM (#33525049)
Of course he does, he finds and deletes anything that doesn't follow the Marxist-thought-only guideline that's implicit in that "guidelines" link he posts everywhere.
Re:ActivityPub by outside1234 on Monday November 07, 2022 @06:24PM (#33513980)
Totally ignorant question - is ActivityPub the preferred way to work against a Mastodon server if you want something like a Twitter firehose?

If not, what is the preferred manner of accomplishing this?

Re:ActivityPub by jeroenhd on Tuesday November 08, 2022 @01:58PM (#33522805)
I don't think there's a firehose alternative for Mastodon. There's the generic stream API (https://docs.joinmastodon.org/methods/timelines/streaming/) which should contain all public posts but that will only reflect the local timeline.

The general public API also has a "fetch posts since ID <x>" call but in practice you'll only be able to fetch 400 posts at most based on the docs I can find.

There are tools like this: https://github.com/cscape/mastodon-firehose which you can use to combine multiple stream endpoints. That tool probably comes closest if you provide it with enough servers to monitor.

Re:ActivityPub by k__ on Monday November 07, 2022 @06:36PM (#33514090)
What's a minimal AP implementation that works with Mastodon?
Re:ActivityPub by mariusor on Wednesday November 09, 2022 @02:57AM (#33528598)
Mastodon requires more than simply ActivityPub to be able to interact with it. Its user discovery is based on WebFinger and if you don't have that working, your service won't be able to be interact with Mastodon servers.
Re:ActivityPub by k__ on Wednesday November 09, 2022 @02:20PM (#33536531)
Yes.

I looked at Express middleware and it seems that a minimal server to interact with Mastodon is more than a few days work.

Re:ActivityPub by mariusor on Wednesday November 09, 2022 @10:44PM (#33541940)
Hahaha, I've been working on a server, a client, and adjacent plumbing for about 4 years non-stop as a side project. Spoilers: it's still not fully done. :)
Re:ActivityPub by k__ on Thursday November 10, 2022 @11:32AM (#33548967)
Btw.

What are the requirements to run an instance?

Re:ActivityPub by mariusor on Saturday November 12, 2022 @09:14AM (#33573213)
Of my software? A random machine with a network connection. It targets small/medium communities, so the focus is for ease of installation. You only have a static binary, or a container to run. :D

However that is just the ActivityPub service, there are no full clients for it(yet) outside of a link aggregator/discussion platform similar to old(reddit) and HN, which is another static binary, or container.

See my profile for links to the projects if you want more details.

Re:ActivityPub by cryo on Monday November 07, 2022 @06:55PM (#33514257)
Damn that's a very pleasent to read specification, step by step and easy to follow.
Re:ActivityPub by bullen on Tuesday November 08, 2022 @01:09PM (#33522146)
How does ActivityPub make sure posts on other hosts are "real"?

I would have gone for a pub/priv key solution instead and supported tree structured comments and real private messaging.

Re:ActivityPub by tedunangst on Tuesday November 08, 2022 @01:41PM (#33522613)
The post must either be retrieved via https, or signed with a key pair retrieved from the same origin.
Re:ActivityPub by bullen on Tuesday November 08, 2022 @02:07PM (#33522914)
Aha, thx!
Re:ActivityPub by oflor on Tuesday November 08, 2022 @04:39PM (#33524667)
It looks a lot like XMPP with some of its flaws – too much flexibility and no principled stance on privacy and security issues. For example, I couldn't find how ActivityPub supports signatures of sent content, while Mastodon (one of ActivityPub implementation/services) specifies and requires it. And it's really disappointing that they don't solve the identity theft problem, leaving it all in hands of instances' admins.
Re:ActivityPub by zaik on Tuesday November 08, 2022 @05:45PM (#33525336)
I use Mastodon over the web-interface. Where would signatures of sent content be generated or signed? How does the receiving end verify the signature?

With XMPP+OMEMO I have verified the fingerprints of my friends by scanning their QR code.

Re:ActivityPub by oflor on Tuesday November 08, 2022 @06:07PM (#33525517)
I'm sorry, I don't have a good answer for you. While PGP-like web of trust is accessible on native desktop and mobile applications, it's certainly harder to use in browser. I don't think that it should be an argument against supporting it.

One of the widespread solutions in the cryptocurrency world is browser extensions, which store in its private storage the private key and allow you to use it to sign some transactions in the same browser window. I reckon it's possible to implement the same approach for PGP and store the private key and trusted public keys in order to sign and validate messages.