Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. An Empirical Study of Harness Design for Coding Agents(arxiv.org ↗)
    15comments
  2. I Vibed a Proof of Conway's Conjecture(overreacted.io ↗)
    28comments
  3. AI Protest in Montreal(montrealgazette.com ↗)
    11comments
  4. Cloudflare Quick Tunnels(cloudflare.com ↗)
    8comments
  5. C++26: Trivial infinite loops are no longer undefined behaviour(sandordargo.com ↗)
    8comments
  6. Bend 2 and the Vibe-Coding Trap(liampwll.com ↗)
    178comments
  7. North Korean nuclear test sets off years of earthquakes – Science – AAAS(science.org ↗)
    3comments
  8. OpenJev(openjev.com ↗)
    185comments
  9. The Shadows Lurking in the Equations – Underwater Islands(gods.art ↗)
    5comments
  10. Subnormal floating-point numbers are expensive on Intel processors(lemire.me ↗)
    38comments
  11. I don't like passkeys(hawksley.dev ↗)
    334comments
  12. NATS publishes preliminary report on technical incident of 8 September(nats.aero ↗)
    4comments
  13. Cekura (YC F24) Is Hiring(ycombinator.com ↗)
    discuss
  14. Warren Buffett Steps Down as Berkshire Chairman, Names Son to Replace Him(nytimes.com ↗)
    114comments
  15. Jemalloc 5.4.0(github.com/jemalloc ↗)
    62comments
  16. BeanShell3 in Development(beanshell.github.io ↗)
    1comments
  17. The scourge of x86 emulation(fex-emu.com ↗)
    57comments
  18. Microsoft exec called AI scraping 'the largest theft of labor in human history'(techcrunch.com ↗)
    495comments
  19. Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint(prismml.com ↗)
    170comments
  20. Mathematicians Build Long-Awaited Graph Sandwich(quantamagazine.org ↗)
    discuss
  21. Astra for Law(openai.com ↗)
    645comments
  22. ZCode, the GLM coding agent, silently uploads your Git history(tokenstead.ai ↗)
    50comments
  23. Second Circuit Allows Government to Search Electronic Devices at the Border(knightcolumbia.org ↗)
    12comments
  24. Bend – A language that blocks AI mistakes via proof, on CPU and GPU(bend-lang.com ↗)
    276comments
  25. Replacing Pull Requests with Delta(zed.dev ↗)
    52comments
  26. Qwen 3.8 Omni Flash(qwen.ai ↗)
    102comments
  27. When the fractional part of a float fixes your shader(crocidb.com ↗)
    13comments
  28. Pre-Greek: The lost language hidden within Ancient Greek(linguisticdiscovery.com ↗)
    57comments
  29. How to Write with an LLM(sockpuppet.org ↗)
    171comments
  30. NATS Major Incident Preliminary Investigation Report [pdf](nats.aero ↗)
    1comments

A Statistical Analysis of All Hacker News Submissions

147 pointsby 12y agominimaxir.com
36 comments
12y agoHN ↗

Interesting - I'd love to see the number of stories on the front page about politics over time. Is it really growing, or does it just seem that way?

12y agoHN ↗

You have to keep in mind that the biggest tech story from last year was also the biggest political story of last year. So, the numbers would be skewed towards rise in political stories, but it could be simply due to the overlap.

12y agoHN ↗

Presumably you could do stats with and without that one.

12y agoHN ↗

…so Lisp and Erlang are well-liked on HN.

Umm... Maybe not? What if a post is titled "I don't like Lisp. Go Python!", and it hit the front page? How exactly do you infer the language being talked about?

12y agoHN ↗

Interesting natural language processing question. It took me a minute to notice that you actually included three languages in there.

12y agoHN ↗

should include "posts about analyzing HN posts" as a category

how meta

12y agoHN ↗

Nicely done.

1. What did you use to generate the graphs?

2. While analyzing JavaScript, were submissions of posts related to Angular, Bootstrap, Require, etc classified as JavaScript?

12y agoHN ↗

1. Plots were made using R and ggplot2. (additionally, charts were rendered on a Mac; rendering Line Charts on Windows doesn't work very well)

2. To maintain an apple-to-apples comparison, I only checked for the presence of a language, and not any frameworks.

12y agoHN ↗

You should check to see if the points per post is power-law distributed. What happens when you also put the y-axis on log-scale? Does it look linear?

12y agoHN ↗

1. Thanks for the answer and the tip about rendering the charts.

2. I guess that is a practical approach - otherwise, it would have gotten too complex with all the frameworks, tools and technologies.

12y agoHN ↗

There was a point when we figured out how to stop spam submissions almost completely. That was probably what happened at the end of 2011. That would have been about the right time.

12y agoHN ↗

I don't suppose there's an explanation we could have? :)

