MoreRSS

site iconjdhao修改

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

Inoreader Feedly Follow Feedbin Local Reader

jdhao的 RSS 预览

Manage uv.lock file with Renovate

2026-05-14 02:14:50

In our work, we are using renovate to update the dependency packages for Python projects. Previously when we are using good old pip and requirements.txt for package management, renovate works fine since it only needs to update the package version in requirements.txt. We switch to uv this year as our project management tool. Since uv uses pyproject.toml and uv.lock (lockfile) to ensure reproducible project setup, we have an issue that when renovate bot creates a PR for the package updates: it only changes pyproject.toml without updating uv.lock.

Set up Python Provider for Neovim

2026-05-12 01:16:27

To make python plugins work in Neovim, we need to set up the python provider properly. Usually, this means setting up the correct path to Python executable and also installing the pynvim – Neovim client for Python.

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.