Tag Python

Python coding techniques, packages, and best practices.

Python GIL, Multithreading & Multiprocessing

Preface When buying computers, we often hear often, e.g., Laptop 16 inch with i7-13700K Processor (13th Generation), 16 cores. From this, we generally know that one CPU may contain multiple cores. But what about processes and treads? In my daily…

Introduction to uv with a Python Project

An image describing whether to go for uv or venv for package management

Preface Python developers often rely on virtual environments and package managers to keep projects organized and reproducible. A recent new tool called uv has emerged as an alternative to traditional solutions like venv, virtualenv, and poetry. The earliest package release…

DFT to FFT: How the Fast Algorithm Works

DFT to FFT: How the Fast Algorithm Works

Preface When you hear the term Fast Fourier Transform (FFT), you may immediately associate it with speed, signals, and fast computations. But what exactly is FFT, and how does it relate to the Discrete Fourier Transform (DFT)? This post dives…