Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    H

    Heap Blog

    heap.io · Company blog · on HN since 2019

    Heap's company blog covers its product analytics service, with engineering posts on Postgres, Spark, and data visualization.

    Visit blogHN submissions
    Data & VisualizationDatabasesStartups
    What HN says

    HN links it mainly through Heap job postings and product mentions; one commenter praises its automatic capture of analytics data, another questions its value.

    Stats for nerds
    28HN people shared it
    42linked in comments
    1.5Kstory points
    Sep 2023last shared
    2019people per year2023

    Top posts on HN

    1. 1
      We saved millions in SSD costs by upgrading our filesystem
      1 person · 657 points · first shared 2021 · 311 comments on HN
    2. 2
      Postgres audit tables saved us from taking down production
      2 people · 176 points · first shared 2021 · 57 comments on HN
    3. 3
      Applying Textbook Data Structures for Real Life Wins
      1 person · 157 points · first shared 2020 · 32 comments on HN
    4. 4
      Optimizing Postgres queries at scale
      1 person · 87 points · first shared 2021 · 17 comments on HN
    5. 5
      Accidentally exponential behavior in Spark
      2 people · 76 points · first shared 2021 · 33 comments on HN
    6. 6
      How we failed, then succeeded, at migrating to TypeScript
      1 person · 69 points · first shared 2019 · 57 comments on HN
    7. 7
      Working around a case where the Postgres planner is “not very smart”
      2 people · 68 points · first shared 2021 · 59 comments on HN
    8. 8
      Using Babel transforms to inject analytics code at build time
      1 person · 46 points · first shared 2020 · 14 comments on HN
    9. 9
      PostgreSQL’s New Join Type: LATERAL (2014)
      1 person · 36 points · first shared 2020 · 6 comments on HN
    10. 10
      How I Learned to Stop Worrying and Love Tech Debt
      1 person · 31 points · first shared 2021 · 13 comments on HN

    What HN people wrote when they linked it

    • malisperJun 2020

      For those not familiar with Posthog, it's open an open source product analytics tool. That means you install some javascript on your website. It then collects information on what features people are using on your website and let's people run charts and graphs to ask questions about feature engagement and product usage.

      Product analytics is a pretty large space. The three main existing product analytics tools are Mixpanel[0], Amplitude[1], and Heap[2] (I used to work at Heap). Notably, Mixpanel was valued at $865MM as of 2014 and Amplitude was valued at $1B as of two weeks ago.

      Posthog is an open source competitor to these tools that you are able to self host. This is interesting for several reasons. If you don't feel comfortable sending data to third party tools, you control the data yourself. In addition, existing product analytics tools can get expensive. After you get off the public pricing, you will likely find yourself paying >$12k/year for one of these tools.

      There are also challenges I see for them going forward. In my experience, the person who makes the decision to buy a product analytics tool isn't in engineering. It's usually a product manager or sometimes a marketer. I imagine the fact that it's open source is less interesting to one of the traditional product analytics purchasers. Compare this to a company like Gitlab where the end users are engineers.

      Scaling these tools is also a huge challenge. My job at Heap was to basically scale Heap. If you want to…

    • cjOct 2019

      > That couch business wasted both your time AND the sales rep's time. Who does it help to not post prices?

      Because there isn't a price to show.

      The missing detail I left out in the original comment is that the sale rep also said "We have hundreds of fabric and color options available, and we can accomodate any configuration."

      Sure, I guess they could post prices for the models sitting on the floor, but that price would only be for that exact configuration. The point is, the sale person wants to spend 1-2 hours working with the customer to determine their fabric preferences, then color preferences, then configuration / shape of the couch. The store does not cater to people who want the ability to walk in, point to something and say "I want that, how much?" - those people are not their customers.

      > For B2B, sure, you can't give an exact quote until you figure out the custom logic

      In the couch example, it's the same, exact "custom logic" is instead fabric, color, configuration, pull out vs. no pull out, ottoman vs no ottoman, etc.

      (For the record, I hate non-transparent pricing as much as anyone. Heap is an example that has been on my mind lately since we're looking at analytics solutions at our company: https://heap.io/pricing - it's impossible to infer the "contact us" pricing, since the only other plan they have is "Free" -- we're on their "Startup" plan for $499/mo, and I have no idea if we're being ripped off, or if that's what everyone else is paying too...)

    • jmtaber129Jul 2020

      Good point, we didn’t really get into that part of the story.

      At Heap, we have a concept of a “virtual event”, in which there’s a raw event data set, and then you (the Heap customer) would “define” events on this raw data through our UI. The resulting data set is what you’d normally get from traditional `analytics.track` code, except it would be retroactive to the point when you installed Heap, you can change/delete/create events (without losing the underlying data), and you wouldn’t have actually written any additional tracking code.

      We have some material on virtual events on https://heap.io/product/virtual-events, and the code that extracts the raw events from these interactions can be found at https://github.com/heap/react-native-heap/blob/c2dae7ef2442a67619670e723af31368bc69b75f/js/autotrack/touchables.js (the function our babel plugin hooks into) and https://github.com/heap/react-native-heap/blob/c2dae7ef2442a67619670e723af31368bc69b75f/js/autotrack/common.ts#L50 (the function that creates most of the raw event we send to Heap)

    • btownJan 2022

      For any who want this kind of pipelining way-of-writing-SQL that has the benefit of existing in live production databases today, I highly, highly recommend looking into Postgres' and Snowflake's LATERAL JOIN keyword.

      https://heap.io/blog/postgresqls-powerful-new-join-type-lateral

      https://stackoverflow.com/questions/28550679/what-is-the-difference-between-lateral-join-and-a-subquery-in-postgresql

      https://docs.snowflake.com/en/sql-reference/constructs/join-lateral.html

      The TL;DR is that they allow you to reuse annotated and aggregated columns in an incredibly elegant way. Compared to OP's proposal, you still do need to start the query with what columns you want to come out at the end, and normal SQL weirdnesses still apply - but it's far, far, easier when writing massive analytics queries to see the flow of variables from one stage to another.

    • ChronosKeyApr 2020

      Heap (YC W13) | Software Engineer | San Francisco, CA | New York, NY | Remote | Fulltime | https://heap.io

      We’re a small team building the analytics engine that powers 6,000 companies and helps them make smarter decisions.

      Heap automates away the pain of data. Other analytics tools require you to define events upfront and manually instrument code. Instead, Heap automatically captures everything: clicks, submissions, taps, etc. This lets our users analyze data instantly and retroactively, without writing code.

      Our app-layer stack is TypeScript, React, Node.js, Redis, and PostgreSQL. Under the hood, Heap is powered by ZooKeeper, Kafka, and Citus.

      If you are interested, please email at anojh@heap.io or visit https://heap.io/careers/jobs.

    • _chencsJun 2021

      Heap (YC W13) | Software Engineer | San Francisco, CA | New York, NY | Remote | Fulltime | https://heap.io

      Heap is automating the collection of product data by capturing everything: clicks, submissions, taps, etc. so that our customers can analyze product metrics instantly and retroactively, without writing code.

      We're a ~200-person company, looking for communicative, collaborative engineers to build a great product with us.

      If you're interested, visit https://heap.io/careers/jobs. I'm an engineer in the platform engineering area, so if you have questions about general engineering-related things, you can email casie@heap.io

    Related

    Crunchy Data Blogcrunchydata.com187 people

    Learn Postgres at the Playground – Postgres compiled to WASM running in browser

    Crunchy Data Blog
    Company · last shared 2026
    Databricks Blogdatabricks.com298 people

    DBRX: A new open LLM

    Databricks Blog
    Company · last shared 2026
    Twitch Engineering Blogblog.twitch.tv178 people

    Go’s march to low-latency GC

    Twitch Engineering Blog
    Company · last shared 2026
    Honeybadger Bloghoneybadger.io54 people

    Fuck-That Money

    Honeybadger Blog
    Company · last shared 2026
    Timescale Blogblog.timescale.com95 people

    How percentile approximation works and why it's more useful than averages

    Timescale Blog
    Company · last shared 2022
    Uber Engineering Blogeng.uber.com525 people

    Why Uber Engineering Switched from Postgres to MySQL

    Uber Engineering Blog
    Company · last shared 2025
    BMC Blogbmc.com18 people

    An Introduction to Spark’s Machine Learning Pipeline

    BMC Blog
    Company · last shared 2024
    Periscope Data Blogperiscopedata.com31 people

    Outlier Detection in SQL

    Periscope Data Blog
    Company · last shared 2019