<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title>Alberto Santini</title>
		<description>My blog</description>
		<link>http://santini.in/</link>
		
		  
			  <item>
				  <title>How is religion correlated with poverty</title>
				  <description>&lt;p&gt;&lt;a href=&quot;http://www.ritholtz.com/blog/2010/09/religions-correlation-with-poverty/&quot;&gt;Here is&lt;/a&gt; a wonderful infographic showing how religion correlates with poverty in various countries allover the world. The general trend, as clearly visible, is that the poorer the country the more important religion is in people&amp;#8217;s life. Notable exceptions? The United States and Italy, despite having a good G.D.P. per capita are yet under the yoke of religious beliefs; on the other hand, former soviet republics&amp;#8217; citizens don&amp;#8217;t care too much about religion even if their countries suffer of great economical problems.&lt;/p&gt;</description>
				  <link>http://santini.in/How-is-religion-correlated-with-poverty</link>
			  </item>
			
		
		  
			  <item>
				  <title>Two amazing video footages from more than 100 years ago</title>
				  <description>&lt;p class=&quot;embedded-content-container&quot;&gt;&lt;iframe title=&quot;YouTube video player&quot; width=&quot;480&quot; height=&quot;390&quot; src=&quot;http://www.youtube.com/embed/n-4R72jTb74?rel=0&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;&lt;/p&gt;
&lt;p&gt;The first has been shot by Thomas Edison (!!) at Paris 1900 Universal Exposition (Exposition Universelle) and features, a part from amazed and somewhat funny people posing in front of the camera, a brand new Tour Eiffel.&lt;/p&gt;
&lt;p class=&quot;embedded-content-container&quot;&gt;&lt;iframe src=&quot;http://player.vimeo.com/video/15406401&quot; width=&quot;580&quot; height=&quot;400&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;&lt;/p&gt;
&lt;p&gt;This second, breathtaking, one shows San Francisco just a few days after the 1906 earthquake.&lt;/p&gt;</description>
				  <link>http://santini.in/Two-amazing-video-footages-from-more-than-100-years-ago</link>
			  </item>
			
		
		  
			  <item>
				  <title>Fail quickly, recover even more quickly</title>
				  <description>&lt;p&gt;&lt;a href=&quot;http://www.fastcodesign.com/1663488/wanna-solve-impossible-problems-find-ways-to-fail-quicker&quot;&gt;This&lt;/a&gt; wonderful piece by Aza Raskin of FastCo explain how a problem as big as human-powered flight has been challenged and solved just by finding ways to fail quicker.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The problem was the process itself. And a negative side effect was the blind pursuit of a goal without a deeper understanding of how to tackle deeply difficult challenges.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Isn&amp;#8217;t it, after all, the same core principle behind being agile and lean in software development?&lt;/p&gt;</description>
				  <link>http://santini.in/Fail-quickly-recover-even-more-quickly</link>
			  </item>
			
		
		  
			  <item>
				  <title>When one says &ldquo;Well served by public transport&rdquo;</title>
				  <description>&lt;p&gt;Is your local market &lt;em&gt;so&lt;/em&gt; well served by public transport?&lt;/p&gt;
&lt;p class=&quot;embedded-content-container&quot;&gt;&lt;iframe src=&quot;http://player.vimeo.com/video/17318076&quot; width=&quot;580&quot; height=&quot;400&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;&lt;/p&gt;</description>
				  <link>http://santini.in/When-one-says-well-served-by-public-transport</link>
			  </item>
			
		
		  
			  <item>
				  <title>Two indie short movies worth watching</title>
				  <description>&lt;p class=&quot;embedded-content-container&quot;&gt;&lt;iframe src=&quot;http://player.vimeo.com/video/19115071&quot; width=&quot;580&quot; height=&quot;400&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;&lt;/p&gt;
