<?xml version="1.0" encoding="utf-8" ?><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns="http://purl.org/rss/1.0/">
<channel rdf:about="http://blog.e-shell.org">
  <title>» blog.e-shell.org</title>
  <link>http://blog.e-shell.org</link>
  <description>Weird thoughts from a techie brain...</description>
  <dc:date>2011-11-06T23:48:16Z</dc:date>
  <dc:creator />
<items>
 <rdf:Seq>
    <rdf:li rdf:resource="http://blog.e-shell.org/298" />
    <rdf:li rdf:resource="http://blog.e-shell.org/297" />
    <rdf:li rdf:resource="http://blog.e-shell.org/296" />
    <rdf:li rdf:resource="http://blog.e-shell.org/295" />
    <rdf:li rdf:resource="http://blog.e-shell.org/294" />
    <rdf:li rdf:resource="http://blog.e-shell.org/292" />
    <rdf:li rdf:resource="http://blog.e-shell.org/290" />
   </rdf:Seq>
</items>
</channel>
<item rdf:about="http://blog.e-shell.org/298">
  <title>Arduino Barcamp 2011, Ordes</title>
  <link>http://blog.e-shell.org/298</link>
  <description>&lt;p&gt;Yesterday was indeed a good day, and a long day too. I woke up at 08:00 (being my soul completely exhausted, as I got to bed around 3:00 the night before) and I met &lt;a class=&quot;reference&quot; href=&quot;https://twitter.com/r0sk&quot;&gt;&amp;#64;r0sk&lt;/a&gt;, &lt;a class=&quot;reference&quot; href=&quot;https://twitter.com/MarcosBL&quot;&gt;&amp;#64;MarcosBL&lt;/a&gt;, &lt;a class=&quot;reference&quot; href=&quot;https://twitter.com/mameyugo&quot;&gt;&amp;#64;mameyugo&lt;/a&gt; and &lt;a class=&quot;reference&quot; href=&quot;https://twitter.com/apvila30&quot;&gt;&amp;#64;apvila30&lt;/a&gt; at 08:45 to get &lt;em&gt;on the road again&lt;/em&gt; on our way from &lt;a class=&quot;reference&quot; href=&quot;http://en.wikipedia.org/wiki/Lugo&quot;&gt;Lugo&lt;/a&gt; to &lt;a class=&quot;reference&quot; href=&quot;http://en.wikipedia.org/wiki/Ordes&quot;&gt;Ordes&lt;/a&gt;, where an &lt;a class=&quot;reference&quot; href=&quot;http://arduino.cc&quot;&gt;Arduino&lt;/a&gt; &lt;a class=&quot;reference&quot; href=&quot;http://en.wikipedia.org/wiki/BarCamp&quot;&gt;Barcamp&lt;/a&gt; was being prepared by our friends of the &lt;a class=&quot;reference&quot; href=&quot;http://inestable.org&quot;&gt;Inestable&lt;/a&gt; &lt;em&gt;Linux User Group&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;The Barcamp started at 10:00, and we arrived a little bit later (around 10:20 or so), because we had some trouble finding the place.&lt;/p&gt;
