pupgray / walltaker

Take control of your friends wallpapers
5 stars 5 forks source link

New multiplier-based browse page algorithm #10

Closed kemagain closed 4 months ago

kemagain commented 8 months ago

The current browse page algorithm shows the 18 "oldest" links, but considers each user's links to be 6 seconds "older" for each wallpaper they've set for others. In practice, this bonus doesn't really do much for people outside of Anonymous23, since that guy's just built different.

The goal here is to replace the system with a multiplier-based algorithm, where the relative age of a link is multiplied by some factor of how many wallpapers that user has set for others. This should help push active users to the forefront of the browse page without completely burying the less active users.

pupgray commented 8 months ago

Sorry for the wait, want to try a perf test on this first. Might be able to show many more links!

kemagain commented 8 months ago

Not a problem. I'm not 100% sure what it'll take performance-wise given that I don't have a big enough database locally--but I'm hoping it's roughly identical to the previous algorithm.