• Agentic AI Engineer

    Just completed the Agentic AI Engineer course at DataArt!

    I’ve been exploring AI-DLC, Spec-Driven Development, AI agents, and all the new ways AI is changing how we build software.

    And I think I’m getting closer to being a Product Builder — taking an idea, turning it into a working product, and getting it all the way to production.

    From idea to production. That’s the fun part!


  • How to Keep Your Mac Awake for Long-Running Agent Tasks

    I usually run coding agents somewhere in a VM or on a remote host, so I don’t have to think about what my laptop is doing.

    But sometimes, especially for bigger tasks, I need to run an agent locally on my Mac.
    And then there is one annoying problem: macOS may go to sleep while the agent is still working.

    Apparently, caffeinate is a very simple way to prevent that.

    Keep the Mac awake for a specific amount of time:

    This keeps it awake for 1 hour (3600 seconds).

    For a quick test:

    And if you want to prevent pretty much all kinds of idle sleep while the command is running:

    Simple, built into macOS, and surprisingly useful when running long AI agent tasks, builds, migrations, or anything else you don’t want interrupted by sleep.


  • Fast switch Terraform version

    Very useful command: tfswitch


  • How to label Kubernetes node ROLE name

    That’s easy!

    Add Label:

    kubectl label node <node name> node-role.kubernetes.io/<role name>=<key — (any name)>

    Remove label:

    kubectl label node <node name> node-role.kubernetes.io/<role name>-

    Let’s try:

    $ kubectl get nodes

    $ kubectl label node node-2.domain.loc node-role.kubernetes.io/worker=

    and check:

    $ kubectl get nodes


  • How to setup L2TP over IPSec VPN server (Ubuntu 16.04 – 20.04)

    How to setup L2TP over IPSec VPN server (Ubuntu 16.04)

    # (optional, need to check ) apt-get install ppp libgmp3-dev bison flex

    Edit /etc/ipsec.conf

    Edit /etc/ipsec.secrets

    Edit /etc/ppp/options.xl2tpd

    Edit /etc/xl2tpd/xl2tpd.conf

    And finally add password to the /etc/ppp/chap-secrets file

    Everything should work fine!

    Upd. 2022.01