Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It is an invalid comparison. That isn't to say that the community doesn't punish Microsoft-related posts, but self-posts are penalized by the algorithm. Specifically, the score is multiplied by .4 if it doesn't contain a URL.

HN's ranking algorithm[1] (as of 2010-10-12):

    (= gravity* 1.8 timebase* 120 front-threshold* 1
       nourl-factor* .4 lightweight-factor* .17 gag-factor* .1)

    (def frontpage-rank (s (o scorefn realscore) (o gravity gravity*))
      (* (/ (let base (- (scorefn s) 1)
              (if (> base 0) (expt base .8) base))
            (expt (/ (+ (item-age s) timebase*) 60) gravity))
         (if (no (in s!type 'story 'poll))  .8
             (blank s!url)                  nourl-factor*
             (mem 'bury s!keys)             .001
                                            (* (contro-factor s)
                                               (if (mem 'gag s!keys)
                                                    gag-factor*
                                                   (lightweight s)
                                                    lightweight-factor*
                                                   1)))))
[1]: https://news.ycombinator.com/item?id=1781417


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: