<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://www.artefarita.com/journel/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>Journel</title>
  <link>http://www.artefarita.com/journel/</link>
  <atom:link href="http://www.artefarita.com/journel/feed/navlang:en/rss2" rel="self" type="application/rss+xml"/>
  <description>Tu vaudras aux yeux du monde ce que tu vaux à tes yeux</description>
  <language>en</language>
  <pubDate>Sat, 23 Mar 2013 15:33:28 +0100</pubDate>
  <copyright></copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>Résoudre le gel d'Ubuntu 12.04</title>
    <link>http://www.artefarita.com/journel/post/2012/09/10/R%C3%A9soudre-le-gel-d-Ubuntu-12.04</link>
    <guid isPermaLink="false">urn:md5:7a696a57cdc3c37238dae955aba7f8ca</guid>
    <pubDate>Monday 10 September 2012</pubDate>
    <dc:creator>Grégoire</dc:creator>
        <category>Science with conscience</category>
        <category>Informatique</category><category>Linux</category>    
    <description>    &lt;p&gt;Un certain nombre d&amp;rsquo;utilisateurs d&amp;rsquo;Ubuntu 12.04 se plaignent que l&amp;rsquo;interface graphique se fige plus ou moins complètement sans aucune raison apparente. La différence entre le &quot;plus&quot; et le &quot;moins&quot; semblant être le curseur&amp;nbsp;: chez certains il peut encore bouger, chez d&amp;rsquo;autres non, vous vous retrouvez dans tous les cas à devoir appuyer pendant 5 secondes sur le bouton I/O de votre PC… Être contraint de faire un «hard reset» sous Linux, aïe, ça fait mal…&lt;/p&gt;


&lt;h3&gt;Le rapport de bogue 993187&lt;/h3&gt;


&lt;p&gt;Ce phénomène a donné lieu au &lt;a href=&quot;https://bugs.launchpad.net/bugs/993187&quot; hreflang=&quot;en&quot; title=&quot;Rapport de bogue 993187 d&amp;#039;Ubuntu&quot;&gt;rapport de bogue 993187&lt;/a&gt; avec plus de 400 commentaires… Bien que le problème soit grave, puisque du même niveau que le fameux «écran bleu de la mort» qui sévissait il y a quelques années dans un système d&amp;rsquo;exploitation concurrent, ce bogue a le statut «Won&amp;rsquo;t fix», signifiant qu&amp;rsquo;il ne sera pas corrigé. Les développeurs d&amp;rsquo;Ubuntu sont-ils déprimés? Non, en fait, ils pensent qu&amp;rsquo;il y a plusieurs bogues différents qui conduisent au même symptôme, et incitent les utilisateurs à choisir un autre rapport de bogue, plus précis celui-là.&lt;/p&gt;


&lt;h3&gt;Idée n°1&amp;nbsp;: se passer du pilote propriétaire NVidia&lt;/h3&gt;


&lt;p&gt;Mon PC plantant environ une fois par jour, j&amp;rsquo;ai commencé par soupçonner le pilote propriétaire NVidia, et j&amp;rsquo;ai donc essayé d&amp;rsquo;utiliser &lt;a href=&quot;http://nouveau.freedesktop.org&quot; hreflang=&quot;en&quot; title=&quot;Nouveau, Accelerated Open Source driver for nVidia cards&quot;&gt;le pilote libre &quot;nouveau&quot;&lt;/a&gt; à la place. Mais si l&amp;rsquo;installation du pilote propriétaire &quot;nvidia&quot; supprime &quot;nouveau&quot;, le chemin inverse n&amp;rsquo;est pas automatique, et désinstaller le pilote &quot;nvidia&quot; vous laisse avec le pilote &quot;vesa&quot; des temps glorieux, autrement dit avec un écran en 1024x768 qui n&amp;rsquo;est utilisable qu&amp;rsquo;à court terme… Et puis, certains rapporteurs ayant le problème avec des cartes ATI, je me suis dit que le pilote NVidia n&amp;rsquo;y était peut-être pour rien (&lt;em&gt;bon allez circulez, ça ira pour cette fois&lt;/em&gt;)…&lt;/p&gt;


&lt;h3&gt;Idée n°2&amp;nbsp;: utiliser Linux 3.4&lt;/h3&gt;


&lt;p&gt;D&amp;rsquo;autres utilisateurs signalant que le passage au noyau Linux 3.4 faisait disparaître le problème, j&amp;rsquo;ai testé, et ce qui m&amp;rsquo;est apparu le plus clairement, c&amp;rsquo;est qu&amp;rsquo;en noyau 3.4, le pilote propriétaire NVidia présent dans les dépôts Ubuntu refusait de s&amp;rsquo;installer. J&amp;rsquo;étais donc toujours avec le pilote &quot;vesa&quot;. Peut-être que les utilisateurs passés en 3.4 ont installé le pilote propriétaire NVidia à la main, je ne sais pas. Ça ne me plaisait pas d&amp;rsquo;être &quot;hors dépôts officiels&quot; pour le noyau et le pilote NVidia, et je suis donc repassé en 3.2.&lt;/p&gt;


&lt;h3&gt;Idée n°3 (et solution)&amp;nbsp;: désactiver Compiz&lt;/h3&gt;


&lt;p&gt;Entre temps, il m&amp;rsquo;était venu une idée&amp;nbsp;: si ce n&amp;rsquo;est ni le pilote propriétaire NVidia, ni le noyau Linux, quel est le point commun entre tous les utilisateurs? Hé bien, il semblerait que ça soit &lt;a href=&quot;http://www.compiz.org/&quot;&gt;Compiz&lt;/a&gt;, cette couche OpenGL qui sert à 3D-ifier le bureau. Désactiver Compiz se fait au niveau de l&amp;rsquo;écran de connexion&amp;nbsp;: cliquez sur le picto Ubuntu à droite dans la fenêtre de connexion, choisissez &quot;Ubuntu 2D&quot;, puis entrez votre mot de passe comme d&amp;rsquo;habitude. Chez moi, avec le noyau 3.2.0-30 et le pilote propriétaire NVidia &quot;current&quot;, je n&amp;rsquo;ai eu aucun plantage depuis, et j&amp;rsquo;ai retrouvé mes deux écrans dans leurs résolutions optimales qui ne font pas mal aux yeux…&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;&amp;nbsp;: pour obtenir la fenêtre d&amp;rsquo;installation du pilote propriétaire NVidia quand on est avec le pilote &quot;vesa&quot;, il faut chercher &quot;jockey&quot; dans les applications.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Le mode web-app de Safari Mobile</title>
    <link>http://www.artefarita.com/journel/post/2012/06/28/Le-mode-web-app-de-Safari-Mobile</link>
    <guid isPermaLink="false">urn:md5:3866788ee60a7c3791f5dcde6407f205</guid>
    <pubDate>Thursday 28 June 2012</pubDate>
    <dc:creator>Grégoire</dc:creator>
        <category>Science with conscience</category>
        <category>Informatique</category>    
    <description>    &lt;p&gt;Avec Safari Mobile sur iPhone et iPad, il est possible de donner à une page web l&amp;rsquo;allure générale d&amp;rsquo;une application (cela signifie en particulier que l&amp;rsquo;espace occupé par la barre de navigation sera libéré). Il y a quelques petits trucs à savoir pour que le mode web-app fonctionne, et surtout fonctionne bien.&lt;/p&gt;


&lt;h3&gt;Rendre possible le mode web-app&lt;/h3&gt;


&lt;p&gt;&lt;strong&gt;Afin que Safari Mobile propose l&amp;rsquo;ajout à l&amp;rsquo;écran d&amp;rsquo;accueil&lt;/strong&gt; d&amp;rsquo;une page web ordinaire et donc l&amp;rsquo;ouverture de cette page en mode web-app, il faut ajouter dans l&amp;rsquo;entête de la page&amp;nbsp;:&lt;/p&gt;

&lt;pre class=&quot;xml xml&quot; style=&quot;font-family:inherit&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;meta&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;apple-mobile-web-app-capable&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;content&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;yes&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;


&lt;h3&gt;Une icône pour le lanceur&lt;/h3&gt;


&lt;p&gt;Il est aussi possible de configurer &lt;strong&gt;l&amp;rsquo;icône pour le lanceur&lt;/strong&gt; avec&amp;nbsp;:&lt;/p&gt;

&lt;pre class=&quot;xml xml&quot; style=&quot;font-family:inherit&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;link&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;rel&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;apple-touch-icon&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;/images/icone-pour-iOS.png&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;


&lt;h3&gt;Le mode web-app, y entrer et y rester&lt;/h3&gt;


&lt;p&gt;La vraie difficulté technique pour gérer correctement le mode web-app, c&amp;rsquo;est que &lt;strong&gt;lors d&amp;rsquo;un clic sur un lien, on sort du mode web-app&lt;/strong&gt; pour revenir dans Safari (on récupère donc la barre de navigation en haut).&lt;/p&gt;


&lt;p&gt;Heureusement, il est possible de contourner ce comportement par défaut, qui est le plus souvent indésirable, par un appel à &quot;event.preventDefault()&quot; sur les éléments &amp;lt;a&amp;gt;, appel qui sera suivi de l&amp;rsquo;utilisation de &quot;window.location&quot; pour changer de page. Avec JQuery cela donne&amp;nbsp;:&lt;/p&gt;

&lt;pre class=&quot;javascript javascript&quot; style=&quot;font-family:inherit&quot;&gt;$&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;document&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;ready&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt;
    $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&amp;quot;a&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;click&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;event&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;  &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;navigator.&lt;span style=&quot;color: #660066;&quot;&gt;standalone&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;
              &lt;span style=&quot;color: #339933;&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;
              &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;navigator.&lt;span style=&quot;color: #660066;&quot;&gt;userAgent&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;indexOf&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&amp;quot;iPhone&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #CC0000;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;||&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;navigator.&lt;span style=&quot;color: #660066;&quot;&gt;userAgent&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;indexOf&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&amp;quot;iPad&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #CC0000;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt;
            &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// On bloque les liens quand on est en mode web-app sur iPhone et iPad&lt;/span&gt;
            event.&lt;span style=&quot;color: #660066;&quot;&gt;preventDefault&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
            &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// On recâble le lien à la main grâce à window.location&lt;/span&gt;
            window.&lt;span style=&quot;color: #660066;&quot;&gt;location&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;this&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;attr&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&amp;quot;href&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
        &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt;
    &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/pre&gt;


&lt;h3&gt;Liens vers une application native iOS en mode web-app&lt;/h3&gt;


&lt;p&gt;Si l&amp;rsquo;on veut &lt;strong&gt;lancer une application native iOS à partir du mode web-app de Safari Mobile&lt;/strong&gt; (ça commence à devenir pointu!), la fonction ci-dessus empêchera ces liens particuliers de fonctionner. Les liens du type&amp;nbsp;:&lt;/p&gt;
&lt;pre class=&quot;xml xml&quot; style=&quot;font-family:inherit&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;a&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;monApplicationNative://mesParametres&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;Ouvrir l'application native&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/a&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;fonctionneront dans Safari en mode navigateur mais pas en mode web-app.&lt;/p&gt;


&lt;p&gt;Il convient alors d&amp;rsquo;ajouter un attribut class=&quot;lienVersAppli&quot; aux éléments &amp;lt;a&amp;gt; concernés, puis de modifier la fonction JavaScript pour ne pas bloquer le comportement par défaut pour les liens qui ont cette classe CSS.&lt;/p&gt;


&lt;p&gt;La fonction JQuery sera alors un petit peu plus complexe&amp;nbsp;:&lt;/p&gt;

&lt;pre class=&quot;javascript javascript&quot; style=&quot;font-family:inherit&quot;&gt;$&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;document&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;ready&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt;
    $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&amp;quot;a&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;click&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;event&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;  &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;navigator.&lt;span style=&quot;color: #660066;&quot;&gt;standalone&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;
              &lt;span style=&quot;color: #339933;&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;
              &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;navigator.&lt;span style=&quot;color: #660066;&quot;&gt;userAgent&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;indexOf&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&amp;quot;iPhone&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #CC0000;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;||&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;navigator.&lt;span style=&quot;color: #660066;&quot;&gt;userAgent&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;indexOf&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&amp;quot;iPad&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #CC0000;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;
           &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt;
             &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;  &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;$&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;this&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;attr&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;'class'&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;!=&lt;/span&gt; &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;null&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;
                   &lt;span style=&quot;color: #339933;&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;
                   &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;$&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;this&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;attr&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;'class'&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;indexOf&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&amp;quot;lienVersAppli&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;!=&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #CC0000;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;
                 &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;
             &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt;
                 &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// On conserve le comportement par défaut&lt;/span&gt;
                 &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// pour les liens ayant la classe &amp;quot;lienVersAppli&amp;quot; (lire la Note ci-dessous)&lt;/span&gt;
                 window.&lt;span style=&quot;color: #660066;&quot;&gt;location&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;this&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;attr&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&amp;quot;href&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
             &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt;
             &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt;
                 &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// Sinon (lien ordinaire), on bloque le comportement par défaut&lt;/span&gt;
                 event.&lt;span style=&quot;color: #660066;&quot;&gt;preventDefault&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
                 &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// et on recâble le lien à la main grâce à window.location&lt;/span&gt;
                 window.&lt;span style=&quot;color: #660066;&quot;&gt;location&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;this&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;attr&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&amp;quot;href&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
             &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt;
        &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt;
    &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/pre&gt;


