871 private links
This article explains the various mix xref
usages to analyze dependency-induced slow compilation issue.
Wondered how fly.io works? Or how to use Firecracker?
The article explains how MicroVM works and how to use it via command line tools.
Emacs has a lot of little known built-in features that can cover a lot of use cases provided by packages. This article presented some of them. Really nice to learn about them.
Also read the sequel, "More batteries included with emacs" (https://karthinks.com/software/more-batteries-included-with-emacs/).
ImageOptim equivalent on Linux.
Command line version: https://rubenerd.com/losslessly-optimise-images/
Stable Diffusion is an open source text-to-image model with performance comparable to DALL-E. I'm surprised to learn that its model size is only 4.2 GiB.
Peek inside everyday electronic parts!
A bunch of quite useful tricks. Some I already used and other's are new. Here are the headings:
- Forward Yubikey Agent
- Reuse connections
- SSH straight into tmux
- Alias commonly used hosts
- Do not add testing stuff to ~/.ssh/known_hosts
- Make connections last longer
- Canonicalize hostnames
- Yubikey and GitHub, without touching it every time
I find it quite helpful to create a persistent connection to github. It greatly reduces my connection latency for pushing and pulling.
A Preprocessor Iceberg Meme on C preprocessor magic. Similar to "The Cursed Computer Iceberg Meme".
The basilisk collection (also known as the basilisk file or basilisk.txt) is a collection of over 125 million partial hash inversions of the SHA-256 cryptographic hash function. Assuming state-of-the art methods were used to compute the inversions, the entries in the collection collectively represent a proof-of-work far exceeding the computational capacity of the human race.
This is a grand work of fiction.
The author has another fiction on the concept named "Clairvoyant Computing": https://suricrasia.online/unfiction/CSC218-Software-Precognance.pdf
TCP slow start algorithm starts by sending a small amount of data, usually 10 TCP packets. A webpage of 14kB will fit in these 10 packets (MTU - len(headers)). Doing so can deliver the content to the users in one round-trip.
The zip format encrypts using AES based on the user's password as the key. If the user's password is too long for the AES key, then it uses the hashed password instead. After hashing, there is no way to distinguish whether or not the key is a hash. This means both the original password or the hash can be used as the correct password.
I don't think it's a security vulnerability. Also, technically, these zip files may have more valid passwords, because by fixing the output of a hash function, there may be many inputs that produces the same output, although you can only find them if you know how to reverse a hash function.
An article about a fundamental philosophical question: why is there anything, instead of nothing?
Following deep down the rabbit hole, we can see that nothingness is actually not that trivial. Something naturally arise easily from nothingness. Logic, math, conciousness all have their root from nothing and yet are no nothing. A quite inspiring read.
The article discusses how transaction is implemented in SQLite using db journals. I also learned how sqlite utilitize pages to map data in files and in memory. Good to dabble in some database internals.
An informative post about how to do Redis clustering. It includes a number of nicely-drawn illustrations.
The author made a point that reference count is almost always superior than GC in any case.
Various cyberpunk style post-processing filters for your image.
Search Reddit through pushshift.io API. Capable of searching sensored comments.
A curated (and comprehensive) list of broken things in Linux desktop from hardware, software to general usability defects.
Various atmospheric sound effect to help you focus. The site has a lot of presets to choose from and allows you to adjust individual sounds.
Tricks and misconceptions about tui apps, like how to make terminal appear a lot responsive.