Show HN: 22 GB of Hacker News in SQLite
21–30 of 229 posts
Re: Show HN: 22 GB of Hacker News in SQLite
#22I watched it in the browser network panel and saw it fetch:
https://hackerbook.dosaygo.com/static-shards/shard_1636.sqlite.gz
https://hackerbook.dosaygo.com/static-shards/shard_1635.sqlite.gz
https://hackerbook.dosaygo.com/static-shards/shard_1634.sqlite.gz
As I paginated to previous days.It's reminiscent of that brilliant SQLite.js VFS trick from a few years ago: https://github.com/phiresky/sql.js-httpvfs - only that one used HTTP range headers, this one uses sharded files instead.
The interactive SQL query interface at https://hackerbook.dosaygo.com/?view=query asks you to select which shards to run the query against, there are 1636 total.
Re: Show HN: 22 GB of Hacker News in SQLite
#23That repo is throwing up a 404 for me. Question - did you consider tradeoffs between duckdb (or other columnar stores) and SQLite?
No, I just went straight to sqlite. What is duckdb?
So you can dump e.g. all of Hacker News in a single multi-GB Parquet file somewhere and build a client-side JavaScript application that can run queries against that without having to fetch the whole thing.
You can run searches on https://lil.law.harvard.edu/data-gov-archive/ and watch the network panel to see DuckDB in action.
Re: Show HN: 22 GB of Hacker News in SQLite
#24Re: Show HN: 22 GB of Hacker News in SQLite
#25[flagged]
Re: Show HN: 22 GB of Hacker News in SQLite
#26Re: Show HN: 22 GB of Hacker News in SQLite
#27Re: Show HN: 22 GB of Hacker News in SQLite
#28Re: Show HN: 22 GB of Hacker News in SQLite
#29Earlier quoted context omitted.
Why do you say that?
Because anything that even slightly differs from the standard American phrasing of something must be "LLM generated" these days.
Re: Show HN: 22 GB of Hacker News in SQLite
#30[flagged]
I wonder if there's something like this going on here. I never thought it was LLM on first read, and I still don't, but when you take snippets and point at them it makes me think maybe they are