Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
segfall
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
segfall
5y ago
AWS Billing reported that I was charged $28.43 over the course of 7 hours, for a total transfer of 306.916 GB. I believe this capture the ~25k page views the site received before I switched over to another static file host. Lesson learned f
2.
▲
by
segfall
5y ago
Thank you. Unfortunately, you'd have to write that stylesheet from scratch. For this demo, I just wrote them in the Svelte components.
3.
▲
by
segfall
5y ago
sql.js is in memory, but the database file is only partially loaded from the static file host.
4.
▲
by
segfall
5y ago
Great catch, simonw (and everyone else in this thread). I've reviewed some other static hosts and settled on wasabi for now. When my S3 bill rolls in, I'll reply to this comment with the damage. A scary number will help others avo
5.
▲
by
segfall
5y ago
For added fun, you can try switching between different databases: http://static.wiki/en/United_States http://static.wiki/zh/美国 http://static.wiki/fr/United_States http:/
6.
▲
by
segfall
5y ago
Thank you, Phiresky. My little side project only exists because of your work.
7.
▲
by
segfall
5y ago
Yep, you're right. The wikitext -> markdown conversion strips out some links, noticeably on the disambiguation pages, for an unclear reason.
8.
▲
by
segfall
5y ago
OP here. Happy to take questions, with the caveat that my work here is mostly glue. Some background: https://github.com/segfall/static-wiki The datasets I generated: https://www.kaggle.com/segfall/
9.
▲
Show HN: Static.wiki – read-only Wikipedia using a 43GB SQLite file
(static.wiki)
796 points
by
segfall
5y ago
|
189 comments