&lt;p&gt;Even if entirely different, both &lt;a href=&quot;http://www.thomasbealecipher.com/&quot;&gt;The Thobas Beale cipher&lt;/a&gt; and &lt;a href=&quot;http://www.theexternalworld.com/&quot;&gt;The external world&lt;/a&gt; are two indie produced short movies definitely worth watching.&lt;/p&gt;
&lt;p class=&quot;embedded-content-container&quot;&gt;&lt;iframe src=&quot;http://player.vimeo.com/video/19723116&quot; width=&quot;580&quot; height=&quot;400&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;&lt;/p&gt;</description>
				  <link>http://santini.in/Two-indie-short-movies-worth-watching</link>
			  </item>
			
		
		  
			  <item>
				  <title>Yep, he's on the moon all right. I've got to go after him.</title>
				  <description>&lt;p class=&quot;embedded-content-container&quot;&gt;&lt;iframe title=&quot;YouTube video player&quot; width=&quot;480&quot; height=&quot;390&quot; src=&quot;http://www.youtube.com/embed/CWYYkF6DOnk?rel=0&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;&lt;/p&gt;
&lt;p&gt;This episode of &lt;em&gt;Gumby&lt;/em&gt;, titled &amp;ldquo;Gumby on the moon&amp;rdquo;, seems to have more profound philosophical relevance than one can imagine, as pointed out by &lt;a href=&quot;http://mediumlarge.wordpress.com/2011/03/23/inessential-film-critique-gumby-on-the-moon/&quot;&gt;Medium Large&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;No other film has ever been so frighteningly unequivocal in it&amp;#8217;s simple yet brutal philosophy: the point of life is to keep living.&lt;br /&gt;
&amp;#91;&amp;hellip;&amp;#93;&lt;br /&gt;
the very battle of wits between our hero and his attackers makes us question if our enemies are the results of our actions or does our very existence begat combatants.&lt;/p&gt;
&lt;/blockquote&gt;</description>
				  <link>http://santini.in/Yep-he-s-on-the-moon-alright</link>
			  </item>
			
		
		  
			  <item>
				  <title>A paradox by Raymond Smullyan</title>
				  <description>&lt;p&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Raymond_Smullyan&quot;&gt;Raymond Smullyan&lt;/a&gt; is, among the other things, quite fond of paradoxes and logical oddities. I remember I eagerly read his book &amp;ldquo;The riddle of Sheherazade&amp;rdquo; when I was fourteen or so and it caused me hours and hours of amusement. Here is one of his moral paradoxes.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;At a desert oasis, A and B decide independently to murder C. A poisons C&amp;#8217;s canteen, and later B punches a hole in it. C dies of thirst. Who killed him?&lt;br /&gt;
A argues that C never drank the poison. B claims that he only deprived C of poisoned water. They&amp;#8217;re both right, but still C is dead. Who&amp;#8217;s guilty?&lt;/p&gt;
&lt;/blockquote&gt;</description>
				  <link>http://santini.in/A-paradox-by-Raymond-Smullyan</link>
			  </item>
			
		
		  
			  <item>
				  <title>The photographic proof of time travel</title>
				  <description>&lt;p&gt;This photo is titled &amp;ldquo;Reopening of the South Fork Bridge after flood in Nov. 1940 / 1941&amp;rdquo; and can be found at the &lt;a href=&quot;http://www.museevirtuel-virtualmuseum.ca/Search.do?R=VE_1458&amp;amp;lang=en&amp;amp;ex=on&quot;&gt;Bralorne-Pioneer Museum&lt;/a&gt;. Don&amp;#8217;t you notice something odd?&lt;/p&gt;
