logoalt Hacker News

Enabling Codex to Analyze Two Decades of Hacker News Data

61 pointsby ronfriedhabertoday at 10:42 AM24 commentsview on HN

Comments

zeroxfetoday at 1:15 PM

I've done this kind of thing many times with codex and sqlite, and it works very well. It's one prompt that looks something like this:

- inspect and understand the downloaded data in directory /path/..., then come up with an sqlite data model for doing detailed analytics and ingest everything into an sqlite db in data.sqlite, and document the model in model.md.

Then you can query the database adhoc pretty easily with codex prompts (and also generate PDF graphs as needed.)

I typically use the highest reasoning level for the initial prompt, and as I get deeper into the data, continuously improve on the model, indexes, etc., and just have codex handle any data migration.

show 1 reply
Brajeshwartoday at 3:01 PM

The “Hacker News - Complete Archive” on Hugging Face,[1] recently popped up here. “The data is stored as monthly Parquet files sorted by item ID, making it straightforward to query with DuckDB, load with the datasets library, or process with any tool that reads Parquet.”

Out of curiosity, I tinkered with it using Claude to see trends and patterns (I did find a few embarrassing things about me!).

1. https://huggingface.co/datasets/open-index/hacker-news

mike_hearntoday at 11:59 AM

I don't quite understand how Modolap differs from just asking AI to use any other OLAP engine? Both your website and the github readme just emphasise that it's idiosyncratic and your personal approach, without explaining what that is or why anyone should care.

show 1 reply
sd9today at 3:17 PM

I'm kind of surprised that postgres was quite that dominated by mongodb back in the day. I remember the mongo fever, but I always thought postgres held reasonable market share. I guess it was other SQL dbs back then, I guess MySQL was still viable.

show 1 reply
sam-beetoday at 4:49 PM

Nobody who actually codes in that language ever calls it 'Golang'

show 1 reply
hakrgrltoday at 3:08 PM

That last chart showing the average comment length shows a clear negative downtrend, especially in recent months. I wonder why that is.

show 1 reply
voidUpdatetoday at 2:05 PM

When searching for references to Go, what does it actually look for? "Go" is a relatively common word, and I hardly see anyone referring to it as Golang

xnorswaptoday at 2:18 PM

5% of all comments mention Claude code?

Am I reading that right?

show 2 replies
hsuduebc2today at 4:27 PM

I really love codex. The price/value comparison to claude code is at least from my opinion much better.

moralestapiatoday at 2:38 PM

Do not estimate/plot DAUs/MAUs, it's not a pretty picture :'(.

show 1 reply
throwaway290today at 1:04 PM

HN data is open? Under what conditions it's distributed?

show 2 replies
avib99today at 1:17 PM

[dead]

huflungdungtoday at 2:29 PM

[dead]

benreesmantoday at 1:13 PM

[dead]

cloudpeaklabstoday at 5:29 PM

[flagged]