<?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>Mon, 06 May 2013 18:44:22 +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>StartUp Weekend Tenerife 2012</title>
		<link>http://www.boriel.com/2013/02/09/startup-weekend-tenerife-2012/?lang=en</link>
		<comments>http://www.boriel.com/2013/02/09/startup-weekend-tenerife-2012/?lang=en#comments</comments>
		<pubDate>Sat, 09 Feb 2013 21:06:24 +0000</pubDate>
		<dc:creator>Boriel</dc:creator>
				<category><![CDATA[Entrepreneurship]]></category>
		<category><![CDATA[Interesting]]></category>

		<guid isPermaLink="false">http://www.boriel.com/?p=1987</guid>
		<description><![CDATA[Last weekend I attended my first Startup event. Seems unbelievable, but it&#8217;s almost a week ago since StartUp Weekend Tenerife. If you don&#8217;t know, StartUp Weekend events are a sort of challenge in which you part from the idea to the Startup project in just 2 days. This event, sorry for being so enthusiastic or [...]]]></description>
				<content:encoded><![CDATA[<p>Last weekend I attended my first Startup event. Seems unbelievable, but it&#8217;s almost a week ago since <a title="StartUp Weekend Tenerife" href="http://tenerife.startupweekend.org/" target="_blank">StartUp Weekend Tenerife</a>. If you don&#8217;t know, <a title="StartUp Weekend" href="http://startupweekend.org/">StartUp Weekend</a> events are a sort of challenge in which you part from the idea to the Startup project in just 2 days. This event, sorry for being so enthusiastic or sounding very stereotypical, has deeply changed me and for good. <img src='http://www.boriel.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>On Friday I was a bit nervous and excited. I really neither did know what I was going to find there (I have no experience in such events), nor had any idea to propose. I just went to see and, maybe, help with my developer abilities and support the team I were to collaborate with, but I didn&#8217;t know where I had got into.</p>
<p>Despite that, the first thing I saw were many ex faculty mates and people I already knew. I met guys from Agile Canarias (a local Agile group). I also saw the organization members Juanjo (<a title="Altavista Ventures" href="http://altavistaventures.com/">Altavista Ventures</a>), Elena and Ángel (<a title="Coworking Nomad" href="http://www.coworkingnomad.com/">Coworking Nomad</a>), Carlos y Samuel (<a title="FEULL" href="http://www.feu.ull.es">FEULL</a>) working really hard to make the event to reach such an excellent level (everything was awesome!). And also, during the reception, I bumped into a fantastic catering which advanced the amazing weekend coming&#8230;</p>
<p>Finally I enrolled a team developing a project called <a href="http://speakapps.co">SpeakApps</a> and we ended up on the 2nd place!<br />
<div id="attachment_2011" class="wp-caption aligncenter" style="width: 233px"><a href="http://www.boriel.com/blog/wp-content/uploads/2013/02/periodico.jpg"><img src="http://www.boriel.com/blog/wp-content/uploads/2013/02/periodico-223x300.jpg" alt="2nd place! hurray!" width="223" height="300" class="size-medium wp-image-2011" /></a><p class="wp-caption-text">2nd place! hurray!</p></div></p>
<p>I learned a lot. My takeaways:</p>
<ul>
<li>There still is a big knowledge gap between geek and non-geek guys. &#8220;Computer guy&#8221; is no longer a profession because every user will end up being a &#8220;computer person&#8221; sooner or later. The computer-related professions have specialized and diversified.</li>
<li>People is nice. Sometimes I&#8217;m a bit mistrustful and now becoming more opened and receptive to others.</li>
<li>Everybody has strong and weak points. We all can help in some way, and we must also allow being helped.</li>
<li>I was in a group trying to figure out a simple solution within 48h of, at first lance, a hard problem and we make it! I&#8217;m able to reach creative and fast solutions. I&#8217;m &#8220;lean&#8221; and didn&#8217;t know it. I can be an entrepreneur. This was the most revealing lesson.</li>
</ul>
<p>When the event ended something had changed for me. I was transformed: I felt more energized and motivated than ever. And I still do. <img src='http://www.boriel.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>I even had the (subtle) sensation that now I feel more self-confident, and that I was radiating it. In consequence, other people seemed to take me more seriously and to trust me either: so people interacts with you depending on what you project on them, and this is the result of your mental interior state.</p>
<p>The only bad thing: Startup Weekend is over. <img src='http://www.boriel.com/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  Now let&#8217;s wait for the next one.</p>
<div id="tweetbutton1987" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.boriel.com%2F2013%2F02%2F09%2Fstartup-weekend-tenerife-2012%2F%3Flang%3Den&amp;via=boriel&amp;text=StartUp%20Weekend%20Tenerife%202012%20-%20boriel.com&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fwww.boriel.com%2F2013%2F02%2F09%2Fstartup-weekend-tenerife-2012%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/2013/02/09/startup-weekend-tenerife-2012/?lang=en/feed/&#038;lang=en</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PostgreSQL ODBC connection from Mac OS X</title>
		<link>http://www.boriel.com/2013/01/16/postgresql-odbc-connection-from-mac-os-x/?lang=en</link>
		<comments>http://www.boriel.com/2013/01/16/postgresql-odbc-connection-from-mac-os-x/?lang=en#comments</comments>
		<pubDate>Wed, 16 Jan 2013 09:51:45 +0000</pubDate>
		<dc:creator>Boriel</dc:creator>
				<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[#in]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[linkedin]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[ODBC]]></category>
		<category><![CDATA[PostgreSQL]]></category>

		<guid isPermaLink="false">http://www.boriel.com/?p=1933</guid>
		<description><![CDATA[Wow! Almost a whole (sabbatic?) year has passed since my last post! I really was neither in the mood, nor motivated for writing. But after having sorted out a little some other aspects of my life, I&#8217;m back, stronger than ever! Among the things I&#8217;ve recently had to deal with, is the ODBC connections and [...]]]></description>
				<content:encoded><![CDATA[<p>Wow! Almost a whole (sabbatic?) year has passed since my last post! I really was neither in the mood, nor motivated for writing. But after having <em>sorted out</em> a little some other aspects of my life, I&#8217;m back, stronger than ever! <img src='http://www.boriel.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Among the things I&#8217;ve recently had to deal with, is the ODBC connections and Mac (yes, I own a Mac for some time now <img src='http://www.boriel.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ). And I&#8217;ve finally found an easy way to create ODBC connections using <a title="unixODBC" href="http://www.unixodbc.org">unixODBC</a> as I do in Linux. I&#8217;m surprised, because it works incredibly well:</p>
<p>First thing to do is installing unixODBC for Mac OS X. Personally, I think the simplest way to do it is using <a href="http://mxcl.github.com/homebrew/">Homebrew</a>, that fantastic open source package tool which makes Ruby to call my attention (disclaimer: I&#8217;m a zealot pythonista! <img src='http://www.boriel.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ). It&#8217;s an example of a good work very well done (however, using Homebrew is not mandatory, there are other projects long ago: <a title="Fink" href="http://www.finkproject.org">Fink</a> and <a title="MacPorts" href="http://www.macports.org">MacPorts</a>).</p>
<p>Install unixODBC with Homebrew:<br />
<code>brew install unixodbc</code></p>
<p>Once installed, it&#8217;s time to compile the PostgreSQL ODBC driver (not available in Homebrew yet, unfortunately, so we&#8217;ll do it by hand):</p>
<ol>
<li>Download the <a href="http://www.postgresql.org/ftp/odbc/versions/src/">ODBC driver source code</a>. Pick a recent one and uncompress it in a directory of your choice, then open a terminal and &#8216;cd&#8217; into it.</li>
<li>Compile it following the typical command sequence:<br />
<pre class="crayon-plain-tag">./configure
make
make install</pre>
</li>
</ol>
<p>If everything went ok, you should have the PostgreSQL drivers installed as 2 library files located at /usr/local/lib/psqlodbcw.la and /usr/local/lib/psqlodbcw.so</p>
<p>And that&#8217;s all. Now we have to define an ODBC driver entry for PortgreSQL in the file /usr/local/etc/odbcinst.ini in a similar fashion to this one:</p><pre class="crayon-plain-tag">[PostgreSQL Unicode]
Description     = PostgreSQL ODBC driver (Unicode version)
Driver          = psqlodbcw.so
Debug           = 0
CommLog         = 1
UsageCount      = 1</pre><p>Add this entry to the odbcinst.ini file and we are done. Now we can define our DSNs and start using ODBC!</p>
<p>To do so, create if not exists the file .odbc.ini in your $HOME directory and add the desired DSN, like this one:</p><pre class="crayon-plain-tag">[ib3db]
Driver      = PostgreSQL Unicode
ServerName  = localhost
Port        = 5432
Database    = ib3db
Username    = iberouser
Password    = mypass1234
Protocol    = 9.1.6
Debug       = 1</pre><p></p>
<p>This define a User DSN named ib3db (with its user and password). Now to test it, just type:<br />
<code>isql -v ib3db</code><br />
And it should work.</p>
<h2>Remote connection</h2>
<p>The previous DSN example was created for a local postgreSQL database. If we wanted to connect to a remote one, there are many configurations, but for me the easiest and safe one is to create an <b>SSH tunnel</b>:<br />
<code>ssh -C -N -L 60000:localhost:5432 user@remotehost.com</code><br />
This will map our local port 60000 to the remote port 5432 at the remotehost.com machine (we&#8217;ll obviously need to update the Port = 5432 line in the previous example with Port = 60000). The command will keep running. To shutdown the tunnel, just kill the ssh command pressing CTRL-C.</p>
<p>You can also use extra flags, like -C (above) to <b>compress</b> the data transmitted to the tunnel (recommended for slow -e.g. modem- lines, but not for faster ones), and also use -N (do not execute anything remotely) so a remote ssh window is not opened, for example.</p>
<div id="tweetbutton1933" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.boriel.com%2F2013%2F01%2F16%2Fpostgresql-odbc-connection-from-mac-os-x%2F%3Flang%3Den&amp;via=boriel&amp;text=PostgreSQL%20ODBC%20connection%20from%20Mac%20OS%20X%20-%20boriel.com&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fwww.boriel.com%2F2013%2F01%2F16%2Fpostgresql-odbc-connection-from-mac-os-x%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/2013/01/16/postgresql-odbc-connection-from-mac-os-x/?lang=en/feed/&#038;lang=en</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thanks</title>
		<link>http://www.boriel.com/2012/04/22/gracias/?lang=en</link>
		<comments>http://www.boriel.com/2012/04/22/gracias/?lang=en#comments</comments>
		<pubDate>Sun, 22 Apr 2012 13:16:57 +0000</pubDate>
		<dc:creator>Boriel</dc:creator>
				<category><![CDATA[Economy]]></category>
		<category><![CDATA[Interesting]]></category>
		<category><![CDATA[Philosophy]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.boriel.com/?p=1911</guid>
		<description><![CDATA[Wow! I&#8217;ve been away of my blog for almost 4 month. I said &#8220;It&#8217;s time to open those good wines before they get bad&#8221;, and I haven&#8217;t almost stopped since then! This little post is not for talking about what I&#8217;m currently doing (I doubt there is someone interested in knowing it, but if there [...]]]></description>
				<content:encoded><![CDATA[<p>Wow! I&#8217;ve been away of my blog for almost 4 month. I said &#8220;It&#8217;s time to open those good wines before they get bad&#8221;, and I haven&#8217;t almost stopped since then! <img src='http://www.boriel.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>This little post is not for talking about what I&#8217;m currently doing (I doubt there is someone interested in knowing it, but if there is any, please wait for a later post in which I will comment), but to give thanks.</p>
<p>Thanks to a friend who forwarded me this video, and thanks also to the people (a group in which I include myself!) I know they exist and which trust a new system, a better world is still possible. This is one of these people (audio is in Spanish, and no subtitles, sorry <img src='http://www.boriel.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> ):</p>
<p><center><p><a href="http://www.boriel.com/2012/04/22/gracias/?lang=en"><em>Click here to view the embedded video.</em></a></p></center></p>
<p>Thank you anew. I received this little dose of coherence and common sense in January, but it was so inspiring I still haven&#8217;t stopped <img src='http://www.boriel.com/blog/wp-includes/images/smilies/icon_exclaim.gif' alt=':!:' class='wp-smiley' />  I&#8217;m not alone; you are not alone; we are not alone.</p>
<div id="tweetbutton1911" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.boriel.com%2F2012%2F04%2F22%2Fgracias%2F%3Flang%3Den&amp;via=boriel&amp;text=Thanks%20-%20boriel.com&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fwww.boriel.com%2F2012%2F04%2F22%2Fgracias%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/2012/04/22/gracias/?lang=en/feed/&#038;lang=en</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<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[Interesting]]></category>
		<category><![CDATA[Philosophy]]></category>
		<category><![CDATA[Travelling]]></category>
		<category><![CDATA[Video]]></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/q7mBuoYYF-M&amp;rel=1&amp;color1=0x3a3a3a&amp;color2=0x999999&amp;border=1"><param name="movie" value="http://www.youtube.com/v/q7mBuoYYF-M&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="crayon-plain-tag">&lt;importgroup Label=&quot;PropertySheets&quot; Condition=&quot;'$(Configuration)|$(Platform)'=='Debug|Win32'&quot;&gt;
    &lt;import Project=&quot;$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props&quot; Condition=&quot;exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')&quot; Label=&quot;LocalAppDataPlatform&quot; /&gt;
  &lt;/importgroup&gt;</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="crayon-plain-tag">#!/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;'


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):
        &quot;&quot;&quot; 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.
        &quot;&quot;&quot;
        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


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)
    G.add(5, 1, 6, 8)
    G.add(6, 2, 5, 7)
    G.add(7, 3, 6, 8)
    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><p></p>
<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="crayon-plain-tag">#!/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__()


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)
    G.add(7, 3, 4, 8)
    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><p></p>
<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>
	</channel>
</rss>
