Browse Source

updated website

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

10
404.html

@ -4,6 +4,8 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="shortcut icon" type="image/x-icon" href="/Scratch/img/favicon.ico" />
<link rel="stylesheet" type="text/css" href="/Scratch/assets/css/main.css" />
<script type="text/javascript" src="/Scratch/js/jquery-1.3.1.min.js"></script>
@ -27,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 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 and I&rsquo;ll fix it as soon as possible.</p>
</div>
@ -36,7 +38,7 @@ If you have followed an internal link, you can tell me by mail and I’ll fix i
<div class="corps">
<p>La page que vous recherchez nest pas présente sur le site.
<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 et je réparerai ça dès que possible.</p>
</div>
@ -65,4 +67,4 @@ Si vous avez suivi un lien vous pouvez me prévenir par mail et je réparerai
<div class="clear"></div>
</div>
</body>
</html>
</html>

1
Scratch/assets/css/dynamic.css

@ -0,0 +1 @@
*{transition-property:all;transition-duration:.5s;-moz-transition-property:all;-moz-transition-duration:.5s;-webkit-transition-property:all;-webkit-transition-duration:.5s;-o-transition-property:all;-o-transition-duration:.5s}

2
Scratch/assets/css/main.css

File diff suppressed because one or more lines are too long

3
Scratch/css/iPhone.css

@ -1,2 +1,3 @@
#content { width: 100%; font-size: 20px; }
.corps { padding-right: 2px; padding-left: 2px;}
.corps { padding: 0 5px;}
ul,ol {padding-left: 1em}

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

@ -60,9 +60,9 @@
<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><br />
<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><br />
Follow me on <a href="http://twitter.com/yogsototh">twitter</a><br />
My preferred bookmarks <a href="http://diigo.com/profile/yogsototh">diigo</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 />
<a href="http://stackoverflow.com/users/40569/yogsototh">stackoverflow</a></p>
@ -75,7 +75,7 @@
<a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">Copyright ©, Yann Esposito</a>
</div>
<div id="lastmod">
Modified: 04/20/2011
Modified: 01/18/2012
</div>
<div>
Entirely done with

4
Scratch/en/about/index.html

@ -104,7 +104,7 @@
<li>Computer Security: <a href="http://yann.esposito.free.fr/enseignement/rez0.php#projet">I designed a secure web protocol (similar to TOR)</a>, <a href="/YBlog/Computer/Entries/2008/7/30_Easy,_secure_and_portable_password_management_system.html">a method to securely remember strong passwords</a> (<a href="/YBlog/YPassword.html">programmed a dashboard widget</a> and a shell script to use this method). </li>
</ul>
<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> And I’ve got the same passion about computer science research, computer security, philosophy and many other things.</p>
<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>&hellip; And I’ve got the same passion about computer science research, computer security, philosophy and many other things.</p>
</div>
@ -118,7 +118,7 @@
<p>Then I had a post Ph. D. Degree position in the Hubert Curien Laboratory at St-Etienne. My mission consisted to develop a scientific application (SEDiL). This application should be used by biologist and should have a simple and nice user interface.</p>
<p>Today I work for AirFrance<small>&copy;</small> via Astek. This job need many differents skills, CMS and Web technologies, Perl, JSP, meta-programming</p>
<p>Today I work for AirFrance<small>&copy;</small> via Astek. This job need many differents skills, CMS and Web technologies, Perl, JSP, meta-programming&hellip;</p>
<div class="return"><a href="#entete" onclick="fastShowMenu()">&uarr;</a></div>

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

@ -59,11 +59,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

@ -54,11 +54,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>
@ -79,7 +79,7 @@ grep <span class="String"><span class="String">'</span>pattern<span class="Strin
<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>

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