&lt;p&gt;The first thing that did struck me was the ammount of people attending the Barcamp, a lot more than expected. The guys from the &lt;a class=&quot;reference&quot; href=&quot;http://inestable.org&quot;&gt;Inestable&lt;/a&gt; &lt;em&gt;lug&lt;/em&gt; said we were about 70 people in there, amazing (even more because they were expecting around 15 people or so).&lt;/p&gt;
&lt;p&gt;You can get an idea on how much people we were just taking a look at these pictures:&lt;/p&gt;
&lt;a class=&quot;reference image-reference&quot; href=&quot;http://e-shell.org/BarcampArduino2k11/vga/vga_051120111340.jpg&quot;&gt;&lt;img alt=&quot;Everybody was listening carefully to the first talk of the day.&quot; src=&quot;http://e-shell.org/BarcampArduino2k11/thumbnails/th_051120111340.jpg&quot; /&gt;&lt;/a&gt;
&lt;a class=&quot;reference image-reference&quot; href=&quot;http://e-shell.org/BarcampArduino2k11/vga/vga_051120111352.jpg&quot;&gt;&lt;img alt=&quot;It was crowded during &amp;#64;TCRobotics's talk about Orugas, his personal project using arduino and some robotics knowledge&quot; src=&quot;http://e-shell.org/BarcampArduino2k11/thumbnails/th_051120111352.jpg&quot; /&gt;&lt;/a&gt;
&lt;p&gt;After meeting some of the &lt;a class=&quot;reference&quot; href=&quot;http://inestable.org&quot;&gt;Inestable&lt;/a&gt; guys (like &lt;a class=&quot;reference&quot; href=&quot;https://twitter.com/nikageek&quot;&gt;&amp;#64;nikageek&lt;/a&gt;) we attended the first two talks of the day. First one covering basic knowledge about &lt;a class=&quot;reference&quot; href=&quot;http://en.wikipedia.org/wiki/Electronics&quot;&gt;electronics&lt;/a&gt; and the second one showing some aspects of the &lt;a class=&quot;reference&quot; href=&quot;http://arduino.cc/en/Reference/HomePage&quot;&gt;programming language&lt;/a&gt; you can use to communicate/interact with your &lt;a class=&quot;reference&quot; href=&quot;http://arduino.cc&quot;&gt;Arduino&lt;/a&gt; board. Both talks were performed by &lt;strong&gt;Jose&lt;/strong&gt; &lt;a class=&quot;footnote-reference&quot; href=&quot;#id2&quot; id=&quot;id1&quot; name=&quot;id1&quot;&gt;[1]&lt;/a&gt; from the &lt;a class=&quot;reference&quot; href=&quot;http://inestable.org&quot;&gt;Inestable&lt;/a&gt; &lt;em&gt;lug&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;Then we had a coffee break (about 45 minutes or so). Perfect time to met some old friends like &lt;a class=&quot;reference&quot; href=&quot;https://twitter.com/toniousli&quot;&gt;&amp;#64;toniousli&lt;/a&gt; or &lt;a class=&quot;reference&quot; href=&quot;https://twitter.com/javier_fazouro&quot;&gt;&amp;#64;javier_fazouro&lt;/a&gt; and talk about different ideas and projects using &lt;a class=&quot;reference&quot; href=&quot;http://arduino.cc&quot;&gt;arduino&lt;/a&gt; boards.&lt;/p&gt;
&lt;p&gt;The barcamp was talking place in &lt;em&gt;&amp;quot;A casa da cultura&amp;quot;&lt;/em&gt;, property of the Ordes city council, a nice place with plenty of room and some really nice paints outside:&lt;/p&gt;
&lt;a class=&quot;reference image-reference&quot; href=&quot;http://e-shell.org/BarcampArduino2k11/vga/vga_051120111343.jpg&quot;&gt;&lt;img alt=&quot;This was painted on a wall opposite the place where the barcamp was taking place. I found it amazing&quot; src=&quot;http://e-shell.org/BarcampArduino2k11/thumbnails/th_051120111343.jpg&quot; /&gt;&lt;/a&gt;
&lt;a class=&quot;reference image-reference&quot; href=&quot;http://e-shell.org/BarcampArduino2k11/vga/vga_051120111345.jpg&quot;&gt;&lt;img alt=&quot;Another paint, this one was near what seemed to be a kindergarten or something like that.&quot; src=&quot;http://e-shell.org/BarcampArduino2k11/thumbnails/th_051120111345.jpg&quot; /&gt;&lt;/a&gt;
&lt;p&gt;Back inside the talks room, &lt;a class=&quot;reference&quot; href=&quot;http://twitter.com/tcrobotics&quot;&gt;&amp;#64;TCRobotics&lt;/a&gt; led a workshop about setting up the development environment you need to play with &lt;a class=&quot;reference&quot; href=&quot;http://arduino.cc&quot;&gt;arduino&lt;/a&gt;, that is, downloading and installing the software from &lt;a class=&quot;reference&quot; href=&quot;http://arduino.cc&quot;&gt;http://arduino.cc&lt;/a&gt; and teaching us how to use the environment, where are the docs, etc.&lt;/p&gt;
&lt;a class=&quot;reference image-reference&quot; href=&quot;http://e-shell.org/BarcampArduino2k11/vga/vga_051120111347.jpg&quot;&gt;&lt;img alt=&quot;r0sk had his own arduino board with him, so we were able to have some fun&quot; src=&quot;http://e-shell.org/BarcampArduino2k11/thumbnails/th_051120111347.jpg&quot; /&gt;&lt;/a&gt;
&lt;a class=&quot;reference image-reference&quot; href=&quot;http://e-shell.org/BarcampArduino2k11/vga/vga_051120111348.jpg&quot;&gt;&lt;img alt=&quot;Lot of people attending &amp;#64;TCRobotics' workshop&quot; src=&quot;http://e-shell.org/BarcampArduino2k11/thumbnails/th_051120111348.jpg&quot; /&gt;&lt;/a&gt;
&lt;p&gt;In the picture on the left you can see &lt;a class=&quot;reference&quot; href=&quot;https://twitter.com/r0sk&quot;&gt;&amp;#64;r0sk&lt;/a&gt; playing with his &lt;a class=&quot;reference&quot; href=&quot;http://arduino.cc&quot;&gt;arduino&lt;/a&gt; board. It seems he was having some fun ;P&lt;/p&gt;
&lt;p&gt;After a break for lunch two groups of people were formed. One of the groups was attending &lt;a class=&quot;reference&quot; href=&quot;http://twitter.com/tcrobotics&quot;&gt;&amp;#64;TCRobotics&lt;/a&gt;' talk about &lt;a class=&quot;reference&quot; href=&quot;http://tcrobotics.blogspot.com/2011/05/orugasrobot-arduinoorugaspan.html&quot;&gt;Orugas&lt;/a&gt;, his personal project that consist on a &lt;em&gt;rover-like&lt;/em&gt; robot that can be controlled using a &lt;a class=&quot;reference&quot; href=&quot;http://www.nintendo.com/wii&quot;&gt;Wii&lt;/a&gt; &lt;a class=&quot;reference&quot; href=&quot;http://en.wikipedia.org/wiki/Wii_Remote#Nunchuk&quot;&gt;nunchuk&lt;/a&gt; (in a previous version) or a &lt;a class=&quot;reference&quot; href=&quot;http://en.wikipedia.org/wiki/PlayStation_2&quot;&gt;PlayStation2&lt;/a&gt; (in its latest version). He also showed us a video of one of the first versions of the project, where the robot was able to move by itself, recognizing objects and obstacles.&lt;/p&gt;
&lt;p&gt;It was really interesting to hear how this kind of projects are done, understanding the whole process, the problems you can find and how you can solve them with a bit of imagination and thinking.&lt;/p&gt;
&lt;a class=&quot;reference image-reference&quot; href=&quot;http://e-shell.org/BarcampArduino2k11/vga/vga_051120111354.jpg&quot;&gt;&lt;img alt=&quot;I got a seat quite close to &amp;#64;TCrobotics while he was talking about Orugas&quot; src=&quot;http://e-shell.org/BarcampArduino2k11/thumbnails/th_051120111354.jpg&quot; /&gt;&lt;/a&gt;
&lt;a class=&quot;reference image-reference&quot; href=&quot;http://e-shell.org/BarcampArduino2k11/vga/vga_051120111355.jpg&quot;&gt;&lt;img alt=&quot;Orugas v2.5, we were able to take a look at it quite closely&quot; src=&quot;http://e-shell.org/BarcampArduino2k11/thumbnails/th_051120111355.jpg&quot; /&gt;&lt;/a&gt;
&lt;p&gt;The &lt;a class=&quot;reference&quot; href=&quot;http://tcrobotics.blogspot.com/2011/05/orugasrobot-arduinoorugaspan.html&quot;&gt;Orugas&lt;/a&gt; project involves much more stuff, like lasers, &lt;a class=&quot;reference&quot; href=&quot;http://en.wikipedia.org/wiki/Proximity_sensor&quot;&gt;proximity sensors&lt;/a&gt;, etc. If you want to learn more, just visit Alex blog: &lt;a class=&quot;reference&quot; href=&quot;http://tcrobotics.blogspot.com&quot;&gt;http://tcrobotics.blogspot.com&lt;/a&gt;&lt;/p&gt;
&lt;a class=&quot;reference image-reference&quot; href=&quot;http://e-shell.org/BarcampArduino2k11/vga/vga_051120111356.jpg&quot;&gt;&lt;img alt=&quot;Orugas v2.5, that's what you can do with an arduino board and some time, imagination and patience&quot; src=&quot;http://e-shell.org/BarcampArduino2k11/thumbnails/th_051120111356.jpg&quot; /&gt;&lt;/a&gt;
&lt;a class=&quot;reference image-reference&quot; href=&quot;http://e-shell.org/BarcampArduino2k11/vga/vga_051120111357.jpg&quot;&gt;&lt;img alt=&quot;Another shot of the version 2.5 of the Orugas robot&quot; src=&quot;http://e-shell.org/BarcampArduino2k11/thumbnails/th_051120111357.jpg&quot; /&gt;&lt;/a&gt;
&lt;p&gt;The other group was attending a talk about &lt;a class=&quot;reference&quot; href=&quot;http://arduino.cc&quot;&gt;arduino&lt;/a&gt;'s &lt;a class=&quot;reference&quot; href=&quot;http://www.arduino.cc/en/Main/ArduinoXbeeShield&quot;&gt;XBee&lt;/a&gt; shield, a small board that adds wireless communication support to your &lt;a class=&quot;reference&quot; href=&quot;http://arduino.cc&quot;&gt;arduino&lt;/a&gt; board. &lt;a class=&quot;reference&quot; href=&quot;http://blog.bricogeek.com&quot;&gt;Oscar&lt;/a&gt; (one of the guys behind &lt;a class=&quot;reference&quot; href=&quot;http://bricogeek.com&quot;&gt;Bricogeek&lt;/a&gt;) gave this talk (sorry, I've no pictures of this talk). Another good talk.&lt;/p&gt;
&lt;p&gt;The &lt;a class=&quot;reference&quot; href=&quot;http://en.wikipedia.org/wiki/BarCamp&quot;&gt;Barcamp&lt;/a&gt; finished near 21:00, or at least we left it at that time (I'm quite sure some people keep talking and sharing experiences and thoughts for some more time).&lt;/p&gt;
&lt;p&gt;It was &lt;strong&gt;really a good experience&lt;/strong&gt;. The only thing I'd missed was a &lt;em&gt;real&lt;/em&gt; workshop, like &lt;a class=&quot;reference&quot; href=&quot;http://blog.e-shell.org/292&quot;&gt;the one I attended some months ago in Santiago&lt;/a&gt;, where there was a table, some &lt;a class=&quot;reference&quot; href=&quot;http://arduino.cc&quot;&gt;arduino&lt;/a&gt; boards and material and both people willing to learn and people willing to teach, something more like a &lt;a class=&quot;reference&quot; href=&quot;http://en.wikipedia.org/wiki/Jam_session&quot;&gt;jam session&lt;/a&gt;. That would be really amazing, but I understand that being 70 people that would be &lt;em&gt;almost&lt;/em&gt; imposible.&lt;/p&gt;
&lt;p&gt;Don't misunderstand me, it was &lt;strong&gt;great&lt;/strong&gt; and I enjoyed every single talk during the barcamp, I'm just giving an idea for the next-to-be &lt;a class=&quot;reference&quot; href=&quot;http://arduino.cc&quot;&gt;arduino&lt;/a&gt; barcamp (as I'm quite sure there is going to be a next one soon).&lt;/p&gt;
&lt;p&gt;We got back in the car and drove our way back to &lt;a class=&quot;reference&quot; href=&quot;http://en.wikipedia.org/wiki/Lugo&quot;&gt;Lugo&lt;/a&gt;, arriving at 23:00 or so. We had dinner in one of the usual places (&lt;a class=&quot;reference&quot; href=&quot;http://dotmas.com&quot;&gt;dotmas&lt;/a&gt;) and then I came back home &lt;strong&gt;BUT&lt;/strong&gt; &lt;a class=&quot;reference&quot; href=&quot;https://twitter.com/r0sk&quot;&gt;&amp;#64;r0sk&lt;/a&gt;, &lt;a class=&quot;reference&quot; href=&quot;https://twitter.com/MarcosBL&quot;&gt;&amp;#64;MarcosBL&lt;/a&gt; and &lt;a class=&quot;reference&quot; href=&quot;https://twitter.com/mameyugo&quot;&gt;&amp;#64;mameyugo&lt;/a&gt; had other plans... They went to &lt;a class=&quot;reference&quot; href=&quot;https://twitter.com/MarcosBL&quot;&gt;&amp;#64;MarcosBL&lt;/a&gt;'s place and they kept themselves busy during the night, until they published this video in youtube:&lt;/p&gt;
&lt;object type=&quot;application/x-shockwave-flash&quot;
        width=&quot;425&quot;
        height=&quot;344&quot;
        class=&quot;youtube-embed&quot;
        data=&quot;http://www.youtube.com/v/Voj86CiIzhc&quot;&gt;
    &lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/Voj86CiIzhc&quot;&gt;&lt;/param&gt;
    &lt;param name=&quot;wmode&quot; value=&quot;transparent&quot;&gt;&lt;/param&gt;
&lt;/object&gt;
&lt;p&gt;[ &lt;strong&gt;no-comments&lt;/strong&gt; ]&lt;/p&gt;
&lt;p&gt;Oh!, I almost forgot, you can take a look at the pictures I took visiting this &lt;a class=&quot;reference&quot; href=&quot;http://http://e-shell.org/BarcampArduino2k11&quot;&gt;album&lt;/a&gt;.&lt;/p&gt;
&lt;table class=&quot;docutils footnote&quot; frame=&quot;void&quot; id=&quot;id2&quot; rules=&quot;none&quot;&gt;
&lt;colgroup&gt;&lt;col class=&quot;label&quot; /&gt;&lt;col /&gt;&lt;/colgroup&gt;
&lt;tbody valign=&quot;top&quot;&gt;
&lt;tr&gt;&lt;td class=&quot;label&quot;&gt;&lt;a class=&quot;fn-backref&quot; href=&quot;#id1&quot; name=&quot;id2&quot;&gt;[1]&lt;/a&gt;&lt;/td&gt;&lt;td&gt;anyone has Jose´s blog/twitter/whatever urls?&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
</description>
  <dc:subject />
  <dc:creator>wu</dc:creator>
  <dc:date>2011-11-06T23:48:16Z</dc:date>
</item>
<item rdf:about="http://blog.e-shell.org/297">
  <title>How to install a patched uwsgi package in FreeBSD</title>
  <link>http://blog.e-shell.org/297</link>
  <description>&lt;p&gt;What I'm going to explain in this post is not &lt;a class=&quot;reference&quot; href=&quot;http://projects.unbit.it/uwsgi&quot;&gt;uwsgi&lt;/a&gt;-specific, you can follow this intructions to install &lt;em&gt;patched&lt;/em&gt; versions of any package available in the &lt;a class=&quot;reference&quot; href=&quot;http://freebsd.org&quot;&gt;FreeBSD&lt;/a&gt; ports collection.&lt;/p&gt;
&lt;p&gt;In my case, I needed a patched version of the &lt;a class=&quot;reference&quot; href=&quot;http://projects.unbit.it/uwsgi&quot;&gt;uwsgi&lt;/a&gt; package because I found a bug on my current version (&lt;strong&gt;0.9.8&lt;/strong&gt;) &lt;a class=&quot;reference&quot; href=&quot;http://projects.unbit.it/uwsgi/changeset/1348/plugins/python/wsgi_headers.c&quot;&gt;that was already fixed&lt;/a&gt; in the &lt;em&gt;-current/trunk&lt;/em&gt; version of &lt;a class=&quot;reference&quot; href=&quot;http://projects.unbit.it/uwsgi&quot;&gt;uwsgi&lt;/a&gt;, but it hasn't been backported to any stable release yet (hopefully it will be in &lt;strong&gt;0.9.8.4&lt;/strong&gt;).&lt;/p&gt;
&lt;p&gt;So, to fix the bug I needed the latest &lt;em&gt;-current/trunk&lt;/em&gt; code or the latest stable release (&lt;strong&gt;0.9.8.3&lt;/strong&gt;) + the needed &lt;a class=&quot;reference&quot; href=&quot;http://projects.unbit.it/uwsgi/changeset/1348/plugins/python/wsgi_headers.c&quot;&gt;patch&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Installing &lt;em&gt;-current/trunk&lt;/em&gt; means compiling the sources and installing the binaries by myself, which will lead to some problems next time I had to upgrade the packages and ports in that server, so it seemed like a much better option to install the latest stable version using the ports tree. Anyway, I still would need to apply the patch to the &lt;strong&gt;0.9.8.3&lt;/strong&gt; sources before installing... this is what I've done to add the patch cleanly.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;I ran all the commands as root&lt;/strong&gt;, if needed use &lt;a class=&quot;reference&quot; href=&quot;http://en.wikipedia.org/wiki/Sudo&quot;&gt;sudo&lt;/a&gt; or some other tool to gain root privileges in order to use the ports tree.&lt;/p&gt;
&lt;p&gt;First I got the sources of &lt;a class=&quot;reference&quot; href=&quot;http://projects.unbit.it/uwsgi&quot;&gt;uwsgi&lt;/a&gt; using the ports tree:&lt;/p&gt;
&lt;pre class=&quot;literal-block&quot;&gt;
# cd /usr/ports/www/uwsgi
&lt;/pre&gt;
&lt;pre class=&quot;literal-block&quot;&gt;
# make fetch
&lt;/pre&gt;
&lt;p&gt;That saved the source &lt;em&gt;tarball&lt;/em&gt; into &lt;strong&gt;/usr/ports/distfiles&lt;/strong&gt;:&lt;/p&gt;
&lt;pre class=&quot;literal-block&quot;&gt;
-rw-r--r--  1 root  wheel  351168 Jul 23 06:28 /usr/ports/distfiles/uwsgi-0.9.8.3.tar.gz
&lt;/pre&gt;
&lt;p&gt;Then I extracted the sources:&lt;/p&gt;
&lt;pre class=&quot;literal-block&quot;&gt;
# make extract
&lt;/pre&gt;
&lt;p&gt;That extracted the sources into &lt;strong&gt;/usr/ports/www/uwsgi/work/&lt;/strong&gt;:&lt;/p&gt;
&lt;pre class=&quot;literal-block&quot;&gt;
drwxr-xr-x  18 root  wheel  3072 Aug 18 15:47 work/uwsgi-0.9.8.3/
&lt;/pre&gt;
&lt;p&gt;At this point we have two options, we could download an already existing patch or we can generate the patch ourselves. In my case, I generated the patch manually because the already existing &lt;a class=&quot;reference&quot; href=&quot;http://projects.unbit.it/uwsgi/changeset/1348/plugins/python/wsgi_headers.c&quot;&gt;patch&lt;/a&gt; didn't work.&lt;/p&gt;
&lt;p&gt;To generate the patch I renamed the file that was going to be patched:&lt;/p&gt;
&lt;pre class=&quot;literal-block&quot;&gt;
# cd work/uwsgi-0.9.8.3/
&lt;/pre&gt;
&lt;pre class=&quot;literal-block&quot;&gt;
# mv plugins/python/wsgi_headers.c plugins/python/wsgi_headers.c.orig
&lt;/pre&gt;
&lt;p&gt;Then I downloaded a copy of the patched version of the file:&lt;/p&gt;
&lt;pre class=&quot;literal-block&quot;&gt;
# fetch -o plugins/python/wsgi_headers.c &amp;quot;http://projects.unbit.it/uwsgi/export/ddccfbda7423c8a61f178ba5b1526872d38cc285/plugins/python/wsgi_headers.c&amp;quot;
&lt;/pre&gt;
&lt;p&gt;And finally I generated the patch:&lt;/p&gt;
&lt;pre class=&quot;literal-block&quot;&gt;
# diff -ruN plugins/python/wsgi_headers.c.orig plugins/python/wsgi_headers.c &amp;gt; ../../files/patch-wsgi_headers.c
&lt;/pre&gt;
&lt;p&gt;As explained in the &lt;a class=&quot;reference&quot; href=&quot;http://www.freebsd.org/doc/en/books/porters-handbook/slow-patch.html&quot;&gt;patching section&lt;/a&gt; of the &lt;a class=&quot;reference&quot; href=&quot;http://www.freebsd.org/doc/en/books/porters-handbook/&quot;&gt;FreeBSD porters handbook&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;Each patch you wish to apply should be saved into a file named patch-* where * indicates the pathname of the file that is patched, such as patch-Imakefile or patch-src-config.h. These files should be stored in PATCHDIR (usually files/, from where they will be automatically applied. All patches must be relative to WRKSRC (generally the directory your port's tarball unpacks itself into, that being where the build is done).&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Once the patch was created, I cleaned up the work directory:&lt;/p&gt;
&lt;pre class=&quot;literal-block&quot;&gt;
# make clean
&lt;/pre&gt;
&lt;p&gt;And finally I install the new &lt;a class=&quot;reference&quot; href=&quot;http://projects.unbit.it/uwsgi&quot;&gt;uwsgi&lt;/a&gt; package:&lt;/p&gt;
&lt;pre class=&quot;literal-block&quot;&gt;
# make install clean
&lt;/pre&gt;
&lt;p&gt;The bug was fixed and everything is running smoothly now.&lt;/p&gt;
&lt;p&gt;Just some final considerations:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p class=&quot;first&quot;&gt;If you would like to know if your patch was applied properly, check the output of &lt;em&gt;make install&lt;/em&gt;, you should see something like:&lt;/p&gt;
&lt;pre class=&quot;literal-block&quot;&gt;
===&amp;gt;  Patching for uwsgi-0.9.8.3_1
===&amp;gt;  Applying FreeBSD patches for uwsgi-0.9.8.3_1
&lt;/pre&gt;
&lt;p&gt;Any errors that could have happened while applying the patch would be logged there.&lt;/p&gt;
&lt;p&gt;You can build the package before installing it too:&lt;/p&gt;
&lt;pre class=&quot;literal-block&quot;&gt;
# make
&lt;/pre&gt;
&lt;p&gt;and then you can check the file that should be patched (in this example it was &lt;strong&gt;/usr/ports/www/uwsgi/work/uwsgi-0.9.8.3/plugins/python/wsgi_headers.c&lt;/strong&gt;) to see if it has been patched properly before proceeding with &lt;em&gt;make install&lt;/em&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class=&quot;first&quot;&gt;Remember that before installing the new package, you will have to delete the old one, use &lt;a class=&quot;reference&quot; href=&quot;http://www.freebsd.org/cgi/man.cgi?query=pkg_delete&amp;amp;apropos=0&amp;amp;sektion=0&amp;amp;manpath=FreeBSD+8.2-RELEASE&amp;amp;format=html&quot;&gt;pkg_delete&lt;/a&gt; or &lt;em&gt;make deinstall&lt;/em&gt; to do it.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class=&quot;first&quot;&gt;In this case, the patch will be imported into the next &lt;a class=&quot;reference&quot; href=&quot;http://projects.unbit.it/uwsgi&quot;&gt;uwsgi&lt;/a&gt; release (&lt;strong&gt;0.9.8.4&lt;/strong&gt;) and so it will be available by default in the next upgrade of the &lt;a class=&quot;reference&quot; href=&quot;http://projects.unbit.it/uwsgi&quot;&gt;uwsgi&lt;/a&gt; port, but, &lt;strong&gt;if you think that the patch will not be available directly from the official sources of the project&lt;/strong&gt;, you should contact the author of the &lt;a class=&quot;reference&quot; href=&quot;http://freebsd.org&quot;&gt;FreeBSD&lt;/a&gt; port and tell him/her about the patch and how you could help importing it into the ports tree. You can read more about this in the &lt;a class=&quot;reference&quot; href=&quot;http://www.freebsd.org/doc/en/books/porters-handbook/&quot;&gt;FreeBSD porters handbook&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
</description>
  <dc:subject />
  <dc:creator>wu</dc:creator>
  <dc:date>2011-08-18T18:31:58Z</dc:date>
</item>
<item rdf:about="http://blog.e-shell.org/296">
  <title>How to get more followers in twitter during this summer</title>
  <link>http://blog.e-shell.org/296</link>
  <description>&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;And indeed it wasn't an original idea at all, this afternoon I've discovered that my friend &lt;a class=&quot;reference&quot; href=&quot;http://userlinux.net&quot;&gt;r0sk&lt;/a&gt; did something like that some days ago, here you have the proof:&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;reference&quot; href=&quot;http://yfrog.com/khl5hpsj&quot;&gt;http://yfrog.com/khl5hpsj&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;OLD POST&lt;/strong&gt;&lt;/p&gt;
&lt;img alt=&quot;Get more followers on twitter, writing your ID on the sand when you are on the beach&quot; src=&quot;http://www.e-shell.org/img/samples/twitter_followers/twitter_id_sand_follow_thumb.jpg&quot; /&gt;
&lt;p&gt;I'm sure I'm not the first one that cames up with this idea, but I think it is funny enough to share it with all of you.&lt;/p&gt;
&lt;p&gt;Some days ago, while having a walk by the sea, I found some stuff written on the sand. I kept walking and suddendly I thought:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;Hey!, wouldn't it be a good idea if I just write my twitter ID on the sand, leaving it there for everyone to find it?&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I know... probably &lt;strong&gt;90%&lt;/strong&gt; of the people will have no idea what would be the meaning of that, but that &lt;strong&gt;10%&lt;/strong&gt; would be worth the effort.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The rules:&lt;/strong&gt;&lt;/p&gt;
&lt;ol class=&quot;arabic simple&quot;&gt;
&lt;li&gt;&lt;strong&gt;Choose a place that is not visible for everyone&lt;/strong&gt;. This way, the people that would find it will read the ID, thinking about what it would be (obviously, people with a twitter account will understand what it is)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Try to write the ID on wet sand&lt;/strong&gt;, the ID will be more readable. Of course, wet sand means that the sea will cover the ID sooner or later, it would be a good idea to keep an eye on it and write it again later.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Take some pictures&lt;/strong&gt; of the writing and the place where you'd written it &lt;strong&gt;and put them on your blog&lt;/strong&gt;. Don't show &lt;em&gt;clearly&lt;/em&gt; where it is, but take some shots and spread the word/idea.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Action shot&lt;/strong&gt;&lt;/p&gt;
&lt;a class=&quot;reference image-reference&quot; href=&quot;http://www.e-shell.org/img/samples/twitter_followers/twitter_sand_example_mid.jpg&quot;&gt;&lt;img alt=&quot;An *action shot* of my twitter ID written on the sand on a beach located in the north of Galicia&quot; src=&quot;http://www.e-shell.org/img/samples/twitter_followers/twitter_id_sand_thumb.jpg&quot; /&gt;&lt;/a&gt;
</description>
  <dc:subject />
  <dc:creator>wu</dc:creator>
  <dc:date>2011-07-25T11:56:27Z</dc:date>
