871 private links
It is amazing how human is still able to reverse-engineer a tiny neuron network to actually learn how the magic works. The solution this neuron network came up with is unexpected to me and quite beautiful.
The same author's blog has some good articles about visualizing and analyzing the inner working of neuron networks.
A tool to quickly find the CRF setting needed for achieving target VMAF score.
A detailed guide on how to use EWW, a modern and beautiful widget system (aka. bar) that runs both on Wayland and X11. EWW is written in Rust and based on GTK+, so I expect it easier to extend than Polybar.
The configuration is written using a s-expression language, world's best configuration language. From a glance, the configuration language also makes more sense than Polybar's. Widgets are composable, dynamic data/text interpolation fits organically.
Mostly unsatisfied with Polybar, I previously even want to write a bar software on my own. Now it seems that EWW suits all my needs. I will make a switch to EWW when I have more time to tinker around.
How to find UART on a PCB and tell the pin configuration?
A meme search engine that can search based on both text and image similarity.
One thing worth mentioning is that their architecture setup is kinda hilarious: https://findthatmeme.com/blog/2023/01/08/image-stacks-and-iphone-racks-building-an-internet-scale-meme-search-engine-Qzrz7V6T.html
A great way of managing system level dotfiles. TL;DR:
alias dotfiles='git --git-dir=/home/mx/.dotfiles --work-tree=/'
dotfiles config --local status.showUntrackedFiles no
Then managing the files would be simple basic git operations. No symlinking, installation, synchronization, etc.
Alternatively, it's also sensible to set the worktree to $HOME.
Wikenigma is a unique wiki-based resource specifically dedicated to documenting fundamental gaps in human knowledge.
Reveal domains parked at the same IP as a given domain. It can also show IPs (and their domains) nearby.
A nice series of articles explaining the internals of Linux resources - files, pipes, processes, sessions and terminals (tty), from the perspective of a SRE engineer.
Generate unique tokens that notifies a webhook or an email address when accessed. Many tokens are supported, including DNS, URL, document, binary, etc. (Sort of like tracking pixel on websites but with a lot of other types of triggers)
5GHz band overlaps with some radar installation. Some channels are required to perform a mechanism called Dynamic Frequency Selection (DFS) to adjust the frequency to avoid colliding with radar signals. DFS can cause a slow down in the start up time and may disrupt normal usage intermittently.
To mitigate DFS events, you can pick channels that are not subjected to DFS scan. You can check out this page for information of DFS channels on different countries: https://en.wikipedia.org/wiki/List_of_WLAN_channels
A collection of seemingly interesting data structure and algorithms.
Check IP leakage through your BitTorrent client. The page generates a magnet link. Try download it with your BitTorrent Client, and your IP will be revealed on the webpage.
Also check out: https://ipleak.net.
How different bitrate mode works for video encoding and which one should you choose?
In short, CRF should be good enough for most non-streaming use because it doesn't waste bits on easy to compress clips (quality based). Otherwise use a Capped-CRF if a maximum bitrate cap if necessary.
I'm deeply moved by this article. I can't say how much I do feel the same way about ongoing decadent of humanity. The world has been more material than ever, and yet the people are a lot less alive nowadays.
No "outsourced" TL;DR for this article. You should to read it on your own.
This article explained the concept pretty well! It not only showed how to use Flexbox, but also the reason it's designed this way. Here are a few things I learned:
- the default css layout algorithm is flow. flexbox and grid are two completely different layout. by using
display: flex
we are switching layout algorithm. justify
means to position along primary axis, whereasalign
means to position along cross axis (think of a kebab skew vs cocktail wiener)content
is a group of things that can be distributed, whereasitems
refers to single items that are positioned individually.width
in flow layout is a hard constraint, whereas in flexbox layout it's a "hypothetical size", meaning only the hinted size.flex-basis
is just like thewidth
(orheight
) attribute along the primary axis. A difference is thatflex-basis
cannot reduce an item below its minimum size.flex-grow: n
to use the remaining n_i/(sum n_i) of space; specially,flex-grow: 0
stick to its intrinsic size.flex-grow
is used when the children's size combined is smaller than the size of container, whereasflex-shrink
is used when children's size is bigger.flex-shrink: n
shrinks the children by making each pay the debt in size. each pays a portion of (n_i/sum n_i); speciallyflex-shrink: 0
makes the child never shrink.- flexbox layout never shrinks an item below its
min-width
(or height), regardless of theirflex-shrink
value, and even at the cost of overflowing the container. gap
is a convenient attribute comparing to settingmargin
because it doesn't add spacing on the ends.margin: auto
is an useful alternative toflex-grow: 1
because it gobbles up the spare space without changing the item's size.- with
flex-wrap: wrap
, items won't shrink below their hypothetical size, and overflowed items wrap to a new row/column. - when
flex-wrap: wrap
takes effect, we usealign-content
to adjust the position of all items about the cross-axis.
IoT circuit drawing and simulation. Supports many real parts.
A comprehensive introduction to the working and graphics pipeline.
A webgl demo scene (?) of infinitely recursive game of life in game of life.
An linux sandboxing tool with pledge() syntax by Justine Tunney, author of "actually portable executable" and "redbean".
Alternative to apparmor (kernel module) or bubblewrap (cgroup/namespace).