Sort posts by their score and select top 10% of posts.ġ4. This prevents posts from popular threads from taking over.ġ3. Then select the highest scored post from each thread. Group posts into threads they are part of, if any. This causes older posts to have lower scores.ġ2. Reduce the scores of each post by a factor of `power(2, (time_now - post_create_time)/half_life)` where `half_life` is something like 6 hours. If a post is from any of my specified favourite accounts, increase its score by a constant factor (I use 1.2).ġ1. If a post contains any of my specified favourite tags, increase its score by multiplying it by a constant factor (I use 1.2).ġ0. `score = geometric_mean(like_count, boost_count, reply_count) / square_root(follower_count_of_poster)`ĩ. Assign scores to posts using this formula: Partition posts into boosts and non-boosts, and apply next steps for each partition separately.Ĩ. Fetch like, boost and reply counts for the posts from their origin server.ħ. Remove posts that I have liked, boosted or replied to.Ħ. Apply my Mastodon filters on them to remove unwanted posts.Ĥ. Fetch posts in my home timeline for last 24 hours.Ģ. I've been trying to build a personal # AlgorithmicTimeline for # Mastodon for myself for some time and I've got a basic version working. # NixOS shines here as well because all the upgrade related changes are handled by the NixOS service code written and tested by expert maintainers, instead of random admins like me. The # Mastodon upgrade went without a hitch, as have all previous ones. The isolation and reproducibility (and composability) is worth learning the complex # Nix language. So, the point I'm trying to make here is, use NixOS for setting up your servers. But no problem, I just ran the build again, and everything was back to how it was. I also managed to wipe out the whole Nix store while trying to figure out the Bookwrym build issue (by running garbage collection). So I just copied the previously working channel for Bookwyrm and changed its config to use the same, upgrading only Mastodon.ĭoing these kind of things would be so cumbersome if I had not been using NixOS. Mastodon upgrade worked fine but Bookwyrm refused to build because of some Python packaging issues. While trying to upgrade fantastic.earth to # Mastodon 4.2.1 today, I accidentally ended up upgrading the # Bookwyrm service as well because both of them were using the same # NixOS pinned channel.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |