Archive for December, 2018

Advent of Code 2018 is over

December 25, 2018 Leave a comment

Similarly to last year, I participated in Advent of Code again. Last year I could finish it in time, but this year I missed some days. As today was the last day of the challenge, here is my result:


This year the exercises were harder than last year. My solutions are on GitHub: . This year I used the Nim programming language.

Categories: programming Tags: , , ,

cannot write to TrueCrypt volume

December 20, 2018 Leave a comment

With TrueCrypt 7.1a I created a new encrypted volume. After mounting it, I couldn’t write on it. “Permission denied”.

I had another encrypted volume that I could investigate. There, in the root folder, I saw the following:

$ ls -al | head                     
total 340
drwxr-xr-x  47 jabba optwriter   4096 Dec 20 17:08 .
drwxr-xr-x   5 jabba root        4096 Dec 20 17:03 ..

Here, “jabba” is my username. On the newly created volume the owner of “.” in the root folder was the root. Thus, the solution was the following:

# cd to the root folder of the new volume. Then:
$ sudo chown jabba:optwriter .

After this I had write permission on the new volume. Of course, replace “jabba” with your own username.

How to loop a YouTube video?

December 17, 2018 Leave a comment

You have a favorite song and you want to listen to it in a loop.

Right click on the video and select “Loop”.