@ -56,7 +56,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>
@ -64,42 +64,36 @@
</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>
<div class="navigation">
<div class="navigationprev"><a href="/Scratch/en/blog/03_losthighway/"><span class="nicer">«</span>&nbsp;previous</a></div>
<div class="navigationnext"><a href="/Scratch/en/blog/03_losthighway/03_losthighway_2/">next&nbsp;<span class="nicer">»</span></a></div>
</div>
<div class="flush"></div>
<div id="choixrss">
<a id="rss" href="http://feeds.feedburner.com/yannespositocomen">
@ -126,8 +120,8 @@ Each of his tries to escape reality will fail.</p>
<script type="text/javascript">
var idcomments_acct = 'a307f0044511ff1b5cfca573fc0a52e7';
var idcomments_post_id = '/Scratch/en/blog/03_losthighway/';
var idcomments_post_url = 'http://yannesposito.com/Scratch/en/blog/03_losthighway/';
var idcomments_post_id = '/Scratch/en/blog/03_losthighway/03_losthighway_1/';
var idcomments_post_url = 'http://yannesposito.com/Scratch/en/blog/03_losthighway/03_losthighway_1/';
</script>
<span id="IDCommentsPostTitle" style="display:none"></span>
<script type='text/javascript' src='/Scratch/js/genericCommentWrapperV2.js'></script>
@ -147,14 +141,6 @@ Each of his tries to escape reality will fail.</p>
<div id="previous_articles">
previous entries
<div class="previous_article">
<a href="/Scratch/en/blog/02_ackgrep/"><span class="nicer">«</span>&nbsp;Better than Grep</a>
</div>
<div class="previous_article">
<a href="/Scratch/en/blog/01_nanoc/"><span class="nicer">«</span>&nbsp;Nanoc</a>
</div>
@ -163,17 +149,17 @@ Each of his tries to escape reality will fail.</p>
next entries
<div class="next_article">
<a href="/Scratch/en/blog/04_drm/">DRM are EVIL&nbsp;<span class="nicer">»</span></a>
<a href="/Scratch/en/blog/03_losthighway/03_losthighway_2/">A try to demystify 'Lost Highway'&nbsp;<span class="nicer">»</span></a>
</div>
<div class="next_article">
<a href="/Scratch/en/blog/05_git_create_remote_branch/">Git remote branch creation&nbsp;<span class="nicer">»</span></a>
<a href="/Scratch/en/blog/03_losthighway/03_losthighway_3/">A try to demystify 'Lost Highway'&nbsp;<span class="nicer">»</span></a>
</div>
<div class="next_article">
<a href="/Scratch/en/blog/06_How_I_use_git/">Git for self&nbsp;<span class="nicer">»</span></a>
<a href="/Scratch/en/blog/03_losthighway/03_losthighway_4/">A try to demystify 'Lost Highway'&nbsp;<span class="nicer">»</span></a>
</div>

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

