Browse Source

updated website

gh-pages
parent
commit
b8fd39e340
  1. 6
      404.html
  2. 2
      Scratch/en/about/index.html
  3. 4
      Scratch/en/blog/01_nanoc/index.html
  4. 6
      Scratch/en/blog/02_ackgrep/index.html
  5. 24
      Scratch/en/blog/03_losthighway/03_losthighway_1/index.html
  6. 6
      Scratch/en/blog/03_losthighway/03_losthighway_2/index.html
  7. 4
      Scratch/en/blog/03_losthighway/03_losthighway_3/index.html
  8. 6
      Scratch/en/blog/03_losthighway/03_losthighway_4/index.html
  9. 14
      Scratch/en/blog/03_losthighway/index.html
  10. 6
      Scratch/en/blog/04_drm/index.html
  11. 4
      Scratch/en/blog/06_How_I_use_git/index.html
  12. 6
      Scratch/en/blog/07_Screensaver_compilation_option_for_Snow_Leopard/index.html
  13. 2
      Scratch/en/blog/08_Configure_ssh_to_listen_the_port_443_on_Snow_Leopard/index.html
  14. 4
      Scratch/en/blog/10_Synchronize_Custom_WebSite_with_mobileMe/index.html
  15. 10
      Scratch/en/blog/11_Load_Disqus_Asynchronously/index.html
  16. 8
      Scratch/en/blog/2009-09-Disqus-versus-Intense-Debate--Why-I-switched-/index.html
  17. 46
      Scratch/en/blog/2009-09-jQuery-Tag-Cloud/index.html
  18. 2
      Scratch/en/blog/2009-09-replace-all-except-some-part/index.html
  19. 10
      Scratch/en/blog/2009-10-28-custom-website-synchronisation-with-mobileme--2-/index.html
  20. 2
      Scratch/en/blog/2009-10-30-How-to-handle-evil-IE/index.html
  21. 4
      Scratch/en/blog/2009-10-Focus-vs-Minimalism/index.html
  22. 2
      Scratch/en/blog/2009-10-How-to-preload-your-site-with-style/index.html
  23. 2
      Scratch/en/blog/2009-10-Wait-to-hide-a-menu-in-jQuery/index.html
  24. 2
      Scratch/en/blog/2009-10-launch-daemon-from-command-line/index.html
  25. 34
      Scratch/en/blog/2009-10-untaught-git-usage/index.html
  26. 24
      Scratch/en/blog/2009-11-12-Git-for-n00b/Git-pour-quoi-faire/index.html
  27. 22
      Scratch/en/blog/2009-11-12-Git-for-n00b/c-est-parti-pour-l-aventure/index.html
  28. 4
      Scratch/en/blog/2009-11-12-Git-for-n00b/comprendre/index.html
  29. 6
      Scratch/en/blog/2009-11-12-Git-for-n00b/conf-et-install/index.html
  30. 4
      Scratch/en/blog/2009-11-12-Git-for-n00b/index.html
  31. 2
      Scratch/en/blog/2009-12-06-iphone-call-filter/index.html
  32. 12
      Scratch/en/blog/2009-12-14-Git-vs--Bzr/index.html
  33. 2
      Scratch/en/blog/2010-02-15-All-but-something-regexp/index.html
  34. 4
      Scratch/en/blog/2010-02-16-All-but-something-regexp--2-/index.html
  35. 2
      Scratch/en/blog/2010-02-18-split-a-file-by-keyword/index.html
  36. 2
      Scratch/en/blog/2010-03-22-Git-Tips/index.html
  37. 10
      Scratch/en/blog/2010-05-17-at-least-this-blog-revive/index.html
  38. 4
      Scratch/en/blog/2010-05-19-How-to-cut-HTML-and-repair-it/index.html
  39. 16
      Scratch/en/blog/2010-05-24-Trees--Pragmatism-and-Formalism/index.html
  40. 4
      Scratch/en/blog/2010-06-14-multi-language-choices/index.html
  41. 8
      Scratch/en/blog/2010-06-15-Get-my-blog-engine/index.html
  42. 2
      Scratch/en/blog/2010-06-17-track-events-with-google-analytics/index.html
  43. 30
      Scratch/en/blog/2010-07-05-Cappuccino-and-Web-applications/index.html
  44. 6
      Scratch/en/blog/2010-07-07-CSS-rendering-problems-by-navigator/index.html
  45. 2
      Scratch/en/blog/2010-08-23-Now-heberged-on-heroku/index.html
  46. 10
      Scratch/en/blog/2010-08-31-send-mail-from-command-line-with-attached-file/index.html
  47. 2
      Scratch/en/blog/2010-09-02-Use-git-to-calculate-trusted-mtimes/index.html
  48. 2
      Scratch/en/blog/2010-10-06-New-Blog-Design-Constraints/index.html
  49. 4
      Scratch/en/blog/2010-10-10-Secure-eMail-on-Mac-in-few-steps/index.html
  50. 8
      Scratch/en/blog/2010-10-14-Fun-with-wav/index.html
  51. 20
      Scratch/en/blog/2011-01-03-Why-I-sadly-won-t-use-coffeescript/index.html
  52. 2
      Scratch/en/blog/Haskell-Mandelbrot/index.html
  53. 44
      Scratch/en/blog/Haskell-OpenGL-Mandelbrot/index.html
  54. 206
      Scratch/en/blog/Haskell-the-Hard-Way/index.html
  55. 10
      Scratch/en/blog/Higher-order-function-in-zsh/index.html
  56. 54
      Scratch/en/blog/Learn-Vim-Progressively/index.html
  57. 10
      Scratch/en/blog/Password-Management/index.html
  58. 16
      Scratch/en/blog/SVG-and-m4-fractals/index.html
  59. 16
      Scratch/en/blog/Typography-and-the-Web/index.html
  60. 14
      Scratch/en/blog/Yesod-excellent-ideas/index.html
  61. 84
      Scratch/en/blog/Yesod-tutorial-for-newbies/index.html
  62. 56
      Scratch/en/blog/feed/feed.xml
  63. 36
      Scratch/en/blog/index.html
  64. 8
      Scratch/en/blog/mvc/index.html
  65. 66
      Scratch/en/blog/programming-language-experience/index.html
  66. 2
      Scratch/en/error/401-authorization_required/index.html
  67. 6
      Scratch/en/error/404-not_found/index.html
  68. 2
      Scratch/en/index.html
  69. 6
      Scratch/en/rss/index.html
  70. 2
      Scratch/en/softwares/ypassword/index.html
  71. 6
      Scratch/en/validation/index.html
  72. 2
      Scratch/fr/about/contact/index.html
  73. 16
      Scratch/fr/about/index.html
  74. 6
      Scratch/fr/about/technical_details/index.html
  75. 12
      Scratch/fr/blog/01_nanoc/index.html
  76. 18
      Scratch/fr/blog/02_ackgrep/index.html
  77. 30
      Scratch/fr/blog/03_losthighway/03_losthighway_1/index.html
  78. 20
      Scratch/fr/blog/03_losthighway/03_losthighway_2/index.html
  79. 4
      Scratch/fr/blog/03_losthighway/03_losthighway_3/index.html
  80. 24
      Scratch/fr/blog/03_losthighway/03_losthighway_4/index.html
  81. 26
      Scratch/fr/blog/03_losthighway/index.html
  82. 6
      Scratch/fr/blog/04_drm/index.html
  83. 8
      Scratch/fr/blog/05_git_create_remote_branch/index.html
  84. 26
      Scratch/fr/blog/06_How_I_use_git/index.html
  85. 10
      Scratch/fr/blog/07_Screensaver_compilation_option_for_Snow_Leopard/index.html
  86. 18
      Scratch/fr/blog/08_Configure_ssh_to_listen_the_port_443_on_Snow_Leopard/index.html
  87. 8
      Scratch/fr/blog/09_Why_I_didn-t_keep_whosamung-us/index.html
  88. 24
      Scratch/fr/blog/10_Synchronize_Custom_WebSite_with_mobileMe/index.html
  89. 10
      Scratch/fr/blog/11_Load_Disqus_Asynchronously/index.html
  90. 14
      Scratch/fr/blog/2009-09-Disqus-versus-Intense-Debate--Why-I-switched-/index.html
  91. 28
      Scratch/fr/blog/2009-09-jQuery-Tag-Cloud/index.html
  92. 2
      Scratch/fr/blog/2009-09-replace-all-except-some-part/index.html
  93. 14
      Scratch/fr/blog/2009-10-28-custom-website-synchronisation-with-mobileme--2-/index.html
  94. 2
      Scratch/fr/blog/2009-10-30-How-to-handle-evil-IE/index.html
  95. 8
      Scratch/fr/blog/2009-10-Focus-vs-Minimalism/index.html
  96. 12
      Scratch/fr/blog/2009-10-How-to-preload-your-site-with-style/index.html
  97. 6
      Scratch/fr/blog/2009-10-Wait-to-hide-a-menu-in-jQuery/index.html
  98. 4
      Scratch/fr/blog/2009-10-launch-daemon-from-command-line/index.html
  99. 100
      Scratch/fr/blog/2009-10-untaught-git-usage/index.html
  100. 54
      Scratch/fr/blog/2009-11-12-Git-for-n00b/Git-pour-quoi-faire/index.html

6
404.html

