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
    L

    Live Free or Dichotomize

    livefreeordichotomize.com · Personal blog · on HN since 2017

    A data scientist writes about R, statistics, causal inference, and practical data processing, including the well-known 25TB awk and R post.

    Visit blogRSSHN submissions
    Data & VisualizationSystems & PerformanceProgramming
    What HN says

    HN cites the 25TB post as evidence that awk and Unix tools can process very large datasets efficiently, as an alternative to Spark.

    Stats for nerds
    17HN people shared it
    13linked in comments
    468story points
    May 2024last shared
    2020people per year2024

    Top posts on HN

    1. 1
      Using AWK and R to parse 25TB
      7 people · 327 points · first shared 2019 · 103 comments on HN
    2. 2
      Hill for the data scientist: an xkcd story
      1 person · 122 points · first shared 2017 · 11 comments on HN
    3. 3
      Using Awk and R to parse 25tb (2019)
      2 people · 12 points · first shared 2023 · Discussion on HN
    4. 4
      Using Awk and R to parse 25tb (2019)
      3 people · 2 points · first shared 2022 · Discussion on HN
    5. 5
      Show HN: Building a data-driven CV with R
      1 person · 2 points · first shared 2019 · Discussion on HN
    6. 6
      Understanding Propensity Score Weighting
      1 person · 1 points · first shared 2024 · Discussion on HN
    7. 7
      Understanding propensity score weighting
      1 person · 1 points · first shared 2019 · Discussion on HN
    8. 8
      Why you maybe shouldn't care about that p-value
      1 person · 1 points · first shared 2017 · Discussion on HN

    What HN people wrote when they linked it

    • coldteaMay 2024

      >How would running awk for analysis on 6TB of data work quickly and efficiently?

      In that 6TB is not that huge of an amount

      That's their total dataset, and there's no "real time" requirement.

      They can start a batch process, process the data, and be done with it.

      Here's an example of someone using awk (read further down for the relevant section):

      https://livefreeordichotomize.com/posts/2019-06-04-using-awk-and-r-to-parse-25tb/

      "I was now able to process a whole 5 terabyte batch in just a few hours."

      >They say it would go into memory but its not clear to me how that would work as would still have paging and thrashing issues if the data didnt have often used sections of the data

      There's no need to have paging and thrashing issues if you can fit all (or even most) of your data in memory. And you can always also split, process, and aggregate partial results.

      >am I overthinking it and they were they just referring to buying a big ass Ram machine?

      Yeah, they said one can buy a machine with several TB of memory.

    • wodenokotoOct 2022

      I love Unix pipes and I love the immense computational power you can achieve through streaming pipelines. You hear stories of people processing terabytes of data faster and cheaper than a distributed cloud solution, by the virtue of Unix pies[1].

      But I don’t really see them in any other environment. I can’t think of anything that uses something similar except for big, distributed data processing pipelines like Apache Beam.

      Where’s the Python with streaming pipelines?

      [1] https://livefreeordichotomize.com/posts/2019-06-04-using-awk-and-r-to-parse-25tb/

    • allarmSep 2023

      AWK/Sed are actually very efficient. See this post for example, it describes parsing 25Tb of data with awk: https://livefreeordichotomize.com/posts/2019-06-04-using-awk-and-r-to-parse-25tb/index.html

    • Chris2048Mar 2020

      before you go down the spark route, consider perl/unix-tools may do this kind of thing quite well: https://livefreeordichotomize.com/2019/06/04/using_awk_and_r_to_parse_25tb/

    Related

    Chris Saidchris-said.io21 people

    Optimizing things in the USSR (2016)

    Chris Said
    Personal · last shared 2026
    Data Sorcerydata-sorcery.org22 people

    An Illustrated guide to multi-core parallelism in Clojure

    Data Sorcery
    Personal · last shared 2019
    Dataquest Blogdataquest.io50 people

    How I built a Slack bot to help me find an apartment in San Francisco

    Dataquest Blog
    Company · last shared 2024
    Statistical Modeling, Causal Inference, and Social Sciencestatmodeling.stat.columbia.edu350 people

    Suspicious data pattern in recent Venezuelan election

    Statistical Modeling, Causal Inference, and Social Science
    Publication · last shared 2026
    Chris Stucchiochrisstucchio.com162 people

    Don't use Hadoop when your data isn't that big

    Chris Stucchio
    Personal · last shared 2024
    Aphyraphyr.com551 people

    Hexing the technical interview (2017)

    Aphyr
    Personal · last shared 2026
    David Robinsonvarianceexplained.org47 people

    One Year as a Data Scientist at Stack Overflow

    David Robinson
    Personal · last shared 2026
    Simply Statisticssimplystatistics.org85 people

    The future of education is plain text

    Simply Statistics
    Publication · last shared 2026