@ -58,27 +58,21 @@
<div class="corps">
<h2 class="first" id="who-is-the-mysterious-man">Who is the mysterious man?</h2>
<p><img alt="l'homme mystérieux" src="/Scratch/img/blog/03_losthighway/mysteryman.jpg" class="left" /></p>
<p><img alt="l'homme mystérieux" src="/Scratch/img/blog/03_losthighway/03_losthighway_2/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>
<div class="navigation">
<div class="navigationprev"><a href="/Scratch/en/blog/03_losthighway/03_losthighway_1/"><span class="nicer">«</span>&nbsp;previous</a></div>
<div class="navigationnext"><a href="/Scratch/en/blog/03_losthighway/03_losthighway_3/">next&nbsp;<span class="nicer">»</span></a></div>
</div>
<div class="flush"></div>
<div id="choixrss">
<a id="rss" href="http://feeds.feedburner.com/yannespositocomen">
@ -105,8 +99,8 @@ It also force Fred to remember the reality.</p>
<script type="text/javascript">
var idcomments_acct = 'a307f0044511ff1b5cfca573fc0a52e7';
var idcomments_post_id = '/Scratch/en/blog/03_losthighway/';
var idcomments_post_url = 'http://yannesposito.com/Scratch/en/blog/03_losthighway/';
var idcomments_post_id = '/Scratch/en/blog/03_losthighway/03_losthighway_2/';
var idcomments_post_url = 'http://yannesposito.com/Scratch/en/blog/03_losthighway/03_losthighway_2/';
</script>
<span id="IDCommentsPostTitle" style="display:none"></span>
<script type='text/javascript' src='/Scratch/js/genericCommentWrapperV2.js'></script>
@ -127,14 +121,10 @@ It also force Fred to remember the reality.</p>
previous entries
<div class="previous_article">
<a href="/Scratch/en/blog/02_ackgrep/"><span class="nicer">«</span>&nbsp;Better than Grep</a>
<a href="/Scratch/en/blog/03_losthighway/03_losthighway_1/"><span class="nicer">«</span>&nbsp;A try to demystify 'Lost Highway'</a>
</div>
<div class="previous_article">
<a href="/Scratch/en/blog/01_nanoc/"><span class="nicer">«</span>&nbsp;Nanoc</a>
</div>
</div>
@ -142,19 +132,15 @@ It also force Fred to remember the reality.</p>
next entries
<div class="next_article">
<a href="/Scratch/en/blog/04_drm/">DRM are EVIL&nbsp;<span class="nicer">»</span></a>
<a href="/Scratch/en/blog/03_losthighway/03_losthighway_3/">A try to demystify 'Lost Highway'&nbsp;<span class="nicer">»</span></a>
</div>
<div class="next_article">
<a href="/Scratch/en/blog/05_git_create_remote_branch/">Git remote branch creation&nbsp;<span class="nicer">»</span></a>
<a href="/Scratch/en/blog/03_losthighway/03_losthighway_4/">A try to demystify 'Lost Highway'&nbsp;<span class="nicer">»</span></a>
</div>
<div class="next_article">
<a href="/Scratch/en/blog/06_How_I_use_git/">Git for self&nbsp;<span class="nicer">»</span></a>
</div>
</div>
<div class="flush"></div>

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

@ -56,9 +56,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>
@ -69,12 +69,6 @@ Their reason should be:</p>
</div>
<div class="navigation">
<div class="navigationprev"><a href="/Scratch/en/blog/03_losthighway/03_losthighway_2/"><span class="nicer">«</span>&nbsp;previous</a></div>
<div class="navigationnext"><a href="/Scratch/en/blog/03_losthighway/03_losthighway_4/">next&nbsp;<span class="nicer">»</span></a></div>
</div>
<div class="flush"></div>
<div id="choixrss">
<a id="rss" href="http://feeds.feedburner.com/yannespositocomen">
@ -101,8 +95,8 @@ Their reason should be:</p>
<script type="text/javascript">
var idcomments_acct = 'a307f0044511ff1b5cfca573fc0a52e7';
var idcomments_post_id = '/Scratch/en/blog/03_losthighway/';
var idcomments_post_url = 'http://yannesposito.com/Scratch/en/blog/03_losthighway/';
var idcomments_post_id = '/Scratch/en/blog/03_losthighway/03_losthighway_3/';
var idcomments_post_url = 'http://yannesposito.com/Scratch/en/blog/03_losthighway/03_losthighway_3/';
</script>
<span id="IDCommentsPostTitle" style="display:none"></span>
<script type='text/javascript' src='/Scratch/js/genericCommentWrapperV2.js'></script>
@ -123,12 +117,12 @@ Their reason should be:</p>
previous entries
<div class="previous_article">
<a href="/Scratch/en/blog/02_ackgrep/"><span class="nicer">«</span>&nbsp;Better than Grep</a>
<a href="/Scratch/en/blog/03_losthighway/03_losthighway_2/"><span class="nicer">«</span>&nbsp;A try to demystify 'Lost Highway'</a>
</div>
<div class="previous_article">
<a href="/Scratch/en/blog/01_nanoc/"><span class="nicer">«</span>&nbsp;Nanoc</a>
<a href="/Scratch/en/blog/03_losthighway/03_losthighway_1/"><span class="nicer">«</span>&nbsp;A try to demystify 'Lost Highway'</a>
</div>
@ -138,18 +132,10 @@ Their reason should be:</p>
next entries
<div class="next_article">
<a href="/Scratch/en/blog/04_drm/">DRM are EVIL&nbsp;<span class="nicer">»</span></a>
<a href="/Scratch/en/blog/03_losthighway/03_losthighway_4/">A try to demystify 'Lost Highway'&nbsp;<span class="nicer">»</span></a>
</div>
<div class="next_article">
<a href="/Scratch/en/blog/05_git_create_remote_branch/">Git remote branch creation&nbsp;<span class="nicer">»</span></a>
</div>
<div class="next_article">
<a href="/Scratch/en/blog/06_How_I_use_git/">Git for self&nbsp;<span class="nicer">»</span></a>
</div>
</div>

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