&lt;p class=&quot;embedded-content-container&quot;&gt;&lt;a href=&quot;/imgs/chrononaut.png&quot; class=&quot;img-link&quot;&gt;&lt;img src=&quot;/imgs/chrononaut.png&quot; style=&quot;width: 580px;&quot; title=&quot;A chrononaut&quot; alt=&quot;A chrononaut&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Via &lt;a href=&quot;http://howtobearetronaut.com/&quot;&gt;How to be a retronaut&lt;/a&gt;&lt;/p&gt;</description>
				  <link>http://santini.in/The-photographic-proof-of-time-travel</link>
			  </item>
			
		
		  
			  <item>
				  <title>Self-replicating wooden machines</title>
				  <description>&lt;p&gt;I first became interested in &lt;a href=&quot;http://en.wikipedia.org/wiki/Abiogenesis&quot;&gt;albiogenesis&lt;/a&gt; some years ago, while reading the beautiful &lt;a href=&quot;http://en.wikipedia.org/wiki/Public_awareness_of_science&quot;&gt;divulgative&lt;/a&gt; book by &lt;a href=&quot;http://richarddawkins.net/&quot;&gt;Dawkins&lt;/a&gt; &amp;ldquo;The selfish gene&amp;rdquo; (a reading that must, of course, be followed by the one of &amp;ldquo;The extended phenotype&amp;rdquo; and &amp;ldquo;The blind watchmaker&amp;rdquo;).&lt;br /&gt;
There is a lot to say about the subject and &amp;mdash; because of the peculiar topic treated &amp;mdash; also some degree of uncertainty, which results in the coexistence of various models that try to explain how life can have arose from inorganic matter.&lt;/p&gt;
&lt;p class=&quot;embedded-content-container&quot;&gt;&lt;iframe src=&quot;http://player.vimeo.com/video/10297756&quot; width=&quot;580&quot; height=&quot;400&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;&lt;/p&gt;
&lt;p&gt;A very simplified version of one of those models, put in terms that would scare a &lt;em&gt;serious&lt;/em&gt; albiogenist, is the following: for some reason (mainly the availability of a huge amount of time) some of the component molecules of the primordial soup &amp;mdash; say, the molecules in the form &lt;code&gt;A-B&lt;/code&gt; &amp;mdash; managed to be arranged in particular shapes with the property that, whenever they found in their proximity the proper components &amp;mdash; say molecule &lt;code&gt;A&lt;/code&gt; and molecule &lt;code&gt;B&lt;/code&gt; &amp;mdash; they were able to attract them and arrange them in the very same shape, so that at the end of the process we would have two identical molecules &lt;code&gt;A-B&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Of course, this process is not that straightforward and at some point a slightly different molecules could have been produced (like molecule &lt;code&gt;C-B&lt;/code&gt; or molecule &lt;code&gt;A-B-A-B&lt;/code&gt;) and after a while, there were a lot of those &lt;strong&gt;replicant&lt;/strong&gt; molecules around. During this casual &lt;em&gt;mutations&lt;/em&gt; some of them may have developed the ability to actually attack other molecules: if the aggressive molecule &lt;code&gt;A-B&lt;/code&gt; would have encountered molecule &lt;code&gt;A-B-C&lt;/code&gt;, it could have managed to split its bonds and then used &lt;code&gt;A&lt;/code&gt; and &lt;code&gt;B&lt;/code&gt; to create another copy of itself, leaving &lt;code&gt;C&lt;/code&gt; to swim alone in the primordial soup.&lt;/p&gt;
&lt;p&gt;In a similar fashion, some molecule could have developed a way to protect itself from such aggressions &amp;mdash; say, by enclosing &lt;code&gt;A-B&lt;/code&gt; in a thick shell of @C@s &amp;mdash; and the idea is that those kind of attack and protection mechanism would have slowly become so evolved to be called &lt;em&gt;living being&lt;/em&gt;.&lt;/p&gt;
&lt;p class=&quot;embedded-content-container&quot;&gt;&lt;iframe src=&quot;http://player.vimeo.com/video/10298933&quot; width=&quot;580&quot; height=&quot;400&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;&lt;/p&gt;
&lt;p&gt;This is seems quite plausible, but not entirely intuitive, right? It would be nice if we could have some way to really visualize how such kind of replicant molecules could have formed and worked. Well, even if not exactly designed to show this, I found those two vintage videos by the &lt;a href=&quot;http://en.wikipedia.org/wiki/Galton_Laboratory&quot;&gt;Galton Laboratory&lt;/a&gt; quite inspiring in this sense and I hope that you will too.&lt;/p&gt;</description>
				  <link>http://santini.in/Self-replicating-wooden-machines</link>
			  </item>
			
		
		  
			  <item>
				  <title>Setting up and deploying a Jekyll blog in half an hour</title>
				  <description>&lt;h1&gt;The task&lt;/h1&gt;
