Most active commenters

    Graphical Linear Algebra

    (graphicallinearalgebra.net)
    295 points hyperbrainer | 26 comments | | HN request time: 1.264s | source | bottom
    1. lorenzo_medici ◴[] No.44523497[source]
    Appreciate the Claude Makelele praise
    replies(1): >>44531245 #
    2. Xmd5a ◴[] No.44523716[source]
    Generalized Transformers from Applicative Functors

    >Transformers are a machine-learning model at the foundation of many state-of-the-art systems in modern AI, originally proposed in [arXiv:1706.03762]. In this post, we are going to build a generalization of Transformer models that can operate on (almost) arbitrary structures such as functions, graphs, probability distributions, not just matrices and vectors.

    >[...]

    >This work is part of a series of similar ideas exploring machine learning through abstract diagrammatical means.

    https://cybercat.institute/2025/02/12/transformers-applicati...

    3. MarkusQ ◴[] No.44524517[source]
    I really enjoyed that when it was coming out, and used to follow it with some students. It's a shame it seems to have been abandoned.
    replies(1): >>44525265 #
    4. theZilber ◴[] No.44525113[source]
    When I read the first meaty chapter about graphs and commutativity I initially thought he just spends too long explaining simple concepts.

    But then ai realized I would always forget the names for all the mathy c' words - commutativity commutativity, qssociativity... and for the first time I could actually remember commutativity and what it means, just because he tied it into a graphical representation (which actually made me laugh out loud because, initially, I thought it was a joke). So the concept of "x + y = y + x" always made sense to me but never really stuck like the graphical representation, which also made me remember its name for the first time.

    I am sold.

    replies(1): >>44525935 #
    5. phforms ◴[] No.44525213[source]
    Years ago when I was reading this (just a couple of chapters, not all of it), it opened my eyes to the power of diagrammatic representation in formal reasoning unlike anything before. I never did anything useful with string diagrams, but it was so fun to see what is possible with this system!
    replies(1): >>44529490 #
    6. Iwan-Zotow ◴[] No.44525265[source]
    Who wrote that? Do you know?

    pawel ... ?

    replies(1): >>44525515 #
    7. mattkrause ◴[] No.44525515{3}[source]
    Pawel Sobocinski, in collaboration with Filippo Bonchi and Fabio Zanasi

    https://graphicallinearalgebra.net/about/

    8. dclowd9901 ◴[] No.44525571[source]
    > If the internet has taught us anything, it’s that humans + anonymity = unpleasantness.

    Aka one of my favorite axioms: https://www.penny-arcade.com/comic/2004/03/19/green-blackboa...

    9. gowld ◴[] No.44525935[source]
    Which chapter is that? It's not in the ToC
    replies(1): >>44528437 #
    10. marvinborner ◴[] No.44526249[source]
    It's interesting how some of these diagrams are almost equivalent in the context of encoding computation in interaction nets using symmetric interaction combinators [1].

    From the perspective of the lambda calculus for example, the duplication of the addition node in "When Adding met Copying" [2] mirrors exactly the iterative duplication of lambda terms - ie. something like (λx.x x) M!

    [1]: https://ezb.io/thoughts/interaction_nets/lambda_calculus/202...

    [2]: https://graphicallinearalgebra.net/2015/05/12/when-adding-me...

    11. russfink ◴[] No.44527636[source]
    It reads as if Chuck Lorre (The Big Bang Theory) wrote it. Especially chapter two. I love the humor!
    12. webprofusion ◴[] No.44527721[source]
    This is nice, my main criticism would be that it uses the language "easy" and "simple" regularly which is a classic mistake in any instructive text (including docs etc).

    If the reader was feeling a bit dumb and/or embarrassed that they didn't yet get the concept being explained then this will only make them feel worse and give up.

    Language like that is often used to make things feel approachable and worry-free, but can have the opposite effect.

    And never ever, ever write "obvious" in a doc explaining something, because if obviousness was at play they wouldn't be reading your doc.

    replies(3): >>44528262 #>>44529526 #>>44533170 #
    13. programjames ◴[] No.44528008[source]
    This looks pretty similar to interaction combinators:

    1. https://en.wikipedia.org/wiki/Interaction_nets#Interaction_c...

    2. https://github.com/HigherOrderCO/Bend

    14. Nevermark ◴[] No.44528262[source]
    Excellent point.

    I think about wording like that, like the extraneously explicit meta-content that dumbs down so many story plots. A character explicitly says "That makes me angry". When a better written story would make the anger implicitly obvious.

    Stories should show not tell.

    Make a point, make it clear make it concise, and it will be simple for most readers. Don't talk about making a point, or say a point is clear.

    That is projecting attributes or experiences onto readers. But even a very well written point may not appear simple for some readers. Assume (optimistically!) that there will always be some unusually under-prepared but motivated reader. Hooray if you get them! They can handle a challenge every so often.

    "Simple" communication is a high priority target, but rarely completely achievable for the total self-selected, beyond intended, audience.

    15. memoryfault ◴[] No.44528437{3}[source]
    3!
    replies(1): >>44530023 #
    16. vismit2000 ◴[] No.44528648[source]
    Immersive Linear Algebra: https://immersivemath.com/ila/index.html HN: https://news.ycombinator.com/item?id=19264048
    17. elric ◴[] No.44529490[source]
    I had a similar revelation when watching 3Blue1Brown's Calculus series. Had they included those kinds of visual representations in school when I was first learning about Calculus, my understanding (and interest) would have been greatly expanded.

    Very impressive how some people can create visual representations that enhance understanding.

    18. RamblingCTO ◴[] No.44529526[source]
    The good ol' "this proof is trivial so we'll skip it" move.
    replies(1): >>44531056 #
    19. HappMacDonald ◴[] No.44530023{4}[source]
    Chapter 6, got it
    20. rurban ◴[] No.44531056{3}[source]
    He should have really used the good ol' QED instead, lol
    21. rurban ◴[] No.44531245[source]
    But nowadays we are calling him the 6. And everybody praises a good 6
    22. dtj1123 ◴[] No.44532535[source]
    I was never able to get my head around it, but this reminds me somewhat of the zx-calculus:

    https://en.wikipedia.org/wiki/ZX-calculus

    23. AntonioL ◴[] No.44532786[source]
    Reminds me of the work from Bob Coecke at the University of Oxford. He came up with a pictorial language for quantum processes.
    replies(1): >>44535857 #
    24. ◴[] No.44533170[source]
    25. gowld ◴[] No.44535857[source]
    ZX-calculus mentioned in https://news.ycombinator.com/item?id=44532535

    https://en.wikipedia.org/wiki/ZX-calculus