When we are working on a real project, we may want to know from which commit a particular line is introduced.
Some commonly used Git commands related to branch operations.
In Python, context manager is a great way to handle the closing of resources. It makes sure that resources are correctly closed after their use.
MIUI 12 更新以后，新增了更加细致的权限管理和隐私保护功能。
One of the ways to achieve parallelism is to use multi-processing, where we can execute tasks in different cores of the CPU to reduce the total processing time. Python provides the multiprocessing package to facilitate this.
This post summarizes some the questions I have when I learn to use multiprocessing in Python.
A list of Linux command for common operations.
I found a strange issue when I want to get the value of variable from Python script.
In this post, I will share how PyTorch set the number of the threads to use for its operations.