I have been using Jekyll for a while now, but all this time I have been generating it on the server, That is, I had had a directory on the server holding the Jekyll files, in which I would run jekyll build to generate the website. Not too streamlined.

Before hosting this weblog on Vultr, I had it on GitHub, and their Pages would do the publishing for me, right after a commit, which was great. Yesterday I decided to implement the same, but on my VPS. This is what I did:

#!/bin/bash -l
GIT_REPOSITORY=/path/to/my/website.git
TMP_GIT_CLONE=/tmp/git/website
WWW_ROOT=/path/to/my/website

git clone $GIT_REPOSITORY $TMP_GIT_CLONE
jekyll build --source $TMP_GIT_CLONE --destination $WWW_ROOT
rm -rf $TMP_GIT_CLONE
exit

Now a few seconds right after committing, my website will show the changes. Being able to use Atom with markdown-writer to compose entries, and use git to deploy them is a bliss.


  1. Thanks to Matt Harzewski for pointing me to the right path.

I have used many editors in the past, either under Windows or OS X. Too many, I have really lost the count. The last one I used was Sublime Text. Great editor, cross platform too, but pricey. Each time I would get the nag, I would feel guilty for not buying me a licensed copy.

I tried Atom when it first came out. It was buggy and slow, really, really slow. Not anymore. I am using version 1.0.9 now, and it is a joy. So fast, so customizable, so complete, so free!

I like Google and its services. Like is too little, I love them! Their mobile applications on the other hand—specifically those running under iOS—are horrible. The UIX is confusing and it does not follows Apple UIX design. Their choice of font is of poor taste and, again, does not match the rest of the OS. They lack of functionality and/or their functionality is limited by poor choices and, what is seems to be, a lack of common sense. I could describe and point out the problems on any of their applications, but this rant pertains to the Gmail application running under iOS.

The Gmail application is the only client the allows real time notifications of new emails, also known as Google Sync. Google used to allow that feature under iOS Mail.app, but they discontinued it on January 30, 2013 for nonpaying users (me). Such feature is the only reason to use Gmail.app. The only reason. Some of the Gmail.app flaws:

I have not encountered any bugs, but some people swear there are, and although their client on Android is slighter better, their UIX on their own mobile OS leaves lots to desire. Amazing that, even after they bought Sparrow1, they can’t come up with something better!


  1. Google bought Sparrow in 2012. Sparrow was an amazing email client for OS X and iOS, which used a simplified user interface similar of that of Twitter client.

The last of the rhinoceros

There hasn’t been an article like this for a while, that fills me with such feeling of sadness, and emptiness. For as long as I can remember, a cartoon I saw as a child started my attraction for rhinoceros. Such lovely animals!

And now, the one pictured above (CB2/ZOB/Brent Stirton/National Geographic) is the last of his kind. Who do we have to thank for that? Us. On a comment to the article, a poster under a “Gordo Granudo” pseudonym writes:

If you teach people that there are magical forces in the world, that general framework of belief will metastasize into the most repugnant superstitions imaginable.

When you believe in magic or lords or gods or wizards or spirits or spooks, then consequences of the natural world become decoupled from reality as anything can always be rationalized in some supernatural context: “… well, it must be god’s will after all …”

The fact we will all live to see the extinction of a creature as noble as this can be traced back to one, single failing in our collective human condition; superstitious ignorance. Don’t teach your children of Easter bunnies and tooth fairies. Teach them of the even more immensely magical world of giraffes and the things that can be seen in a microscope. Teach them not of the supernatural “magic” of miracles, but the real magic of science. Teach them of human history, not 2000 year old fairy tales. This rhino? This is the consequence laid most bare of the ugliest manifestation of human superstition. Perhaps it isn’t as profound as all the human suffering caused by wars, motivated by precisely the same intellectual failings, but it stands as the starkest possible reminder that we as a species have, within our power, the ability to manage our world, or destroy it through ignorance.

It could not have been said better.