&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;&amp;nbsp;: sur ce sujet, je me souviens qu&amp;rsquo;un collègue m&amp;rsquo;avait signalé que l&amp;rsquo;application native était appelée deux fois (il voyait arriver deux requêtes dans &lt;a href=&quot;https://developer.apple.com/xcode/&quot; hreflang=&quot;en&quot; title=&quot;XCode - Apple Developer&quot;&gt;XCode&lt;/a&gt;), mais je ne sais plus trop si la fonction ci-dessus générait ce comportement ou si c&amp;rsquo;est la version corrigée. Si c&amp;rsquo;est la version boguée, il devrait suffire, je pense, de retirer l&amp;rsquo;affectation de window.location dans le bloc &quot;if&quot;.&lt;/p&gt;


&lt;h3&gt;Une image lors du chargement de la web-app&lt;/h3&gt;


&lt;p&gt;Cerise sur le gâteau à la pomme, il est aussi possible, lors du chargement de la web-app, d&amp;rsquo;&lt;strong&gt;afficher une image pour faire patienter l&amp;rsquo;utilisateur&lt;/strong&gt;. Ça n&amp;rsquo;a rien de compliqué non plus, mais il ne faut pas se tromper dans les tailles d&amp;rsquo;images. C&amp;rsquo;est très précis, il faut&amp;nbsp;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;iPad format paysage&amp;nbsp;: largeur 1024, hauteur 748&lt;/li&gt;
&lt;li&gt;iPad format portrait&amp;nbsp;: largeur 768, hauteur 1004&lt;/li&gt;
&lt;li&gt;iPhone format paysage&amp;nbsp;: largeur 300, hauteur 480&lt;/li&gt;
&lt;li&gt;iPhone format portrait&amp;nbsp;: largeur 320, hauteur 460&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On distinguera les différents formats par l&amp;rsquo;attribut &quot;media&quot; et donc on aura quelque chose comme&amp;nbsp;:&lt;/p&gt;

&lt;pre class=&quot;xml xml&quot; style=&quot;font-family:inherit&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;&amp;lt;!-- iPad - landscape (1024x748) --&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;link&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;rel&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;apple-touch-startup-image&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;         &lt;span style=&quot;color: #000066;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;/images/splash-ipad-paysage.png&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;         &lt;span style=&quot;color: #000066;&quot;&gt;media&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;screen&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;                      and (min-device-width: 768px)&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;                      and (max-device-width: 1024px)&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;                      and (orientation:landscape)&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;&amp;lt;!-- iPad - portrait (768x1004) --&amp;gt;&lt;/span&gt;  
&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;link&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;rel&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;apple-touch-startup-image&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;         &lt;span style=&quot;color: #000066;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;/images/splash-ipad-portrait.png&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;         &lt;span style=&quot;color: #000066;&quot;&gt;media&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;screen&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;                      and (min-device-width: 768px)&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;                      and (max-device-width: 1024px)&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;                      and (orientation:portrait)&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;&amp;lt;!-- iPhone - landscape (300x480) --&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;link&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;rel&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;apple-touch-startup-image&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;         &lt;span style=&quot;color: #000066;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;/images/splash-iphone-paysage.png&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;         &lt;span style=&quot;color: #000066;&quot;&gt;media&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;screen&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;                      and (min-device-width: 320px)&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;                      and (max-device-width: 480px)&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;                      and (orientation:landscape)&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;&amp;lt;!-- iPhone - portrait (320x460) --&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;link&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;rel&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;apple-touch-startup-image&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;         &lt;span style=&quot;color: #000066;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;/images/splash-iphone-portrait.png&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;         &lt;span style=&quot;color: #000066;&quot;&gt;media&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;screen&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;                      and (min-device-width: 320px)&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;                      and (max-device-width: 480px)&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;                      and (orientation:portrait)&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;


&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;&amp;nbsp;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;les tailles indiquées dans l&amp;rsquo;article, ainsi que dans les commentaires HTML, correspondent aux tailles des images à préparer pour que Safari les affiche correctement. Ces tailles correspondent à la résolution de l&amp;rsquo;écran de l&amp;rsquo;iPad ou de l&amp;rsquo;iPhone, mais avec à chaque fois 20 pixels de moins sur l&amp;rsquo;une des deux dimensions. D&amp;rsquo;où les résolutions en apparence bizarres&amp;nbsp;: 1024x748, 768x1004, 300x480 et 320x460.&lt;/li&gt;
&lt;li&gt;l&amp;rsquo;attribut &quot;media&quot; utilise lui 768px et 1024px, ou 320px et 480px, car ce sont les dimensions des écrans (là le but est seulement de pouvoir distinguer l&amp;rsquo;iPhone de l&amp;rsquo;iPad).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Voilà, sauf oubli, c&amp;rsquo;est tout ce que j&amp;rsquo;ai à dire sur ce sujet du mode web-app de Safari Mobile. Si vous constatez une erreur, &lt;a href=&quot;http://www.artefarita.com/journel/contact&quot;&gt;merci de me prévenir&lt;/a&gt;.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Tomcat SSL avec clé privée fournie</title>
    <link>http://www.artefarita.com/journel/post/2012/06/19/Tomcat-SSL-avec-cl%C3%A9-priv%C3%A9e-fournie</link>
    <guid isPermaLink="false">urn:md5:b4658c320f01fe2ae296717f82385810</guid>
    <pubDate>Tuesday 19 June 2012</pubDate>
    <dc:creator>Grégoire</dc:creator>
        <category>Science with conscience</category>
        <category>Informatique</category>    
    <description>    &lt;p&gt;La configuration du protocole HTTPS dans Tomcat est, apparemment, bien documentée&amp;nbsp;:&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html&quot; hreflang=&quot;en&quot; title=&quot;Tomcat 7 SSL howto&quot;&gt;http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;Avant de se lancer dans la configuration, il faut savoir exactement dans quelle situation on se trouve. Il y en a (sauf erreur de ma part), deux&amp;nbsp;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;pour un serveur de test, on pourra se contenter de générer un certificat autosigné, ce qui est la situation la plus simple, mais l&amp;rsquo;utilisateur devra accepter une &quot;exception de sécurité&quot; lors de sa première connexion (je n&amp;rsquo;en parle pas plus bas);&lt;/li&gt;
&lt;li&gt;pour un serveur de production, on devra utiliser un certificat racine, fourni par une autorité de certification reconnue par les navigateurs web. Il y a alors deux possibilités&amp;nbsp;: soit (A) le client vous laisse générer le certificat du serveur et la clé privée (je n&amp;rsquo;en parle pas plus bas), soit (B) le client vous fournit tous les fichiers.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Ce billet traite du cas (B), quand le client fournit trois fichiers au format PEM et le mot de passe associé à la clé privée&amp;nbsp;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;une chaîne de certification (chain.pem) contenant deux certificats accolés, fichier fourni par l&amp;rsquo;autorité de certification (CA);&lt;/li&gt;
&lt;li&gt;un certificat (cert.pem) pour le serveur, qui sera présenté au navigateur accédant au site par HTTPS;&lt;/li&gt;
&lt;li&gt;une clé privée (key.pem) qui servira à chiffrer les données.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On supposera que le mot de passe vaut &quot;MotDePasseDeLaClef&quot; pour la suite.&lt;/p&gt;


&lt;p&gt;Le principe général de la configuration est de générer et de remplir un fichier &quot;keystore&quot;, qui, comme son nom l&amp;rsquo;indique, va contenir les clés et les certificats utilisés pour le chiffrement.&lt;/p&gt;


&lt;h2&gt;Conversion au format DER&lt;/h2&gt;


&lt;p&gt;Il faut d&amp;rsquo;abord convertir les fichiers PEM au format DER avec les commandes&amp;nbsp;:&lt;/p&gt;

&lt;pre&gt;
openssl pkcs8 -topk8 -nocrypt -in key.pem -inform PEM -out key.der -outform DER
openssl x509 -in cert.pem -inform PEM -out cert.der -outform DER
&lt;/pre&gt;


&lt;p&gt;On obtient donc deux fichiers &quot;key.der&quot; et &quot;cert.der&quot;, qu&amp;rsquo;il va falloir insérer dans un fichier &quot;keystore&quot; qu&amp;rsquo;il reste à créer.
Génération du keystore avec la clé privée fournie&lt;/p&gt;


&lt;p&gt;Toute la difficulté de la configuration est liée au fait que l&amp;rsquo;outil &quot;keytool&quot; de Sun permet de générer des clés privées, mais pas d&amp;rsquo;en importer. Or c&amp;rsquo;est cela que nous voulons faire. Nous utilisons donc un programme annexe, intitulé &quot;importKey.java&quot;, pour effectuer cette opération. Voici le code-source de ce programme&amp;nbsp;:&lt;/p&gt;

&lt;pre class=&quot;java java&quot; style=&quot;font-family:inherit&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;java.security.*&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;java.io.IOException&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;java.io.InputStream&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;java.io.FileInputStream&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;java.io.DataInputStream&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;java.io.ByteArrayInputStream&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;java.io.FileOutputStream&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;java.security.spec.*&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;java.security.cert.Certificate&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;java.security.cert.CertificateFactory&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;java.util.Collection&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;java.util.Iterator&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #008000; font-style: italic; font-weight: bold;&quot;&gt;/**
 * ImportKey.java
 *
 * &amp;lt;p&amp;gt;This class imports a key and a certificate into a keystore
 * (&amp;lt;code&amp;gt;$home/keystore.ImportKey&amp;lt;/code&amp;gt;). If the keystore is
 * already present, it is simply deleted. Both the key and the
 * certificate file must be in &amp;lt;code&amp;gt;DER&amp;lt;/code&amp;gt;-format. The key must be
 * encoded with &amp;lt;code&amp;gt;PKCS#8&amp;lt;/code&amp;gt;-format. The certificate must be
 * encoded in &amp;lt;code&amp;gt;X.509&amp;lt;/code&amp;gt;-format.&amp;lt;/p&amp;gt;
 *
 * &amp;lt;p&amp;gt;Key format:&amp;lt;/p&amp;gt;
 * &amp;lt;p&amp;gt;&amp;lt;code&amp;gt;openssl pkcs8 -topk8 -nocrypt -in YOUR.KEY -out YOUR.KEY.der
 * -outform der&amp;lt;/code&amp;gt;&amp;lt;/p&amp;gt;
 * &amp;lt;p&amp;gt;Format of the certificate:&amp;lt;/p&amp;gt;
 * &amp;lt;p&amp;gt;&amp;lt;code&amp;gt;openssl x509 -in YOUR.CERT -out YOUR.CERT.der -outform
 * der&amp;lt;/code&amp;gt;&amp;lt;/p&amp;gt;
 * &amp;lt;p&amp;gt;Import key and certificate:&amp;lt;/p&amp;gt;
 * &amp;lt;p&amp;gt;&amp;lt;code&amp;gt;java comu.ImportKey YOUR.KEY.der YOUR.CERT.der&amp;lt;/code&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;br /&amp;gt;
 *
 * &amp;lt;p&amp;gt;&amp;lt;em&amp;gt;Caution:&amp;lt;/em&amp;gt; the old &amp;lt;code&amp;gt;keystore.ImportKey&amp;lt;/code&amp;gt;-file is
 * deleted and replaced with a keystore only containing &amp;lt;code&amp;gt;YOUR.KEY&amp;lt;/code&amp;gt;
 * and &amp;lt;code&amp;gt;YOUR.CERT&amp;lt;/code&amp;gt;. The keystore and the key has no password;
 * they can be set by the &amp;lt;code&amp;gt;keytool -keypasswd&amp;lt;/code&amp;gt;-command for setting
 * the key password, and the &amp;lt;code&amp;gt;keytool -storepasswd&amp;lt;/code&amp;gt;-command to set
 * the keystore password.
 * &amp;lt;p&amp;gt;The key and the certificate is stored under the alias
 * &amp;lt;code&amp;gt;importkey&amp;lt;/code&amp;gt;; to change this, use &amp;lt;code&amp;gt;keytool -keyclone&amp;lt;/code&amp;gt;.
 *
 * Created: Fri Apr 13 18:15:07 2001
 * Updated: Fri Apr 19 11:03:00 2002
 *
 * @author Joachim Karrer, Jens Carlberg
 * @version 1.1
 **/&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;class&lt;/span&gt; ImportKey  &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
    &lt;span style=&quot;color: #008000; font-style: italic; font-weight: bold;&quot;&gt;/**
     * &amp;lt;p&amp;gt;Creates an InputStream from a file, and fills it with the complete
     * file. Thus, available() on the returned InputStream will return the
     * full number of bytes the file contains&amp;lt;/p&amp;gt;
     * @param fname The filename
     * @return The filled InputStream
     * @exception IOException, if the Streams couldn't be created.
     **/&lt;/span&gt;
    &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;static&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;InputStream&lt;/span&gt; fullStream &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;String&lt;/span&gt; fname &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;throws&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;IOException&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span style=&quot;color: #003399;&quot;&gt;FileInputStream&lt;/span&gt; fis &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;FileInputStream&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;fname&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
        &lt;span style=&quot;color: #003399;&quot;&gt;DataInputStream&lt;/span&gt; dis &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;DataInputStream&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;fis&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
        &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;byte&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#93;&lt;/span&gt; bytes &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;byte&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#91;&lt;/span&gt;dis.&lt;span style=&quot;color: #006633;&quot;&gt;available&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
        dis.&lt;span style=&quot;color: #006633;&quot;&gt;readFully&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;bytes&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
        &lt;span style=&quot;color: #003399;&quot;&gt;ByteArrayInputStream&lt;/span&gt; bais &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;ByteArrayInputStream&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;bytes&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
        &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;return&lt;/span&gt; bais&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
    &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
    &lt;span style=&quot;color: #008000; font-style: italic; font-weight: bold;&quot;&gt;/**
     * &amp;lt;p&amp;gt;Takes two file names for a key and the certificate for the key,
     * and imports those into a keystore. Optionally it takes an alias
     * for the key.
     * &amp;lt;p&amp;gt;The first argument is the filename for the key. The key should be
     * in PKCS8-format.
     * &amp;lt;p&amp;gt;The second argument is the filename for the certificate for the key.
     * &amp;lt;p&amp;gt;If a third argument is given it is used as the alias. If missing,
     * the key is imported with the alias importkey
     * &amp;lt;p&amp;gt;The name of the keystore file can be controlled by setting
     * the keystore property (java -Dkeystore=mykeystore). If no name
     * is given, the file is named &amp;lt;code&amp;gt;keystore.ImportKey&amp;lt;/code&amp;gt;
     * and placed in your home directory.
     * @param args [0] Name of the key file, [1] Name of the certificate file
     * [2] Alias for the key.
     **/&lt;/span&gt;
    &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;static&lt;/span&gt; &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;void&lt;/span&gt; main &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;String&lt;/span&gt; args&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
        &lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;// change this if you want another password by default&lt;/span&gt;
        &lt;span style=&quot;color: #003399;&quot;&gt;String&lt;/span&gt; keypass &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;MotDePasseDeLaClef&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
        &lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;// change this if you want another alias by default&lt;/span&gt;
        &lt;span style=&quot;color: #003399;&quot;&gt;String&lt;/span&gt; defaultalias &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;tomcat&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
        &lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;// change this if you want another keystorefile by default&lt;/span&gt;
        &lt;span style=&quot;color: #003399;&quot;&gt;String&lt;/span&gt; keystorename &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;System&lt;/span&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;getProperty&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;keystore&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
        &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;keystorename &lt;span style=&quot;color: #339933;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;null&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;
            keystorename &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;System&lt;/span&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;getProperty&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;user.home&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;+&lt;/span&gt;
                &lt;span style=&quot;color: #003399;&quot;&gt;System&lt;/span&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;getProperty&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;file.separator&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;+&lt;/span&gt;
                &lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;keystore.ImportKey&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;// especially this ;-)&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
        &lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;// parsing command line input&lt;/span&gt;
        &lt;span style=&quot;color: #003399;&quot;&gt;String&lt;/span&gt; keyfile &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
        &lt;span style=&quot;color: #003399;&quot;&gt;String&lt;/span&gt; certfile &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
        &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;args.&lt;span style=&quot;color: #006633;&quot;&gt;length&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;2&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;||&lt;/span&gt; args.&lt;span style=&quot;color: #006633;&quot;&gt;length&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt;
            &lt;span style=&quot;color: #003399;&quot;&gt;System&lt;/span&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;out&lt;/span&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;println&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;Usage: java comu.ImportKey keyfile certfile [alias]&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
            &lt;span style=&quot;color: #003399;&quot;&gt;System&lt;/span&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;exit&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
        &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt;
            keyfile &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; args&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
            certfile &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; args&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
            &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;args.&lt;span style=&quot;color: #006633;&quot;&gt;length&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;
                defaultalias &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; args&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
        &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
        &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;try&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt;
            &lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;// initializing and clearing keystore&lt;/span&gt;
            &lt;span style=&quot;color: #003399;&quot;&gt;KeyStore&lt;/span&gt; ks &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;KeyStore&lt;/span&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;getInstance&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;JKS&amp;quot;&lt;/span&gt;, &lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;SUN&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
            ks.&lt;span style=&quot;color: #006633;&quot;&gt;load&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;null&lt;/span&gt; , keypass.&lt;span style=&quot;color: #006633;&quot;&gt;toCharArray&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
            &lt;span style=&quot;color: #003399;&quot;&gt;System&lt;/span&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;out&lt;/span&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;println&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;Using keystore-file : &amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;+&lt;/span&gt;keystorename&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
            ks.&lt;span style=&quot;color: #006633;&quot;&gt;store&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;FileOutputStream&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt; keystorename  &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;,
                    keypass.&lt;span style=&quot;color: #006633;&quot;&gt;toCharArray&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
            ks.&lt;span style=&quot;color: #006633;&quot;&gt;load&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;FileInputStream&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt; keystorename &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;,
                    keypass.&lt;span style=&quot;color: #006633;&quot;&gt;toCharArray&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
            &lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;// loading Key&lt;/span&gt;
            &lt;span style=&quot;color: #003399;&quot;&gt;InputStream&lt;/span&gt; fl &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; fullStream &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;keyfile&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
            &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;byte&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#93;&lt;/span&gt; key &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;byte&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#91;&lt;/span&gt;fl.&lt;span style=&quot;color: #006633;&quot;&gt;available&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
            &lt;span style=&quot;color: #003399;&quot;&gt;KeyFactory&lt;/span&gt; kf &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;KeyFactory&lt;/span&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;getInstance&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;RSA&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
            fl.&lt;span style=&quot;color: #006633;&quot;&gt;read&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt; key, &lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;, fl.&lt;span style=&quot;color: #006633;&quot;&gt;available&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
            fl.&lt;span style=&quot;color: #006633;&quot;&gt;close&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
            &lt;span style=&quot;color: #003399;&quot;&gt;PKCS8EncodedKeySpec&lt;/span&gt; keysp &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;PKCS8EncodedKeySpec&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt; key &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
            &lt;span style=&quot;color: #003399;&quot;&gt;PrivateKey&lt;/span&gt; ff &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; kf.&lt;span style=&quot;color: #006633;&quot;&gt;generatePrivate&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;keysp&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
            &lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;// loading CertificateChain&lt;/span&gt;
            &lt;span style=&quot;color: #003399;&quot;&gt;CertificateFactory&lt;/span&gt; cf &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;CertificateFactory&lt;/span&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;getInstance&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;X.509&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
            &lt;span style=&quot;color: #003399;&quot;&gt;InputStream&lt;/span&gt; certstream &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; fullStream &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;certfile&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
            &lt;span style=&quot;color: #003399;&quot;&gt;Collection&lt;/span&gt; c &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; cf.&lt;span style=&quot;color: #006633;&quot;&gt;generateCertificates&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;certstream&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
            &lt;span style=&quot;color: #003399;&quot;&gt;Certificate&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#93;&lt;/span&gt; certs &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;Certificate&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#91;&lt;/span&gt;c.&lt;span style=&quot;color: #006633;&quot;&gt;toArray&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;length&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
            &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;c.&lt;span style=&quot;color: #006633;&quot;&gt;size&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt;
                certstream &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; fullStream &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;certfile&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
                &lt;span style=&quot;color: #003399;&quot;&gt;System&lt;/span&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;out&lt;/span&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;println&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;One certificate, no chain.&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
                &lt;span style=&quot;color: #003399;&quot;&gt;Certificate&lt;/span&gt; cert &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; cf.&lt;span style=&quot;color: #006633;&quot;&gt;generateCertificate&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;certstream&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
                certs&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; cert&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
            &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt;
                &lt;span style=&quot;color: #003399;&quot;&gt;System&lt;/span&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;out&lt;/span&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;println&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;Certificate chain length: &amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;+&lt;/span&gt;c.&lt;span style=&quot;color: #006633;&quot;&gt;size&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
                certs &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #003399;&quot;&gt;Certificate&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;c.&lt;span style=&quot;color: #006633;&quot;&gt;toArray&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
            &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
            &lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;// storing keystore&lt;/span&gt;
            ks.&lt;span style=&quot;color: #006633;&quot;&gt;setKeyEntry&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;defaultalias, ff,
                           keypass.&lt;span style=&quot;color: #006633;&quot;&gt;toCharArray&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;,
                           certs &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
            &lt;span style=&quot;color: #003399;&quot;&gt;System&lt;/span&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;out&lt;/span&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;println&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;Key and certificate stored.&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
            &lt;span style=&quot;color: #003399;&quot;&gt;System&lt;/span&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;out&lt;/span&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;println&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;Alias:&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;+&lt;/span&gt;defaultalias&lt;span style=&quot;color: #339933;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;  Password:&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;+&lt;/span&gt;keypass&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
            ks.&lt;span style=&quot;color: #006633;&quot;&gt;store&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;FileOutputStream&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt; keystorename &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;,
                     keypass.&lt;span style=&quot;color: #006633;&quot;&gt;toCharArray&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
        &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;catch&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #003399;&quot;&gt;Exception&lt;/span&gt; ex&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt;
            ex.&lt;span style=&quot;color: #006633;&quot;&gt;printStackTrace&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
        &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt;
    &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;


&lt;p&gt;Après avoir modifié le mot de passe par défaut avec celui fourni par le client (Tomcat impose que le mot de passe du &quot;keystore&quot; soit identique à la &quot;passphrase&quot; utilisée pendant la génération du certificat) et avoir compilé ce programme, on l&amp;rsquo;appelle avec les options suivantes&amp;nbsp;:&lt;/p&gt;

&lt;pre&gt;
java ImportKey key.der cert.der
&lt;/pre&gt;


&lt;p&gt;et nous obtenons un fichier &quot;keystore.importKey&quot; dans le répertoire $HOME. Je m&amp;rsquo;empresse de renommer ce fichier &quot;keystore&quot; (vous pouvez choisir un nom plus explicite à condition de remplacer tous les keystore ci-dessous, une bonne convention de nommage est keystore.nom.de.domaine.du.serveur).&lt;/p&gt;


&lt;p&gt;La commande &quot;keytool -list&quot; permet de vérifier que la clé privée a été ajoutée au keystore&amp;nbsp;:&lt;/p&gt;

&lt;pre&gt;
keytool -list -keystore keystore -storepass MotDePasseDeLaClef
&lt;/pre&gt;

&lt;pre&gt;
Type Keystore : JKS
Fournisseur Keystore : SUN

Votre Keystore contient 1 entrée(s)

tomcat, 15 mars 2012, PrivateKeyEntry,
Empreinte du certificat (MD5) : 54:FF:10:B7:5D:A9:0F:7C:8D:95:2B:9D:4B:1B:5C:CA
&lt;/pre&gt;


&lt;h2&gt;Ajout de la chaîne de certification dans le keystore&lt;/h2&gt;


&lt;p&gt;Le fichier &quot;keystore&quot; contient donc notre clé privée (PrivateKeyEntry) associée à l&amp;rsquo;alias &quot;tomcat&quot;. Le keystore, pour être utilisable, doit être complété avec la chaîne de certification. Il s&amp;rsquo;agit d&amp;rsquo;un fichier qui doit regrouper, dans l&amp;rsquo;ordre de lecture du fichier, les certificats suivants&amp;nbsp;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Le certificat du serveur (clé publique);&lt;/li&gt;
&lt;li&gt;Un certificat intermédiaire fourni par l&amp;rsquo;autorité de certification;&lt;/li&gt;
&lt;li&gt;Un certificat racine, lui aussi fourni par l&amp;rsquo;autorité de certification.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Il faut donc concaténer les différents fichiers fournis. On pourra le faire avec un éditeur de texte ou en ligne de commande, avec, par exemple&amp;nbsp;:&lt;/p&gt;

&lt;pre&gt;
cat cert.pem chain.pem &amp;gt; cert+chain.pem
&lt;/pre&gt;


&lt;p&gt;Il semble nécessaire de supprimer toutes les descriptions à l&amp;rsquo;intérieur du fichier généré. Il faut que le fichier ressemble à&amp;nbsp;:&lt;/p&gt;

&lt;pre&gt;
-----BEGIN CERTIFICATE-----
(Your Primary SSL certificate: your_domain_name.crt)
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
(Your Intermediate certificate: DigiCertCA.crt)
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
(Your Root certificate: TrustedRoot.crt)
-----END CERTIFICATE-----
&lt;/pre&gt;


&lt;p&gt;sans aucun espaces ou lignes de description entre les BEGIN et les END.&lt;/p&gt;


&lt;p&gt;On appelle ensuite la commande -importcert de keytool avec le fichier &quot;cert+chain.pem&quot; en précisant l&amp;rsquo;option &quot;-trustcacerts&quot; (indispensable) avec le même alias que pour la clé&amp;nbsp;:&lt;/p&gt;


&lt;p&gt;keytool -importcert -trustcacerts -alias tomcat -file cert+chain.pem -keystore keystore -storepass MotDePasseDeLaClef&lt;/p&gt;


&lt;h2&gt;Configuration de Tomcat&lt;/h2&gt;


&lt;p&gt;Il ne reste plus qu&amp;rsquo;à copier le fichier &quot;keystore&quot; dans un répertoire accessible par Tomcat (j&amp;rsquo;ai choisi /var/lib/tomcat6) et à modifier le fichier server.xml pour décommenter le &amp;lt;Connector&amp;gt; correspondant au port 8443&amp;nbsp;:&lt;/p&gt;

&lt;pre class=&quot;xml xml&quot; style=&quot;font-family:inherit&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;&amp;lt;!-- Define a SSL HTTP/1.1 Connector on port 8443&lt;/span&gt;
&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;         This connector uses the JSSE configuration, when using APR, the&lt;/span&gt;
&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;         connector should be using the OpenSSL style configuration&lt;/span&gt;
&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;         described in the APR documentation --&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;Connector&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;port&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;8443&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;protocol&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;HTTP/1.1&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;SSLEnabled&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;               &lt;span style=&quot;color: #000066;&quot;&gt;maxThreads&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;150&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;scheme&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;https&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;secure&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;               &lt;span style=&quot;color: #000066;&quot;&gt;clientAuth&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;false&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;sslProtocol&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;TLS&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;               &lt;span style=&quot;color: #000066;&quot;&gt;keystoreFile&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;/var/lib/tomcat6/keystore&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;               &lt;span style=&quot;color: #000066;&quot;&gt;keystorePass&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;MotDePasseDeLaClef&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;               &lt;span style=&quot;color: #000066;&quot;&gt;keyAlias&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;tomcat&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;


&lt;p&gt;L&amp;rsquo;important, à ce niveau, est de s&amp;rsquo;assurer que Tomcat peut ouvrir le fichier keystore, que le mot de passe est correct et que l&amp;rsquo;alias indiqué par l&amp;rsquo;attribut &quot;keyAlias&quot; correspond bien à l&amp;rsquo;alias présent dans le fichier &quot;keystore&quot; pour l&amp;rsquo;entrée &quot;PrivateKeyEntry&quot;.&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;Liens&lt;/strong&gt;&amp;nbsp;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Tutoriel très bien expliqué&amp;nbsp;: &lt;a href=&quot;http://www.informit.com/articles/article.aspx?p=407886&quot; hreflang=&quot;en&quot;&gt;http://www.informit.com/articles/article.aspx?p=407886&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Les différentes concaténations possibles&amp;nbsp;: &lt;a href=&quot;http://www.digicert.com/ssl-support/pem-ssl-creation.htm&quot; hreflang=&quot;en&quot;&gt;http://www.digicert.com/ssl-support/pem-ssl-creation.htm&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Pour vérifier la configuration&amp;nbsp;: &lt;a href=&quot;http://www.sslshopper.com/ssl-checker.html&quot; hreflang=&quot;en&quot;&gt;http://www.sslshopper.com/ssl-checker.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Économie, équilibre et justice sociale</title>
    <link>http://www.artefarita.com/journel/post/2011/10/09/%C3%89conomie%2C-%C3%A9quilibre-et-justice-sociale</link>
    <guid isPermaLink="false">urn:md5:77a83863e9b2c88562a9a6b0decfadeb</guid>
    <pubDate>Thursday 27 October 2011</pubDate>
    <dc:creator>Grégoire</dc:creator>
        <category>Science with conscience</category>
        <category>Politique</category><category>Réflexion</category><category>Économie</category>    
    <description>    &lt;p&gt;&lt;strong&gt;De quoi ça parle?&lt;/strong&gt; De la recherche d&amp;rsquo;une théorie économique permettant d&amp;rsquo;envisager la justice sociale…&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Deux généralités en guise d&amp;rsquo;introduction&lt;/strong&gt;&amp;nbsp;: il ne peut y avoir de justice sans équilibre, et il est plus facile de perdre l&amp;rsquo;équilibre que de le trouver.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Conséquence immédiate&lt;/strong&gt;&amp;nbsp;: si les mots «justice sociale» doivent avoir un sens, ils ne peuvent que désigner un équilibre, et on n&amp;rsquo;atteindra pas la justice sociale sans la chercher.&lt;/p&gt;
&lt;p&gt;D&amp;rsquo;où il découle une &lt;strong&gt;invalidation des théories actuelles&lt;/strong&gt;&amp;nbsp;: toute théorie économique qui n&amp;rsquo;est pas construite autour de cette notion d&amp;rsquo;équilibre mais autour d&amp;rsquo;une idée de maximisation aboutit, lorsqu&amp;rsquo;elle est mise en application, à une société déséquilibrée, donc injuste et économiquement inefficace. C&amp;rsquo;est en particulier le cas de&amp;nbsp;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;la théorie qui vise à maximiser le capital des individus (capitalisme),&lt;/li&gt;
&lt;li&gt;la théorie qui promet la liberté infinie aux individus (libéralisme économique).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Aucune de ces deux théories ne contient la moindre notion d&amp;rsquo;équilibre entre l&amp;rsquo;intérêt de l&amp;rsquo;individu et l&amp;rsquo;intérêt de la société. Or c&amp;rsquo;est l&amp;rsquo;articulation des deux intérêts, le particulier et le général, qui doit guider la recherche d&amp;rsquo;une théorie économique réellement efficace.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Tentative de formalisation&lt;/strong&gt;&amp;nbsp;: si l&amp;rsquo;on doit apprendre des erreurs du passé, il faut inventer une théorie économique basée sur la notion d&amp;rsquo;équilibre, dans laquelle accumuler à l&amp;rsquo;infini du capital sera contraire à l&amp;rsquo;intérêt individuel. Autrement dit, il faut inventer un système économique dans lequel chacun a intérêt à dépenser l&amp;rsquo;argent qu&amp;rsquo;il a.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Idée concrète n°1&lt;/strong&gt;&amp;nbsp;: mettre en place un taux d&amp;rsquo;intérêt négatif au-delà d&amp;rsquo;un niveau d&amp;rsquo;épargne. L&amp;rsquo;argent qui serait au-dessus de ce seuil «rouillerait» au lieu de «fructifier»… Les riches seraient donc ceux qui savent dépenser régulièrement l&amp;rsquo;argent qu&amp;rsquo;ils gagnent, contrairement au système actuel, où les riches sont ceux qui font «fructifier» leur magot en ne touchant qu&amp;rsquo;aux intérêts et jamais au capital lui-même (on les appelle les rentiers, et parmi eux, on trouve beaucoup d&amp;rsquo;actionnaires). L&amp;rsquo;argent serait au corps social ce que l&amp;rsquo;oxygène est au corps humain&amp;nbsp;: nous ne prenons que ce dont nous avons besoin, et le reste continue de circuler au bénéfice de la collectivité. Ce système marche depuis que la Terre existe, et je ne vois pas pourquoi il ne serait pas possible de le transposer dans le domaine économique.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://www.artefarita.com/photos/pas_de_moi/.raymond-calbuth_m.jpg&quot; alt=&quot;Raymond Calbuth, Tome 2 (Tronchet)&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;Raymond Calbuth, Tome 2 (Tronchet)&quot; /&gt;&lt;/p&gt;
&lt;p class=&quot;legende_photo&quot;&gt;Il y a des limites à tout, Raymond…&lt;/p&gt;
&lt;p&gt;J&amp;rsquo;ai soumis ce message aux excellentes personnes &lt;a href=&quot;https://plus.google.com/112221335107721059389/posts&quot;&gt;qui me lisent (et que je lis aussi) sur Google+&lt;/a&gt;, ce qui a donné &lt;a href=&quot;https://plus.google.com/112221335107721059389/posts/cRDTXujCu8q&quot;&gt;quelques retours très intéressants&lt;/a&gt; que je résume ci-dessous.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Critique n°1&amp;nbsp;: ça existe déjà (monnaie locale qui rouille quand on ne s&amp;rsquo;en sert pas, finance islamique)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Oui et non. Oui, les deux m&amp;rsquo;ont inspiré, mais l&amp;rsquo;idée c&amp;rsquo;est d&amp;rsquo;avoir un taux d&amp;rsquo;intérêt positif en-dessous d&amp;rsquo;un certain seuil, et un taux d&amp;rsquo;intérêt négatif au-dessus du seuil. Je ne crois pas que cela ait déjà été imaginé. L&amp;rsquo;objectif est de favoriser à la fois la «petite épargne» (qui est une bonne chose car elle permet aux gens de ne pas être pris à la gorge en cas de coup dur) et de défavoriser la «grande épargne» (qui est une mauvaise chose car les détenteurs de capitaux mettent une pression considérable sur les grandes entreprises, pression qui se répercute sur les travailleurs).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Critique n°2&amp;nbsp;: ça ne met pas fin au consumérisme&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Si j&amp;rsquo;ai bien compris, le «consumérisme» désigne un modèle économique basé sur les verbes produire/consommer/travailler? J&amp;rsquo;admets la critique&amp;nbsp;: l&amp;rsquo;idée n°1 ne transformera pas radicalement le modèle économique. En fait, c&amp;rsquo;est voulu, car je crois qu&amp;rsquo;il faut «penser petit»&amp;nbsp;: partir de l&amp;rsquo;existant, voir un problème, proposer un changement. Or l&amp;rsquo;un des plus gros problèmes actuels c&amp;rsquo;est l&amp;rsquo;injustice sociale&amp;nbsp;: on trouve des gens qui travaillent sans jamais voir s&amp;rsquo;améliorer leur condition de vie, et des gens dont la condition de vie s&amp;rsquo;améliore alors qu&amp;rsquo;ils ne travaillent pas. Comment espérer un peu plus de justice sociale sans que les conservateurs ne disent «c&amp;rsquo;est de l&amp;rsquo;utopie»? Je crois qu&amp;rsquo;il faut inventer des mécanismes simples, que la majorité de la population pourra trouver raisonnables.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Critique n°3&amp;nbsp;: ça oblige les rentiers à travailler sous peine de se retrouver SDF&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;L&amp;rsquo;épargne au-dessus du seuil serait progressivement (-2% par an par exemple) réinjectée dans la sphère publique, ce qui contribuerait à financer les «filets de sécurité». Mais effectivement, l&amp;rsquo;idée est quand même de pousser les gens à travailler, à ne pas être des «purs consommateurs» qui vivent de mieux en mieux grâce au seul «travail» de leurs intérêts. Le but c&amp;rsquo;est de rappeler à tout le monde que les intérêts sont le résultat du véritable travail humain. Un peu d&amp;rsquo;intérêts, ça va, beaucoup, ça ne va plus.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Critique n°4&amp;nbsp;: c&amp;rsquo;est facilement contournable (marché de l&amp;rsquo;art, immobilier)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Oui, mais de changer les règles du jeu au niveau des banques rendrait le «rentisme» plus difficile. Si les gens veulent acheter des tableaux, des yachts, des villas ou des voitures de luxe, qu&amp;rsquo;ils le fassent&amp;nbsp;: leur argent fera tourner la machine économique, et il ne «travaillera plus» à leur seul profit, en contribuant en réalité à l&amp;rsquo;exploitation des travailleurs sur la planète.&lt;/p&gt;
&lt;p&gt;Je laisse de côté le cas des investissements en actions, qui amène un autre problème&amp;nbsp;: faut-il que le capital soit aussi libre? Est-ce bon, dans un moteur, que l&amp;rsquo;huile soit trop fluide?…&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Le 1% ne se laissera pas faire</title>
    <link>http://www.artefarita.com/journel/post/2011/10/14/Le-1-ne-se-laissera-pas-faire</link>
    <guid isPermaLink="false">urn:md5:ccd1425e24eb2b84e604ad7d5c136853</guid>
    <pubDate>Friday 14 October 2011</pubDate>
    <dc:creator>Grégoire</dc:creator>
        <category>Decompiling reality</category>
        <category>Humour</category><category>Politique</category>    
    <description>    &lt;p&gt;Qu&amp;rsquo;on se le dise, le 1% ne se laissera pas faire!&lt;/p&gt;


&lt;p&gt;&lt;img src=&quot;http://www.artefarita.com/photos/burns.jpg&quot; alt=&quot;Je suis le 1% et j&amp;#039;ai des chiens&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;Je suis le 1% et j&amp;#039;ai des chiens, oct. 2011&quot; /&gt;&lt;/p&gt;


&lt;p&gt;Lien&amp;nbsp;: &lt;a href=&quot;http://wearethe99percent.tumblr.com/&quot; hreflang=&quot;en&quot;&gt;We are the 99 percent&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Le francophile et l'espérantiste</title>
    <link>http://www.artefarita.com/journel/post/2011/09/10/Le-francophile-et-l-esp%C3%A9rantiste</link>
    <guid isPermaLink="false">urn:md5:1843787b60c64400b516af532147b2b3</guid>
    <pubDate>Saturday 10 September 2011</pubDate>
    <dc:creator>Grégoire</dc:creator>
        <category>Dreams and stories</category>
        <category>Espéranto</category><category>Linguistique</category><category>Poésie</category>    
    <description>    &lt;p style=&quot;text-align:center&quot;&gt;&lt;em&gt;L&amp;rsquo;espérantiste&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Monsieur, je vais vous dire le fond de ma pensée.&lt;br /&gt;Si l&amp;rsquo;on fait, comme vous, un homme de papier,&lt;br /&gt;La langue Espéranto représente un danger.&lt;br /&gt;Mais l&amp;rsquo;homme sans attache, sans pays, sans passé,&lt;br /&gt;Puisqu&amp;rsquo;il ne saurait naître, ne saurait exister!&lt;/p&gt;
&lt;p style=&quot;text-align:center&quot;&gt;&lt;em&gt;Le francophile&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Le formule est jolie mais c&amp;rsquo;est une croyance,&lt;br /&gt;J&amp;rsquo;attendais une preuve…&lt;/p&gt;
&lt;p style=&quot;text-align:center&quot;&gt;&lt;em&gt;L&amp;rsquo;espérantiste&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; …que je ne puis donner!&lt;br /&gt;Concernant le futur, il n&amp;rsquo;est que l&amp;rsquo;espérance!&lt;/p&gt;
&lt;p style=&quot;text-align:center&quot;&gt;&lt;em&gt;Le francophile&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Concernant le passé, il n&amp;rsquo;y a que les faits!&lt;br /&gt;Votre espéranto, là, brille par son absence!&lt;/p&gt;
&lt;p style=&quot;text-align:center&quot;&gt;&lt;em&gt;L&amp;rsquo;espérantiste&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Le futur est trop mou, le passé est trop dur!&lt;br /&gt;C&amp;rsquo;est ainsi, Prince! Ma gloire n&amp;rsquo;égale pas la vôtre,&lt;br /&gt;Ma langue est celle d&amp;rsquo;un messager, au pied du mur!&lt;br /&gt;Mais quelle est cette voix que j&amp;rsquo;entends derrière vous?&lt;/p&gt;
&lt;p style=&quot;text-align:center&quot;&gt;&lt;em&gt;Le francophile&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Ah, c&amp;rsquo;est le Docteur Speak! Il vient pour ma piqûre!&lt;/p&gt;
&lt;p&gt;&lt;em&gt;(Lognes, 7 juin 2005)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note explicative&amp;nbsp;:&lt;/strong&gt; en 2005, j&amp;rsquo;ai suivi de près la campagne pour les élections européennes d&amp;rsquo;&lt;a href=&quot;http://www.e-d-e.org/?lang=fr&quot;&gt;Europe-Démocratie-Espéranto&lt;/a&gt;, un petit parti dont l&amp;rsquo;objectif est de faire progresser l&amp;rsquo;idée que l&amp;rsquo;Union Européenne pourrait se doter d&amp;rsquo;une langue commune neutre (en l&amp;rsquo;occurrence l&amp;rsquo;espéranto), afin de permettre la communication directe entre tous les citoyens européens et diminuer le coût du multilinguisme dans les institutions européennes. Du point de vue d&amp;rsquo;E-D-E, une telle langue est un préalable pour espérer un jour voir une vraie démocratie européenne.&lt;/p&gt;
&lt;p&gt;Il y eut, dans le cadre de cette campagne électorale, une tentative d&amp;rsquo;obtenir le soutien de l&amp;rsquo;association &lt;a href=&quot;http://www.langue-francaise.org/&quot;&gt;Défense de la Langue Française&lt;/a&gt;, dont l&amp;rsquo;objectif est de résister à l&amp;rsquo;invasion des anglicismes dans notre langue. Malheureusement, l&amp;rsquo;idée de l&amp;rsquo;espéranto comme langue européenne ne les a pas convaincus, et c&amp;rsquo;est pourquoi j&amp;rsquo;avais rédigé ces quelques vers qui essayaient de résumer ce débat entre des gens qui auraient pu s&amp;rsquo;entendre mais qui n&amp;rsquo;avaient pas du tout le même point de vue&amp;nbsp;: à ceux qui voulaient aller de l&amp;rsquo;avant avec l&amp;rsquo;espéranto, langue conçue pour la communication internationale, répondaient des francophiles tournés vers la préservation d&amp;rsquo;un héritage linguistique et culturel menacé par la mondialisation. Le futur contre le passé, la communication contre la culture.&lt;/p&gt;
&lt;p&gt;À la fin, le francophile reçoit la visite d&amp;rsquo;un certain Docteur Speak, venu lui faire une piqûre&amp;nbsp;: telle était ma conviction qu&amp;rsquo;à trop faire la fine bouche devant l&amp;rsquo;espéranto, les francophiles finiront par être perçus comme des malades à soigner, niant la réalité de l&amp;rsquo;anglicisation du monde dans lequel le français n&amp;rsquo;est plus qu&amp;rsquo;une langue de second plan.&lt;/p&gt;
&lt;p&gt;Il faut noter qu&amp;rsquo;aujourd&amp;rsquo;hui, en 2011, un mouvement de protestation comme celui des &lt;em&gt;indignados&lt;/em&gt; espagnols pourrait être le premier mouvement social pan-européen s&amp;rsquo;il n&amp;rsquo;y avait cette barrière linguistique qui empêche les citoyens européens de débattre ensemble.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Sur le même thème&lt;/strong&gt;&amp;nbsp;:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://www.artefarita.com/journel/post/2009/05/26/Y-a-t-il-une-place-pour-l-esp%C3%A9ranto&quot;&gt;Y a-t-il une place pour l&amp;rsquo;espéranto?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.artefarita.com/journel/post/2006/09/11/7-le-petit-livre-vert-du-parfait-esperantiste&quot;&gt;Le petit livre vert du parfait espérantiste&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.artefarita.com/journel/post/2008/06/29/Les-langues-%3A-un-defi&quot;&gt;Les langues, un défi&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Le plutonium, un placement sûr et rentable</title>
    <link>http://www.artefarita.com/journel/post/2011/08/14/Le-plutonium%2C-un-placement-s%C3%BBr-et-rentable</link>
    <guid isPermaLink="false">urn:md5:ff1bf69a5cc13662ec2c2ab5bcdef97a</guid>
    <pubDate>Sunday 14 August 2011</pubDate>
    <dc:creator>Grégoire</dc:creator>
        <category>Decompiling reality</category>
        <category>Humeur</category><category>Humour</category>    
    <description>    &lt;p&gt;&lt;strong&gt;&lt;a href=&quot;http://www.artefarita.com&quot;&gt;Artefarita Investments&lt;/a&gt;&lt;/strong&gt; est un cabinet de gestion patrimoniale et de valorisation d&amp;rsquo;actifs en forte croissance depuis une génération.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://www.artefarita.com/photos/pas_de_moi/.corporate_m.jpg&quot; alt=&quot;Artefarita Investments&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;Artefarita Investments, août 2011&quot; /&gt;&lt;/p&gt;
&lt;p class=&quot;legende_photo&quot;&gt;Notre engagement&amp;nbsp;: si ce n&amp;rsquo;est pas un expert, c&amp;rsquo;est une professionnelle&lt;/p&gt;
&lt;h3&gt;Nous sommes de bon conseil&lt;/h3&gt;
&lt;p&gt;Souvenez-vous. &lt;strong&gt;Il y a quelques années&lt;/strong&gt;, nous vous suggérions d&amp;rsquo;investir dans &lt;strong&gt;les matières premières agricoles.&lt;/strong&gt; La conclusion de l&amp;rsquo;étude transmise à nos clients était la suivante&amp;nbsp;:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Tant que &lt;strong&gt;la population mondiale&lt;/strong&gt; s&amp;rsquo;accroche à la vie, tant que &lt;strong&gt;l&amp;rsquo;agriculture chimique&lt;/strong&gt; diminue la qualité des sols, tant que &lt;strong&gt;le ton&lt;/strong&gt; ne monte pas trop, nous pronostiquons que &lt;strong&gt;le cours des matières premières agricoles ne fera qu&amp;rsquo;augmenter&lt;/strong&gt;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;img title=&quot;Famine en Somalie, juillet 2011&quot; style=&quot;margin: 0 auto; display: block;&quot; alt=&quot;Famine en Somalie&quot; src=&quot;http://www.artefarita.com/photos/pas_de_moi/somalie_famine.jpg&quot; /&gt;&lt;/p&gt;
&lt;p class=&quot;legende_photo&quot;&gt;Malgré la hausse des prix, la demande alimentaire ne faiblit pas&lt;/p&gt;
&lt;p&gt;Aujourd&amp;rsquo;hui, &lt;strong&gt;Artefarita Investments&lt;/strong&gt; est &lt;strong&gt;heureux de constater le retour de la &lt;a href=&quot;http://agentssanssecret.blogspot.com/2011/07/famine-en-somalie-une-catastrophe.html&quot;&gt;pénurie alimentaire&lt;/a&gt;&lt;/strong&gt; dans la corne de l&amp;rsquo;Afrique (Kenya, Somalie, Djibouti), qui démontre &lt;em&gt;a posteriori&lt;/em&gt; toute la pertinence de notre analyse. Si vous avez suivi nos conseils, &lt;strong&gt;votre capital investi sur le marché des denrées agricoles a généré une belle plus-value…&lt;/strong&gt; Félicitations!&lt;/p&gt;
&lt;h3&gt;Que faire avec les métaux précieux?&lt;/h3&gt;
&lt;p&gt;Avec la dégradation récente de la note des États-Unis, passée de 20/20 («&lt;em&gt;doué&lt;/em&gt;») à 19,5/20 («&lt;em&gt;doué mais tricheur&lt;/em&gt;»), beaucoup de &lt;strong&gt;nos clients nous demandent s&amp;rsquo;il faut acheter des métaux précieux&lt;/strong&gt;, en particulier de l&amp;rsquo;or, ou s&amp;rsquo;il faut &lt;strong&gt;profiter de la hausse et se débarrasser des vieux lingots&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Dans l&amp;rsquo;immédiat, notre consensus est que &lt;strong&gt;le risque inflationniste qui pèse sur les deux grandes monnaies mondiales&lt;/strong&gt;, le dollar et l&amp;rsquo;euro, ne doit pas inciter à faire &lt;strong&gt;n&amp;rsquo;importe quel achat irréfléchi de métal jaune&lt;/strong&gt;. Par exemple, l&amp;rsquo;or dentaire n&amp;rsquo;est jamais rentable.&lt;/p&gt;
&lt;p&gt;&lt;img title=&quot;Dents en or, août 2011&quot; style=&quot;margin: 0 auto; display: block;&quot; alt=&quot;Dents en or&quot; src=&quot;http://www.artefarita.com/photos/pas_de_moi/dents-en-or.jpg&quot; /&gt;&lt;/p&gt;
&lt;p class=&quot;legende_photo&quot;&gt;Le problème des dents en or, ce sont les honoraires des dentistes&lt;/p&gt;
&lt;p&gt;La question de la revente est plus délicate, car &lt;strong&gt;existe-t-il aujourd&amp;rsquo;hui un placement plus sûr que l&amp;rsquo;or?&lt;/strong&gt; Nos experts vous proposent &lt;strong&gt;un métal rare mais sous-évalué&amp;nbsp;: le plutonium&lt;/strong&gt;.&lt;/p&gt;
&lt;h3&gt;Le plutonium, un placement sûr et rentable&lt;/h3&gt;
&lt;p&gt;Depuis le début de l&amp;rsquo;année 2011, &lt;strong&gt;notre recommandation d&amp;rsquo;achat pour sécuriser votre patrimoine&lt;/strong&gt; concerne le plutonium. &lt;strong&gt;Ignoré par les marchés&lt;/strong&gt;, largement &lt;strong&gt;sous-évalué&lt;/strong&gt;, le plutonium a pourtant toutes les propriétés d&amp;rsquo;&lt;strong&gt;un placement de bon père de famille&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img title=&quot;Oxyde de plutonium 238&quot; style=&quot;margin: 0 auto; display: block;&quot; alt=&quot;Oxyde de plutonium 238&quot; src=&quot;http://www.artefarita.com/photos/pas_de_moi/.750px-Plutonium_pellet_m.jpg&quot; /&gt;&lt;/p&gt;
&lt;p class=&quot;legende_photo&quot;&gt;Placez-le dans sa chambre&amp;nbsp;: le plutonium rassurera votre enfant&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Métal rare&lt;/strong&gt;, utilisable comme &lt;strong&gt;source d&amp;rsquo;énergie&lt;/strong&gt;, le plutonium a cependant un défaut&amp;nbsp;: &lt;strong&gt;son stockage est assez délicat&lt;/strong&gt;. Nous vous déconseillons vivement de stocker beaucoup de plutonium à votre domicile, et déclinons toute responsabilité si vous le faites.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Nous vous invitons à prendre contact avec nous&lt;/strong&gt; si vous souhaitez d&amp;rsquo;autres conseils pour vous &lt;strong&gt;enrichir facilement&lt;/strong&gt; dans cette période de grande incertitude.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Lien&lt;/strong&gt;&amp;nbsp;: le site de &lt;a href=&quot;http://www.msf.fr&quot;&gt;Médecins sans Frontières&lt;/a&gt; pourrait vous être utile si vous avez été choqué par la deuxième photo.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Les hommes sérieux et la picoseconde</title>
    <link>http://www.artefarita.com/journel/post/2011/08/05/Les-hommes-s%C3%A9rieux-et-la-picoseconde</link>
    <guid isPermaLink="false">urn:md5:c89f752e79b1c1407d3843987af7d59f</guid>
    <pubDate>Friday  5 August 2011</pubDate>
    <dc:creator>Grégoire</dc:creator>
        <category>Decompiling reality</category>
        <category>Informatique</category><category>Politique</category><category>Réflexion</category>    
    <description>    &lt;p&gt;Il y a fort bien longtemps —je vous prie de me croire—, on trouvait des hommes &lt;em&gt;sérieux&lt;/em&gt; qui prenaient des décisions &lt;em&gt;sérieuses&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://www.artefarita.com/photos/pas_de_moi/.christine-lagarde-avion_m.jpg&quot; alt=&quot;Christine Lagarde&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;Un groupe d'hommes sérieux (première moitié du XXIème siècle)&quot; /&gt;&lt;/p&gt;
&lt;p class=&quot;legende_photo&quot;&gt;Un groupe d&amp;rsquo;hommes sérieux (première moitié du XXIème siècle)&lt;/p&gt;
&lt;p&gt;Certains d&amp;rsquo;entre eux avaient pour mission, toute la journée, &lt;strong&gt;d&amp;rsquo;acheter et de vendre toutes sortes de choses&lt;/strong&gt;&amp;nbsp;:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;des &lt;strong&gt;métaux&lt;/strong&gt; sous forme de minerai, de barres ou de plaques,&lt;/li&gt;
&lt;li&gt;des &lt;strong&gt;graines&lt;/strong&gt; de toutes sortes (blé, riz, etc.),&lt;/li&gt;
&lt;li&gt;des «&lt;strong&gt;lingodors&lt;/strong&gt;», briques de métal à l&amp;rsquo;utilité inconnue,&lt;/li&gt;
&lt;li&gt;le &lt;strong&gt;trôle brut&lt;/strong&gt;, avec lequel il était possible de faire fonctionner toutes sortes de machines,&lt;/li&gt;
&lt;li&gt;le &lt;strong&gt;papier à réaction&lt;/strong&gt;, qui permettait de ne rien faire et de rester digne (on accédait alors au statut le plus haut de la société, celui de «&lt;em&gt;réactionnaire&lt;/em&gt;»).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Ces hommes &lt;em&gt;sérieux&lt;/em&gt; étaient &lt;strong&gt;incroyablement efficaces&lt;/strong&gt;. À titre d&amp;rsquo;exemple, pendant le temps que vous avez mis à lire ces lignes, ils auraient eu le temps, eux, d&amp;rsquo;acheter et de revendre plusieurs millions de choses. Ils faisaient ce qui s&amp;rsquo;appelait à l&amp;rsquo;époque du &lt;a href=&quot;http://lecercle.lesechos.fr/node/35233&quot; title=&quot;Le trading Haute Fréquence&quot;&gt;commerce à haute fréquence&lt;/a&gt;. Dans leur langue primitive, ils appelaient cela le «&lt;em&gt;&lt;strong&gt;High Frequency Trading&lt;/strong&gt;&lt;/em&gt;».&lt;/p&gt;
&lt;p&gt;&lt;img title=&quot;Des hommes sérieux faisant du High Frequency Trading (reconstitution)&quot; style=&quot;margin: 0 auto; display: block;&quot; alt=&quot;Des hommes sérieux faisant du High Frequency Trading (reconstitution)&quot; src=&quot;http://www.artefarita.com/photos/pas_de_moi/.high-frequency-trading_m.jpg&quot; /&gt;&lt;/p&gt;
&lt;p  class=&quot;legende_photo&quot;&gt;Des hommes sérieux faisant du High Frequency Trading (reconstitution)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Comment le commerce à haute fréquence est-il apparu? Quel pouvait bien être l&amp;rsquo;intérêt&lt;/strong&gt;, pour chaque homme &lt;em&gt;sérieux&lt;/em&gt;, &lt;strong&gt;de faire plusieurs millions de transactions commerciales par seconde&lt;/strong&gt;, tant ce nombre semble éloigné du rythme d&amp;rsquo;apparition des besoins que le commerce avait à satisfaire?&lt;/p&gt;
&lt;p&gt;Certains historiens estiment que &lt;strong&gt;le temps et l&amp;rsquo;argent étaient, à cette époque, deux notions très proches&lt;/strong&gt;, souvent confondues dans la pratique, et appuient cette théorie sur un proverbe aussi célèbre que sibyllin&amp;nbsp;:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;«&lt;em&gt;Le temps, c&amp;rsquo;est de l&amp;rsquo;argent&lt;/em&gt;»&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Le commerce à haute fréquence pourrait, selon eux, avoir été inventé par les hommes &lt;em&gt;sérieux&lt;/em&gt; du XXIème siècle pour &lt;strong&gt;transformer aussi efficacement que possible le temps en argent&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img title=&quot;De l'argent du XXIème siècle, août 2011&quot; style=&quot;margin: 0 auto; display: block;&quot; alt=&quot;De l'argent du XXIème siècle&quot; src=&quot;http://www.artefarita.com/photos/pas_de_moi/.800px-Assorted_United_States_coins_m.jpg&quot; /&gt;&lt;/p&gt;
&lt;p  class=&quot;legende_photo&quot;&gt;Le temps tel qu&amp;rsquo;il était perçu par nos ancêtres (Musée de l&amp;rsquo;Homme)&lt;/p&gt;
&lt;p&gt;Mais personne ne sait &lt;strong&gt;pourquoi les hommes de cette époque avaient plus besoin d&amp;rsquo;argent que de temps&lt;/strong&gt;. Cela nous semble d&amp;rsquo;autant moins compréhensible aujourd&amp;rsquo;hui que l&amp;rsquo;on sait que &lt;strong&gt;le temps est la seule chose au monde que l&amp;rsquo;on ne retrouve jamais&lt;/strong&gt;. Les hommes de cette époque lointaine ignoraient-ils cette vérité fondamentale? Car même si l&amp;rsquo;argent obtenu par les hommes &lt;em&gt;sérieux&lt;/em&gt; était souvent &lt;a href=&quot;http://www.forex.fr/news-topmenu-50/1549?task=view&quot; title=&quot;L'univers des traders gangréné par la cocaïne&quot;&gt;réduit&lt;/a&gt; en &lt;a href=&quot;http://www.leblogfinance.com/2009/11/performance-des-banquiers-et-traders-boost%C3%A9e-par-la-coca%C3%AFne-.html&quot; title=&quot;La performance des banquiers et traders boostée par la cocaïne&quot;&gt;poudre&lt;/a&gt;, il est douteux que cette poudre ait pu constituer à elle seule un motif suffisant.&lt;/p&gt;
&lt;p&gt;&lt;img title=&quot;Le commerce à haute fréquence n'était-il que mécanique?&quot; style=&quot;margin: 0 auto; display: block;&quot; alt=&quot;Le commerce à haute fréquence n'était-il que mécanique?&quot; src=&quot;http://www.artefarita.com/photos/pas_de_moi/.high-frequency-trading-2_m.jpg&quot; /&gt;&lt;/p&gt;
&lt;p  class=&quot;legende_photo&quot;&gt;Le commerce à haute fréquence n&amp;rsquo;était-il que mécanique?&lt;/p&gt;
&lt;p&gt;D&amp;rsquo;autres spécialistes des civilisations disparues, moins nombreux, affirment que &lt;strong&gt;le commerce à haute fréquence n&amp;rsquo;était pas du commerce&lt;/strong&gt;, mais du &lt;strong&gt;parasitisme, par la technologie, des échanges commerciaux réels&lt;/strong&gt;. Ce commerce, selon eux purement mécanique, ne serait apparu que parce qu&amp;rsquo;il était devenu techniquement possible, dans un contexte de grande misère philosophique où l&amp;rsquo;on avait oublié que&amp;nbsp;:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;em&gt;«Science sans conscience n&amp;rsquo;est que ruine de l&amp;rsquo;âme»&lt;br /&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
Le proverbe «&lt;em&gt;Le temps, c&amp;rsquo;est de l&amp;rsquo;argent&lt;/em&gt;» serait alors &lt;strong&gt;le triste reflet de l&amp;rsquo;état d&amp;rsquo;esprit qui dominait aux XXème et XXIème siècles&lt;/strong&gt;. Il est bien difficile d&amp;rsquo;imaginer qu&amp;rsquo;&lt;strong&gt;une époque de fort développement technologique, et donc de forte coopération,&lt;/strong&gt; ait pu être aussi celle d&amp;rsquo;&lt;strong&gt;un effondrement des valeurs humanistes dans le domaine du commerce&lt;/strong&gt;. Mais si tel n&amp;rsquo;est pas le cas, quelle aurait pu être la finalité d&amp;rsquo;une machinerie financière à l&amp;rsquo;échelle de la picoseconde? À quoi pouvait-elle servir, sinon à &lt;a href=&quot;http://www.cafedelabourse.com/dossiers/article/pour-ou-contre-le-high-frequency-trading&quot;&gt;fausser le cours des prix au bénéfice de quelques-uns, aux dépens de tous les autres&lt;/a&gt;?&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Nous laissons donc à nos lecteurs le soin de se faire leur propre opinion sur ces hommes &lt;em&gt;sérieux&lt;/em&gt; du XXIème siècle et leur curieux «&lt;em&gt;commerce à haute fréquence&lt;/em&gt;» dont nous n&amp;rsquo;avons fait qu&amp;rsquo;égratigner le mystère.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>L'Oncle Picsou entre la vie et la mort</title>
    <link>http://www.artefarita.com/journel/post/2011/08/01/L-Oncle-Picsou-entre-la-vie-et-la-mort</link>
    <guid isPermaLink="false">urn:md5:0a79abbe5dfbd2049626a8017544a31e</guid>
    <pubDate>Wednesday  3 August 2011</pubDate>
    <dc:creator>Grégoire</dc:creator>
        <category>Decompiling reality</category>
        <category>Humour</category><category>États-Unis</category>    
    <description>    &lt;p&gt;La tragique nouvelle vient de tomber&amp;nbsp;: &lt;strong&gt;Balthazar Picsou&lt;/strong&gt;, ce sympathique milliardaire connu pour financer les aventures de ses petits-neveux Riri, Fifi et Loulou, &lt;strong&gt;est dans le coma&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://www.artefarita.com/photos/pas_de_moi/.picsou-sos_m.jpg&quot; alt=&quot;L'Oncle Picsou&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;L'Oncle Picsou&quot; /&gt;&lt;/p&gt;
&lt;p class=&quot;legende_photo&quot;&gt;Il y a quelques années, ce fatécieux rentier posait pour Paris-Match&lt;/p&gt;
&lt;p&gt;Selon diverses sources, l&amp;rsquo;Oncle Picsou aurait fait &lt;strong&gt;une chute de plusieurs dizaines de mètres&lt;/strong&gt; en plongeant ce matin, comme il le faisait depuis des années, &lt;strong&gt;dans son coffre-fort de 43 mètres de haut&lt;/strong&gt;, sans s&amp;rsquo;apercevoir que &lt;strong&gt;celui-ci était vide&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Les meilleurs médecins de Donaldville tentent actuellement de le réanimer mais &lt;strong&gt;son pronostic vital est toujours engagé&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;D&amp;rsquo;après les spécialistes de l&amp;rsquo;argent-roi, &lt;strong&gt;un éventuel décès de l&amp;rsquo;Oncle Picsou serait catastrophique&lt;/strong&gt; non seulement pour lui ou pour sa famille, mais &lt;strong&gt;pour nous tous&lt;/strong&gt;! Ces experts du fric fou s&amp;rsquo;accordent à dire que &lt;strong&gt;seul Balthazar Picsou sait où est cachée l&amp;rsquo;imprimante à billets de 100 dollars&lt;/strong&gt;, qui permet de payer tout et n&amp;rsquo;importe quoi sur la planète.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Nous souhaitons&lt;/strong&gt; donc, avec toute l&amp;rsquo;authenticité de cœur dont nos fidèles lecteurs nous savent capable, &lt;strong&gt;un prompt rétablissement à ce sympathique et généreux philanthrope&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Lien&lt;/strong&gt;&amp;nbsp;: une &lt;a hreflang=&quot;en&quot; href=&quot;http://usdebt.kleptocracy.us/&quot;&gt;représentation très réussie de la dette des États-Unis&lt;/a&gt; fait le tour du web en ce moment.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Olympique Cesson Escrime</title>
    <link>http://www.artefarita.com/journel/post/2011/07/06/Olympique-Cesson-Escrime</link>
    <guid isPermaLink="false">urn:md5:1fdbd9cb862dbf8cd48e9168326458dd</guid>
    <pubDate>Wednesday  6 July 2011</pubDate>
    <dc:creator>Grégoire</dc:creator>
        <category>Viewed</category>
        <category>Informatique</category><category>Vidéo</category>    
    <description>    &lt;p&gt;Je viens de mettre en ligne la nouvelle version du site web de mon club d&amp;rsquo;escrime situé à l&amp;rsquo;Est de Rennes, &lt;a href=&quot;http://www.escrime-cesson-rennes.fr&quot; title=&quot;Le site de l'Olympique Cesson Escrime Rennes-Est&quot;&gt;l&amp;rsquo;Olympique Cesson Escrime&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://www.artefarita.com/photos/olympique-cesson-escrime.png&quot; alt=&quot;[Logo de l'Olympique Cesson Escrime Rennes-Est&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Mon expérience de DotClear m&amp;rsquo;a beaucoup aidé à terminer ce travail rapidement (3 jours). Le design est donc volontairement minimaliste. J&amp;rsquo;en retiens quelques petits trucs au niveau technique&amp;nbsp;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;les pages perso de Free ne permettent pas l&amp;rsquo;usage des tables InnoDB de MySQL, il faut donc activer la base PostGreSQL dans l&amp;rsquo;interface d&amp;rsquo;administration du compte (cette activation a pris une quinzaine de jours);&lt;/li&gt;
&lt;li&gt;il faut installer l&amp;rsquo;extension &lt;a href=&quot;http://aiguebrun.adjaya.info/post/20090111/Plugin-Home-Page-Mode-2-pour-Dotclear-2&quot;&gt;HomePageMode2&lt;/a&gt; pour que quelque chose s&amp;rsquo;affiche en page d&amp;rsquo;accueil de DotClear quand on n&amp;rsquo;a utilisé que des &lt;em&gt;pages&lt;/em&gt; (au sens DotClear du terme);&lt;/li&gt;
&lt;li&gt;il faut observer le style des éléments avec l&amp;rsquo;extension Web Developer de Mozilla Firefox (menu CSS / Voir les styles d&amp;rsquo;un élément particulier) et faire les modifications dans l&amp;rsquo;éditeur de thèmes de DotClear (extrêmement pratique).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Il me reste à trouver comment contourner la limitation de l&amp;rsquo;envoi de formulaire avec &quot;form2mail.pl&quot;, qui oblige à avoir une page de confirmation d&amp;rsquo;envoi qui s&amp;rsquo;appelle &quot;result.html&quot; (c&amp;rsquo;est vraiment pourri mais je suis pas sûr qu&amp;rsquo;il y ait autre chose!).&lt;/p&gt;
&lt;p&gt;Pour finir sur des choses moins rébarbatives, voici une petite vidéo que j&amp;rsquo;ai placée en page d&amp;rsquo;accueil et qui a été réalisée par la &lt;a href=&quot;http://www.escrime-ffe.fr&quot;&gt;FFE&lt;/a&gt;&amp;nbsp;:&lt;/p&gt;
&lt;p&gt;&lt;object type=&quot;application/x-shockwave-flash&quot; data=&quot;http://www.youtube.com/v/CPzU03Cqjr0&quot; height=&quot;336&quot; width=&quot;448&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/CPzU03Cqjr0&quot; /&gt;&lt;param name=&quot;wmode&quot; value=&quot;transparent&quot; /&gt;&lt;param name=&quot;allowScriptAccess&quot; value=&quot;always&quot; /&gt;&lt;/object&gt;&lt;/p&gt;
&lt;p&gt;J&amp;rsquo;ai aussi trouvé cette excellente vidéo du &lt;a href=&quot;http://www.cnea-info.fr/&quot;&gt;Conservatoire National d&amp;rsquo;Escrime Ancienne&lt;/a&gt; (CNEA) qui présente vraiment bien l&amp;rsquo;escrime artistique&amp;nbsp;:&lt;/p&gt;
&lt;p&gt;&lt;object type=&quot;application/x-shockwave-flash&quot; data=&quot;http://www.youtube.com/v/qCdvuIwkNqw&quot; height=&quot;336&quot; width=&quot;448&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/qCdvuIwkNqw&quot; /&gt;&lt;param name=&quot;wmode&quot; value=&quot;transparent&quot; /&gt;&lt;param name=&quot;allowScriptAccess&quot; value=&quot;always&quot; /&gt;
&lt;/object&gt;&lt;/p&gt;
&lt;p&gt;Le monde de l&amp;rsquo;escrime étant petit, il se trouve que la fille que l&amp;rsquo;on voit tout le temps dans ce film et qui est sur l&amp;rsquo;image fixe de Youtube, ainsi que le gars qu&amp;rsquo;on voit à la 17ème seconde, faisaient de l&amp;rsquo;escrime artistique à Cesson-Sévigné avec Maître Didier Le Gal il y a quelques années!&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Un monde peu attractif</title>
    <link>http://www.artefarita.com/journel/post/2011/06/14/Un-monde-peu-attractif</link>
    <guid isPermaLink="false">urn:md5:bbc2fbc7c6c20d95f1f87b8fa2a264f1</guid>
    <pubDate>Tuesday 14 June 2011</pubDate>
    <dc:creator>Grégoire</dc:creator>
        <category>Viewed</category>
        <category>Humeur</category><category>Humour</category>    
    <description>    &lt;p&gt;Je me suis &lt;strong&gt;inscrit sur un site de rencontres&lt;/strong&gt;. Mais pas n&amp;rsquo;importe lequel, hein, j&amp;rsquo;ai choisi celui dont la publicité m&amp;rsquo;énervait le plus&amp;nbsp;: &lt;a href=&quot;http://www.attractiveworld.net&quot;&gt;Attractive World&lt;/a&gt;. La publicité en question nous présente des gens au physique &lt;em&gt;alpha&lt;/em&gt;, prétendument célibataires, et ayant des Bac+5 en architecture et direction d&amp;rsquo;orchestre&amp;nbsp;: &lt;strong&gt;la couche supérieure du gratin&lt;/strong&gt;.&lt;/p&gt;


&lt;p&gt;Attractive World se présente comme un site de rencontres pour &lt;em&gt;&lt;strong&gt;célibataires exigeants&lt;/strong&gt;&lt;/em&gt;. Pour entrer sur le site, il faudra être plébiscité par les membres déjà inscrits. Je m&amp;rsquo;attendais à me faire refouler mais je suis passé avec un questionnaire rempli au minimum et une photo où je ne suis même pas rasé. J&amp;rsquo;ai prétendu être un «&lt;em&gt;entreprenaute&lt;/em&gt;». C&amp;rsquo;est du lourd.&lt;/p&gt;


&lt;p&gt;Mais vous allez me dire, à quoi reconnaît-on un célibataire exigeant? Prenons &lt;strong&gt;l&amp;rsquo;exemple d&amp;rsquo;Élodie, 28 ans, parisienne&lt;/strong&gt;&amp;nbsp;:&lt;/p&gt;


&lt;p&gt;&lt;img src=&quot;http://www.artefarita.com/photos/pas_de_moi/attractive-world-ou-presque.jpg&quot; alt=&quot;Élodie&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;Élodie, juin 2011&quot; /&gt;&lt;/p&gt;


&lt;blockquote&gt;&lt;p&gt;&lt;strong&gt;Votre ou vos film(s) favori(s)&lt;/strong&gt;
Si ton film préféré est
&quot;Into the Wild&quot;
sache que même si tu es super beau gosse, riche et tout ce qui va avec, &lt;strong&gt;notre histoire ne pourra jamais débuter&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Votre ou vos livres&amp;thinsp;?&lt;/strong&gt;
Si l&amp;rsquo;un de tes livres préférés a été écrit par l&amp;rsquo;un des auteurs suivants&amp;nbsp;:
Marc Levy, Michel Houellebecq, Beigbeder, Amélie Nothomb, Dan Brown (là pour le coup je meurs sur place), Bernard Werber, Mary Higgins Clark (c&amp;rsquo;est plus rare ça, remarque si ta mère en lit c&amp;rsquo;est pareil). Ah oui et le fameux Matthieu Ricard aussi,... &lt;strong&gt;Sache que nous ne nous rencontrerons jamais&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Votre ou vos artistes&amp;thinsp;?&lt;/strong&gt;
Si le matin au réveil, tu écoutes à fond les ballons David Guetta que tu poursuis ta journée avec un Joey Starr ou un Docteur Dray et que tu t&amp;rsquo;endors en écoutant &quot;Moi Lolita&quot; d&amp;rsquo;Alizée, &lt;strong&gt;sache que notre amour est impossible&lt;/strong&gt;.&lt;/p&gt;&lt;/blockquote&gt;


&lt;p&gt;Je vous épargne la suite car vous avez compris&amp;nbsp;: &lt;strong&gt;un célibataire exigeant, c&amp;rsquo;est un célibataire qui a beaucoup de raisons de vous éliminer&lt;/strong&gt;. Il ne doit pas y avoir beaucoup d&amp;rsquo;hommes qui trouvent grâce aux yeux d&amp;rsquo;Élodie, et la blonde ferait bien de s&amp;rsquo;interroger&amp;nbsp;: parmi ceux-là, combien voudront d&amp;rsquo;elle?&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;L&amp;rsquo;inscription à Attractive World est gratuite&lt;/strong&gt;, ce qui signifie que vous pouvez vous créer &lt;strong&gt;un compte avec lequel vous n&amp;rsquo;avancerez pas d&amp;rsquo;un pas&lt;/strong&gt; dans la satisfaction de vos exigences amoureuses. En particulier, ce compte gratuit ne vous permettra pas d&amp;rsquo;écrire à Sophie, la jolie brune qui est ingénieure et qui habite à Rennes. Ce serait trop facile! En fait c&amp;rsquo;est bien simple, on ne peut que &lt;strong&gt;rechercher les membres, voir leurs photos et leurs vidéos&lt;/strong&gt;, les mettre dans notre panier (oups, il faut dire «&lt;em&gt;sélection&lt;/em&gt;») et inversement savoir qui sont les membres qui ont vu notre profil. C&amp;rsquo;est léger.&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;Les services payants&lt;/strong&gt; sont tout aussi minimalistes&amp;nbsp;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;écrire aux autres membres du site,&lt;/li&gt;
&lt;li&gt;pouvoir discuter en ligne,&lt;/li&gt;
&lt;li&gt;pouvoir proposer des sorties et s&amp;rsquo;y inscrire,&lt;/li&gt;
&lt;li&gt;lire et écrire dans les forums du site.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;L&amp;rsquo;abonnement coûte 59 euros par mois, mais comme dans toutes les bonnes offres commerciales, il est dégressif. Si vous pensez qu&amp;rsquo;il vous faudra &lt;strong&gt;au moins 6 mois pour convaincre Élodie d&amp;rsquo;aller boire un verre&lt;/strong&gt;, ça ne vous coûtera plus &lt;em&gt;que&lt;/em&gt; 29 euros par mois, payable en une fois, donc 174 euros à sortir d&amp;rsquo;un coup. Attention, il paraît que l&amp;rsquo;abonnement est automatiquement renouvelé. C&amp;rsquo;est vrai qu&amp;rsquo;Élodie en 6 mois, c&amp;rsquo;est pas gagné!&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&amp;nbsp;: Attractive World c&amp;rsquo;est beau mais vide, à peu près le contraire d&amp;rsquo;&lt;a href=&quot;http://rennes.onvasortir.com&quot;&gt;OnVaSortir&lt;/a&gt;. Ce site démontre qu&amp;rsquo;avec une communication agressive et un design soigné, on peut trouver des gens qui sont prêts à payer beaucoup pour presque rien. &lt;strong&gt;Le business de l&amp;rsquo;ultra-moderne solitude se porte bien&lt;/strong&gt;.&lt;/p&gt;

&lt;div class=&quot;external-media&quot; style=&quot;margin: 1em auto; text-align: center;&quot;&gt;
&lt;object width=&quot;220&quot; height=&quot;55&quot;  type=&quot;application/x-shockwave-flash&quot;
  data=&quot;http://www.deezer.com/embedded/small-widget.swf?idSong=3371768&amp;amp;colorBackground=0xFFFFFF&amp;amp;colorButtons=0xFFFFFF&amp;amp;textColor1=0x999999&amp;amp;autoplay=0&quot;&gt;
&lt;/object&gt;
&lt;br /&gt;Alain Souchon - Ultra Moderne Solitude
&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;&amp;nbsp;: elle ne s&amp;rsquo;appelle pas Élodie, mais l&amp;rsquo;extrait du questionnaire est authentique. La photo est issue du site &lt;a href=&quot;http://www.yarradigital.com/&quot; hreflang=&quot;en&quot;&gt;www.yarradigital.com&lt;/a&gt;.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Le cinéma c'est du cinéma</title>
    <link>http://www.artefarita.com/journel/post/2011/05/01/Le-cin%C3%A9ma-c-est-du-cin%C3%A9ma</link>
    <guid isPermaLink="false">urn:md5:e72d27f0daac591626cfa14d4ecf5b55</guid>
    <pubDate>Sunday  1 May 2011</pubDate>
    <dc:creator>Grégoire</dc:creator>
        <category>Decompiling reality</category>
        <category>Réflexion</category>    
    <description>    &lt;p&gt;Jean-Luc Godard aurait un jour déclaré&amp;nbsp;:&lt;/p&gt;


&lt;blockquote&gt;&lt;p&gt;La photographie, c’est la vérité et le cinéma, c’est vingt-quatre fois la vérité par seconde…&lt;/p&gt;&lt;/blockquote&gt;


&lt;p&gt;Pourtant, le cinéma raconte une histoire&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;le plus souvent inventée&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;dans laquelle des gens&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;jouent un rôle&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;et prononcent des mots&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;écrits à l&amp;rsquo;avance&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;dans des lieux&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;couramment en carton.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Dis, Jean-Luc, si le cinéma c&amp;rsquo;est la vérité… la vie c&amp;rsquo;est quoi?&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Recette du gâteau d'anniversaire pudique</title>
    <link>http://www.artefarita.com/journel/post/2011/04/27/Recette-du-g%C3%A2teau-d-anniversaire-pudique</link>
    <guid isPermaLink="false">urn:md5:1f74f49953b7c964c385e609bcb9ba7b</guid>
    <pubDate>Wednesday 27 April 2011</pubDate>
    <dc:creator>Grégoire</dc:creator>
        <category>Philo and folly</category>
        <category>Humour</category>    
    <description>    &lt;p&gt;À partir de ce jour, il n&amp;rsquo;y aura plus qu&amp;rsquo;une seule bougie sur mes gâteaux d&amp;rsquo;anniversaire&amp;nbsp;: celle de l&amp;rsquo;année en plus.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Joe Arpaio is a shame for America</title>
    <link>http://www.artefarita.com/journel/post/2011/04/24/Joe-Arpaio-is-a-shame-for-America</link>
    <guid isPermaLink="false">urn:md5:260f4e8fd3b4cbbf581ce28a3063a79d</guid>
    <pubDate>Sunday 24 April 2011</pubDate>
    <dc:creator>Grégoire</dc:creator>
        <category>Viewed</category>
        <category>Humeur</category><category>États-Unis</category>    
    <description>    &lt;p&gt;I don't know if any US citizen will ever read this, but I write this in english nevertheless.&lt;/p&gt;


&lt;p&gt;I recently read an article in a french newspaper about Sheriff Joe Arpaio from Maricopa County, Arizona, as he introduced a &quot;mugshot of the day&quot; contest on his website. What is a mugshot? It's a photo taken and used by the police. Below is a false one, created for Serge Gainsbourg's 1987 LP &quot;You're under arrest&quot;.&lt;/p&gt;


&lt;p&gt;&lt;img src=&quot;http://www.artefarita.com/photos/pas_de_moi/.gainsbourg-you-re-under-arrest_m.jpg&quot; alt=&quot;Serge Gainsbourg - You&amp;#039;re under arrest (1987)&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;Gainsbourg - You&amp;#039;re under arrest, 1987&quot; /&gt;&lt;/p&gt;


&lt;p&gt;It could be April's fools but it's not : everyone can go to the Sheriff's website, see the photos of all the people who've been arrested in Arizona during the last three days, choose the ugliest, laugh, and vote. This is what the Sheriff wants you to do, I believe.&lt;/p&gt;


&lt;p&gt;But wait — will it really make you laugh? Probably not.&lt;/p&gt;


&lt;p&gt;Some of those people in Mr Arpaio's gallery are showing disturbingly pathetic faces. They should have thought about it earlier, you say? But it should seem pretty obvious that some of them are born ugly, or with a mental disorder. And what about the innocents?&lt;/p&gt;


&lt;p&gt;Oh, I know that there are real criminals in this gallery. But do you actually need to see their faces? Aren't they going to be convicted? And really, if something happens to you, go to the police. Then, and only then, you should be allowed to see these mugshots.&lt;/p&gt;


&lt;p&gt;Mr Arpaio may well be described by some journalists as &quot;America's toughest sheriff&quot;, when he lowers dignity to zero, he is a shame for America.&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;Link&lt;/strong&gt; : the &lt;a href=&quot;http://www.mcso.org&quot; hreflang=&quot;en&quot;&gt;Maricopa County Sheriff's Office website&lt;/a&gt; is not only a poorly-designed website.&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;Bottom note&lt;/strong&gt; : I even found a website that copies all mugshots from the Sheriff's website. If you have been arrested by the police and if you want them to delete your mugshot and your name, you have to pay this website 39 USD (that's 27 euros!). If you don't believe me, click on the screenshot below:&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://www.artefarita.com/photos/pas_de_moi/mugshot-removal.png&quot; title=&quot;Mugshot removal 39 dollars&quot;&gt;&lt;img src=&quot;http://www.artefarita.com/photos/pas_de_moi/.mugshot-removal_m.jpg&quot; alt=&quot;Mugshot removal 39 dollars&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;Mugshot removal 39 dollars, avr. 2011&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;I removed the name of the website because it doesn't deserve any advertisement. All this story is hideous!&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Laissez vert, laissez pousser</title>
    <link>http://www.artefarita.com/journel/post/2011/02/17/Laissez-vert%2C-laissez-pousser</link>
    <guid isPermaLink="false">urn:md5:097d8504d6137aad2337b286b809f8b0</guid>
    <pubDate>Wednesday 20 April 2011</pubDate>
    <dc:creator>Grégoire</dc:creator>
        <category>Ecology</category>
        <category>Humour</category><category>Réflexion</category>    
    <description>    &lt;p&gt;On s&amp;rsquo;en sortirait mieux si au lieu du&amp;nbsp;:&lt;/p&gt;