</item>
<item rdf:about="http://blog.e-shell.org/295">
  <title>Change by popular demand</title>
  <link>http://blog.e-shell.org/295</link>
  <description>&lt;p&gt;Just a quick post, because I think it deserves it.&lt;/p&gt;
&lt;p&gt;For the first time in years, I've made a change to the layout of this blog. As you can notice, now the SouthPark-style character is located on the left sidebar, instead the top-right corner of the page.&lt;/p&gt;
&lt;p&gt;This has been a request I've received multiple times since I moved my old blog to COREBlog+the new layout, because the character was making some texts difficult to read.&lt;/p&gt;
&lt;p&gt;This morning, my friend &lt;strong&gt;saad&lt;/strong&gt; told me:&lt;/p&gt;
&lt;pre class=&quot;literal-block&quot;&gt;
09:59:32     saad | I admit that while I still grab e-shell's RSS feeds
09:59:44     saad | I no longer go read your posts
10:01:55     saad | as I am annoyed by the South Park like character that follow my scrolling
10:01:55     saad | given that I like scrolling down and reading from the beginning
10:01:55     saad | only to find that the SP char is the bg of text and thus make it impossible to read
&lt;/pre&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;WTF!&amp;quot;&lt;/em&gt; - I thought - &lt;em&gt;&amp;quot;how could it be that a friend of mine is not reading my blog anymore because of that!&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;So I've moved the &lt;em&gt;SP&lt;/em&gt; character a bit. I hope all of you will like this little change.&lt;/p&gt;
</description>
  <dc:subject />
  <dc:creator>wu</dc:creator>
  <dc:date>2011-07-20T10:27:36Z</dc:date>
