Posts

2024

Python Development in Emacs

A guide to setup python development environment in Emacs.

Matplotlib: Work with threads

Matplotlib is not thread-safe: in fact, there are known race conditions that affect certain artists.

Emacs tree-sitter

tree-sitter是一个解析器生成工具和增量解析库。它可以为源文件构建语法树,当源文件修改时可以高效的更新语法树。

sdcv

sdcv is a simple, cross-platform, text-based utility for working with dictionaries in StarDict format.

Safe Local Variable Directories

This variable is a list of directories where local variables are always enabled.

Delete Git Submodule

A few steps to delete git submodule totally.

仿射变换与透视变换

仿射变换,平移,旋转,翻转,刚体变换,缩放,相似变换,透视变换。

刚体变换

刚体变换的矩阵表示,以及逆变换的计算方法。

WSL import and export

Export a distribution and import it to another disk.

Use tldraw in Vite

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects.

C++ Variadic Function Templates

可变参模板的英文为Variadic Templates,是C++11标准引入的,可变参模板允许模板定义中含有0到多个模板参数。

C++ Fold Expressions

折叠表达式(Fold Expressions)是C++17标准引入的,引入折叠表达式的主要目的是计算某个值。

Build Emacs On Windows

We can build Emacs with MSYS2 and MinGW-W64 on Windows.

Build Emacs From Source

A guide to build emacs from source on Linux.

Emacs Proxy

Proxy servers are commonly used to provide gateways through firewalls or as caches serving some more-or-less local network.