Post 2219540 by hellpie@weeaboo.space
(DIR) More posts by hellpie@weeaboo.space
(DIR) Post #2219408 by lain@kawen.space
2018-12-23T15:10:17.020217Z
7 likes, 4 repeats
it's not possible to write a 'generic activitypub server'. This is not a thing that exists. If someone says they are doing this, they are wrong.
(DIR) Post #2219434 by Deiru@gensokyo.social
2018-12-23T15:11:05Z
0 likes, 0 repeats
@lainIt's possible if you use Go. :smug_yuuka:
(DIR) Post #2219435 by lain@kawen.space
2018-12-23T15:11:27.473605Z
0 likes, 0 repeats
@Deiru nice b8, m8, I r8 it 8/8
(DIR) Post #2219465 by lanodan@queer.hacktivis.me
2018-12-23T15:12:05.403893Z
0 likes, 0 repeats
@lain Well they could just be an object storage but then there is virtually no clients for the data.
(DIR) Post #2219466 by lain@kawen.space
2018-12-23T15:12:29.654967Z
1 likes, 0 repeats
@lanodan still doesn't work because many activities have side-effects and those are not 'generic'.
(DIR) Post #2219479 by Deiru@gensokyo.social
2018-12-23T15:12:02Z
1 likes, 0 repeats
@lain"GENERIC", haha, get it?
(DIR) Post #2219496 by nepfag@pl.smuglo.li
2018-12-23T15:13:28.039994Z
0 likes, 0 repeats
@lain Isn't that just any activitypub server?
(DIR) Post #2219536 by lanodan@queer.hacktivis.me
2018-12-23T15:15:09.152788Z
1 likes, 0 repeats
@lain Ah yeah I was thinking too much in LitePub.
(DIR) Post #2219540 by hellpie@weeaboo.space
2018-12-23T15:15:28.577850Z
0 likes, 0 repeats
@lain Technically it is, but it really depends how far one is willing to stretch the definition of "server", since the best shot one can get to anything generic in ActivityPub is basically what I would call a Framework consisting of:- HTTP library to handle network and routing- JSON-LD library to handle DTO (de)serialization- Prebuilt core DTO structures for ActivityPub objects- Utils methods to aid with common tasks And yeah while that might be a server since it can technically boot on its own, and it might actually be ActivityPub-compatible, because it can understand JSON-LD, it's a very stretched definition of "generic ActivityPub server"...
(DIR) Post #2220635 by maiyannah@community.highlandarrow.com
2018-12-23T15:53:42+00:00
1 likes, 0 repeats
@lain It'd have to be an actual specification for that to work, not a bunch of W3C cargo cult bunkum.
(DIR) Post #2222460 by waweic@pleasehug.me
2018-12-23T17:37:31Z
1 likes, 1 repeats
@lainI tried. I can confirm this.
(DIR) Post #2228852 by keverets@mastodon.cloud
2018-12-23T22:10:22Z
0 likes, 0 repeats
@maiyannah @lain are you saying ActivityPub is not a valid specification? In what way?I've seen these complaints before but don't understand them. I watched as the SocialWG/SocialCG laboured to create something useful, and incorporated feedback and ideas from previous efforts (StatusNet/diaspora/etc).It was all a very open process pushed along by volunteers with a lot of effort.Is there a better alternative you can recommend?
(DIR) Post #2228853 by lain@kawen.space
2018-12-23T22:41:27.829789Z
0 likes, 0 repeats
@keverets @maiyannah it was very open and rather useless, because we already had a specification that did exactly the same and was widely used. Now we have AP which doesn't specify enough to write an actually federating server. What actually drives the development of the fedi protocols now is whatever the servers implement, which is loosely based on the basic idea of activitypub. I'm not blaming them too mucn, the w3c is a political thing and you get political results, but the only reason AP is kinda popular now is because Mastodon implemented it, and the only reason mastodon implemented it is historic. All the features of AP can be done in ostatus.
(DIR) Post #2230552 by keverets@mastodon.cloud
2018-12-23T23:45:32Z
0 likes, 0 repeats
@lain @maiyannah Again, this is confusing as Mastodon hit the limits of OStatus & had to extend it temporarily in incompatible ways. The creator of OStatus was consulted on AP, with success. There are several different federating servers including PeerTube, Pleroma, Misskey, and PixelFed. Did you have difficulty creating a federating server with AP that you didn't have when using OStatus? Being specific may help inform the next version of AP.Some context on OStatus/AP: https://blog.joinmastodon.org/2017/09/mastodon-and-the-w3c/
(DIR) Post #2230553 by lain@kawen.space
2018-12-23T23:48:35.691649Z
0 likes, 0 repeats
@keverets @maiyannah these limits were imaginary. Private scopes could have easily been implemented using special salmon endpoints. This might be confusing but it's still the truth. Input was given but people implement what they want to implement.
(DIR) Post #2230601 by keverets@mastodon.cloud
2018-12-23T23:47:33Z
0 likes, 0 repeats
@lain @maiyannah It's worth noting that PixelFed in particular had issues around federation. I'm not trying to say it's perfect (any similar protocol at the same age isn't), but it was a very valuable move forward that seems to be disregarded for reasons I don't yet understand.
(DIR) Post #2230602 by lain@kawen.space
2018-12-23T23:50:05.897576Z
0 likes, 0 repeats
@keverets @maiyannah as I have implemented both ostatus and activity pub, I can safely say that they are both equally underspecified protocols for the same thing with slightly different flavors. I know this wasn't the goal of ostatus but that's what happened.
(DIR) Post #2230613 by lain@kawen.space
2018-12-23T23:50:29.028048Z
0 likes, 0 repeats
@keverets @maiyannah I meant AP, but doesn't make mucn difference
(DIR) Post #2242682 by keverets@mastodon.cloud
2018-12-23T23:55:41Z
0 likes, 0 repeats
@lain @maiyannah do you have write-ups on the difficulties you had? That could be better instead of me trying to pull it out piecemeal by posts. Maybe links to source, too?
(DIR) Post #2242683 by lain@kawen.space
2018-12-24T10:59:32.658202Z
0 likes, 0 repeats
@keverets @maiyannah here's part of what you need to do to actually federate. https://blog.soykaf.com/post/activity-pub-in-pleroma/