</item>
<item rdf:about="http://blog.e-shell.org/294">
  <title>We've a new website at Codigo23</title>
  <link>http://blog.e-shell.org/294</link>
  <description>&lt;a class=&quot;reference image-reference&quot; href=&quot;http://codigo23.net&quot;&gt;&lt;img alt=&quot;The index page of the new codigo23.net site&quot; class=&quot;imgblogright&quot; src=&quot;http://www.e-shell.org/img/samples/codigo23_net_thumb.png&quot; /&gt;&lt;/a&gt;
&lt;p&gt;As I've told you some weeks ago in my &lt;a class=&quot;reference&quot; href=&quot;http://blog.e-shell.org/286&quot;&gt;summary of the first three months of 2011&lt;/a&gt; I've been quite busy since the beginning of the year. Things hadn't change too much the past three months and that's the reason for this low-posting period (again).&lt;/p&gt;
&lt;p&gt;One of the projects I spent most of my time working on was the new &lt;a class=&quot;reference&quot; href=&quot;http://codigo23.net&quot;&gt;Codigo23&lt;/a&gt; website. For the past few years we had a &lt;em&gt;coming soon&lt;/em&gt; page, buf finally we found the time to finish the new site contents. Once the contents were ready, we packed them in a &lt;em&gt;not-so-complex&lt;/em&gt; website powered by &lt;a class=&quot;reference&quot; href=&quot;http://python.org&quot;&gt;Python&lt;/a&gt;, &lt;a class=&quot;reference&quot; href=&quot;http://docs.djangoproject.com&quot;&gt;django&lt;/a&gt; and some &lt;a class=&quot;reference&quot; href=&quot;http://www.makotemplates.org&quot;&gt;Mako&lt;/a&gt; templates. The design was made by &lt;a class=&quot;reference&quot; href=&quot;http://www.sond3.com&quot;&gt;Sond3&lt;/a&gt; , a design and web development company from Lugo.&lt;/p&gt;
&lt;p&gt;The new site contains information about the different kind of services provided by the company, from software development to servers and networks management, security services or python-related training.&lt;/p&gt;
&lt;p&gt;We are working in an open source section, that will contain source code, snippets and many more things, including full source code access to projects released by the company. A &lt;em&gt;papers&lt;/em&gt; section is almost ready too, there we are going to publish manuals, articles and &lt;em&gt;how-to&lt;/em&gt; documents to share our knowledge base with the community.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;We are open!&lt;/strong&gt; &lt;em&gt;(TM)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Right now it is available only in spanish, but we are working on the english and galician versions (I hope they will be available soon).&lt;/p&gt;
</description>
  <dc:subject />
  <dc:creator>wu</dc:creator>
  <dc:date>2011-07-18T10:10:33Z</dc:date>
</item>
<item rdf:about="http://blog.e-shell.org/292">
  <title>Arduino, first contact</title>
  <link>http://blog.e-shell.org/292</link>
  <description>&lt;p&gt;Two days ago I went to &lt;a class=&quot;reference&quot; href=&quot;http://en.wikipedia.org/wiki/Santiago_de_Compostela&quot;&gt;Santiago&lt;/a&gt; to attend the &lt;a class=&quot;reference&quot; href=&quot;http://www.baleiro.org/content/artropocode-meeting-151617-de-xullo&quot;&gt;Artropocode Meeting&lt;/a&gt;, an event for people from both the Open/Free Software and Art/Design/Multimedia worlds to meet, talk and share ideas, experiences and knowledge.&lt;/p&gt;
