2022 年总共写了 49 篇博客 1，大部分博客很短，没花太多时间就可以写完。从类别上看，大部分都是技术相关的，关于 Neovim，Lua，机器学习，SQL

A very common confusion for new users of Neovim is that their option settings for a particular filetype does not work in init.vim (or init.lua).

In Lua, to pass variable number of arguments, we can use ... (three ellipses) syntax in function argument.

## Introduction

In Python, some packages are written mainly or partially in C++, and the Python interfaces are just wrappers around the binary C++ module. Among these packages, there is OpenCV.

I am using MySQL server version 8.0.30 on my macOS. I try to read a local csv file into a mysql table using LOAD DATA LOCAL INFILE following some post1, but unfortunately I get the following error:

This is not a complete list of changes. Just what I have noticed. Complete release note for nvim 0.8 is here.

We can use trigger to automate oerations, for example, preventing insertion of a record if certain condition is met. In this post, we show an example trigger function and its usage.

Here is how much I spend for living in Shenzhen, China as a non-local people. Note the cost may vary a lot depending on various factors.

All numbers are in the unit of Chinese Yuan (symbol ¥).

I saw from the repo awesome neovim1 a plugin that helps the user create the intermediate dir when they save a file. I wondered why this feature even needs a whole plugin? You can literally do this with a few lines of code.

Recently, when I try to use Ctrl-left and Ctrl-right in Neovim, I found that they are not received by Neovim. I thought this is a Neovim issue. However, when I test these two shortcuts using cat in the terminal (I tried both Kitty and wezterm), it does not work either.

As a machine learning engineer/data scientist, after the model development process is finished, we need to deploy the model as a web service using different web frameworks. To achieve maximum performance and lower the hardware cost, we often need to optimize the speed our service, including TensorRT acceleration, config tuning, etc.

This post summarizes how to update author info of Git commits.

When we serve a HTTP service via uWSGI, we can monitor its stats via uwsgitop.

In Python, we often see the use of super() in class initialization.

If we pass list as parameter to a function and change the parameter, the original list is also changed. This is because list is a mutable type, when we pass list to a function, we are passing the same list.