Re: [aur-general] How the Popularity value is being calculated for a package in the AUR4?

2015-06-19 Thread Hugo Osvaldo Barrera
On 2015-06-12 10:01, Lukas Fleischer wrote:
 On Fri, 12 Jun 2015 at 09:43:00, G. Schlisio wrote:
   Lukas on aur-dev: Popularity is the sum of all votes with each vote
   being weighted with a factor of 0.98 per day since its creation.
  
  thats quite a fast wear-off, i think.
  after a year, there is virtually nothing left (6e-4 only).
  does this really meet the intention?
  
 
 Yes. The main purpose of the popularity field is to give very popular
 newcomers a chance to appear on the front page. Also, we don't care
 about packages that were very popular a year ago and are no longer used
 today. If a package is still interesting, it will continuously receive
 new votes such as is the case with yaourt.
 
 Regards,
 Lukas

Given how it's calculated, and the purpose it intends to serve, I believe the
proper word is trending, not popularity.

-- 
Hugo Osvaldo Barrera
A: Because we read from top to bottom, left to right.
Q: Why should I start my reply below the quoted text?


signature.asc
Description: PGP signature


Re: [aur-general] How the Popularity value is being calculated for a package in the AUR4?

2015-06-19 Thread carstene1ns
Am 18.06.2015 um 18:33 schrieb Connor Behan:
 [...]
 Does anyone know an easy way to hide Popularity with a userscript or
 userstyle? [...]

Given that the index of the column not changes, this works:

$('table.results  thead  tr  th:nth-child(5)').hide();
$('table.results  tbody  tr  td:nth-child(5)').hide();

First line removes the header, second line the values. It may not be the
best solution, but I did not find a better way than counting to get the
right column. It uses jQuery from the AUR page, if you want to use it
from a user script you may need a way to inject it.

best regards,
carstene1ns



signature.asc
Description: OpenPGP digital signature


Re: [aur-general] How the Popularity value is being calculated for a package in the AUR4?

2015-06-18 Thread Connor Behan
On 12/06/15 07:45 AM, Martti Kühne wrote:
 On Fri, Jun 12, 2015 at 1:38 PM, Magnus Therning mag...@therning.org
 wrote:
 No, and valuable != popular :)

 Any popularity contest is going to be biased in some way.  This is as
 good a bias as any other.

 And let's leave completely out of focus that the bias that is needed
 for a package to enter the official repositories is the personal
 opinion of a TU or Dev. 
Does anyone know an easy way to hide Popularity with a userscript or
userstyle? I currently call
$(input[type=text]).unbind().attr(autocomplete, on); to disable
search suggestions since I can't stand websites suggesting that I do
popular things.

I'm sure this is a useful metric for some, but I'm not fond of seeing a
column of almost all zeros in searches. I think the only packages that
maintain a high popularity will be things like yaourt where people keep
voting it up because they mistakenly think it will one day go to
[community].



signature.asc
Description: OpenPGP digital signature


Re: [aur-general] How the Popularity value is being calculated for a package in the AUR4?

2015-06-12 Thread Marcel Korpel
* Andrejs Mivreņiks m...@gim.fastmail.fm (Fri, 12 Jun 2015 10:26:08
+0300):
 I noticed that the Popularity colon has been added to the list of
 packages. What does this value actually mean? How is it being
 calculated?

Lukas on aur-dev: Popularity is the sum of all votes with each vote
being weighted with a factor of 0.98 per day since its creation.

Best, Marcel


Re: [aur-general] How the Popularity value is being calculated for a package in the AUR4?

2015-06-12 Thread Lukas Fleischer
On Fri, 12 Jun 2015 at 09:43:00, G. Schlisio wrote:
  Lukas on aur-dev: Popularity is the sum of all votes with each vote
  being weighted with a factor of 0.98 per day since its creation.
 
 thats quite a fast wear-off, i think.
 after a year, there is virtually nothing left (6e-4 only).
 does this really meet the intention?
 

Yes. The main purpose of the popularity field is to give very popular
newcomers a chance to appear on the front page. Also, we don't care
about packages that were very popular a year ago and are no longer used
today. If a package is still interesting, it will continuously receive
new votes such as is the case with yaourt.

Regards,
Lukas


Re: [aur-general] How the Popularity value is being calculated for a package in the AUR4?

2015-06-12 Thread G. Schlisio
 Lukas on aur-dev: Popularity is the sum of all votes with each vote
 being weighted with a factor of 0.98 per day since its creation.

thats quite a fast wear-off, i think.
after a year, there is virtually nothing left (6e-4 only).
does this really meet the intention?



signature.asc
Description: OpenPGP digital signature


Re: [aur-general] How the Popularity value is being calculated for a package in the AUR4?

2015-06-12 Thread Martti Kühne
On Fri, Jun 12, 2015 at 1:38 PM, Magnus Therning mag...@therning.org wrote:
 No, and valuable != popular :)

 Any popularity contest is going to be biased in some way.  This is as
 good a bias as any other.


And let's leave completely out of focus that the bias that is needed
for a package to enter the official repositories is the personal
opinion of a TU or Dev. The rate recording is optimized to emphasize
wide adoption trends, which to me appear completely spot-on. What
aspect is missing there?

cheers!
mar77i


Re: [aur-general] How the Popularity value is being calculated for a package in the AUR4?

2015-06-12 Thread Magnus Therning
On 12 June 2015 at 13:11, LoneVVolf lonew...@xs4all.nl wrote:
 On 12-06-15 10:01, Lukas Fleischer wrote:

 Also, we don't care
 about packages that were very popular a year ago and are no longer used
 today.

 Low number of new votes != not used anymore

 Many high quality, useful packages target a specific group of users.
 Does that make them less valuable ?

No, and valuable != popular :)

Any popularity contest is going to be biased in some way.  This is as
good a bias as any other.

/M

-- 
Magnus Therning  OpenPGP: 0xAB4DFBA4
email: mag...@therning.org   jabber: mag...@therning.org
twitter: magthe   http://therning.org/magnus


Re: [aur-general] How the Popularity value is being calculated for a package in the AUR4?

2015-06-12 Thread LoneVVolf

On 12-06-15 10:01, Lukas Fleischer wrote:

Also, we don't care
about packages that were very popular a year ago and are no longer used
today.

Low number of new votes != not used anymore

Many high quality, useful packages target a specific group of users.
Does that make them less valuable ?

LVV