On Thu, Jan 7, 2016 at 6:56 PM, Tomasz Czyż <[email protected]> wrote:
> > > 2016-01-08 1:28 GMT+00:00 Mathnerd314 <[email protected]>: > >> Hosting seems like a good index but there might be something else (month >> project was founded?). >> > wow :-) Maybe first letter? > Yeah, I guess alphabetical is OK. But clicking on single letters is s-l-o-w. So 2-letter prefixes. 1000 websites, 676 2-letter prefixes, and 1000 packages for each prefix, runs to 676000000 packages. npm is the largest package repo currently, with 223942 packages and growth of 335/day; so we'd run out of space in ~4 years and have to move to 3 levels. On the other hand, most of their packages are garbage like "Peter is awesome": https://github.com/peterdemartini/peter/blob/master/index.js; I don't think it's worth packaging any significant fraction of npm for nix. So the scheme (host/pa/package) seems reasonable. The other reason I like using hosting as the first level is that it makes writing update-crawlers easier. -- Mathnerd314
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
