Browse Source

updated website

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

8
404.html

@ -29,8 +29,8 @@
<div id="afterheader">
<div class="corps">
<p>The page you’re looking at doesn’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;">yann.esposito@gmail.com</a> and Ill fix it as soon as possible.</p>
<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>
</div>
@ -38,8 +38,8 @@ If you have followed an internal link, you can tell me by mail <a href="&#109;&#
<div class="corps">
<p>La page que vous recherchez nest 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;">yann.esposito@gmail.com</a> et je réparerai ça dès que possible.</p>
<p>La page que vous recherchez n&rsquo;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>
<div id="bottom">

2
Scratch/assets/css/main.css

File diff suppressed because one or more lines are too long

4
Scratch/en/about/contact/index.html

@ -51,7 +51,7 @@
<div id="sousliens"><ul><li><a href="/Scratch/en/about/">About <span class="nicer">&raquo;</span></a></li><li><span class="active" title="You're here.">Contact <span class="nicer">&raquo;</span></span></li><li><a href="/Scratch/en/about/cv/">Curriculum Vitæ <span class="nicer">&raquo;</span></a></li><li><a href="/Scratch/en/about/technical_details/">Technical details <span class="nicer">&raquo;</span></a></li><li><a href="/Scratch/en/about/old/">Other website <span class="nicer">&raquo;</span></a></li></ul></div>
<div id="sousliens"><ul><li><a href="/Scratch/en/about/">About <span class="nicer">&raquo;</span></a></li><li><span class="active" title="You're here.">Contact <span class="nicer">&raquo;</span></span></li><li><a href="/Scratch/en/about/technical_details/">Technical details <span class="nicer">&raquo;</span></a></li><li><a href="/Scratch/en/about/old/">Other website <span class="nicer">&raquo;</span></a></li></ul></div>
<div class="flush"></div>
@ -61,7 +61,7 @@
<p><img src="/Scratch/img/about/avatar.png" alt="Avatar" class="left" /></p>
<p><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;">yann.esposito@gmail.com</a>
<p><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>
Follow me on <a href="http://twitter.com/yogsototh">twitter</a><br />
My preferred bookmarks <a href="http://pinboard.in/u:yogsototh">pinboard</a><br />
Open Source <a href="http://github.com/yogsototh">github</a><br />

12
Scratch/en/about/index.html

@ -51,7 +51,7 @@
<div id="sousliens"><ul><li><span class="active" title="You're here.">About <span class="nicer">&raquo;</span></span></li><li><a href="/Scratch/en/about/contact/">Contact <span class="nicer">&raquo;</span></a></li><li><a href="/Scratch/en/about/cv/">Curriculum Vitæ <span class="nicer">&raquo;</span></a></li><li><a href="/Scratch/en/about/technical_details/">Technical details <span class="nicer">&raquo;</span></a></li><li><a href="/Scratch/en/about/old/">Other website <span class="nicer">&raquo;</span></a></li></ul></div>
<div id="sousliens"><ul><li><span class="active" title="You're here.">About <span class="nicer">&raquo;</span></span></li><li><a href="/Scratch/en/about/contact/">Contact <span class="nicer">&raquo;</span></a></li><li><a href="/Scratch/en/about/technical_details/">Technical details <span class="nicer">&raquo;</span></a></li><li><a href="/Scratch/en/about/old/">Other website <span class="nicer">&raquo;</span></a></li></ul></div>
<div class="flush"></div>
@ -89,13 +89,9 @@
<p><a href="http://pinboard.in/u:yogsototh">My online bookmarks on pinboard</a></p>
<p><a href="/resume">My resume</a></p>
</div>
<div class="corps">
<h2 class="first" id="shortly">Shortly</h2>
<h2 id="shortly">Shortly</h2>
<p>I’m a passionate guy. Passionate about</p>
@ -108,7 +104,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></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>&hellip;</p>
</div>
<div id="bottom">

2
Scratch/en/about/old/index.html

