<?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>boriel.com</title>
	<atom:link href="http://www.boriel.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.boriel.com</link>
	<description>Hacks, science and personal rants</description>
	<lastBuildDate>Wed, 28 Dec 2011 22:50:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Collecting Bad Wines</title>
		<link>http://www.boriel.com/2011/12/28/bad-wines/?lang=en</link>
		<comments>http://www.boriel.com/2011/12/28/bad-wines/?lang=en#comments</comments>
		<pubDate>Wed, 28 Dec 2011 22:47:04 +0000</pubDate>
		<dc:creator>Boriel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.boriel.com/?p=1895</guid>
		<description><![CDATA[It&#8217;s been quite a long time since my last post. This year, 2011, has been quite odd (you can&#8217;t say it&#8217;s been a bad one, nor complain of it; it&#8217;s not politically correct). I&#8217;m gradual and inexorably reaching one of those crossroad dilemmas and I seriously have to reconsider my life and where I am [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been quite a long time since my last post.  This year, 2011, has been quite <i>odd</i> (you can&#8217;t say it&#8217;s been a bad one, nor complain of it; it&#8217;s not politically correct).</p>
<p>I&#8217;m gradual and inexorably reaching one of those crossroad dilemmas and I seriously have to reconsider my life and where I am heading to. Yes, I also <a href="http://www.youtube.com/watch?v=6ZIWO6M8xjs&#038;feature=share#t=1m52s">collect bad wines</a>.  </p>
<p>I needn&#8217;t pass through a terrible experience to know it. I&#8217;m simply not very (to say the less) satisfied with my life (and yes, I know many people are feeling the same, but this does not mitigates this feeling). I really feel like lost. My mind says <i>something is broken here</i>.</p>
<p>At my age, I feel that people surrounding me (including those supposedly closer to me) don&#8217;t respect me; I feel continuously questioned (and almost sabotaged) in every, including the pettier, aspect or decision I try to take on my own life. And it ends up being frustrating, exhausting and, at my age, hard (it&#8217;s almost like going back to my childhood). I wonder myself what is my mistake, because it&#8217;s clear that part (if not all) the problem lies on my side.</p>
<p>But that hasn&#8217;t been the hardest part: the toughest one is seeing how those few people who do accept,  endorse, encourages and enlighten me, or just I felt some affinity are not among us (passed away) or have moved really far away.</p>
<p>This has been a somewhat sad end of year, with that feeling of <i>any past time was better</i>.<br />
Anyway, I don&#8217;t give up. It&#8217;s time to open that bottle of wine, now that it&#8217;s still good:</p>
<p style="text-align: center;"><object type="application/x-shockwave-flash" style="width:425px; height:355px;" data="http://www.youtube.com/v/6ZIWO6M8xjs&amp;rel=1&amp;color1=0x3a3a3a&amp;color2=0x999999&amp;border=1"><param name="movie" value="http://www.youtube.com/v/6ZIWO6M8xjs&amp;rel=1&amp;color1=0x3a3a3a&amp;color2=0x999999&amp;border=1" /></object></p>
<div id="tweetbutton1895" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.boriel.com%2F2011%2F12%2F28%2Fbad-wines%2F%3Flang%3Den&amp;via=boriel&amp;text=Collecting%20Bad%20Wines%20-%20boriel.com&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fwww.boriel.com%2F2011%2F12%2F28%2Fbad-wines%2F%3Flang%3Den" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.boriel.com/blog/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.boriel.com/2011/12/28/bad-wines/?lang=en/feed/&#038;lang=en</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Breakpoint Wont be Hit in Visual Studio 2010</title>
		<link>http://www.boriel.com/2011/08/18/breakpoint-wont-be-hit-in-visual-studio-2010/?lang=en</link>
		<comments>http://www.boriel.com/2011/08/18/breakpoint-wont-be-hit-in-visual-studio-2010/?lang=en#comments</comments>
		<pubDate>Thu, 18 Aug 2011 23:25:36 +0000</pubDate>
		<dc:creator>Boriel</dc:creator>
				<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips & tricks]]></category>

		<guid isPermaLink="false">http://www.boriel.com/?p=1861</guid>
		<description><![CDATA[I&#8217;ve been working on a 3D VideoGame prototype these last months, using Visual C++ (Visual Studio 2010). With such work, some vacancies and some job affairs I havn&#8217;t had enough time for publishing something interesting in the blog&#8230; Visual Studio 2010 worked fine at the beginning, but one day, suddenly, breakpoints stopped working. A yellow [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on a 3D VideoGame prototype these last months, using Visual C++ (Visual Studio 2010). With such work, some vacancies and some job affairs I havn&#8217;t had enough time for publishing something interesting in the blog&#8230; <img src='http://www.boriel.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Visual Studio 2010 worked fine at the beginning, but one day, suddenly, breakpoints stopped working. A yellow exclamation mark symbol was shown over them and placing the mouse cursor over such symbols showed the message &#8220;Breakpoint won&#8217;t be hit&#8221;.</p>
<p>Searching on the internet for this problem I found out it was a common one in almost every version of Visual Studio, specially in 2008 and 2010. Most common causes for this error are:</p>
<ul>
<li>The project was compiled in <i>Release</i> mode, not in <i>Debug</i> one</li>
<li>Debug symbols are not found (or wrong path)</li>
<li>Incremental Debug linking option is not enabled</li>
<li>Not having installed the latest service packs and patches (some of them address this problem)</li>
<li>Corrupted installation: Reinstalling the application, restoring default configuration or even deleting Registry Keys and Local App configuration stored in the Windows User profile folders might fix this case</li>
</ul>
<p>The fact was none of the above worked for me, but found out that if I started Visual Studio with a different user account everything worked like a charm. <img src='http://www.boriel.com/blog/wp-includes/images/smilies/icon_question.gif' alt=':?:' class='wp-smiley' />  After opening two projects (each generated with a different user) and compared differences on the .vproj XML files I found these extra lines added to the &#8220;faulty&#8221; one:</p>
<pre class="brush:xml">
<importgroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    <import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  </importgroup>
</pre>
<p>Removing these lines from the .vproj file and recompiling made the breakpoints to work again! The case was these lines referenced User configurations that didn&#8217;t appear in my VS configuration panels or couldn&#8217;t change (some of them were <em>grayed</em>). These XML lines contain a conditional inclusion and the path is $(UserRootDir)\MicrosoftCpp.$(Platform). It happened that path was C:\Users\Boriel\AppData\Local\Microsoft\MSBuild\v4.0, which was not the Visual Studio configuration Folder. Deleting it fixed the issue (it&#8217;s regenerated the next time Visual Studio IDE is started).</p>
<p>To avoid even more troubles I not only removed that folder, but also the local configuration stored in my profile (C:\Users\Boriel\AppData\Local\Microsoft\VisualStudio\10.0) and related registry keys (HKEY_CURRENT_USER\Software\Microsoft\VSCommon\10.0). Afterwards I restarted the IDE and a splashscreen warning told me the application was being prepared to be used for the first time. And the problem was gone. <img src='http://www.boriel.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<div id="tweetbutton1861" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.boriel.com%2F2011%2F08%2F18%2Fbreakpoint-wont-be-hit-in-visual-studio-2010%2F%3Flang%3Den&amp;via=boriel&amp;text=%3Ci%3EBreakpoint%20Wont%20be%20Hit%3C%2Fi%3E%20in%20Visual%20Studio%202010%20-%20boriel.com&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fwww.boriel.com%2F2011%2F08%2F18%2Fbreakpoint-wont-be-hit-in-visual-studio-2010%2F%3Flang%3Den" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.boriel.com/blog/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.boriel.com/2011/08/18/breakpoint-wont-be-hit-in-visual-studio-2010/?lang=en/feed/&#038;lang=en</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magic Square</title>
		<link>http://www.boriel.com/2011/04/06/cuadrado-magico/?lang=en</link>
		<comments>http://www.boriel.com/2011/04/06/cuadrado-magico/?lang=en#comments</comments>
		<pubDate>Wed, 06 Apr 2011 22:12:45 +0000</pubDate>
		<dc:creator>Boriel</dc:creator>
				<category><![CDATA[Divertimática]]></category>
		<category><![CDATA[Mathematics]]></category>

		<guid isPermaLink="false">http://www.boriel.com/?p=1622</guid>
		<description><![CDATA[This week El Pais&#8217; math challenge was easier to solve than previous ones (maybe that&#8217;s why I resolved it without using the computer this time ). The problem is the following: get a product magic square, that is, a 3&#215;3 square whose product for numbers in every row, column or diagonal gives the same (unknown) [...]]]></description>
			<content:encoded><![CDATA[<p>This week <a href="http://www.elpais.com/articulo/sociedad/Cuadrado/magico/productos/solucionado/elpepusoc/20110405elpepusoc_2/Tes">El Pais&#8217; math challenge</a> was easier to solve than previous ones (maybe that&#8217;s why I resolved it without using the computer this time <img src='http://www.boriel.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> ). </p>
<p>The problem is the following: get a <em>product magic square</em>, that is, a 3&#215;3 square whose product for numbers in every row, column or diagonal gives the same (unknown) amount . All numbers are unrepeated positive integers. It&#8217;s known that the number in the center cell is 15.</p>
<p>My approach was to assign each cell a variable name:</p>

<p>&nbsp;<br />
<center></p>
<table>
<tbody>
<tr>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$a$$</td>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$b$$</td>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$c$$</td>
</tr>
<tr>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$d$$</td>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$15$$</td>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$f$$</td>
</tr>
<tr>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$g$$</td>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$h$$</td>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$i$$</td>
</tr>
</tbody>
</table>
<p></center><br />
<span id="more-1622"></span><br />
This way I got equations like:<br />
$$\begin{aligned}<br />
a * b * c = a * d * g \\<br />
a * b * c = a * 15 * i \\<br />
a * b * c = d * 15 * f \\<br />
a * d * g = g * h * i \\<br />
&#8230;<br />
\end{aligned}<br />
$$<br />
which allow some terms to be cancelled and, after some operations, I got the following magic square (or the like, rotations are equivalents):<br />
<center></p>
<table>
<tbody>
<tr>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$\frac{15^3}{b·c}$$</td>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$b$$</td>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$c$$</td>
</tr>
<tr>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$\frac{b·c^2}{15^2}$$</td>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$15$$</td>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$\frac{15^4}{b·c^2}$$</td>
</tr>
<tr>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$\frac{15^2}{c}$$</td>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$\frac{15^2}{b}$$</td>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$\frac{b·c}{15}$$</td>
</tr>
</tbody>
</table>
<p></center><br />
Now we se that the product of any row, column or diagonal gives the same result (as requested), and that such result is 15^3 = 3375. This was the unknown product. Even more, since cells can only have positive integers, the number of possible solutions is finite (in fact unique if rotations are excluded). We can also see that both b and c must be a factor of 15^2, or in other words, both b and c must be one of [1, 3, 5, 3^2, 3 * 5 (already in the center), 5^2, 3^2 * 5, ...]. That is every possible combination of possible product of 3^x * 5^y (with both x and y being [0, 1, 2, 3]). There are 16 possible combinations. Let&#8217;s start supposing b = 1, then the resulting square is:<br />
<center></p>
<table>
<tbody>
<tr>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$\frac{15^3}{c}$$</td>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$1$$</td>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$c$$</td>
</tr>
<tr>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$\frac{c^2}{15^2}$$</td>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$15$$</td>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$\frac{15^4}{c^2}$$</td>
</tr>
<tr>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$\frac{15^2}{c}$$</td>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$15^2$$</td>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$\frac{c}{15}$$</td>
</tr>
</tbody>
</table>
<p></center><br />
Right-lowest cell reveals that 15 must be a factor of c (and c cannot be 15, because it&#8217;s already used in the center). The lowest left-most cell also tell us that c is a factor of 15^2 (which is 3^2 * 5^2). This means c must be a product of 3 or 9 per 5 or 25 (only 3 combinations possible, since 3 * 5 = 15 which has been discarded). I tried with 9 * 5 = 45 and&#8230; eureka! c = 45. I replaced c by its value and this is the magic square:<br />
<center></p>
<table>
<tbody>
<tr>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$75$$</td>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$1$$</td>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$45$$</td>
</tr>
<tr>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$9$$</td>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$15$$</td>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$25$$</td>
</tr>
<tr>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$5$$</td>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$225$$</td>
<td style="width: 50px; height: 50px; vertical-align: middle;">$$3$$</td>
</tr>
</tbody>
</table>
<p></center></p>
<div id="tweetbutton1622" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.boriel.com%2F2011%2F04%2F06%2Fcuadrado-magico%2F%3Flang%3Den&amp;via=boriel&amp;text=Magic%20Square%20-%20boriel.com&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fwww.boriel.com%2F2011%2F04%2F06%2Fcuadrado-magico%2F%3Flang%3Den" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.boriel.com/blog/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.boriel.com/2011/04/06/cuadrado-magico/?lang=en/feed/&#038;lang=en</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ants</title>
		<link>http://www.boriel.com/2011/03/26/hormigas/?lang=en</link>
		<comments>http://www.boriel.com/2011/03/26/hormigas/?lang=en#comments</comments>
		<pubDate>Sat, 26 Mar 2011 15:42:55 +0000</pubDate>
		<dc:creator>Boriel</dc:creator>
				<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Divertimática]]></category>
		<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linkedin]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://www.boriel.com/?p=1774</guid>
		<description><![CDATA[This week&#8217;s math challenge of El País (Spanish video) is again about a graph. In this case, the graph is a cube (8 vertex, 12 edges) numbered as shown in the video. An ant starts walking from vertex #1 and changes it direction at random on each vertex (might even turn back from the same [...]]]></description>
			<content:encoded><![CDATA[<p>This week&#8217;s <a href="http://www.elpais.com/videos/sociedad/hormiga/amenazada/elpepusoc/20110325elpepusoc_1/Ves/">math challenge of El País</a> (Spanish video) is again about a graph. In this case, the graph is a cube (8 vertex, 12 edges) numbered as shown in the video.</p>
<p>An ant starts walking from vertex #1 and changes it direction at random on each vertex (might even turn back from the same edge it came from). Vertex #7 and #8 are poisoned. If the ant happens to walk into one of them it will die. The challenge consist in find out the probabilities of the ant dying or not and in which vertex (#7 or #8) when it does.<br />
<span id="more-1774"></span><br />
This program uses the previous one (which already defines a Graph class) to make a simple statistical simulation of the problem and give you an answer of what to expect. Obviously, the result by itself is not the entire solution: you also have to give a theoretical demonstration of such result <img src='http://www.boriel.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<pre class="brush:py">#!/usr/bin/env python
# -*- coding: utf-8 -*-
# vim:ts=4:et:sw=4:

from random import choice
from grafo import Graph, Vertex

class Point(Vertex):
    '''A vertex which can have a poison trap
    '''
    def __init__(self, *args):
        Vertex.__init__(self, *args)
        self.poisoned = False

    def __str__(self):
        tmp = '*' if self.poisoned else ''
        return '&lt;' + tmp + str(self.i) + '&gt;'

&nbsp;
class Cube(Graph):
    ''' A Graph derived class in which each vertex (Point)
    may contain a poison trap or not
    '''
    def add(self, node, *nodelist):
        vertex = Point(node, *nodelist)
        self.vList[node] = vertex

    def run(self, N):
        ''' Puts an ant on vertex #1 and let it run for N
        random steps. Stops when the ant enters a poisoned
        vertex or it has run N steps. Returns ant's last position.
        '''
        i = 0
        pos = 1 # Initial ant position
        while i &lt; N:
            i += 1
            pos = choice(self.vList[pos].nodeList)
            if self.vList[pos].venenoso:
                break

        return pos

&nbsp;
if __name__ == '__main__':
    G = Cube()
    G.add(1, 2, 4, 5)
    G.add(2, 1, 3, 6)
    G.add(3, 2, 4, 7)
    G.add(4, 1, 3, 8&#41;
    G.add(5, 1, 6, 8&#41;
    G.add(6, 2, 5, 7)
    G.add(7, 3, 6, 8&#41;
    G.add(8, 4, 5, 7)

    G.vList[7].poisoned = True
    G.vList[8].poisoned = True

    # Carry out simple statistics
    stats = [0, 0, 0] # Counters

    for i in xrange(1000000): # Total number of experiments (runs)
        pos = G.run(100) # make the ant to run 100 steps
        if pos &gt; 6: # Map 0..6 =&gt; 0, 7 =&gt; 1, 8 =&gt; 2
            pos -= 6 # 7 = 1, 8 = 2
        else:
            pos = 0

        stats[pos] += 1 # Increase corresponding counter

    tot = sum(stats) # Total #number of experiments (must be the same number as above)
    print stats # Absolute Frequencies
    print [100 * float(x) / tot for x in stats] # Relative frequencies (percentage)</pre>
<div id="tweetbutton1774" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.boriel.com%2F2011%2F03%2F26%2Fhormigas%2F%3Flang%3Den&amp;via=boriel&amp;text=Ants%20-%20boriel.com&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fwww.boriel.com%2F2011%2F03%2F26%2Fhormigas%2F%3Flang%3Den" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.boriel.com/blog/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.boriel.com/2011/03/26/hormigas/?lang=en/feed/&#038;lang=en</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Hamiltonian Path</title>
		<link>http://www.boriel.com/2011/03/22/camino-hamiltoniano/?lang=en</link>
		<comments>http://www.boriel.com/2011/03/22/camino-hamiltoniano/?lang=en#comments</comments>
		<pubDate>Tue, 22 Mar 2011 23:25:17 +0000</pubDate>
		<dc:creator>Boriel</dc:creator>
				<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Divertimática]]></category>
		<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://www.boriel.com/?p=1738</guid>
		<description><![CDATA[Yesterday at midnight was the deadline of El País math challenge which consisted in finding the Hamiltonian path of a given graph (or to give a demonstration it hadn&#8217;t any as it was the case). A friend of mine told me a simple and elegant demonstration based on graph coloration, which is the one explained [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday at midnight was the deadline of <a href="http://www.elpais.com/articulo/cultura/solucion/hay/solucion/elpepusoc/20110322elpepicul_10/Tes">El País math challenge</a> which consisted in finding the Hamiltonian path of a given graph (or to give a demonstration it hadn&#8217;t any as it was the case). A friend of mine told me a simple and elegant demonstration based on graph coloration, which is the one explained in the video (the video is in Spanish but it&#8217;s my bet there are more demonstrations like this in English on the internet). If you can understand Spanish, I encourage you to watch the video. It&#8217;s really short, entertaining and easy to understand.<br />
<span id="more-1738"></span><br />
This tiny python program finds a  Hamiltonian path for a given graph and prints the solution (or None if it doesn&#8217;t exist, as it happens in this math challenge).</p>
<pre class="brush:python">#!/usr/bin/env python
# -*- coding: utf-8 -*-
# vim:ts=4:et:sw=4

class Vertex(object):
    def __init__(self, node, *nodeList):
        self.i = node
        self.nodeList = list(nodeList)

    def __hash__(self):
        return self.i

    def reaches(self, vertex):
        ''' Can receive an integer or a Vertex
        '''
        if isinstance(vertex, int):
            return vertex in self.nodeList

        return self.reaches(vertex.i)

    def __str__(self):
        return '&lt; ' + str(self.i) + '&gt;'

    def __repr__(self):
        return self.__str__()

&nbsp;
class Graph(object):
    def __init__(self):
        self.vList = {}

    def add(self, node, *nodeList):
        vertex = Vertex(node, *nodeList)
        self.vList[node] = vertex

    def hamiltonian(self, current = None, pending = None, destiny = None):
        ''' Returns a list of nodes which represent
        a hamiltonian path, or None if not found
        '''
        if pending is None:
            pending = self.vList.values()

        result = None

        if current is None:
            for current in pending:
                result = self.hamiltonian(current, [x for x in pending if x is not current], current)
                if result is not None:
                    break
        else:
            if pending == []:
                if current.reaches(destiny):
                    return [current]
                else:
                    return None

            for x in [self.vList[v] for v in current.nodeList]:
                if x in pending:
                    result = self.hamiltonian(x, [y for y in pending if y is not x], destiny)
                    if result is not None:
                        result = [current] + result
                        break    

        return result

if __name__ == 'main':
    G = Graph()
    G.add(1, 2, 8, 11)
    G.add(2, 1, 6, 9)
    G.add(3, 6, 7, 9, 10)
    G.add(4, 5, 7, 10)
    G.add(5, 4, 8, 11)
    G.add(6, 2, 3, 8&#41;
    G.add(7, 3, 4, 8&#41;
    G.add(8, 1, 6, 7, 5)
    G.add(9, 2, 3, 11)
    G.add(10, 3, 4, 11)
    G.add(11, 1, 9, 10, 5)
    print G.hamiltonian()</pre>
<div id="tweetbutton1738" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.boriel.com%2F2011%2F03%2F22%2Fcamino-hamiltoniano%2F%3Flang%3Den&amp;via=boriel&amp;text=Hamiltonian%20Path%20-%20boriel.com&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fwww.boriel.com%2F2011%2F03%2F22%2Fcamino-hamiltoniano%2F%3Flang%3Den" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.boriel.com/blog/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.boriel.com/2011/03/22/camino-hamiltoniano/?lang=en/feed/&#038;lang=en</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>My 1.0 Friends</title>
		<link>http://www.boriel.com/2011/02/21/my-1-0-friends/?lang=en</link>
		<comments>http://www.boriel.com/2011/02/21/my-1-0-friends/?lang=en#comments</comments>
		<pubDate>Mon, 21 Feb 2011 20:29:52 +0000</pubDate>
		<dc:creator>Boriel</dc:creator>
				<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://www.boriel.com/?p=1709</guid>
		<description><![CDATA[I have wanted to write about this for a long time. The fact is, as always, I&#8217;ve been overbusy with my projects, (e.g. with the ZX BASIC Compiler), that I haven&#8217;t had much free time. I was born in the late 70&#8242;s. I grew up in the 80 which marked my adolescence (e.g. the ZX [...]]]></description>
			<content:encoded><![CDATA[<p>I have wanted to write about this for a long time. The fact is, as always, I&#8217;ve been overbusy with my projects, (e.g. with the <a href="http://www.boriel.com/software/the-zx-basic-compiler/">ZX BASIC Compiler</a>), that I haven&#8217;t had much free time. </p>
<p>I was born in the late 70&#8242;s. I grew up in the 80 which marked my adolescence (e.g. the ZX Spectrum, but also pop music and many other iconic things of that time). I consider myself a <i>geek</i> and I love new technologies. But, on one hand, I hate consumerism and being always on the cutting edge gadgets (especially if they are expensive). On the other one, if I had money and space I would create my own collection of microcomputers and other <i>vintage</i> machines (which could be consider another form of consumerism).<br />
<span id="more-1709"></span><br />
When cell phones came out (I remember seeing them as objects of luxury to mid-90), seemed more of a snobbery than a necessity. Two years later I had my first phone (a brick nowadays, or let&#8217;s say a <i>vintage mobile</i>). After a year, although rates were expensive, the cell phone became almost a necessity. I already knew the Internet.  Also, there was no ADSL then, we used modems, but I understood its importance and the revolution that internet would bring to us.</p>
<p>My initial reluctance and skepticism was transformed into understanding and subsequent acceptance of new technologies and new trends. However, I hate being always on fashion. I just hope that some <em>significant</em> part of the flock to move in a direction to follow it myself later. I do not like to be left behind, just, let&#8217;s say, an average.</p>
<p>Back to the topic, this is what I have observed with what I call 1.0 people, including some colleagues: </p>
<ul>
<li> They use email to send a short and often urgent message (which could be via SMS, twitter or any other nowadays mobile application</li>
<li> Many of the important things they do are done on paper (signatures, letters and documents).</li>
<li> To send a document, use the fax</li>
<li> When having an appointment, they&#8217;re not accurate, &#8220;See you in the Park&#8221; (where in the park?)</li>
<li> They can&#8217;t see the usefulness of social networks. Instead, they still think social networks are just for gossiping about irrelevant, superficial stuff (and what happened to Egypt?)</li>
<li>They don&#8217;t use forums. Everything is done on mailing lists with loooong endless thread.</li>
</ul>
<p>This list could be endless but I think with this chunk makes the concept clear. Younger people nowadays seem to have assimilated new technologies better. For the veterans, I&#8217;ve seen there are three groups: those who has adapted fairly well, those who cannot (usually elder people who also don&#8217;t have much interest), and finally those who simply resist to change (&#8220;I&#8217;ve always done this way and I will continue doing so&#8221;). It&#8217;s my bet those ones will be the more to be hard hit. <img src='http://www.boriel.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  </p>
<p>Not surprisingly, some related terms have already appeared (slightly exaggerated) that seek to establish the dividing line: <em>Native digital</em>  (those who were born with this technology already) and <em>digital immigrants</em> for more greater than have to adapt. Personally I think this division is simplistic: many digital natives are not well versed in technology (or math or language or many other things) and there are older people have adapted perfectly (Steve Jobs and Linus Torvalds are examples of perfectly adapted non digital natives surely you and I know, but it is likely that you also know someone else near to you). </p>
<p>It&#8217;s about attitude, not ability or age. <img src='http://www.boriel.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<div id="tweetbutton1709" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.boriel.com%2F2011%2F02%2F21%2Fmy-1-0-friends%2F%3Flang%3Den&amp;via=boriel&amp;text=My%201.0%20Friends%20-%20boriel.com&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fwww.boriel.com%2F2011%2F02%2F21%2Fmy-1-0-friends%2F%3Flang%3Den" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.boriel.com/blog/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.boriel.com/2011/02/21/my-1-0-friends/?lang=en/feed/&#038;lang=en</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>After &#8216;Fumeque&#8217;</title>
		<link>http://www.boriel.com/2010/12/18/after-fumeque/?lang=en</link>
		<comments>http://www.boriel.com/2010/12/18/after-fumeque/?lang=en#comments</comments>
		<pubDate>Sat, 18 Dec 2010 23:28:09 +0000</pubDate>
		<dc:creator>Boriel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.boriel.com/?p=1604</guid>
		<description><![CDATA[Bueno, tras un mes ajetreado, vuelvo a las andadas. En el post anterior dejé caer que no estaba seguro de mi decisión en el ámbito laboral (ya vi cosas que no me gustaron desde el primer día); no estaba muy convencido, pero como me he considerado siempre una persona insegura, pensé que se debía a [...]]]></description>
			<content:encoded><![CDATA[<div id="google_translate_element"></div>
<p><script type="text/javascript"><!--//
function googleTranslateElementInit() {
  new google.translate.TranslateElement({
    pageLanguage: 'auto',
    autoDisplay: false
  }, 'google_translate_element');
} //-->
</script><script type="text/javascript" src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script><br />
Bueno, tras un mes ajetreado, vuelvo a las andadas. En el post anterior dejé caer que no estaba seguro de mi decisión en el ámbito laboral (ya vi cosas que no me gustaron desde el primer día); no estaba muy convencido, pero como me he considerado siempre una persona insegura, pensé que se debía a eso. Sin embargo mi intuición no se equivocó. Evidentemente fue un error, del que afortunadamente salí bien parado, y de paso aprendí y vi las cosas más claras (hay momentos en la vida que te iluminan).<br />
<span id="more-1604"></span></p>
<ul>
<li>Aprendí, por ejemplo, que hay gente que no tiene mucha interacción contigo (y en la que no reparas demasiado) y que luego descubres que le importas; y que hay otra que te dice y te repite que es amiga tuya y que luego <i>no lo es tanto</i>.</li>
<li>Descubrí que buscar <i>el trabajo de mis sueños</i> es como perseguir El Dorado. Muchos colegas que conozco sacrifican todo por unas condiciones laborales pésimas en busca de un sueño laboral (un trabajo de investigación bien pagado y de prestigio) que nunca llegará (este tipo de sacrificios sólo lo entiendo cuando eres emprendedor, porque te sacrificas para tí mismo y no para otros). El trabajo de tus sueños es aquel en el que los compañeros y el ambiente laboral es agradable y no te daña psicológicamente. Si además es un trabajo apasionante, pues es un <i>bonus</i>.</li>
<li>También me di cuenta que todos tenemos una proyección mental de los demás, una imagen de cómo creemos que es y cómo esperamos que reaccione. Del mismo modo que yo la tengo con los demás, los demás la tienen de mí. Una persona sabia tiene esto en cuenta ya que a veces las personas pueden o quieren cambiar. Intentar romper esa imagen es difícil (en algunos casos imposible), de manera que cuando no actúas de la forma esperada pueden percibir tu reacción como distorsionada. También da igual a veces lo que hagas o digas, porque esas personas ya han oído o concluido lo que esperan de tí: la gente está cómoda con esa imagen que tiene (de tí) y esperan que sigas igual.</li>
<li>Muchas personas se quejan de &#8220;lo mal que está todo&#8221;, o de &#8220;qué mal lo hacen otros&#8221; para a continuación repetir y cometer ciegamente los mismos errores; a veces es difícil reconocer que se es parte del problema.</li>
</ul>
<p>Bueno, ya basta de tanta dosis de <i>Boriel-Confucio</i>. Mejor tomárselo con humor y seguir mirando hacia adelante (en mi caso, hacia atrás), porque ahora, viéndolo desde la lejanía, descubro que no sólo estoy mucho mejor (estoy pasando un buen momento), sino que hubiera sido a largo plazo un error gravísimo seguir donde estaba. A veces nos aferramos a las cosas, a las ilusiones (esa imagen, esa proyección de cómo nos gustaría que fueran las cosas) en vez de aceptar <i>cómo son en realidad</i>.</p>
<p>Así que ahora, a por nuevos proyectos (que eso nunca me falta). Algunos aparecerán por aquí.</p>
<div id="tweetbutton1604" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.boriel.com%2F2010%2F12%2F18%2Fafter-fumeque%2F%3Flang%3Den&amp;via=boriel&amp;text=After%20%26%238216%3BFumeque%26%238217%3B%20-%20boriel.com&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fwww.boriel.com%2F2010%2F12%2F18%2Fafter-fumeque%2F%3Flang%3Den" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.boriel.com/blog/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.boriel.com/2010/12/18/after-fumeque/?lang=en/feed/&#038;lang=en</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8216;Fumeque&#8217; approaching</title>
		<link>http://www.boriel.com/2010/09/24/fumeque-approaching/?lang=en</link>
		<comments>http://www.boriel.com/2010/09/24/fumeque-approaching/?lang=en#comments</comments>
		<pubDate>Fri, 24 Sep 2010 22:08:57 +0000</pubDate>
		<dc:creator>Boriel</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.boriel.com/?p=1545</guid>
		<description><![CDATA[Fumeque es una palabra Canaria usada para designar ese viento de marejada con poca visibilidad. Es una palabra que suelo usar mucho con mis amigos, y que en gran parte describe la situación que percibo. Estos no han sido días muy halagüeños para mí. Tanto en lo profesional (que he hecho una jugada arriesgada cuyo [...]]]></description>
			<content:encoded><![CDATA[<div id="google_translate_element"></div>
<p><script type="text/javascript"><!--//
function googleTranslateElementInit() {
  new google.translate.TranslateElement({
    pageLanguage: 'auto',
    autoDisplay: false
  }, 'google_translate_element');
} // -->
</script><script type="text/javascript" src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script><br />
<a title="Término marino usado popularmente en las Islas Canarias, España, que significa viento muy fuerte. Suele ir acompañado de visibilidad reducida a nivel del mar." href="http://es.wikipedia.org/wiki/Fumeque">Fumeque</a> es una palabra Canaria usada para designar ese viento de marejada con poca visibilidad. Es una palabra que suelo usar mucho con mis amigos, y que en gran parte describe la situación que percibo. <img src='http://www.boriel.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Estos no han sido días muy halagüeños para mí. Tanto en lo profesional (que he hecho una jugada arriesgada cuyo resultado aún no me termina de convencer), como en lo personal: hace nada he cumplido ya 38 años, una edad con la que ni siquiera me puedo imaginar&#8230; Veo el futuro ante mí, y es para llorar. Podría extenderme hasta la saciedad hablando de la crisis, que parece que ahora tiene la culpa de todo lo que nos pasa, en vez de los culpables de la misma (los varones, según algunos, los banqueros según otros&#8230;). Pero no es eso lo que más me entristece.<br />
<span id="more-1545"></span><br />
Lo que más me duele es ver a una juventud adormecida. Una juventud muerta. Una juventud mansa que poco menos que desprecia los derechos por los que sus padres y abuelos llegaron incluso a derramar sangre. <img src='http://www.boriel.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>La gente, dormida, se agilipolla viendo fútbol (como si haber ganado el mundial no fuera suficiente), navegando en la superficialidad 2.0 o viendo telebasura, que no es más que un reflejo cultural de nuestra sociedad. Que los miembros de esa mayoritaria escoria se abandonen a sí mismos es algo de esperar, pero que además no luchen por los derechos (laborales, civiles y constitucionales) de sus propios hijos me parece demencial y de malos padres.</p>
<p>No me vengan ahora con el cuento de &#8220;cuanto quiero a mis niños&#8221;, si los utilizas para evadirte de la realidad. Los hijos no son solo unas mascotas o peluches con los que pasar un buen rato y olvidarte de otros problemas. Son una responsabilidad.</p>
<p>Sí algún día tú hijo te pregunta cómo llegaron las cosas a ser como son, tienes que responderle con la verdad: &#8220;Porque pasé y no moví un dedo&#8221;.</p>
<div id="tweetbutton1545" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.boriel.com%2F2010%2F09%2F24%2Ffumeque-approaching%2F%3Flang%3Den&amp;via=boriel&amp;text=%26%238216%3BFumeque%26%238217%3B%20approaching%20-%20boriel.com&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fwww.boriel.com%2F2010%2F09%2F24%2Ffumeque-approaching%2F%3Flang%3Den" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.boriel.com/blog/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.boriel.com/2010/09/24/fumeque-approaching/?lang=en/feed/&#038;lang=en</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>About Consciousness and Perception</title>
		<link>http://www.boriel.com/2010/08/22/consciousness-and-perception/?lang=en</link>
		<comments>http://www.boriel.com/2010/08/22/consciousness-and-perception/?lang=en#comments</comments>
		<pubDate>Sun, 22 Aug 2010 12:50:15 +0000</pubDate>
		<dc:creator>Boriel</dc:creator>
				<category><![CDATA[Artificial Intelligence]]></category>
		<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Philosophy]]></category>
		<category><![CDATA[Science]]></category>
		<category><![CDATA[Artificial intelligence]]></category>
		<category><![CDATA[linkedin]]></category>

		<guid isPermaLink="false">http://www.boriel.com/?p=1404</guid>
		<description><![CDATA[Note: I&#8217;m not a native English speaker, so sorry in advance for any mistake. I&#8217;ve tried hard to translate this text into English. I&#8217;ve recently had an interesing discussion about cualitative properties of things. We discussed whether Haiku, those 3-verse minimalist Japanese poems have &#8220;something special&#8221; or that &#8220;special scent&#8221; is actually a product of [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Note</strong>: I&#8217;m not a native English speaker, so sorry in advance for any mistake. I&#8217;ve tried hard to translate this text into English.</p>
<p>I&#8217;ve recently had an interesing discussion about cualitative properties of things. We discussed whether <a href="http://es.wikipedia.org/wiki/Haiku" title="Haiku is a form of Japanese poetry, consisting of 17 moras (or on), in three phrases of 5, 7, and 5 moras respectively">Haiku</a>, those 3-verse minimalist Japanese poems have <em>&#8220;something special&#8221;</em> or that <em>&#8220;special scent&#8221;</em> is actually a product of our mind and how we experience the reading of a Haiku.</p>
<p><i>Qualia</i> are a term used to describe the subjective quality of conscious experience: for example, the reddish color of a rose, or the blue one in the sky. One thing is the word <em>blue</em> and another one is the &#8220;sensation of blue&#8221; we experiment internally in our mind. Even more, recent neuroscience experiments tend to confirm different people have really different sensations when perceiving the same phenomena. So when both you and me are seeing at the &#8220;blue&#8221; in the sky, we could be experiencing different &#8220;blues&#8221; in our minds. Even more, in the extreme case, it may happen that my favorite color was &#8220;blue&#8221; and yours &#8220;red&#8221;, but inside our minds we were experiencing the same &#8220;color&#8221; sensation (and calling the same sensation by different names).</p>
<p>This also applies to every sensation or experience: Is sugar &#8220;sweet&#8221; or are we who perceive them as such and &#8220;make it&#8221; sweet? The question about whether qualities are on things or in our minds is not a trivial one; it&#8217;s a philosophical debate still unsolved. At the end of past century (oops! :S) I read a book on artificial intelligence which also treated this topic:</p>
<blockquote><p><a href="http://en.wikipedia.org/wiki/Phenylthiocarbamide">Phenol-thio-urea</a> is a substance that tastes intensely bitter to about 75 percent of people and is more or less tasteless to the rest. Is phenol-thio-urea bitter? This is an awkward question for someone who naively believes that a statement like &#8216;Sugar is sweet&#8217; says something about sugar itself as opposed to the effect that sugar has on us. There is worse to come, though. A person’s response to phenol-thio-urea is genetically determined. This means that if those who find it bitter are &#8211; let’s imagine &#8211; prevented from having offspring, the substance will become tasteless to one and all after the passage of maybe a dozen generations (like blue eyes could be extinguished if people with blue eyes each generation were prevented from reproducing). Thus, the phenol-thio-urea would be a substance which changes from tasting bitter to most people to be a universally tasteless substance, all this without any change in the chemical or physical properties of the phenol-thio-urea.</p>
<p>Jack Copeland &#8211; <a href="http://bit.ly/a3z0Q8"><i>Artificial Intelligence: a philosophical introduction</i></a>, Ed. Wiley-Blackwell
</p></blockquote>
<p>So, in other words, there are two opposing schools of thought:</p>
<ol>
<li>A red flower, is &#8220;not really red&#8221;. It simply reflects a wavelength and we &#8220;see it red&#8221; (or gray-reddish if you happen to be daltonic). If you think that way, you or point of view is such of a <i>physicalist</i>: things are the way they are, and we have a subjective experience when observing them. That&#8217;s all.
</li>
<li>When we see a red flower, that flower &#8220;is really red&#8221;. The red color comes from a wavelength, but this is something external to our mind that it is on the plant and is part of its physical properties. In this case you are on the school of <em>anti-physicalist</em>, also called <em>dualist</em>.</li>
</ol>
<p>Considering the above, I think I&#8217;m &#8220;mostly physicalist&#8221;, buy with some objections, since it might happen that some <i>qualia</i> have both mental and physical properties. This philosophical  question is far from trivial, as it leads to deeper ones: Do two people have the same internal experience when observing the same phenomena? (reasearch seems to point &#8220;no, we don&#8217;t&#8221;) Will &#8220;intelligent machines&#8221; in the future have &#8220;qualia&#8221; experiences?</p>
<p>So what, Do haiku have some special quality (<i>quale</i>) by themselves? Or are they just ink drops on paper (or pixels in your computer screen) and the sensation we have when reading them exist just in our mind? (You can apply question this to every human art, word or creation). Again, this is not a trivial question, because even from the point of view of semiotic and linguistic, a haiku will be more than &#8220;ink drops&#8221; or &#8220;pixels&#8221;.</p>
<p>And finally, <a href="http://www.michaelhaldane.com/HaikuNonJapanese.htm">a Haiku by Yosa Buson</a> (C. XVIII):</p>
<blockquote><p>autumn rain;<br />
walking in water<br />
on grass</p></blockquote>
<div id="tweetbutton1404" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.boriel.com%2F2010%2F08%2F22%2Fconsciousness-and-perception%2F%3Flang%3Den&amp;via=boriel&amp;text=About%20Consciousness%20and%20Perception%20-%20boriel.com&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fwww.boriel.com%2F2010%2F08%2F22%2Fconsciousness-and-perception%2F%3Flang%3Den" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.boriel.com/blog/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.boriel.com/2010/08/22/consciousness-and-perception/?lang=en/feed/&#038;lang=en</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Tenerife Lan Party 2010</title>
		<link>http://www.boriel.com/2010/07/28/tenerife-lan-party-2010/?lang=en</link>
		<comments>http://www.boriel.com/2010/07/28/tenerife-lan-party-2010/?lang=en#comments</comments>
		<pubDate>Wed, 28 Jul 2010 13:33:26 +0000</pubDate>
		<dc:creator>Boriel</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[Interesting]]></category>
		<category><![CDATA[Pictures]]></category>
		<category><![CDATA[Vintage computers]]></category>

		<guid isPermaLink="false">http://www.boriel.com/?p=1415</guid>
		<description><![CDATA[Like the last year, I attended Tenerife Lan Party. This year I went as participant (unlike visitors, participants are entitled to spend all day long inside the party) Again, like Qblog I took some pictures, but I mainly focused in Cosplay contests, instead of the Retro computers, like I did the year before. Since I [...]]]></description>
			<content:encoded><![CDATA[<p>Like <a href="http://www.boriel.com/2009/07/29/tenerife-lan-party-2009/">the last year</a>, I attended <a href="http://www.tenerife-lanparty.com">Tenerife Lan Party</a>. This year I went as <em>participant</em> (unlike <em>visitors</em>, participants are entitled to spend all day long inside the party) <img src='http://www.boriel.com/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  Again, like <a href="http://sinclairqles.wordpress.com/2010/07/23/zona-retro-en-la-tenerife-lan-party-2010/">Qblog</a> I took some pictures, but I mainly focused in Cosplay contests, instead of the Retro computers, like I did the year before.</p>
<div id="wrapper_picasa_tlp2k10" style="margin-left: auto; margin-right: auto; width: 640px; border: solid 1px #444">
<object type="application/x-shockwave-flash" data="http://picasaweb.google.es/s/c/bin/slideshow.swf"   codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"   width="640" height="480"><param name="movie" value="http://picasaweb.google.es/s/c/bin/slideshow.swf" /><param name="flashvars" value="host=picasaweb.google.es&#038;captions=1&#038;hl=en_US&#038;feat=flashalbum&#038;RGB=0x000000&#038;feed=http%3A%2F%2Fpicasaweb.google.es%2Fdata%2Ffeed%2Fapi%2Fuser%2Fboriel%2Falbumid%2F5496475095386068817%3Falt%3Drss%26kind%3Dphoto%26hl%3Den_US" /><param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer" /></object></div>
<p>Since I was a <em>participant</em>, I could also record some tournament finals:</p>
<p style="text-align: center;"><object type="application/x-shockwave-flash" style="width:425px; height:355px;" data="http://www.youtube.com/v/V5NRXuPjizI&amp;rel=1&amp;color1=0x3a3a3a&amp;color2=0x999999&amp;border=1"><param name="movie" value="http://www.youtube.com/v/V5NRXuPjizI&amp;rel=1&amp;color1=0x3a3a3a&amp;color2=0x999999&amp;border=1" /></object></p>
<div id="tweetbutton1415" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.boriel.com%2F2010%2F07%2F28%2Ftenerife-lan-party-2010%2F%3Flang%3Den&amp;via=boriel&amp;text=Tenerife%20Lan%20Party%202010%20-%20boriel.com&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fwww.boriel.com%2F2010%2F07%2F28%2Ftenerife-lan-party-2010%2F%3Flang%3Den" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.boriel.com/blog/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.boriel.com/2010/07/28/tenerife-lan-party-2010/?lang=en/feed/&#038;lang=en</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

