I discovered Noctis theme recently and found that the font Cartograph CF is really interesting. Cartograph is a handsome monospaced font family featuring lush italics, code-friendly ligatures It’s funny to see those handwriting like italic characters while coding, so I purchased the font and integrated it into my tools.
A collection of 60 articles
As mentioned in ♯ Yubico for Windows, I used PuTTY/Plink instead of the OpenSSH client together with YubiKey because the OpenSSH Client does not support the socket file created by GnuPG. Plink does not work well in Windows Terminal. The Visual Studio Code SSH Remote does not support Plink as well, because it will pass some command line arguments that are not supported by Plink. So I decide to switch back to the OpenSSH client. Fortunately, the utility wsl-ssh-pageant can create a tunnel between a Windows pipe and the pageant socket, and the OpenSSH client can use the Windows pipe as SSH_AUTH_SOCK. This article is a tutorial to set up wsl-ssh-pageant.
My MacBook’s battery capacity is significantly reduced and it has many weird issues so I decide to do a clean installation of macOS Big Sur. This article is a reference for my own reference in case I need to do it again.
It is recommended to split a huge Rust project into crates and manage them in a workspace. I’m currently working on a project which consists of about 60 crates. It works well so far until I try to publish these crates to crates.io. I will list the problems I have met and solutions or workarounds I have adopted.
Monero dynamic block weight is an interesting design. Instead of a fixed supply of transaction space, Monero uses the history blocks to determine the dynamic limit and use the median to control the increasing pace.
In bitcoin, the total size of transactions added to the chain in a specific time is limited. This creates a fee market. Transactions with a higher fee rate are likely to be confirmed more quickly. A good fee estimator predicates which fee rate to pay where there is a high probability the transaction will be confirmed into the chain within the target period. Bitcoin core has the builtin support to estimate the fee rate. Understanding its algorithm can help us to migrate it and improve it. This first part of this article introduces the core estimation algorithm. The algorithm determines which statistics data to track, and the second part shows how Bitcoin Core tracks them. The last part describes the extensions to the core algorithm for better performance.
This post records how I set up Yubico Key in Windows, so I’ll not delve into too much details. I have the model YubiKey 5 NFC. I frequently use 2 GPG keys stored in the key, one for encryption, another for SSH authentication. The GPG encryption part is simple, GnuPG just works. Using the stored GPG key for SSH is a bit complex, because it requires collaboration between GnuPG and the SSH client. After experiment many different solutions, I decide to use the simplest one, using putty/plink as the SSH client and enabling thepageant support in GnuPG. See ♯ SSH Authentication Using a YubiKey on Windows And the OpenSSH Client how to use OpenSSH client with YubiKey.
The article mainly refers Exercise 2 - Track User Mode Process Allocations | Microsoft Docs. 1. Install Windows Performance Recorder and Analyzer Download and install ADK from here. The windows build version can be checked by running “winver” via Win+r.
Following example moves the Ubuntu distribution to disk D:\WSL\Ubuntu.
I prefer using a dedicated WSL instance to run containers. So I’ll install a minimal distribution, Alpine, to run podman. Install the tool LxRunOffline first via scoop scoop bucket add extras scoop install lxrunoffline Download Alpine root package from https://lxrunoffline.