Anafroj@sh.itjust.works 1 year ago
I would one up that suggestion : what could be awesome would be to allow users to choose which sorting algorithm they use, and possibly tweak it. This would allow people to share the sorting logic they like, and there would be no trust issue, since you can verify the logic is respected by changing it.
Not sure how realistic this proposal is, though, because this could lead to performance issues if users submit too complicated sorting logic, which could be exploited to DoS an instance. On the other hand, it could be solved with a timeout mechanism : “if your query takes more than 100 ms to load, we kill it”. And also, you can’t just let users run arbitrary SQL, obviously, so this would require to implement some sort of meta-language safely transpiled, this would be the real challenge.
blue_berry@lemmy.world 1 year ago
Bluesky already implemented that. I think its a cool concept although most users will just stick to the default one
wagesj45@kbin.social 1 year ago
Which would make it important that the default would be something with no tweaks, like a chronological list. But I would be all for a scripting setup or some other configurable sorting engine to play with on a per-account basis. Maybe you could even subscribe to other's sorting configuration.
blue_berry@lemmy.world 1 year ago
wagesj45@kbin.social 1 year ago
It would have to be a defined standard. I imagine it not so much as a script that runs, but rather a description of fields and weights. I guess there might be some computation involved, but I think a standard could be devised that there would minimize the security risk.
Anafroj@sh.itjust.works 1 year ago
Oh really? Awesome. I’m still not going to use a generalist social network, but they’re doing it right. :)
Yeah, indeed. My taste for tinkering may be showing, I should acknowledge it’s not something widespread. 😅
blue_berry@lemmy.world 1 year ago
I’m the same but the general user doesn’t want to worry about this kind of stuff. They want to sign up to an instance, probably based on a recommendation by a friend, and have a good time. And if they don’t, they change to another one. The algorithm would just blur into the whole experience of an instance.