@ -71,7 +71,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>
@ -85,19 +85,13 @@ 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>
<div class="navigation">
<div class="navigationprev"><a href="/Scratch/en/blog/03_losthighway/03_losthighway_3/"><span class="nicer">«</span>&nbsp;previous</a></div>
<div class="navigationnext"></div>
</div>
<div class="flush"></div>
<div id="choixrss">
<a id="rss" href="http://feeds.feedburner.com/yannespositocomen">
@ -124,8 +118,8 @@ But the first hypothesis remain coherent. And, we should probably make an in dep
<script type="text/javascript">
var idcomments_acct = 'a307f0044511ff1b5cfca573fc0a52e7';
var idcomments_post_id = '/Scratch/en/blog/03_losthighway/';
var idcomments_post_url = 'http://yannesposito.com/Scratch/en/blog/03_losthighway/';
var idcomments_post_id = '/Scratch/en/blog/03_losthighway/03_losthighway_4/';
var idcomments_post_url = 'http://yannesposito.com/Scratch/en/blog/03_losthighway/03_losthighway_4/';
</script>
<span id="IDCommentsPostTitle" style="display:none"></span>
<script type='text/javascript' src='/Scratch/js/genericCommentWrapperV2.js'></script>
@ -146,33 +140,25 @@ But the first hypothesis remain coherent. And, we should probably make an in dep
previous entries
<div class="previous_article">
<a href="/Scratch/en/blog/02_ackgrep/"><span class="nicer">«</span>&nbsp;Better than Grep</a>
<a href="/Scratch/en/blog/03_losthighway/03_losthighway_3/"><span class="nicer">«</span>&nbsp;A try to demystify 'Lost Highway'</a>
</div>
<div class="previous_article">
<a href="/Scratch/en/blog/01_nanoc/"><span class="nicer">«</span>&nbsp;Nanoc</a>
<a href="/Scratch/en/blog/03_losthighway/03_losthighway_2/"><span class="nicer">«</span>&nbsp;A try to demystify 'Lost Highway'</a>
</div>
<div class="previous_article">
<a href="/Scratch/en/blog/03_losthighway/03_losthighway_1/"><span class="nicer">«</span>&nbsp;A try to demystify 'Lost Highway'</a>
</div>
</div>
<div id="next_articles">
next entries
<div class="next_article">
<a href="/Scratch/en/blog/04_drm/">DRM are EVIL&nbsp;<span class="nicer">»</span></a>
</div>
<div class="next_article">
<a href="/Scratch/en/blog/05_git_create_remote_branch/">Git remote branch creation&nbsp;<span class="nicer">»</span></a>
</div>
<div class="next_article">
<a href="/Scratch/en/blog/06_How_I_use_git/">Git for self&nbsp;<span class="nicer">»</span></a>
</div>
</div>

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

@ -72,10 +72,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>
@ -84,7 +84,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>
@ -92,16 +92,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>
@ -111,12 +111,6 @@ There is certainly many coherent explanations.</p>
</div>
<div class="navigation">
<div class="navigationprev"></div>
<div class="navigationnext"><a href="/Scratch/en/blog/03_losthighway/03_losthighway_1/">next&nbsp;<span class="nicer">»</span></a></div>
</div>
<div class="flush"></div>
<div id="choixrss">
<a id="rss" href="http://feeds.feedburner.com/yannespositocomen">

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

@ -66,7 +66,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">
@ -74,8 +74,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

@ -58,7 +58,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>
@ -70,7 +70,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>
<pre class="twilight">

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

