Ask HN: How does HN determine the site that a submission belongs to?

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

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • Ruby on Rails

    Ruby on Rails

  • I'm sure this must have been asked before, but I can't find the answer anywhere.

    Here on HN, every link that is submitted has a site that it belongs to, which is shown to the left of the title, in parentheses. Usually it's just the domain name, but sometimes it includes part of the path, e.g. for a submission like https://github.com/rails/rails/pull/12345, the site would be github.com/rails.

    How is this implemented? Is there a list somewhere of the sites to treat differently (like github.com or wordpress.com), and if so, is that list publicly available? If not, is there a similar list that someone maintains that I could use for a side project?

  • list

    The Public Suffix List

  • There's the Public Suffix List https://publicsuffix.org/ but it's limited to domain names, so your github.com/rails example isn't covered. I'm pretty sure HN simply has a manually coded list of URL patterns for popular domains.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB 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

  • GitHub Incident with Issues, API Requests and Pull Requests

    1 project | news.ycombinator.com | 5 Apr 2024
  • Client side Git hooks 101

    2 projects | dev.to | 31 Mar 2024
  • More control over enum in Rails 7.1

    1 project | dev.to | 29 Feb 2024
  • DHH installing Campfire (37s ONCE #1) [video]

    1 project | news.ycombinator.com | 19 Jan 2024
  • What's Coming in Rails 8

    1 project | news.ycombinator.com | 5 Jan 2024