MoreRSS

site iconjdhao修改

在德国的机器学习工程师。在 NumPy、OpenCV 和 PIL 等工具以及 Matplotlib 等数据可视化工具方面经验丰富。
请复制 RSS 到你的阅读器,或快速订阅到 :

Inoreader Feedly Follow Feedbin Local Reader

jdhao的 RSS 预览

Ripgrep Config to Search Hidden Files

2026-04-17 17:45:00

Notes about how to use ripgrep to search hidden files and configuration related to Neovim.

Pre-commit Setup for Your Project

2026-04-15 00:11:35

We have a Python project where there are several developers, and we have a mature CI pipeline to do code linting, formatting check for python, yaml, json, and testing etc. The problem with CI pipeline is that you can only get feedback after you commit your code and push to the remote repo. The feedback is not instant and may be delayed for several minutes. If there are some linting issues, you then need to fix the issue and make another commit. This is also making the PR history messy.

I read the nvim v0.12 release note so you don't have to

2026-04-03 05:18:10

A major Neovim release (version 0.12) has been released a few days ago, after more than one year from the last major release (version 0.11). The following is a list of feature I am interested. For a complete set of features, check full changelog and news.

builtin package manager vim.pack
#

Now you can use the builtin vim.pack API to manage your plugins. Check this detailed post if you want to migrate to vim.pack.

Return Different Values for Each Call of A Mock

2026-04-01 01:10:40

When unit-testing a function that make multiple external calls/requests, we want to mock the actual call and return the mock results. For each call, we might want to return different results.

Migrate Python Project from Pip to Uv

2026-03-28 02:12:27

Previously, our projects are still using the old Python 3.10, which will be deprecated soon this year. We are also using the good old pip and venv for the project/package management. This is already posing some issues for us:

  • venv is a pure virtual env tool without the ability to manage python versions (it just picks your local python), so it is hard to enforce the local env of each developer
  • pip’s requirements.txt is not a lockfile and thus does not ensure a fully reproducible python environment
  • pip as a package management tool is not performant enough in resolving and installing packages

In order to solve these problems, I took the effort to migrate our project management to uv. Here are some of the things that I learned in the process as a first-time uv user.

德语常用不规则动词

2026-02-15 23:06:55