News for hackers. Stuff that matters.
Re:Show HN: Infinite Scroll Wikipedia by r3trohack3r on Friday January 14, 2022 @09:16AM (#29934635)
Each article is stored as a separate json file (0.json, 1.json, …, n.json). I have a static file containing the total number of articles. I download that file first, and then Math.random() to pick each entry.

There are no comments on this comment yet.