&lt;blockquote&gt;&lt;p&gt;«&lt;em&gt;laissez faire, laissez passer&lt;/em&gt;»&lt;/p&gt;&lt;/blockquote&gt;


&lt;p&gt;nous adoptions le&lt;/p&gt;


&lt;blockquote&gt;&lt;p&gt;«&lt;em&gt;laissez vert, laissez pousser&lt;/em&gt;»&lt;/p&gt;&lt;/blockquote&gt;


&lt;p&gt;Je place cette réflexion sous licence &lt;a href=&quot;http://creativecommons.org/licenses/by/2.0/fr/&quot;&gt;CC-BY&lt;/a&gt;, ah ah ah!&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Se sentir inférieur, c'est être humain</title>
    <link>http://www.artefarita.com/journel/post/2011/04/13/Se-sentir-inf%C3%A9rieur%2C-c-est-%C3%AAtre-humain</link>
    <guid isPermaLink="false">urn:md5:75f08d28bb8c0c196efd2be0416d07ac</guid>
    <pubDate>Wednesday 13 April 2011</pubDate>
    <dc:creator>Grégoire</dc:creator>
        <category>Philo and folly</category>
        <category>Psychologie</category>    
    <description>    &lt;p&gt;Je suis tombé il y a quelques mois sur cette idée lumineuse&amp;nbsp;:&lt;/p&gt;


