Blog

17-03-2018

A guide to Ruby in ten lines of code

This is a slightly unorthodox introduction guide to the Ruby language. Through this guide we will examine just ten one-line snippets of code, and discover a lot of features from each of them. This is the post version of a talk I gave for LibreIM. Syntax puts "Hello #{gets.<span...

10-03-2018

Deploying Mastodon on a single DigitalOcean droplet

What happened I bought a super cheap domain with a cool name. I had to put something there, so why not Mastodon? I had a 10$ coupon from DigitalOcean so I could try it for free for a month or two. Prerequisites You’ll need a domain name for this. There are free domains available in certain TLDs,...

30-11-2017

Time tracking in Emacs with org-clock

This is yet another short post about a little feature in Emacs that turned out to be pretty useful. If you ever feel that you’d like to know how much time you are spending working on different projects (and are an Emacs user), this is the post for you. org-clock After searching for a simple app to track my...

05-05-2017

Emacs for lazy people

Emacs is one of the most powerful, extensible editors out there. However, learning to use it is not an easy task, and I’m just really lazy. The following are some packages that I hope will make your life way easier. And if you already use Emacs, I encourage you to try them and see if they help you get a...

05-03-2017

Sincronizando notas entre PC y móvil mediante Orgzly y Syncthing

Uno de los sistemas más versátiles que existen para organización personal y gestión de tareas es org-mode de Emacs, un modo de este editor que proporciona comodidades útiles tanto para tomar notas rápidas como incluso escribir unos apuntes con fórmulas matemáticas. Esencialmente, aunque cuesta trabajo empezar a usarlo, tiene más utilidades y plugins que la mayoría de navajas...

28-01-2017

Métodos de aproximación en Ruby

Entre las tareas de una práctica para la asignatura de Mecánica Celeste (todo el código disponible en GitHub), he tenido que programar un par de métodos numéricos de aproximación iterativos. Resultó ser una aplicación muy práctica de los enumerables de Ruby y me parece un buen ejemplo del ahorro de código que puede suponer su uso. Para abstraer...