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
    G

    Gregory Gundersen

    gregorygundersen.com · Personal blog · on HN since 2020

    Gregory Gundersen is a machine learning researcher who writes explanatory posts on statistics, linear algebra, probability, and the history of language models.

    Visit blogRSSHN submissions
    MathAI & Machine LearningScience
    What HN says

    HN commenters praise his explanations of moments, SVD, and matrix inversion, with one calling the SVD post their favorite, and note his use of KaTeX.

    Stats for nerds
    28HN people shared it
    31linked in comments
    1.3Kstory points
    Oct 2025last shared
    2020people per year2025

    Top posts on HN

    1. 1
      Why I Keep a Research Blog
      3 people · 609 points · first shared 2020 · 72 comments on HN
    2. 2
      A History of Large Language Models
      2 people · 308 points · first shared 2025 · 26 comments on HN
    3. 3
      An Intuitive Explanation of Black–Scholes
      1 person · 212 points · first shared 2024 · 89 comments on HN
    4. 4
      Proof of the Singular Value Decomposition
      1 person · 110 points · first shared 2024 · 21 comments on HN
    5. 5
      Blockchain in 19 Lines of Python (2021)
      1 person · 15 points · first shared 2023 · 3 comments on HN
    6. 6
      Why Metropolis–Hastings Works
      2 people · 5 points · first shared 2025 · Discussion on HN
    7. 7
      How Dangerous Is Biking in New York?
      1 person · 5 points · first shared 2022 · 1 comments on HN
    8. 8
      Moving Averages
      1 person · 4 points · first shared 2026 · Discussion on HN
    9. 9
      The First Ten Years
      2 people · 3 points · first shared 2025 · 1 comments on HN
    10. 10
      Why Shouldn't I Invert That Matrix? (2020)
      2 people · 3 points · first shared 2022 · Discussion on HN

    What HN people wrote when they linked it

    • benrbrayJul 2020

      This article is a bit rough around the edges, and they really should make it clear when they mean "pseudorandom" vs "random", especially when one goal of the article is ostensibly to explain pseudorandomness to laymen!

      As an aside, using a source of random numbers to generate other random objects is quite an interesting problem! For converting from one probability distribution to another, we have classical methods like rejection/importance sampling, and modern deep learning makes constant use of the "reparameterization trick" [1,2]. Looking beyond just numbers, here's a neat trick for generating a random orthogonal matrix:

      A = np.random(n,n)
      Q,_ = np.qr(A)

      With a small correction [3], we can guarantee that our samples have uniform distribution (Haar measure) on the space of all orthogonal matrices:

      def haar_measure(n):
      # naive method
      Z = randn(n,n) + 1j*randn(n,n) / np.sqrt(2);
      Q,R = np.linalg.qr(Z);
      # correction
      d = np.diag(R);
      PH = np.diag(d) / np.absolute(d);
      return Q @ PH;

      For more, read about random matrix theory! As an exercise for the reader, how would you generate: a random symmetric matrix? a random skew-symmetric matrix? a random positive-definite matrix? a random hamiltonian path in a fixed graph?

      [1]: http://gregorygundersen.com/blog/2018/04/29/reparameterization/

      [2]: https://timvieira.github.io/blog/post/2014/07/31/gumbel-max-trick/

      [3]: http://www.ams.org/notices/200705/fea-mezzadri-web.pdf

    • jimbo1qazJan 2020

      This seems to be a static site generator.

      http://gregorygundersen.com/blog/2020/01/12/why-research-blog/ has a HTTP header last updated on 01/13/2020 04:34:31.

      http://gregorygundersen.com/blog/2019/12/23/random-fourier-features/ is 01/13/2020 04:34:30, or 1 second earlier.

      Also the source code has a link to http://gregorygundersen.com/css/markdown.css which 404's.

    • mojomarkOct 2023

      If anyone was frustrated like me on this concept of "moments" I found the following insightful and fascinating:

      https://gregorygundersen.com/blog/2020/04/11/moments/

      I have no idea how I got through undergrad and graduate school without internalizing this concept that seems so foundational. Whacky

    • yt-sdbJun 2020

      Not an application, but this my favorite explanation of SVD:

      http://gregorygundersen.com/blog/2018/12/10/svd/

      It's such an important operation that I'd say understanding it changes how you understand a lot of linear algebra. That Kun post is also good.

    • ethanweinbergerJul 2020

      I (shamelessly) stole the layout from Gregory Gundersen's wonderful research blog (https://gregorygundersen.com/blog/). He has instructions on how to replicate it here https://gregorygundersen.com/blog/2020/06/21/blog-theme/

    • gwgundersenOct 2022

      Re: the first sin, I was told to not invert matrices but never given a satisfying reason. So I wrote a blog post about it:

      http://gregorygundersen.com/blog/2020/12/09/matrix-inversion/

    Related

    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
    arg minargmin.net81 people

    Lessons from Optics, the Other Deep Learning

    arg min
    Personal · last shared 2026
    LessWronglesswrong.com2.4k people

    The Best Textbooks on Every Subject

    LessWrong
    Publication · last shared 2026
    Gwerngwern.net1.5k people

    Life Improvements Since the 1990s

    Gwern
    Personal · last shared 2026
    Adam Karvonenadamkarvonen.github.io23 people

    Chess-GPT's Internal World Model

    Adam Karvonen
    Personal · last shared 2026
    Hillel Waynehillelwayne.com294 people

    1/0 = 0

    Hillel Wayne
    Personal · last shared 2026
    Edward Z. Yangblog.ezyang.com165 people

    PyTorch Internals: Ezyang's Blog

    Edward Z. Yang
    Personal · last shared 2026
    Scott Locklinscottlocklin.wordpress.com150 people

    Andreessen-Horowitz craps on “AI” startups from a great height

    Scott Locklin
    Personal · last shared 2026