@ -29,10 +29,10 @@
<div id="afterheader">
<div class="corps">
<p>The page you&rsquo;re looking at doesn&rsquo;t exists on the server.
If you have followed an internal link, you can tell me by mail <a href="&#109;&#097;&#105;&#108;&#116;&#111;:&#121;&#097;&#110;&#110;&#046;&#101;&#115;&#112;&#111;&#115;&#105;&#116;&#111;&#064;&#103;&#109;&#097;&#105;&#108;&#046;&#099;&#111;&#109;">&#121;&#097;&#110;&#110;&#046;&#101;&#115;&#112;&#111;&#115;&#105;&#116;&#111;&#064;&#103;&#109;&#097;&#105;&#108;&#046;&#099;&#111;&#109;</a> and I&rsquo;ll fix it as soon as possible.</p>
<p>The page you&#8217;re looking at doesn&#8217;t exists on the server.
If you have followed an internal link, you can tell me by mail <a href="&#109;&#097;&#105;&#108;&#116;&#111;:&#121;&#097;&#110;&#110;&#046;&#101;&#115;&#112;&#111;&#115;&#105;&#116;&#111;&#064;&#103;&#109;&#097;&#105;&#108;&#046;&#099;&#111;&#109;">&#121;&#097;&#110;&#110;&#046;&#101;&#115;&#112;&#111;&#115;&#105;&#116;&#111;&#064;&#103;&#109;&#097;&#105;&#108;&#046;&#099;&#111;&#109;</a> and I&#8217;ll fix it as soon as possible.</p>
<p>La page que vous recherchez n&rsquo;est pas présente sur le site.
<p>La page que vous recherchez n&#8217;est pas présente sur le site.
Si vous avez suivi un lien vous pouvez me prévenir par mail <a href="&#109;&#097;&#105;&#108;&#116;&#111;:&#121;&#097;&#110;&#110;&#046;&#101;&#115;&#112;&#111;&#115;&#105;&#116;&#111;&#064;&#103;&#109;&#097;&#105;&#108;&#046;&#099;&#111;&#109;">&#121;&#097;&#110;&#110;&#046;&#101;&#115;&#112;&#111;&#115;&#105;&#116;&#111;&#064;&#103;&#109;&#097;&#105;&#108;&#046;&#099;&#111;&#109;</a> et je réparerai ça dès que possible.</p>
</div>

2
Scratch/en/about/index.html

@ -105,7 +105,7 @@
<p>But before all, I love to learn.
For example, I learned many programming languages:
<code>C</code>, <code>C++</code>, <code>Objective-C</code>, <code>Python</code>, <code>Java</code>,
<code>Perl</code>, <code>awk</code>, <code>bash</code>, <code>zsh</code>, <code>LaTeX</code>, <code>Metapost</code>, <code>camL</code>, <code>Haskell</code>&hellip;</p>
<code>Perl</code>, <code>awk</code>, <code>bash</code>, <code>zsh</code>, <code>LaTeX</code>, <code>Metapost</code>, <code>camL</code>, <code>Haskell</code>&#8230;</p>
</div>
<div id="bottom">

4
Scratch/en/blog/01_nanoc/index.html

@ -56,11 +56,11 @@
But a Framework to generate static web pages.</p>
<p>You have to program yourself webpages, the code
to generate the menu&hellip;</p>
to generate the menu&#8230;</p>
<p>I added feature to make my website multilingual for example</p>
<p>You&rsquo;ll can find many informations on the
<p>You&#8217;ll can find many informations on the
<a href="http://nanoc.stoneship.org">official nanoc website</a>.</p>
</div>

6
Scratch/en/blog/02_ackgrep/index.html

@ -51,11 +51,11 @@
<div class="corps">
<h1 class="first" id="update">update</h1>
<p>As <a href="http://www.theworkinggeek.com">Andy Lester</a> told me <a href="http://betterthangrep.com"><code>ack</code></a> is a simple file you only have to copy in your <code>~/bin</code> folder. Now I&rsquo;ve got <code>ack</code> on my professional server.</p>
<p>As <a href="http://www.theworkinggeek.com">Andy Lester</a> told me <a href="http://betterthangrep.com"><code>ack</code></a> is a simple file you only have to copy in your <code>~/bin</code> folder. Now I&#8217;ve got <code>ack</code> on my professional server.</p>
<p>Go on <a href="http://betterthangrep.com">http://betterthangrep.com</a> to download it.</p>
<p>Sincerely, I don&rsquo;t understand <code>ack</code> don&rsquo;t become a common command on all UNIX systems. I can no more live without. For me it is as essential as <code>which</code> or <code>find</code>.</p>
<p>Sincerely, I don&#8217;t understand <code>ack</code> don&#8217;t become a common command on all UNIX systems. I can no more live without. For me it is as essential as <code>which</code> or <code>find</code>.</p>
</div>
@ -78,7 +78,7 @@
<p>Most of time it is enough.
But it is far better with colored output.
<code>ack-grep</code> in Ubuntu does that.
As I couldn&rsquo;t install it on my &lsquo;Evil Company Server&rsquo;,
As I couldn&#8217;t install it on my &#8216;Evil Company Server&#8217;,
I had done one myself in very few lines:</p>
<div>

24
Scratch/en/blog/03_losthighway/03_losthighway_1/index.html

@ -53,7 +53,7 @@
<div class="flush"></div>
<div id="afterheader">
<div class="corps">
<h1 class="first" id="movies-keys">Movie&rsquo;s keys</h1>
<h1 class="first" id="movies-keys">Movie&#8217;s keys</h1>
<div class="encadre" style="text-align: center">
<strong>
@ -61,32 +61,32 @@
</strong>
</div>
<p>In a first, it is clear for me, it is not a fantastic movie. If you follow this line, you&rsquo;ll face many problem explaining some scenes.</p>
<p>In a first, it is clear for me, it is not a fantastic movie. If you follow this line, you&#8217;ll face many problem explaining some scenes.</p>
<p>My hypothesis is the movie describe the Fred&rsquo;s representation of reality.
<p>My hypothesis is the movie describe the Fred&#8217;s representation of reality.
Each of his tries to escape reality will fail.</p>
<p>Fred had commited an horrible act, a murder, and try to <em>repair</em> his memory to accepts it. He&rsquo;ll then create alternative realities.</p>
<p>Fred had commited an horrible act, a murder, and try to <em>repair</em> his memory to accepts it. He&#8217;ll then create alternative realities.</p>
<ul>
<li>In a first time he kills his wife (Renee) because he believes she cheated at him.</li>
<li>In the second part, he&rsquo;s weaker and will be manipulated by the blond equivalent of Renee to kill Dick Laurent.</li>
<li>In the second part, he&#8217;s weaker and will be manipulated by the blond equivalent of Renee to kill Dick Laurent.</li>
<li>In a third part, he kills Dick Laurent</li>
</ul>
<h2 id="why-this-interpretation-can-be-valid">Why this interpretation can be valid?</h2>
<p>Because of the dialog at the begining of the movie. Cops ask Fred if he&rsquo;s own a video camera:</p>
<p>Because of the dialog at the begining of the movie. Cops ask Fred if he&#8217;s own a video camera:</p>
<blockquote>
<p>&ldquo;Do you own a video camera?&rdquo;<br />
&ldquo;No, Fred hates them.&rdquo;<br />
&ldquo;I like to remember things my own way.&rdquo;<br />
&ldquo;What do you mean by that?&rdquo;<br />
&ldquo;How I remember them, not necessarily the way they happened.&rdquo; </p>
<p>&#8220;Do you own a video camera?&#8221;<br />
&#8220;No, Fred hates them.&#8221;<br />
&#8220;I like to remember things my own way.&#8221;<br />
&#8220;What do you mean by that?&#8221;<br />
&#8220;How I remember them, not necessarily the way they happened.&#8221; </p>
</blockquote>
<p>Then, what we see is not reality but the Fred&rsquo;s perception. Fred is the God of the reality we see. This is why some God/Devil interpretation of the movie works not so bad.</p>
<p>Then, what we see is not reality but the Fred&#8217;s perception. Fred is the God of the reality we see. This is why some God/Devil interpretation of the movie works not so bad.</p>
</div>

6
Scratch/en/blog/03_losthighway/03_losthighway_2/index.html

@ -57,15 +57,15 @@
<img alt="l'homme mystérieux" src="/Scratch/img/blog/03_losthighway/mysteryman.jpg" class=" left" />
<p>Who&rsquo;s this mysterious man? He tells Fred it&rsquo;s him who invited him in his house. He&rsquo;s present at the party and in the house of Fred in the same time. Eyes wide open, looking everything Fred&rsquo;s doing?</p>
<p>Who&#8217;s this mysterious man? He tells Fred it&#8217;s him who invited him in his house. He&#8217;s present at the party and in the house of Fred in the same time. Eyes wide open, looking everything Fred&#8217;s doing?</p>
<p>It&rsquo;s a key of the movie. In my humble opinion, I believe it represents the bad part of Fred. Certainly jalousy. If I was catholic, I&rsquo;ll said he&rsquo;s Satan. He observe, film but don&rsquo;t act. He helps Fred to kill Dick Laurent.
<p>It&#8217;s a key of the movie. In my humble opinion, I believe it represents the bad part of Fred. Certainly jalousy. If I was catholic, I&#8217;ll said he&#8217;s Satan. He observe, film but don&#8217;t act. He helps Fred to kill Dick Laurent.
Fred had let him enter and cannot let him go.
As <em>Iago</em> of Shakespeare is imprisonned by its own jalousy.
The Mysterious Man help Fred doing the acts of violence.
It also force Fred to remember the reality.</p>
<p>When he makes love to his wife (Renee), he sees the face of the Mysterious Man instead of his wife&rsquo;s face. In reality, it&rsquo;s the same person for Fred. It should be her who&rsquo;s the origin of his interior badness.</p>
<p>When he makes love to his wife (Renee), he sees the face of the Mysterious Man instead of his wife&#8217;s face. In reality, it&#8217;s the same person for Fred. It should be her who&#8217;s the origin of his interior badness.</p>
</div>

4
Scratch/en/blog/03_losthighway/03_losthighway_3/index.html

