All Posts

Header: header

一些 NumPy 和 SciPy 的历史

2024-11-11

当今科研界,NumPy 和 SciPy 已经成为了用 Python 做科学计算和数据分析的“标准库”。目前有大量项目使用它们,其中不乏一些知名项目。而我们不禁要问,NumPy 和 SciPy 是如何达到今天的成就的?

Header: JupyterLab

Running JupyterLab behind Caddy with Supervisor

2024-09-22

It seems simple to use Supervisor to start multiple JupyterLab instances and a Caddy reverse proxy to access them. But there are some tricks to know, especially used with uv for environment management.

Header: sane-break

No break reminder works (for me)

2024-08-08

Break reminders often demand an immediate pause in my work, which can be quite annoying. I frequently find myself mindlessly skipping or postponing breaks, rendering all the reminders ineffective. This led me to create Sane Break, an alternative break reminder.

Header: nvim-fold

Automatically folding Python docstrings in Neovim

2024-06-22

Python docstrings are extremely suitable to be folded, and folding docstrings makes Python code cleaner. This can be achieved in Neovim without plugin, just with built-in foldexpr and tree-sitter.

Header: markdown-custom-render

Three levels of Markdown custom rendering

2024-05-20

There are many way to customize Markdown rendering, including direct RegExp replacements, remark + rehype, and direct rendering the Markdown AST. The last approach can turn plain Markdown documents to full components and is the most powerfull one.

Header: toby-hall-unsplash

一次自行车中轴异响维修

2024-05-03

用力踩踏板的时候中轴处传来奇怪的异响? 恭喜你, 可能的原因有很多, 修起来也不见得顺利...

Header: android-ime

开源安卓输入法比较: 同文 vs 小企鹅

2024-05-01

由于闭源的安卓输入法既不隐私也不安全, 所以我尝试把输入法换成开源替代. 目前安卓上的开源输入法主要有 Trime (安卓同文输入法) 和 fcitx5-android (小企鹅输入法) 两个. 本文对它们进行了比较, 分析了各自的优缺点, 最后推荐使用 fcitx5-android.

Comparing different ways for sans-serif math with LaTeX

2024-04-17

Sans-serif fonts are better for figures. Various of ways to typeset LaTeX math in sans-serif font are compared. Based on the results, sansmathfonts is recommended for use.

LyX 2.4.0 上的中文输入法问题

2024-04-15

聊一聊 LyX 2.4.0 上中文输入框不跟随光标移动的问题, 同时也记录一下向 LyX 开发者报告问题的过程和感想.

Header: symmetry

Table of crystal point groups

2023-11-19

An all-in-one table/cheatsheet for point groups.

量子力学中虚数单位的正负号

2023-09-21

简单梳理一下量子力学中的虚数单位的正负号,如何进行简单的推导和记忆,以及相对应的傅里叶变换中 e 指数上的正负号。

Header: unsplash-mountain-bike

当一个自行车小白打算自己装山地车

2023-09-14

自行车小白自己装一辆自行车会遇到各种挑战,这里简单记录一下我在安装与使用一辆新山地车的经历与体会,主要包括山地车的结构、前轮安装的技巧、雨天骑车等方面,希望能够给打算自己安装自行车的小白一些帮助和启发。

1 2 3 4 5 ... 9