&lt;blockquote&gt;&lt;p&gt;Se sentir inférieur, c&amp;rsquo;est être humain.&lt;/p&gt;&lt;/blockquote&gt;


&lt;p&gt;Cette idée est d&amp;rsquo;Alfred Adler, un médecin et psychothérapeute autrichien (1870-1937). Et je la note ici parce qu&amp;rsquo;elle m&amp;rsquo;aide.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Les musiques des Cités d'Or en HD</title>
    <link>http://www.artefarita.com/journel/post/2011/03/16/Les-musiques-des-Cit%C3%A9s-d-Or-en-HD</link>
    <guid isPermaLink="false">urn:md5:9ea4a0464ed3ed97daec3f24c3a321d1</guid>
    <pubDate>Wednesday 16 March 2011</pubDate>
    <dc:creator>Grégoire</dc:creator>
        <category>Viewed</category>
        <category>Musique</category>    
    <description>    &lt;p&gt;Nous sommes nombreux à avoir rêvé, enfants, devant le dessin animé «&lt;a href=&quot;http://www.citesdor.com&quot;&gt;Les Mystérieuses Cités d&amp;rsquo;Or&lt;/a&gt;». Les musiques accompagnant les pérégrinations d&amp;rsquo;Esteban, Zia et Tao à travers le pays inca mélangeaient fort habilement le folklore andin et les instruments électroniques, et ont beaucoup contribué à créer l&amp;rsquo;atmosphère exceptionnelle que l&amp;rsquo;on retrouve tout au long de la série.&lt;/p&gt;