&lt;p&gt;First reason for me to be there was the fact that a friend of mine was involved in the event organization, second reason was that the first day was focused mainly in the &lt;a class=&quot;reference&quot; href=&quot;http://arduino.cc&quot;&gt;arduino&lt;/a&gt; project.&lt;/p&gt;
&lt;p&gt;For those of you who don't know about it, &lt;em&gt;Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments&lt;/em&gt; (extracted from their website, &lt;a class=&quot;reference&quot; href=&quot;http://arduino.cc&quot;&gt;http://arduino.cc&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;First time I heard about &lt;a class=&quot;reference&quot; href=&quot;http://arduino.cc&quot;&gt;arduino&lt;/a&gt; was during &lt;a class=&quot;reference&quot; href=&quot;http://wiki.europython.eu&quot;&gt;europython2010&lt;/a&gt;, when &lt;a class=&quot;reference&quot; href=&quot;http://ianozsvald.com&quot;&gt;Ian Ozsvald&lt;/a&gt; showed us his &lt;a class=&quot;reference&quot; href=&quot;http://blog.aicookbook.com/2010/06/building-a-face-tracking-robot-headroid1-with-python-in-an-afternoon/&quot;&gt;headroid&lt;/a&gt;, a face-tracking robot. I thought it was totally awesome and I added a reminder for myself to check about that &lt;a class=&quot;reference&quot; href=&quot;http://arduino.cc&quot;&gt;arduino&lt;/a&gt; &lt;em&gt;thing&lt;/em&gt; later.&lt;/p&gt;
&lt;p&gt;Since then I've read some stuff about the project and I've seen a lot of amazing things people do with &lt;a class=&quot;reference&quot; href=&quot;http://arduino.cc&quot;&gt;arduino&lt;/a&gt; hardware, but I never had the chance to play with it by myself.&lt;/p&gt;
&lt;p&gt;So, &lt;strong&gt;this was the perfect opportunity!&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The meeting started with a talk by &lt;a class=&quot;reference&quot; href=&quot;http://inmotion.pt/blog&quot;&gt;Filipe Valpereiro&lt;/a&gt; from the &lt;a class=&quot;reference&quot; href=&quot;http://spacebits.eu&quot;&gt;spacebits&lt;/a&gt; project. If you don't know the &lt;a class=&quot;reference&quot; href=&quot;http://spacebits.eu&quot;&gt;spacebits&lt;/a&gt; project, you should take a look at their website (&lt;a class=&quot;reference&quot; href=&quot;http://spacebits.eu&quot;&gt;http://spacebits.eu&lt;/a&gt;) and see the amazing things they are capable of.&lt;/p&gt;
&lt;a class=&quot;reference image-reference&quot; href=&quot;http://www.e-shell.org/img/samples/arduino/spacebits.jpg&quot;&gt;&lt;img alt=&quot;Filipe talking about the SpaceBits project&quot; src=&quot;http://www.e-shell.org/img/samples/arduino/spacebits_thumb.jpg&quot; /&gt;&lt;/a&gt;
&lt;p&gt;Basically, they were able to send a hand-made shuttle up to near 40Km from the ground. Within that shuttle there were some cameras that were recording the whole thing. Just go check their website and play some videos, you will get truly amazed.&lt;/p&gt;
&lt;p&gt;Filipe told us about the idea behind their project, how they started working on it, how they did what they do and we watched some amazing videos.&lt;/p&gt;
&lt;p&gt;When the talk was over, Filipe sets a workshop so we all could play with some &lt;a class=&quot;reference&quot; href=&quot;http://arduino.cc&quot;&gt;arduino&lt;/a&gt; boards and learn &lt;strong&gt;a lot&lt;/strong&gt;.&lt;/p&gt;
</description>
  <dc:subject />
  <dc:creator>wu</dc:creator>
  <dc:date>2011-07-17T13:13:33Z</dc:date>
</item>
<item rdf:about="http://blog.e-shell.org/290">
  <title>7-J, el día que perdí a un ser querido</title>
  <link>http://blog.e-shell.org/290</link>
  <description>&lt;p&gt;Hoy a sido un día duro, muy duro. Hoy se ha muerto mi abuela (paterna).&lt;/p&gt;
&lt;p&gt;Podría remontarme a hace prácticamente 10 años, cuando empezaron a aparecer los primeros síntomas del &lt;a class=&quot;reference&quot; href=&quot;http://es.wikipedia.org/wiki/Enfermedad_de_Alzheimer&quot;&gt;alzheimer&lt;/a&gt;, cuando su mente comenzó a degenerarse de tal forma que hasta su cuerpo dejó de responder.&lt;/p&gt;
&lt;p&gt;Podría remontarme a hace unos 3 o 4 años, cuando dejó prácticamente de hablar y ya no pudo moverse más, quedando postrada como un vegetal en una cama, con la única capacidad de sonreir, llorar y emitir unos lamentos que te rompían el corazón.&lt;/p&gt;
&lt;p&gt;Pero prefiero pensar que por fin descansa, que aquella abuela que de niño me cuidaba y me enseñaba muchas de las cosas que me han convertido en lo que soy hoy, ahora está en ese sitio a donde ella siempre quiso llegar.&lt;/p&gt;
</description>
  <dc:subject />
  <dc:creator>wu</dc:creator>
  <dc:date>2011-06-07T23:55:00Z</dc:date>
</item>
</rdf:RDF>
