RTFM - How to split audio wave file

6 Jan, 2021 - 2 minutes
Few years ago (4 or 5 I think) when I was downloading music in a hope of a higher quality the content was delivered in a 3 files, flac, cue and log. The flac file contains whole CD or album, cue is to describe where/when each song starts, ends, its name and author etc and log is a log from the program which made it. This is all nice and great if you are using some more complicated music player with library function which can create index of the songs contained in such files and play them accordingly from its UI.

Switching to Hugo

5 Jan, 2021 - 3 minutes
Until “now” I was happy user of Jekyll static site generator, everything worked fine with it and blog was easy to manage. The major drawback of Jekyll (for me that is) is that it is written in Ruby and I never before worked with Ruby. Because of this I diceded to go the “easy” route and use docker image to simplify the initial installation and Jekyll management. The official docker image works fine, the only thing I needed to do was to add ruby gem local cache so it would not need to download all that mess over and over again (what a hell that is).

Estimate installed size of pacman repository

4 Jan, 2021 - 3 minutes
Some time ago on #artix IRC channel popped up a question on how to get the installed size of all packages in given repository and I together with other people on the channel created a one liner in shell to do exactly that. But before I have to mention that Pacman prints the “Installed size” value when we try to install packages. So one way is to try to install all packages but this can also include dependencies and may require some pacman magic which I am not aware of.

Changes on this blog

13 Dec, 2020 - 1 minutes
After a while I am writing about changes on this blog. The major changes in short are: New domain name. Self-hosted on VPS which is powered by Artix. Own git server powered by Gitea. Openring integration which provides links to articles from blogs I follow. For the future I plan some things, but the current setup is working fine so I have no idea when it will be done. The things I plan to do in the future are:

Protecting my sleep

8 Dec, 2020 - 2 minutes
My another attempt to break the habit of being up until very late into the night and as such very tired the next day. For years I thought of configuring my computer to suspend at around night time so I will be somehow forced to go to sleep. Well, the main problem with this was that I only thought about it and never actually did any research on this subject.