Gyanteilen

Thoughts on tech and life as an NRI in Germany

Technical posts: programming, tools, and software.



Your venv Is Not the Python You Think It Is

· 8 min read

Your venv is named 3.10 but runs 3.8. Why that happens, how to check it in one command, and how to fix it on Ubuntu and Windows — including why 'apt install python3.10' fails on Ubuntu 20.04.

PTP on Linux: A Beginner's Guide to Running a Grandmaster Clock

· 16 min read

Set up PTP on Ubuntu so one machine serves microsecond-accurate time to the rest of your network. Check your NIC supports hardware timestamping, write the config, run it by hand, then make it permanent with systemd — including the phc2sys mistake that makes everything look healthy while the time is wrong.

tmux on Ubuntu: Share a Long-Running Test Live With Your Team Over SSH

· 6 min read

Run a long pytest session inside tmux on an Ubuntu laptop and let teammates — on Linux or Windows — SSH in and watch it live. Install, name the session, detach without stopping the test, and attach read-only.

Allure on Windows and Linux: Install It, Then Make the Report Worth Reading

· 13 min read

Fix 'allure: command not found' on Linux and 'allure is not recognized' on Windows, then go past the install — steps, attachments, categories.json, executor.json, and trend history that actually works.

Setting Up Python on Windows 11 — Mistakes I Made So You Don't Have To

· 4 min read

The 4 Python setup mistakes I made on Windows 11 — Microsoft Store hijacking the python command, PATH not set, PowerShell blocking venv activation — with the exact one-minute fix for each.