5 ms·
Ask PG: What is the running-total (summation) of all our Karma as users of HN?
I had to ask.
- pg 17y ago> (sum [karma _] (users)) 1632636 This may be a slight undercount, because users are lazily loaded. But most with significant karma would be loaded at this point.
- dschoon 17y agoIt would be a slight undercount if karma didn't follow a power-law. How many users are there again? How many were loaded when you ran that?
- pg 17y ago13527 of 43817 accounts are currently loaded.
- mlLK 17y agoWhat do you mean loaded? You mean in order to filter spam, trolls, or bots?
- pg 17y agoUsers and items (stories, comments) are lazily loaded from disk to make restarts faster.
- dschoon 17y agoI did a few quick calculations, most of which were uninteresting. The only thing that's remotely notable is: 0.07% of the users (the top 100) account for 34.7% of the karma. Numbers in easily consumable python form: http://tire.less.ly/hacking/junk/karma.py http://tire.less.ly/hacking/junk/karma.py
- ph0rque 17y agoSo the user with the highest karma has ~2.6% of the total... interesting.
- dbul 17y agoThat is assuming pg is included in the count. I haven't looked at the code so I'm not sure if pg is classified as a user or something else.
- mixmax 17y agoSome time ago I had a hunch that karma followed a powerlaw, so I mapped the leaderboard out in excel - and sure enough it looked exactly like a powerlaw graph.
- Bluem00 17y agoThe curve I fit to the leader board is, karma = 25343 * rank^(-.465) Which has an R-squared value of 0.9791. Unfortunately, this isn't a good enough fit to meaningfully extrapolate very far.
- ojbyrne 17y ago27075/1632636 = 1.65%. Am I missing something?
- jcapote 17y agoSlightly off-topic, but it's awesome that you post code along with the answer when asked these types of questions.
- quantumhobbit 17y agoSlightly related question: Is it possible to separate the karma from comments from karma earned from posts? I'd imagine most users earn their karma from one or the other and rarely both.
- anigbrowl 17y agoAverage Karma per utterance would also be interesting. Or, indeed, per word.
- stcredzero 17y agoI think Karma is a deceptive number. A high value for total karma of a site could just as easily indicate a dilution of value as an increase in value. Averages per user, per comment, per word, and per minute online would probably be more meaningful.
- chris11 17y agohttp://searchyc.com/user/**** http://searchyc.com/user/**** (replace stars with username). That'll give you # of comments, # of submissions, average # of points per comment, and average # of points per submission.
- russell 17y agoNow that the question has been asked, mean and median would be interesting. (And histograms and... :-)
- deleted 17y ago[deleted]
- Banzai10 17y agoSo my karma is very low, at least it's below the average :D
- deleted 17y ago[deleted]
- GeneralMaximus 17y agoWhat about a page that shows some neato statistics? It could be updated only once every day to keep the site fast (i.e., no real time stats).