<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Memory Dump</title>
	<atom:link href="http://www.lorenzogil.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lorenzogil.com/blog</link>
	<description>a brain backup</description>
	<lastBuildDate>Tue, 07 May 2013 20:53:13 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>New laptop setup</title>
		<link>http://www.lorenzogil.com/blog/2013/04/07/new-laptop-setup/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=new-laptop-setup</link>
		<comments>http://www.lorenzogil.com/blog/2013/04/07/new-laptop-setup/#comments</comments>
		<pubDate>Sun, 07 Apr 2013 18:41:03 +0000</pubDate>
		<dc:creator>lgs</dc:creator>
				<category><![CDATA[Ordenadores]]></category>

		<guid isPermaLink="false">http://www.lorenzogil.com/blog/?p=427</guid>
		<description><![CDATA[I just bought a brand new Lenovo T430s with the following specs: Intel i7-3520M (2.9 Ghz), 16 GB RAM, 180GB SDD + 500GB HDD, Intel 4000, 14&#8221; Screen and so on. I wanted to have a dual OS configuration since the machine cames with Windows 7 Professional and even thought I don&#8217;t use it in [...]]]></description>
				<content:encoded><![CDATA[<p>I just bought a brand new Lenovo T430s with the following specs: Intel i7-3520M (2.9 Ghz), 16 GB RAM, 180GB SDD + 500GB HDD, Intel 4000, 14&#8221; Screen and so on. I wanted to have a dual OS configuration since the machine cames with Windows 7 Professional and even thought I don&#8217;t use it in a daily basis I still have to boot it when filling up taxes or playing some games. In this post I will explain all those non trivial steps to get an optimized system up and running.</p>
<p><a href="http://www.lorenzogil.com/blog/wp-content/uploads/2013/04/IMG_1783.jpg"><img src="http://www.lorenzogil.com/blog/wp-content/uploads/2013/04/IMG_1783-e1367956176553-200x300.jpg" alt="Abriendo el portatil nuevo" width="200" height="300" class="aligncenter size-medium wp-image-447" /></a></p>
<h3>Cleaning the Windows mess</h3>
<p>One of the things that was not very nice when I first boot the laptop was discovering how the main drive (180GB) had only 110 GB free. Yes, that means the operating system and initial applications were filling 70GB of my precious SDD!!!  Time to do some cleanups</p>
<p>First, I removed a bunch of software crap that was installed by Lenovo &amp; friends. Intel apps marketplace, Corel DVD player, Corel video editing and other pearls like this.</p>
<p>Then I copied the restore partition into another media. In my case, I used a spare 32GB micro SD which I plan to connect to a USB adapter so I can boot the computer with it. I also tried to copy this data into 3 DVDs just in case but unfortunatly Windows only lets you do a backup, not two. Absolutely stupid.</p>
<p>I installed the free software <a href="http://windirstat.info/">WinDirStat</a> (which is similar to the GNOME baobab program) to learn what files and directories were eating all the space. A misterious <em>hiberfil.sys</em> in the root directory was taking a lot of space. Google told me this file is used for hibernating.</p>
<p>Then I disabled hibernating since that needs a lot of space and I don&#8217;t plan to hibernate in Windows. To do so  I opened the Start Menu, click on <b>All Programs</b> and <b>Accessories</b>, right click on <b>Command Prompt</b>, and click on <b>Run as administrator</b>. Then I run the following command:</p>
<pre>powercfg -h off</pre>
<p>That saved around 16GB!!</p>
<p>Next, I removed the page file since having 16 GB of RAM is quite enough these days for a sporadic use. For doing so this is the set of steps you need to accomplish:</p>
<ul>
<li>Control Panel, System</li>
<li>Advanced System Settings</li>
<li>Advanced Tab</li>
<li>Settings button under Performance</li>
<li>Advanced Tab</li>
<li>Change button under Virtual Memory</li>
<li>On your SSD drive, change the option to &#8220;No Paging File&#8221;.</li>
<li>Click Set.</li>
<li>OK and reboot.</li>
</ul>
<p>After the reboot I had another 10GB available.</p>
<p>So now I had only 30GB used and it was time to shrink the partition to make space for Linux. I tried to do so with Windows disk manager but it wouldn&#8217;t let me resize beyond 60GB (and I defrag this partition several times without success) and it also didn&#8217;t let me remove a 8GB &#8220;Hibernate&#8221; partition. So I tried <a href="http://www.easeus.com/partition-manager/">EaseUS Partition Master 9.2.2</a> and it worked perfectly without any problems.</p>
<p>I also created a 50GB NTFS partition in my second drive (the hard drive) so I can install games and other programs in Windows.</p>
<h3>Installing and configuring Fedora Linux</h3>
<p>I tried booting a Live Image from a USB memory and it worked fine except for the installer application. I know Anaconda (the Fedora installer) has been rewritten from scratch and that has been the main reason for the big Fedora 18 delay and it&#8217;s also the main reason people are complaining about the installation of Fedora 18. I think the previous Anaconda was way more solid and stable but if we need a better and easier user experience some innovation need to happen and as always, the first release of a complete rewrite can be much  more polished. Let&#8217;s hope Fedora 19 does not have these problems.</p>
<p>Anyway, I copied a netinstall image on my USB memory and after fighting the partition step I finally managed to install the whole thing in less than an hour. The partition is just fine if you want just the defaut layout, which was not my case. In the SSD drive I created a small 500MB boot partition and I used all the other space (around 120GB) as the root partition (/) for Fedora. I left my 500GB hard drive untouched in the installation step.</p>
<p>Having a SSD primary hard drive is really nice, specially since it makes boot time really small <img src='http://www.lorenzogil.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  In order to keep its performance good as long as possible I activated the trim support and disabled storing modification times in the journal of the file system. This means adding noatime,nodiratime,discard to the options field of the /etc/fstab:</p>
<pre>/dev/mapper/luks-23c07605-9f7e-406b-bc46-9ae15bd9b959	/		ext4    x-systemd.device-timeout=0,noatime,nodiratime,discard 1 1
UUID=8929f3e3-857c-45f9-92b8-cedfcf544774		/boot		ext4    noatime,nodiratime,discard        	1 2</pre>
<p>The first thing I did after the initial boot was mounting several directories in RAM:</p>
<pre>/dev/mapper/luks-23c07605-9f7e-406b-bc46-9ae15bd9b959	/		ext4    x-systemd.device-timeout=0,noatime,nodiratime,discard 1 1
UUID=8929f3e3-857c-45f9-92b8-cedfcf544774		/boot		ext4    noatime,nodiratime,discard        	1 2
tmpfs                                                   /tmp            tmpfs   defaults,noatime,nodiratime,mode=1777   0 0
tmpfs                                                   /var/spool      tmpfs   defaults,noatime,nodiratime,mode=1777   0 0
tmpfs                                                   /var/tmp        tmpfs   defaults,noatime,nodiratime,mode=1777   0 0</pre>
<p>In order to make SELinux work with /var/spool I had to add the following command in the /etc/rc.local file:</p>
<pre>cat /etc/rc.local 
#!/bin/sh

# For SELinux. 2013-04-27 (lgs)
/sbin/restorecon -R /var/spool</pre>
<p>I also changed the default IO scheduler to the &#8220;deadline&#8221; scheduler but only in the primary drive. For this reason I did this change in the /etc/rc.local file and not in the kernel boot parameters.</p>
<pre>cat /etc/rc.local 
#!/bin/sh

# For SELinux. 2013-04-27 (lgs)
/sbin/restorecon -R /var/spool

# IO deadline scheduler for ssd devices
echo deadline > /sys/block/sda/queue/scheduler</pre>
<p>After that I partitioned the remaining space of the second hard drive. I created a 2GB swap partition. I know I will rarely need swap having 16GB of RAM but I followed <a href="http://www.ant30.es/">Antonio&#8217;s</a> advice because some programs still make use of swap and if there is no swap space they crash giving you very difficult to debug headaches. That left me with more than 400 GB on the second hard drive for Linux big files. This is how my final /etc/fstab looks like:</p>
<pre># The x-systemd.device-timeout=0 is for encrypted filesystems. See https://bugzilla.redhat.com/show_bug.cgi?id=861123
/dev/mapper/luks-23c07605-9f7e-406b-bc46-9ae15bd9b959	/		ext4    x-systemd.device-timeout=0,noatime,nodiratime,discard 1 1
UUID=8929f3e3-857c-45f9-92b8-cedfcf544774		/boot		ext4    noatime,nodiratime,discard        	1 2
UUID=26644947-8a4a-4fb4-a619-80f2f1693c57		/mnt/hdd	ext4	defaults				1 2
tmpfs							/tmp		tmpfs	defaults,noatime,nodiratime,mode=1777	0 0
tmpfs							/var/spool	tmpfs	defaults,noatime,nodiratime,mode=1777	0 0
tmpfs							/var/tmp	tmpfs	defaults,noatime,nodiratime,mode=1777	0 0
UUID=b7feeaef-260e-422f-9c4e-dc6cbaa07463		swap		swap	defaults				0 0</pre>
<p>The next thing I did was symlinking the ~/.cache directory to /tmp which is mounted in RAM:</p>
<pre>[lgs@t430s ~]$  ls -l .cache
lrwxrwxrwx. 1 lgs lgs 16 abr 28 10:33 .cache -> /tmp/lgs/.cache/</pre>
<p>This was made so Chromium would not trash my precious SSD disk with its cache needs but there are a bunch of other programs that also use this .cache directory (tracker, shotwell, rhythmbox, etc.) so it&#8217;s even better. With Firefox is simpler since all you need to do is change the setting browser.cache.disk.parent_directory and point it to /tmp/lgs:</p>
<p><a href="http://www.lorenzogil.com/blog/wp-content/uploads/2013/04/Captura-de-pantalla-de-2013-05-07-211652.png"><img src="http://www.lorenzogil.com/blog/wp-content/uploads/2013/04/Captura-de-pantalla-de-2013-05-07-211652-300x165.png" alt="Firefox cache setting" width="300" height="165" class="aligncenter size-medium wp-image-442" /></a></p>
<p>But wait, there is a problem about linking ~/.cache into /tmp/lgs/.cache since the /tmp directory is mounted in RAM its contains disappear after a reboot. So I created a GNOME init script that create this directory when starting the GNOME session:</p>
<pre>[lgs@t430s ~]$ cat .config/autostart/0001-mkdir.desktop 
[Desktop Entry]
Type=Application
Exec=/usr/bin/mkdir -p /tmp/lgs/.cache
Hidden=false
X-GNOME-Autostart-enabled=true
Name[es_ES]=001 Create cache in /tmp
Name=001 Create cache in /tmp
Comment[es_ES]=
Comment=</pre>
<p>Note the name of the file (0001-mkdir.desktop). It is important since it needs to be executed very early in the startup session.</p>
<p>I also symlinked my multimedia directories into the second hard drive since they fill up my SSD drive very quickly:</p>
<pre>[lgs@t430s ~]$ ls -l
lrwxrwxrwx.  1 lgs lgs      26 abr 28 10:57 Música -> /mnt/hdd/home/lgs/Música/
lrwxrwxrwx.  1 lgs lgs      26 abr 28 10:58 Vídeos -> /mnt/hdd/home/lgs/Vídeos/</pre>
<p>Some other directories are very write intensive. I&#8217;m talking about the Downloads directory (heavily used by browsers and Bit Torrent clients) and the Mail directory (heavily used by offlineimap).</p>
<pre>[lgs@t430s ~]$ ls -l
lrwxrwxrwx.  1 lgs lgs      28 abr 28 10:56 Descargas -> /mnt/hdd/home/lgs/Descargas/
lrwxrwxrwx   1 lgs lgs      23 abr 29 19:58 Mail -> /mnt/hdd/home/lgs/Mail/</pre>
<p>I also symlinked the /var/log directory to the second hard drive in order to avoid writes in the SSD drive.</p>
<pre>[lgs@t430s ~]$ ls /var/ -l
lrwxrwxrwx.  1 root root   17 abr 28 17:39 log -> /mnt/hdd/var/log/</pre>
<p><a href="http://www.lorenzogil.com/blog/wp-content/uploads/2013/04/IMG_1790.jpg"><img src="http://www.lorenzogil.com/blog/wp-content/uploads/2013/04/IMG_1790-300x200.jpg" alt="Vista frontal" width="300" height="200" class="aligncenter size-medium wp-image-448" /></a></p>
<p>Some useful links:</p>
<ul>
<li><a href="http://www.mysolutions.it/linux-ssd-solid-state-drive/">http://www.mysolutions.it/linux-ssd-solid-state-drive/</a></li>
<li><a href="http://apcmag.com/how-to-maximise-ssd-performance-with-linux.htm">http://apcmag.com/how-to-maximise-ssd-performance-with-linux.htm</a></li>
<li><a href="https://wiki.archlinux.org/index.php/Solid_State_Drives">https://wiki.archlinux.org/index.php/Solid_State_Drives</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.lorenzogil.com/blog/2013/04/07/new-laptop-setup/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Yith Library</title>
		<link>http://www.lorenzogil.com/blog/2013/01/13/yith-library/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=yith-library</link>
		<comments>http://www.lorenzogil.com/blog/2013/01/13/yith-library/#comments</comments>
		<pubDate>Sun, 13 Jan 2013 19:50:56 +0000</pubDate>
		<dc:creator>lgs</dc:creator>
				<category><![CDATA[Ordenadores]]></category>

		<guid isPermaLink="false">http://www.lorenzogil.com/blog/?p=418</guid>
		<description><![CDATA[In the last few months I&#8217;ve been working on a pet project with the help of Alejandro Blanco. We call it the Yith Library and it is a open source web password manager. It all started as an experiment in our daytime job. Following the trail of our friends at Kaleidos we participated in the [...]]]></description>
				<content:encoded><![CDATA[<p>In the last few months I&#8217;ve been working on a pet project with the help of <a href="http://mensab.com/">Alejandro Blanco</a>. We call it the <a href="http://yithlibrary.com/">Yith Library</a> and it is a open source web password manager.</p>
<div class="wp-caption aligncenter" style="width: 280px"><img alt="" src="https://yithlibrary.herokuapp.com/static/img/yithian.png" width="270" height="368" /><p class="wp-caption-text">A Yithian is our beloved mascot</p></div>
<p>It all started as an experiment in our daytime job. Following the trail of our friends at <a href="http://kaleidos.net/">Kaleidos</a> we participated in the second <a href="http://piweek.es/?page_id=2">PI Week</a> back in July 2012. In this week we got a chance for doing things non related to our regular projects in order to foster innovation. Alex and me decided to work on a web password manager which was something we needed as an excuse to learn cool things like Ember.js, crypto javascript libraries, Pyramid, MongoDB and Oauth2 technologies among many things.</p>
<p>At the end of that week we got something working but too raw and clunky to use for anybody other than Alex or me. Since that day we have invested many hours from our free time and we now think it can be valuable to other people so that&#8217;s why I&#8217;m announcing it. No need to say it is far from being finished and we have plenty of ideas to keep it improving. But having an initial release and publishing it is something we really wanted to do for a long time.</p>
<p>Yith Library&#8217;s developers use it as our current password manager. We like dogfooding ourselves and that&#8217;s why we think it is ready to keep your secrets secure too. <a href="http://yithlibrary.com/">Give it a try and tell us what you think!</a> We&#8217;d love to hear your feedback.</p>
<p>Now for the mandatory links:</p>
<ul>
<li><a href="https://github.com/Yaco-Sistemas/yith-library-server">Server source code</a></li>
<li><a href="https://github.com/Yaco-Sistemas/yith-library-web-client">Web client source code</a></li>
<li><a href="http://packages.python.org/yith-library-server/">Server documentation</a></li>
<li><a href="http://pypi.python.org/pypi/yith-library-server">PyPI page</a></li>
<li><a href="http://yithlibrary.com/">Live site</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.lorenzogil.com/blog/2013/01/13/yith-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Construyendo una impresora 3D (Parte 1)</title>
		<link>http://www.lorenzogil.com/blog/2012/10/10/construyendo-una-impresora-3d-parte-1/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=construyendo-una-impresora-3d-parte-1</link>
		<comments>http://www.lorenzogil.com/blog/2012/10/10/construyendo-una-impresora-3d-parte-1/#comments</comments>
		<pubDate>Wed, 10 Oct 2012 19:35:53 +0000</pubDate>
		<dc:creator>lgs</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lorenzogil.com/blog/?p=406</guid>
		<description><![CDATA[Hace algún tiempo me picó el gusanillo de la electrónica para gente que no tiene ni idea de electrónica. Sí, estoy hablando del mundo de los Arduinos. Tras hacerme con un Arduino UNO y hacer un par de chorradas me he propuesto hacer un proyecto un poco más serio. Aunque conocía el proyecto RepRap, que [...]]]></description>
				<content:encoded><![CDATA[<p>Hace algún tiempo me picó el gusanillo de la electrónica para gente que no tiene ni idea de electrónica. Sí, estoy hablando del mundo de los Arduinos. Tras hacerme con un Arduino UNO y hacer un par de chorradas me he propuesto hacer un proyecto un poco más serio.</p>
<p><iframe src="http://player.vimeo.com/video/44987011" frameborder="0" width="550" height="400"></iframe></p>
<p>Aunque conocía el <a href="http://www.reprap.org/">proyecto RepRap</a>, que consiste básicamente en hacer máquinas autoreplicables, hace poco descubrí el subproyecto &#8220;<a href="http://www.reprap.org/wiki/Proyecto_Clone_Wars">Guerra de los Clones</a>&#8220;.Desde el primer momento me cautivó el tono Geek y el sentido del humor de este proyecto. Fue el último empujón que necesitaba para decidirme a construir mi propia impresora <a href="http://www.reprap.org/wiki/Clone_wars:_Prusa_Iteraci%C3%B3n_2">Prusa Mendel 2</a>.</p>
<p>Con la ayuda de los magníficos <a href="http://www.iearobotics.com/wiki/index.php?title=Guia_de_montaje_de_la_Prusa_2">tutoriales del amigo Obijuan</a> y algún padrino que me done las piezas me dispongo a afrontar esta aventura.</p>
<div id="attachment_411" class="wp-caption aligncenter" style="width: 288px"><a href="http://www.lorenzogil.com/blog/wp-content/uploads/2012/10/Prusa2-Blender-1.png"><img class="size-medium wp-image-411" title="Prusa Mendel Iteración 2" src="http://www.lorenzogil.com/blog/wp-content/uploads/2012/10/Prusa2-Blender-1-278x300.png" alt="" width="278" height="300" /></a><p class="wp-caption-text">Esta es la impresora que me dispongo a fabricar</p></div>
<p>¡Que la prusa me acompañe!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lorenzogil.com/blog/2012/10/10/construyendo-una-impresora-3d-parte-1/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Viaje a Islandia</title>
		<link>http://www.lorenzogil.com/blog/2012/05/26/viaje-a-islandia/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=viaje-a-islandia</link>
		<comments>http://www.lorenzogil.com/blog/2012/05/26/viaje-a-islandia/#comments</comments>
		<pubDate>Sat, 26 May 2012 19:54:34 +0000</pubDate>
		<dc:creator>lgs</dc:creator>
				<category><![CDATA[Viajes]]></category>
		<category><![CDATA[Yaco]]></category>

		<guid isPermaLink="false">http://www.lorenzogil.com/blog/?p=382</guid>
		<description><![CDATA[Esta semana he estado en Islandia por motivos de trabajo. Han sido 6 días fuera de casa en los que no he parado de ver a amigos y también de conocer a gente nueva, de revisitar ciudades como Londres y de conocer otras nuevas como Reyjkavic. Lo más negativo, como siempre, es viajar con vuelos [...]]]></description>
				<content:encoded><![CDATA[<p>Esta semana he estado en <a href="http://www.yaco.es/blog/uniquid/2012/05/estuvimos-en-tnc-2012/">Islandia por motivos de trabajo</a>. Han sido 6 días fuera de casa en los que no he parado de ver a amigos y también de conocer a gente nueva, de revisitar ciudades como Londres y de conocer otras nuevas como Reyjkavic. Lo más negativo, como siempre, es viajar con vuelos super baratos que te obligan a ir o llegar a los aeropuertos a horas intempestivas, lo cuál se traduce en una falta de sueño que se va acumulando en todo el viaje.</p>
<p>El viernes pasado llegue a Londres sobre las 11:30 de la noche y tuve que coger primero un autobus y luego un taxi para llegar a casa de Pablo y Rosa, que amablemente me invitaron a pasar la noche en su casa. Me alegra mucho saber que les va tan bien a los dos. Pablo trabaja para <a href="http://p.ota.to/">Potato</a>, y hacen muchos proyectos para Google, la mayoría sobre Google App Engine. Rosa trabaja en una empresa empresa de marketing, en el departamento de desarrollo, y está aprendiendo un montón sobre tecnologías de frontend como CSS3 y Javascript. Los dos están muy contentos viviendo en Londres y es que han escogido un barrio estupendo: Putney Bridge.</p>
<div id="attachment_390" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.lorenzogil.com/blog/wp-content/uploads/2012/05/IMG_20120519_142412.jpg"><img class="size-medium wp-image-390" title="Pablo y Rosa en Borough's Market" src="http://www.lorenzogil.com/blog/wp-content/uploads/2012/05/IMG_20120519_142412-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">Pablo y Rosa en Borough&#39;s Market</p></div>
<p>El sábado estuvimos todo el día paseando y me llevaron al mercado Borough, totalmente nuevo para mí. Es un sitio estupendo con muchísimos puestos de delicatessen y comidas caseras. Comimos empanadillas de verduras y pollo, zumos tropicales y postres de chocolate que parecían haber sido cocinados por el mismísimo Willy Wonka. Luego me llevaron a la librería Foyles y no pude resistir la tentación de comprar el libro <a href="http://www.amazon.com/Adrenaline-Junkies-Template-Zombies-Understanding/dp/0932633676">Adrenaline Junkies and Template Zombies</a>, de Tom DeMarco y otros. Trata sobre malas prácticas en proyectos y cómo evitarlas.</p>
<p>Finalmente fuimos a un pub Inglés y cenamos en un restaurante oriental. Un día genial con muy buena compañia.</p>
<p>Esa misma noche sólo dormí unas pocas horas porque a las 6 tenía que estar en Luton para coger mi vuelo a Islandia. Como el Chelsea había ganado ese día en las calles había bastante gente celebrándolo, en la medida que el acohol que habían bebido se lo permitía. Lo más alucinante fue que ví un zorro en un callejón de Londres! Tras varias combinaciones de autobuses conseguí llegar a Luton a tiempo y allí poder coger el avión.</p>
<div id="attachment_392" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.lorenzogil.com/blog/wp-content/uploads/2012/05/IMG_20120520_190017.jpg"><img class="size-medium wp-image-392" title="Lago en el centro de Reykjavik" src="http://www.lorenzogil.com/blog/wp-content/uploads/2012/05/IMG_20120520_190017-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">Lago en el centro de Reykjavik</p></div>
<p>Nada más llegar a Keflavik, donde está el aeropuerto internacional de Islandia, me dí cuenta de que hacía un tiempo excepcional sin una sola nube y con un sol espléndido. He tenido una suerte increible porque en todos estos días se ha mantenido este tiempo. Otra cosa fenómena fue la Wifi gratuita del autobus que nos llevó a Reyjkavic. Hay dos empresas de autobuses que operan entre el aeropuerto y la capital pero sólo una de ellas tiene Wifi en sus autobuses así que acerté al elegir <a href="http://www.re.is/Flybus/">FlyBus</a>. Otro acierto fue el alojamiento. Era un pequeño apartamento con cocina baño y dormitorio al que no le faltaba detalle. Incluso te dan un móvil local para que te lo lleves y puedas hacer llamadas locales a muy bajo coste. El sitio se llama <a href="http://www.reykjavik4you.com/">Reykjavik4you</a> y lo recomiendo 100%. Pero basta de publicidad gratuita.</p>
<div id="attachment_393" class="wp-caption aligncenter" style="width: 235px"><a href="http://www.lorenzogil.com/blog/wp-content/uploads/2012/05/IMG_20120520_234442.jpg"><img class="size-medium wp-image-393" title="Catedral de frente" src="http://www.lorenzogil.com/blog/wp-content/uploads/2012/05/IMG_20120520_234442-225x300.jpg" alt="" width="225" height="300" /></a><p class="wp-caption-text">Catedral de frente</p></div>
<div id="attachment_394" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.lorenzogil.com/blog/wp-content/uploads/2012/05/IMG_20120522_192033.jpg"><img class="size-medium wp-image-394" title="Catedral de lado" src="http://www.lorenzogil.com/blog/wp-content/uploads/2012/05/IMG_20120522_192033-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">Catedral de lado</p></div>
<p>Reykjavik es una ciudad pequeña completamente abarrotada de estátuas. Hay un pequeño lago en el centro con casitas muy bonitas a su alrededor junto con la galería de arte nacional, una iglesia importante y el ayuntamiento. El edificio que más llama la atención es la catedral, que está situada en lo alto de una colina y tiene un estilo arquitectónico muy original. La verdad es que no había visto una igual nunca.</p>
<p>El lunes conseguimos encontrar un hueco para alquilar un coche e irnos a la aventura con la ayuda del GPS de mi móvil y los mapas que me había precargado desde la conexión Wifi del hotel. Nos cogimos un folleto turístico de una empresa de excursiones y hicimos la misma ruta por nuestra cuenta. Primero vimos unas fallas enormes en <a href="https://en.wikipedia.org/wiki/%C3%9Eingvellir">Þingvellir</a>, que prueban que Islandia se encuentra justo en la unión de placas tectócnicas enormes. Esto tiene dos consecuencias fundamentales en la orografía de la isla: hay muchos volcanes en las zonas donde las placas se unen y enormes fallas en las zonas donde se separan.</p>
<div id="attachment_398" class="wp-caption aligncenter" style="width: 235px"><a href="http://www.lorenzogil.com/blog/wp-content/uploads/2012/05/IMG_20120521_115131.jpg"><img class="size-medium wp-image-398" title="La falla con nieve dentro" src="http://www.lorenzogil.com/blog/wp-content/uploads/2012/05/IMG_20120521_115131-225x300.jpg" alt="" width="225" height="300" /></a><p class="wp-caption-text">La falla con nieve dentro</p></div>
<p>A continuación fuimos a ver los famosos <a href="https://en.wikipedia.org/wiki/Geyser">geyseres</a> de <a href="https://en.wikipedia.org/wiki/Haukadalur">Haukadalur</a>. Es curiosísimo ver cómo hierve el agua a ras del suelo y algunos de ellos incluso escupen un chorro de agua caliente a varios metros del suelo. Cuando va a salir el chorro lo ves venir porque empiezan a formarse pompas enormes. Y todo está rodeado de un asqueroso olor a azufre que lo impregna todo.</p>
<p><iframe src="http://player.vimeo.com/video/42922582" width="500" height="331" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></p>
<p>Finalmente fuimos a <a href="https://en.wikipedia.org/wiki/Gullfoss">Gullfoss</a> y nos quedamos maravillados al ver esta enorme cascada. Es impresionante el caudal que lleva y cómo el agua cae y no llegas a ver el fondo de la cascada debido a que el rio circula por el interior de una falla. Es uno de esos sitios en los que te puedes quedar mirando un buen rato y el tiempo parece detenerse y uno se siente absolutamente diminuto.</p>
<div id="attachment_401" class="wp-caption aligncenter" style="width: 235px"><a href="http://www.lorenzogil.com/blog/wp-content/uploads/2012/05/IMG_20120521_134843.jpg"><img class="size-medium wp-image-401" title="La cascada de Gullfos" src="http://www.lorenzogil.com/blog/wp-content/uploads/2012/05/IMG_20120521_134843-225x300.jpg" alt="" width="225" height="300" /></a><p class="wp-caption-text">La cascada de Gullfoss</p></div>
<p>El resto de mi viaje no es especialmente interesante porque estuve todo el tiempo en la conferencia a la que fui. Me quedé con ganas de visitar las aguas termales, el museo vikingo o incluso ver la catedral por dentro pero bueno, algo tenía que dejar para mi próxima visita, ¿no? Me ha encantado Islandia y espero poder volver algún día.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lorenzogil.com/blog/2012/05/26/viaje-a-islandia/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Asus Zenbook unboxing</title>
		<link>http://www.lorenzogil.com/blog/2012/03/04/asus-zenbook-unboxing/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=asus-zenbook-unboxing</link>
		<comments>http://www.lorenzogil.com/blog/2012/03/04/asus-zenbook-unboxing/#comments</comments>
		<pubDate>Sun, 04 Mar 2012 20:08:01 +0000</pubDate>
		<dc:creator>lgs</dc:creator>
				<category><![CDATA[Ordenadores]]></category>

		<guid isPermaLink="false">http://www.lorenzogil.com/blog/?p=369</guid>
		<description><![CDATA[Last friday we bought an Asus Zenbook for Ana and I&#8217;d like to share some pictures of its unboxing. I don&#8217;t usually do this kind of things but this time I&#8217;ll do an exception since the computer presentation is full of impressive details. Note the hapinness in Ana&#8217;s face On the technical side the computer [...]]]></description>
				<content:encoded><![CDATA[<p>Last friday we bought an Asus Zenbook for Ana and I&#8217;d like to share some pictures of its unboxing. I don&#8217;t usually do this kind of things but this time I&#8217;ll do an exception since the computer presentation is full of impressive details.</p>

<a href='http://www.lorenzogil.com/blog/2012/03/04/asus-zenbook-unboxing/img_20120302_212323/' title='IMG_20120302_212323'><img width="150" height="150" src="http://www.lorenzogil.com/blog/wp-content/uploads/2012/03/IMG_20120302_212323-150x150.jpg" class="attachment-thumbnail" alt="IMG_20120302_212323" /></a>
<a href='http://www.lorenzogil.com/blog/2012/03/04/asus-zenbook-unboxing/img_20120302_212416/' title='IMG_20120302_212416'><img width="150" height="150" src="http://www.lorenzogil.com/blog/wp-content/uploads/2012/03/IMG_20120302_212416-150x150.jpg" class="attachment-thumbnail" alt="IMG_20120302_212416" /></a>
<a href='http://www.lorenzogil.com/blog/2012/03/04/asus-zenbook-unboxing/img_20120302_212441/' title='IMG_20120302_212441'><img width="150" height="150" src="http://www.lorenzogil.com/blog/wp-content/uploads/2012/03/IMG_20120302_212441-150x150.jpg" class="attachment-thumbnail" alt="IMG_20120302_212441" /></a>
<a href='http://www.lorenzogil.com/blog/2012/03/04/asus-zenbook-unboxing/img_20120302_212559/' title='IMG_20120302_212559'><img width="150" height="150" src="http://www.lorenzogil.com/blog/wp-content/uploads/2012/03/IMG_20120302_212559-150x150.jpg" class="attachment-thumbnail" alt="IMG_20120302_212559" /></a>
<a href='http://www.lorenzogil.com/blog/2012/03/04/asus-zenbook-unboxing/img_20120302_212734/' title='IMG_20120302_212734'><img width="150" height="150" src="http://www.lorenzogil.com/blog/wp-content/uploads/2012/03/IMG_20120302_212734-150x150.jpg" class="attachment-thumbnail" alt="IMG_20120302_212734" /></a>
<a href='http://www.lorenzogil.com/blog/2012/03/04/asus-zenbook-unboxing/img_20120302_214950/' title='IMG_20120302_214950'><img width="150" height="150" src="http://www.lorenzogil.com/blog/wp-content/uploads/2012/03/IMG_20120302_214950-150x150.jpg" class="attachment-thumbnail" alt="IMG_20120302_214950" /></a>

<p>Note the hapinness in Ana&#8217;s face <img src='http://www.lorenzogil.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>On the technical side the computer has an Intel i5 processor with 4 Gigabytes of RAM an a 128 Gb SSD hard drive. It can boot Fedora 16 in less than 8 seconds and the startup time of big programs like Firefox or LibreOffice is blazing fast too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lorenzogil.com/blog/2012/03/04/asus-zenbook-unboxing/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>So you just installed Fedora. What now?</title>
		<link>http://www.lorenzogil.com/blog/2012/02/17/so-you-just-installed-fedora-what-now/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=so-you-just-installed-fedora-what-now</link>
		<comments>http://www.lorenzogil.com/blog/2012/02/17/so-you-just-installed-fedora-what-now/#comments</comments>
		<pubDate>Thu, 16 Feb 2012 22:43:13 +0000</pubDate>
		<dc:creator>lgs</dc:creator>
				<category><![CDATA[Ordenadores]]></category>

		<guid isPermaLink="false">http://www.lorenzogil.com/blog/?p=351</guid>
		<description><![CDATA[I&#8217;ve been a happy Fedora user since it was not called Fedora, not even Fedora Core. I used Redhat 8 and Redhat 9, then Fedora Core 1-6, then Fedora 7 &#8211; 16. When I got my current laptop, in september of 2009 I installed Fedora 11 and I&#8217;ve been upgrading without formating the hard drive [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve been a happy <a href="http://fedoraproject.org/">Fedora</a> user since it was not called Fedora, not even Fedora Core. I used Redhat 8 and Redhat 9, then Fedora Core 1-6, then Fedora 7 &#8211; 16. When I got my current laptop, in september of 2009 I installed Fedora 11 and I&#8217;ve been upgrading without formating the hard drive until now. After 4 upgrades (12, 13, 14 and 15) I decided to install it from scratch since every upgrade leaves old stuff and I think it&#8217;s a good practice to clean it up every once in a while.</p>
<p>In this post I&#8217;ll summarize the things I did after installing Fedora 16 64 bits so I can use it as my personal reference for future installations.</p>
<h3>Post install quick changes</h3>
<p>The installation went smooth and after the first boot my main user was configured with English as its language. I changed it to Spanish and answered yes to the question about renaming the main folders (Downloads, Music, Videos, etc.).</p>
<p>As I installed Fedora with a encrypted home partition, every time my computer boots up I get asked for the password to open such partition. So I configured GNOME to automatically log in with my main user to avoid entering another password.</p>
<p><a href="http://www.lorenzogil.com/blog/wp-content/uploads/2012/02/inicio-sesion-automatico.png"><img class="aligncenter size-medium wp-image-363" title="Auto login" src="http://www.lorenzogil.com/blog/wp-content/uploads/2012/02/inicio-sesion-automatico-300x197.png" alt="Auto login" width="300" height="197" /></a></p>
<p>After that I configured my online accounts. This is a new feature of GNOME 3.2. It&#8217;s nice to have your Google contacts integrated in GNOME aswell as your instant messaging accounts. I also set a picture for my user profile.</p>
<p><a href="http://www.lorenzogil.com/blog/wp-content/uploads/2012/02/cuentas-gnome.png"><img class="aligncenter size-medium wp-image-361" title="GNOME Accounts" src="http://www.lorenzogil.com/blog/wp-content/uploads/2012/02/cuentas-gnome-256x300.png" alt="GNOME Accounts" width="256" height="300" /></a></p>
<h3>System update and must-have programs</h3>
<p>Then I updated the system since it was a couple of months since Fedora 16 came out:</p>
<pre>yum update</pre>
<p>Then I installed a few programs I can&#8217;t live without:</p>
<pre>yum install epiphany gnote gnucash vim emacs hamster-applet Django rhino gimp planner wine</pre>
<h3>Backup restore</h3>
<p>I copied my personal files from my external hard drive into my home directory but I didn&#8217;t do the same with the configuration files (everything starting with a dot). The reason is that I wanted to selectively copy those configuration files I know what they do and start doing source control on them. I already do that with <a href="https://github.com/lorenzogil/empetado">Emacs</a> and <a href="https://bitbucket.org/lgs/dotfiles/">several other programs</a></p>
<h3>Non Fedora packages</h3>
<p>Then it was time to install that software that does not come with Fedora for different reasons (propietary software, not well packaged applications, etc.).</p>
<p>First I installed Chromium following the instructions of <a href="http://fedoraproject.org/wiki/Chromium">http://fedoraproject.org/wiki/Chromium</a></p>
<p>Using similar instructions I installed the Adobe Flash plugin for the browsers: <a href="http://fedoraproject.org/wiki/Flash">http://fedoraproject.org/wiki/Flash</a></p>
<p>Then I added the RPMFusion repository with these instructions <a href="http://rpmfusion.org/Configuration">http://rpmfusion.org/Configuration</a> and then I installed the NVidia drivers for my graphic card:</p>
<pre>yum install kmod-nivida</pre>
<p>As a web developer I like to have as many browsers as possible so I installed Opera: <a href="http://www.opera.com/browser/download/">http://www.opera.com/browser/download/</a></p>
<p>When I tried to install <a href="http://www.skype.com/intl/es/get-skype/on-your-computer/linux">Skype</a> it didn&#8217;t work. Then I realized that the binary available Skype is compiled for 32 bits systems. So I had to install the 32 bits dependencies for Skype:</p>
<pre>yum install mesa-dri-filesystem-7.11.2-1.fc16.i686 libgcc-4.6.2-1.fc16.i686 glibc-2.14.90-24.fc16.4.i686 nss-softokn-freebl-3.13.1-15.fc16.i686 libstdc++-4.6.2-1.fc16.i686 zlib-1.2.5-6.fc16.i686 libjpeg-turbo-1.1.1-3.fc16.i686 libffi-3.0.10-1.fc16.i686 2:libogg-1.2.2-3.fc15.i686 libselinux-2.1.6-5.fc16.i686 gamin-0.1.10-10.fc16.i686 glib2-2.30.2-1.fc16.i686 libICE-1.0.7-1.fc16.i686 ncurses-libs-5.9-2.20110716.fc16.i686 1:dbus-libs-1.4.10-3.fc16.i686 freetype-2.4.6-4.fc16.i686 expat-2.0.1-11.fc15.i686 alsa-lib-1.0.24-2.fc15.i686 libcom_err-1.41.14-2.fc15.i686 fontconfig-2.8.0-4.fc16.i686 readline-6.2-2.fc16.i686 sqlite-3.7.7.1-1.fc16.i686 flac-1.2.1-6.fc12.i686 1:libvorbis-1.3.2-1.fc15.i686 libsndfile-1.0.25-1.fc16.i686 llvm-libs-2.9-6.fc16.i686 libtiff-3.9.5-1.fc16.i686 2:libpng-1.2.46-1.fc16.i686 libXau-1.0.6-2.fc15.i686 libxcb-1.7-3.fc16.i686 libX11-1.4.3-1.fc16.i686 libXext-1.3.0-1.fc16.i686 libXfixes-5.0-1.fc16.i686 libXrender-0.9.6-2.fc15.i686 libXi-1.4.5-1.fc16.i686 libXtst-1.2.0-2.fc15.i686 libXrandr-1.3.1-2.fc15.i686 libXcursor-1.1.11-3.fc15.i686 libXdamage-1.1.3-2.fc15.i686 libXinerama-1.1.1-2.fc15.i686 libXxf86vm-1.1.1-2.fc15.i686 libpciaccess-0.12.1-1.fc15.i686 libdrm-2.4.30-1.fc16.i686 mesa-dri-drivers-7.11.2-1.fc16.i686 mesa-libGL-7.11.2-1.fc16.i686 libasyncns-0.8-2.fc15.i686 keyutils-libs-1.5.2-1.fc16.i686 krb5-libs-1.9.2-4.fc16.i686 openssl-1.0.0g-1.fc16.i686 1:qt-4.8.0-7.fc16.i686 libuuid-2.20.1-2.2.fc16.i686 libSM-1.2.0-2.fc15.i686 tcp_wrappers-libs-7.6-64.fc16.i686 pulseaudio-libs-0.9.23-1.fc16.i686 lcms-libs-1.19-4.fc16.i686 libmng-1.0.10-5.fc15.i686 1:qt-x11-4.8.0-7.fc16.i686 alsa-plugins-pulseaudio-1.0.24-3.fc16.i686 libXScrnSaver-1.2.1-2.fc15.i686 libv4l-0.8.5-1.fc16.i686 libXv-1.0.6-2.fc15.i68</pre>
<p>I hope Skype gets better and they release a 64 bits version as the Adobe guys did with Flash, finally <img src='http://www.lorenzogil.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Then I installed Dropbox following these instructions <a href="http://www.dropbox.com/install?os=lnx">http://www.dropbox.com/install?os=lnx</a> and after that I started the Dropbox daemon:</p>
<pre>dropbox start -i</pre>
<p>Finally I installed support for listening mp3 and watching videos in propietary codecs:</p>
<pre>yum install gstreamer-plugins-bad gstreamer-plugins-ugly</pre>
<h3>Advanced configuration</h3>
<p>Now, it was time to configure some things in more detail. I installed gnome-tweak-tool and enabled the date in the clock area of the GNOME Shell top bar.</p>
<p>I also setup some keyboard shortcuts:</p>
<ul>
<li>Windows key + T opens a Terminal</li>
<li>Left shift  + Right shift switches my keyboard layout beween English and Spanish (I use English layout for programming and Spanish layout for writting docs and emails)</li>
</ul>
<p>I restored my Hamster db into the<em> ~/.local/share/hamster-applet/</em> directory</p>
<p>I also configured Subversion to not store my password in plain text but in GNOME Keyring, which stores them encrypted. To do so I added the following option to the <em>~/.subversion/config</em> file:</p>
<pre>password-stores = gnome-keyring</pre>
<p>and this other option into the <em>[global]</em> section of the<em> ~/.subversion/servers</em> file:</p>
<pre>[global]</pre>
<pre>....
store-plaintext-passwords = no</pre>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lorenzogil.com/blog/2012/02/17/so-you-just-installed-fedora-what-now/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>First impressions with Liferay</title>
		<link>http://www.lorenzogil.com/blog/2011/10/09/first-impressions-with-liferay/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=first-impressions-with-liferay</link>
		<comments>http://www.lorenzogil.com/blog/2011/10/09/first-impressions-with-liferay/#comments</comments>
		<pubDate>Sun, 09 Oct 2011 12:36:12 +0000</pubDate>
		<dc:creator>lgs</dc:creator>
				<category><![CDATA[Ordenadores]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Yaco]]></category>

		<guid isPermaLink="false">http://www.lorenzogil.com/blog/?p=344</guid>
		<description><![CDATA[A couple of weekends ago I had my first experience customizing a Liferay site. I wrote a very simple theme to change the standard look &#38; feel and I also wrote some portlets in several differente languages. The goal was to analyze which portlet technology was the best to suit our needs. Writing the theme [...]]]></description>
				<content:encoded><![CDATA[<p>A couple of weekends ago I had my first experience customizing a Liferay site. I wrote a very simple theme to change the standard look &amp; feel and I also wrote some portlets in several differente languages. The goal was to analyze which portlet technology was the best to suit our needs.</p>
<p>Writing the theme was not difficult at all. Liferay has an excellent SDK for writing plugins, which include themes. I didn&#8217;t start from scratch but used the <a href="http://liferay-themes.sourceforge.net/2011/09/desktop-and-mobile-liferay-theme/">great HTML5Goodness responsive</a> theme. The main navigation menu was easy to do since there is a method to iterate over first level pages. However, when I tried to do the same with the footer menu I couldn&#8217;t find an easy and clean way to do it. I wanted to put standard links in the footer menu as the Terms of Use, the Privacy Policy and so on in the footer menu but I didn&#8217;t know how to organize this stuff in Liferay CMS so I could retrieve them back easily. I thought about using a portlet for the footer but I think that&#8217;s not the way to do it since that would affect the portlets layout for all the pages. So I added some variables in the XML that describes the theme and hardcoded the links there. At least I don&#8217;t have to change the theme code if we change any of those links.</p>
<p>About the portlets, we needed to write a portlet that pulls the content from an external service via REST calls and render it nicely using some kind of templates. These were the attempts I made and my conclusións:</p>
<ul>
<li><strong>Portlet written in Java</strong>: this was the obvious choice. The advantages was full access to Liferay API and easyness to integrate the portlet with the SDK stanrdard procedures. The disadvantages were, well, it has to be written in Java. We are far less productive in Java that with other languages. Just for making an HTTP request is quite involved. Hopefully Liferay has APIs for making this easier.</li>
<li><strong>Portlet written in Javascript</strong>: This looked promising and was easy to setup, the problem was the importPackage and importClass functions were not available from the Rhino environment. This made Javascript just a toy language in Liferay since the language itself has no useful standard library and it needs to leverage the net or filesystem or any other calls to the runtime it runs on. This make javascript a very integrable language but also a very dependent language. If we can&#8217;t call Liferay API from Javascript and there are no network functions in the language itself we can&#8217;t use it for our purposes.</li>
<li><strong>Portlet written in Python</strong>: Our last try was writting the portlet in Python. First we had to update the Jython jar that was included in Liferay since it was a little bit old. Then we added the <a href="http://opensource.xhaus.com/projects/show/jyson">jyson</a> jar to the jython jar itself to have support for json parsing. We also used Liferay Network APIs since we couldn&#8217;t import urllib2 from Python. Finally we even managed to use the Python debugger (PDB) by running Tomcat in the foreground. (bin/catalina.sh run)</li>
</ul>
<p>One important thing when writing portlets with a scripting language like Python or Javascript is that Liferay will concatenate all your modules into a single big file before running it in the scripting engine (jython or rhino, in our case). This is important to know when reading errors information where the line numbers is not always what we expect. In Python, we can avoid this behavior by changing the PYTHONPATH dinamically at runtime (at the beginning of our script) and then, importing our regular modules will work again.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lorenzogil.com/blog/2011/10/09/first-impressions-with-liferay/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>PyCON 2011 (Part 3)</title>
		<link>http://www.lorenzogil.com/blog/2011/03/17/pycon-2011-part-3/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=pycon-2011-part-3</link>
		<comments>http://www.lorenzogil.com/blog/2011/03/17/pycon-2011-part-3/#comments</comments>
		<pubDate>Thu, 17 Mar 2011 02:17:22 +0000</pubDate>
		<dc:creator>lgs</dc:creator>
				<category><![CDATA[Viajes]]></category>
		<category><![CDATA[Yaco]]></category>

		<guid isPermaLink="false">http://www.lorenzogil.com/blog/?p=332</guid>
		<description><![CDATA[After the big conference days the sprints days started. I was surprised by how many people actually stayed for the sprints. There were literally docens of people hacking together grouped by projects. It&#8217;s amazing how passionate are some people about programming and how they enjoy sharing this with each other. That includes me, of course. [...]]]></description>
				<content:encoded><![CDATA[<p>After the big conference days the sprints days started. I was surprised by how many people actually stayed for the sprints. There were literally docens of people hacking together grouped by projects. It&#8217;s amazing how passionate are some people about programming and how they enjoy sharing this with each other. That includes me, of course.</p>
<p>I&#8217;ve been at the PySAML2 sprint with Roland Hedberg and a couple of guys from Zeomega: Baiju M and Chris Austin. It has been a real pleasure to work with this gang. During the nights I hanged out with them and also Brad Allen and other guys from the Texas Python group.</p>
<div id="attachment_335" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.lorenzogil.com/blog/wp-content/uploads/2011/03/IMG_20110314_102929.jpg"><img class="size-medium wp-image-335" title="SAML2 fast course" src="http://www.lorenzogil.com/blog/wp-content/uploads/2011/03/IMG_20110314_102929-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">Roland teaching SAML to the Zeomega guys</p></div>
<p>We managed to clean a lot of stuff at <a href="http://packages.python.org/pysaml2/html/" target="_self">PySAML2</a>, to release a <a href="http://pypi.python.org/pypi/pysaml2/0.2.1" target="_self">new version</a>, to improve the <a href="http://pypi.python.org/pypi/djangosaml2/0.1.0" target="_self">djangosaml2</a> package and to start making a Zope2 product for it.</p>
<div id="attachment_336" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.lorenzogil.com/blog/wp-content/uploads/2011/03/IMG_20110315_202731.jpg"><img class="size-medium wp-image-336" title="SAML Sprint" src="http://www.lorenzogil.com/blog/wp-content/uploads/2011/03/IMG_20110315_202731-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">Baiju and me are sprinting, don&#39;t you see?</p></div>
<p>One of these nights we went to a place where there were some good jazz music live. Ireally enjoyed the food, the music and the company of Chris and Baiju.</p>
<p>Today I did some tourism with Baiju and we went to the Atlanta Aquarium and the museum about Coca Cola. I did knew Baiju before since I translated his great book about the Zope Component Architecture but I never meet him in real life. He is a very good developer but also a really nice person. I&#8217;m glad I got to spend some time with him.</p>
<p>I&#8217;ve also meet other people here at PyCON. Here is just a brief list, sorry if I miss somebody:</p>
<ul>
<li>Jeff Rush, a consultant and Zope lover. Very nice guy.</li>
<li>Laurens Van Houtven, my roommate and a cool guy that hacks on the Twisted project and has different slepping habbits than me <img src='http://www.lorenzogil.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
<li>Sylvia Candelaria, a very smart lady who knows about free software, linguistics, Spain, India and a whole lotta more things. I just talked to her during a lunch but she just blowed my mind with her wisdom.</li>
<li>Ralph Bean, a guy who was working on an open goverment website during the sprints. He was interested on my work on SAML stuff</li>
<li>Luke Macken, a Fedora hacker</li>
<li>Jordan Sissel, a guy who works for <a href="http://www.loggly.com/" target="_self">loggly</a>a nice service about logging with very cool stickers.</li>
</ul>
<p>Other people I met but I can&#8217;t recall their names include people from <a href="http://bitbucket.org" target="_self">bitbucket</a>, from <a href="http://eldarion.com/" target="_self">eldarion</a>, from <a href="http://linode.com" target="_self">linode</a>, and many more!</p>
<p>Well, I guess that&#8217;s all I have to say about PyCON 2011 but I&#8217;m probably forgetting lots of things since it has been a very exciting week for me. I hope I can make it next year at <a href="http://us.pycon.org/2012/" target="_self">Santa Clara</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lorenzogil.com/blog/2011/03/17/pycon-2011-part-3/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>PyCON 2011 (Part 2)</title>
		<link>http://www.lorenzogil.com/blog/2011/03/17/pycon-2011-part-2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=pycon-2011-part-2</link>
		<comments>http://www.lorenzogil.com/blog/2011/03/17/pycon-2011-part-2/#comments</comments>
		<pubDate>Thu, 17 Mar 2011 01:41:00 +0000</pubDate>
		<dc:creator>lgs</dc:creator>
				<category><![CDATA[Viajes]]></category>
		<category><![CDATA[Yaco]]></category>

		<guid isPermaLink="false">http://www.lorenzogil.com/blog/?p=317</guid>
		<description><![CDATA[The second day of the PyCON conference started with a talk by the Dropbox guys. The first half of it was not really interesting but things go better on the second half when they started to explain the technical bits. Then Guido was interviewed and answered some questions that the community had elaborated for him. [...]]]></description>
				<content:encoded><![CDATA[<div id="attachment_321" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.lorenzogil.com/blog/wp-content/uploads/2011/03/IMG_20110312_074055.jpg"><img class="size-medium wp-image-321" title="Welcome to PyCON!" src="http://www.lorenzogil.com/blog/wp-content/uploads/2011/03/IMG_20110312_074055-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">It was 8am and I was ready for more talks!</p></div>
<p>The second day of the PyCON conference started with a talk by the Dropbox guys. The first half of it was not really interesting but things go better on the second half when they started to explain the technical bits. Then Guido was interviewed and answered some questions that the community had elaborated for him. One of the things he said is that Python 3 is closer than you think. I can tell he is right since many sprints at PyCON were about porting existing libraries to Python 3 and there is a general momentum going in that direction. Then they gave him a big cake representing the 20th birthday of the language.</p>
<p><iframe src="http://player.vimeo.com/video/21137176" width="400" height="265" frameborder="0"></iframe></p>
<p>PyCON moment where Guido is given a big cake representing the 20th python birthday</p>
<p>Then <a href="http://us.pycon.org/2011/schedule/presentations/246/" target="_self">I learned</a> about the new Selenium 2 and that it doesn&#8217;t need the ugly selenium-remote-control if you just run it on your own machine so that becomes much easier to use. The speaker was showing how to write tests using the python client library and it looked very very good.</p>
<p>After that talk I went to the <a href="http://us.pycon.org/2011/schedule/presentations/165/" target="_self">zc.buildout talk</a> where Jim Fulton explained how they deploy python projects based on buildout on Redhat based systems. Something very similar to what we do at Yaco. On the reasons they do this is because Zope Corporation hosts their own applications so their sysadmin department and their development department need to play well with each other. He explained how the have two different buidouts for each application: one for the application itself and a different one for its configuration. You can read more about his great talk at <a href="http://www.riversnake.com/pycon2011/full/" target="_self">http://www.riversnake.com/pycon2011/full/</a> or, if you are in a hurry, just check out his <a href="http://www.riversnake.com/pycon2011/" target="_self">slides</a></p>
<div id="attachment_322" class="wp-caption aligncenter" style="width: 234px"><a href="http://www.lorenzogil.com/blog/wp-content/uploads/2011/03/IMG_20110312_112243.jpg"><img class="size-medium wp-image-322" title="Zope Pope" src="http://www.lorenzogil.com/blog/wp-content/uploads/2011/03/IMG_20110312_112243-224x300.jpg" alt="" width="224" height="300" /></a><p class="wp-caption-text">Jim Fulton speaking about zc.buildout</p></div>
<p>Then I went to the talk <a href="http://en.wikipedia.org/wiki/Alex_Martelli" target="_self">Alex Martelli</a> gave: <a href="http://us.pycon.org/2011/schedule/presentations/88/" target="_self">API design anti-patterns</a>. and these are some of the things I learned:</p>
<ul>
<li>You better have a API for your software because you are going to need it sooner or later. Otherwise programmers are going to start using your applications in very nasty ways you can&#8217;t even predict.</li>
<li>APIs don&#8217;t just grow up magically, you have to deeply thing about them. It&#8217;s harder to change an API than to change the user interface of your software because the consumers of the former (programms) are so much less flexible than the consumers of the later (humans)</li>
<li>A good way to design an API is to use it by yourself in your own software. This forces you to think what&#8217;s the main thing that my program does and what the absolute minimum amount of features that should go into the core. I believe we are doing the right thing here in <a href="http://www.merengueproject.org/" target="_self">Merengue</a> <img src='http://www.lorenzogil.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
</ul>
<p>After that, I went to the <a href="http://us.pycon.org/2011/schedule/presentations/140/" target="_self">talk about http libraries in Python</a>. It was given by a Mercurial guy who did a very good analysis of how bad all Python http libraries are except for pycurl, which is very difficult to use. That&#8217;s why he wrote <a href="http://code.google.com/p/py-nonblocking-http/" target="_self">his own library</a> for this job and I think it is very good if you need some advanced http features and a very fast library.</p>
<p>To finish the day I went to Tarek&#8217;s talk bout <a href="http://us.pycon.org/2011/schedule/presentations/81/" target="_self">distutils 2</a> and I listened exceited about the state of this project and how it is going to make our lifes so much easier. Distutils 2 is going to be part of Python 3.2 and you will be able to use it as a separated module starting with Python 2.4! There are only two problems to be solved: it is not finished yet (this is easy, just help him!) and it won&#8217;t support all the things that setuptools does, like entry_points among other things. We will need some other library for this since there a bunch of us that uses these features. By they way, I&#8217;m the one that ask Tarek about entry_points at the end of his talk. I agree with him that they should not be part of distutils2 but that does not solves the problem. We need a full replacement!</p>
<div id="attachment_327" class="wp-caption aligncenter" style="width: 234px"><a href="http://www.lorenzogil.com/blog/wp-content/uploads/2011/03/IMG_20110312_165418.jpg"><img class="size-medium wp-image-327" title="Tarek Ziadé" src="http://www.lorenzogil.com/blog/wp-content/uploads/2011/03/IMG_20110312_165418-224x300.jpg" alt="" width="224" height="300" /></a><p class="wp-caption-text">Tarek is the man behind distutils2</p></div>
<p>That afternoon I went to an open space to talk about the future of the Zope community. After that I got to go for dinner with the Zope guys to a nice mediterranean restaurant. I was invited by <a href="http://www.zeomega.com/" target="_self">Zeomega</a> company and I enjoyed the dinner a lot. I&#8217;ve been reading and following some of these guys for a long time and it was very cool to talk to them face to face. By the way, I talked with Jim Fulton about Spain since he has been there recently and he liked it a lot.</p>
<div id="attachment_323" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.lorenzogil.com/blog/wp-content/uploads/2011/03/IMG_20110312_221052.jpg"><img class="size-medium wp-image-323" title="Zope dinner" src="http://www.lorenzogil.com/blog/wp-content/uploads/2011/03/IMG_20110312_221052-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">happiness = getMultiAdapter(zope, dinner)</p></div>
<p>Next day there were some more nice talks. One guy from <a href="http://www.threadless.com/" target="_self">Threadless</a> gave a very funny talk. Unfortunately my english is still not that good and I didn&#8217;t get all the jokes. After that the people from <a href="http://disqus.com/" target="_self">Disqus</a> gave a very interesting talk about their product and how they did it using python tools: celery (for asynchronous tasks), graphite (for monitoring), senty (for exception monitoring), coverage.py, pep8, pyflakes and may more. The only thing they didn&#8217;t like about Python is the current state of packaging, which I have to agree with.</p>
<p>After that I went to see the <a href="http://us.pycon.org/2011/schedule/presentations/154/" target="_self">co-routines</a> talk but I didn&#8217;t quite understand them yet. I&#8217;ll need some more reading because it looks like they are getting pretty big nowadays.</p>
<p>To end the conference days there was the poster session. I have to admit I didn&#8217;t have big expectations on this but I also have to admin that I was nicely surprised. There were lots of good posters and I discovered a bunch of really interesting projects:</p>
<ul>
<li><a href="http://askbot.org/en/questions/" target="_self">askbot.org</a> , a stackoverflow clone written in Python</li>
<li><a href="http://sourceforge.net/p/allura/home/" target="_self">Allura</a> , the code behind Sourceforge</li>
<li><a href="http://farmdev.com/projects/fudge/" target="_self">Fudge</a>, which is very cool for mock testing. For example if you need to test a software that makes http connections but you don&#8217;t really want to make them for testing. It&#8217;s monkey patching done right.</li>
<li><a href="http://openstates.sunlightlabs.com/" target="_self">Open States </a>, and open goverment initiative</li>
<li>There was a guy with a wheel chair doing some astonishing job with a kinect device. Sorry I don&#8217;t remember the name of his project <img src='http://www.lorenzogil.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </li>
</ul>
<div id="attachment_326" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.lorenzogil.com/blog/wp-content/uploads/2011/03/IMG_20110313_101058.jpg"><img class="size-medium wp-image-326" title="a11y poster" src="http://www.lorenzogil.com/blog/wp-content/uploads/2011/03/IMG_20110313_101058-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">You would not believe what this guy just did with a kinect and a lot of courage</p></div>
<p>By the way, PyCON does a marvelous job by recording all the talks and puting them online. So, in case you couldn&#8217;t come, <a href="http://pycon.blip.tv/posts?view=archive&amp;nsfw=dc" target="_self">just watch the  talks</a> They are worthy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lorenzogil.com/blog/2011/03/17/pycon-2011-part-2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>PyCON 2011 (Part 1)</title>
		<link>http://www.lorenzogil.com/blog/2011/03/17/pycon-2011-part-1/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=pycon-2011-part-1</link>
		<comments>http://www.lorenzogil.com/blog/2011/03/17/pycon-2011-part-1/#comments</comments>
		<pubDate>Thu, 17 Mar 2011 00:05:11 +0000</pubDate>
		<dc:creator>lgs</dc:creator>
				<category><![CDATA[Viajes]]></category>
		<category><![CDATA[Yaco]]></category>

		<guid isPermaLink="false">http://www.lorenzogil.com/blog/?p=295</guid>
		<description><![CDATA[This has been my first PyCON and I have to say it has been loads of fun. I&#8217;ve also learned a lot and meet some very nice guys. In a way or another now I feel like I&#8217;am part of a community I was an outsider before. I arrived to Atlanta last Wednesday and I [...]]]></description>
				<content:encoded><![CDATA[<p>This has been my first <a href="http://us.pycon.org/2011/" target="_self">PyCON</a> and I have to say it has been loads of fun. I&#8217;ve also learned a lot and meet some very nice guys. In a way or another now I feel like I&#8217;am part of a community I was an outsider before.</p>
<p>I arrived to Atlanta last Wednesday and I was impressed of how big the <a href="http://atlantaregency.hyatt.com/hyatt/hotels/index.jsp?null" target="_self">Hyatt</a> hotel was. Almost like a small city on its own.</p>
<p><iframe src="http://player.vimeo.com/video/21134385" width="400" height="265" frameborder="0"></iframe>
<p>This short video shows how huge this hotel is. It&#8217;s filmed from the 12th floor</p>
<p>I&#8217;m not used to this kind of hotels so I really enjoyed details like the elevators or the huge lobby <img src='http://www.lorenzogil.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  As I arrived quite late due to some issues about getting out of the gigantic airport the only thing I did that night was having dinner in the Hard Rock Cafe a couuple of blocks next to the hotel.</p>
<div id="attachment_310" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.lorenzogil.com/blog/wp-content/uploads/2011/03/IMG_20110310_173557.jpg"><img class="size-medium wp-image-310" title="Elevator control panel" src="http://www.lorenzogil.com/blog/wp-content/uploads/2011/03/IMG_20110310_173557-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">That&#39;s a bunch of floors!</p></div>
<p>But, anyway, next day I attended to a couple of tutorials, one about Django deployment which was really good and another one about python 3 differences with respect to python 2 which was pretty interesting too.</p>
<div id="attachment_304" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.lorenzogil.com/blog/wp-content/uploads/2011/03/IMG_20110310_090129.jpg"><img class="size-medium wp-image-304" title="Django tutorial" src="http://www.lorenzogil.com/blog/wp-content/uploads/2011/03/IMG_20110310_090129-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">The Django tutorial is about to start</p></div>
<p>Then next day (friday) the conference started. Very early in the morning my mind was blown away when I saw how many people there were in the keynote.</p>
<p><iframe src="http://player.vimeo.com/video/21134741" width="400" height="265" frameborder="0"></iframe>
<p>Look of the huge room where the PyCon 2011 keynote will take place</p>
<p>This video was shot 10 minutes before the keynote started. During the keynote there was not a single free seat.</p>
<p>The room was pretty big and it was full! Luckily Hilary Mason (bit.ly scientist) did a fantastic job and her talk was really interesting and inspiring. I liked how passionated did she talk about programming and that she believes that programming changes your internal brain structure so you think differently from other non programmers when approaching life&#8217;s problems. For good or for bad I think she&#8217;s right.</p>
<p>Then I went to a talk about distributed tasks with Celery because I though it was given by Celery author. But it was about how a photographer&#8217;s website used Celery to have success. It was nice but not what I expected. Then I moved into &#8220;Javascript for people who known Python&#8221; by Ian Bicking and it was a good talk, quite fast but good since I knew some of the stuff he was talking about. Even so, I learned a bit. After that talk I went to the &#8220;State of pylons/turbogears/repoze&#8221; talk and that was just a sneaky title to present the new big thing: <a href="http://pylonsproject.org/projects/pyramid/about" target="_self">Pyramid</a>. I really believe this is going to be a web framework to follow since it has inherited a big community and it has very well written and tested code and documentation. And by the way, the<a href="http://laflamme.storenvy.com/products/66831-pyramid-not-built-by-aliens-t-shirt" target="_self"> t-shirt is awesome</a> <img src='http://www.lorenzogil.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Later that day I attended to another not so exciting talk like &#8220;The development of python and you&#8221;. Then I went to couple of talks that I really enjoyed and would say were maybe the best talks of PyCON: &#8220;Pluggable Django Patterns&#8221; and &#8220;Reverse engineering Ian Bicking&#8217;s brain&#8221;. The first one explained how to write your Django application so others (or even you in another project) can reuse it seamlessly. You should look the talk by yourself because it has tons of little gems. Then the other talk was about understanding how virtualenv and pip (tools maed by Ian Bicking) works and was really really good. One of the things I discovered in this talk is the way pip can install regular distutils projects is by monkey patching their setup.py file or that at the end, pip&#8217;s core is just a hack around setuptools <img src='http://www.lorenzogil.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Then I moved into the PyPy talk which was quite boring to me and finally the lighting talks. Some were better than another but I specially liked the one about Qtile, a tiled window manager written in Python. The guy speaking was just hilarious.</p>
<p>I forgot to menion that I meet some old friends this day like <a href="https://launchpad.net/~salgado" target="_self">Guilherme Salgado</a> (from my days at <a href="http://www.async.com.br/en/" target="_self">Async</a>) and John Ehresman, from <a href="http://www.wingware.com/" target="_self">Wingware</a>. It was really nice to see them again and hear that they are doing pretty well.</p>
<p style="text-align: center;">
<div id="attachment_306" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.lorenzogil.com/blog/wp-content/uploads/2011/03/IMG_20110311_141059.jpg"><img class="size-medium wp-image-306 " title="John Ehresman and me" src="http://www.lorenzogil.com/blog/wp-content/uploads/2011/03/IMG_20110311_141059-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">The guy on the left is freaking awesome</p></div>
<p>As this post is already quite long I talk more about my PyCON experiences in a following post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lorenzogil.com/blog/2011/03/17/pycon-2011-part-1/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
