ers35
Joined 15 years ago
Karma
609
Submissions
98
Member since
Oct 28
Joined 15 years ago
Edit: It's back and status now includes "renewPeriod".
CC="" luastatic main.lua
# Compile main.luastatic.c with Cosmopolitan Libc
[1] https://github.com/ers35/luastaticIt's more about the consistency of operating on data local to the user. For example, see this comment referencing how HN paginates threads at 250 comments for performance reasons: https://news.ycombinator.com/item?id=22231055 A local database does not have that issue.
1) It is possible to keep the whole site offline. A database from 2017 is 9 GB: https://archive.org/details/hackernews-2017-05-18.db I think a 2020 DB could be less than 20 GB.
2) My focus is on reading, not writing. Local favorites make sense. Maybe with importing public favorites. A user can set their name without logging in.
3/4) SQLite does the heavy lifting here.
https://www.ers35.com/