@ -51,7 +51,7 @@
<div id="sousliens"><ul><li><a href="/Scratch/en/about/">About <span class="nicer">&raquo;</span></a></li><li><a href="/Scratch/en/about/contact/">Contact <span class="nicer">&raquo;</span></a></li><li><a href="/Scratch/en/about/cv/">Curriculum Vitæ <span class="nicer">&raquo;</span></a></li><li><a href="/Scratch/en/about/technical_details/">Technical details <span class="nicer">&raquo;</span></a></li><li><span class="active" title="You're here.">Other website <span class="nicer">&raquo;</span></span></li></ul></div>
<div id="sousliens"><ul><li><a href="/Scratch/en/about/">About <span class="nicer">&raquo;</span></a></li><li><a href="/Scratch/en/about/contact/">Contact <span class="nicer">&raquo;</span></a></li><li><a href="/Scratch/en/about/technical_details/">Technical details <span class="nicer">&raquo;</span></a></li><li><span class="active" title="You're here.">Other website <span class="nicer">&raquo;</span></span></li></ul></div>
<div class="flush"></div>

2
Scratch/en/about/technical_details/index.html

@ -55,7 +55,7 @@
<div id="sousliens"><ul><li><a href="/Scratch/en/about/">About <span class="nicer">&raquo;</span></a></li><li><a href="/Scratch/en/about/contact/">Contact <span class="nicer">&raquo;</span></a></li><li><a href="/Scratch/en/about/cv/">Curriculum Vitæ <span class="nicer">&raquo;</span></a></li><li><span class="active" title="You're here.">Technical details <span class="nicer">&raquo;</span></span></li><li><a href="/Scratch/en/about/old/">Other website <span class="nicer">&raquo;</span></a></li></ul></div>
<div id="sousliens"><ul><li><a href="/Scratch/en/about/">About <span class="nicer">&raquo;</span></a></li><li><a href="/Scratch/en/about/contact/">Contact <span class="nicer">&raquo;</span></a></li><li><span class="active" title="You're here.">Technical details <span class="nicer">&raquo;</span></span></li><li><a href="/Scratch/en/about/old/">Other website <span class="nicer">&raquo;</span></a></li></ul></div>
<div class="flush"></div>

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

@ -61,11 +61,11 @@
But a Framework to generate static web pages.</p>
<p>You have to program yourself webpages, the code
to generate the menu</p>
to generate the menu&hellip;</p>
<p>I added feature to make my website multilingual for example</p>
<p>Youll can find many informations on the
<p>You&rsquo;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

@ -56,11 +56,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 Ive 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&rsquo;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 dont understand <code>ack</code> dont 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&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>
</div>
@ -83,7 +83,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’t install it on my ‘Evil Company Server’,
As I couldn&rsquo;t install it on my &lsquo;Evil Company Server&rsquo;,
I had done one myself in very few lines:</p>
<div>

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

@ -58,7 +58,7 @@
<div class="flush"></div>
<div id="afterheader">
<div class="corps">
<h1 class="first" id="movies-keys">Movies keys</h1>
<h1 class="first" id="movies-keys">Movie&rsquo;s keys</h1>
<div class="encadre" style="text-align: center">
<strong>
@ -66,32 +66,32 @@
</strong>
</div>
<p>In a first, it is clear for me, it is not a fantastic movie. If you follow this line, youll 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&rsquo;ll face many problem explaining some scenes.</p>
<p>My hypothesis is the movie describe the Freds representation of reality.
<p>My hypothesis is the movie describe the Fred&rsquo;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. Hell 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&rsquo;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, hes weaker and will be manipulated by the blond equivalent of Renee to kill Dick Laurent.</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 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 hes own a video camera:</p>
<p>Because of the dialog at the begining of the movie. Cops ask Fred if he&rsquo;s own a video camera:</p>
<blockquote>
<p>“Do you own a video camera?”<br />
“No, Fred hates them.”<br />
“I like to remember things my own way.”<br />
“What do you mean by that?”<br />
“How I remember them, not necessarily the way they happened.” </p>
<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>
</blockquote>
<p>Then, what we see is not reality but the Freds 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&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>
</div>

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

@ -62,15 +62,15 @@
<p><img alt="l'homme mystérieux" src="/Scratch/img/blog/03_losthighway/mysteryman.jpg" class=" left" /></p>
<p>Who’s this mysterious man? He tells Fred it’s him who invited him in his house. He’s present at the party and in the house of Fred in the same time. Eyes wide open, looking everything Freds doing?</p>
<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>Its 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’ll said he’s Satan. He observe, film but don’t act. He helps Fred to kill Dick Laurent.
<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.
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’s face. In reality, it’s the same person for Fred. It should be her who’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&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>
</div>

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

