<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Cam's Blog, yes Sir</title>
	<atom:link href="http://camille.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://camille.wordpress.com</link>
	<description>I'm trapped.</description>
	<lastBuildDate>Wed, 17 Jun 2009 10:09:04 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language></language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='camille.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/5723425fc9b44bc5329fa9ded95e936b?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Cam's Blog, yes Sir</title>
		<link>http://camille.wordpress.com</link>
	</image>
			<item>
		<title>Installer Mandriva sur une dedibox</title>
		<link>http://camille.wordpress.com/2009/05/11/installer-mandriva-sur-une-dedibox/</link>
		<comments>http://camille.wordpress.com/2009/05/11/installer-mandriva-sur-une-dedibox/#comments</comments>
		<pubDate>Mon, 11 May 2009 15:11:30 +0000</pubDate>
		<dc:creator>camille</dc:creator>
				<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[dedibox]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://camille.wordpress.com/?p=20</guid>
		<description><![CDATA[Ayant une dedibox originale (processeur Via C7) qui était devenue poussive, je me suis dit qu&#8217;il était temps de migrer vers une configuration un peu plus costaud.
&#8220;Buggar!!&#8221; comme dirait un ami à moi: plus de Mandriva sur les nouvelles Dedibox!
Me voilà donc parti pour plusieurs jours de galère pour essayer de migrer mon ancienne configuration. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=camille.wordpress.com&blog=9280&post=20&subd=camille&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Ayant une dedibox originale (processeur Via C7) qui était devenue poussive, je me suis dit qu&#8217;il était temps de migrer vers une configuration un peu plus costaud.</p>
<p>&#8220;Buggar!!&#8221; comme dirait un ami à moi: plus de Mandriva sur les nouvelles Dedibox!</p>
<p>Me voilà donc parti pour plusieurs jours de galère pour essayer de migrer mon ancienne configuration. Ayant réussi à démarrer sur un kernel Mandriva, voici la méthode que j&#8217;ai utilisée. Un grand merci à <a href="http://www.guibo.com/">Antoine Ginies</a> pour son aide.</p>
<p><strong>Attention: réservé aux utilisateurs Linux avertis! Utilisez cette procédure à vos risques et périls!</strong></p>
<ol>
<li>Installer Fedora sur la nouvelle Dedibox</li>
<li>Passer la dedibox en système de secours grâce à la console de gestion noter l&#8217;identifiant (ID) le mot de passe et l&#8217;adresse (IP)</li>
<li>Utiliser le script suivant pour monter le disque dur et passer en chroot
<pre>ssh ID@IP
sudo mount /dev/sda1 /mnt/
cd /mnt
sudo mount -o bind /dev /mnt/dev
sudo mount -t proc none /mnt/proc
sudo chroot /mnt /bin/bash
su - root</pre>
</li>
<li>À partir d&#8217;une machine sous Mandriva transférer le système vers la nouvelle Dedibox:
<pre>tar cf - bin/  boot/   etc/  home/  initrd/  lib/   media/  mnt/  opt/   root/  sbin/   tmp/  usr/  var/ | ssh ID@IP "dd of=/mnt/mandriva.tar"</pre>
</li>
<li>Supprimer ensuite la Fedora pour la remplacer par la Mandriva (depuis le chroot de la nouvelle dedibox):
<pre>rm -rf selinux/ bin/  boot/   etc/  home/  initrd/  lib/   media/  mnt/  opt/   root/  sbin/   tmp/  usr/  var/
tar xf mandriva.tar</pre>
</li>
<li>Voilà la partie la plus délicate: il s&#8217;agit de regénérer un initrd qui fonctionne sur la nouvelle dedibox. J&#8217;ai utilisé cette commande, mais cela peut varier selon le noyau que vous utilisez:
<pre>mkinitrd --with=ext3 /boot/initrd-2.6.29.2-tmb-server-3mdv.img 2.6.29.2-tmb-server-3mdv</pre>
</li>
<li>S&#8217;assurer que /etc/lilo.conf est correctement configuré pour booter par défaut sur le initrd généré et le vmlinuz correspondant</li>
<li>lancer &#8220;lilo&#8221;</li>
<li>S&#8217;assurer que le module de la carte réseau est présent dans/etc/modprobe.conf:
<pre>alias eth0 r8169</pre>
</li>
<li>s&#8217;assurer que l&#8217;interface réseau est en DHCP (drakconnect)</li>
<li>repasser la dedibox en mode normal par la console de gestion et croiser les doigts</li>
</ol>
<p>Bonne chance!</p>
<p><span id="more-20"></span>Argh. Après avoir retenté l&#8217;expérience il s&#8217;avère que ce n&#8217;est pas si facile. Voici quelques pistes qui pourraient aider:</p>
<ul>
<li>Faire une mise à jour de la distribution depuis le chroot, en remplaçant les sources urpmi par une version plus récente, et en lançant une mise à jour manuelle (urpmi &#8211;auto &#8211;autoselect)</li>
<li>regénérer les dépendances de module du noyau. Par exemple depmod -a 2.6.29.2-tmb-server-3mdv</li>
<li>vérifier la configuration udev pour l&#8217;interface réseau qui est liée à une adresse MAC dans /etc/udev/rules.d/61-net_config.rules</li>
</ul>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/camille.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/camille.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/camille.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/camille.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/camille.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/camille.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/camille.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/camille.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/camille.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/camille.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=camille.wordpress.com&blog=9280&post=20&subd=camille&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://camille.wordpress.com/2009/05/11/installer-mandriva-sur-une-dedibox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/392401c286a0061d9555475425b5081a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">camille</media:title>
		</media:content>
	</item>
		<item>
		<title>Receta para pan casero</title>
		<link>http://camille.wordpress.com/2009/04/28/receta-para-pan-casero/</link>
		<comments>http://camille.wordpress.com/2009/04/28/receta-para-pan-casero/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 11:57:45 +0000</pubDate>
		<dc:creator>camille</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://camille.wordpress.com/?p=13</guid>
		<description><![CDATA[Este es un post especial para un amigo de Argentina que me pidio mi receta de pan. <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=camille.wordpress.com&blog=9280&post=13&subd=camille&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>¿Un pan con verdadero sabor a infancia, que se conserva por màs de 12 horas, que de buen olor a toda la casa?</p>
<p>¡Es posible!</p>
<h2>Los Ingredientes</h2>
<ul>
<li>Levadura Fresca [1] (20g)</li>
<li>Harina (500g) (Puede ser cualquier tipo de harina o mezclas: blanca, negra, con semillas&#8230;)</li>
<li>Agua tibia</li>
<li>Sal (una cucharita rebosante)</li>
<li>Aceite de Oliva (algunas cucharas, opcional)</li>
</ul>
<h2>La receta</h2>
<ol>
<li>Diluir la levadura con un poco de agua tibia, de harina, y una pizca de azúcar (opcional).</li>
<li>Dejar reposar la levadura en un lugar tibio hasta que haga burbujas.</li>
<li>Mezclar los ingredientes (harina(s), sal, levadura).</li>
<li>Ahora viene lo mas delicado en mi experiencia: se trata de añadir justo la cantidad de agua que haga falta, y no se puede saber de antemano porque depende mucho del tipo de harina. Lo que hago es añadir el agua tibia poco a poco mientras voy amasando la masa. Al final hay que tener mucho cuidado, esperando que el agua este bien incorporada antes de añadir más. Al final la masa debe ser bien blanda, pero no debe pegar a las manos. Si se pega añade harina.</li>
<li>Siga amasando la masa por lo menos 10 minutos, preferiblemente sin &#8220;romper&#8221; la masa. Lo que hago es &#8220;plegar&#8221; la masa de un lado y otro. Esta operación sirve para liberar un componente de la harina que va a dar consistencia al pan. Si no se deshace.</li>
<li>Separar la masa en varios trozos si quiere hacer panecillos en vez de un pan grande.</li>
<li>Haga una(s) bola(s) con la masa, coloque en un (o varios) recipiente grande y cubrir con un paño húmedo, dejar reposar&#8230; algunas horas, hasta que haya duplicado el volumen. Va mas rápido si hace calor (&gt;25°C)</li>
<li>Amasar suavemente la masa (sin cortarla) sólo para suprimir las burbujas de aire que se formaron adentro.</li>
<li>Formar el pan, si la masa es lo suficiente firme no se necesita molde, sobre una placa para el horno</li>
<li>Dejar leudar por última vez el pan, en atmósfera húmeda y tibia. Lo que hago es ponerlo todo ya dentro del horno, con un recipiente pequeño con agua hirviendo. El pan debe crecer de manera significativa, aproximadamente 3 veces su volumen. Cuidado de no esperar demasiado, sino la levadura se muere, huele malo, y el pan cae.</li>
<li>hacer unos cortes en el pan</li>
<li>Cocinar a temperatura alta (210°C) hasta que esté bien dorado. El tiempo y la temperatura dependen del horno y del peso de cada pan.</li>
<li>Dejar enfriar antes de comer aunque huela demasiado bueno <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </li>
</ol>
<p>Como se da cuenta, muchos parametros no se pueden controlar. Se trata mucho de practica. Me llevó muchos años poder lograr pan bueno, de manera consistente… ¡Pero vale la pena!</p>
<p>Buen Provecho.</p>
<p>[1] En vez de lavadura, yo uso levadura madre casera. Es mucho mejor (para mi gusto) y barata que levadura industrial. Para el modo de preparacion vea <a title="Levadura madre" href="http://www.gebirg.com/Panaderia/PREPARACION%20DE%20MASA%20MADRE.htm" target="_blank">http://www.gebirg.com/Panaderia/PREPARACION%20DE%20MASA%20MADRE.htm</a> En este caso se usa màs (como dos cucharas grandes) y no se necesita diluir, se agrega a la harina directamente.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/camille.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/camille.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/camille.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/camille.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/camille.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/camille.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/camille.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/camille.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/camille.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/camille.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=camille.wordpress.com&blog=9280&post=13&subd=camille&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://camille.wordpress.com/2009/04/28/receta-para-pan-casero/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/392401c286a0061d9555475425b5081a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">camille</media:title>
		</media:content>
	</item>
		<item>
		<title>XSL Customizations Easy at Last?</title>
		<link>http://camille.wordpress.com/2007/02/03/xsl-customizations-easy-at-last/</link>
		<comments>http://camille.wordpress.com/2007/02/03/xsl-customizations-easy-at-last/#comments</comments>
		<pubDate>Sat, 03 Feb 2007 18:12:01 +0000</pubDate>
		<dc:creator>camille</dc:creator>
				<category><![CDATA[user friendly]]></category>
		<category><![CDATA[xml]]></category>
		<category><![CDATA[xsl]]></category>
		<category><![CDATA[xsl-fo]]></category>

		<guid isPermaLink="false">http://camille.wordpress.com/2007/02/03/xsl-customizations-easy-at-last/</guid>
		<description><![CDATA[From Word Processing to XML Writing
Editing XML for writing technical documentation has become easier recently thanks to efficient WYSIWYM (What You See is What You Mean) editors like XXE, XMLSpy, Serna, etc.
This has allowed the diffusion of  XML writing to non XML savvy populations, that were glad to get away from word processor limitations [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=camille.wordpress.com&blog=9280&post=11&subd=camille&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h3>From Word Processing to XML Writing</h3>
<p>Editing XML for writing technical documentation has become easier recently thanks to efficient WYSIWYM (What You See is What You Mean) editors like <a href="http://www.xmlmind.com/xmleditor" title="XMLMind XML Editor">XXE</a>, <a href="http://xmlspy.com/">XMLSpy</a>, <a href="http://www.syntext.com/products/serna/index.htm">Serna</a>, etc.</p>
<p>This has allowed the diffusion of  XML writing to non XML savvy populations, that were glad to get away from word processor limitations and headaches. The problem came at publication time.</p>
<p>It is sometimes difficult to introduce the notion of &#8220;styles&#8221; in a word processor, so explaining people they have to learn XSLT and XSL-FO, plus manually edit the XSL by hand&#8230; go figure.</p>
<h3>How to Control Presentation</h3>
<p>Some (proprietary) tools provide helpers:</p>
<ul>
<li><a href="http://www.oxygenxml.com">Oxygen</a> for example presents the list of parameters so that modifying a customization layer (DocBook for example) is easier. However all parameters are listed in no order and no check is made on parameter value.</li>
<li><a href="http://www.arbortext.com/html/epic_editor_overview.html" title="Epic Editor">Arbortext</a> provides a word processor like interface allowing to precisely control of the rendering of each XML element.</li>
</ul>
<p>Otherwise you are doomed to learn XSL, XSL-FO, plus the documentation for each of the XML languages customizations layer you indent to use.</p>
<h3>Towards a Standard Way of Writing Customizations Layers</h3>
<p>I believe that, if we have a standard and structured way of writing a customization layer and its documentation, it would be easy to have tools able to:</p>
<ol>
<li> parse the customization layer structure and elements</li>
<li>build a graphical interface based on this information</li>
<li>guide the user in defining the parameters</li>
<li>generate a customization layer containing the user defined data</li>
</ol>
<h4>Customization Element Types</h4>
<p>There are probably not much element types:</p>
<ol>
<li> Specific parameters, whose value is constrained by a specific type (Boolean, numeric, choice list, etc.)</li>
<li>Specific XSL-FO attributes for:</li>
</ol>
<ul>
<li>page sequence masters</li>
<li>blocks (attribute-set)</li>
<li>inline</li>
</ul>
<p>The idea is not to allow the user to define all possible rendering variable, but provide him with a structured, documented, set of parameters so he can easily make changes on the parameters defined in the &#8220;meta&#8221;-customization layer.</p>
<h4>In Practice</h4>
<p>2 possible implementations occur to me:</p>
<ol>
<li>Meta Customization: use a meta-customization XML vocabulary for defining parameters, organizing them in sections, setting the type, the possible values, etc. So that an application can parse it, build a graphical interface, generate XSL code.</li>
<li>Add the required information for each parameter in a different namespace so the stylesheet itself can be used by the XSLT processor, and at the same time be parsed and modified by the graphical interface.</li>
</ol>
<h3>Conclusion</h3>
<p>With such a standard, every tool that supports it would be able to show its users a nice way of customizing the transformation of all the vocabularies that would provide compatible customization layers (DocBook, DITA, TEI, &#8230;).</p>
<p>I am convinced it would make the life of many users easier, and many experts too <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/camille.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/camille.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/camille.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/camille.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/camille.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/camille.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/camille.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/camille.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/camille.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/camille.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/camille.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/camille.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=camille.wordpress.com&blog=9280&post=11&subd=camille&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://camille.wordpress.com/2007/02/03/xsl-customizations-easy-at-last/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/392401c286a0061d9555475425b5081a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">camille</media:title>
		</media:content>
	</item>
		<item>
		<title>WebDAV mounting under Linux</title>
		<link>http://camille.wordpress.com/2006/03/12/webdav-mounting-under-linux/</link>
		<comments>http://camille.wordpress.com/2006/03/12/webdav-mounting-under-linux/#comments</comments>
		<pubDate>Sun, 12 Mar 2006 14:47:11 +0000</pubDate>
		<dc:creator>camille</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://camille.wordpress.com/2006/03/12/webdav-mounting-under-linux/</guid>
		<description><![CDATA[There is a tool that allows to locally mount remote DAV repositories under Linux, so it appears in the local directory tree. http://dav.sourceforge.net/
I had a really hard time trying to sort out how to make it work, given the scarce information, somethimes in contradiction with the actual system behavior. So this is a minimalistic procedure [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=camille.wordpress.com&blog=9280&post=9&subd=camille&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>There is a tool that allows to locally mount remote DAV repositories under Linux, so it appears in the local directory tree. http://dav.sourceforge.net/</p>
<p>I had a really hard time trying to sort out how to make it work, given the scarce information, somethimes in contradiction with the actual system behavior. So this is a minimalistic procedure to get it running.</p>
<p>Note: This was on Mandriva Linux 2007. Our tutorial is aimed at mounting WebDAV URL https://dav.test.com/share/ by a simple user (&#8220;username&#8221;) so that he can actually upload files on server.</p>
<p>In procedures below we use # to note commands to be run as root and $ for UserName&#8217;s commands.</p>
<p><strong>Preparation</strong></p>
<ol>
<li>Install davfs2 package</li>
<li># modprobe coda</li>
</ol>
<p><strong>Test root mounting</strong></p>
<ol>
<li># mkdir /mnt/DAV</li>
<li># mount.davfs2 https://dav.test.com/share/  /mnt/DAV</li>
<li>You should now be able to browse the /mnt/DAV and alter files in there. If not verify your server configuration.</li>
<li># umount /mnt/DAV</li>
</ol>
<p>Important: There must be no &#8220;/&#8221; at end of URL. Note that if you use an alias on the http server for this WebDAV repository, it must not have an ending &#8220;/&#8221; on the server configuration file&#8230;.<br />
<strong>Allow users to mount the repository</strong></p>
<ol>
<li>Add username to the users group, and relog it if needed</li>
<li>$ mkdir ~/.davfs2/ ~/mnt/DAV/</li>
<li># cp /etc/davfs2/secrets ~username/.davfs2/</li>
<li># chown username: ~username/.davfs2/secrets</li>
<li>Add the credentials to ~username/.davfs2/secrets following comments in there:<br />
<code>https://dav.test.com/share </code>username<code> SeCret</code></li>
<li>As root add the following line in /etc/fstab:<br />
<code>https://dav.test.com/share /home/</code>username<code>/mnt/DAV/  davfs2 user,noauto 0 0</code></li>
</ol>
<p>That done, UserName should be able to mount the repository using:</p>
<p>mount  /home/username/mnt/DAV/</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/camille.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/camille.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/camille.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/camille.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/camille.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/camille.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/camille.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/camille.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/camille.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/camille.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/camille.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/camille.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=camille.wordpress.com&blog=9280&post=9&subd=camille&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://camille.wordpress.com/2006/03/12/webdav-mounting-under-linux/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/392401c286a0061d9555475425b5081a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">camille</media:title>
		</media:content>
	</item>
		<item>
		<title>Automating Flickr upload</title>
		<link>http://camille.wordpress.com/2006/01/21/automating-flickr-upload/</link>
		<comments>http://camille.wordpress.com/2006/01/21/automating-flickr-upload/#comments</comments>
		<pubDate>Sat, 21 Jan 2006 15:19:05 +0000</pubDate>
		<dc:creator>camille</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://camille.wordpress.com/2006/01/21/automating-flickr-upload/</guid>
		<description><![CDATA[More automating  
I was fed up by having to resize and then manually upload all images to flickr web interface by hand&#8230;
So I wrote the little script below, that calls the JFlickrUploader http://sourceforge.net/projects/jflickruploader
That script transforms images found in current dir! (use copies!):
flickrize.sh -family
by default images are reduced to 800&#215;800.
#!/bin/bash
# http://sourceforge.net/projects/jflickruploader
JFU=/usr/local/bin/jflickruploader-1.0-rc3/JFlickrUploader
max_size=800x800
echo "Resizing images to $max_size [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=camille.wordpress.com&blog=9280&post=8&subd=camille&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>More automating <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I was fed up by having to resize and then manually upload all images to flickr web interface by hand&#8230;</p>
<p>So I wrote the little script below, that calls the JFlickrUploader http://sourceforge.net/projects/jflickruploader</p>
<p>That script transforms images found in current dir! (use copies!):</p>
<p>flickrize.sh -family</p>
<p>by default images are reduced to 800&#215;800.</p>
<pre><tt>#!/bin/bash</tt></pre>
<pre><tt># http://sourceforge.net/projects/jflickruploader
JFU=/usr/local/bin/jflickruploader-1.0-rc3/JFlickrUploader
max_size=800x800
echo "Resizing images to $max_size maximum...."
files=$(find . -maxdepth 1 -type f |grep -Ei 'jpg$|jpeg$|gif$|png$' |sort -r)
for i in $files; do echo $i; mogrify -geometry $max_size "$i";done
$JFU $* -files $files</tt></pre>
<p>Note that first time the script is used you&#8217;ll have to register the uploading tool to flickr. Follow instructions.</p>
<p>Enjoy!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/camille.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/camille.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/camille.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/camille.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/camille.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/camille.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/camille.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/camille.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/camille.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/camille.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/camille.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/camille.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=camille.wordpress.com&blog=9280&post=8&subd=camille&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://camille.wordpress.com/2006/01/21/automating-flickr-upload/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/392401c286a0061d9555475425b5081a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">camille</media:title>
		</media:content>
	</item>
		<item>
		<title>Black &amp; White Photography?</title>
		<link>http://camille.wordpress.com/2005/10/22/black-white-photography/</link>
		<comments>http://camille.wordpress.com/2005/10/22/black-white-photography/#comments</comments>
		<pubDate>Sat, 22 Oct 2005 13:37:39 +0000</pubDate>
		<dc:creator>camille</dc:creator>
				<category><![CDATA[camera]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://camille.wordpress.com/2005/10/22/black-white-photography/</guid>
		<description><![CDATA[Modern cameras allow to take B&#38;W pictures, but the pity is that you lose the opportunity to have the color one, unless you save as RAW as well.
Furthermore quality is not excellent in JPEG format. 
However converting from color to B&#38;W is not simple as this article explains.
Wildman found a very nice way to achieve [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=camille.wordpress.com&blog=9280&post=5&subd=camille&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Modern cameras allow to take B&amp;W pictures, but the pity is that you lose the opportunity to have the color one, unless you save as RAW as well.</p>
<p>Furthermore quality is not excellent in JPEG format. </p>
<p>However converting from color to B&amp;W is not simple as <a title="this article" href="http://www.zuga.net/articles/article_55.shtml">this article</a> explains.</p>
<p><a href="http://www.flickr.com/photos/fabman/">Wildman</a> found a very nice way to achieve excellent B&amp;W pictures from raw ppm files:</p>
<p> convert inputColor.ppm -fx &#8216;(u.g*0.66+u.r*0.33+u.b*0.01)&#8217; outputBW.tif</p>
<p>  <a title="Test B&amp;W conversion" href="/files/2005/10/cactus.jpg"> 		</a><a href="/files/2005/10/cactus.jpg" title="Sample B&amp;W result"><img width="128" height="85" src="http://camille.files.wordpress.com/2005/10/cactus.jpg?w=128&#038;h=85" alt="Sample B&amp;W result" /> 	</a><a title="Test B&amp;W conversion" href="/files/2005/10/cactus.jpg"> 	</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/camille.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/camille.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/camille.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/camille.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/camille.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/camille.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/camille.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/camille.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/camille.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/camille.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/camille.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/camille.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=camille.wordpress.com&blog=9280&post=5&subd=camille&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://camille.wordpress.com/2005/10/22/black-white-photography/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/392401c286a0061d9555475425b5081a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">camille</media:title>
		</media:content>

		<media:content url="http://camille.files.wordpress.com/2005/10/cactus.jpg" medium="image">
			<media:title type="html">Sample B&#38;W result</media:title>
		</media:content>
	</item>
		<item>
		<title>Ergonomy vs. features?</title>
		<link>http://camille.wordpress.com/2005/10/22/ergonomy-vs-features/</link>
		<comments>http://camille.wordpress.com/2005/10/22/ergonomy-vs-features/#comments</comments>
		<pubDate>Sat, 22 Oct 2005 13:14:56 +0000</pubDate>
		<dc:creator>camille</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://camille.wordpress.com/2005/10/22/ergonomy-vs-features/</guid>
		<description><![CDATA[
The endless dilema.
Though I am  convinced it is possible to achieve highly complex actions through very little effort.
The problem rose again when I had to convince a newbie it was actually easy to use the photos out of my new dSLR camera. Generally the process to extract photos through a dedicated interface is long [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=camille.wordpress.com&blog=9280&post=4&subd=camille&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /></p>
<p>The endless dilema.</p>
<p>Though I am  convinced it is possible to achieve highly complex actions through very little effort.</p>
<p>The problem rose again when I had to convince a newbie it was actually easy to use the photos out of my new dSLR camera. Generally the process to extract photos through a dedicated interface is long and tedious. However it is possible to achieve all that efficiently in a single click.</p>
<p>Look at the code below. Thanks to that I can:</p>
<ol>
<li>download photos from camera and sort them by date of day in folders  </li>
<li> remove possible duplicates if I did not erase camera images since last download</li>
<li>convert RAW images to a usable format</li>
</ol>
<p>All this in one single click!</p>
<p>    #!/bin/bash</p>
<p> # Change this to where to store Photos<br /> target=/home/multimedia/Images<br /> camera=&#8221;USB PTP Class Camera&#8221;<br /> date=$(date &#8211;iso-8601)<br /> mkdir -p $target/$date/tmp<br /> cd $target/$date/tmp<br /> # Get all photos from camera<br /> gphoto2 &#8211;quiet &#8211;camera $camera &#8211;port usb: -P<br /> # Do not replace photos that were already uploaded this same day<br /> cp -u $target/$date/tmp/* $target/$date<br /> rm -rf $target/$date/tmp<br /> cd $target/$date<br /> # auto-rotate using exif info<br /> exifautotran *.JPG<br /> # If photos were not erased from camera since last upload, remove duplicates<br /> for i in *.{JPG,CR2}; do<br />     for f in $(find $target -name $i ! -samefile $target/$date/$i); do<br />         if md5sum $f | sed -e &#8220;s, .*/,  ,&#8221; | md5sum &#8211;check; then<br />             rm -f $i;<br />         fi<br />     done<br /> done<br /> # decode RAW images if not already done ?<br /> # for i in *.CR2; do if [ ! -e $(basename $i .CR2).ppm ]; then dcraw -w $i; fi; done<br /> # Show them!<br /> gimv -d $target/$date </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/camille.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/camille.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/camille.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/camille.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/camille.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/camille.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/camille.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/camille.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/camille.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/camille.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/camille.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/camille.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=camille.wordpress.com&blog=9280&post=4&subd=camille&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://camille.wordpress.com/2005/10/22/ergonomy-vs-features/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/392401c286a0061d9555475425b5081a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">camille</media:title>
		</media:content>
	</item>
		<item>
		<title>Le chant du Blog</title>
		<link>http://camille.wordpress.com/2005/10/22/le-chant-du-blog/</link>
		<comments>http://camille.wordpress.com/2005/10/22/le-chant-du-blog/#comments</comments>
		<pubDate>Sat, 22 Oct 2005 07:13:15 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://camille.wordpress.com/2005/10/22/le-chant-du-blog/</guid>
		<description><![CDATA[Et voilà cela devait arriver tôt ou tard, me voici charmé par le chant du blog. Flock a joué un grand rôle dois-je dire, pour ma décharge?
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=camille.wordpress.com&blog=9280&post=3&subd=camille&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://flickr.com/photos/57062374@N00/54250206" title="undefined"><img src="http://photos26.flickr.com/54250206_0bdf8b5c18_m.jpg" alt="Flickr Photo" /></a>Et voilà cela devait arriver tôt ou tard, me voici charmé par le chant du blog. <a href="http://www.flock.com/">Flock</a> a joué un grand rôle dois-je dire, pour ma décharge?</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/camille.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/camille.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/camille.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/camille.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/camille.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/camille.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/camille.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/camille.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/camille.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/camille.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/camille.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/camille.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=camille.wordpress.com&blog=9280&post=3&subd=camille&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://camille.wordpress.com/2005/10/22/le-chant-du-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ac1da05c13d286c5692eee7fc4c54d7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html"></media:title>
		</media:content>

		<media:content url="http://photos26.flickr.com/54250206_0bdf8b5c18_m.jpg" medium="image">
			<media:title type="html">Flickr Photo</media:title>
		</media:content>
	</item>
	</channel>
</rss>