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
    A

    Arpit Bhayani

    arpitbhayani.me · Personal blog · on HN since 2020

    Arpit Bhayani, a software engineer, writes explainers on LLMs, databases, Python internals, and distributed systems topics.

    Visit blogRSSHN submissions
    Systems & PerformanceDatabasesAI & Machine Learning
    What HN says

    Commenters link his posts for explaining database ACID properties' implementation, Python constant folding, and C struct composition.

    Stats for nerds
    60HN people shared it
    143linked in comments
    796story points
    Oct 2023last shared
    2020people per year2023

    Top posts on HN

    1. 1
      Heartbeats in Distributed Systems
      1 person · 164 points · first shared 2025 · 48 comments on HN
    2. 2
      Overload functions in Python
      1 person · 104 points · first shared 2020 · 61 comments on HN
    3. 3
      Finite State Machines with Python Coroutines
      3 people · 87 points · first shared 2020 · 15 comments on HN
    4. 4
      Constant Time LFU
      2 people · 74 points · first shared 2020 · 24 comments on HN
    5. 5
      Inheritance in C using structure composition
      2 people · 68 points · first shared 2020 · 28 comments on HN
    6. 6
      Israeli Queues
      2 people · 32 points · first shared 2020 · 14 comments on HN
    7. 7
      Eight rituals to be a better programmer
      2 people · 31 points · first shared 2020 · Discussion on HN
    8. 8
      Deciphering Single-Byte XOR Ciphertexts
      1 person · 29 points · first shared 2020 · 15 comments on HN
    9. 9
      Pseudorandom number generation using Cellular Automata
      1 person · 10 points · first shared 2020 · Discussion on HN
    10. 10
      I changed Python and made Integers iterable
      2 people · 9 points · first shared 2020 · 1 comments on HN

    What HN people wrote when they linked it

    • fahoJul 2021

      >presumably Python has a similar "cache" of such constant strings.

      Not really. You're hitting constant folding: https://arpitbhayani.me/blogs/constant-folding-python

      This isn't a pre-made list of certain strings that should be cached, this is the compiler noticing that you mentioned the same constant a bunch of times.

      Also in general you would see a lot of things with the same id because python uses references all over the place. E.g. assignment never copies.

    • adarshdOct 2023

      This blog post series explores ACID properties in databases and touches upon the implementation side which is not usually covered anywhere.

      Other posts in the series:

      https://arpitbhayani.me/blogs/consistency/

      https://arpitbhayani.me/blogs/isolation/

      https://arpitbhayani.me/blogs/durability/ - Shortly explains how databases achieve durability

    • butUhmErmAug 2022

      A simpler ECS pattern in plain C

      https://www.gamedev.net/articles/programming/general-and-gameplay-programming/implementing-component-entity-systems-r3382/

      See post on C struct composition: https://arpitbhayani.me/blogs/inheritance-c

    • arpitbbhayaniSep 2020

      https://arpitbhayani.me

      66% of users are expected to like your site :D

    Related

    Aphyraphyr.com551 people

    Hexing the technical interview (2017)

    Aphyr
    Personal · last shared 2026
    Aatish Bhatiaaatishb.com41 people

    Log-log plot of new vs. total Covid-19 cases by country

    Aatish Bhatia
    Personal · last shared 2026
    Simon Willison's TILstil.simonwillison.net111 people

    One-liner for running queries against CSV files with SQLite

    Simon Willison's TILs
    Personal · last shared 2026
    Fred Hébertferd.ca168 people

    Awk in 20 Minutes (2015)

    Fred Hébert
    Personal · last shared 2026
    Simon Eskildsensirupsen.com40 people

    Why Docker Is Not Yet Succeeding Widely in Production

    Simon Eskildsen
    Personal · last shared 2025
    Small Datumsmalldatum.blogspot.com63 people

    The original LSM paper

    Small Datum
    Personal · last shared 2026
    Daniel Abadidbmsmusings.blogspot.com68 people

    NewSQL databases fail to guarantee consistency and I blame Spanner

    Daniel Abadi
    Personal · last shared 2025
    Joe Duffyjoeduffyblog.com147 people

    15 Years of Concurrency

    Joe Duffy
    Personal · last shared 2026