12y agoHN ↗

Unfortunately like most of our anti-abuse measures it's surprisingly simple and would be easy to circumvent.

12y agoHN ↗

Sorry to hijack the thread but now that you will have more time in your hands... can we have an option to download our data from HN? I mean my submissions, saved articles, and comments. Thanks!

12y agoHN ↗

You can use the API to download your submissions and comments extremely easily, too.

12y agoHN ↗

Which official API? And... the saved articles are not public. If you are referring to the new hn.algolia.com this is far (rate limit?) from being a data liberation initiative. Even Google and Facebook are much better.

12y agoHN ↗

With the Algolia API, you can request 1000 stories or 1000 comments per request. I don't think you'll hit the rate limit. :P

Here are your 1000 out of your 1248 comments: https://hn.algolia.com/api/v1/search_by_date?tags=comment,au...

And here are 1000 out of your 1548 submitted stories: https://hn.algolia.com/api/v1/search_by_date?tags=story,auth...

You can pagenate each endpoint on the created_at_i parameter to get the rest. I can write up a data liberation script if you want.

12y agoHN ↗

Thanks! I also need to web scrape HN to retrieve my saved articles. It will be useful to use users credentials with the API.

12y agoHN ↗

Do situations such as this cause you to reflect further upon the role(s) of information asymmetry in systems and society? If so, I'd be curious about your thoughts in the context of one of your essays, if they were ever to come to such.

I continue to reflect upon this, for myself. But you write better and sometimes rather elucidating essays.

12y agoHN ↗

You have a green heat map of

  #submissions(time)

where time is 1-hour slots across 7 days. You also have a red heat map of

  #successful_submissions(time)

where successful is > 100 points. I think what you want is a third map which is the ratio,

  #successful_submissions / #submissions

which would be the empirical probability of a submission being successful, given the submission time. The raw counts don't tell you this.

(If you have a zero in the #submissions bin at some time, this will give 0/0, so you might want to put in a "Laplace correction" which is to add 1 count to each #submissions bin. There are other adjustments you can use, but this would be good enough for the purpose of the plot.)

12y agoHN ↗

I also noticed this, and would love to see such a chart.

12y agoHN ↗

I did a similar analysis to the one posted here and computed a similar heat map to the one you describe, but I marked a submission as successful when it went from new -> front page, not when it hit 100 points. The result is in ~middle of the post and it seems that weekends are best for chances of a story making it to the front.

http://karpathy.ca/myblog/2013/11/27/quantifying-hacker-news...

and the raw ipython notebook with too many details: http://cs.stanford.edu/people/karpathy/hn_analysis.html

12y agoHN ↗

Thanks very much. And on a log scale too!

As you noticed, not only do weekends offer a significantly improved chance of making it to the front page, but also: the mid-morning weekday peak seems to cause enough competition that submissions have a hard time making it.

This is in contradiction to an assertion made in the OP: "Your odds are slightly better when submitting at peak activity (weekdays at 12 PM EST / 9 AM PST)." The problem being, they did not calculate the odds.

12y agoHN ↗

So now our bosses have a pretty chart to show we don't work.

Weekends being dead don't help, folks!

12y agoHN ↗

Almost lost me with the word clouds, but I'm glad I soldiered on. An interesting look at the patterns behind HN.

12y agoHN ↗

It does make me wonder what great links I'm missing because they only got a few upvotes.

Up voting articles on New only goes so far. Other people have to stop upvoting fluff.

Not sure what a solution would be.

12y agoHN ↗

I wonder if there is a bias due to a specific type of people that are patient and interested enough to browse /newest and give stories the initial boost.

12y agoHN ↗

With the NSA graph it's worth noting that HN posts with 'NSA' or 'Snowden' in the title are known to be down-graded by the site's ranking algorithm. Can't remember where the source for this is right now.

12y agoHN ↗

This is not statistical analysis, this is "descriptive statistics" at best. This:

One of the infamous memes about Hacker News is programming language elitism, with favoritism for languages such as Lisp and Erlang.

Lisp and Erlang are indeed obscure, which might discredit the meme.

is the exact opposite of analysis. If it was found that 40% of HNers were left-handed, HN would be noted as a particularly left-handed website, since the base rate in the population is a fraction of that.

12y agoHN ↗

It would be interesting to see the distribution of Erlang posts over time - specifically, what portion of the 1,189 submissions came on Erlang Day (and its 1-2 sequels)?

12y agoHN ↗

What software did you use for those pretty charts?