dub-registry icon indicating copy to clipboard operation
dub-registry copied to clipboard

Add a tab of trending packages

Open wilzbach opened this issue 7 years ago • 2 comments

e.g. packages that have been downloaded or starred a lot in the last week(s)

See also: https://github.com/trending/d

wilzbach avatar May 06 '18 01:05 wilzbach

Cool Sounds simple, but has a bit more to it. Any concrete suggestion how to efficiently compute a trend from the data we have atm.? Maybe trending should also work on the meta-level, using the trend of the score. Then we wouldn't employ different interpretations of the underlying data.

Possibly we could add an IIR-filter (moving average) of the derivative of the score. I'm sure there is an established art of simple trend computing though, worthwhile to be reasearched prior to working on this.

Would we use this to replace the recently updated or the newly added column? Both of which are rather random, though the former repeatedly showcases packages while the latter one only gives 15 minutes of fame once.

NB: There is the idea to aggregate download stats for graphs and to save space (#160). Disclaimer: Just saw this and wanted to dump a few thoughts, not going to work on this until code.dlang.org is properly hosted and dub turnaround inefficiencies have been resolved.

MartinNowak avatar May 14 '18 09:05 MartinNowak

Isn't this requirement already covered by the "most popular" packages list. If not, what is the difference?

andre2007 avatar Dec 22 '18 10:12 andre2007