2026
在 Emacs 中使用 Ty+Ruff 作为 LSP 服务端
Ty 和 Ruff 都是使用 Rust 语言开发的高性能 Python 开发工具,它们分工不同,可以完美配合,提升开发体验。
OpenGL 纹理
OpenGL 纹理(Texture)是一种将图像或数据映射到 3D 模型表面的技术,用来为图形添加丰富的细节和真实感。
OpenGL VAO and EBO
顶点数组对象(Vertex Array Object, VAO)可以像顶点缓冲对象那样被绑定,任何随后的顶点属性调用都会储存在这个 VAO 中。
OpenGL Graphics Pipeline
The OpenGL graphics pipeline is a sequence of processing steps that converts 3D vertex coordinates and data into a 2D colored image on your screen. It handles everything from transforming 3D models and applying lighting to rasterizing shapes and calculating individual pixel colors.
C++ promise 和 future
C++ 中的 std::promise 和 std::future 用于实现线程间的异步通信。promise 负责“写入/提供”结果,而 future 负责在未来“读取/获取”该结果。两者通过共享状态相连,支持跨线程传递值或异常。
苏轼《望江南·超然台作》
这首豪迈与婉约相兼的词,通过描写春日景象和作者感情、神态的复杂变化,表达了词人豁达超脱的襟怀和“用之则行,舍之则藏”的人生态度。
Arch Linux 下 LocalSend 接收问题
LocalSend is a free, open-source app that allows you to securely share files and messages with nearby devices over your local network without needing an internet connection.
打包百度网盘 AppImage
百度网盘官方只提供了 Linux 下的 deb 和 rpm 格式包文件,在 Arch 或者 SUSE 等发行版上使用不太方便。
Arch Linux 配置 MPD
Music Player Daemon (MPD) is a flexible, powerful, server-side application for playing music.
使用 FFmpeg 裁剪视频
FFmpeg is complete, cross-platform solution to record, convert and stream audio and video.
Emacs 自动保存文件
目前比较流行的 Emacs 自动保存文件的包有 super-save 和 buffer-guardian.el 等。
Linux WeChat 和 QQ AppImage 中文输入问题
AppImage 程序因其打包机制通常与宿主机输入法框架(如 Fcitx5 或 IBus)隔离。要在 AppImage 中使用中文输入法,关键在于运行程序手动显式加载 fcitx 环境。
Plasma Login Manager 指纹登录
在现代 Linux 系统中,基本都是使用 fprint 来便捷的使用指纹识别的功能,其内置的 PAM 模块可以用于用户指纹登录系统。
Journal 日志清理
Journal 是 systemd 的日志系统,随着系统长时间的使用,其对应的日志目录 /var/log/journal 下会累计大量的日志文件,占据不少系统存储空间。
在 Emacs 中交换文本
Emacs 中内置了交换字符、单词、表达式、行等功能,日常使用起来非常方便。