&lt;p&gt;Le drame, c&amp;rsquo;est que les enregistrements originaux de Haim Saban et de Shuki Levy ayant apparemment disparu, les seules versions originales de ces musiques étaient obtenues par copie du 33 tours (avec les &lt;em&gt;scratch&lt;/em&gt; et autres &lt;em&gt;plop&lt;/em&gt; qui font mal aux oreilles).&lt;/p&gt;


&lt;p&gt;Et c&amp;rsquo;est là qu&amp;rsquo;arrive la bonne nouvelle&amp;nbsp;: depuis quelques jours sont en ligne des &lt;a href=&quot;http://le-grand-heritage.mu&quot;&gt;réorchestrations des musiques des Mystérieuses Cités d&amp;rsquo;Or&lt;/a&gt; rejouées sur les instruments d&amp;rsquo;époque par un passionné talentueux, Yannick Rault.&lt;/p&gt;


&lt;p&gt;&lt;img src=&quot;http://www.artefarita.com/photos/pas_de_moi/grand-heritage.png&quot; alt=&quot;le-grand-heritage.mu&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;le-grand-heritage.mu, mar. 2011&quot; /&gt;&lt;/p&gt;


&lt;p&gt;Je tire mon chapeau car c&amp;rsquo;est juste excellent.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Joseph Stiglitz sur la transparence</title>
    <link>http://www.artefarita.com/journel/post/2011/03/14/Joseph-Stiglitz-sur-la-transparence</link>
    <guid isPermaLink="false">urn:md5:d03937461dd82cb4041bbabf0488816a</guid>
    <pubDate>Monday 14 March 2011</pubDate>
    <dc:creator>Grégoire</dc:creator>
        <category>Viewed</category>
        <category>Politique</category><category>États-Unis</category>    
    <description>    &lt;p&gt;Il y a des livres qui surprennent et «Le triomphe de la cupidité», de Joseph E. Stiglitz, en fait partie. N&amp;rsquo;étant pas exempt de préjugés sur les économistes états-uniens qui portent lunettes et cravate, je m&amp;rsquo;attendais à n&amp;rsquo;y trouver qu&amp;rsquo;une explication de la crise mondiale déclenchée par l&amp;rsquo;explosion de la bulle immobilière aux États-Unis en 2007 (ce que j&amp;rsquo;étais venu trouver), mais pas à une remise en cause fondamentale.&lt;/p&gt;


