Posts in 'dev'

Uv gotchas

A collection of the things that caught me offguard while using uv.

Managing virtual machines with Qemu

A while ago I switched from Virtualbox to Qemu for virtual machines management. Here are my notes on how to set it up and all the gotchas I stumbled upon while doing it.

Make pyenv and pyright play nice together

If you use pyenv local, Pyright will not automatically pick up the correct virtualenv. Here's an explanation of why it happens and how to work around it.

TIL: strip does not do what I think it does

It turns out I have been using it wrong for all this time!

Going full in with Neovim

Goodbye .vimrc, hello lua.init!

Learning vim in 2022

I decided that in 2022 I would learn Vim, here's how it went.

Managing multiple Git identities

How to manage multiple Git identities on the same machine

How to override pytest-django settings discovery order

The order pytest-django uses for determining which settings file should be used for running tests might not be the most optimal when using environment variables. However, it is still possible to override it so that it picks up the correct file without recurring to extra typing.

Using pyvenv with virtualenvwrapper

After reading that it might be possible to use virtualenvwrapper with pyvenv, I decided to fire up a couple of virtual machines and to find it out.

Travis, Mock, different Python versions, and an afternoon of frustration

My plan was to quickly set up Travis CI for Subvenv and then move on to other projects. Instead, it came out that I couldn't have been more wrong and I ended up instead in an afternoon of frustration.