I'm Allan Chain. Thanks for your interest in my blog!
I'm a programming hobbyist and open source lover. My primary programming languages are Python and JavaScript . I'm also having (or had) "fun" with
This blog mainly hosts my notes when programming, as well as some other interesting bits. You can use this RSS link to subscribe.
当今科研界,NumPy 和 SciPy 已经成为了用 Python 做科学计算和数据分析的“标准库”。目前有大量项目使用它们,其中不乏一些知名项目。而我们不禁要问,NumPy 和 SciPy 是如何达到今天的成就的?
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.
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.
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.
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.