Avatar

👋 Hi!

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.

We will glow in the dark turning dust to gold.
Dream It Possible
Recent Blogs
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

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

View more >>>
Friends
Avatar

ᴍɪᴍɪ

做了一点微小的工作
Avatar

txtyb

The quieter you be, the more you can hear.
Avatar

Yixuan-Wang

|_| todo!()
Avatar

FX

Try adventure time