How to get upvoted on HackerNews

Hacker News regularly publishes a dataset to Kaggle. As I looked at my posts go dying quickly down the β€œnew” section, I wondered what was the relationship between score and how long the story was remaining in the visible portion of the β€œnew” section, raising the probability of upvote.

In this article I look at correlations between the score and different attributes of the story:

  • posting date/time, showing indeed a relationship between published story rate and score
  • type of story (Show HN, …)
  • efficiency of reposting
  • class of topic (clustering story from the title only with NLP)

TL;DR

  • Publish on week-ends, around 12 pacific
  • Reposting your story is effective, but marginally beyond once.
  • Hacker News rewards working code (Show HN stories)