Comment on [deleted]
SnokenKeekaGuard@lemmy.dbzer0.com 9 months ago
I just want the ability for people to deploy their own sorting systems. Then we could have opensource projects and everyones happy (ok maybe not, but thats as close as we get to it)
The_Lemmington_Post@discuss.online 9 months ago
SnokenKeekaGuard@lemmy.dbzer0.com 9 months ago
This is not possible because sorting is done in the database, so adding a new sort option requires a database migration with new indexes, columns and updated queries. Not something that can be done with a simple plugin.
Ah that’s a shame
nutomic@lemmy.ml 9 months ago
Actually scores are regularly calcuated from a scheduled task which runs in Rust. Yes the score caculation is currently implemented in SQL, but it could also be changed to a Rust implementation or a plugin. This would probably need some optimization so that the plugin only calculates scores for recent posts, not every single known post. In any case it would need someone with the time and motivation to implement it.
spaduf@programming.dev 9 months ago
It could probably be done with a dedicated local client