http://yannesposito.com/Yogsototh's last blogs entries2011-09-28T13:15:23ZYann Espositohttp://yannesposito.comtag:yannesposito.com,2011-09-28:/Scratch/en/blog/Higher-order-function-in-zsh/Higher order function in zsh2011-09-28T13:15:23Z2011-09-28T13:15:23Z<p><img alt="Title image" src="/Scratch/img/blog/Higher-order-function-in-zsh/main.jpg" /></p>
<div class="intro">
<p><span class="sc"><abbr title="Too long; didn't read">tl;dr</abbr>: </span> some simple implementation of higher order function for zsh.</p>
</div>
<p>Why is it important to have these functions?
Simply because, the more I programmed with zsh the more I tended to work using functional programming style.</p>
<p>The minimal to have better code are the functions <code>map</code>, <code>filter</code> and <code>fold</code>.</p>
<p>Let’s compare.
First a program which convert all gif to png in many different directories of different projects.</p>
<p>Before ⇒</p>
<pre class="twilight">
<span class="Comment"><span class="Comment">#</span> for each directory in...</span></pre></p>tag:yannesposito.com,2011-09-28:/Scratch/en/blog/programming-language-experience/Programming Language Experience2011-09-28T10:21:41Z2011-09-28T10:21:41Z<p><img alt="Title image" src="/Scratch/img/blog/programming-language-experience/dragon.jpg" /></p>
<div class="intro">
<span class="sc"><abbr title="Too long; didn't read">tl;dr</abbr>: </span> My short and higly subjective feelings about programming languages I used.
</div>
<h3 id="basic"><code>BASIC</code></h3>
<p><img alt="Title image" src="/Scratch/img/blog/programming-language-experience/basic.gif" class="left" />
The language of my firsts programs!
I was about 10, with an <code>MO5</code> and <code>Amstrad CPC 6128</code> and even with my <code>Atari STe</code>.
This is the language of <code>GOTO</code>s.
Ô nostalgia.
Unfortunately this might be the only interesting part of this language.</p>
<p>Today this language is obsolescent.
It not even a good language to learn pro...</p></p></p>tag:yannesposito.com,2011-08-25:/Scratch/en/blog/Learn-Vim-Progressively/Learn Vim Progressively2011-08-25T17:28:20Z2011-08-25T17:28:20Z<p><img alt="Über leet use vim!" src="/Scratch/img/blog/Learn-Vim-Progressively/uber_leet_use_vim.jpg" /></p>
<div class="intro">
<p><span class="sc"><abbr title="Too long; didn't read">tl;dr</abbr>: </span> Want to learn vim (the best text editor known to human kind) the fastest way possible. I suggest you a way. Start by learning the minimal to survive, then integrate slowly all tricks.</p>
</div>
<p><a href="http://www.vim.org">Vim</a> the Six Billion Dollar editor</p>
<blockquote>
<p>Better, Stronger, Faster.</p>
</blockquote>
<p>Learn <a href="http://www.vim.org">vim</a> and it will be your last text editor.
There isn’t any better text editor I know.
Hard to learn, but incredible to use.</p>
<p>I suggest you to learn it in 4 steps:</p>
<ol>
<li>Survive</li>
...</ol></p>tag:yannesposito.com,2011-05-18:/Scratch/en/blog/Password-Management/40 character's passwords2011-05-18T11:14:28Z2011-05-18T11:14:28Z<p><img alt="Title image" src="/Scratch/img/blog/Password-Management/main.png" /></p>
<div class="intro">
<p><span class="sc"><abbr title="Too long; didn't read">tl;dr</abbr>: </span> How I manage safely my password with success for some years now.<br />
<strong><code>sha1( password + domain_name )</code></strong><br />
I memorize only one password.
I use a different password on all website.</p>
</div>
<p>Disclamer, this is an unashamed attempt to make you download my iPhone app ;-).
You’re always here?
Even if you won’t download my app, you should read more.
My method doesn’t necessitate my app.
It is both safe and easy to use everyday.</p>
<p>If you just want to <em>use</em> the tools without searching to understand why it is safe, just jump at the </p></p></div></p>