<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>numerodix blog</title>
	
	<link>http://www.matusiak.eu/numerodix/blog</link>
	<description>A blog about nothing</description>
	<lastBuildDate>Wed, 02 May 2012 19:22:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/numerodix" /><feedburner:info uri="numerodix" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>il faut bien falloir de plus</title>
		<link>http://feedproxy.google.com/~r/numerodix/~3/RwPApNf7nLA/</link>
		<comments>http://www.matusiak.eu/numerodix/blog/index.php/2012/05/02/il-faut-bien-falloir-de-plus/#comments</comments>
		<pubDate>Wed, 02 May 2012 19:22:31 +0000</pubDate>
		<dc:creator>numerodix</dc:creator>
				<category><![CDATA[es]]></category>
		<category><![CDATA[fr]]></category>
		<category><![CDATA[language]]></category>

		<guid isPermaLink="false">http://www.matusiak.eu/numerodix/blog/?p=3835</guid>
		<description><![CDATA[C&#8217;est bizarre que &#8220;faut/faute&#8221; signifie soit avoir besoin de quelque chose soit commetre un acte injuste.
- Il me faut un stylo.
- C&#8217;est ma faute.
Ici encore:
- Falta de Morientes. (Morientes a commis une faute.)
- No me falta eso. (Je n&#8217;ai pas besoin de ça.)
Qu&#8217;en pensez-vous?
]]></description>
			<content:encoded><![CDATA[<p>C&#8217;est bizarre que &#8220;faut/faute&#8221; signifie soit avoir besoin de quelque chose soit commetre un acte injuste.</p>
<p>- Il me faut un stylo.<br />
- C&#8217;est ma faute.</p>
<p>Ici encore:<br />
- Falta de Morientes. (Morientes a commis une faute.)<br />
- No me falta eso. (Je n&#8217;ai pas besoin de ça.)</p>
<p>Qu&#8217;en pensez-vous?</p>
<img src="http://feeds.feedburner.com/~r/numerodix/~4/RwPApNf7nLA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.matusiak.eu/numerodix/blog/index.php/2012/05/02/il-faut-bien-falloir-de-plus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.matusiak.eu/numerodix/blog/index.php/2012/05/02/il-faut-bien-falloir-de-plus/</feedburner:origLink></item>
		<item>
		<title>exit yes, but not too quickly</title>
		<link>http://feedproxy.google.com/~r/numerodix/~3/ZK31Curwktg/</link>
		<comments>http://www.matusiak.eu/numerodix/blog/index.php/2012/04/07/exit-yes-but-not-too-quickly/#comments</comments>
		<pubDate>Sat, 07 Apr 2012 07:54:07 +0000</pubDate>
		<dc:creator>numerodix</dc:creator>
				<category><![CDATA[dutchness]]></category>

		<guid isPermaLink="false">http://www.matusiak.eu/numerodix/blog/?p=3828</guid>
		<description><![CDATA[It&#8217;s a weekday. It&#8217;s morning. The train arrives at the destination full of commuters. The platform is mingling with commuters waiting to get on the train to go where we just came from. We disembark. A sea of people as these two streams conflate and confuse. As we head to the exits and they board [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s a weekday. It&#8217;s morning. The train arrives at the destination full of commuters. The platform is mingling with commuters waiting to get on the train to go where we just came from. We disembark. A sea of people as these two streams conflate and confuse. As we head to the exits and they board the train we slowly disentangle. There are so many of us that a long line forms before the escalator down from the platform. Not even a line, more of a V-shaped traffic jam that extends to nearly the whole width of the platform. Slowly we converge on the escalator that shall deliver us from this overcrowded place. We could only wish the line were moving faster. Then, at last, we&#8217;ve made it, we step onto the escalator and&#8230; just stand there. All this waiting just to be able to stand in line some more? Yes, the escalator is moving, but why not walk down it? Especially since there are so many people, we&#8217;d be able to exit the platform quicker that way. But that isn&#8217;t the custom. Apparently, if something moves us we must not move ourselves, we must appreciate and make it last as long as possible.</p>
<img src="http://feeds.feedburner.com/~r/numerodix/~4/ZK31Curwktg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.matusiak.eu/numerodix/blog/index.php/2012/04/07/exit-yes-but-not-too-quickly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.matusiak.eu/numerodix/blog/index.php/2012/04/07/exit-yes-but-not-too-quickly/</feedburner:origLink></item>
		<item>
		<title>los compañeros</title>
		<link>http://feedproxy.google.com/~r/numerodix/~3/nfBZHhVoJtE/</link>
		<comments>http://www.matusiak.eu/numerodix/blog/index.php/2012/04/01/los-companeros/#comments</comments>
		<pubDate>Sun, 01 Apr 2012 17:52:38 +0000</pubDate>
		<dc:creator>numerodix</dc:creator>
				<category><![CDATA[en]]></category>
		<category><![CDATA[es]]></category>
		<category><![CDATA[fr]]></category>
		<category><![CDATA[it]]></category>
		<category><![CDATA[pt]]></category>
		<category><![CDATA[sands]]></category>

		<guid isPermaLink="false">http://www.matusiak.eu/numerodix/blog/?p=3817</guid>
		<description><![CDATA[- Bonjour, monsieur. Qu&#8217;est-ce que vous voulez manger?
- Bom dia.
- Non non non, Roberto, fais pas ça! Il faut toujours parler français avec les gens du pays quand on est en France. Sinon ils deviennent fous.
- Por qué? El portugués no es un idioma muy complicado. Yo entiendo fácilmente los turistas en Madrid cuando me [...]]]></description>
			<content:encoded><![CDATA[<p>- Bonjour, monsieur. Qu&#8217;est-ce que vous voulez manger?</p>
<p>- Bom dia.</p>
<p>- Non non non, Roberto, fais pas ça! Il faut toujours parler français avec les gens du pays quand on est en France. Sinon ils deviennent fous.</p>
<p>- Por qué? El portugués no es un idioma muy complicado. Yo entiendo fácilmente los turistas en Madrid cuando me preguntan el camino por algún lugar.</p>
<p>- Eu não falo francês, Michel. Só sei falar inglês.</p>
<p>- No, ça c&#8217;est pire encore!</p>
<p>- Ma rilassati, Michel. Che possono farci se non parliamo francese? Ci capiamo benissimo tra di noi. Questo basta per intenderci.</p>
<p>- Eu entendo tudo o que dizem os franceses. Assim eles podem entender-me também.</p>
<p>- Sí, esto me parece muy lógico.</p>
<p>- Alors, avez-vous choisi?</p>
<p>- Per favore, signore, non stia lì a spiarci facendo finta di non capire. O partecipi alla discussione o si allontani. Se non ordiniamo è perché non siamo pronti.</p>
<p>- Mas eu estou pronto, só que não posso pedir na língua justa!</p>
<p>- Yo también estoy listo para pedir.</p>
<p>- Guys, what the hell are you talking about?? I don&#8217;t understand a damn word of what you&#8217;re saying.</p>
<p>- Les mecs, nous avons oublié que David est avec nous!</p>
<img src="http://feeds.feedburner.com/~r/numerodix/~4/nfBZHhVoJtE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.matusiak.eu/numerodix/blog/index.php/2012/04/01/los-companeros/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.matusiak.eu/numerodix/blog/index.php/2012/04/01/los-companeros/</feedburner:origLink></item>
		<item>
		<title>monads for the layman</title>
		<link>http://feedproxy.google.com/~r/numerodix/~3/MaPA1QO6zyc/</link>
		<comments>http://www.matusiak.eu/numerodix/blog/index.php/2012/03/11/monads-for-the-layman/#comments</comments>
		<pubDate>Sun, 11 Mar 2012 16:09:29 +0000</pubDate>
		<dc:creator>numerodix</dc:creator>
				<category><![CDATA[dysfunctional]]></category>

		<guid isPermaLink="false">http://www.matusiak.eu/numerodix/blog/?p=3745</guid>
		<description><![CDATA[I&#8217;ve done a fair bit of coding in Haskell, yet I could never fully understand monads. And if you don&#8217;t get monads then coding Haskell is&#8230; tense. I could still get things done with some amount of cargo culting, so I was able to use them, but I couldn&#8217;t understand what they really were.
I tried [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve done a fair bit of coding in Haskell, yet I could never fully understand monads. And if you don&#8217;t get monads then coding Haskell is&#8230; tense. I could still get things done with some amount of cargo culting, so I was able to use them, but I couldn&#8217;t understand what they really were.</p>
<p>I tried several times to figure it out, but all the explanations seemed to suck. People are so excited by the universality of monads that they make up all kinds of esoteric metaphors and the more of them you hear about the less you understand. Meanwhile there&#8217;s no simple explanation to be found. That&#8217;s when they&#8217;re not simply too eager to skip ahead to equations that have them weeping like an art critic in front of the Mona Lisa and tell you all about the monadic laws as it that helps.</p>
<p>Fortunately, help is at hand, for today I will show you the first truly <a href="http://blog.sigfpe.com/2006/08/you-could-have-invented-monads-and.html">good explanation of monads</a> I&#8217;ve ever seen, written by the charming Dan Piponi in the distant 2006 (I rather wish I had found it sooner). What I will do here is use Dan&#8217;s method to explain it, using some python examples for easier comprehension, and keep it even more basic.</p>
<h3>Rationale</h3>
<p><img class="alignright size-full wp-image-3767" title="monads_primitive_funcs" src="http://www.matusiak.eu/numerodix/blog/wp-content/uploads/monads_primitive_funcs.png" alt="monads_primitive_funcs" width="24" height="292" />It&#8217;s good to get this one straightened out right off the bat. Basically, it&#8217;s nice to be able to have some piece of data that you can pass to any number of functions, however many times you want, and in whatever order you want. Imagine them lined up one after another like a pipeline, and your data goes through it. In other words: function composition. We like that because it makes for clear and concise code.</p>
<p>To achieve this we need functions that can be composed, ie. have the same signature:</p>
<pre class="python"><span style="color: #ff7700;font-weight:bold;">def</span> inc<span style="color: black;">&#40;</span>x<span style="color: black;">&#41;</span>:
    <span style="color: #ff7700;font-weight:bold;">return</span> x<span style="color: #ff4500;">+1</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">def</span> double<span style="color: black;">&#40;</span>x<span style="color: black;">&#41;</span>:
    <span style="color: #ff7700;font-weight:bold;">return</span> x*<span style="color: #ff4500;">2</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #483d8b;">"Primitive funcs:"</span>, double<span style="color: black;">&#40;</span> inc<span style="color: black;">&#40;</span><span style="color: #ff4500;">1</span><span style="color: black;">&#41;</span> <span style="color: black;">&#41;</span>
<span style="color: #808080; font-style: italic;"># Primitive funcs: 4</span></pre>
<p><i>Download this code: </i><a href="http://www.matusiak.eu/numerodix/blog/wp-content/uploads/monads_primitive_funcs.py">monads_primitive_funcs.py</a></p>
<h3>Logging functions</h3>
<p><img class="alignright size-full wp-image-3774" title="monads_logging_funcs" src="http://www.matusiak.eu/numerodix/blog/wp-content/uploads/monads_logging_funcs.png" alt="monads_logging_funcs" width="49" height="339" />Sometimes, however, you find that you want to add something to a function that is not strictly necessary to participate in the pipeline. Something that is more like metadata. What if you wanted your functions to also log that they had been called?</p>
<pre class="python"><span style="color: #ff7700;font-weight:bold;">def</span> inc_log<span style="color: black;">&#40;</span>x<span style="color: black;">&#41;</span>:
    <span style="color: #ff7700;font-weight:bold;">return</span> inc<span style="color: black;">&#40;</span>x<span style="color: black;">&#41;</span>, <span style="color: #483d8b;">"inc_log called."</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">def</span> double_log<span style="color: black;">&#40;</span>x<span style="color: black;">&#41;</span>:
    <span style="color: #ff7700;font-weight:bold;">return</span> double<span style="color: black;">&#40;</span>x<span style="color: black;">&#41;</span>, <span style="color: #483d8b;">"double_log called."</span>
&nbsp;
<span style="color: #808080; font-style: italic;"># This will not work properly:</span>
<span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #483d8b;">"Logging funcs:"</span>, double_log<span style="color: black;">&#40;</span> inc_log<span style="color: black;">&#40;</span><span style="color: #ff4500;">1</span><span style="color: black;">&#41;</span> <span style="color: black;">&#41;</span>
<span style="color: #808080; font-style: italic;"># Logging funcs: ((2, 'inc_log called.', 2, 'inc_log called.'), 'double_log called.')</span>
&nbsp;
<span style="color: #808080; font-style: italic;"># What we wanted:</span>
<span style="color: #808080; font-style: italic;"># Logging funcs: (4, 'inc_log called.double_log called.')</span></pre>
<p><i>Download this code: </i><a href="http://www.matusiak.eu/numerodix/blog/wp-content/uploads/monads_logging_funcs.py">monads_logging_funcs.py</a></p>
<p>Now, instead of each function taking one input and giving one output, it gives two outputs. So what happened when we ran it was this:</p>
<ol>
<li><code>inc_log</code> received <code>1</code></li>
<li><code>inc_log</code> returned <code>(2, 'inc_log called.')</code></li>
<li><code>double_log</code> received <code>(2, 'inc_log called.')</code></li>
<li><code>double_log</code> returned <code>((2, 'inc_log called.', 2, 'inc_log called.'), 'double_log called.')<br />
</code>Instead of doubling the number it doubled the tuple.</li>
</ol>
<h3>Restoring composability (bind)</h3>
<p><img class="alignright size-full wp-image-3781" title="monads_bind" src="http://www.matusiak.eu/numerodix/blog/wp-content/uploads/monads_bind.png" alt="monads_bind" width="73" height="412" />So how can we solve this? It&#8217;s not that hard. If you look at the diagram you see that <code>inc_log</code> produces two outputs, yet <code>double_log</code> should only receive one of these. The other should still be saved, somehow, and then joined with the output of <code>double_log</code> after it&#8217;s finished executing. So we need a wrapper around <code>double_log</code> to change the arguments it receives and change the arguments it returns!</p>
<pre class="python"><span style="color: #ff7700;font-weight:bold;">def</span> bind<span style="color: black;">&#40;</span>g<span style="color: black;">&#41;</span>:
    <span style="color: #ff7700;font-weight:bold;">def</span> new_g<span style="color: black;">&#40;</span>pair<span style="color: black;">&#41;</span>:
        f_num, f_str = pair
        g_num, g_str = g<span style="color: black;">&#40;</span>f_num<span style="color: black;">&#41;</span>
        <span style="color: #ff7700;font-weight:bold;">return</span> g_num, f_str + g_str
    <span style="color: #ff7700;font-weight:bold;">return</span> new_g
&nbsp;
new_double_log = bind<span style="color: black;">&#40;</span>double_log<span style="color: black;">&#41;</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #483d8b;">"Logging funcs:"</span>, new_double_log<span style="color: black;">&#40;</span> inc_log<span style="color: black;">&#40;</span><span style="color: #ff4500;">1</span><span style="color: black;">&#41;</span> <span style="color: black;">&#41;</span>
<span style="color: #808080; font-style: italic;"># Logging funcs: (4, 'inc_log called.double_log called.')</span></pre>
<p><i>Download this code: </i><a href="http://www.matusiak.eu/numerodix/blog/wp-content/uploads/monads_bind.py">monads_bind.py</a></p>
<p>The name &#8220;bind&#8221; is not the most self explanatory imaginable, but what the wrapper does is just what we said in the description:</p>
<ol>
<li>Receive a pair of values.</li>
<li>Call <code>double_log</code> with the first of these values.</li>
<li>Receive a new pair of values from <code>double_log</code>.</li>
<li>Return a third pair of values that we construct from the other pairs.</li>
</ol>
<p>The key thing to notice is this: we have &#8220;adapted&#8221; <code>double_log</code> to be a function that accepts two inputs and returns two outputs. We could use the wrapper on any number of other functions with the same &#8220;shape&#8221; as <code>double_log</code> and chain them all together this way, even though their inputs don&#8217;t match their outputs!</p>
<h3>Mixing function types</h3>
<p><img class="alignright size-full wp-image-3791" title="monads_dec" src="http://www.matusiak.eu/numerodix/blog/wp-content/uploads/monads_dec.png" alt="monads_dec" width="73" height="412" />So far so good, but what if we now we want to mix logging functions with primitive functions in our pipeline?</p>
<pre class="python"><span style="color: #ff7700;font-weight:bold;">def</span> dec<span style="color: black;">&#40;</span>x<span style="color: black;">&#41;</span>:
    <span style="color: #ff7700;font-weight:bold;">return</span> x<span style="color: #ff4500;">-1</span>
&nbsp;
<span style="color: #808080; font-style: italic;"># This will not work:</span>
new_dec = bind<span style="color: black;">&#40;</span>dec<span style="color: black;">&#41;</span>
<span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #483d8b;">"Logging funcs:"</span>, new_dec<span style="color: black;">&#40;</span> inc_log<span style="color: black;">&#40;</span><span style="color: #ff4500;">1</span><span style="color: black;">&#41;</span> <span style="color: black;">&#41;</span></pre>
<p><i>Download this code: </i><a href="http://www.matusiak.eu/numerodix/blog/wp-content/uploads/monads_dec.py">monads_dec.py</a></p>
<p>Granted <code>dec</code> is not a logging function, so we can&#8217;t expect it to do any logging. Still, it would be nice if we could use it without the logging.</p>
<p>But we can&#8217;t use <code>bind</code> with <code>dec</code>, because <code>bind</code> expects a function with two outputs. <code>dec</code> simply does not have have the shape of a logging functions, so we are back to square one. Unless&#8230;</p>
<h3>Using bind with primitive functions</h3>
<p>Unless we could fake it, that is. And make <code>dec</code> look like a logging function. In the diagram we can see that there is a gap between the end point of <code>dec</code> and that of <code>bind</code>. <code>bind</code> is expecting two outputs from <code>dec</code>, but it only receives one. What if we could plug that gap with a function that lets the first output through and just makes up a second one?</p>
<pre class="python"><span style="color: #ff7700;font-weight:bold;">def</span> unit<span style="color: black;">&#40;</span>x<span style="color: black;">&#41;</span>:
    <span style="color: #ff7700;font-weight:bold;">return</span> x, <span style="color: #483d8b;">""</span></pre>
<p><i>Download this code: </i><a href="http://www.matusiak.eu/numerodix/blog/wp-content/uploads/monads_unit.py">monads_unit.py</a></p>
<p><img class="alignright size-full wp-image-3800" title="monads_lift" src="http://www.matusiak.eu/numerodix/blog/wp-content/uploads/monads_lift.png" alt="monads_lift" width="86" height="412" />Yes, just like that! Except that now we have two functions <code>dec</code> and <code>unit</code>, and we don&#8217;t want to think of them as such, because we really just care about <code>dec</code>. So let&#8217;s wrap them up so that they look like one!</p>
<pre class="python"><span style="color: #ff7700;font-weight:bold;">def</span> lift<span style="color: black;">&#40;</span>func<span style="color: black;">&#41;</span>:
    <span style="color: #ff7700;font-weight:bold;">return</span> <span style="color: #ff7700;font-weight:bold;">lambda</span> x: unit<span style="color: black;">&#40;</span> func<span style="color: black;">&#40;</span>x<span style="color: black;">&#41;</span> <span style="color: black;">&#41;</span>
&nbsp;
lifted_dec = lift<span style="color: black;">&#40;</span>dec<span style="color: black;">&#41;</span>
new_dec = bind<span style="color: black;">&#40;</span>lifted_dec<span style="color: black;">&#41;</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #483d8b;">"Logging funcs:"</span>, new_dec<span style="color: black;">&#40;</span> inc_log<span style="color: black;">&#40;</span><span style="color: #ff4500;">1</span><span style="color: black;">&#41;</span> <span style="color: black;">&#41;</span>
<span style="color: #808080; font-style: italic;"># Logging funcs: (1, 'inc_log called.')</span></pre>
<p><i>Download this code: </i><a href="http://www.matusiak.eu/numerodix/blog/wp-content/uploads/monads_lift.py">monads_lift.py</a></p>
<p>So <code>lift</code> does nothing more than calling <code>dec</code> first, then passing the output to <code>unit</code> and that&#8217;s it. <code>dec+unit</code> now has the shape of a logging function and <code>lift</code> wraps around them both, making the whole thing into a single function.</p>
<p>And with the lifted <code>dec</code> (a logging function should anyone inquire), we use <code>bind</code> as we&#8217;ve done with logging functions before. And it all works out!</p>
<p>The log says that we&#8217;ve only called <code>inc_log</code>. And yet <code>dec</code> has done its magic too, as we see from the output value.</p>
<h3>Conclusions</h3>
<p>If you look back at the diagram you might think we&#8217;ve gone to a lot of trouble just to call <code>dec</code>, quite a lot of overhead! But that&#8217;s also the strength of this technique, namely that we don&#8217;t have to rewrite functions like <code>dec</code> in order to use them in cases we hadn&#8217;t anticipated. We can let <code>dec</code> do what it&#8217;s meant for and do the needed plumbing independently.</p>
<p>If you look back at the code and diagrams you should see one other thing: if we change the shape of logging functions there are two functions we need to update: <code>bind</code> and <code>unit</code>. These two know how many outputs we&#8217;re dealing with, whereas <code>lift</code> is blissfully ignorant of that.</p>
<img src="http://feeds.feedburner.com/~r/numerodix/~4/MaPA1QO6zyc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.matusiak.eu/numerodix/blog/index.php/2012/03/11/monads-for-the-layman/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.matusiak.eu/numerodix/blog/index.php/2012/03/11/monads-for-the-layman/</feedburner:origLink></item>
		<item>
		<title>ti va la teoria o la pratica?</title>
		<link>http://feedproxy.google.com/~r/numerodix/~3/go2BSWLKRPU/</link>
		<comments>http://www.matusiak.eu/numerodix/blog/index.php/2012/03/10/ti-va-la-teoria-o-la-pratica/#comments</comments>
		<pubDate>Sat, 10 Mar 2012 05:00:49 +0000</pubDate>
		<dc:creator>numerodix</dc:creator>
				<category><![CDATA[it]]></category>
		<category><![CDATA[observations]]></category>

		<guid isPermaLink="false">http://www.matusiak.eu/numerodix/blog/?p=3737</guid>
		<description><![CDATA[Ci sono delle occasioni in cui si vorrebbe avere una conversazione più approfondita, comunque bisogna sbrigarsi entro un certo orario prestabilito. Allora si fanno domande un po&#8217; banali, un po&#8217; ingenue, cui non ci sono risposte molto soddisfacenti.
Una volta mi è stato chiesto: tu preferisci avere a che fare con la teoria oppure con la [...]]]></description>
			<content:encoded><![CDATA[<p>Ci sono delle occasioni in cui si vorrebbe avere una conversazione più approfondita, comunque bisogna sbrigarsi entro un certo orario prestabilito. Allora si fanno domande un po&#8217; banali, un po&#8217; ingenue, cui non ci sono risposte molto soddisfacenti.</p>
<p>Una volta mi è stato chiesto: tu preferisci avere a che fare con la teoria oppure con la pratica? Non mi ricordo cosa risposi, però più tardi mi accorsi che non era una domanda molto sensata.</p>
<p>In fondo non esistono quelle due cose separatamente. Di solito si parte da uno scopo preciso, per esempio: disintasare il lavandino perché non scorre bene l&#8217;acqua.</p>
<p>Quindi si fa un lavoretto per risolvere il problema. Magari facendolo si scopre che cosa ha causato l&#8217;intasamento. Per esempio: si sono trovati dei pezzi troppo grandi per poter passare facilmente attraverso le tubature. Bene, abbiamo un&#8217;ipotesi: bisogna evitare pezzi troppo grandi, altrimenti s&#8217;intasa il lavandino. Se questo succede di nuovo avremo l&#8217;opportunità di confermare oppure confutare l&#8217;ipotesi che abbiamo fatto.</p>
<p>Nel frattempo, potremmo applicare l&#8217;ipotesi nella speranza di anticipare il problema.</p>
<p>Dunque, siamo passati dalla pratica alla teoria e poi, applicando la teoria, si torna di nuovo alla pratica. In effetti, questa è una catena di cui fanno parte i due concetti. Non ha molto senso chiedersi quale dei due è più importante, più utile ecc.</p>
<p>La teoria si fonda sulle fondamenta di un&#8217;esperienza. Senza sperimentazione non c&#8217;è teoria. Invece la pratica necessita della teoria per riuscire meglio nelle cose che si fanno. Non c&#8217;è dubbio che un medico istruito riuscirà molto meglio nel curare un paziente che un dilettante. Però è altrettanto vero che il medico ha bisogno non soltanto di istruirsi teoricamente ma anche di fare un bel po&#8217; di pratica per capire come applicare questa teoria nei vari casi che incontrerà. Altrimenti rimarrà una competenza molto meno utile.</p>
<img src="http://feeds.feedburner.com/~r/numerodix/~4/go2BSWLKRPU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.matusiak.eu/numerodix/blog/index.php/2012/03/10/ti-va-la-teoria-o-la-pratica/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.matusiak.eu/numerodix/blog/index.php/2012/03/10/ti-va-la-teoria-o-la-pratica/</feedburner:origLink></item>
		<item>
		<title>il tempismo nello scrivere</title>
		<link>http://feedproxy.google.com/~r/numerodix/~3/6WIYmKQFio4/</link>
		<comments>http://www.matusiak.eu/numerodix/blog/index.php/2012/03/09/il-tempismo-nello-scrivere/#comments</comments>
		<pubDate>Fri, 09 Mar 2012 05:15:52 +0000</pubDate>
		<dc:creator>numerodix</dc:creator>
				<category><![CDATA[it]]></category>
		<category><![CDATA[observations]]></category>

		<guid isPermaLink="false">http://www.matusiak.eu/numerodix/blog/?p=3691</guid>
		<description><![CDATA[È stato detto da comici professionisti che durante lo spettacolo una battuta trasmessa dal comico al pubblico ha una sua esistenza nel tempo. Cioè, bisogna sapere come raccontare una barzelletta, il tono da usare, dove mettere l&#8217;enfasi e così via, ma anche dove mettere le pause, quanto far aspettare il pubblico per poi farlo ridere [...]]]></description>
			<content:encoded><![CDATA[<p>È stato detto da comici professionisti che durante lo spettacolo una battuta trasmessa dal comico al pubblico ha una sua esistenza nel tempo. Cioè, bisogna sapere come raccontare una barzelletta, il tono da usare, dove mettere l&#8217;enfasi e così via, ma anche dove mettere le pause, quanto far aspettare il pubblico per poi farlo ridere ancora più forte. In questo senso il tempo è fondamentale. Non bisogna fare troppo in fretta, ma neanche aspettare troppo. Una battuta riesce quando è impiegata proprio nel momento giusto, quando c&#8217;è da usufruire, diciamo, una tensione, un&#8217;aspettativa che vuol essere appagata.</p>
<p>Ecco, spesso nello scrivere provo una sensazione analoga. È chiaro che non si tratta di un pubblico, però questo senso di tempismo mi molesta ogni tanto. Spesso mi viene in mente qualcosa che potrebbe essere un argomento di cui scrivere, comunque sono fuori di casa oppure sono a letto la sera. Mi sembra che se avessi l&#8217;opportunità di elaborare quest&#8217;idea nel momento stesso potrebbe venir fuori qualcosa di bello, però se devo aspettare qualche ora non è più lo stesso.</p>
<p>È come ricevere un regalo. Fin quando è sempre un regalo confezionato e non si capisce che ci sia dentro, si può aspettare a lungo. Però appena cominci a rompere l&#8217;involucro e scopri anche soltanto il colore dell&#8217;oggetto che sta dentro è già cominciato il processo della scoperta che non si lascia interrompere per essere ripreso tranquillamente più tardi.</p>
<p>Va beh! Non è l&#8217;analogia più esatta, però rende l&#8217;idea almeno un po&#8217;.</p>
<img src="http://feeds.feedburner.com/~r/numerodix/~4/6WIYmKQFio4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.matusiak.eu/numerodix/blog/index.php/2012/03/09/il-tempismo-nello-scrivere/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.matusiak.eu/numerodix/blog/index.php/2012/03/09/il-tempismo-nello-scrivere/</feedburner:origLink></item>
		<item>
		<title>voglio la prescrizione, beninteso</title>
		<link>http://feedproxy.google.com/~r/numerodix/~3/4BP2Ls4VhDE/</link>
		<comments>http://www.matusiak.eu/numerodix/blog/index.php/2012/03/08/voglio-la-prescrizione-beninteso/#comments</comments>
		<pubDate>Thu, 08 Mar 2012 05:21:52 +0000</pubDate>
		<dc:creator>numerodix</dc:creator>
				<category><![CDATA[it]]></category>
		<category><![CDATA[sands]]></category>

		<guid isPermaLink="false">http://www.matusiak.eu/numerodix/blog/?p=3687</guid>
		<description><![CDATA[- Buongiorno, ho una prescrizione da effettuare.
- Ha ricevuto una prescrizione dal medico intende?
- Cioè, sì, in effetti. Ecco, desidero essere prosciolto per prescrizione.
- E perché?
- Lo è stato un mio amico. Dice che è una sensazione veramente indimenticabile: la tensione, l&#8217;orrore, la paura di finire in carcere, e infine il rilievo, la celebrazione sfrenata.
- [...]]]></description>
			<content:encoded><![CDATA[<p>- Buongiorno, ho una prescrizione da effettuare.</p>
<p>- Ha ricevuto una prescrizione dal medico intende?</p>
<p>- Cioè, sì, in effetti. Ecco, desidero essere prosciolto per prescrizione.</p>
<p>- E perché?</p>
<p>- Lo è stato un mio amico. Dice che è una sensazione veramente indimenticabile: la tensione, l&#8217;orrore, la paura di finire in carcere, e infine il rilievo, la celebrazione sfrenata.</p>
<p>- Sì, capisco. Comunque temo che lei abbia malinteso. Essere prosciolto per prescrizione non ha niente a che vedere con una prescrizione medica.</p>
<p>- Come sarebbe?</p>
<p>- Vede, la prescrizione in questo caso è una vicenda legale, si tratta di un processo criminale in cui pare sia scattata la prescrizione. Vuol dire che il processo è stato in corso troppo a lungo.</p>
<p>- Lei mi mette in testa una gran confusione. Allora che devo fare per ottenere la prescrizione prosciolta?</p>
<p>- Non è la prescrizione che viene prosciolta, è l&#8217;imputato, cioè colui che è processato, che viene prosciolto. Prosciolto l&#8217;imputato per prescrizione, cioè prosciolto a causa della prescrizione.</p>
<p>- Il deputato?</p>
<p>- L&#8217;imputato.</p>
<p>- Allora devo farmi imputare qualcosa? Ma ciò non fa male da morire?</p>
<p>- No, non deve farsi amputare niente. Senta, adesso bisogna che io passi alla persona seguente, perché per lei non posso far niente. Forse sarebbe meglio per lei farsi altri amici con interessi diverse nella vita.</p>
<img src="http://feeds.feedburner.com/~r/numerodix/~4/4BP2Ls4VhDE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.matusiak.eu/numerodix/blog/index.php/2012/03/08/voglio-la-prescrizione-beninteso/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.matusiak.eu/numerodix/blog/index.php/2012/03/08/voglio-la-prescrizione-beninteso/</feedburner:origLink></item>
		<item>
		<title>gli dei</title>
		<link>http://feedproxy.google.com/~r/numerodix/~3/1RO8AwTmdbk/</link>
		<comments>http://www.matusiak.eu/numerodix/blog/index.php/2012/03/07/gli-dei/#comments</comments>
		<pubDate>Wed, 07 Mar 2012 06:53:16 +0000</pubDate>
		<dc:creator>numerodix</dc:creator>
				<category><![CDATA[it]]></category>
		<category><![CDATA[sands]]></category>

		<guid isPermaLink="false">http://www.matusiak.eu/numerodix/blog/?p=3683</guid>
		<description><![CDATA[- Lo sai dove sono finiti gli dei?
- Gli dei dici? No, per niente. È da tempo che non se ne sente parlare più. Però a volte mi chiedo cosa sia successo.
- Hai ragione, una volta c&#8217;era un fracasso enorme intorno a loro. Si costruivano templi, chiese, si formavano sciamani, rabbini.
- Però sicuramente si fanno [...]]]></description>
			<content:encoded><![CDATA[<p>- Lo sai dove sono finiti gli dei?</p>
<p>- Gli dei dici? No, per niente. È da tempo che non se ne sente parlare più. Però a volte mi chiedo cosa sia successo.</p>
<p>- Hai ragione, una volta c&#8217;era un fracasso enorme intorno a loro. Si costruivano templi, chiese, si formavano sciamani, rabbini.</p>
<p>- Però sicuramente si fanno preti nuovi da qualche parte ancora?</p>
<p>- Infatti. Comunque, il loro campo professionale si sta sempre restringendo.</p>
<p>- In che senso?</p>
<p>- Nei bei tempi gli dei erano tanti. Si stavano comodissimi in quel splendido palazzo sull&#8217;Acropoli; giocavano a carte, sorseggiavano bibite, c&#8217;era una comunità. Adesso invece ce n&#8217;è rimasto uno solo.</p>
<p>- Poveraccio.</p>
<p>- Già. E invece di sfogarsi con gli amici ha a che fare soltanto con i preti che gli stanno sempre sulle palle adorandolo, leccandogli i piedi e chiedendo favori. Che tristezza.</p>
<p>- Se uno mi viene a adorare un giorno, va bene, non gli dico niente. Ma se poi torna ogni giorno lo butto fuori a calci. Bisogna far capire quando è superato il limite.</p>
<p>- E invece i preti facevano costruire un palazzo per lui, e poi si stavano dentro tutti i giorni, pure chiedendosi perché lui non li veniva a trovare. Magari se fossero andati via lui sarebbe venuto a fermarsi lì ogni tanto per il fine settimana.</p>
<p>- Ma quegli dei di prima non mi sembravano tanto seri. Talvolta severi, però molto giocosi anche.</p>
<p>- Erano greci, sai. Quindi sapevano che cos&#8217;è l&#8217;allegria. Invece quelli norreni erano molto più tristi. Alcuni erano pure ricoverati per depressione, specie d&#8217;inverno che non finisce mai da quelle parti.</p>
<img src="http://feeds.feedburner.com/~r/numerodix/~4/1RO8AwTmdbk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.matusiak.eu/numerodix/blog/index.php/2012/03/07/gli-dei/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.matusiak.eu/numerodix/blog/index.php/2012/03/07/gli-dei/</feedburner:origLink></item>
		<item>
		<title>comincia la giornata da creatore</title>
		<link>http://feedproxy.google.com/~r/numerodix/~3/7o75xjUyidc/</link>
		<comments>http://www.matusiak.eu/numerodix/blog/index.php/2012/03/06/comincia-la-giornata-da-creatore/#comments</comments>
		<pubDate>Tue, 06 Mar 2012 06:13:31 +0000</pubDate>
		<dc:creator>numerodix</dc:creator>
				<category><![CDATA[it]]></category>
		<category><![CDATA[observations]]></category>

		<guid isPermaLink="false">http://www.matusiak.eu/numerodix/blog/?p=3678</guid>
		<description><![CDATA[Oggi niente battute (chiedo perdono). Voglio mettere in evidenza un&#8217;idea che ritengo molto importante.
La vita conosce i suoi sbalzi: di umore, di livelli di energia ecc. A volte siamo pieni di buona volontà, ma poi passa il momento, la vita va avanti e dimentichiamo quei bei propositi. Questo è un peccato, specialmente perché spesso ci [...]]]></description>
			<content:encoded><![CDATA[<p>Oggi niente battute (chiedo perdono). Voglio mettere in evidenza un&#8217;idea che ritengo molto importante.</p>
<p>La vita conosce i suoi sbalzi: di umore, di livelli di energia ecc. A volte siamo pieni di buona volontà, ma poi passa il momento, la vita va avanti e dimentichiamo quei bei propositi. Questo è un peccato, specialmente perché spesso ci vengono in mente proprio quando non riusciamo a farci niente, per esempio quando siamo in treno, quando dobbiamo studiare per un esame ecc. Se avessi il tempo lo farei proprio adesso, ma purtroppo&#8230;</p>
<p>Invece poi viviamo momenti in cui il tempo onestamente non ci manca, però non riusciamo a impiegarlo bene. Per i lavoratori questo tempo è senz&#8217;altro il fine settimana, quel weekend a cui stiamo pensando da martedì in poi, dico bene? <img src='http://www.matusiak.eu/numerodix/blog/wp-includes/images/smilies/smile.png' alt=':)' class='wp-smiley' />  Mi sono accorto che se prima del fine settimana so di avere vari compiti da svolgere riesco a farli e ad essere abbastanza efficace. Però se questo bisogno non c&#8217;è allora è per lo più tempo perso.</p>
<p>Si dice che quando c&#8217;è un compito da svolgere e c&#8217;è un periodo in cui bisogna svolgerlo, allora il compito tende ad assorbire tutto il tempo possibile. Detto in altre parole, se sai di dover fare qualcosa in poco tempo lo fai in fretta, perché non c&#8217;è tempo da perdere. Se invece hai a disposizione tutta la giornata non è che devi necessariamente cominciare subito, puoi benissimo farlo un po&#8217; più tardi. Lo riconosci questo ragionamento? Scommetto di sì.</p>
<p>Allora che fare? Ho cominciato col dire che a volte abbiamo tutti questi bei propositi, nevvero? Ecco, bisogna cominciare da questo. Ti svegli la mattina, è sabato, potresti fare qualcosa di utile però non c&#8217;è fretta. Invece fallo, fallo prima di fare altro, perché è quello che ti darà soddisfazione. L&#8217;altro giorno ho letto <a href="http://howells.ws/posts/view/62/start-every-day-as-a-producer-not-a-consumer">un articolo</a> che parlava proprio di questo. Il punto è: comincia la giornata da creatore, non da consumatore. Quindi da agente, da quello che agisce, che ha la voglia di fare delle cose, non da quello che reagisce a ciò che la vita gli impone. Mi piace dirlo così, perché creare (va intenso in senso esteso) è cosa bella.</p>
<img src="http://feeds.feedburner.com/~r/numerodix/~4/7o75xjUyidc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.matusiak.eu/numerodix/blog/index.php/2012/03/06/comincia-la-giornata-da-creatore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.matusiak.eu/numerodix/blog/index.php/2012/03/06/comincia-la-giornata-da-creatore/</feedburner:origLink></item>
		<item>
		<title>siamo seri per favore</title>
		<link>http://feedproxy.google.com/~r/numerodix/~3/tmibXJAag38/</link>
		<comments>http://www.matusiak.eu/numerodix/blog/index.php/2012/03/05/siamo-seri-per-favore/#comments</comments>
		<pubDate>Mon, 05 Mar 2012 05:17:24 +0000</pubDate>
		<dc:creator>numerodix</dc:creator>
				<category><![CDATA[it]]></category>
		<category><![CDATA[sands]]></category>

		<guid isPermaLink="false">http://www.matusiak.eu/numerodix/blog/?p=3673</guid>
		<description><![CDATA[- &#8230; dunque poi mi ha detto che non andava bene la minestra, c&#8217;avevo messo troppo sale e per di più&#8230;
- sssst zitto! Viene qualcuno&#8230;
- Chi è?
- Lo riconosco. È il lettore.
- Sicuro che sia lui?
- Assolutamente. Senti, gli giochiamo uno scherzo, ci stai?
- Volentieri, però come si fa se sta leggendo tutto quello che [...]]]></description>
			<content:encoded><![CDATA[<p>- &#8230; dunque poi mi ha detto che non andava bene la minestra, c&#8217;avevo messo troppo sale e per di più&#8230;</p>
<p>- sssst zitto! Viene qualcuno&#8230;</p>
<p>- Chi è?</p>
<p>- Lo riconosco. È il lettore.</p>
<p>- Sicuro che sia lui?</p>
<p>- Assolutamente. Senti, gli giochiamo uno scherzo, ci stai?</p>
<p>- Volentieri, però come si fa se sta leggendo tutto quello che ci diciamo tra noi? Com&#8217;è possibile sorprenderlo, ingannarlo?</p>
<p>- Ti faccio vedere. Ecco, secondo me il lettore è una persona molto intelligente.</p>
<p>- Ehehe hai visto che faccia che ha fatto quando ha capito l&#8217;inganno. Bene, tocca a me. Dunque, secondo me il lettore è una persona seria e meritevole di rispetto per cui non si devono farle brutti scherzi.</p>
<p>- Mitico! Senti però, non è giusto. Qui ci stiamo divertendo a scapito di una persona che non fa male a nessuno, bisogna smetterla.</p>
<p>- Non ne posso più, mi fa male la pancia dal tanto ridere!</p>
<p>- Dimmi un po&#8217;, dov&#8217;è finito il lettore?</p>
<p>- Hai ragione, è svanito. Che coglione però che si offende per così poco. Beh non importa. Stavo dicendo: la minestra non andava bene perch..</p>
<p>- Zitto! Vedo avvicinarsi un altro&#8230;</p>
<img src="http://feeds.feedburner.com/~r/numerodix/~4/tmibXJAag38" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.matusiak.eu/numerodix/blog/index.php/2012/03/05/siamo-seri-per-favore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.matusiak.eu/numerodix/blog/index.php/2012/03/05/siamo-seri-per-favore/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic Page Served (once) in 1.056 seconds --><!-- Cached page served by WP-Cache -->

