Blog archive - page 2

Migrating blog posts to Jekyll

I've been recently working on recovering posts from old blogs that were stored in my local backup, where they have been rotting for a lot of years. Those blog posts were made in WordPress and Blogger, and therefore had to be migrated into Jekyll. The experience has not been as bad as I thought it would be, althought there have been a few issues that I had to come through.

Rust autocompletion on Vim

Previously I told you about Racer, an autocompletion tool for Rust that integrates nicely into many other editors. Today I’d like to talk to you about how to configure Rust autocompletion in Vim using Racer and some plugins. Please note that you need racer installed before proceeding. Check out that blog post if you need some help.

Installing Racer for Rust

Racer is an awesome program for enabling autocomplete for your Rust code. Rust is one of the most awesome languages I have seen. Its standard library is very impressive and the crates help extending the platform to do lots of things. However, having autocomplete comes useful for making things easier to write as you can see the functions and classes inside your editor as you are writing.

Adiós, makigas, adiós

Con esta entrada de blog os informo que he decidido interrumpir de forma indefinida las operaciones del canal de YouTube makigas. Han sido unos años muy divertidos, pero mis prioridades en la vida han cambiado desde que todo comenzó y mantener al día un canal de YouTube ya no está entre ellas. (Actualizado a 02-01-2017: a fecha de enero de 2017, la actividad en el canal ha regresado.)

Mirroring a website with wget

This is a little trick that I always forget, so I'm saving it here for reference to myself (as well as for anyone). Sometimes it is useful to mirror an entire website. Maybe it is a website that doesn't often work. Maybe you need to have offline access to that site. There are a couple reasons. In my case there's a website with lots of open documentation in PDF format that I'm trying to access, but I don't want to manually save each one of the tens of PDF files available, so I'd prefer to just clone the website.

Lambda Functions and WordPress

It turns out that for a few PHP releases, even before PHP 7, there have been lambda functions as part of the programming language. And it turns out, that all these WordPress functions, are compatible with lambda functions. So you can use lambda functions with WordPress when setting up filters and actions without having to write a new function that gets a reserved identifier whose namespace has to be set by you without the risk of conflicts.

Installing i386-elf-gcc on MacOS X

I wanted to build a cross-compiler for MacOS X that would allow me to compile the ELF kernel image of my tiny operating system I’m developing without having to always use my Arch Linux distribution instead of just using OS X. Creating a cross-compiler is not that hard, but it requires following some instructions and it takes some time. The good thing is that once you build it, you can leave it in a folder installed and you won’t ever have to build it again. In this article I’ll describe how I compiled myself the i386-elf-gcc compiler on MacOS X El Capitan.

Switching to Jekyll

I have switched to Jekyll as my blogging platform. I'm a user with a lot of years of WordPress and Blogger on my back but I consider that Jekyll is a better solution for the kind of web site that I want to have. Today I'm telling you about Jekyll, what interesting use cases you can have with it and how can you use GitHub for hosting your website for free.

Recursión normal y recursión con cola en Racket

Racket es uno de los lenguajes de programación que hemos aprendido este año en la universidad y uno de los que más me ha atraído por lo curioso que es. Ahora que he terminado las clases me he puesto a investigar más sobre él y he descubierto la optimización de recursión con cola que suelen usar los lenguajes de programación para consumir menos memoria cuando se implementan funciones recursivas.