@ -58,9 +58,9 @@
<div class="flush"></div>
<div id="afterheader">
<div class="corps">
<h2 class="first" id="whos-at-the-origin-of-the-video-tapes">Whos at the origin of the video tapes?</h2>
<h2 class="first" id="whos-at-the-origin-of-the-video-tapes">Who&rsquo;s at the origin of the video tapes?</h2>
<p>Certainly its the mysterious man (Fred himself) who makes them.
<p>Certainly it&rsquo;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

@ -73,7 +73,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 Im 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&rsquo;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>
@ -87,9 +87,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 “test of Rorschach effet” when watching this movie.</p>
<p>I believe it is essential to remember the &ldquo;test of Rorschach effet&rdquo; when watching this movie.</p>
<p>Id like to know or opinion&nbsp;; is my interpration wrong?</p>
<p>I&rsquo;d like to know or opinion&nbsp;; is my interpration wrong?</p>
</div>

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

@ -74,10 +74,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 Freds imagination,</li>
<li>Just the first part of the story is real. The rest is in the Fred&rsquo;s imagination,</li>
</ul>
<p>and I dont speak about many point of view found in forums.</p>
<p>and I don&rsquo;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>
@ -86,7 +86,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’ll cannot resolve the solution. At his best you’ll can suggest an interpretation close to the one of David Lynch.</p>
<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>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>
@ -94,16 +94,16 @@ Here some of explanations of Lost Highway I found on the Internet:</p>
<p><img alt="test de Rorschach" src="/Scratch/img/blog/03_losthighway/rorschach.gif" class=" left" /></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 Rorschachs 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&rsquo;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, youll see in the mysterious man a devil,</li>
<li>If you are more psychanalytics, you’ll see an inconscient part of the protagonist…</li>
<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>
</ul>
<p>Generally, we stay in this movie and we fail explaining everything. There is almost always a point that dont 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&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>
<h2 id="interprtation-ne-explanation">Interprétation Explanation</h2>
<h2 id="interprtation-ne-explanation">Interprétation&nbsp;&ne; Explanation</h2>
<p>I give an <strong>interpretation</strong> and not an <strong>explanation</strong>. Just to tell my vision of the movie should be very different from yours.
There is certainly many coherent explanations.</p>

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

@ -68,7 +68,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 dont 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&rsquo;t like DVD because it is not as easy to buy and to use than to simply download episodes.</p>
<div class="encadre">
@ -76,8 +76,8 @@ Therefore far less money for you EVIL Copyrighter!!!!!
</div>
<p>My wife wont see these episodes.<br />
This is a <strong>‘LOSE-LOSE’</strong> cooperation.</p>
<p>My wife won&rsquo;t see these episodes.<br />
This is a <strong>&lsquo;LOSE-LOSE&rsquo;</strong> cooperation.</p>
</div>

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

@ -60,7 +60,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 didnt find clearly what I needed on the official Git documentation.</p>
Unfortunately I didn&rsquo;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>
@ -72,7 +72,7 @@ Unfortunately I didn’t find clearly what I needed on the official Git document
<h2 class="first" id="initialisation">Initialisation</h2>
<p>Suppose Ive got a directory on my local computer containing a project I want to manage via Git. Here what to do: </p>
<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>
<div>

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

@ -58,15 +58,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 didnt work on it. After searching on google, the problem seems to be just a recompilation away.
Unfortunately, even recompiling it in 64 bit it didnt 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&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.
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>
<p><img alt="XCode configuration" src="/Scratch/img/blog/07_Screensaver_compilation_option_for_Snow_Leopard/xcodeConfig.png" /></p>
<p>For now I didn’t compiled it to work also on Tiger and Leopard. I don’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&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>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

@ -77,7 +77,7 @@
<h1 id="ssh-and-snow-leopardc">Ssh and Snow Leopard<small>&copy;</small></h1>
<p>Here I dont 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&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>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

@ -85,13 +85,13 @@
<p>The idea are: </p>
<ul>
<li>synchronize to a temporary folder then swap the name therefore the website isnt 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&rsquo;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 Im 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&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>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

@ -60,7 +60,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 didnt have any comment on my blog when I switched. Therefore my lack of influence was a good thing&nbsp;:-).</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>
</div>
@ -74,7 +74,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 lets begin.</em></p>
<p><em>Now let&rsquo;s begin.</em></p>
</div>
@ -87,7 +87,7 @@
<p>Why should I want to load the disqus javascript asynchronously?</p>
<ul>
<li>Efficiency: I dont want my page to wait the complete execution of disqus script to load.</li>
<li>Efficiency: I don&rsquo;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>
@ -99,7 +99,7 @@
<h1 class="first" id="how">How?</h1>
<p>I give a solution with jQuery, but Im certain it will work with many other js library.</p>
<p>I give a solution with jQuery, but I&rsquo;m certain it will work with many other js library.</p>
<h3 id="javascript">Javascript</h3>
@ -135,7 +135,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 its 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&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>
</div>

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

