Home – Datmt

  • Quick Setup For Monitoring Stack With VictoriaLogs and Vector

    Quick Setup For Monitoring Stack With VictoriaLogs and Vector

    Table of Contents1 Overview2 The setup3 The UI4 Conclusion Overview I have a docker server so I want to setup monitoring for my docker containers. I tried grafana before but didn’t like the stack much. I love dozzle but it lacks persistence. So, I tried vector & victorialogs and the combo worked quite well so

    Read More


  • Fix error: GPGME error: No data on Arch Linux

    Fix error: GPGME error: No data on Arch Linux

    If you encounter this error on arch and already spent 10 hours finding the fix. And almost switch to another distro Here is the fix I didn’t come up with this fix, all thanks to this golden heart just saved me from another hours installing ubuntu https://forum.artixlinux.org/index.php?PHPSESSID=g7k4i3880b6lvhl2cs97phocbj&topic=5944.msg37097#msg37097 Thanks!

    Read More


  • Building RAG: A Hello World Example

    Building RAG: A Hello World Example

    Table of Contents1 Overview2 What is RAG?3 The general flow of a RAG application4 Prerequisites5 The Complete Code6 Breaking Down the Code6.1 Step 1: Document Chunking6.2 Step 2: Creating Embeddings6.3 Step 3: Building the Vector Store6.4 Step 4: Semantic Retrieval6.5 Step 5: Augmented Generation7 Running the Example8 Why This Matters9 Limitations and Next Steps10 Conclusion

    Read More


  • Fixing “Exec Format Error” When Building ARM Docker Images on Intel Jenkins

    Fixing “Exec Format Error” When Building ARM Docker Images on Intel Jenkins

    Table of Contents1 Overview2 The Solution: QEMU Emulation (binfmt)3 Conclusion Overview If you are building Docker images for ARM architectures (like Apple Silicon or Raspberry Pi) on a standard Intel-based Jenkins server, you might have hit a wall that looks exactly like this: I ran into this recently. My pipeline was working perfectly for weeks

    Read More


  • How to Create a Case-Insensitive Enum in Python

    How to Create a Case-Insensitive Enum in Python

    Table of Contents1 Overview2 How to create case insensitive enum Overview Have you ever been tripped up by a simple typo? We’ve all been there. You write color = “Red”, but somewhere else, your code checks for “red”, and your program breaks. It’s an all-too-common bug when dealing with user input, API data, or configuration files. The

    Read More