<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Sweet Ohm</title>
	<atom:link href="http://sweetohm.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sweetohm.wordpress.com</link>
	<description>Considérations sur l'informatique en général et le développement en particulier</description>
	<lastBuildDate>Thu, 04 Aug 2011 17:31:12 +0000</lastBuildDate>
	<language>fr</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sweetohm.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Sweet Ohm</title>
		<link>http://sweetohm.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sweetohm.wordpress.com/osd.xml" title="Sweet Ohm" />
	<atom:link rel='hub' href='http://sweetohm.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Décorateur Django pour accès super user</title>
		<link>http://sweetohm.wordpress.com/2011/05/31/decorateur-django-pour-acces-super-user/</link>
		<comments>http://sweetohm.wordpress.com/2011/05/31/decorateur-django-pour-acces-super-user/#comments</comments>
		<pubDate>Tue, 31 May 2011 12:33:47 +0000</pubDate>
		<dc:creator>sweetohm</dc:creator>
				<category><![CDATA[développement]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://sweetohm.wordpress.com/?p=349</guid>
		<description><![CDATA[Il est souvent pratique de n&#8217;autoriser l&#8217;accès à une méthode d&#8217;une vue Django qu&#8217;aux seuls super utilisateurs. Pour ce faire, on pourra utiliser le décorateur suivant : def super_user(function): """Decorator to grant access to super user only.""" def decorator(request): if not request.user.is_superuser: raise PermissionDenied("Must be superuser to get configuration") return function(request) return decorator Ainsi, la <a href="http://sweetohm.wordpress.com/2011/05/31/decorateur-django-pour-acces-super-user/" class="excerpt-more-link">[&#8230;]</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sweetohm.wordpress.com&amp;blog=696380&amp;post=349&amp;subd=sweetohm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://sweetohm.wordpress.com/2011/05/31/decorateur-django-pour-acces-super-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e43fa2db92ccd3e721ac7c172915fe36?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sweetohm</media:title>
		</media:content>
	</item>
		<item>
		<title>Lister les projets d&#8217;un repository CVS</title>
		<link>http://sweetohm.wordpress.com/2011/05/29/lister-les-projets-drepository-cvs/</link>
		<comments>http://sweetohm.wordpress.com/2011/05/29/lister-les-projets-drepository-cvs/#comments</comments>
		<pubDate>Sun, 29 May 2011 11:38:57 +0000</pubDate>
		<dc:creator>sweetohm</dc:creator>
				<category><![CDATA[culture informatique]]></category>
		<category><![CDATA[développement]]></category>
		<category><![CDATA[gestion de versions]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://sweetohm.wordpress.com/?p=341</guid>
		<description><![CDATA[cvs -d :ext:foo@rubyforge.org:/var/cvs/bar rdiff -s -D "1/1/2037"<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sweetohm.wordpress.com&amp;blog=696380&amp;post=341&amp;subd=sweetohm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://sweetohm.wordpress.com/2011/05/29/lister-les-projets-drepository-cvs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e43fa2db92ccd3e721ac7c172915fe36?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sweetohm</media:title>
		</media:content>
	</item>
		<item>
		<title>Requête HTTP en Python</title>
		<link>http://sweetohm.wordpress.com/2011/04/22/requete-http-en-python/</link>
		<comments>http://sweetohm.wordpress.com/2011/04/22/requete-http-en-python/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 23:22:18 +0000</pubDate>
		<dc:creator>sweetohm</dc:creator>
				<category><![CDATA[développement]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://sweetohm.wordpress.com/?p=333</guid>
		<description><![CDATA[J&#8217;ai eu aujourd&#8217;hui besoin de réaliser des requêtes HTTP en Python en contrôlant finement tous les paramètres de la requête (URL bien sûr, mais aussi la méthode, les en-têtes et le corps) et les valeurs de retour (le statut, le message, le corps et les en-têtes). N&#8217;ayant rien trouvé répondant à mon besoin, j&#8217;ai dû <a href="http://sweetohm.wordpress.com/2011/04/22/requete-http-en-python/" class="excerpt-more-link">[&#8230;]</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sweetohm.wordpress.com&amp;blog=696380&amp;post=333&amp;subd=sweetohm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://sweetohm.wordpress.com/2011/04/22/requete-http-en-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e43fa2db92ccd3e721ac7c172915fe36?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sweetohm</media:title>
		</media:content>
	</item>
		<item>
		<title>Une 2CV au prix d&#8217;une Ferrari ?</title>
		<link>http://sweetohm.wordpress.com/2011/04/19/une-2cv-pour-le-prix-dune-ferrari/</link>
		<comments>http://sweetohm.wordpress.com/2011/04/19/une-2cv-pour-le-prix-dune-ferrari/#comments</comments>
		<pubDate>Mon, 18 Apr 2011 23:32:55 +0000</pubDate>
		<dc:creator>sweetohm</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[informatique personnelle]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[matériel]]></category>

		<guid isPermaLink="false">https://sweetohm.wordpress.com/2011/04/19/une-2cv-pour-le-prix-dune-ferrari/</guid>
		<description><![CDATA[Mon joli MacBook Pro a flanché ce soir : la machine a commencé par planter de temps en temps, puis sont apparus des artefacts graphiques, et maintenant elle plante systématiquement au bout de cinq minutes. Je me suis renseigné sur le net et il semble que ce problème soit connu : les cartes graphiques des <a href="http://sweetohm.wordpress.com/2011/04/19/une-2cv-pour-le-prix-dune-ferrari/" class="excerpt-more-link">[&#8230;]</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sweetohm.wordpress.com&amp;blog=696380&amp;post=330&amp;subd=sweetohm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://sweetohm.wordpress.com/2011/04/19/une-2cv-pour-le-prix-dune-ferrari/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e43fa2db92ccd3e721ac7c172915fe36?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sweetohm</media:title>
		</media:content>
	</item>
		<item>
		<title>Taxinomie des pathologies des informaticiens</title>
		<link>http://sweetohm.wordpress.com/2011/04/13/328/</link>
		<comments>http://sweetohm.wordpress.com/2011/04/13/328/#comments</comments>
		<pubDate>Wed, 13 Apr 2011 05:52:05 +0000</pubDate>
		<dc:creator>sweetohm</dc:creator>
				<category><![CDATA[culture informatique]]></category>
		<category><![CDATA[développement]]></category>
		<category><![CDATA[humour]]></category>

		<guid isPermaLink="false">https://sweetohm.wordpress.com/2011/04/13/328/</guid>
		<description><![CDATA[Depuis quelques temps au boulot, j&#8217;ai l&#8217;impression de me trouver dans un asile d&#8217;aliénés : un Napoléon en réunion, un Jésus en séminaire, un Hitler à la pause café. Je réalise que le petit monde de l&#8217;informatique est rempli d&#8217;illuminés de toutes sortes dont voici une rapide taxinomie : L&#8217;AGILISTE Ces gens pensent que leur <a href="http://sweetohm.wordpress.com/2011/04/13/328/" class="excerpt-more-link">[&#8230;]</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sweetohm.wordpress.com&amp;blog=696380&amp;post=328&amp;subd=sweetohm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://sweetohm.wordpress.com/2011/04/13/328/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e43fa2db92ccd3e721ac7c172915fe36?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sweetohm</media:title>
		</media:content>
	</item>
		<item>
		<title>Traduction en ligne de commande</title>
		<link>http://sweetohm.wordpress.com/2011/01/26/traduction-en-ligne-de-commande/</link>
		<comments>http://sweetohm.wordpress.com/2011/01/26/traduction-en-ligne-de-commande/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 13:10:30 +0000</pubDate>
		<dc:creator>sweetohm</dc:creator>
				<category><![CDATA[développement]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://sweetohm.wordpress.com/?p=320</guid>
		<description><![CDATA[J&#8217;ai longtemps cherché un script de traduction à lancer depuis la ligne de commande, sans succès. J&#8217;ai donc fini par développer le mien, basé sur l&#8217;API Google de traduction : Usage: traduire.py [-h] [-s source] [-t target] phrase à traduire -h         Afficher cette page d'aide. -s source  Langue source (au format <a href="http://sweetohm.wordpress.com/2011/01/26/traduction-en-ligne-de-commande/" class="excerpt-more-link">[&#8230;]</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sweetohm.wordpress.com&amp;blog=696380&amp;post=320&amp;subd=sweetohm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://sweetohm.wordpress.com/2011/01/26/traduction-en-ligne-de-commande/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e43fa2db92ccd3e721ac7c172915fe36?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sweetohm</media:title>
		</media:content>
	</item>
		<item>
		<title>Ignorer les .pyc dans Netbeans</title>
		<link>http://sweetohm.wordpress.com/2010/12/14/ignorer-les-pyc-dans-netbeans/</link>
		<comments>http://sweetohm.wordpress.com/2010/12/14/ignorer-les-pyc-dans-netbeans/#comments</comments>
		<pubDate>Tue, 14 Dec 2010 13:20:59 +0000</pubDate>
		<dc:creator>sweetohm</dc:creator>
				<category><![CDATA[développement]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://sweetohm.wordpress.com/?p=312</guid>
		<description><![CDATA[Par défaut Netbeans affiche les fichiers .pyc dans l&#8217;explorateur de projets. C&#8217;est assez énervant et voici comment ignorer ces fichiers : aller dans le menu Tools/Options/Miscellaneous/Files. Dans la ligne File Ignored by the IDE (qui est une expression rationnelle), ajouter à la fin : ﻿﻿﻿﻿﻿&#124;^.+\.pyc$ Attention cependant, je me suis aperçu que cette configuration fait <a href="http://sweetohm.wordpress.com/2010/12/14/ignorer-les-pyc-dans-netbeans/" class="excerpt-more-link">[&#8230;]</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sweetohm.wordpress.com&amp;blog=696380&amp;post=312&amp;subd=sweetohm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://sweetohm.wordpress.com/2010/12/14/ignorer-les-pyc-dans-netbeans/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e43fa2db92ccd3e721ac7c172915fe36?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sweetohm</media:title>
		</media:content>
	</item>
		<item>
		<title>Google temps réel</title>
		<link>http://sweetohm.wordpress.com/2010/11/29/google-temps-reel/</link>
		<comments>http://sweetohm.wordpress.com/2010/11/29/google-temps-reel/#comments</comments>
		<pubDate>Mon, 29 Nov 2010 15:24:36 +0000</pubDate>
		<dc:creator>sweetohm</dc:creator>
				<category><![CDATA[google]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://sweetohm.wordpress.com/?p=307</guid>
		<description><![CDATA[Après avoir terminé et publié l&#8217;article précédent (à propos des raccourcis clavier de Netbeans), j&#8217;ai effectué une recherche avec les mots clefs du texte (﻿netbeans raccourcis clavier azerty) et l&#8217;article est arrivé en 4ème position. C&#8217;était 3 minutes, montre en main, après avoir publié l&#8217;article&#8230; Parfois je me demande comment ils font ! La seule <a href="http://sweetohm.wordpress.com/2010/11/29/google-temps-reel/" class="excerpt-more-link">[&#8230;]</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sweetohm.wordpress.com&amp;blog=696380&amp;post=307&amp;subd=sweetohm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://sweetohm.wordpress.com/2010/11/29/google-temps-reel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e43fa2db92ccd3e721ac7c172915fe36?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sweetohm</media:title>
		</media:content>
	</item>
		<item>
		<title>Raccourcis clavier sous NetBeans</title>
		<link>http://sweetohm.wordpress.com/2010/11/29/raccourcis-clavier-sous-netbeans/</link>
		<comments>http://sweetohm.wordpress.com/2010/11/29/raccourcis-clavier-sous-netbeans/#comments</comments>
		<pubDate>Mon, 29 Nov 2010 15:03:33 +0000</pubDate>
		<dc:creator>sweetohm</dc:creator>
				<category><![CDATA[développement]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://sweetohm.wordpress.com/?p=299</guid>
		<description><![CDATA[Les raccourcis clavier sous NetBeans 6.9 et Linux (Mint dans mon cas) avec un clavier AZERTY ne fonctionnent pas toujours correctement : bien que l&#8217;éditeur reconnaisse bien le clavier, il gère les raccourcis comme si notre clavier était un QUERTY. Autrement dit, Ctrl-Z (Undo) est reconnu comme Ctrl-W (fermeture de la fenêtre) et inversement. C&#8217;est <a href="http://sweetohm.wordpress.com/2010/11/29/raccourcis-clavier-sous-netbeans/" class="excerpt-more-link">[&#8230;]</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sweetohm.wordpress.com&amp;blog=696380&amp;post=299&amp;subd=sweetohm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://sweetohm.wordpress.com/2010/11/29/raccourcis-clavier-sous-netbeans/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e43fa2db92ccd3e721ac7c172915fe36?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sweetohm</media:title>
		</media:content>
	</item>
		<item>
		<title>Premières impressions de l&#8217;iPad</title>
		<link>http://sweetohm.wordpress.com/2010/05/30/premieres-impressions-de-lipad/</link>
		<comments>http://sweetohm.wordpress.com/2010/05/30/premieres-impressions-de-lipad/#comments</comments>
		<pubDate>Sat, 29 May 2010 23:45:01 +0000</pubDate>
		<dc:creator>sweetohm</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[informatique personnelle]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[matériel]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://sweetohm.wordpress.com/?p=286</guid>
		<description><![CDATA[J&#8217;ai acheté un iPad vendredi, après l&#8217;avoir réservé à la FNAC la semaine précédente. Pourquoi avoir acheté un iPad alors que j&#8217;ai (déjà) un iPhone ? Tout simplement parce que j&#8217;utilise énormément mon iPhone, bien plus maintenant que mon Mac, et que la perspective de disposer d&#8217;un écran d&#8217;une diagonale de 10 pouces était très <a href="http://sweetohm.wordpress.com/2010/05/30/premieres-impressions-de-lipad/" class="excerpt-more-link">[&#8230;]</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sweetohm.wordpress.com&amp;blog=696380&amp;post=286&amp;subd=sweetohm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://sweetohm.wordpress.com/2010/05/30/premieres-impressions-de-lipad/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e43fa2db92ccd3e721ac7c172915fe36?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sweetohm</media:title>
		</media:content>

		<media:content url="http://sweetohm.files.wordpress.com/2010/05/l_978_522_084a3b9a-d3c5-403d-a247-f06803cc5d80.jpeg" medium="image" />
	</item>
	</channel>
</rss>