@ -58,7 +58,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 “non-blocking” 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 &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>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>
@ -66,7 +66,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, youve just to download their common js and replace the following line:</p>
<p>In order to make it fully asynchronous, you&rsquo;ve just to download their common js and replace the following line:</p>
<div>
@ -95,8 +95,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;; dont block my website</li>
<li>Add for free buttons like “share to any” and load them <strong>asynchronously</strong>.</li>
<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>
</ul>
<p>Voilà.</p>

30
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

@ -58,7 +58,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 dont 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&rsquo;t want to be filtered. For example</p>
<div>

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

@ -60,7 +60,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 ‘webdav’ 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 &lsquo;webdav&rsquo; issues. For example, renaming a folder work really badly (on Linux at least). I use webdavfs. For example:</p>
<div>
@ -69,7 +69,7 @@
</div>
<p>It returns OK and Ive got: </p>
<p>It returns OK and I&rsquo;ve got: </p>
<div>
@ -79,9 +79,9 @@ folder folder2
</div>
<p>Booh.</p>
<p>Booh&hellip;.</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 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&hellip; 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>
@ -326,7 +326,7 @@ fi
</div>
<p>This is my way to replace <code>rsync</code> with filesystem not handling it.
Hope it is usefull. Ill be happy to hear a way to handle the webdav rename folder problem. This is really annoying.</p>
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>
</div>

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

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

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

@ -56,9 +56,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’t believe minimalism should be the goal. Focus should be the goal, and I believe minimalism isn’t necessary to reach it.</p>
<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>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 Ill 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&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>
</div>

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

@ -81,7 +81,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 didnt 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&rsquo;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

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

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

@ -56,7 +56,7 @@
<div class="flush"></div>
<div id="afterheader">
<div class="corps">
<p>Here is a tip, I dont know why, but I almost always forgot how to do that.</p>
<p>Here is a tip, I don&rsquo;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>

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

