HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
minireference
noBSLAnotebooks
Jupyter Notebook2017–2026
minireference / noBSLAnotebooks

noBSLAnotebooks

Jupyter notebooks with exercises for the No bullshit guide to linear algebra.

2Distinct people
12Mentions
1Explicit recommenders
262GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Jupyter notebooks with exercises for the No bullshit guide to linear algebra.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

> [...] integration and differentiation be taught before matrix operations [...] When worded this way, it sure doesn't sound like something worth doing. Matrix algebra…

ivan_ah used a recommendation phrase. 2 indexed comments match. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year12 dated mentions

Observed mentions: 2017-09-16 13:06:30 UTC to 2026-07-01 19:42:07 UTC.

012342017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20172018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20212022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC101
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC101
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC202
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC404
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC101
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC101
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC000
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC000
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC101

What Hacker News says

12 sources
I don't post regularly, but I like to share "video tutorials" which consist of explaining material from a textbook side-by-side with an interactive coding session in a jupyter notebook. Judging by the comments, people like that approach a lot. Here is a playlist on linear algebra topics: https://www.youtube.com/playlist?list=PLGmu4KtWiH6-F2JlLVvCT... and repo with associated notebook https://github.com/minireference/noBSLAnotebooks/#chapters-o... Here is a playlist on statistics: https://www.youtube.com/playlist?list=PLGmu4KtWiH680gMQnSbSA... and notebooks https://github.com/minireference/noBSstatsnotebooks/tree/mai... I have a bunch of others in "draft mode" in the works, and I hope to keep making more, as I find these sessions are very useful for me to organize my thoughts in front of an "imagined" audience.
In Ask HN: Share Your YouTube Channel
You're totally right that LA is a superpower! I wrote a book on Linear Algebra that might be of interest to you and your daughter in case y'all want to revisit these topics. In particular it covers a lots of applications. preview: https://minireference.com/static/excerpts/noBSLA_v2_preview.... concept map: https://minireference.com/static/conceptmaps/linear_algebra_... intro videos and SymPy notebooks: https://github.com/minireference/noBSLAnotebooks#contents
In Why won’t anyone teach me math?
ivan_ah·Oct 1, 2021Recommendation phrase
> [...] integration and differentiation be taught before matrix operations [...] When worded this way, it sure doesn't sound like something worth doing. Matrix algebra (computational rules for matrix-vector and matrix-matrix products) is just an "implementation detail" of the general idea of a linear transformation. The notion of a linear transformation T(x) = y where x is an input vector and y is an output vector is a really good thing to know ASAP so I'm all for the LA before CALC... or rather, if I had to choose between one XOR the other, I'd go for LA for sure! 1/ For practical considerations, the notion of a linear transformation is super useful if you'll be studying any complex process (as soon as you have multiple input variables, you'll want to put some coefficients in front of them, and what is the simplest math model you can us
Read the rest
e? In high school math we learn about proportionality relations, i.e. y = mx, where the output y depends on the input x multiplied by coefficient m (the slope if you think geometrically in the xy-plane). Extending the notion of proportionality to transformations with n inputs and k outputs, instead of the single slope m you need k*n coefficients to describe the proportionality relations between input component j and output component i. Linear models are pretty good in the bang-for-your-buck metric for math models since: (1) k*n params for an R^n --> R^k transformation is reasonable amount of parameters, and (2) using "tomography*" you can easily estimate each of the coefficients. This is why LTs are used in many fields of science/computing use linear transformations (Biology, Chemistry, Economics, Statistics, NNs, etc.). tomography*: input n "probing inputs" to T e1, e2, ..., en and record the outputs T(e1), T(e2), ..., T(en) (each of the outputs is a k-dimensional vector) --- if T is a linear transformations, then the info you've collected is enough to know all the k*m coefficients of the linear transformation (<=> entries of the matrix). 2/ From a theoretical point of view, I think teaching linear transformations and matrix-vector products (the boring row-times-column arithmetic rules) is a really good thing since it introduces learners to representation theory. You have one thing in math land y = T(x) and another thing in math land y = Mx and you know their behaviour and properties are identical (isomorphic?). This means you can understand the properties of one of the things by studying the properties of the other thing, e.g., Ker(T) <=> Nullspace(M). For me, this first contact with representation theory concepts feels like a really valuable thing to have. (A good knowledge buzz moment to get learners more interested in learning math). And it's not just linear transformations and matrices that have a "is a representation of" relationship between them. There are lots of representations in LA: - vectors <-> coordinates - system of equations <-> matrix equation - row ops <-> elementary matrices - linear transformations <-> matrix-vector products - composition of linear transformations <-> matrix-matrix products - graph <-> adjacency matrix - conditional prob p(y|x) <-> matrix whose columns are p(y|x_i) - function in time <-> Fourrier coefficients - quantum state <-> vectors with complex coefficients - quantum operation <-> unitary matrices - quantum measurement <-> list of projection matrices that sum to the identity In particular for devs, it's a really easily transferrable analogy. The linear transformation T is the "spec" while the matrix M and matrix-vector product rules together represent a particular implementation of the spec. See `T` and `T_impl` near the bottom of this notebook https://github.com/minireference/noBSLAnotebooks/blob/master... (binder https://mybinder.org/v2/gh/minireference/noBSLAnotebooks/049... or colab https://colab.research.google.com/github/minireference/noBSL... ) 3/ From a pedagogical point of view, if we can deliver the "representation theory buzz" from linear algebra in high school, then this will be a good chance to review some important high school ideas: Integer representations: - integers in terms of decimal digits with place value a = dn...d3d2d1d0 = dn*10^n + ... d3*1000 + d2*100 + d1*10 + d0 - integers in terms of prime factorization a = 2^a2*3^a3*5^a5*... Rational representations: - fractions as m/n where m in Z and n in N\* - reduced fractions as m/n where m in Z and n in N\* where GCD(m,n)=1 So all in all, if we were to define LA as "representation theory knowledge buzz," and someone asks me if I recommend learning LA before CALC, I'd say yes.*
In The Art of Linear Algebra [pdf]
Thanks for the plug elric! Anyone interested in seeing what the book is about can check the (slightly outdated) preview here: https://minireference.com/static/excerpts/noBSguide_v5_previ... (a more descriptive title would be high-school math, mechanics, and single-variable calculus three-in-one) I also have a followup book on linear algebra, which you can preview as PDF here: https://minireference.com/static/excerpts/noBSguide2LA_previ... or as spoken tutorial + SymPy notebooks https://github.com/minireference/noBSLAnotebooks#no-bullshit... Other goodies and free stuff on the website: https://minireference.com/#freestuff
In Ask HN: What kind of math do you study in your free time?
ivan_ah·May 27, 2020Recommendation phrase
Good luck with the LA book. It is a beautiful subject with so many applications, so a great opportunity to do an original take on it. In case this is might be helpful, here is a preview of the LA book I wrote[1] and the condensed four-page-in-small-font tutorial version[2]. You might also consider using a computer algebra system for teaching, see [3] for my take on LA using SymPy. Last but not least, I highly recommend the CMapTools software for creating concept maps, which can really summarize the field in a very compact form[4]. [1] https://minireference.com/static/excerpts/noBSguide2LA_previ... [2] https://minireference.com/static/tutorials/linear_algebra_in... [3] https://github.com/minireference/noBSLAnotebooks#no-bullshit... [4] https://minireference.com/static/tutorials/conceptmap.pdf
In How to write a programming book
Linear algebra is like the Swiss Army knife of science, and it is used in pretty much all areas of science for modelling. I assume you remember high school math functions, and how useful they are to help us describe input-output relationships between real number inputs and real number outputs. Now imagine the inputs are vectors and the outputs are vectors too, in other words we would need vector-functions. Many problems in math, science, computing, economics, biology — you name it — are of this multidimensional nature, so the more you know about vector functions the better models you can build. As you can imagine describing arbitrary input-output relationships between high-dimensional spaces is quite complicated. Think of all the possible ways that a vector input vec{x} = [x1,x2,...xn] can affect the coefficients of a vector output vec(y)
Read the rest
= [y1,y2,...ym]. If you allow arbitrary functions like quadratics, sine, cosine, exp, etc. there would be way too many different ways to map vec(x) to vec(y). Too many ways... This is where the "linear" part of linear algebra comes in. Instead of arbitrary input output transformations vec(x) --> vec(y), what if we restrict oursleves only to relationships where the output yi is some linear combination of the inputs x1 x2 .. xn, where linear combination means y1 = m11*x1 + m12*x2 + ... + m1n*xn in other words, take the outputs are equal to the inputs times some proportionality coefficients mij. The other output coefficients y2...ym are computed in the same way with different coefficients y2 = m21*x1 + m22*x2 + ... + m2n*xn ... ym = mm1*x1 + mm2*x2 + ... + mmn*xn thus the overall map vec(x) --> vec(y) has a total of m*n coefficients mij. This map between inputs vec(x) and outputs vec(y) is the vector-equivalent of the single-variable function y=mx (proportionality relationship, or line with slope m passing through the origin if your prefer to think of it geometrically). We call these maps "linear transformations" and they have really nice properties. If you study linear algebra you'll learn all about them. Computationally (usefully), geometrically (Whoooa moments), and theoretically (knowledge buzz). And that's just the math part! Once you start to look into applications, it goes really far... Others in this thread have already mentioned numerous areas of applications in CS areas, and it's the same in biology, chemistry, economics, etc. TL;DR: linear algebra is good stuff! PS: Here is a short video where I explain more about why linearity [normally written as f(ax1+bx2) = af(x1)+bf(x2)] is so important: https://github.com/minireference/noBSLAnotebooks#ch2-lineari...
In Gilbert Strang Teaches Linear Algebra
I think you might like my book, the No Bullshit Guide to Linear Algebra. It doesn't focus on the proofs, and instead gives lots of intuition and applications. You can check the reviews on amazon, and here is a link to a PDF with a few sample chapters: https://minireference.com/static/excerpts/noBSguide2LA_previ... There are also some video tutorials on the first chapters here: https://github.com/minireference/noBSLAnotebooks#no-bullshit... (lots of hands-on examples using the computer algebra system SymPy) I won't lie to you and tell you linear algebra is "easy" by any means—there are a lot of things to pick up, so it takes some time, but it is totally worth it since LA is like the swiss-army knife of science: lots of features and super useful.
In My story as a self-taught AI researcher
There is also another tool called `pynb` (by the same author) that can be used to achieve human-readable format. The logic is a bit different there, since it generates a .py script file with markdown cells appearing as Python comments. example diff: https://github.com/minireference/noBSLAnotebooks/commit/9005... script: https://github.com/minireference/noBSLAnotebooks/blob/master... pre-commit hook: https://github.com/minireference/noBSLAnotebooks/blob/master...
In Reviewing Zeppelin and Jupyter Notebooks

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.