&lt;p&gt;When I created this blog, I decided I didn&amp;#8217;t want to spend a lot of time setting up a webserver &amp;mdash; in my case this would have meant configuring fastcgi for nginx, including the startup scripts since they aren&amp;#8217;t provided with archlinux &amp;mdash; or, even worse, a dbms.&lt;br /&gt;
I wanted a quick way to start my blog, I wanted to deploy it easily and safely and to focus solely on writing, not on technical details of the blogging engine.&lt;/p&gt;
&lt;p&gt;So the requirements we&amp;#8217;re going to fulfill are:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Generation of static pages: &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt;. No &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt;/&lt;span class=&quot;caps&quot;&gt;CGI&lt;/span&gt;/RoR to be served.&lt;/li&gt;
	&lt;li&gt;Deployment as easy as typing &lt;code&gt;git push&lt;/code&gt;.&lt;/li&gt;
	&lt;li&gt;The blog must support pagination, categories and syntax highlighting of code snippets.&lt;/li&gt;
	&lt;li&gt;It must be ready to be used in half an hour.&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;Jekyll&lt;/h1&gt;
&lt;p&gt;&lt;a href=&quot;https://github.com/mojombo/jekyll&quot;&gt;Jekyll&lt;/a&gt; is a generator for static websites and &amp;mdash; in particular &amp;mdash; blogs. It works in a pretty simple way: you create a directory tree with layout files and posts, then tell Jekyll to work on it and it will produce a static website ready to be served by nginx, lighttpd, apache or whatever. The files you create can be &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt;, &lt;a href=&quot;http://daringfireball.net/projects/markdown/&quot;&gt;Markdown&lt;/a&gt; or &lt;a href=&quot;http://textile.thresholdstate.com/&quot;&gt;Textile&lt;/a&gt; with &lt;a href=&quot;https://github.com/tobi/liquid/&quot;&gt;liquid&lt;/a&gt; elements; for this blog, I decided to use HTML5 (with a touch of CSS3) for my layouts and Textile for the posts&amp;#8217; content.&lt;/p&gt;
&lt;p&gt;The directory tree must include a &lt;code&gt;_layouts&lt;/code&gt; and a &lt;code&gt;_posts&lt;/code&gt; folder, a &lt;code&gt;_config.yml&lt;/code&gt; and an &lt;code&gt;index.html&lt;/code&gt; (or &lt;code&gt;.markdown&lt;/code&gt; or &lt;code&gt;.textile&lt;/code&gt;) file. I also have an &lt;code&gt;_includes&lt;/code&gt; folder for shared pieces of code and &lt;code&gt;_extensions&lt;/code&gt; for my Jekyll extensions (see below). Apart from those, you can have every other folder in your website root, such as &lt;code&gt;stylesheets&lt;/code&gt;, &lt;code&gt;javascripts&lt;/code&gt; or &lt;code&gt;images&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;When you&amp;#8217;re ready, you just do a:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ jekyll&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;In your root folder and everything gets compiled and put in &lt;code&gt;_site&lt;/code&gt;.&lt;/p&gt;
&lt;h1&gt;Installing Jekyll (and extensions)&lt;/h1&gt;
&lt;p&gt;Jekyll provides by its own nature a very small set of features. It lacks, for example, support for categories or tags: something you can&amp;#8217;t label as a minor nuisance. So, a lot of people started forking it on Github and added the features they needed most. We won&amp;#8217;t do that (remember the half an hour goal?), but will instead use the &lt;a href=&quot;https://github.com/rfelix/jekyll_ext&quot;&gt;jekyll_ext&lt;/a&gt; gem, which gives Jekyll the ability to be extended in a modular and non invasive way. So, the first thing to do is just installing the proper gems on the server (and on our dev machine, in order to work locally):&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;# gem install jekyll jekyll_ext&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Also, we want to have fancy syntax highlighting when writing code; something like this:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;&lt;span class=&quot;k&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;collect&lt;/span&gt; &lt;span class=&quot;c1&quot;&gt;# :yield: e&lt;/span&gt;
  &lt;span class=&quot;n&quot;&gt;rows&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;vi&quot;&gt;@rows&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;collect&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;row&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;row&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;collect&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;yield&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}}&lt;/span&gt;
  &lt;span class=&quot;no&quot;&gt;Matrix&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;rows&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;rows&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kp&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;end&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;So we&amp;#8217;ll install the syntax highlighter &lt;a href=&quot;http://pygments.org/&quot;&gt;pygments&lt;/a&gt;, which is natively supported by Jekyll. Since the Python3 version is bugged (buggy Python software? what a surprise, wow&amp;hellip;), I had to install the Python2 version on the server:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;# pacman -S python2-pygments
