If I understand correctly, ActivityPub implementation on Lemmy is just starting and is mostly dormant (which isn’t a dig on any of the developers since no one is getting paid to implement it). But is this because it’s hard to implement? Lack of knowledge? Or simply that no one has had the time to actually start implementing it? When we do get started, how big a project is it expected to be?

  • mariusor@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    5 years ago

    Another thing which I forgot to mention is computing/storing the scores for the posts.

    In my implementation I have a real dumb way of doing it, where I just count the number of Likes/Dislikes on an item that represents the object and display that. The problem with this is that you need to load the collection that stores these on each object you want to display (eg: https://federated.id/objects/8592f693-d43f-4713-ba0c-86314520b787/likes ), which is very slow on a post with a lot of comments.

    Probably a better way to do it would be to add a “Score” property to the objects (yeah, I forgot to mention that ActivityPub supports extensions :D) which would expose the precomputed score. I will probably get to adding that, but not anytime soon to be honest.