Improved Stats / Credits

Marc van Woerkom (van.woerkom nospam at netcologne.de)
Wed, 7 Apr 1999 20:47:35 +0200 (CEST)

> 2) More statistics! The more people can see that something is
> happening, the more they will be willing to take the time to
> submit CDs. You currently have # of Albums, ids and artists.
> I would like to see # of each of those submitted today / this
> month and so on.

Right now I'm installing mysql and the cdindex server scripts on my
machine to make additions to the statistics.

I plan to add bitmaps that show stats a la these ones:

http://www.distributed.net/statistics/

At the end of this mail you see an example of how these stats could be
generated by running gnuplot.

E.g. cron might call up a script that generates .dat and .gnuplot
from database data and then runs gnuplot.
The HTML page would contain a link to the generated example.gif

> 5) Probally wanna include some other info with submissions, especially
> a place for the sumitter to identify themselves with a name, email or
> URL or something. People like to get credit (even this tiny bit)
> for taking time to do something. I dig seeing that people I know
> entered the disc I am listening to.

This medal has two sides - I like credit too - on the other hand
it would be possible for third parties to find out about what CDs
you own, what taste you have etc.

Regards,
Marc


-------------------------------------------------------------------------------

#
# example.dat
#
#
# this is a simple example data file
#
# written by Marc E.E. van Woerkom, 4/99
#

# date, albums, d(albums), indices, d(indices), artists, d(artists)

990310 3000 0 3100 0 2000 0
990311 3024 24 3200 100 2050 50
990312 3234 210 3350 150 2070 20
990313 3303 69 3550 200 2100 30

-------------------------------------------------------------------------------

#
# example.gnuplot
#
#
# simple example stat plot gnuplot command file
#
#
# written by Marc E.E. van Woerkom, 4/99
#

set grid

set xtics rotate \
("Mar 10, 1999" 990310, \
"Mar 10, 1999" 990311, \
"Mar 10, 1999" 990312, \
"Mar 10, 1999" 990313)

set key left

# plot on standard term (x11) and wait

set output # std out

plot 'example.dat' using 1:2 title "albums" with linespoints, \
'example.dat' using 1:4 title "indices" with linespoints, \
'example.dat' using 1:6 title "artists" with linespoints

pause -1 "Hit return to continue"

# replot on bitmap

set term gif
set output 'example.gif'
replot

# replot on stdout

set term dumb 79 49
set output
replot

-------------------------------------------------------------------------------

3600 ++---------------------+-----------------------+---------------------++
+ albums **A*** + + #B
|indices ##B### : : #### |
|artists $$C$$$ : : #### |
| : : #### |
| : : #### |
3400 ++...............................................####................++
| : ###B# |
| : ###### : |
| : ###### : *****A
| : ###### : ************ |
3200 ++..................###B##...................**A*****................++
| ######## : **** : |
| ######## : **** : |
B### : **** : |
| : **** : |
| : **** : |
3000 A**********************A*............................................++
| : : |
| : : |
| : : |
| : : |
| : : |
2800 ++...................................................................++
| : : |
| : : |
| : : |
| : : |
| : : |
2600 ++...................................................................++
| : : |
| : : |
| : : |
| : : |
2400 ++...................................................................++
| : : |
| : : |
| : : |
| : : |
| : : |
2200 ++...................................................................++
| : : |
| : : |
| : : $$$$$$$$$$$C
| : $$$$$$$$$$$$C$$$$$$$$$$$ |
+ $$$$$$$$$$$C$$$$$$$$$$$ + +
2000 C$$$$$$$$$$$-----------+-----------------------+---------------------++
Mar 10, 1999 Mar 10, 1999 Mar 10, 1999 Mar 10, 1999

-------------------------------------------------------------------------------

example.gif.gz.b64:

H4sICF2lCzcCA2V4YW1wbGUuZ2lmAOVdC1hUZd5/58rMMNAAIwxI6xkChdR1BFQm3a+ZwWqk
IsK8wWYgIN4oBLOL9TXAiNfa0ZBPC11M0ExJrdAtl9b0UfFGrSaVmVlifH2t6+72lV9P277f
+55z5tzmHOaM+jz7CD7nwYeZ877v/////a/vjfsm3Zs1rtijvKh4GwAIIQDA4XCg/2ArmH3q
jVPtp9o+/Qb99kXzF+vAGUD+6wL0vxH4B24L1NDUOWlHR9Z3p/bDotSXSudumvPGmwu+e79y
xIeLKr58+s2rz12FB5or3SMSftfZUnVswV2//+j1RTltBbs+3bn4xJVn/3Rx99MP/PrVD//7
nWdPPb7/y7/94bncXZ9f/b8//udtHrUegHQAlOp8ra6n5ezMph+++eIFm/m+tzIfypwybe+T
j2U1PpyKvgcKZZpKl+EBNU3vnFv19oU//nxb/dfuxm9WbP2f43v/Gn70HwaNifClnwQHjVKk
bsnTAbfeAYAaqADhIIZ5nLkFVw7PeOLCL2HZC5Pv/37i5CfLCq8tLRmkrDo9rwIUa1GPCrW+
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+
0vx3S8dufGjOI3e1Tm2btmDq/suLOx6rnD5h6H+dKl9U0DF73xdPZA2KDkkcJkMIf/xgbZlO
I5aaQonc61i+VxnCX2Yo1SMXxJdXJz/p0NitEhnPpm/Pvf/3fwrjCn2dq1/VojyC70uPORVq
fha1WRhSgJkfnJHCjk/18HCEOK/RCYAUvEMFNQLwRjNvJv92B5dE4SuJx/5Rx3dCTc0mAcR9
a9AogUZHeWubovl3h/JN4r63zosmv2yZIYhjR1fm6QSXpAlwXyow2iHmELU0VKNl8+Vnts7/
+Uj1871LYJh2afasPz89cei6+2ef+cl7b+vkeWefPTy7vfDxT37WLGv16cD4/wdiFOKZEmYA
AA==

-------------------------------------------------------------------------------

Regards,
Marc