# cd /usr/bin
# ln -s pygments2 pygments&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;On my development machine, on the contrary, everything worked good even with the newest pygments, so I just did a:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;# port install py-pygments&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Finally, remember that the executable for the &lt;em&gt;extended version&lt;/em&gt; of Jekyll is now &lt;code&gt;ejekyll&lt;/code&gt;, so you won&amp;#8217;t spend hours wondering why extensions are not working, if you keep using the &lt;code&gt;jekyll&lt;/code&gt; command.&lt;/p&gt;
&lt;h1&gt;Setting up the server&lt;/h1&gt;
&lt;p&gt;Here the main goal is to have a deployment process as easy and quick as possible. To achieve that, we&amp;#8217;ll use the power of git! We want our compiled website to be put in &lt;code&gt;~/public_html/blog&lt;/code&gt; on the server and the effort in going from the raw &lt;em&gt;source&lt;/em&gt; to a deployed website must be as much as typing&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ git push&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;To begin, let&amp;#8217;s setup a new git repository on the server:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ mkdir -p ~/git/blog
$ cd ~/git/blog
$ git --bare init&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Then, on the dev machine:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ cd ~/Sites
$ git clone user@server:git/blog
$ cd blog
$ echo &quot;_site&quot; &amp;gt; .gitignore&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;And we&amp;#8217;re ready to start writing. But, wait&amp;hellip; I have to keep the promise: deploying must be as easy as pushing on the repository. So, basically, we want the source compiled on the server each time we push it. Don&amp;#8217;t you feel like this is a perfect task for a git hook? I do! So let&amp;#8217;s create the hook on the server:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ cd ~/git
$ mkdir -p tmp/blog
$ cd blog/hooks
$ touch post-receive
$ chmod u+x post-receive&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Open it with your favorite text editor and let&amp;#8217;s do the magic:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;bash&quot;&gt;&lt;span class=&quot;c&quot;&gt;#!/bin/sh&lt;/span&gt;
&lt;span class=&quot;nv&quot;&gt;GIT_REPO&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$HOME&lt;/span&gt;/git/blog
&lt;span class=&quot;nv&quot;&gt;TMP_REPO&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$HOME&lt;/span&gt;/git/tmp/blog
&lt;span class=&quot;nv&quot;&gt;DEPLOY&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$HOME&lt;/span&gt;/public_html/blog

