Tell HN: My Hacker News app (HACK) is sort of broken this afternoon

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • refined-hacker-news

    ✨ Hacker News, but refined — Interface tweaks and features to make the HN experience better

  • Based on the screenshot in this issue, looks like that extension is also using XPath/CSS query selection to achieve it's functionality. So, I think it's suffering similar issues:

    https://github.com/plibither8/refined-hacker-news/issues/121

  • Hacker News API

    Documentation and Samples for the Official HN API

  • They actually even admit that the API garbage. They say:

    > "The v0 API is essentially a dump of our in-memory data structures. We know, what works great locally in memory isn't so hot over the network. Many of the awkward things are just the way HN works internally. Want to know the total number of comments on an article? Traverse the tree and count. Want to know the children of an item? Load the item and get their IDs, then load them. The newest page? Starts at item maxid and walks backward, keeping only the top level stories. Same for Ask, Show, etc. I'm not saying this to defend it - It's not the ideal public API, but it's the one we could release in the time we had. While awkward, it's possible to implement most of HN using it."

    https://github.com/HackerNews/API

    If one wants to get the comments for a post on HN from the API, they have to first fetch the post, then fetch every single comment of the post 1 by 1. So if the post has 500 comments, one has to basically send over 500 network requests......

    They did say that they plan on released a better API in the future. However, as far as I know, it will be read only initially. So won't be much useful for my app.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts