The Curse of Docker

🌐 äø­ę–‡ē‰ˆ The ORIGINAL post 译 I’m heading to Las Vegas for re:invent soon, perhaps the most boring type of industry extravaganza there could be. In that spirit, I thought I would write something quick and oddly professional: I’m going to complain about Docker. Packaging software is one of those fundamental problems in system administration. It’s so important, so influential on the way a system is used, that package managers are often the main identity of operating systems. Consider Windows: the operating system’s most alarming defect in the eyes of many ā€œLinux peopleā€ is its lack of package management, despite Microsoft’s numerous attempts to introduce the concept. Well, perhaps more likely, because of the number of those attempts. And still, in the Linux world, distributions are differentiated primarily by their approach to managing software repositories. I don’t just mean the difference between dpkg and rpm, but rather more fundamental decisions, like opinionated vs. upstream configuration and stable repositories vs. a rolling release. RHEL and Arch share the vast majority of their implementation and yet have very different vibes. ...

December 30, 2023 Ā· 14 min Ā· Me

Enough over Perfect

Introduction Many people would say that configuring Vim/Emacs(or some other obsession with tools) is time-consuming and even be ā€œa waste of timeā€ 1. The core point is that tools are paths to the goal, not the goal itself. Quoted2: Obsession with tools is an insidious form of procrastination. This form of resistance masquerades itself as the opposite, as a form of improvement and development. It really reveal one of the reasons why some people are obsessed with tools. I quite agree with it (thus I am not an Emacs guy :) ). ...

December 24, 2023 Ā· 4 min Ā· ChaosNyaruko

How to Use ACME Script to Encrypt for your HTTPS Website.

If you find problems … Points for me to setup my server: Configure as root user is better, although non-root users still can find a way to do it (as the following). Set your web root folder to somewhere you have write access to. For example, $HOME/www/html. For Nginx to access to your new web root, you might want to change the user in the nginx.conf, otherwise you could encounter a failure when issuing a cert. By the way, in my opinion, using acme.sh is better than CertBot on a virtualised machine, such as a VPS, because the latter doesn’t support the OpenVz architecture(but the setup is simpler, more or less), which is usually the cheapest type that you can buy. ...

December 6, 2023 Ā· 9 min Ā· ChaosNyaruko

Why I try fish over zsh

I’ve been using zsh as my main shell for years. It works really well, and I love it. But recently, I started to give fish a try, and I found it is great and have set it as my default shell on my Mac. I’m gonna give you my reasons, for your reference. Its autosuggestion and completion functionalities work out of the box, which I would have to download oh-my-zsh for zsh. It’s nice but annoying to sync between devices. In fish, you don’t need any other plugins and settings, they just work. Actually that’s the main reason for me, then I can sync my configurations with my dotfiles. It is really friendly for configuration. I’m not a great hacker and not the kind of guy who wants to dive in everything. Fish offer a web-based config interface. You can invoke it by typing fish_config in the shell, then you can configure your shell by clicking the UI, AND the changes you make are essentially text in several files, which you can carry them with whatever your sync system is. Zsh is strong and nice, but some of its syntax and concepts(some inherited from the older sh/bash) are really hard to understand. For example, ā€œvariable substitutionā€ or the ā€œ$@/$?/ā€¦ā€ stuff. I don’t think they are human-readable. Fish shell language, however, is more like a modern programming language, with better documentation(type help in fish, you will also get a web-based doc!) But I’m not saying that I will use fish ONLY and FOREVER. Zsh is also great and better for some scenarios, so here are my opinions about what kind of people may want to use zsh, even bash. ...

November 27, 2023 Ā· 2 min Ā· ChaosNyaruko

When Online Shaming Goes Too Far

A talk from TED. ā€œHumans over ideologyā€, please. We are in ā€œgrey areasā€, not black OR white.

November 11, 2023 Ā· 1 min Ā· ChaosNyaruko