News for hackers. Stuff that matters.
Re:Show HN: Top PDFs Posted to Hacker News in 2019 Computed ... by burtonator on Thursday January 23, 2020 @02:39PM (#22131006)
I computed this list of top PDFs using the Internet Archive data.

Basically it crawls the front page of HN and finds any .pdf link, records the number of upvotes, then sorts by score.

I did the same thing last year and it was a great way to find awesome/unique PDFs.

Ironically, the first post was about web scraping being legal and here I am computing the list via web scraping!

Re:Show HN: Top PDFs Posted to Hacker News in 2019 Computed ... by simlevesque on Thursday January 23, 2020 @03:44PM (#22131771)
is there a reason why you did not use the built in HN archives? https://news.ycombinator.com/front?day=2019-01-23
Re:Show HN: Top PDFs Posted to Hacker News in 2019 Computed ... by inetknght on Thursday January 23, 2020 @03:22PM (#22131518)
> it crawls the front page of HN and finds any .pdf link, records the number of upvotes, then sorts by score

How do you deal with the numbers changing over time?

Re:Show HN: Top PDFs Posted to Hacker News in 2019 Computed ... by burtonator on Thursday January 23, 2020 @03:34PM (#22131670)
I take the max in a 24 hour period.

I don't always have snapshots for all hours though so there might be some skew