@ -53,9 +53,9 @@
<div class="flush"></div>
<div id="afterheader">
<div class="corps">
<h2 class="first" id="whos-at-the-origin-of-the-video-tapes">Who&rsquo;s at the origin of the video tapes?</h2>
<h2 class="first" id="whos-at-the-origin-of-the-video-tapes">Who&#8217;s at the origin of the video tapes?</h2>
<p>Certainly it&rsquo;s the mysterious man (Fred himself) who makes them.
<p>Certainly it&#8217;s the mysterious man (Fred himself) who makes them.
Their reason should be:</p>
<ul>

6
Scratch/en/blog/03_losthighway/03_losthighway_4/index.html

@ -68,7 +68,7 @@
<h2 id="which-one-then">which one then?</h2>
<p>The second hypothesis seems better. We can make much more interpretation with it. It explain in most part the strange phone call from Dick Laurent to Pete.
But the first hypothesis remain coherent. And, we should probably make an in depth explanantion using the first hypothesis. And I&rsquo;m not sure it would be better.</p>
But the first hypothesis remain coherent. And, we should probably make an in depth explanantion using the first hypothesis. And I&#8217;m not sure it would be better.</p>
<p>One of the strength of this movie is to understand there is many other coherent hypothesis. It is an expression of the <a href="http://en.wikipedia.org/wiki/Rashomon_effect">Rashomon effect</a>. Many different persons could describe in a coherent manner what they saw. But each description contradicts the others.</p>
@ -82,9 +82,9 @@ But the first hypothesis remain coherent. And, we should probably make an in dep
<p>There is much to tell about this movie. But I believe I put all essential keys here. It is a proof this movie is not a random one.</p>
<p>I believe it is essential to remember the &ldquo;test of Rorschach effet&rdquo; when watching this movie.</p>
<p>I believe it is essential to remember the &#8220;test of Rorschach effet&#8221; when watching this movie.</p>
<p>I&rsquo;d like to know or opinion&nbsp;; is my interpration wrong?</p>
<p>I&#8217;d like to know or opinion&nbsp;; is my interpration wrong?</p>
</div>

14
Scratch/en/blog/03_losthighway/index.html

@ -67,10 +67,10 @@ Here some of explanations of Lost Highway I found on the Internet:</p>
<ul>
<li>Fred make a pact with the devil incarnated by the <em>Mysterious Man</em>,</li>
<li><em>Mysterious Man</em> is a video camera,</li>
<li>Just the first part of the story is real. The rest is in the Fred&rsquo;s imagination,</li>
<li>Just the first part of the story is real. The rest is in the Fred&#8217;s imagination,</li>
</ul>
<p>and I don&rsquo;t speak about many point of view found in forums.</p>
<p>and I don&#8217;t speak about many point of view found in forums.</p>
<p>I finished to find two good site talking about this movie. But none of them still totally convinced me:</p>
@ -79,7 +79,7 @@ Here some of explanations of Lost Highway I found on the Internet:</p>
<li>the second which state almost the same interpretation about the movie and explain with even more details is on <a href="http://www.jasonsweb.com/LostHighway/main.htm">jasonweb</a></li>
</ul>
<p>Nonetheless, this movie must be watched knowing you&rsquo;ll cannot resolve the solution. At his best you&rsquo;ll can suggest an interpretation close to the one of David Lynch.</p>
<p>Nonetheless, this movie must be watched knowing you&#8217;ll cannot resolve the solution. At his best you&#8217;ll can suggest an interpretation close to the one of David Lynch.</p>
<p>I believe I had found a coherent interpretation which allow to follow the movie <strong>without being totally lost</strong>. I believed it can give the keys necessary to make its own idea of the movie.</p>
@ -87,14 +87,14 @@ Here some of explanations of Lost Highway I found on the Internet:</p>
<img alt="test de Rorschach" src="/Scratch/img/blog/03_losthighway/rorschach.gif" class=" left" />
<p>Like the protagonist, everybody see what he want to see in this movie. It is an invitation to think. Watch this movie is a little like watch a Rorschach&rsquo;s test. What do we see in it? Everybody put its own personnality in the interpretation of the movie.</p>
<p>Like the protagonist, everybody see what he want to see in this movie. It is an invitation to think. Watch this movie is a little like watch a Rorschach&#8217;s test. What do we see in it? Everybody put its own personnality in the interpretation of the movie.</p>
<ul>
<li>If you are mystic, you&rsquo;ll see in the mysterious man a devil,</li>
<li>If you are more psychanalytics, you&rsquo;ll see an inconscient part of the protagonist&hellip;</li>
<li>If you are mystic, you&#8217;ll see in the mysterious man a devil,</li>
<li>If you are more psychanalytics, you&#8217;ll see an inconscient part of the protagonist&#8230;</li>
</ul>
<p>Generally, we stay in this movie and we fail explaining everything. There is almost always a point that don&rsquo;t fit within the interpretation of the movie. This is why trying to find a unique good interpretation of this movie is a mistake.</p>
<p>Generally, we stay in this movie and we fail explaining everything. There is almost always a point that don&#8217;t fit within the interpretation of the movie. This is why trying to find a unique good interpretation of this movie is a mistake.</p>
<h2 id="interprtation-ne-explanation">Interprétation&nbsp;&ne; Explanation</h2>

6
Scratch/en/blog/04_drm/index.html

@ -61,7 +61,7 @@
<p style="text-align: center; font-size: 5em"><strong>WTF?</strong></p>
</div>
<p>Result, my wife would never buy any TV show on iTunes. She don&rsquo;t like DVD because it is not as easy to buy and to use than to simply download episodes.</p>
<p>Result, my wife would never buy any TV show on iTunes. She don&#8217;t like DVD because it is not as easy to buy and to use than to simply download episodes.</p>
<div class="encadre">
@ -69,8 +69,8 @@ Therefore far less money for you EVIL Copyrighter!!!!!
</div>
<p>My wife won&rsquo;t see these episodes.<br />
This is a <strong>&lsquo;LOSE-LOSE&rsquo;</strong> cooperation.</p>
<p>My wife won&#8217;t see these episodes.<br />
This is a <strong>&#8216;LOSE-LOSE&#8217;</strong> cooperation.</p>
</div>

4
Scratch/en/blog/06_How_I_use_git/index.html

@ -53,7 +53,7 @@
<p>I use <a href="http://www.git-scm.org/">Git</a> to manage my personnal projects.
I have a centralized repository which all my computer should synchronize with.
Unfortunately I didn&rsquo;t find clearly what I needed on the official Git documentation.</p>
Unfortunately I didn&#8217;t find clearly what I needed on the official Git documentation.</p>
<p>In two words, if you want to use an SVN workflow with Git (and all its advantages) here is how to proceed.</p>
@ -65,7 +65,7 @@ Unfortunately I didn&rsquo;t find clearly what I needed on the official Git docu
<h2 class="first" id="initialisation">Initialisation</h2>
<p>Suppose I&rsquo;ve got a directory on my local computer containing a project I want to manage via Git. Here what to do: </p>
<p>Suppose I&#8217;ve got a directory on my local computer containing a project I want to manage via Git. Here what to do: </p>
<div>

6
Scratch/en/blog/07_Screensaver_compilation_option_for_Snow_Leopard/index.html

@ -51,15 +51,15 @@
<div class="corps">
<h1 class="first" id="how-to-recompile-your-screensaver-to-be-snow-leopardc-compatible">How to recompile your screensaver to be Snow Leopard<small>&copy;</small> compatible</h1>
<p>I upgraded to Mac OS X 10.6 Snow Leopard<small>&copy;</small>, and my <a href="/YBlog/YClock.html">YClock</a> screensaver didn&rsquo;t work on it. After searching on google, the problem seems to be just a recompilation away.
Unfortunately, even recompiling it in 64 bit it didn&rsquo;t work either.
<p>I upgraded to Mac OS X 10.6 Snow Leopard<small>&copy;</small>, and my <a href="/YBlog/YClock.html">YClock</a> screensaver didn&#8217;t work on it. After searching on google, the problem seems to be just a recompilation away.
Unfortunately, even recompiling it in 64 bit it didn&#8217;t work either.
After a bit more research (thanks to <a href="http://community.electricsheep.org/node/236">ElectricSheep</a> ).</p>
<p>I discovered the good parameters for compilation.</p>
<img alt="XCode configuration" src="/Scratch/img/blog/07_Screensaver_compilation_option_for_Snow_Leopard/xcodeConfig.png" />
<p>For now I didn&rsquo;t compiled it to work also on Tiger and Leopard. I don&rsquo;t know XCode enought to know how to make the Garbage collector to be disabled on 32 bits version and enabled on 64 bits version.</p>
<p>For now I didn&#8217;t compiled it to work also on Tiger and Leopard. I don&#8217;t know XCode enought to know how to make the Garbage collector to be disabled on 32 bits version and enabled on 64 bits version.</p>
<p>It was a bit difficult to discover these informations. Hope this post helped someone.</p>

2
Scratch/en/blog/08_Configure_ssh_to_listen_the_port_443_on_Snow_Leopard/index.html

@ -70,7 +70,7 @@
<h1 id="ssh-and-snow-leopardc">Ssh and Snow Leopard<small>&copy;</small></h1>
<p>Here I don&rsquo;t want to talk about how great <span class="sc">socks</span> proxy via ssh tunneling is but how to configure my local server.</p>
<p>Here I don&#8217;t want to talk about how great <span class="sc">socks</span> proxy via ssh tunneling is but how to configure my local server.</p>
<p>I have Mac with Snow Leopard<small>&copy;</small> at home and it is far from enough to modify the <code>/etc/sshd.config</code> file. The system use <code>launchd</code> to launch starting daemons.</p>

4
Scratch/en/blog/10_Synchronize_Custom_WebSite_with_mobileMe/index.html

