<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>6502.fr &#187; Non classé</title>
	<atom:link href="http://www.6502.fr/category/non-classe/feed" rel="self" type="application/rss+xml" />
	<link>http://www.6502.fr</link>
	<description>L'Avant-dernier cri de la technologie</description>
	<lastBuildDate>Sat, 31 Jul 2010 15:39:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Reliques : l&#8217;Osborne 1</title>
		<link>http://www.6502.fr/reliques-osborne-1-photo/240</link>
		<comments>http://www.6502.fr/reliques-osborne-1-photo/240#comments</comments>
		<pubDate>Sat, 29 Aug 2009 10:23:51 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Non classé]]></category>

		<guid isPermaLink="false">http://www.6502.fr/?p=240</guid>
		<description><![CDATA[L&#8217;Osborne 1 a été le premier portable (définition : qui a une poignée). TechRepublic publie une belle galerie de photos.]]></description>
			<content:encoded><![CDATA[<p>L&#8217;Osborne 1 a été le premier portable (définition : qui a une poignée). TechRepublic publie une belle <a href="http://content.techrepublic.com.com/2346-13636_11-193055-1.html">galerie de photos</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.6502.fr/reliques-osborne-1-photo/240/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wikipedia: toutes les routes mènent à Philosophie</title>
		<link>http://www.6502.fr/wikipedia-tout-mene-a-philosophie/231</link>
		<comments>http://www.6502.fr/wikipedia-tout-mene-a-philosophie/231#comments</comments>
		<pubDate>Sun, 03 May 2009 14:25:03 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Non classé]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.6502.fr/?p=231</guid>
		<description><![CDATA[Un nouveau mème circule : sur Wikipedia, tous les liens mènent à l&#8217;article Philosophie ou forment une boucle. Méthode Choisir un article ou cliquer sur Un article au hasard. Cliquer sur le premier lien de l&#8217;article. Nous excluons les liens techniques de Wikipedia (ex. Cet article est une ébauche etc.), les tables des matières, la phonétique&#8230; [...]]]></description>
			<content:encoded><![CDATA[<p>Un <a title="Wikipedia talk:Get to Philosophy [en anglais]" href="http://en.wikipedia.org/wiki/Wikipedia_talk:Get_to_Philosophy">nouveau mème</a> circule : sur Wikipedia, tous les liens mènent à l&#8217;article <a href="http://fr.wikipedia.org/wiki/Philosophie">Philosophie</a> ou forment une boucle.</p>
<h3>Méthode</h3>
<ul>
<li>Choisir un article ou cliquer sur <a href="http://fr.wikipedia.org/wiki/Sp%C3%A9cial:Page_au_hasard">Un article au hasard</a>.</li>
<li>Cliquer sur le premier lien de l&#8217;article. Nous excluons les liens techniques de Wikipedia (ex. Cet article est une <a href="http://fr.wikipedia.org/wiki/Aide:%C3%89bauche">ébauche</a> etc.), les tables des matières, la phonétique&#8230;</li>
<li>Répéter jusqu&#8217;à tomber sur l&#8217;article <a href="http://fr.wikipedia.org/wiki/Philosophie">Philosophie</a> ou sur une boucle (on retombe cycliquement sur les mêmes liens).</li>
</ul>
<h4>Test de l&#8217;hypothèse</h4>
<h5>Premier essai</h5>
<ul>
<li><a href="http://fr.wikipedia.org/wiki/Pablo_Picasso">Pablo Picasso</a></li>
<li><a href="http://fr.wikipedia.org/wiki/M%C3%A1laga">Málaga</a></li>
<li><a href="http://fr.wikipedia.org/wiki/Espagne">Espagne</a></li>
<li><a href="http://fr.wikipedia.org/wiki/Europe_du_sud">Europe du sud</a></li>
<li><a href="http://fr.wikipedia.org/wiki/M%C3%A9diterran%C3%A9en">méditerranéen</a></li>
<li><a href="http://fr.wikipedia.org/wiki/Mer_intercontinentale">mer intercontinentale</a></li>
<li><a href="http://fr.wikipedia.org/wiki/Oc%C3%A9an">océans</a></li>
<li><a href="http://fr.wikipedia.org/wiki/G%C3%A9ographie">géographie</a></li>
<li><a href="http://fr.wikipedia.org/wiki/%C3%89tymologie">étymologique</a></li>
<li><a href="http://fr.wikipedia.org/wiki/Diachronie">diachronique</a></li>
<li><a href="http://fr.wikipedia.org/wiki/Linguistique">linguistique</a></li>
<li><a href="http://fr.wikipedia.org/wiki/XVIIe_si%C3%A8cle">XVII e siècle</a></li>
<li><a href="http://fr.wikipedia.org/wiki/1er_janvier">1 er</a></li>
<li><a href="http://fr.wikipedia.org/wiki/Jour">jour</a></li>
<li><a href="http://fr.wikipedia.org/wiki/Soleil">Soleil</a></li>
<li><a href="http://fr.wikipedia.org/wiki/Latin">latin</a></li>
<li><a href="http://fr.wikipedia.org/wiki/Langue_italique">langue italique</a></li>
<li><a href="http://fr.wikipedia.org/wiki/Langues_satem/centum">centum</a></li>
<li><a href="http://fr.wikipedia.org/wiki/Isoglosse">isoglosse</a></li>
<li><a href="http://fr.wikipedia.org/wiki/Locuteur">locuteurs</a></li>
<li><a href="http://fr.wikipedia.org/wiki/Parole">paroles</a></li>
<li><a href="http://fr.wikipedia.org/wiki/Langage">langage<br />
</a> (nous avons ici un lien technique <em>Cet article est une ébauche concernant la philosophie et la linguistique.</em></li>
<li><a href="http://fr.wikipedia.org/wiki/Signe">signes</a></li>
<li><a href="http://fr.wikipedia.org/wiki/Signe_(s%C3%A9miologie)">Signe</a></li>
<li><a href="http://fr.wikipedia.org/wiki/S%C3%A9miologie">sémiologie</a></li>
<li>Et là on reboucle sur <a href="http://fr.wikipedia.org/wiki/Signe_(s%C3%A9miologie)">signes</a></li>
</ul>
<h4>Deuxième essai</h4>
<ul>
<li><a href="http://fr.wikipedia.org/wiki/Conversation_t%C3%A9l%C3%A9phonique">Conversation téléphonique</a></li>
<li><a href="http://fr.wikipedia.org/wiki/Communication_verbale">échange oral</a></li>
<li><a href="http://fr.wikipedia.org/wiki/Communication">communication</a></li>
<li><a href="http://fr.wikipedia.org/wiki/Relation">relation</a></li>
<li><a href="http://fr.wikipedia.org/wiki/Sociologie">sociologie</a></li>
<li><a href="http://fr.wikipedia.org/wiki/Social">social</a></li>
<li><a href="http://fr.wikipedia.org/wiki/Sens_commun">sens commun</a></li>
<li><a href="http://fr.wikipedia.org/wiki/Connaissance">connaissance</a></li>
<li><a href="http://fr.wikipedia.org/wiki/Philosophie">philosophie</a></li>
</ul>
<p>Il n&#8217;est pas nécessaire d&#8217;aller jusqu&#8217;à la boucle ; si on tombe sur <a href="http://fr.wikipedia.org/wiki/Latin">latin</a>, on sait que ça se termine en boucle.</p>
<p>En fait, l&#8217;hypothèse est probablement valable quel que soit l&#8217;article choisi. C&#8217;est la probabilité de tomber dessus qui change. Ainsi, il est plus probable de tomber sur Philosophie que sur Pablo Picasso, mais la logique est la même.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.6502.fr/wikipedia-tout-mene-a-philosophie/231/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Capistrano – symboles :scm_user et :scm_username</title>
		<link>http://www.6502.fr/capistrano-scm_user-et-scm_username/196</link>
		<comments>http://www.6502.fr/capistrano-scm_user-et-scm_username/196#comments</comments>
		<pubDate>Thu, 30 Oct 2008 15:36:38 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Capistrano]]></category>
		<category><![CDATA[Non classé]]></category>

		<guid isPermaLink="false">http://www.6502.fr/?p=196</guid>
		<description><![CDATA[Si votre nom d&#8217;utilisateur courant n&#8217;est pas celui qui vous permet d&#8217;accéder à votre système de gestion de version, vous pouvez le spécifier dans deploy.rb. Par contre, le nom de ce symbole a été harmonisé. C&#8217;était par exemple :scm_user pour Mercurial ou :p4user pour Perforce). Il faut maintenant utiliser :scm_username, au moins pour Subversion. La [...]]]></description>
			<content:encoded><![CDATA[<p>Si votre nom d&#8217;utilisateur courant n&#8217;est pas celui qui vous permet d&#8217;accéder à votre <a title="Système de Gestion de Version sur Wikipedia" href="http://fr.wikipedia.org/wiki/Syst%C3%A8me_de_gestion_de_versions">système de gestion de version</a>, vous pouvez le spécifier dans <em>deploy.rb</em>.</p>
<p>Par contre, le nom de ce symbole a été harmonisé. C&#8217;était par exemple <strong>:scm_user</strong> pour Mercurial ou <strong>:p4user</strong> pour Perforce). Il faut maintenant utiliser <strong>:scm_username</strong>, au moins pour <a href="http://fr.wikipedia.org/wiki/Subversion_(logiciel)">Subversion</a>. La compatibilité est maintenue pour Mercurial et Perforce.</p>
<p>Vous pouvez également spécifier <strong>:scm_password</strong>. L&#8217;inconvénient dans le cas de Subversion est que ce mot de passe est affiché en clair sur l&#8217;écran.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.6502.fr/capistrano-scm_user-et-scm_username/196/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Test des routes nommées avec RSpec</title>
		<link>http://www.6502.fr/test-des-routes-nommees-avec-rspec/189</link>
		<comments>http://www.6502.fr/test-des-routes-nommees-avec-rspec/189#comments</comments>
		<pubDate>Mon, 20 Oct 2008 21:27:41 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Non classé]]></category>

		<guid isPermaLink="false">http://www.6502.fr/?p=189</guid>
		<description><![CDATA[RSpec offre deux fonctions pour tester les routes. La première vérifie la génération de l&#8217;URL, étant donnés les contrôleurs, actions, etc. : route_for&#40;:controller =&#62; 'sessions', :action =&#62; 'new'&#41;.should == &#34;/login&#34; La seconde fait la vérification inverse ; la requête active-t-elle les bons paramètres ? params_from&#40;:get, '/login'&#41;.should == &#123;:controller =&#62; 'sessions', :action =&#62; 'new'&#125; Il n&#8217;y [...]]]></description>
			<content:encoded><![CDATA[<p>RSpec offre deux fonctions pour tester les routes. La première vérifie la génération de l&#8217;URL, étant donnés les contrôleurs, actions, etc. :</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">route_for<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:controller</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">'sessions'</span>, <span style="color:#ff3333; font-weight:bold;">:action</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">'new'</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">should</span> == <span style="color:#996600;">&quot;/login&quot;</span></pre></div></div>

<p>La seconde fait la vérification inverse ; la requête active-t-elle les bons paramètres ?</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">params_from<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:get</span>, <span style="color:#996600;">'/login'</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">should</span> == <span style="color:#006600; font-weight:bold;">&#123;</span>:controller <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">'sessions'</span>, <span style="color:#ff3333; font-weight:bold;">:action</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">'new'</span><span style="color:#006600; font-weight:bold;">&#125;</span></pre></div></div>

<p>Il n&#8217;y a pas de fonction spécifique pour tester les routes nommées (par exemple <code>login_path</code>). Ça ne présente pas de difficulté particulière, mais il y a une astuce : les routes nommées ne sont chargées qu&#8217;après le première requête. Un exemple :</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">describe <span style="color:#996600;">&quot;named routing&quot;</span> <span style="color:#9966CC; font-weight:bold;">do</span>
    before<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:each</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#9966CC; font-weight:bold;">do</span>
      <span style="color:#008000; font-style:italic;"># If you haven't already made a get/post request through the rails integration</span>
      <span style="color:#008000; font-style:italic;"># session infrastructure the named routes don't get loaded</span>
      get <span style="color:#ff3333; font-weight:bold;">:new</span>
    <span style="color:#9966CC; font-weight:bold;">end</span>
    it <span style="color:#996600;">&quot;should route login_path() correctly&quot;</span> <span style="color:#9966CC; font-weight:bold;">do</span>
      login_path.<span style="color:#9900CC;">should</span> == <span style="color:#996600;">&quot;/login&quot;</span>
    <span style="color:#9966CC; font-weight:bold;">end</span>
  <span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.6502.fr/test-des-routes-nommees-avec-rspec/189/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installation de Ruby Gems 1.3</title>
		<link>http://www.6502.fr/installation-de-ruby-gems-13/185</link>
		<comments>http://www.6502.fr/installation-de-ruby-gems-13/185#comments</comments>
		<pubDate>Wed, 01 Oct 2008 07:59:05 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Non classé]]></category>

		<guid isPermaLink="false">http://www.6502.fr/?p=185</guid>
		<description><![CDATA[La version 1.3 de Ruby Gems est sortie. Ne vous précipitez pas : Un bug signalé sur Windows Un problème potentiel de mise à jour : RubyGems 1.1 and 1.2 have problems upgrading&#8230; En gros, la commande ordinaire gem update --system ne marche pas. L&#8217;annonce originale est ici. Il est toujours possible de télécharger la version 1.3 [...]]]></description>
			<content:encoded><![CDATA[<p>La version 1.3 de Ruby Gems est sortie. Ne vous précipitez pas :</p>
<ul>
<li><a href="http://rubyforge.org/tracker/index.php?func=detail&amp;aid=22226&amp;group_id=126&amp;atid=575">Un bug </a>signalé sur Windows</li>
<li>Un problème potentiel de mise à jour : <em>RubyGems 1.1 and 1.2 have problems upgrading</em>&#8230; En gros, la commande ordinaire <code>gem update --system</code> ne marche pas.</li>
</ul>
<p>L&#8217;annonce originale est <a title="RubyGems 1.3.0 [en anglais]" href="http://blog.segment7.net/articles/2008/09/26/rubygems-1-3-0">ici</a>.</p>
<p>Il est toujours possible de télécharger la <a title="Fichiers rubygems sur RubyForge" href="http://rubyforge.org/frs/?group_id=126">version 1.3</a> et de l&#8217;installer manuellement.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.6502.fr/installation-de-ruby-gems-13/185/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installer RSpec et Autotest</title>
		<link>http://www.6502.fr/installer-rspec-et-autotest/55</link>
		<comments>http://www.6502.fr/installer-rspec-et-autotest/55#comments</comments>
		<pubDate>Sun, 21 Sep 2008 17:58:55 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Non classé]]></category>

		<guid isPermaLink="false">http://www.6502.fr/?p=55</guid>
		<description><![CDATA[Installation de RSpec ./script/plugin install git://github.com/dchelimsky/rspec.git -r 1.1.4 ./script/plugin install git://github.com/dchelimsky/rspec-rails.git -r 1.1.4 ./script/generate rspec Installation d&#8217;Autotest sudo gem install ZenTest Création d&#8217;un modèle avec son script de test RSpec ./script/generate rspec_model &#38;lt;nom_du_modèle&#38;gt; Lancement d&#8217;Autotest autotest # dans le répertoire de l'application Autotest va exécuter le script spec/models/&#60;nom_du_modèle&#62;_spec.rb automatiquement une première fois,  puis chaque fois [...]]]></description>
			<content:encoded><![CDATA[<h3>Installation de RSpec</h3>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>script<span style="color: #000000; font-weight: bold;">/</span>plugin <span style="color: #c20cb9; font-weight: bold;">install</span> git:<span style="color: #000000; font-weight: bold;">//</span>github.com<span style="color: #000000; font-weight: bold;">/</span>dchelimsky<span style="color: #000000; font-weight: bold;">/</span>rspec.git <span style="color: #660033;">-r</span> 1.1.4
.<span style="color: #000000; font-weight: bold;">/</span>script<span style="color: #000000; font-weight: bold;">/</span>plugin <span style="color: #c20cb9; font-weight: bold;">install</span> git:<span style="color: #000000; font-weight: bold;">//</span>github.com<span style="color: #000000; font-weight: bold;">/</span>dchelimsky<span style="color: #000000; font-weight: bold;">/</span>rspec-rails.git <span style="color: #660033;">-r</span> 1.1.4
.<span style="color: #000000; font-weight: bold;">/</span>script<span style="color: #000000; font-weight: bold;">/</span>generate rspec</pre></div></div>

<h3>Installation d&#8217;Autotest</h3>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> ZenTest</pre></div></div>

<h3>Création d&#8217;un modèle avec son script de test RSpec</h3>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>script<span style="color: #000000; font-weight: bold;">/</span>generate rspec_model <span style="color: #000000; font-weight: bold;">&amp;</span>lt;nom_du_modèle<span style="color: #000000; font-weight: bold;">&amp;</span>gt;</pre></div></div>

<h3>Lancement d&#8217;Autotest</h3>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">autotest <span style="color: #666666; font-style: italic;"># dans le répertoire de l'application</span></pre></div></div>

<p>Autotest va exécuter le script <em>spec/models/&lt;nom_du_modèle&gt;_spec.rb</em> automatiquement une première fois,  puis chaque fois que vous sauvez ce fichier après y avoir ajouté un test.</p>
<p>Pour des explications détaillées, voir l&#8217;article de Philippe Hanrigou, <a href="http://ph7spot.com/articles/getting_started_with_autotest">Getting started with Autotest &#8211; Continuous Testing</a> [en anglais]. Vous pouvez aussi voir comment ça se passe dans cette courte <a title="Démonstration d'autotest" href="http://topfunky.com/clients/blog/autotest-tm.mov">vidéo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.6502.fr/installer-rspec-et-autotest/55/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
<enclosure url="http://topfunky.com/clients/blog/autotest-tm.mov" length="2293276" type="video/quicktime" />
		</item>
		<item>
		<title>Terminé à 90%</title>
		<link>http://www.6502.fr/termine-a-90/141</link>
		<comments>http://www.6502.fr/termine-a-90/141#comments</comments>
		<pubDate>Mon, 25 Aug 2008 17:02:27 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Non classé]]></category>

		<guid isPermaLink="false">http://www.6502.fr/?p=141</guid>
		<description><![CDATA[Vous connaissez probablement la plaisanterie sur la planification. Les 90 premiers pour cents du travail prennent 90% du temps, les derniers 10% prennent 90% du temps. Jff Atwood a écrit un article sur le sujet. Le cœur du problème tient en une phrase. This software developer does not have a detailed list of all the [...]]]></description>
			<content:encoded><![CDATA[<p>Vous connaissez probablement la plaisanterie sur la planification.</p>
<blockquote><p>Les 90 premiers pour cents du travail prennent 90% du temps, les derniers 10% prennent 90% du temps.</p></blockquote>
<p>Jff Atwood a écrit <a href="http://www.codinghorror.com/blog/archives/001161.html" title="On Our Project, We're Always 90% Done [en anglais]">un article</a> sur le sujet. Le cœur du problème tient en une phrase.</p>
<blockquote><p><em>This software developer does not have a detailed list of all the things he needs to do. Which means, despite adamantly claiming that he is 99 percent done — he has no idea how long development will take! There&#8217;s simply no factual basis for any of his schedule claims.</em></p></blockquote>
<p>Jeff conclut par une liste en 5 points pour prévenir le problème.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.6502.fr/termine-a-90/141/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
