Method on Buddhist's Diamond

I don't why translating this to English feels harder than translating to Japanese. Here I am and I updated this article with some new revelations unknown when I wrote the Chinese version, and got rid of some false conclusions.   Introduction BD consists of 33 familiars that fires lasers, random star bullets, and a series of aimed arrow heads from Kaguya. The interval of which the lasers are fired is actually not constant, the first two lasers are 200 frames apart, the later ones are 180 frames apart. The first aimed bullets is spawned 128 frames after the first laser, and is fired every 144 frames afterwards. The arrow heads fly very slowly, and the next wave is spawned before the previous wave leaves the screen. Similarly for lasers, the next wave start to appear before the previous wave fades off. We can model the laser, starting from the second wave by: \(\sin\left(\frac{\pi}{180}\left(x-200\right)\right)=0\left\{x>199\right\}\) aimed arrow heads: \(\sin\left(\frac{\pi...

Default application is a mess without DE

https://wiki.archlinux.org/title/XDG_MIME_Applications

https://wiki.archlinux.org/title/desktop_entries

In addition to XDG, pcmanfm-qt attempts to manage file association on its own, which creates .desktop files in ~/.local/share/applications I believe. .desktop files in this dir have precedence over those in /usr/share/applications/ or /usr/local/share/applications/, but the way it creates these files is not that useful.


Had to deal with these because I'm using feh as the default image viewer but it doesn't support reading config files so everything has to be read from command line (well it does support changing key bindings but nothing more)

 

 

Useful debug:

export XDG_UTILS_DEBUG_LEVEL=10

xdg-mime query filetype /tmp/foobar.png

xdg-mime query default major/minor

let's you to see which mimeapps.list is scanned

Comments