Lemmy Lead Developer and father of two children.

I also develop Ibis, a federated wiki.

  • 17 Posts
  • 157 Comments
Joined 6 years ago
cake
Cake day: January 17th, 2020

help-circle

  • This is not possible with the way Lemmy is implemented, because each post belongs to exactly one community. This is not something we can realistically change. We are considering to show comments from different posts with the same url together, but that is controversial.

    In any case NodeBB, Lemmy and Piefed are different platforms with different implementations and different users. So it makes sense that some features are implemented differently, or only available in a subset of platforms.







  • Nutomic@lemmy.mltoAsklemmy@lemmy.mlCould you learn dreaming?
    link
    fedilink
    arrow-up
    14
    arrow-down
    1
    ·
    29 days ago

    We always dream, but usually we cant remember the dreams. It helps to keep a dream journal, ie every morning directly after waking up, write down as much as you remember from last nights dreams (or instead talk about it with someone). Over time you will remember more and more details.






  • With 4500 posts per minute you will probably get a lot of other scaling issues too, like with your database or the processing of incoming and outgoing activities. In any case its a good way to learn how Activitypub works. Is the code open source? Dont see it on your codeberg.

    Using the plugin system you basically just need a way to get notified about each new post and comment, right? I expect that will be one of the major use cases for plugins. We will likely provide various official plugins, eg push notifications for Android and iOS. The same thing should also work for you.Version 1.0 will let you subscribe to communities to get notifications for all new posts and comments (code).


  • To get new posts and comments for all known communities you only need to make regular requests to /api/v3/post/list?limit=50&sort=New&type_=All and /api/v3/comment/list?limit=50&sort=New&type_=All. Its not necessary to make separate requests for each community. The default rate limit allows 180 read requests per minute so you can comfortably poll this every second (in practice every 30s or so should be enough). If you miss an item (ie post or comment id was skipped) just load the following page.

    The plugin system in 1.0 would be another option. It will still take some time until that is released, but there shouldnt be any reliability issues.

    Youre right that federation solves these problems, but instead you get another problem of writing all this federation code and making sure it is compatible with different platforms. Lemmy’s federation code has around 12k lines so that is a lot. It seems much simpler to use the API for Lemmy, Piefed etc and write abstractions for common functionality.

    Anyway this is my opinion. Its your project so in the end its your decision how to implement it.