Albert

Exploring my [exo]brain

I really like working with graphs. I remember a project that I worked a while ago where I parsed the client requirements relationships into a graph and I could determine the priorities of modules development based on that. Good souvenirs. This original idea came from an analysis I did on my social networks out of curiosity and I could identify and find communities on graphs. Now I am using org-roam as my notes management app.

How to recover a GRUB bootloader on a filesystem with LUKS and LVM

Recently an upgrade on my notebook went bad and broke something. I wasn’t sure what went wrong but since I had just one system at that time, I had to figure out how to fix it with the help of my phone. Basically what I did is install EtchDroid to be able to download an iso and flash it to a …

New blog in org-mode and Hugo

Okay this is like my fifth attempt to blog and so far, unsuccessfully. My first couple of blogs were on blogspot around 2005 or so, later I switched to dokuwiki, which is awesome but it didn’t integrated well on my workflow. So I tried some extensions to try to write directly in markdown but it didn’t work well for me. Then I moved to Hyde, which a Python static website generator.

How to manually boot/recover a system with LUKS and LVM

I have been using LVM on top of LUKS for more than 2 years without problems. However since I haven’t had the chance to troubleshoot these technologies in the past I was quite concerned of what would happen when I would have problems. Today my main computer didn’t boot up and I had to fix it manually. This post shows the steps I performed to recover my system. I use Arch Linux and I prepared a repository with my custom install method based on archinstaller.

How to publish a GPG key via DNS

Publishing keys is quite common. One nice way to do so is by using the Public Key Association (PKA) DNS record. Basically this is a record that points to a file that can be downloaded over the internet. This method is an alternative (not exclusive) to using keyservers. One of the problems of keyservers (in my opinion), is the problem of deleting old keys. I pretty much like the idea of PGP keyserver which verifies periodically by sending an email if the address is still in use and therefore maintain that uid of the key.

Resizing lvm on luks

How to manually boot/recover a system with LUKS and LVM I have been using LVM on top of LUKS for more than 2 years without problems. However since I haven’t had the chance to troubleshoot these technologies in the past I was quite concerned of what would happen when I would have problems. Today my main computer didn’t boot up and I had to fix it manually. This post shows the steps I performed to recover my system.

Configuring pacsrv and powerpill on Arch Linux

On this post I will show how to configure and use Pacserve and Powerpill on Arch Linux. On a network of several Arch Linux boxes, it is possible to configure a Master server which will hold a copy of all the installed packages within that host and keep it up to date frequently. The other hosts on the network can be configured as Slaves and they will download the packages from the Master whenever possible instead of the Internet directly.

Finding communities on graphs

Some months before I had to import a quite big list of use cases, relationships and requirements data into Enterprise Architect for a project. Of course I didn’t do that manually, so I made a hack to do that automatically. Recently I had a new task to accomplish, to split into groups that use case list by their relationships, and once again I thought about doing it automatically since I already have the data structures available and then, I decided: let’s play a little bit with the data 8-).

Software patents

Recently I’ve been to a talk given by Richard Stallman about how software patents are useless for the software industry. Since software is applied mathematics and, it generally needs to combine several ideas to make a new one, by doing that you could easily infringe a software patent by using one (or more) of the patented ideas. He commented that patents are like walking in a mine field, but worst because a mine ones it blows up it doesn’t blows again, patents keeps blowing on and on.