Informational and educational articles

Here we’ll post informational material that is of our interest.

Earthing an Off-Grid Solar System — Notes, Numbers and Measurements

Another one off the usual IT-services path: notes on earthing (grounding) a small off-grid solar system — a 12 V, 2.2 kW all-in-one inverter with roof-mounted panels and an existing set of earth rods. It covers what the wiring rules require, the neutral–earth bond that cheap inverters often leave out, where the fuses or breakers go on an unearthed battery, what an earth resistance of 28 Ω actually means, and how to measure electrodes and soil properly. 6,167 words — approximately 26 minutes reading time

Arsenic in Irrigation and Drinking Water — What the Research Actually Says

This one is off the usual IT-services path — a personal-interest deep dive into a topic close to home: arsenic in groundwater, a well-documented problem in parts of Hungary, and what it means both for crops irrigated with contaminated water and for people drinking it. No coding involved, just careful reading of the primary literature and an attempt to explain it in plain language, a multi-day personal investigation. 3,481 words — approximately 15 minutes reading time

Automatically deleting Media Files on Django Model Updates

Efficiently manage media file deletion in Django when updating models with FileField or ImageField. The Problem Recommended Solution Implementation Example models.py admin.py The Problem Django models using FileField (or its subclasses, such as ImageField) do not automatically delete the existing file from storage when a new file is uploaded during an update. This results in orphaned files accumulating in storage over time.

Configuration for Aider

This article lays out configuration files that can be used with Aider and various LLM inference providers. The models it uses can vary, hence the many different model definitions at the beginning of .aider.conf.yml. Adjust it to fit your needs. Configuring LLM usage with aider LLM config Aider all-in-one config Using with litellm Using with having an adjusted ollama model, used by aider Git commit/release summarizer in Python Configuring LLM usage with aider LLM config the point is: you can use pay-as-you-go hosted LLMs or the one you created with huggingface if you use the former, use the my-hf-custom models if you use the latter, use litellm as a proxy (see below) with litellm, you can use local ollama-based models too Aider all-in-one config .aider.conf.yml:

Mail quota check in Thunderbird

In this article, we’ll show you how to check your mail quota in your Thunderbird mail client, and give tips as to how to free up space. Checking quota Cleaning up space Compacting folders Emptying the trash Setting up Thunderbird to periodically clean up old emails Checking quota If you have an IMAP account set up with your Thunderbird mail client, here’s how to check how much space you have left in there.