&lt;p&gt;&lt;img src=&quot;http://www.artefarita.com/photos/stiglitz-le-triomphe-de-la-cupidite.jpg&quot; alt=&quot;Le triomphe de la cupidité, Joseph Stiglitz&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;Le triomphe de la cupidité, Joseph E. Stiglitz, Les liens qui libèrent, 2010&quot; /&gt;&lt;/p&gt;


&lt;p&gt;Or si c&amp;rsquo;est bien un livre explicatif des mécanismes économiques viciés qui ont conduit le monde dans la crise, c&amp;rsquo;est aussi un livre de nature plus philosophique qui aborde le problème des valeurs à promouvoir pour éviter de relancer à l&amp;rsquo;identique un système qui a échoué. Ça, je ne l&amp;rsquo;attendais pas. Étant absolument persuadé que la transparence est l&amp;rsquo;une de ces valeurs essentielles pour la société dite «de l&amp;rsquo;information» qui est devenue la nôtre, j&amp;rsquo;ai été heureux de relever ce passage de la page 243&amp;nbsp;:&lt;/p&gt;


&lt;blockquote&gt;&lt;p&gt;Avec le temps, il devient toujours plus clair que le rôle du secret était de cacher de mauvaises décisions. Sans la transparence, il ne peut y avoir aucune vraie responsabilité démocratique.&lt;/p&gt;&lt;/blockquote&gt;


