|
2010-07-08
, 10:08
|
Posts: 336 |
Thanked: 610 times |
Joined on Apr 2008
@ France
|
#2
|
The Following User Says Thank You to CrashandDie For This Useful Post: | ||
|
2010-07-08
, 10:53
|
|
Posts: 529 |
Thanked: 262 times |
Joined on Dec 2008
@ Eastleigh, Hampshire, UK
|
#3
|
Counting currently "hot" applications
To make a dynamic listing of applications that are "hot right now", we need to store some additional download statistics per application:
Total amount of downloads
Average downloads per day during last week
Yesterday's downloads
These can then be used to calculate whether an application is getting more downloads on a given day than usual, meaning that it is "currently hot".
This should be possible to count via:
current karma = (yesterday's karma - age modifier) + (total download count - yesterdays downloadcount - lastweeks daily average)
Source.
I'm assuming fresh is simply the most recently updated in extras.
However I cannot for the life of me figure out how 'hot' is calculated. the show information about an app is it's current star rating, the number of votes and the number of downloads.
However no combination I can figure out of using these numbers makes sense looking at the order actually shown.
eg some apps appear high up even with lower counts in all of those categories that apps that come later.
I'm just curious if anyone has insight into how 'hot' is determined.
----------
N900
http://danielwould.wordpress.com
Check out Witter, a twitter client for N900
http://danielwould.wordpress.com/witter
If Witter isn't working for you, eg crashes/doesn't start, gives errors etc etc. Please run it from x-term using:
run-standalone.sh python2.5 /opt/witter/witter.py
This will generate diagnostic output. Without this I cannot help you.