Articles

CI/CD Optimization: Docker, Kaniko, Buildah and failed ARM switch

I’m striving to cut costs we are spending on our AWS resources. I’ve already done that to our RDS and I might cover that in another article. Currently I’m working on budget optimisations of our EC2 resources. That would help us reduce our environmental footprint as well 🌿 So, switching to ARM architecture seems like a promising solution. As the title suggests, I haven’t achieved that yet, as it has emerged as a bit more complex task....

March 13, 2024 · 7 min · Oleksii Svitiashchuk

Tale of hidden packages: PostgreSQL and Ubuntu

So, here I am, all set with my Python project on my EC2 instance, ready to hit the run button. Seems straightforward, right? Just install the dependencies listed in requirements.txt. But, well, things took an unexpected turn. Python version issues The initial hiccup – Python is not Python3. And to add to the mix, the requirements for psycopg2 specify version 2.9.9, and I need Python3.7. Unable to upgrade Python, I opted for a workaround – installing Python3....

November 28, 2023 · 2 min · Oleksii Svitiashchuk

Prefer rsync over scp

Manual code-delivery While dealing with a Python script for data migration and clean-up in Postgres at my company, I needed to shift it to the cloud on AWS. For tasks that don’t frequent my to-do list, I rely on notes. While I’m well-versed in the basics of ssh and scp, occasional lapses in memory prompt me to revisit my notes rather than resorting to online searches. Side-notes This is slighlty off-track, but I’d really like to mention couple of nifty life hacks I’ve accumulated over time....

November 27, 2023 · 2 min · Oleksii Svitiashchuk

Neovim Config for Different Languages

While working on my pet project LeavingStone, I noticed that my Go files weren’t following the indentation style I preferred — they were using spaces instead of tabs. To fix this, I decided to make changes to my Neovim configuration in the init.lua script. Upon inspecting my existing setup, I realized that I had already configured the indentation settings, but they were specifically for JavaScript and global for all fileypes. The task now was to have different configurations for different programming languages....

November 25, 2023 · 3 min · Oleksii Svitiashchuk

Hello world!

Here we go! It’s time to set up my own blog. Here I’ll be sharing all the things I’ve explored, learned, and experienced. I hope you’ll find it interesting and useful. This has been a long-cherished dream of mine, as I find great delight in immersing myself in the personal and entertaining blogs of others. It feels like engaging in discussion with close friends. I start this blog, since I believe I have stories and insights worth sharing....

September 18, 2022 · 1 min · Oleksii Svitiashchuk