Maksym Prokopov personal blog
Idea is a something worth sharing

Run Large Language Model on your PC in 5 minutes

28.03.2024
Run Large Language Model on your PC in 5 minutes For the summary I used model whisper to extract text from audio of this video and asked mistral to summarize it. echo "this is a transcript of the video. Summarize this\n $(cat subtitles.txt)" | ollama run gemma:7b So, here you go, output from mistral 7b: The speaker explains how to download, install, and set up LLMA, and then demonstrates how to use it to run a specific model called “mistrial” with a pirate-themed prompt.
Read More…

Ansible Use Cases

27.03.2024
While Ansible is a great tool for certain use cases, such as building new AMIs when used with Packer, it has some downsides. These become apparent when using it for container orchestration (which I have witnessed at scale) or keeping the configuration of a set of nodes in sync. Another significant, though not dramatic, downside is related to Python version and dependency management. This adds extra complexity that I would prefer to avoid in a system management tool.
Read More…

Compliance as a Code

27.03.2024
Recently, I stumbled upon a concept that sounded new to me: Compliance as a Code. The core idea is to “embed compliance policies into the code that can be repeated and tested automatically.” But what does it mean in practice? For example, consider PCI DSS, which requires measures to secure credit card information to ensure compliance. Tools like Terraform, Ansible, and others should contain the code for encryption, access control, and data obfuscation.
Read More…

Palettro - VSCode like command palette in any macOS application

26.03.2024
Short video with overview of Palettro, small utility that brings VSCode like navigation to any macOS application to boost your productivity.

Use LLM to retrieve data from MySQL database

26.03.2024
Very simplified about the AI revolution happening now. We are only at its very beginning. Next, automation and integration among different AIs will increase, leading to more and more complex tasks. There are still many problems, such as - training a truly large model, and making it accessible for general use is still very expensive and very energy-consuming. It is still not very clear what to do with regulations, because it works both ways, making it significantly easier to assemble some kind of bomb at home.
Read More…

SRE Simplified - Error Budget

25.03.2024
SRE Simplified : Error Budget concept. The concept of Error Budget is useful for setting up alerts of different severity. This video explains in extremely simplified manner how it works.

SRE Simplified - Service Level Agreement

17.03.2024
The next issue of SRE Simplified is about Service Level Agreement. Service Level Agreement is an agreement between service supplier and a customer about what the target quality of the service is and what are the consequences if the promise is broken. But the challenge here is to eastablish monitoring and alerting. This video provides very simplified example of an SLA for the company that produces apples. Document Title

SRE Simplified - Introduction

10.03.2024
What are the SRE concepts, like Service Level Agreement and Reliability? The challenge is to explain it in simplified manner, without deep discussions on different monitoring strategies. In this first video I tried to just to scratch the surface.

Wireguard VPN Overview

02.02.2024
WireGuard is a relatively new protocol. It claims to be greatly simplified and faster comparing to alternatives, it uses UDP as primary transport and encapsulates encrypted traffic from IP layer. Let's investigate if it's true! Some differences help to stand out of other VPN solutions: Routing as a part of Peer configuration QR code for simplified configuration using camera on mobile devices. iPhone, iPad and other things, you'll love it!
Read More…

How to suppress alerts in Prometheus for non-working hours

24.01.2024
When it comes to the topic how Prometheus and Alertmanager work together and how to restrict alert notification to fire only on working hours, typicall solution is to apply workaround to avaluated alert rule expession like this and ON() (hour() < 19 and hour() > 8) and ON() (day_of_week() > 0 and day_of_week() < 6) The full example of such rule is the following - alert: DummyWorkhoursAlert expr: 1 and ON() (hour() < 19 and hour() > 8) and ON() (day_of_week() > 0 and day_of_week() < 6) for: 5m annotations: identifier: "{{ $labels.
Read More…