# Table Interpretation Of Matrices

While a vector is a list of numbers that depend on only one index, the most direct interpretation of a matrix is a table of numbers that depend on two indices, $$i$$, and $$j$$. In this case, the rows and columns of the matrix usually have some simple interpretation. Here are some examples. Images. A black and white image with $$M \times N$$ pixels is naturally represented as an $$M \times N$$ matrix. …

Posted on

# Getting Tired of Python

A few things have started to turn me off Python. Magic and Incantations. Virtual environments, the setup.py file, understanding where you \$PATH is, running Python from file or using -m, the if __name__ == "__main__" magic trick, assert statements vs. mypy and typing, static methods, class methods, whatever the third one was called, the self variable, decorators, inheritance, *args and *kwargs, Matplotlib and Pandas. The more I delved into these topics, the less interesting all of it became. …

Posted on

# FIRE — Extended Toy Model

A while back, I looked into a very simple toy model for living off savings. The main idea was to: set aside a yearly budget at the end of the year cover all expenses for the upcoming year using the yearly budget invest the lion share of your salary every month refill the budget a little bit every month The first time around, I looked at a single year. …

Posted on

# Matrices

A matrix is a rectangular array of numbers written between rectangular brackets, as in $\begin{bmatrix} 0 & 1 & 5 \\ 4 & 7 & 9 \end{bmatrix}$ You can also use large parentheses $\begin{pmatrix} 0 & 1 & 5 \\ 4 & 7 & 9 \\ 6 & 2 & 7 \end{pmatrix}$ All matrices have a size (or dimensions). This corresponds to the numbers of rows and columns. …

Posted on

# Patching (suckless) Software — GitHub Edition

In a previous post, we talked about how to patch suckeless software using patch. There are some limitations to that approach. most patches are poorly maintained patches tend to apply to vanilla (unedited) versions of the software many patches fail and require manual intervention using patch can lead to maintenance hell It turns out that there are some alternatives to develop a more structured, and robust, way to extend suckless software. …

Posted on