871 private links
I agree. Every screenshot I took is a snapshot of memory of what I was currently doing on my computer.
Minimal demo on how to do graphics for X11, macOS and Windows:
- pop up a window
- handle basic events
- draw on the surface
- play a sound
- port doom onto it
How do you make a webpage without any source code?
- Return "Content-Type: text/html" with empty content. This is tantamount to a bare webpage "<html><body></></>"
- Fill the page's content with the "::before/after{content: xxx}" CSS
- Place the inlined stylesheet in the link header
I learned it's possible to inject CSS via HTTP header: https://danq.me/2020/12/21/http-link-css-injection/
A search engine for the internet, in the 2000 style. You find interesting random small websites instead of see the same result from major search engines.
It also has a Tinder-like website recommendation engine where you can train it to find the website you're interested in. I already found several interesting personal blogs with this feature.
Impressively, the search engine is invented by one person, yet it already indexed more than 100M of webpages.
Comparing different approaches of generating HTML:
- String templating
- XML based embedding
- Inline XML (JSX)
- S-expr as DSL
- Custom DSL
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.