Show HN: Inflation-adjusted stock charts – Total Real Returns

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
  • crystal

    The Crystal Programming Language

  • Crystal https://crystal-lang.org/ is beautiful, highly performant, concise, powerful, well documented. It has a solid standard library and plenty of "shards" (packages) too. It's really the elegance of writing it that I appreciate the most -- perhaps even more than I get that elegant feeling from Ruby. The code for the standard library is highly readable and well documented, which is awesome.

    In working on this project, I discovered two "superpowers" of Crystal:

    The first was macros https://crystal-lang.org/reference/1.5/syntax_and_semantics/... which I used sparingly, but to great effect, when an ordinary method call wouldn't do.

    The second was monkeypatching: specifically, it's super easy to reopen existing standard library classes and add a field I need, for example:

        # BEGIN MONKEYPATCH

  • uPlot

    📈 A small, fast chart for time series, lines, areas, ohlc & bars

  • BACKEND:

    It's about 3000 lines of Crystal code https://crystal-lang.org/ -- it's been an absolute dream to program in. Ruby-like syntax, statically compiled performance. Nice standard library. Would recommend :)

    Performance == caching

    Local ephemeral filesystem for shortest-term caching.

    Redis for shared medium-term caching and locking.

    S3-compatible object storage for longest-term caching (for raw data feeds pulled every evening by a cronjob).

    FRONTEND:

    Bootstrap

    uPlot https://github.com/leeoniya/uPlot

    Just a sprinkle of inline JS+CSS on the page.

  • 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