Albert

My thoughts on privacy and security

A good friend of mine motivated me to write down this post. I am not sure how I am going to address this in a “short” way since security and privacy is such a vast topic. It can be taken to several levels also, so it is a matter of how you actually compromise in favor of being usable and practical, since the power in place make it difficult on purpose to have open alternatives that work.

Analyzing the Biblia Hebraica Stuttgartensia with Text Fabric in Python

I am very curious about Hebrew, specially the way the language is hierarchically designed. Put very simply, three letter words are commonly known as trilateral roots and the rest of the words are variation of these three letters having a common root word and having related meaning somehow, thus creating a “family” if you will. I am not going to get into these details since it is not the scope of this post.

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.

Learning hebrew like a geek

The other day I was thinking about some practical way of learning hebrew, something dynamic that tickles my scientist curiosity. And I thought, wouldn’t it be cool if I could parse one of the hebrew codexes and get the top 20 most frequent words of a chapter or a book? Well this is an attempt to answer these type of questions. How? So I rolled my sleeves and I thought: I will google the Aleppo codex in plain text so I can download it and later use it for analysis.

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.