Tech: BigQuery dataset -> Node.js ETL -> 2.7M prime items packed into sharded SQLite (~500MB) -> queried client-side via sqlite3.wasm. No server.
Fun discoveries while building this:
- Only 7 Mersenne primes and 5 Fermat primes exist in HN's entire range
- Exactly 781 palindromic prime (but only ~760 in HN because some of those primes must not have items, unknown why), largest being ID 9,989,899. Why so few? Even-digit palindromes are always divisible by 11, so palindromic primes can only have odd digit counts (1,3,5,7 digits). We've captured ALL palindromic prime HN items that will ever exist until HN IDs hit 100M+!
The ζ logo = Riemann Zeta function, deeply tied to prime distribution.
"Live Mode": The last page fetches from the live HN API and mines primes client-side, bridging the static past to the live present.
Source: https://github.com/DOSAYGO-STUDIO/prime-news
CloudFlare Static mirror: https://falling-king-6f50.cris7fe.workers.dev
Why? I wanted to create a mirror of Hacker News that ignores time and popularity, and organizes the history of the tech industry purely by mathematical property. A way to explore the ancient and long history of HN through a filter that might surface interesting things. Hope you enjoy the beige!
Other than that, I thought it was an interesting way of sampling the news as the time delta grow further apart between each item.
Thank you for the comment on interestingness. I thought so to, but I didn't realize it in same way you did in your observation that it gets more selective over time - I like that, in a sense that's kind of natural as the environment is more competitive over time. Thank you for the interesting idea!
edit: Your ideas are implemented!
And how many of these self-promoting fake HN mockups do we need from the same person? https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...
smlacy•2h ago
ramon156•2h ago
Even after this comment I did not get it until I checked the repo[0]. It seems like it's only posts with a prime number ID
Also, the "Why?" does not explain why. It's a what/how.
[0]: https://github.com/DOSAYGO-STUDIO/prime-news
ggggffggggg•1h ago
Reason enough I’d say.
jtanderson•2h ago
Basically only HN items with prime IDs and with filters on different classes of primes.
d-lisp•2h ago
No ?
Ackchyually2•37m ago