Cleaning Flatpak Data

So today I’ve been looking at the disk space usage and observed rather peculiar thing; my ~/.var/app/ folder was around 30GB in size. Upon further examination I’ve observed that the disk space usage is generated by the Lbry flatpak application which stored its cache of downloaded videos there. What’s rather weird is that this app was removed from my system like month ago. It turns out that, by default, when you uninstall the app, its configuraiton and cache will stay behind unless you specify --delete-data flag....

June 13, 2021 · 1 min · Ivan Tomica

Writing Lambda at Edge function

Background Few months ago (less than 3), I’ve switched my website from Wordpress to Hugo. There I described the process of setting up Cloudfront distribution to serve as a CDN and a simple web-server for the content backed by S3 bucket. One of the challenges was how to serve nested paths (eg. /about-me/) as Cloudfront doesn’t know for “directory index” concept. You can only set index for / uri. To tackle that issue, I’ve used Lambda@Edge function called standard-redirects-for-cloudfront I’ve found on the internet....

April 30, 2021 · 2 min · Ivan Tomica

Secrets of the Linux process - ProcFS

You’ll be amazed how much things you can learn about the process on the Linux system by exploring and poking around /proc/. ProcFS in Linux is a special filesystem that contains various information about the system, processes running on the system and allows you to adjust some of the things by writing directly to those files. Among many other things it contains folder for each process running on the system, named by its PID....

March 27, 2021 · 2 min · Ivan Tomica

BTRFS - Perfect Filesystem With Trust Issues

BTRFS - the filesystem that was first introduced in 2009, back in the days of Linux 2.6.x kernel. It came with a promise of being this modern filesystem, for the modern age. Packed with all sorts of features that were traditionally being considered as part of the “Software RAID” or “Volume manager”. To this day, it is being considered by many, as a “ZFS for the Linux world”. My first encounter with this filesystem was way later, when it was already considered pretty much stable....

February 7, 2021 · 8 min · Ivan Tomica

No More Analytics

On the old Wordpress-powered site I have used “Koko Analytics” software for tracking some basic data about visitors of this blog. Nothing fancy to be honest, I was only getting information from where did visitors come from, what were their referrals and which articles were most popular. I could’ve easily done it by manually scraping access logs every so often. Or by using something like Webalizer or AWStats. With the new setup, this is obviously a bit more complex to achieve....

February 4, 2021 · 1 min · Ivan Tomica

Migrating from Wordpress to Hugo

You may have noticed that this site is a bit different in the past few days. It is simpler, faster, and overall nicer! As I’ve published few days ago, I have decided to make some changes to my existing website and have decided to set it up as a statically generated website powered by Hugo, using amazing PaperMod theme with addition of Commento; for the only dynamic thing on this site; comments....

February 1, 2021 · 8 min · Ivan Tomica

New Website

Hi there! If you’re reading this it means that you have reached my new Hugo based website! I will write more detailed post about the whole new setup in a few days, in the meantime, if you notice that anything is broken, please feel free to reach out to me via the email noted on the homepage :-)

January 28, 2021 · 1 min · Ivan Tomica

OpenSUSE – great distribution for someone that’s not me

Last month/year I decided to challenge myself and embark on the journey of using OpenSUSE to give it a fair chance to become my daily driver. It is really hard to say if I’ve given it a fair chance, but during the journey I’ve learned OpenSUSE is not the right distribution for me. I have tried both Leap and Tumbleweed release, and long story short, Leap is using rock-solid packages which are also quite old, while Tumbleweed is on the bleeding/cutting edge, and oh boy, did it bleed!...

January 23, 2021 · 2 min · Ivan Tomica

Spicing up main desktop

Yesterday I decided to give Cinnamon a try on my main desktop. My main desktop runs Fedora 33 Workstation edition and I have been fully enjoying GNOME on it. It is modern, simple, and yet, quite fast on my machine. So, why the change? Things got boring. This is great on machine that has to be rock-solid, and Fedora Workstation edition has been just that for me over the years (ever since Fedora Next - around release version 20)....

January 16, 2021 · 2 min · Ivan Tomica

On Emacs usage

I’ve noticed that for the past few months I have been using Emacs more and more, and I have tweaked it almost perfectly to my liking. Naturally, when I need to explain to someone why Emacs is so great, it is hard for me to note few of the things that make it. At this point things are so well integrated and fit my workflow that I’m having hard time of promoting single package :-)...

January 13, 2021 · 1 min · Ivan Tomica