@ -78,13 +78,13 @@
<p>The idea are: </p>
<ul>
<li>synchronize to a temporary folder then swap the name therefore the website isn&rsquo;t accessible only during the swap time. It takes only the time of two rename.</li>
<li>synchronize to a temporary folder then swap the name therefore the website isn&#8217;t accessible only during the swap time. It takes only the time of two rename.</li>
<li>reiterate all operations until they work (for example, renaming).</li>
</ul>
<p>For now I use <code>rsync</code> which in fact is no more efficient than a simple <code>cp</code> with WebDav. And I should use a method to keep track of elements who have changed. before the publication.</p>
<p>In fact when I&rsquo;m on a Mac, I use <a href="http://www.panic.com/transmit">Transmit</a> which is very cool and far more efficient than the Finder to synchronize files. After the synchronization, I swap the directories.</p>
<p>In fact when I&#8217;m on a Mac, I use <a href="http://www.panic.com/transmit">Transmit</a> which is very cool and far more efficient than the Finder to synchronize files. After the synchronization, I swap the directories.</p>
<p>My script take a <code>-s</code> option in order to make only the swap option. It also take a <code>-a</code> in order to put the new <code>index.html</code> which should point to the new homepage (not the iWeb one).</p>

10
Scratch/en/blog/11_Load_Disqus_Asynchronously/index.html

