http://yannesposito.com/ Yogsototh's last blogs entries 2011-12-28T13:14:40Z Yann Esposito http://yannesposito.com tag:yannesposito.com,2011-12-28:/Scratch/en/blog/Yesod-tutorial-for-newbies/ Yesod tutorial for newbies 2011-12-28T13:14:40Z 2011-12-28T13:14:40Z Yann Esposito yannesposito.com <p><img alt="Title image" src="/Scratch/img/blog/Yesod-tutorial-for-newbies/warp-benchmark.png" /></p> <div class="intro"> <p><span class="sc"><abbr title="Too long; didn't read">tl;dr</abbr>: </span> A simple yesod tutorial. You shouldn’t need to know Haskell very well. </p> <blockquote> <ul id="markdown-toc"> <li><a href="#install">Install</a></li> <li><a href="#initialization">Initialization</a></li> <li><a href="#configure-git">Configure git</a></li> <li><a href="#a-last-point">A last point</a></li> <li><a href="#protected-echo">Protected echo</a></li> <li><a href="#cleaning-up">Cleaning up</a> <ul> <li><a href="#separate-handlers">Separate handlers</a></li> <li><a href="#use-datatext-instead-of-string">Use <code>Data.Text</code> instead of <code>Stri...</code></a></li></ul></li></ul></blockquote></div></p> tag:yannesposito.com,2011-10-20:/Scratch/en/blog/SVG-and-m4-fractals/ Increase the power of deficient languages. 2011-10-20T09:39:36Z 2011-10-20T09:39:36Z Yann Esposito yannesposito.com <p><img alt="Yesod logo made in SVG and m4" src="/Scratch/img/blog/SVG-and-m4-fractals/main.png" /></p> <div class="intro"> <p><span class="sc"><abbr title="Too long; didn't read">tl;dr</abbr>: </span> How to use m4 to increase the power of deficient languages. Two examples: improve <span class="sc">xslt</span> syntax and make fractal with <span class="sc">svg</span>.</p> </div> <p><span class="sc">xml</span> was a very nice idea about structuring data. Some people where so enthusiastic about <span class="sc">xml</span> they saw it everywhere. The idea was: the future is <span class="sc">xml</span>. Then some believed it would be a good idea to invent many <span class="sc">xml</span> compatible format and even programming languages with <span class="sc">xml</span> syntax.</p> </p> tag:yannesposito.com,2011-10-04:/Scratch/en/blog/Yesod-excellent-ideas/ Yesod excellent ideas 2011-10-04T08:18:59Z 2011-10-04T08:18:59Z Yann Esposito yannesposito.com <p><img alt="Title image" src="/Scratch/img/blog/Yesod-excellent-ideas/main.png" /></p> <div class="intro"> <p><span class="sc"><abbr title="Too long; didn't read">tl;dr</abbr>: </span></p> <p><a href="http://www.yesodweb.com">Yesod</a> is a web framework which recently reached the maturity for which you should consider to use it. Before telling you why you should learn Haskell and use yesod, I will talk about ideas yesod introduced and I didn’t saw in other frameworks before.</p> </div> <h2 id="type-safety">Type safety</h2> <p>Let’s start by an obligatory link from <a href="http://xkcd.com">xkcd</a>:</p> <p><img src="http://imgs.xkcd.com/comics/exploits_of_a_mom.png" alt="SQL injection by a mom" /></p> <p>When you create a web application, a lot of time is spent dealing wit...</p></p></p> tag:yannesposito.com,2011-09-28:/Scratch/en/blog/programming-language-experience/ Programming Language Experience 2011-09-28T10:21:41Z 2011-09-28T10:21:41Z Yann Esposito yannesposito.com <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 is not even good to learn programming....</p></p></p>