Latest post
I just found out that my progress in the game Filament is lost. I thought Epic Games has cloud save for it, but after some digging, I found out the source of all the tragedy. The synced dir is %LOCALAPPDATA%\Filament\Saved\SavedGames while the actual place for save files is %LOCALAPPDATA%\Filament\Saved\SaveGames. No kidding. Just like that. Lost.
follow me on Mastodon
Articles
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.
- Categories: physics
- Tags: calculus, classical mechanics, kepler problem, from zhihu
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.
- Categories: math
- Tags: calculus, probability, 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!
- Categories: language
- Tags: imagination
The longest all- substring of a random bit string
Given your probability of breaking the combo at each note, what is the probability distribution of your max combo in the rhythm game chart? I considered the problem seriously!
- Categories: math
- Tags: long paper, rhythm game, algorithm, probability
I made this, for the number of days in a week is prime
The number of days in a week is prime, so we cannot utilize weekly periods to help us remember periodical events unless the period is a multiple of 7. However, there may be something that we need to get reminded of which happens once per two days or three days. For example, I wash my hair once per two days and wash my clothes once per eight days. To solve the problem, I wrote a Ruby program to help remind me of those routines.
- Categories: programming
- Tags: selfhosting, linux, ruby
Using ntfy to warn me when my computer is discharging
I use udev and systemd to send a notification to my phone via ntfy automatically whenever my laptop is discharging.
- Categories: programming
- Tags: selfhosting, linux
How to construct mechanics in higher dimensions?
We can derive the equation of motion for mechanical systems in a Galileo universe with time dimensions and space dimensions by generalizing the principle of relativity and Hamilton’s principle.
- Categories: physics
- Tags: from zhihu, classical mechanics, imagination
When a supersonic airplane flies over your head
Suppose a supersonic airplane has Mach number . It flies horizontally. At some time, it flies past over your head at height . Then, the distance between you and it when you have just heard it is .
- Categories: physics
- Tags: from zhihu
Finding curvature radius physically
Sometimes the curvature radius of a curve can be found by using physical methods although it seems that you must use calculus to find it. In this article, the curvature radius of the curve at the point where the curvature radius is smallest is found by using physical methods without using calculus (with only high school knowledge). The answer is that the smallest curvature is exactly , and the point with smallest curvature is the vertex.
- Categories: physics
- Tags: from zhihu
A whirling point charge
In the vacuum, inside a fixed ring of radius with fixed charge uniformly distributed, there is a point charge with charge and mass moving in the plane of the ring due tue the electrostatic force. It moves in the small region around the center of the ring, and the motion is periodic along a closed curve. The area of the region enclosed by the curve is . Denote the distance from the center to the point charge as , and . Find the magnetic induction at the center of the ring.
- Categories: physics
- Tags: electrodynamics, from zhihu
subscribe via RSS