@ -56,9 +56,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 “untaught rule” 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 &ldquo;untaught rule&rdquo; that make hard to work without. Until I read the good document. </em></small></p>
<p><small> <em> “Cheap branches” aren’t designed to be totally isolated branches but rather should follow a “Master Branch”. There is a </em>Standard Workflow<em> to follow. If you dont follow it, you prepare yourself with some hard time with Git.</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>
</div>
@ -74,7 +74,7 @@
<p>I must say I was completely convinced. And the more you learn about <abbr title="Decentralized Concurrent Versioning System">DCVS</abbr> the more you see good reason to use them.</p>
<p>I then needed a versioning system for my team. As they were not used to open source versioning system except those heavy, with a GUI and with and administrator<sup><a href="#note1"></a></sup></p>
<p>I then needed a versioning system for my team. As they were not used to open source versioning system except those heavy, with a GUI and with and administrator<sup><a href="#note1">&dagger;</a></sup></p>
<p>After some web searches, I founded three main choices:</p>
@ -84,7 +84,7 @@
<li><a href="http://selenic.com/mercurial">Mercurial</a></li>
</ul>
<p>After trying each other I chosen Bazaar. It has the simplest User Interface<sup><a href="#note2">*</a></sup>. My choice was done.</p>
<p>After trying each other I chosen Bazaar. It has the simplest User Interface<sup><a href="#note2">&#42;</a></sup>. My choice was done.</p>
<h3 id="from-bazaar-to-git">From Bazaar to Git</h3>
@ -93,21 +93,21 @@
<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 (Ill speak a work about it later).</p>
But after trying it, I found it difficult and couter intuitive (I&rsquo;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> <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</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&hellip;</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 didnt 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&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><small><a name="note1"></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>
<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>
<p><small><a name="note2">*</a> - I never really given its chance to Mercurial. The terminology they chosen was too far from the svn one. And I was used to it.</small></p>
<p><small><a name="note2">&#42;</a> - I never really given its chance to Mercurial. The terminology they chosen was too far from the svn one. And I was used to it.</small></p>
</div>
@ -115,7 +115,7 @@ But after trying it, I found it difficult and couter intuitive (I’ll speak a w
<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 <em>Parallel World</em> 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 &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>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>
@ -126,11 +126,11 @@ But after trying it, I found it difficult and couter intuitive (I’ll speak a w
<li>While Git seem base on the <em>Patch</em> model which will implie the creation of <em>Parallel Worlds</em>.</li>
</ul>
<p>I will not argument about which is the best. Just tell my vision of DCVS come from the <em>Parallel World</em> vision and Git was designed the other way<sup><a href="#note3"></a></sup>.</p>
<p>I will not argument about which is the best. Just tell my vision of DCVS come from the <em>Parallel World</em> vision and Git was designed the other way<sup><a href="#note3">&Dagger;</a></sup>.</p>
<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’t get before long was because I didn’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&rsquo;t get before long was because I didn&rsquo;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>
@ -138,10 +138,10 @@ But after trying it, I found it difficult and couter intuitive (I’ll speak a w
<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 “Standard branch” is what is theoretically a kind of new <em>Parallel World</em>.
<p>A &ldquo;Standard branch&rdquo; 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 werent 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&rsquo;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>
@ -150,11 +150,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>Heres how you should <strong>not</strong> use Git:</p>
<p>Here&rsquo;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 its modification to the main repository.</li>
<li>Create a <em>cheap branch</em> which will never push it&rsquo;s modification to the main repository.</li>
</ul>
<p>This simple minor difference of point of view confused me a lot.</p>
@ -261,15 +261,15 @@ With Bazaar it is:</p>
<blockquote>
<ul>
<li> Try to find the good keyword for this operation</li>
<li> Wrong! Try again!</li>
<li> False, it is not yet right!</li>
<li>&mdash; Try to find the good keyword for this operation</li>
<li>&mdash; Wrong! Try again!</li>
<li>&mdash; False, it is not yet right!</li>
</ul>
</blockquote>
<p>That were the Git bad side. But It has many advantages. Once youve 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&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><small><a name="note3"></a> I must precise that I worked a lot with multi-modal logic and particularly about “Temporal Logics” (linear or not). This is why I was more inclined to see things this way. “Ah&nbsp;! Just to remember my firsts love with computer science&nbsp;!</small></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>
</div>
@ -286,15 +286,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> Ill tell Git is the best.
But Git was too much in my way. Is was exactly what I didnt want for my first DCVS.</p>
<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>I shouldnt 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&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>
<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 dont made alias to correct that. But may be one day I should do that.</p>
For now I don&rsquo;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

@ -72,14 +72,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. Lets 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&rsquo;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 dont want to loose. You copy naturally this file with another name. For example:</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>
<div>
@ -88,7 +88,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, youll 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&rsquo;ll end with many files with strange names like:</p>
<div>
@ -105,7 +105,7 @@ old.fichier_important.c
</div>
<p>If you want to make it works correctly, youll 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&rsquo;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>
@ -113,13 +113,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, “I want to get back three days earlier”.</p>
<p>It is therefore possible to say, &ldquo;I want to get back three days earlier&rdquo;.</p>
<div class="black">
<p><em>What gives versions system?</em> (I didnt mention everything at all)</p>
<p><em>What gives versions system?</em> (I didn&rsquo;t mention everything at all)</p>
<ul>
<li>automatic backups: <em>back in time</em>,</li>
@ -136,7 +136,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>Lets begin by an example, a two person project&nbsp;; Alex and Beatrice. On a file containing a <em>Lovecraft</em>s gods list:</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>
<div style="width: 10em; margin-left: auto; margin-right: auto">
@ -198,7 +198,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 didnt 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&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>help to know who done what and when.</li>
</ul>
@ -210,7 +210,7 @@ Yogsototh
<p>This word became popular only recently about CVS. And it mainly means two things:</p>
<p>First, until really recently (SVN), youll 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&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>All instances of a project can live <em>independently</em>.</p>
@ -223,7 +223,7 @@ Yogsototh
<p>Typical example:</p>
<blockquote>
<p>I develop my project. Im ameliorating something. An urgent bug is reported.</p>
<p>I develop my project. I&rsquo;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>
@ -248,7 +248,7 @@ Yogsototh
<h2 id="to-resume">To resume</h2>
<p>Lets resume what we can easily do with DCVS:</p>
<p>Let&rsquo;s resume what we can easily do with DCVS:</p>
<p><strong>Versions Systems</strong></p>
@ -274,7 +274,7 @@ Yogsototh
<li>Easily manipulate branches</li>
</ul>
<p>Now lets see how to obtain all these things easily with <a href="http://git-scm.org" title="Git">Git</a>.</p>
<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>
</div>

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

@ -86,7 +86,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 youre 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&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>
<h4 id="example">example</h4>
@ -169,8 +169,8 @@ Zoot <span class="Constant"><strong>the not so pure</strong></span>
</div>
<p>Now youre 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 well see some <a href="http://git-scm.org" title="Git">Git</a> usages older CVS couldnt handle.</p>
<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>
</div>

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

@ -72,9 +72,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 ‘master’ 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 &lsquo;master&rsquo; 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, its 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&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>
</div>

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

@ -143,7 +143,7 @@ $ git clone git://main.server/path/to/file
</div>
<p>If there is no git server but youve 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&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>
<div>
@ -176,7 +176,7 @@ me@main.server$ logout
</div>
<p>Now you dont need to write your password to access the <code>main.server</code>.</p>
<p>Now you don&rsquo;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>
@ -192,7 +192,7 @@ $ git commit -m "Initial commit"
</div>
<p>Let do a small remark. If you dont want to <em>version</em> every file. Typically intermediate compilation file, swap files 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&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>
<div>

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

@ -64,7 +64,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. Youll 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&rsquo;ll understand utility of such program and how we use modern version control system. I try to stay as pragmatic as possible.</p>
</div>
@ -118,7 +118,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’t followed progress since CVS or subversion (SVN). This is why, in a first time I’ll explain quickly which are the goal of such systems. Secondly, I’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&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>
</div>

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

@ -58,7 +58,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’m a λ iPhone’s user. The only way to filter your call and to manage blacklist is to <em>jailbreak</em> your iPhone. And I dont 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&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>
</div>

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

@ -64,7 +64,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 Ill 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&rsquo;ll talk about the only advantage of git against Bazaar which lead me to prefer it.</p>
</div>
@ -76,7 +76,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 ‘state’ 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 &lsquo;state&rsquo; 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>
@ -113,11 +113,11 @@
</div>
<p>Yes, hum</p>
<p>Yes, hum&hellip;</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, Ill 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&rsquo;ll tell you why. And to undo things in Bazaar:</p>
<div>
@ -191,7 +191,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. Id 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).</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>
<div><div class="codefile"><a href="/Scratch/en/blog/2009-12-14-Git-vs--Bzr/code/gitconfig">&#x27A5; gitconfig</a></div>
@ -204,7 +204,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 its 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&rsquo;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>

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

@ -71,7 +71,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"></a></sup>. Say you want to match everything containing the some word say <code>bull</code> but dont 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&rsquo;t want to match <code>bullshit</code>. Here is a nice way to do that:</p>
<div>
@ -136,7 +136,7 @@ There certainly exists many other methods. But the important lesson is
it is not straightforward to exclude something of a regular expression.</p>
<hr />
<p><small><a name="note1"></a>
<p><small><a name="note1">&dagger;</a>
It can be proved that any regular set minus a finite set is also regular.
</small></p>

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

@ -56,7 +56,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 ‘a’ and ‘b’, 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 &lsquo;a&rsquo; and &lsquo;b&rsquo;, 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>...
@ -77,7 +77,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 shouldnt 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&rsquo;t contain any <code>a</code> nor <code>b</code>. Which lead to the last elegant solution.</p>
<pre class="twilight">
/a[^ab]*b/
@ -119,7 +119,7 @@ For example:</p>
</div>
<p>That string should not match. This is why if we really want to match it correctly<sup><a href="#note1"></a></sup> we need to add:</p>
<p>That string should not match. This is why if we really want to match it correctly<sup><a href="#note1">&dagger;</a></sup> we need to add:</p>
<div>
<pre><code class="perl">&lt;li&gt;([^&lt;]|&lt;[^l]|&lt;l[^i]|&lt;li[^&gt;])*(|&lt;|&lt;l|&lt;li)&lt;/li&gt;
@ -162,7 +162,7 @@ s/_was_y_/Y/g
<p>And it works in only 9 lines for any beginning and ending string. This solution should look less <em>I AM THE GREAT REGEXP M45T3R, URAN00B</em>, but is more convenient in my humble opinion. Further more, using this last solution prove you master regexp, because you know it is difficult to manage such problems with only a regexp.</p>