Skip to content
Hacker News Confidence, Rewritten in Go
Go HTML
Branch: master
Clone or download

Latest commit

ejamesc Change Split to Fields.
- This allows us to deal with all types of whitespace delimiters.
Latest commit 9ab7172 Aug 14, 2016

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
static
README.md
hnconf.go
hnconf_test.go
hnconficon.psd
template.html

README.md

Go Hacker News Confidence

This project grabs Hacker News, sorts news items according to the lower bound of a Wilson score confidence interval for a Bernoulli parameter, and spits them out as reformatted HTML. We assume points as upvotes and comments as downvotes.

Slightly longer explanation

This project is how I weaned myself off Hacker News.

I've found that the most worthwhile HN articles to read are the ones with high upvote-to-comment ratio. For example, controversial articles e.g. "10 reasons Rails is a fucking joke" tend to have the same number of upvotes and comments. Whereas high-quality analysis and world-changing news generates little discussion but much upvoting.

Reading just the top 5 stories ranked according to this score saves you a ton of time.

Original Project

Written with Scrapy, found here.

You can’t perform that action at this time.