git clone &lt;span class=&quot;nv&quot;&gt;$GIT_REPO&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;$TMP_REPO&lt;/span&gt;
ejekyll --no-auto &lt;span class=&quot;nv&quot;&gt;$TMP_REPO&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;$DEPLOY&lt;/span&gt;
rm -Rf &lt;span class=&quot;nv&quot;&gt;$TMP_REPO&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;exit&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;Here we are: each time we push with git, our website gets compiled and put in place. So far, so good, but right now we have nothing to compile. Let&amp;#8217;s now install the extensions and configure Jekyll.&lt;/p&gt;
&lt;h1&gt;Using extensions&lt;/h1&gt;
&lt;p&gt;First of all we want to prepare the ground for the Jekyll extensions we want to use. We&amp;#8217;ll use some of &lt;a href=&quot;https://github.com/rfelix/my_jekyll_extensions/&quot;&gt;rfelix extensions&lt;/a&gt;, so on the dev machine we just clone them from his repository:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ cd ~/Sites/blog
$ clone https://github.com/rfelix/my_jekyll_extensions.git _extensions
$ rm -Rf _extensions/.git _extensions/README.textile&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Since I only want support for categories I removed every other extension a part from the following, but you can have a better idea on what you need and what you don&amp;#8217;t, by looking at each extension&amp;#8217;s description on the &lt;a href=&quot;https://github.com/rfelix/my_jekyll_extensions/&quot;&gt;github page&lt;/a&gt;.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ ls _extensions
category_gen  my_filters  tag_category_iterator&lt;/code&gt;&lt;/pre&gt;
&lt;h1&gt;Configuring Jekyll&lt;/h1&gt;
&lt;p&gt;Configuring Jekyll is very simple: everything needs to go in the &lt;code&gt;_config.yml&lt;/code&gt; file. Here we&amp;#8217;ll add support for pagination, syntax highlighting and permalinks:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;yaml&quot;&gt;&lt;span class=&quot;l-Scalar-Plain&quot;&gt;pygments&lt;/span&gt;&lt;span class=&quot;p-Indicator&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;l-Scalar-Plain&quot;&gt;true&lt;/span&gt;
&lt;span class=&quot;l-Scalar-Plain&quot;&gt;paginate&lt;/span&gt;&lt;span class=&quot;p-Indicator&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;l-Scalar-Plain&quot;&gt;10&lt;/span&gt;
&lt;span class=&quot;l-Scalar-Plain&quot;&gt;permalink&lt;/span&gt;&lt;span class=&quot;p-Indicator&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;l-Scalar-Plain&quot;&gt;/:title&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;Permalink specifies the format of the &lt;span class=&quot;caps&quot;&gt;URL&lt;/span&gt; to access your posts. A more popular choice would maybe have been:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;yaml&quot;&gt;&lt;span class=&quot;l-Scalar-Plain&quot;&gt;permalink&lt;/span&gt;&lt;span class=&quot;p-Indicator&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;l-Scalar-Plain&quot;&gt;/:categories/:year/:month/:day/:title&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;Which is provided by default via the keyword&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;yaml&quot;&gt;&lt;span class=&quot;l-Scalar-Plain&quot;&gt;permalink&lt;/span&gt;&lt;span class=&quot;p-Indicator&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;l-Scalar-Plain&quot;&gt;pretty&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;h1&gt;Conclusions&lt;/h1&gt;
&lt;p&gt;From now on, it&amp;#8217;s just a matter of writing layouts and the actual posts, taking full advantage of the extensions; so&amp;hellip; the only limit is your fantasy!&lt;/p&gt;</description>
				  <link>http://santini.in/Setting-up-and-deployin-a-Jekyll-blog-in-half-an-hour</link>
			  </item>
			
		
		  
			  <item>
				  <title>When a hard hat gets bored</title>
				  <description>&lt;p&gt;When a hard hat gets bored and there&amp;#8217;s a TV network in his proximity, this is what happens.&lt;/p&gt;
&lt;p class=&quot;embedded-content-container&quot;&gt;&lt;iframe title=&quot;YouTube video player&quot; width=&quot;480&quot; height=&quot;390&quot; src=&quot;http://www.youtube.com/embed/RobaJKGMMiE&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;&lt;/p&gt;</description>
				  <link>http://santini.in/When-a-hard-hat-gets-bored</link>
			  </item>
			
		
	</channel>
</rss>

