2021-01-01から1年間の記事一覧

日本語を適切に扱うための MySQL 5.7, 8.0 の character set と collation の設定

TL;DR MySQL 5.7 MySQL 8.0 真面目な説明 Unicode と UTF-16, UTF-8 MySQL への応用 データベースサーバーの character set データベースサーバーの collation MySQL 5.7 collation: utf8mb4_general_ci collation: utf8mb4_bin collation: utf8mb4_unicode_…

Difference between `su` and `su -` in Bash on Linux, or Login Shell and Interactive Shell

Although this topic has been discussed from B.C., I want to re-summarize the difference between su and su - while explaining the meaning of login shell and interactive shell. What is Login Shell and Interactive Shell? A login shell is one …

pyenv 不要説

macOS ローカルで Python のエフェメラルなスクリプトや小規模で実験的なプロジェクトを作る場合、pyenv いらんやろという結論に至った。 Python は Homebrew によりインストールし、これを直接使う。 現環境には次の Python formulae がインストールされて…