This is a short explaining an alternative on python's stdlib for pytz
Recently I had to update my NixOS lab VM from 2023-05 to 202311. Here are the steps required to do that.
When generating a template VM or LXC container, you need to swipe and re-generate some configuration so that the VM/LXC container generated becomes unique from the Proxmox's perspective. Here is a description on what is needed.
One of the features on my new Proxmox server will be to provide NFS shares on my home network, which are compatible with lots of machines/clients/systems and will be useful to share files between the Proxmox host and its' guests also. Here are the steps required to setup the NFS server the clients.
I had done a new Proxmox setup on a beefier SSD, and by default proxmox uses LVM to handle disk 'partitioning', which was always a little cryptic to me. That looked like a great opportunity to learn something new that can be useful in the future, so I took some time to understand it and consolidate here for my future self when the need arises.
These are some notes I took while reading 2 interesting articles from someone explaining his second brain system.
I noticed my system was randomly freezing for some seconds when I was using btrfs and timeshift on PopOS 22. Searching a little bit online, I discovered that is related to btrfs quotas enabled, although them not being stable yet. Here is how to fix that.
As software developers, we tend to not like complexity. Here are some of my thoughts after listening to a podcast episode.
This is a short explaining what is ZRAM and what are its' benefits and tradeoffs.
I spent some minutes trying to understand what was happening when trying to run `ansible ping` on a machine I could manually ssh into, but ansible could not connect to it. Here is what I did to fix that.
I have been experimenting with KVM and LXD linux containers, but that requires some bootstraping that I consider tedious. For some time I have been hearing about Proxmox, which is a linux distro based on Debian with focus on virtualization. I have installed it on a spare notebook here at home, so to experiment with linux distributions, kubernetes and creating lab environments whenever needed. Here are some tips I collected and applied to my setup.
We don't give our own minds the same level of attention that we give to our body and even other people. Many of us go through life without realizing we automate behaviors and create beliefs based on our past experiences - no one teached us how to spend time with our own minds and inspect and question our thought patterns. This book written by Owen O'Kane gives awareness on that and proposes a methodology to question, inspect and learn from our own thought patterns, behaviors and beliefs - or, like we say on software development, to 'debug' and 'profile' ourselves. If that sounds interesting to you, keep reading.
Here is a reminder of some latency numbers we developers must have in mind when drafting our solutions/algorithms.
sudoedit is useful when you need to edit a file like if you were root, but you want to keep your editor configuration and plugins (e.g. vim, neovim). Here is how to fix this error.
I use YouTube a lot for learning and content creation. The Watch Later playlist has a 5k videos limit, but if you are an avid user you can fill that in less than a year. I know there is a YouTube API, but I didn't want to take time with that. So, searching a little bit online I discovered how to solve that using your browser's javascript console. Here are the instructions on how to do that.
Dependency Inversion can be used to decrease coupling between classes. Here are some notes on a video I recently saw on YouTube to reinforce that.
I have been curious on using external GPUs (eGPUs on Linux) on notebooks with thunderbolt ports. That would allow to buy a notebook for the portability but also use it for video creation/processing and gaming. Here is what I learned from a recent YouTube video about it.
Arrays are one of the most fundamental data structures to be used on algorithms. Here are some notes regarding arrays and its' python implementation (lists)
Battery (power) management on linux is a little tricky. Here are some notes regarding popular tools used to inspect it.
Monorepos have some benefits, which comes with some trade-offs. Here are some thoughts about it.
Some notes on code cohesion and coupling to write better code
When installing PopOS and choosing btrfs as the filesystem, it does not install correctly so to support timeshift. After digging, I found a video on YouTube explaining it like I was 5, so I am posting here to my future self.
Here are my insights into why versioning is important and how to implement it.
Here are some notes on a video from Arjan on Youtube where he presents monadic error handling as a better alternative for exceptions that you could adopt on your python solutions.
In this post I present sysstat, a versatile CLI monitoring tool that you can leverage to inspect real time and historic metrics on a linux system regarding the usage of cpu, memory, swap and others.
Describes possible concurrency options that can be used on python programs