Previously, I wrote about using mise as a replacement for Pyenv and NVM. In this post, I will document how I use it to manage Open edX Tutor versions for the different projects I work on.
Replacing pyenv, nvm, direnv with Mise
I recently got a new laptop with the Ultra 7 Intel processor. My older one is an i5 8th generation. So, I as very surprised when a new terminal was usable after a visible delay. It was almost as slow as the old laptop.
Keychron K15 Pro - 1 Week Review
I recently switched from my Keychron K2 to a Keychron K15 Pro mechanical keyboard. It started with @[email protected] asking for recommendations for a new mechanical keyboard and me looking up the Keychron website, and it quickly escalated from there.
Gitea - git push doesn't work after moving server to new IP
If Gitea is running as a docker container, then there is a SSH Shim script at “/usr/local/bin/gitea” that contains the local IP address of the machine, which might be different from the 127.0.0.1 that’s provided in the documentation.
Dealing with ghost/outdated service entries in Nomad
I have run into this issue multiple times with Nomad. For some reason, when jobs are redeployed/restarted, the service registration isn’t removed. This causes my Traefik reverse proxy to send requests to a non-existing allocation in Nomad.
Writing testable code with Polars and Pytest
The Python Polars documenation on testing provides only a couple of pointers and it offloads the core part to the Hypothesis library. Here I want to documnent a more simpler approach for deterministic tests using just Pytest and pytest.mark.parametrize
.
How to set uploads space limit per user on Misskey?
Change the Policy of the role applied to the user. Since I have a single person instance, I just needed to update the default Policy Template from the Control Panel
dev-note: Getting pyenv and pyright to work in Doom Emacs
Getting Pyenv and Pyright to play nice in python-mode on Doom Emacs requires sticking to a few rules. I discovered these after multiple attempts of trial and error. All the following things might not be needed. But I got things to work only when I set all of these up.
dev-note: Doom Emacs status line missing icons on fresh install
Let’s say you set up Doom Emacs from scratch for the first time, and you followed the instructions correctly and install the all-the-icons
fonts when prompted, saw the icons properly displayed in the dashboard (launch window), but once you open a file, the status line starts showing random characters, instead of icons.
Back to Basics with En Kanakku
Everyday I work on a megalith of a software called Open edX as a part of my work. It is built on top of Django. But here is the thing, it is very big piece of software and most of time I am tweaking something that is one among the many layers of abstraction and business logic.