@ -53,7 +53,7 @@
<p>In fact this method works for old threads. But it fails to create new post threads. This is why I tried and be conquered by <a href="http://intensedebate.com">intensedebate</a>, as you can see in the bottom of this page.</p>
<p>Remark I didn&rsquo;t have any comment on my blog when I switched. Therefore my lack of influence was a good thing&nbsp;:-).</p>
<p>Remark I didn&#8217;t have any comment on my blog when I switched. Therefore my lack of influence was a good thing&nbsp;:-).</p>
</div>
@ -67,7 +67,7 @@
<p>I also know there is a jQuery plugin to make just that. Unfortunately I had some issue with CSS.</p>
<p><em>Now let&rsquo;s begin.</em></p>
<p><em>Now let&#8217;s begin.</em></p>
</div>
@ -80,7 +80,7 @@
<p>Why should I want to load the disqus javascript asynchronously?</p>
<ul>
<li>Efficiency: I don&rsquo;t want my page to wait the complete execution of disqus script to load.</li>
<li>Efficiency: I don&#8217;t want my page to wait the complete execution of disqus script to load.</li>
<li>More independance: when disqus is down, my page is blocked!</li>
</ul>
@ -92,7 +92,7 @@
<h1 class="first" id="how">How?</h1>
<p>I give a solution with jQuery, but I&rsquo;m certain it will work with many other js library.</p>
<p>I give a solution with jQuery, but I&#8217;m certain it will work with many other js library.</p>
<h3 id="javascript">Javascript</h3>
@ -128,7 +128,7 @@ $(document).ready(function(){
<p>But with this option you still need to provide a CSS. This is why you have to copy the css code from the <code>embed.js</code> file and rewrite it in a CSS file. You can <a href="/Scratch/en/blog/11_Load_Disqus_Asynchronously/code/original_disqus.css">download the CSS</a> I obtained.</p>
<hr />
<p>Now it&rsquo;s done. I believe all should be fine but I just finished the manip for my own site only 1 hour ago. Therefore there should be some error, tell me if it is the case.</p>
<p>Now it&#8217;s done. I believe all should be fine but I just finished the manip for my own site only 1 hour ago. Therefore there should be some error, tell me if it is the case.</p>
</div>

8
Scratch/en/blog/2009-09-Disqus-versus-Intense-Debate--Why-I-switched-/index.html

@ -51,7 +51,7 @@
<div class="corps">
<h1 class="first" id="disqushttpdisquscom-vs-intense-debatehttpintensedebatecom"><a href="http://disqus.com/">Disqus</a> <em>vs.</em> <a href="http://intensedebate.com/">Intense Debate</a></h1>
<p>I made a blog entry about how I tried to integrate <a href="http://disqus.com">Disqus</a>. I had to wait Disqus comment to be displayed before loading correctly my page. This is why I tried to include it in a &ldquo;non-blocking&rdquo; way. Unfortunately, I had <a href="/Scratch/en/blog/11_Load_Disqus_Asynchronously/">difficulties to make it works correctly</a>. </p>
<p>I made a blog entry about how I tried to integrate <a href="http://disqus.com">Disqus</a>. I had to wait Disqus comment to be displayed before loading correctly my page. This is why I tried to include it in a &#8220;non-blocking&#8221; way. Unfortunately, I had <a href="/Scratch/en/blog/11_Load_Disqus_Asynchronously/">difficulties to make it works correctly</a>. </p>
<p>Furthermore, it was not trivial to make comment to be shared between multiple version of the same page (each page has three differents representations, one for each language and one more for the multi-language version).</p>
@ -59,7 +59,7 @@
<p>During the time I tried to integrate <a href="http://disqus.com/">Disqus</a> I never tried <a href="http://intensedebate.com">Intense Debate</a>. Now that I have tried, i must confess it does exactly what I needed. </p>
<p>In order to make it fully asynchronous, you&rsquo;ve just to download their common js and replace the following line:</p>
<p>In order to make it fully asynchronous, you&#8217;ve just to download their common js and replace the following line:</p>
<div>
@ -88,8 +88,8 @@
<p>To conclude, main advantages (for me) of <a href="http://intensedebate.com/">Intense Debate</a> over <a href="http://disqus.com/">Disqus</a>: </p>
<ul>
<li>Load Asynchronously&nbsp;; don&rsquo;t block my website</li>
<li>Add for free buttons like &ldquo;share to any&rdquo; and load them <strong>asynchronously</strong>.</li>
<li>Load Asynchronously&nbsp;; don&#8217;t block my website</li>
<li>Add for free buttons like &#8220;share to any&#8221; and load them <strong>asynchronously</strong>.</li>
</ul>
<p>Voilà.</p>

46
Scratch/en/blog/2009-09-jQuery-Tag-Cloud/index.html

File diff suppressed because one or more lines are too long

2
Scratch/en/blog/2009-09-replace-all-except-some-part/index.html

@ -51,7 +51,7 @@
<div class="corps">
<p>My problem is simple:</p>
<p>I want to filter a text except some part of it. I can match easily the part I don&rsquo;t want to be filtered. For example</p>
<p>I want to filter a text except some part of it. I can match easily the part I don&#8217;t want to be filtered. For example</p>
<div>

10
Scratch/en/blog/2009-10-28-custom-website-synchronisation-with-mobileme--2-/index.html

@ -53,7 +53,7 @@
<p>Here is my new script, it first create a map which associate to each file its hash. After that it compare this file to the remote one. Then for each different file, update the content.</p>
<p>Even with this script I also have some problem. Mostly due to &lsquo;webdav&rsquo; issues. For example, renaming a folder work really badly (on Linux at least). I use webdavfs. For example:</p>
<p>Even with this script I also have some problem. Mostly due to &#8216;webdav&#8217; issues. For example, renaming a folder work really badly (on Linux at least). I use webdavfs. For example:</p>
<div>
@ -62,7 +62,7 @@
</div>
<p>It returns OK and I&rsquo;ve got: </p>
<p>It returns OK and I&#8217;ve got: </p>
<div>
@ -72,9 +72,9 @@ folder folder2
</div>
<p>Booh&hellip;.</p>
<p>Booh&#8230;.</p>
<p>In order to handle most webdav issues I use a <em>framework</em> in zsh. It handle almost all except the correct renaming of folder. Working on it&hellip; Anyway here is the code I use.</p>
<p>In order to handle most webdav issues I use a <em>framework</em> in zsh. It handle almost all except the correct renaming of folder. Working on it&#8230; Anyway here is the code I use.</p>
<div><div class="codefile"><a href="/Scratch/en/blog/2009-10-28-custom-website-synchronisation-with-mobileme--2-/code/webdav-framework">&#x27A5; webdav-framework</a></div>
@ -319,7 +319,7 @@ fi
</div>
<p>This is my way to replace <code>rsync</code> with filesystem not handling it.
Hope it is usefull. I&rsquo;ll be happy to hear a way to handle the webdav rename folder problem. This is really annoying.</p>
Hope it is usefull. I&#8217;ll be happy to hear a way to handle the webdav rename folder problem. This is really annoying.</p>
</div>

2
Scratch/en/blog/2009-10-30-How-to-handle-evil-IE/index.html

@ -87,7 +87,7 @@ $('body').prepend('&lt;div id="iemessage"&gt;&lt;p&gt;&lt;span class="fr"&gt;&lt
</div>
<p>That&rsquo;s it.</p>
<p>That&#8217;s it.</p>
</div>

4
Scratch/en/blog/2009-10-Focus-vs-Minimalism/index.html

@ -49,9 +49,9 @@
<div class="flush"></div>
<div id="afterheader">
<div class="corps">
<p>I believe the goal researched by minimalism is <strong>Focus</strong>. But I don&rsquo;t believe minimalism should be the goal. Focus should be the goal, and I believe minimalism isn&rsquo;t necessary to reach it.</p>
<p>I believe the goal researched by minimalism is <strong>Focus</strong>. But I don&#8217;t believe minimalism should be the goal. Focus should be the goal, and I believe minimalism isn&#8217;t necessary to reach it.</p>
<p>This is why my design is not minimalist, but I decided to remove most of the navigation stuff of all pages of my website. May be I&rsquo;ll prefer to hide the menu only when you are on blog article. For now, I hide the menu everywhere on the website.</p>
<p>This is why my design is not minimalist, but I decided to remove most of the navigation stuff of all pages of my website. May be I&#8217;ll prefer to hide the menu only when you are on blog article. For now, I hide the menu everywhere on the website.</p>
</div>

2
Scratch/en/blog/2009-10-How-to-preload-your-site-with-style/index.html

@ -74,7 +74,7 @@
</script>
</div>
<p>I first tried to integrate <a href="http://www.gayadesign.com/diy/queryloader-preload-your-website-in-style/">queryLoader</a>, but it didn&rsquo;t fill my needs.</p>
<p>I first tried to integrate <a href="http://www.gayadesign.com/diy/queryloader-preload-your-website-in-style/">queryLoader</a>, but it didn&#8217;t fill my needs.</p>
<p>The plugin add a black div to hide all the content. But as the script had to be launched at the end of the source code my website show for a small time.</p>

2
Scratch/en/blog/2009-10-Wait-to-hide-a-menu-in-jQuery/index.html

@ -139,7 +139,7 @@ function showMenu() {
</div>
<p>Simple and lightweight. No timer (almost), no memory leak, no Date&hellip;</p>
<p>Simple and lightweight. No timer (almost), no memory leak, no Date&#8230;</p>
</div>

2
Scratch/en/blog/2009-10-launch-daemon-from-command-line/index.html

@ -49,7 +49,7 @@
<div class="flush"></div>
<div id="afterheader">
<div class="corps">
<p>Here is a tip, I don&rsquo;t know why, but I almost always forgot how to do that.</p>
<p>Here is a tip, I don&#8217;t know why, but I almost always forgot how to do that.</p>
<p>When you want to launch a command and this command should not be killed after you close your terminal. Here is how to accomplish that from command line: </p>

34
Scratch/en/blog/2009-10-untaught-git-usage/index.html

@ -49,9 +49,9 @@
<div class="flush"></div>
<div id="afterheader">
<div class="corps">
<p><small> <em>I explain why I had so much difficulties to use Git. There is an &ldquo;untaught rule&rdquo; that make hard to work without. Until I read the good document. </em></small></p>
<p><small> <em>I explain why I had so much difficulties to use Git. There is an &#8220;untaught rule&#8221; that make hard to work without. Until I read the good document. </em></small></p>
<p><small> <em> &ldquo;Cheap branches&rdquo; aren&rsquo;t designed to be totally isolated branches but rather should follow a &ldquo;Master Branch&rdquo;. There is a </em>Standard Workflow<em> to follow. If you don&rsquo;t follow it, you prepare yourself with some hard time with Git.</em> </small></p>
<p><small> <em> &#8220;Cheap branches&#8221; aren&#8217;t designed to be totally isolated branches but rather should follow a &#8220;Master Branch&#8221;. There is a </em>Standard Workflow<em> to follow. If you don&#8217;t follow it, you prepare yourself with some hard time with Git.</em> </small></p>
</div>
@ -86,17 +86,17 @@
<p>After some times, reading on many blogs, I realize Git is far more popular and by influent people. </p>
<p>I then decide to use Git in particular to <em>version</em> this current website.
But after trying it, I found it difficult and couter intuitive (I&rsquo;ll speak a work about it later).</p>
But after trying it, I found it difficult and couter intuitive (I&#8217;ll speak a work about it later).</p>
<p>After calling for some help, when I say Bazaar is much simpler to learn, some people answer me that Git:</p>
<blockquote>
<p>&mdash; <em>SO-MUCH-EASY my 12 year old daughter uses it to version its school documents. She has no difficulties at all, creating branches, blah, blah, blah&hellip;</em></p>
<p>&mdash; <em>SO-MUCH-EASY my 12 year old daughter uses it to version its school documents. She has no difficulties at all, creating branches, blah, blah, blah&#8230;</em></p>
</blockquote>
<p>If a 12 years old girl has no problem with Git and I (with my Computer Science Ph.D.) have difficulties to uses it like I want, it is frustrating and humiliating. But what makes Git natural for some people and confusing for me? </p>
<p>I finally understood why reading a document I didn&rsquo;t read before. It was the <em>untaught</em> part of the conception. The part every developer found so <em>natural</em> it is not necessary to say a word about it. But it was not <em>natural</em> for me.</p>
<p>I finally understood why reading a document I didn&#8217;t read before. It was the <em>untaught</em> part of the conception. The part every developer found so <em>natural</em> it is not necessary to say a word about it. But it was not <em>natural</em> for me.</p>
<p><small><a name="note1">&dagger;</a> - I speak about <em>ClearCase<small>&copy;</small></em>. I know there exists command line tools. But it was not the way my team used it.</small></p>
@ -108,7 +108,7 @@ But after trying it, I found it difficult and couter intuitive (I&rsquo;ll speak
<div class="corps">
<p>When you see explanation about <em>branches</em> and <abbr title="Decentralized Concurrent Versioning System">DCVS</abbr> we imagine each branch is totally uncorrelated to each other, except when <em>merging</em>. Everything is magic. This is the &ldquo;<em>Parallel World</em>&rdquo; explanation. This way of seeing is explained more in depth in the <a href="http://betterexplained.com/articles/a-visual-guide-to-version-control/">real good article about branches</a> on betterexplained. </p>
<p>When you see explanation about <em>branches</em> and <abbr title="Decentralized Concurrent Versioning System">DCVS</abbr> we imagine each branch is totally uncorrelated to each other, except when <em>merging</em>. Everything is magic. This is the &#8220;<em>Parallel World</em>&#8221; explanation. This way of seeing is explained more in depth in the <a href="http://betterexplained.com/articles/a-visual-guide-to-version-control/">real good article about branches</a> on betterexplained. </p>
<p>Git was designed to manage the Linux Kernel. Git was designed using the concept of <em>Patch</em> instead of <em>Parallel Worlds</em>.</p>
@ -123,7 +123,7 @@ But after trying it, I found it difficult and couter intuitive (I&rsquo;ll speak
<h2 id="from-theory-to-real-life-usage">From Theory to Real Life Usage</h2>
<p>I believe I understood conceptual mechanism under Git. But I had some difficulties with real usage. The worst point, the one I didn&rsquo;t get before long was because I didn&rsquo;t get really well the notion of <em>Cheap Branching</em>.</p>
<p>I believe I understood conceptual mechanism under Git. But I had some difficulties with real usage. The worst point, the one I didn&#8217;t get before long was because I didn&#8217;t get really well the notion of <em>Cheap Branching</em>.</p>
<p>What is a <em>Cheap Branch</em>? If like me you come from Bazaar, it is a totally new notion. It is in fact the ability to create a branches all of them using the same directory.</p>
@ -131,10 +131,10 @@ But after trying it, I found it difficult and couter intuitive (I&rsquo;ll speak
<p>In theory, <em>Cheap Branches</em> are exactly like Bazaar branches. The word used is <em>Branch</em> and not <em>Cheap Branch</em>. But there is a slight difference between them. A slight difference between a <em>Cloned Branch</em> and a <em>Cheap Branch</em>.</p>
<p>A &ldquo;Standard branch&rdquo; is what is theoretically a kind of new <em>Parallel World</em>.
<p>A &#8220;Standard branch&#8221; is what is theoretically a kind of new <em>Parallel World</em>.
But <em>Cheap branch</em> was designed to be future <em>Patch</em> for the main branch of the directory/Cloned branch.</p>
<p>Of course, I know anybody can state you can totally use <em>Cheap branches</em> as <em>Cloned branches</em>. But they weren&rsquo;t designed for that. On daily usage, it is a bit uneasy to use it like this.</p>
<p>Of course, I know anybody can state you can totally use <em>Cheap branches</em> as <em>Cloned branches</em>. But they weren&#8217;t designed for that. On daily usage, it is a bit uneasy to use it like this.</p>
<p>Here how Git <em>cheap branches</em> should be used (for more details see <a href="http://hoth.entp.com/output/git_for_designers.html">Git for Designers</a>):</p>
@ -143,11 +143,11 @@ But <em>Cheap branch</em> was designed to be future <em>Patch</em> for the main
<li>creation of a <em>Cheap branch</em> containing differences which <strong>have</strong> to be patched somewhere in the future into <strong><span class="sc">The Great Repository</span></strong></li>
</ul>
<p>Here&rsquo;s how you should <strong>not</strong> use Git:</p>
<p>Here&#8217;s how you should <strong>not</strong> use Git:</p>
<ul>
<li>Get or creation of a repository</li>
<li>Create a <em>cheap branch</em> which will never push it&rsquo;s modification to the main repository.</li>
<li>Create a <em>cheap branch</em> which will never push it&#8217;s modification to the main repository.</li>
</ul>
<p>This simple minor difference of point of view confused me a lot.</p>
@ -260,9 +260,9 @@ With Bazaar it is:</p>
</ul>
</blockquote>
<p>That were the Git bad side. But It has many advantages. Once you&rsquo;ve understood the <em>cheap branching</em> paradigm. All became clearer for me after. Even if there is also some difficulties with the edit of the <code>.git/config</code> files (not user friendly at all).</p>
<p>That were the Git bad side. But It has many advantages. Once you&#8217;ve understood the <em>cheap branching</em> paradigm. All became clearer for me after. Even if there is also some difficulties with the edit of the <code>.git/config</code> files (not user friendly at all).</p>
<p><small><a name="note3">&Dagger;</a> I must precise that I worked a lot with multi-modal logic and particularly about &ldquo;Temporal Logics&rdquo; (linear or not). This is why I was more inclined to see things this way. &ldquo;Ah&nbsp;! Just to remember my firsts love with computer science&nbsp;!&rdquo;</small></p>
<p><small><a name="note3">&Dagger;</a> I must precise that I worked a lot with multi-modal logic and particularly about &#8220;Temporal Logics&#8221; (linear or not). This is why I was more inclined to see things this way. &#8220;Ah&nbsp;! Just to remember my firsts love with computer science&nbsp;!&#8221;</small></p>
</div>
@ -279,15 +279,15 @@ Such as working on a fix on a totally isolated branches.</p>
<h3 id="is-git-better-than-bazaar">Is Git better than Bazaar?</h3>
<p>Speaking about <em>features</em> I&rsquo;ll tell Git is the best.
But Git was too much in my way. Is was exactly what I didn&rsquo;t want for my first DCVS.</p>
<p>Speaking about <em>features</em> I&#8217;ll tell Git is the best.
But Git was too much in my way. Is was exactly what I didn&#8217;t want for my first DCVS.</p>
<p>I shouldn&rsquo;t have had those difficulties about understanding <em>cheap branching which must be a patch</em>. In reality, Git make a difference between the Tree and the Branch. Which is obviously not the case for Bazaar. Conceptually, bazaar is simpler to understand.</p>
<p>I shouldn&#8217;t have had those difficulties about understanding <em>cheap branching which must be a patch</em>. In reality, Git make a difference between the Tree and the Branch. Which is obviously not the case for Bazaar. Conceptually, bazaar is simpler to understand.</p>
<h3 id="finally">Finally</h3>
<p>In conclusion, I use Git more often than Bazaar and I must say, that I have some preferences for Git. However, Git lack hardly clear commands name like <code>revert</code>.
For now I don&rsquo;t made alias to correct that. But may be one day I should do that.</p>
For now I don&#8217;t made alias to correct that. But may be one day I should do that.</p>
</div>

24
Scratch/en/blog/2009-11-12-Git-for-n00b/Git-pour-quoi-faire/index.html

@ -65,14 +65,14 @@
</div>
<p><a href="http://git-scm.org" title="Git">Git</a> is a <abbr title="Decentralized Concurent Versions System">DCVS</abbr>, which means a Decentralized Concurrent Versions System. Let&rsquo;s analyze each part of this long term:</p>
<p><a href="http://git-scm.org" title="Git">Git</a> is a <abbr title="Decentralized Concurent Versions System">DCVS</abbr>, which means a Decentralized Concurrent Versions System. Let&#8217;s analyze each part of this long term:</p>
<h3 id="versions-system">Versions System</h3>
<p>Firstly, versions system manage files.
When somebody work with files without a versions system, the following happens frequently:</p>
<p>When you modify a somehow critical file you don&rsquo;t want to loose. You copy naturally this file with another name. For example:</p>
<p>When you modify a somehow critical file you don&#8217;t want to loose. You copy naturally this file with another name. For example:</p>
<div>
@ -81,7 +81,7 @@ When somebody work with files without a versions system, the following happens f
</div>
<p>In consequence of what, the new file, play the role of <em>backup</em>. If you break everything, you can always return in the last state by overwriting your modifications.
Of course, this method is not very professional and is a bit limited. If you make many modifications, you&rsquo;ll end with many files with strange names like:</p>
Of course, this method is not very professional and is a bit limited. If you make many modifications, you&#8217;ll end with many files with strange names like:</p>
<div>
@ -98,7 +98,7 @@ old.fichier_important.c
</div>
<p>If you want to make it works correctly, you&rsquo;ll have to use naming convention. Files take many place even if you modify most of time only some lines.</p>
<p>If you want to make it works correctly, you&#8217;ll have to use naming convention. Files take many place even if you modify most of time only some lines.</p>
<p><em>Fortunately, versions system are here to help.</em></p>
@ -106,13 +106,13 @@ old.fichier_important.c
<p>Once upon a time versions were managed for each file separately. I think about CVS. Then it naturally appears projects are a coherent set of files. Recover each file separately was a tedious work. This is why versions number passed from files to the entire project.</p>
<p>It is therefore possible to say, &ldquo;I want to get back three days earlier&rdquo;.</p>
<p>It is therefore possible to say, &#8220;I want to get back three days earlier&#8221;.</p>
<div class="black">
<p><em>What gives versions system?</em> (I didn&rsquo;t mention everything at all)</p>
<p><em>What gives versions system?</em> (I didn&#8217;t mention everything at all)</p>
<ul>
<li>automatic backups: <em>back in time</em>,</li>
@ -129,7 +129,7 @@ old.fichier_important.c
<p>Version Systems are already useful to manage its own projects. They help to organize and resolve partially backup problems. I say partially because you have to backup your repository on a decent file system. But versions system are really interesting is on projects done by many people.</p>
<p>Let&rsquo;s begin by an example, a two person project&nbsp;; Alex and Beatrice. On a file containing a <em>Lovecraft</em>&rsquo;s gods list:</p>
<p>Let&#8217;s begin by an example, a two person project&nbsp;; Alex and Beatrice. On a file containing a <em>Lovecraft</em>&#8217;s gods list:</p>
<div style="width: 10em; margin-left: auto; margin-right: auto">
@ -191,7 +191,7 @@ Yogsototh
<ul>
<li>get without any problem others modifications,</li>
<li>send without any problem its own modifications to others,</li>
<li>manage conflicts. I didn&rsquo;t speak about it, but sometimes a conflict can occur (when two different people modify the same line on a file for example). SVC help to resolve such problem. More on that later,</li>
<li>manage conflicts. I didn&#8217;t speak about it, but sometimes a conflict can occur (when two different people modify the same line on a file for example). SVC help to resolve such problem. More on that later,</li>
<li>help to know who done what and when.</li>
</ul>
@ -203,7 +203,7 @@ Yogsototh
<p>This word became popular only recently about CVS. And it mainly means two things:</p>
<p>First, until really recently (SVN), you&rsquo;ll have to be connected to the distant server to get informations about a project. Like get the history. New decentralized systems work with a local <em>REPOSITORY</em> (directory containing backups and many informations linked to the versions system functionalities). Hence, one can view the history of a project without the need of being connected.</p>
<p>First, until really recently (SVN), you&#8217;ll have to be connected to the distant server to get informations about a project. Like get the history. New decentralized systems work with a local <em>REPOSITORY</em> (directory containing backups and many informations linked to the versions system functionalities). Hence, one can view the history of a project without the need of being connected.</p>
<p>All instances of a project can live <em>independently</em>.</p>
@ -216,7 +216,7 @@ Yogsototh
<p>Typical example:</p>
<blockquote>
<p>I develop my project. I&rsquo;m ameliorating something. An urgent bug is reported.</p>
<p>I develop my project. I&#8217;m ameliorating something. An urgent bug is reported.</p>
<p>With a DCVS I can easily, get back to the version with the bug. Fix it. Send the fix. Get back to my feature work. And even, use the fix for the new version with my new feature.</p>
@ -241,7 +241,7 @@ Yogsototh
<h2 id="to-resume">To resume</h2>
<p>Let&rsquo;s resume what we can easily do with DCVS:</p>
<p>Let&#8217;s resume what we can easily do with DCVS:</p>
<p><strong>Versions Systems</strong></p>
@ -267,7 +267,7 @@ Yogsototh
<li>Easily manipulate branches</li>
</ul>
<p>Now let&rsquo;s see how to obtain all these things easily with <a href="http://git-scm.org" title="Git">Git</a>.</p>
<p>Now let&#8217;s see how to obtain all these things easily with <a href="http://git-scm.org" title="Git">Git</a>.</p>
</div>

22
Scratch/en/blog/2009-11-12-Git-for-n00b/c-est-parti-pour-l-aventure/index.html

@ -62,15 +62,15 @@
<p>Work with <a href="http://git-scm.org" title="Git">Git</a> immediately:</p>
<ul>
<li>Get modification done by others <span class="black"><code>git pull</code></span>,</li>
<li>See details of these modifications <span class="black"><code>git log</code></span>,</li>
<li>Get modification done by others <code>git pull</code>,</li>
<li>See details of these modifications <code>git log</code>,</li>
<li>Many times:
<ul>
<li><em>Make an atomic modification</em></li>
<li>Verify details of this modification: <span class="black"><code>git status</code></span> and <span class="black"><code>git diff</code></span>,</li>
<li>Add some file to be versionned if necessary:<br /><span class="black"><code>git add [file]</code></span>,</li>
<li>Save you modifications <br /><span class="black"><code>git commit -a -m "message"</code></span>,</li>
<li>Send your modifications to others: <span class="black"><code>git push</code></span> (redo a <code>git pull</code> if push return an error).</li>
<li>Verify details of this modification: <code>git status</code> and <code>git diff</code>,</li>
<li>Add some file to be versionned if necessary:<br /><code>git add [file]</code>,</li>
<li>Save you modifications <br /><code>git commit -a -m "message"</code>,</li>
<li>Send your modifications to others: <code>git push</code> (redo a <code>git pull</code> if push return an error).</li>
</ul>
</li>
</ul>
@ -79,7 +79,7 @@
<h3 id="conflicts-management">Conflicts management</h3>
<p>Conflicts can arise when you change the same line of code on the same file from another branch you&rsquo;re merging. It can seems a bit intimidating, but with <a href="http://git-scm.org" title="Git">Git</a> this kind of thing is really simple to handle.</p>
<p>Conflicts can arise when you change the same line of code on the same file from another branch you&#8217;re merging. It can seems a bit intimidating, but with <a href="http://git-scm.org" title="Git">Git</a> this kind of thing is really simple to handle.</p>
<h4 id="example">example</h4>
@ -119,7 +119,7 @@ Zoot<span class="StringConstant"><strong>, just Zoot</strong></span>
remote: Counting objects: 5, done.
remote: Total 3 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
From /home/e640846/tmp/conflictTest
From /home/yogsototh/tmp/conflictTest
d3ea395..2dc7ffb master -&gt; origin/master
Auto-merging foo
CONFLICT (content): Merge conflict in foo
@ -162,8 +162,8 @@ Zoot <span class="Constant"><strong>the not so pure</strong></span>
</div>
<p>Now you&rsquo;re ready to use <a href="http://git-scm.org" title="Git">Git</a>.
<a href="http://git-scm.org" title="Git">Git</a> provide many other functionnalities. Now we&rsquo;ll see some <a href="http://git-scm.org" title="Git">Git</a> usages older CVS couldn&rsquo;t handle.</p>
<p>Now you&#8217;re ready to use <a href="http://git-scm.org" title="Git">Git</a>.
<a href="http://git-scm.org" title="Git">Git</a> provide many other functionnalities. Now we&#8217;ll see some <a href="http://git-scm.org" title="Git">Git</a> usages older CVS couldn&#8217;t handle.</p>
</div>
@ -279,7 +279,7 @@ Zoot <span class="Constant"><strong>the not so pure</strong></span>
</div>
<div id="lastmod">
Created: 11/12/2009
Modified: 05/09/2010
Modified: 02/07/2013
</div>
<div>
Entirely done with

4
Scratch/en/blog/2009-11-12-Git-for-n00b/comprendre/index.html

@ -65,9 +65,9 @@
<p>All was done to code and decide how to organize your versions after. In other VCS it is not as natural as in <a href="http://git-scm.org" title="Git">Git</a>.</p>
<p>With <a href="http://git-scm.org" title="Git">Git</a> you can depend of many different sources. Then, there is not necessarily a &lsquo;master&rsquo; repository where everybody puts its modifications.</p>
<p>With <a href="http://git-scm.org" title="Git">Git</a> you can depend of many different sources. Then, there is not necessarily a &#8216;master&#8217; repository where everybody puts its modifications.</p>
<p>What changes the most with <a href="http://git-scm.org" title="Git">Git</a> when you come from SVN, it&rsquo;s the idea of a centralized project on one server. With <a href="http://git-scm.org" title="Git">Git</a> many people could work on the same project but not necessarily on the same <em>repository</em> as main reference. One can easily fix a bug and send a patch to many different versions of a project.</p>
<p>What changes the most with <a href="http://git-scm.org" title="Git">Git</a> when you come from SVN, it&#8217;s the idea of a centralized project on one server. With <a href="http://git-scm.org" title="Git">Git</a> many people could work on the same project but not necessarily on the same <em>repository</em> as main reference. One can easily fix a bug and send a patch to many different versions of a project.</p>
</div>

6
Scratch/en/blog/2009-11-12-Git-for-n00b/conf-et-install/index.html

@ -136,7 +136,7 @@ $ git clone git://main.server/path/to/file
</div>
<p>If there is no git server but you&rsquo;ve got an <code>ssh</code> access. Just replace the <code>git://host</code> by <code>ssh://user@host</code>. In order not to type your password each time, use:</p>
<p>If there is no git server but you&#8217;ve got an <code>ssh</code> access. Just replace the <code>git://host</code> by <code>ssh://user@host</code>. In order not to type your password each time, use:</p>
<div>
@ -169,7 +169,7 @@ me@main.server$ logout
</div>
<p>Now you don&rsquo;t need to write your password to access the <code>main.server</code>.</p>
<p>Now you don&#8217;t need to write your password to access the <code>main.server</code>.</p>
<h2 id="creating-a-new-project">Creating a new project</h2>
@ -185,7 +185,7 @@ $ git commit -m "Initial commit"
</div>
<p>Let do a small remark. If you don&rsquo;t want to <em>version</em> every file. Typically intermediate compilation file, swap files&hellip; Then you need to exclude them. Just before launching the <code>git add .</code> command. You need to create a <code>.gitignore</code> file in the root directory of your project. This file will contain all exclude <em>pattern</em>. For example:</p>
<p>Let do a small remark. If you don&#8217;t want to <em>version</em> every file. Typically intermediate compilation file, swap files&#8230; Then you need to exclude them. Just before launching the <code>git add .</code> command. You need to create a <code>.gitignore</code> file in the root directory of your project. This file will contain all exclude <em>pattern</em>. For example:</p>
<div>

4
Scratch/en/blog/2009-11-12-Git-for-n00b/index.html

@ -57,7 +57,7 @@
<div class="intro">
<p>A detailed tutorial of <a href="http://git-scm.org">Git</a> for people knowing very few about versions systems. You&rsquo;ll understand utility of such program and how we use modern version control system. I try to stay as pragmatic as possible.</p>
<p>A detailed tutorial of <a href="http://git-scm.org">Git</a> for people knowing very few about versions systems. You&#8217;ll understand utility of such program and how we use modern version control system. I try to stay as pragmatic as possible.</p>
</div>
@ -111,7 +111,7 @@ git push
</div>
<p>This article is written for people knowing very few about versionning systems. It is also written for those who had didn&rsquo;t followed progress since CVS or subversion (SVN). This is why, in a first time I&rsquo;ll explain quickly which are the goal of such systems. Secondly, I&rsquo;ll explain how to install and configure <a href="http://git-scm.org" title="Git">Git</a>. Then, I give the command for each feature a <abbr title="Decentralized Concurent Versions System">DCVS</abbr> must have.</p>
<p>This article is written for people knowing very few about versionning systems. It is also written for those who had didn&#8217;t followed progress since CVS or subversion (SVN). This is why, in a first time I&#8217;ll explain quickly which are the goal of such systems. Secondly, I&#8217;ll explain how to install and configure <a href="http://git-scm.org" title="Git">Git</a>. Then, I give the command for each feature a <abbr title="Decentralized Concurent Versions System">DCVS</abbr> must have.</p>
</div>

2
Scratch/en/blog/2009-12-06-iphone-call-filter/index.html

@ -51,7 +51,7 @@
<div class="corps">
<p>It is unbelievable you cannot filter your call with an iPhone! The only reason I see for that is a negotiation with phone operator to force users to get phone advertising. It is simple unacceptable.</p>
<p>I&rsquo;m a λ iPhone&rsquo;s user. The only way to filter your call and to manage blacklist is to <em>jailbreak</em> your iPhone. And I don&rsquo;t want to do that. Then, if like me you find it unacceptable, just write a line to Apple: <a href="http://www.apple.com/feedback/iphone.html">http://www.apple.com/feedback/iphone.html</a></p>
<p>I&#8217;m a λ iPhone&#8217;s user. The only way to filter your call and to manage blacklist is to <em>jailbreak</em> your iPhone. And I don&#8217;t want to do that. Then, if like me you find it unacceptable, just write a line to Apple: <a href="http://www.apple.com/feedback/iphone.html">http://www.apple.com/feedback/iphone.html</a></p>
</div>

12
Scratch/en/blog/2009-12-14-Git-vs--Bzr/index.html

@ -57,7 +57,7 @@
<div class="intro">
<p>Why even if I believe <code>git</code> has many bad point I believe it is the best DCVS around to work with. This is why I first tell why I prefer <a href="http://bazaar-vcs.org">Bazaar</a> over <a href="http://git-scm.org">Git</a>. Secondly I&rsquo;ll talk about the only advantage of git against Bazaar which lead me to prefer it.</p>
<p>Why even if I believe <code>git</code> has many bad point I believe it is the best DCVS around to work with. This is why I first tell why I prefer <a href="http://bazaar-vcs.org">Bazaar</a> over <a href="http://git-scm.org">Git</a>. Secondly I&#8217;ll talk about the only advantage of git against Bazaar which lead me to prefer it.</p>
</div>
@ -69,7 +69,7 @@
<p>There is two way of perceive version control system. Either you think in term of branches (see the really good article on <a href="http://betterexplained.com/articles/a-visual-guide-to-version-control/">betterexplained</a>) or think in term of patches. Another way to say that, is weather you concentrate on vertices or on transitions of the graph of possible states of your project.</p>
<p>This is the second approach who was behind <code>git</code> and this is the first behind Bazaar. <code>git</code> was created by Linus Torvald in order to close some gap in the version system used to develop the Linux kernel. And patches is a term which is more present than &lsquo;state&rsquo; in the development community.</p>
<p>This is the second approach who was behind <code>git</code> and this is the first behind Bazaar. <code>git</code> was created by Linus Torvald in order to close some gap in the version system used to develop the Linux kernel. And patches is a term which is more present than &#8216;state&#8217; in the development community.</p>
<p>I first was convinced by Bazaar. Why? Argument in favor of Bazaar were: user friendly, terminology close to the subversion one. And I tried a bit the two, and it was clearly more natural for me to use Bazaar. But after seeing so many people using <code>git</code> I decided to give it a serious try.</p>
@ -106,11 +106,11 @@
</div>
<p>Yes, hum&hellip;</p>
<p>Yes, hum&#8230;</p>
<p>It works, but it is clearly not really user friendly. Furthermore, checkout had a complete different signification in older CSV like <code>cvs</code> et <code>svn</code>. <code>checkout</code> was used to get a distant project locally.</p>
<p>Bazaar terminology is far more natural, because there is no command to change the current branch as there is only one branch per directory. Changing a branch in Bazaar is changing the current directory. I also believe it is the biggest problem of Bazaar, I&rsquo;ll tell you why. And to undo things in Bazaar:</p>
<p>Bazaar terminology is far more natural, because there is no command to change the current branch as there is only one branch per directory. Changing a branch in Bazaar is changing the current directory. I also believe it is the biggest problem of Bazaar, I&#8217;ll tell you why. And to undo things in Bazaar:</p>
<div>
@ -184,7 +184,7 @@ git commit -m "reverted 3 versions back"
<p>The rule is simple: <em>NEVER use the <code>git reset</code> command on a version somebody else could have <code>fetched</code></em></p>
<p>It was said. Discover the best method took me some time. I&rsquo;d made many different tries. The safer and best way of reverting back your tree is to use this method. If you want to make it automatic just had the following alias in your <code>~/.gitconfig</code>. Of course this alias will work only on environment having <code>zsh</code> installed. Which is the cas for most UNIX (Ubuntu, Mac OS X&hellip;).</p>
<p>It was said. Discover the best method took me some time. I&#8217;d made many different tries. The safer and best way of reverting back your tree is to use this method. If you want to make it automatic just had the following alias in your <code>~/.gitconfig</code>. Of course this alias will work only on environment having <code>zsh</code> installed. Which is the cas for most UNIX (Ubuntu, Mac OS X&#8230;).</p>
<div><div class="codefile"><a href="/Scratch/en/blog/2009-12-14-Git-vs--Bzr/code/gitconfig">&#x27A5; gitconfig</a></div>
@ -197,7 +197,7 @@ git commit -m "reverted 3 versions back"
<h1 id="what-make-git-by-far-the-best-dcvs-today">What make <code>git</code> by far the best DCVS today</h1>
<p>After talking about the negatives points of <code>git</code>, now it&rsquo;s time to speak about the very positive feature that make <code>git</code> the best DCVS in my humble opinion.</p>
<p>After talking about the negatives points of <code>git</code>, now it&#8217;s time to speak about the very positive feature that make <code>git</code> the best DCVS in my humble opinion.</p>
<h2 id="cheap-branching">Cheap branching</h2>

2
Scratch/en/blog/2010-02-15-All-but-something-regexp/index.html

@ -64,7 +64,7 @@
But, there exists a major problem: the complementary of a regular language might not be regular.
Then, for some expression it is absolutely impossible to negate a regular expression.</p>
<p>But sometimes with some simple regular expression it should be possible<sup><a href="#note1">&dagger;</a></sup>. Say you want to match everything containing the some word say <code>bull</code> but don&rsquo;t want to match <code>bullshit</code>. Here is a nice way to do that:</p>
<p>But sometimes with some simple regular expression it should be possible<sup><a href="#note1">&dagger;</a></sup>. Say you want to match everything containing the some word say <code>bull</code> but don&#8217;t want to match <code>bullshit</code>. Here is a nice way to do that:</p>
<div>

4
Scratch/en/blog/2010-02-16-All-but-something-regexp--2-/index.html

@ -49,7 +49,7 @@
<div class="flush"></div>
<div id="afterheader">
<div class="corps">
<p>In my <a href="previouspost">previous post</a> I had given some trick to match all except something. On the same idea, the trick to match the smallest possible string. Say you want to match the string between &lsquo;a&rsquo; and &lsquo;b&rsquo;, for example, you want to match:</p>
<p>In my <a href="previouspost">previous post</a> I had given some trick to match all except something. On the same idea, the trick to match the smallest possible string. Say you want to match the string between &#8216;a&#8217; and &#8216;b&#8217;, for example, you want to match:</p>
<pre class="twilight">
a.....<span class="Constant"><strong>a......b</strong></span>..b..a....<span class="Constant"><strong>a....b</strong></span>...
@ -70,7 +70,7 @@ a.....<span class="Constant"><strong>a......b</strong></span>..b..a....<span cla
</pre>
<p>The next natural way, is to change the <em>greediness</em>. But it is not enough as you will match from the first <code>a</code> to the first <code>b</code>.
Then a simple constatation is that our matching string shouldn&rsquo;t contain any <code>a</code> nor <code>b</code>. Which lead to the last elegant solution.</p>
Then a simple constatation is that our matching string shouldn&#8217;t contain any <code>a</code> nor <code>b</code>. Which lead to the last elegant solution.</p>
<pre class="twilight">
/a[^ab]*b/

2
Scratch/en/blog/2010-02-18-split-a-file-by-keyword/index.html

@ -49,7 +49,7 @@
<div class="flush"></div>
<div id="afterheader">
<div class="corps">
<p>Strangely enough, I didn&rsquo;t find any built-in tool to split a file by keyword. I made one myself in <code>awk</code>. I put it here mostly for myself. But it could also helps someone else.
<p>Strangely enough, I didn&#8217;t find any built-in tool to split a file by keyword. I made one myself in <code>awk</code>. I put it here mostly for myself. But it could also helps someone else.
The following code split a file for each line containing the word <code>UTC</code>.</p>
<div>

2
Scratch/en/blog/2010-03-22-Git-Tips/index.html

@ -73,7 +73,7 @@
<p><code>git clone</code> can only fetch the master branch.</p>
<p>If you don&rsquo;t have much branches, you can simply use clone your project and then use the following command:</p>
<p>If you don&#8217;t have much branches, you can simply use clone your project and then use the following command:</p>
<div>

10
Scratch/en/blog/2010-05-17-at-least-this-blog-revive/index.html

@ -55,14 +55,14 @@
<p>The more you wait to do something, the more difficult it is to start doing it.</p>
</blockquote>
<p>I had to write another post for this blog. I had added many article idea in my todolist. But, I made many other things, and I&rsquo;ve always said (until now), I&rsquo;ll do this later. What changed my mind is the haunt of this simple remark about how to be productive in programming.
<p>I had to write another post for this blog. I had added many article idea in my todolist. But, I made many other things, and I&#8217;ve always said (until now), I&#8217;ll do this later. What changed my mind is the haunt of this simple remark about how to be productive in programming.
&gt; Stop write <code>TODO</code> in your code and make it now!<br />
&gt; You&rsquo;ll be surprised by the results.</p>
&gt; You&#8217;ll be surprised by the results.</p>
<p>In short:
&gt; <strong>Just do it!</strong> ou <strong>Juste fait le</strong> comme auraient dit les nuls.</p>
<p>Finally I&rsquo;ll certainly write blog post more often for a short period of time.</p>
<p>Finally I&#8217;ll certainly write blog post more often for a short period of time.</p>
<h3 id="what-did-i-do">What did I do?</h3>
@ -72,7 +72,7 @@
<p>I also have a <em>real</em> life. I enjoyed some vacancies with my family. </p>
<p>I work with <a href="http://www.lucarea.net">Luc</a> on a simple ruby REST/JSON/API oriented framework. It works fairly well, with really few bug until now. We planify to make a simple todolist tutorial. May be in two to three blog posts. This framework is not public for now. It will certainly be after we&rsquo;ll create some simple web service with it and made a nice website for it.</p>
<p>I work with <a href="http://www.lucarea.net">Luc</a> on a simple ruby REST/JSON/API oriented framework. It works fairly well, with really few bug until now. We planify to make a simple todolist tutorial. May be in two to three blog posts. This framework is not public for now. It will certainly be after we&#8217;ll create some simple web service with it and made a nice website for it.</p>
<p>Then what I plan to do from now:</p>
@ -84,7 +84,7 @@
<li>provide the sources of this website on <a href="http://github.com">github</a></li>
</ul>
<p>There is some random in some of these achivement mostly because they don&rsquo;t depend totally on me.</p>
<p>There is some random in some of these achivement mostly because they don&#8217;t depend totally on me.</p>
</div>

4
Scratch/en/blog/2010-05-19-How-to-cut-HTML-and-repair-it/index.html

@ -79,7 +79,7 @@
<p>Argh! In the middle of an <code>&lt;img&gt;</code> tag.</p>
<p>In fact, it is not as difficult as it should sound first. The secret is, you don&rsquo;t need to keep the complete tree structure to repair it, but only the list of not closed parents.</p>
<p>In fact, it is not as difficult as it should sound first. The secret is, you don&#8217;t need to keep the complete tree structure to repair it, but only the list of not closed parents.</p>
<p>Given with our example, when we are after the first paragraph. we only have to close the <code>div</code> for class <code>corps</code> and the XML is repaired. Of course, when you cut inside a tag, you sould go back, as if you where just before it. Delete this tag and all is ok.</p>
@ -150,7 +150,7 @@ def repair_xml( xml )
end
</code></pre>
<p>I don&rsquo;t know if the code can help you, but the raisonning should definitively be known.</p>
<p>I don&#8217;t know if the code can help you, but the raisonning should definitively be known.</p>
</div>

16
Scratch/en/blog/2010-05-24-Trees--Pragmatism-and-Formalism/index.html

@ -66,7 +66,7 @@
<li>Used a pen and a sheet of paper</li>
<li>Made some math.</li>
<li>Crushed the problem in 10 minutes</li>
<li>Conclusion: The pragmatism shouldn&rsquo;t mean &ldquo;never use theory&rdquo;.</li>
<li>Conclusion: The pragmatism shouldn&#8217;t mean &#8220;never use theory&#8221;.</li>
</ul>
@ -81,10 +81,10 @@ I entered in the <em>infernal</em>: <em>try &amp; repair loop</em>.
Each step was like:</p>
<blockquote>
<p>&ndash; Just this thing to repair and that should be done.<br />
&ndash; OK, now that should just work.<br />
&ndash; Yeah!!!<br />
&ndash; Oops! I forgotten that&hellip;<br />
<p>&#8211; Just this thing to repair and that should be done.<br />
&#8211; OK, now that should just work.<br />
&#8211; Yeah!!!<br />
&#8211; Oops! I forgotten that&#8230;<br />
<code>repeat until death</code></p>
</blockquote>
@ -166,7 +166,7 @@ I had to face a problem of the same kind at my job. The problem was simple to th
</ol>
<p>You can try if you want. If you attack the problem directly opening an editor, I assure you, it will certainly be not so simple.
I can tell that, because it&rsquo;s what I&rsquo;ve done. And I must say I lost almost a complete day at work trying to resolve this. There was also, many small problems around that make me lose more than two days for this problem.</p>
I can tell that, because it&#8217;s what I&#8217;ve done. And I must say I lost almost a complete day at work trying to resolve this. There was also, many small problems around that make me lose more than two days for this problem.</p>
<p>Why after two days did I was unable to resolve this problem which seems so simple?</p>
@ -187,14 +187,14 @@ I thought about how to resolve the problem but with the eyes of a <em>pragmatic
<blockquote>
<p>That should be a simple perl search and replace program.<br />
Let&rsquo;s begin to write code</p>
Let&#8217;s begin to write code</p>
</blockquote>
<p>This is the second sentence that was plainly wrong. I started in the wrong direction. And the workflow did not work from this entry point.</p>
<h2 id="think">Think</h2>
<p>After some times, I just stopped to work. Tell myself <em>&ldquo;it is enough, now, I must finish it!&rdquo;</em>.
<p>After some times, I just stopped to work. Tell myself <em>&#8220;it is enough, now, I must finish it!&#8221;</em>.
I took a sheet of paper, a pen and began to draw some trees.</p>