&lt;p&gt;Quand j&amp;rsquo;écrivais récemment que &lt;a href=&quot;http://www.artefarita.com/journel/index.php?post/2010/12/07/La-democratie-se-nourrit-de-transparence&quot;&gt;la démocratie se nourrit de transparence&lt;/a&gt; au sujet de l&amp;rsquo;inacceptable levée de boucliers contre Wikileaks, j&amp;rsquo;avais l&amp;rsquo;impression d&amp;rsquo;être un peu seul à considérer la transparence comme un facteur important de bonne santé démocratique. Merci Monsieur Stiglitz.&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;Lien&lt;/strong&gt;&amp;nbsp;: &lt;a href=&quot;http://www.josephstiglitz.com/&quot; hreflang=&quot;en&quot;&gt;le site de Joseph Stiglitz&lt;/a&gt; (en anglais).&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Un fermier génial en Autriche</title>
    <link>http://www.artefarita.com/journel/post/2011/02/14/Un-fermier-g%C3%A9nial-en-Autriche</link>
    <guid isPermaLink="false">urn:md5:2d02dfbcaa645bf8e7f1e4f0b9c6c79c</guid>
    <pubDate>Monday 14 February 2011</pubDate>
    <dc:creator>Grégoire</dc:creator>
        <category>Ecology</category>
        <category>Vidéo</category><category>Écologie</category>    
    <description>    &lt;p&gt;Sepp Holzer est un nom qui ne vous dit peut-être rien et pourtant, ce fermier autrichien né en 1942 est un homme exceptionnel. Depuis 1962, il cultive des terres de montagne dans la région la plus froide de l&amp;rsquo;Autriche, au sud de Salzburg.&lt;/p&gt;


