cover image about benchmarking shadowsocks

Benchmarking Different Implementations of Shadowsocks

Hosting Shadowsocks proxy servers is usually an easy task. You install it, and just forget about everything. And due to it being a lightweight proxy, shadowsocks is usually I/O-bounded: To achieve highest throughput, you need higher ethernet, not faster CPU. However, it is not always the case. It is known that some VPS providers only focus on premium connections and bandwidth, and completely ignores CPU and RAM performance to save money(cough bandwagonhost cough)....

June 17, 2021 · 4 min · bhat
cover image about macOS being bad

How to Generate New SSH keys in macOS

For a long time, I wanted to switch all my SSH keys from rsa to ed25519. A lot of online tutorials default to rsa cipher, which generates long and potentially less secure keys. I was once a victim of such crap. Fortunately, there is an alternative: ed25519. ed25519 generates much shorter public keys, and the encryption speed is apparently faster than rsa. Why do those tutorials keep recommending rsa anyway?...

June 16, 2021 · 2 min · bhat

Fixing pacman in an outdated Arch Linux system

GPG and pacman errors are annoying So, I was trying’s IPv6 VPS. It is apparently cheap, and I wanted to host a Matrix server of some sort. It does come preinstalled with Arch Linux, which is good. That means I can get the latest software without relying Docker. However, it apparently comes with an outdated copy of Arch Linux. The kernel version is 4.19, while an up-to-date kernel should be 5....

June 12, 2021 · 2 min · bhat
cover image about installing libcamera

How to Install Open Camera Software for Raspberry Pi

An open alternative to propriety everyone hates For the longest time I’ve hated on the propriety Raspberry Pi camera stack. It is propriety, it is non-standard, and it is propriety. It depends on the slow and niche Broadcomm GPU that everyone hates. Even more, only Raspberry Pi OS is supported, which means 32-bit operating system only. It is not a good experience for me. Some people might say: “Raspberry Pi OS had a 64-bit beta version a year ago!...

May 31, 2021 · 2 min · bhat
cover image about fixing 5GHz WiFi on Raspberry Pi

How to Fix 5GHz WiFi for Raspberry Pi 4

For some reason, my Manjaro ARM install on the Raspberry Pi 4 is missing my 5GHz WiFi. It can scan some 5GHz networks, but not my home network. This never happened before on my Arch Linux install, and is very weird. I am aware that this is probably due to wireless country code being set up incorrectly. In Raspberry Pi OS, there is a way to setup country codes for wireless devices through raspi-config....

May 22, 2021 · 1 min · bhat