@ -56,15 +56,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, event recompiling it in 64 bit it didn’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&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>
@ -164,7 +164,7 @@ After a bit more research (thanks to <a href="http://community.electricsheep.org
</div>
<div id="lastmod">
Created: 09/06/2009
Modified: 05/09/2010
Modified: 01/11/2012
</div>
<div>
Entirely done with

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

@ -72,7 +72,7 @@ ssh -p 443 -D 9050 username@host
<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>

11
Scratch/en/blog/09_Why_I_didn-t_keep_whosamung-us/index.html

@ -60,13 +60,14 @@
<p>This is why I now use google analytics. The only problem, remains for pages with no javascript support.</p>
<p>Then for now:
&lt;div class="encadre"&gt;
Theorem:<br /></p>
<p>Then for now: </p>
<div class="encadre">
Theorem:<br />
<center>
Google Analytics <big><strong>&gt;</strong></big> Who's Amung Us
<center>
</center></center>
</center></center></div>
</div>
@ -164,7 +165,7 @@ Google Analytics <big><strong>&gt;</strong></big> Who's Amung Us
</div>
<div id="lastmod">
Created: 09/11/2009
Modified: 09/02/2010
Modified: 01/11/2012
</div>
<div>
Entirely done with

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

@ -54,7 +54,11 @@
<div class="flush"></div>
<div id="afterheader">
<div class="corps">
<h1 class="first" id="update-small20091028small">Update <small>(2009/10/28)</small></h1>
<h1 class="first" id="update-small20120111small">Update <small>(2012/01/11)</small></h1>
<p>iDisk should soon disapear. This entry is mainly obsolescent now.</p>
<h1 id="update-small20091028small">Update <small>(2009/10/28)</small></h1>
<p>I <a href="/Scratch/en/blog/2009-10-28-custom-website-synchronisation-with-mobileme--2-">updated my script</a> which is now incremental. Since the writing of this article, Apple<small>&copy;</small> had made many efforts about the bandwith of its European servers.</p>
@ -79,13 +83,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>
@ -114,7 +118,7 @@ root=<span class="Variable"><span class="Variable">$</span>HOME</span>/Sites/<sp
destRep=<span class="Variable"><span class="Variable">$</span>iDisk</span>/Web/Sites/<span class="Variable"><span class="Variable">$</span>siteName</span>
[[ <span class="Keyword">!</span> -d <span class="Variable"><span class="Variable">$</span>root</span> ]] <span class="Keyword">&amp;&amp;</span> {
print -- <span class="String"><span class="String">&quot;</span><span class="StringVariable"><span class="StringVariable">$</span>root</span> n'existe pas&nbsp;; vérifiez la conf<span class="String">&quot;</span></span> <span class="Keyword">&gt;&amp;2</span><span class="Keyword">;</span>
print -- <span class="String"><span class="String">&quot;</span><span class="StringVariable"><span class="StringVariable">$</span>root</span> n'existe pas ; vérifiez la conf<span class="String">&quot;</span></span> <span class="Keyword">&gt;&amp;2</span><span class="Keyword">;</span>
exit 1
}
@ -222,7 +226,7 @@ root=<span class="Variable"><span class="Variable">$</span>HOME</span>/Sites/<sp
destRep=<span class="Variable"><span class="Variable">$</span>iDisk</span>/Web/Sites/<span class="Variable"><span class="Variable">$</span>siteName</span>
[[ <span class="Keyword">!</span> -d <span class="Variable"><span class="Variable">$</span>root</span> ]] <span class="Keyword">&amp;&amp;</span> {
print -- <span class="String"><span class="String">&quot;</span><span class="StringVariable"><span class="StringVariable">$</span>root</span> does not exist&nbsp;; please verify the configuration (<span class="StringVariable"><span class="StringVariable">$</span>0</span>)<span class="String">&quot;</span></span> <span class="Keyword">&gt;&amp;2</span><span class="Keyword">;</span>
print -- <span class="String"><span class="String">&quot;</span><span class="StringVariable"><span class="StringVariable">$</span>root</span> does not exist ; please verify the configuration (<span class="StringVariable"><span class="StringVariable">$</span>0</span>)<span class="String">&quot;</span></span> <span class="Keyword">&gt;&amp;2</span><span class="Keyword">;</span>
exit 1
}
@ -403,7 +407,7 @@ print -P -- <span class="String"><span class="String">&quot;</span> Publish ter
</div>
<div id="lastmod">
Created: 09/11/2009
Modified: 05/30/2011
Modified: 01/11/2012
</div>
<div>
Entirely done with

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

@ -58,7 +58,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>
@ -72,7 +72,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>
@ -85,7 +85,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>
@ -97,7 +97,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>
@ -127,7 +127,7 @@
<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

@ -56,7 +56,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>
@ -64,7 +64,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>
<pre class="twilight">
@ -87,8 +87,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>

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

File diff suppressed because one or more lines are too long

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

@ -56,7 +56,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>
<pre class="twilight">
@ -79,7 +79,9 @@ text
<div>
<pre class="twilight">
<span class="Keyword">def</span> <span class="Entity">allExceptCode</span>(<span class="Variable"> f<span class="Variable">,</span> content </span>)
regexp<span class="Keyword">=</span><span class="StringRegexp"><span class="StringRegexp">/</span></span><span class="StringRegexp">&lt;code<span class="StringRegexp"><span class="StringRegexp">[</span>^&gt;<span class="StringRegexp">]</span></span>*&gt;.*?&lt;<span class="StringRegexpSpecial">\/</span>code&gt;</span><span class="StringRegexp"><span class="StringRegexp">/m</span></span>
<span class="Comment"> <span class="Comment">#</span> Beware the behaviour will change if you add</span>
<span class="Comment"> <span class="Comment">#</span> parenthesis (groups) to the regexp!</span>
regexp<span class="Keyword">=</span><span class="StringRegexp"><span class="StringRegexp">/</span></span><span class="StringRegexp">&lt;code<span class="StringRegexp"><span class="StringRegexp">[</span>^&gt;<span class="StringRegexp">]</span></span>*&gt;.*?&lt;<span class="StringRegexpSpecial">\/</span>code&gt;|&lt;pre<span class="StringRegexp"><span class="StringRegexp">[</span>^&gt;<span class="StringRegexp">]</span></span>*&gt;.*?&lt;<span class="StringRegexpSpecial">\/</span>pre&gt;</span><span class="StringRegexp"><span class="StringRegexp">/m</span></span>
tmp<span class="Keyword">=</span><span class="String"><span class="String">&quot;</span><span class="String">&quot;</span></span>
mem<span class="Keyword">=</span>[]
content.<span class="Entity">scan</span>(regexp).<span class="Entity">each</span> <span class="Keyword">do </span>|<span class="Variable">c</span>|
@ -88,7 +90,7 @@ text
i<span class="Keyword">=</span><span class="Constant">0</span>
content.<span class="Entity">split</span>(regexp).<span class="Entity">each</span> <span class="Keyword">do </span>|<span class="Variable">x</span>|
tmp <span class="Keyword">&lt;&lt;=</span> <span class="Entity">send</span>(f,x)
<span class="Keyword">if</span> <span class="Keyword">not</span> mem[i].<span class="Entity">nil?</span>
<span class="Keyword">if</span> <span class="Keyword">not</span> mem[i].<span class="Entity">nil?</span>
tmp <span class="Keyword">&lt;&lt;=</span> mem[i]
i<span class="Keyword">+=</span><span class="Constant">1</span>
<span class="Keyword">end</span>
@ -115,7 +117,7 @@ text
<div>
<pre class="twilight">
<span class="Comment"><span class="Comment">#</span>&nbsp;!!!!!!!!!! THIS SYNTAX DOES NOT WORK&nbsp;!!!!!!! #</span>
<span class="Comment"><span class="Comment">#</span> !!!!!!!!!! THIS SYNTAX DOES NOT WORK !!!!!!! #</span>
<span class="Keyword">def</span> <span class="Entity">allExceptCode</span>(<span class="Variable"> f<span class="Variable">,</span> content </span>)
regexp<span class="Keyword">=</span><span class="StringRegexp"><span class="StringRegexp">/</span></span><span class="StringRegexp">&lt;code<span class="StringRegexp"><span class="StringRegexp">[</span>^&gt;<span class="StringRegexp">]</span></span>*&gt;.*?&lt;<span class="StringRegexpSpecial">\/</span>code&gt;</span><span class="StringRegexp"><span class="StringRegexp">/m</span></span>
tmp<span class="Keyword">=</span><span class="String"><span class="String">&quot;</span><span class="String">&quot;</span></span>
@ -231,7 +233,7 @@ text
</div>
<div id="lastmod">
Created: 09/22/2009
Modified: 05/09/2010
Modified: 01/11/2012
</div>
<div>
Entirely done with

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

@ -58,22 +58,22 @@
<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><pre class="twilight">
mv folder folder2
</pre></div>
<p>It returns OK and Ive got: </p>
<p>It returns OK and I&rsquo;ve got: </p>
<div><pre class="twilight">
$ ls
folder folder2
</pre></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="code"><div class="file"><a href="/Scratch/en/blog/2009-10-28-custom-website-synchronisation-with-mobileme--2-/code/webdav-framework"> &#x27A5; webdav-framework </a></div><div class="withfile">
<pre class="twilight">
@ -206,7 +206,7 @@ source <span class="Variable"><span class="Variable">$</span>0</span>:h/config
source <span class="Variable"><span class="Variable">$</span>0</span>:h/webdav-framework
<span class="Keyword">if</span> [[ <span class="Variable"><span class="Variable">$</span>1</span> <span class="Keyword">==</span> <span class="String"><span class="String">'</span>-h<span class="String">'</span></span> ]]<span class="Keyword">;</span> <span class="Keyword">then</span>
print -- <span class="String"><span class="String">&quot;</span>usage&nbsp;: <span class="StringVariable"><span class="StringVariable">$</span>0</span>:h [-h|-s|-d]<span class="String">&quot;</span></span>
print -- <span class="String"><span class="String">&quot;</span>usage : <span class="StringVariable"><span class="StringVariable">$</span>0</span>:h [-h|-s|-d]<span class="String">&quot;</span></span>
print -- <span class="String"><span class="String">&quot;</span> -a sychronise aussi l'index<span class="String">&quot;</span></span>
print -- <span class="String"><span class="String">&quot;</span> -h affiche l'aide<span class="String">&quot;</span></span>
print -- <span class="String"><span class="String">&quot;</span> -d modification directe (pas de swap)<span class="String">&quot;</span></span>
@ -232,7 +232,7 @@ function incrementalPublish {
<span class="Keyword">if</span> ((<span class="Variable"><span class="Variable">${</span>#filesToUpdate<span class="Variable">}</span></span> == 1))<span class="Keyword">;</span> <span class="Keyword">then</span>
print -- <span class="String"><span class="String">&quot;</span>Seul le fichier <span class="StringVariable"><span class="StringVariable">${</span>filesToUpdate<span class="StringVariable">}</span></span> sera téléversé<span class="String">&quot;</span></span>
<span class="Keyword">elif</span> ((<span class="Variable"><span class="Variable">${</span>#filesToUpdate<span class="Variable">}</span></span><span class="Keyword">&lt;</span>10))<span class="Keyword">;</span> <span class="Keyword">then</span>
print -- <span class="String"><span class="String">&quot;</span><span class="StringVariable"><span class="StringVariable">${</span>#filesToUpdate<span class="StringVariable">}</span></span> fichiers seront téléversés&nbsp;:<span class="String">&quot;</span></span>
print -- <span class="String"><span class="String">&quot;</span><span class="StringVariable"><span class="StringVariable">${</span>#filesToUpdate<span class="StringVariable">}</span></span> fichiers seront téléversés :<span class="String">&quot;</span></span>
print -- <span class="String"><span class="String">&quot;</span><span class="StringVariable"><span class="StringVariable">${</span>filesToUpdate<span class="StringVariable">}</span></span><span class="String">&quot;</span></span>
<span class="Keyword">else</span>
print -- <span class="String"><span class="String">&quot;</span><span class="StringVariable"><span class="StringVariable">${</span>#filesToUpdate<span class="StringVariable">}</span></span> fichiers seront téléversés<span class="String">&quot;</span></span>
@ -314,7 +314,7 @@ print -- <span class="String"><span class="String">&quot;</span>Dest = <span cla
</div></div></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>

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

@ -76,18 +76,18 @@
<span class="Variable">this</span>.<span class="SupportConstant">disabled</span> <span class="Keyword">=</span> <span class="Constant">true</span>;
<span class="Keyword">if</span> (<span class="Variable">this</span>.<span class="SupportFunction">getAttribute</span>(<span class="String"><span class="String">'</span>href<span class="String">'</span></span>) <span class="Keyword">==</span> <span class="String"><span class="String">'</span>/css/gen.css<span class="String">'</span></span>)
<span class="Variable">this</span>.<span class="SupportConstant">disabled</span> <span class="Keyword">=</span> <span class="Constant">true</span>;
})&nbsp;;
}) ;
<span class="Comment"><span class="Comment">//</span> Append the CSS for IE only</span>
<span class="Keyword">$</span>(<span class="String"><span class="String">'</span>head<span class="String">'</span></span>).append(<span class="String"><span class="String">'</span>&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;/css/ie.css&quot;/&gt;<span class="String">'</span></span>);
<span class="Comment"><span class="Comment">//</span> I also add a message on top of the page</span>
<span class="Keyword">$</span>(<span class="String"><span class="String">'</span>body<span class="String">'</span></span>).prepend(<span class="String"><span class="String">'</span>&lt;div id=&quot;iemessage&quot;&gt;&lt;p&gt;&lt;span class=&quot;fr&quot;&gt;&lt;em&gt;Avec &lt;a href=&quot;http://www.firefox.com&quot;&gt; Firefox &lt;/a&gt; et &lt;a href=&quot;http://www.apple.com/safari&quot;&gt;Safari&lt;/a&gt; cette page est bien plus jolie&nbsp;!&lt;/em&gt;&lt;/span&gt;&lt;span class=&quot;en&quot;&gt;&lt;em&gt;This page is far nicer with &lt;a href=&quot;http://www.firefox.com&quot;&gt; Firefox &lt;/a&gt; and &lt;a href=&quot;http://www.apple.com/safari&quot;&gt;Safari&lt;/a&gt;!&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;.&lt;/div&gt;<span class="String">'</span></span>);
<span class="Keyword">$</span>(<span class="String"><span class="String">'</span>body<span class="String">'</span></span>).prepend(<span class="String"><span class="String">'</span>&lt;div id=&quot;iemessage&quot;&gt;&lt;p&gt;&lt;span class=&quot;fr&quot;&gt;&lt;em&gt;Avec &lt;a href=&quot;http://www.firefox.com&quot;&gt; Firefox &lt;/a&gt; et &lt;a href=&quot;http://www.apple.com/safari&quot;&gt;Safari&lt;/a&gt; cette page est bien plus jolie !&lt;/em&gt;&lt;/span&gt;&lt;span class=&quot;en&quot;&gt;&lt;em&gt;This page is far nicer with &lt;a href=&quot;http://www.firefox.com&quot;&gt; Firefox &lt;/a&gt; and &lt;a href=&quot;http://www.apple.com/safari&quot;&gt;Safari&lt;/a&gt;!&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;.&lt;/div&gt;<span class="String">'</span></span>);
</pre>
</div></div></div>
<p>Thats it.</p>
<p>That&rsquo;s it.</p>
</div>

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

@ -54,9 +54,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

@ -79,7 +79,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

@ -135,7 +135,7 @@
</pre></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

@ -54,7 +54,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

@ -54,9 +54,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>
@ -72,7 +72,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>
@ -82,7 +82,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>
@ -91,21 +91,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>
@ -113,7 +113,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>
@ -124,11 +124,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 unde