Latest post
I am using #Thunar as my #filemanager and #Ghostty as my #terminal. One thing that bugs me is that clicking "open terminal here" in Thunar opens Ghostty in the default working directory instead. I just fixed this today by changing the command to `TERM_PROGRAM=dumb exo-open --working-directory %f --launch TerminalEmulator`, i.e., adding an environment variable `TERM_PROGRAM`. The value does not matter, but it has to have some value for exo-open to work. No idea why.
follow me on Mastodon
Articles
-
A measure-theoretic formulation of statistical ensembles (part 1)
For sake of rigor and generalizability, I feel it necessary to try to have a mathematical formulation for statistical ensembles. I chose measure spaces as the underlying mathematical structure of thermal systems and tried to justify the method of statistical ensembles by deducing them from some axioms. -
The core of a voting system is the intersection of Pareto sets
There is a very neat relation between the core (the set of proposals that defeats every proposal) of a voting system and the Pareto sets of the voters. Suppose there is a voting system of quota , then the core is the intersection of all such sets: the Pareto set of of the voters. -
Relationship between the Gini coefficient and the variance
Both the Gini coefficient and the variance are measures of statistical dispersion. We are then motivated to find the relationship between them. It turns out that there is a neat mathematical relationship between them. -
Distinguishing all the letters in handwritten math/physics notes
Personally, I have the demand of handwriting math/physics notes, but an annoying fact about this is that I usually cannot distinguish every letter that may be possibly used well enough. In this article, I will try to settle this problem. -
手纸本
何为手纸本? -
Introducing bra–ket notation to math learners
Bra–ket notation is a good-looking notation! I am sad that it is not generally taught in math courses. Let me introduce it to you. -
Even solutions to bound states in an odd number of potential wells
We try solving the even function solutions to the time-independent Schrödinger equation for the potential such that (bound states). -
Defend our earth against aliens’ bullets!
The aliens intiated their attack to the earth! They shoot bullets with mass and speed from a far-awar planet. To defend, humans built a field that can repel the bullets. What regions are safe? The answer turns out to be the interior of a circular paraboloid. -
This is what will happen after you get a haircut
Denote the length distribution of one’s hair to be , where is hair length, and is time. Considering that each hair may be lost naturally from time to time (there is a probability of for each hair to be lost within time range from to ) and then restart growing from zero length, how will the length distribution of hair evolve with time? It turns out that we may model it with a first-order PDE. -
I want to invent a better way to read numbers
Reading numbers in English is a pain. I want to invent a better way to read numbers!
subscribe via Atom