&lt;p&gt;Ce n&amp;rsquo;est pourtant ni le lieu, ni le climat, qui rendent Sepp Holzer si unique, mais les méthodes qu&amp;rsquo;il utilise et les résultats qu&amp;rsquo;il obtient. Le documentaire suivant, d&amp;rsquo;un peu plus d&amp;rsquo;une demi-heure, vaut tous les discours&amp;nbsp;:&lt;/p&gt;

&lt;div class=&quot;external-media&quot; style=&quot;margin: 1em auto; text-align: center;&quot;&gt;
&lt;object type=&quot;application/x-shockwave-flash&quot; data=&quot;http://www.dailymotion.com/swf/x8jafk&quot; width=&quot;448&quot; height=&quot;336&quot;&gt;
	&lt;param name=&quot;movie&quot; value=&quot;http://www.dailymotion.com/swf/x8jafk&quot; /&gt;
	&lt;param name=&quot;wmode&quot; value=&quot;transparent&quot; /&gt;
	&lt;p&gt;&lt;a href=&quot;http://www.dailymotion.com/video/x8jafk_presentation-de-la-permaculture-1-2_lifestyle&quot;&gt;Permaculture&amp;nbsp;: un véritable développement durable (1/2)&lt;/a&gt;&lt;/p&gt;
&lt;/object&gt;
&lt;/div&gt;


&lt;div class=&quot;external-media&quot; style=&quot;margin: 1em auto; text-align: center;&quot;&gt;
&lt;object type=&quot;application/x-shockwave-flash&quot; data=&quot;http://www.dailymotion.com/swf/x8jdk9&quot; width=&quot;448&quot; height=&quot;336&quot;&gt;
	&lt;param name=&quot;movie&quot; value=&quot;http://www.dailymotion.com/swf/x8jdk9&quot; /&gt;
	&lt;param name=&quot;wmode&quot; value=&quot;transparent&quot; /&gt;
	&lt;p&gt;&lt;a href=&quot;http://www.dailymotion.com/video/x8jdk9_presentation-de-la-permaculture-2-2_lifestyle&quot;&gt;Permaculture&amp;nbsp;: un véritable développement durable (2/2)&lt;/a&gt;&lt;/p&gt;
&lt;/object&gt;
&lt;/div&gt;



&lt;p&gt;N&amp;rsquo;est-il pas rassurant de savoir que de telles personnes existent? Il faudrait que ce type d&amp;rsquo;agriculture durable, la &lt;em&gt;permaculture&lt;/em&gt;, devienne la norme et non plus l&amp;rsquo;exception.&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;Liens&lt;/strong&gt;&amp;nbsp;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Le site Internet de &lt;a href=&quot;http://www.krameterhof.at&quot; hreflang=&quot;de&quot;&gt;la ferme de Sepp Holzer&lt;/a&gt; (pour ceux qui lisent l&amp;rsquo;allemand ou l&amp;rsquo;anglais)&lt;/li&gt;
&lt;li&gt;Sur le même thème&amp;nbsp;: &lt;a href=&quot;http://www.artefarita.com/journel/index.php?post/2010/04/22/450-euros-pour-aider-vraiment-la-Terre&quot;&gt;450 euros pour aider vraiment la Terre&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>El empleo</title>
    <link>http://www.artefarita.com/journel/post/2011/01/18/El-empleo</link>
    <guid isPermaLink="false">urn:md5:6e09d01b07e58be4983d71afa118118c</guid>
    <pubDate>Tuesday 18 January 2011</pubDate>
    <dc:creator>Grégoire</dc:creator>
        <category>Viewed</category>
        <category>Art</category><category>Réflexion</category><category>Vidéo</category>    
    <description>    &lt;p&gt;«El Empleo» (L&amp;rsquo;Emploi) est un petit film d&amp;rsquo;animation argentin (2008) de Santiago Bou Grasso, qui donne à réfléchir sur le phénomène de hiérarchisation des citoyens par l&amp;rsquo;emploi que ceux-ci occupent dans la société.&lt;/p&gt;

&lt;div class=&quot;external-media&quot; style=&quot;margin: 1em auto; text-align: center;&quot;&gt;
&lt;object type=&quot;application/x-shockwave-flash&quot; data=&quot;http://www.dailymotion.com/swf/xcclnh&quot; width=&quot;448&quot; height=&quot;336&quot;&gt;
	&lt;param name=&quot;movie&quot; value=&quot;http://www.dailymotion.com/swf/xcclnh&quot; /&gt;
	&lt;param name=&quot;wmode&quot; value=&quot;transparent&quot; /&gt;
	&lt;p&gt;&lt;a href=&quot;http://www.dailymotion.com/video/xcclnh_el-empleo-lemploi_creation&quot;&gt;El Empleo (Santiago Bou Grasso)&lt;/a&gt;&lt;/p&gt;
&lt;/object&gt;
&lt;/div&gt;



&lt;p&gt;Derrière son apparente absurdité (les gens qui remplacent les objets du quotidien et les machines), ce dessin animé exprime l&amp;rsquo;idée que ce n&amp;rsquo;est pas par l&amp;rsquo;emploi que l&amp;rsquo;on peut juger de la respectabilité de chacun&amp;nbsp;: ceux qui sont «en haut» sont aussi ceux qui ont le moins de dignité. Que l&amp;rsquo;on soit d&amp;rsquo;accord ou pas, je trouve remarquable de faire passer autant d&amp;rsquo;idées dans un petit dessin animé muet.&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;Lien&lt;/strong&gt;&amp;nbsp;: &lt;a href=&quot;http://opusbou.blogspot.com/&quot; hreflang=&quot;es&quot;&gt;le blog de Santiago Bou Grasso&lt;/a&gt;.&lt;/p&gt;</description>
    
    
    
      </item>
    
</channel>
</rss>