<?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>The Exploits of Plouj &#187; GNU/Linux</title>
	<atom:link href="http://www.plouj.com/blog/tag/gnulinux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.plouj.com/blog</link>
	<description>A blog by Michael Ploujnikov</description>
	<lastBuildDate>Tue, 01 Feb 2011 13:55:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Quick Picasa evaluation</title>
		<link>http://www.plouj.com/blog/2008/12/02/quick-picasa-evaluation/</link>
		<comments>http://www.plouj.com/blog/2008/12/02/quick-picasa-evaluation/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 03:35:20 +0000</pubDate>
		<dc:creator>plouj</dc:creator>
				<category><![CDATA[review]]></category>
		<category><![CDATA[collection-management]]></category>
		<category><![CDATA[criticism]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[picasa]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://www.plouj.com/blog/?p=144</guid>
		<description><![CDATA[This is a quick, biased, un-authoritative and incomplete evaluation of Google&#8217;s photo manager Picasa. In total, I&#8217;ve spent no more than a couple of hours using Picasa. I&#8217;ve already chosen to use Digikam as my photo manager so I was going to blatantly ignore its many faults and ruthlessly criticise Picasa. Don&#8217;t read this post [...]]]></description>
			<content:encoded><![CDATA[<p>This is a quick, biased, un-authoritative and incomplete evaluation of Google&#8217;s photo manager <a href="http://picasa.google.com/">Picasa</a>. In total, I&#8217;ve spent no more than a couple of hours using Picasa. I&#8217;ve already chosen to use <a href="http://www.digikam.org/">Digikam</a> as my photo manager so I was going to blatantly ignore its many faults and ruthlessly criticise Picasa. Don&#8217;t read this post to learn about Picasa. Download it yourself or <a href="http://www.google.ca/search?hl=en&amp;q=google+picasa+review">look for more comprehensive reviews</a> elsewhere on the &#8216;net. I&#8217;m writing this because I promised a friend at work to look at Picasa and later I decided to put my observations in writing. You&#8217;ve been warned.</p>
<h3>What I liked</h3>
<ul>
<li>importing images into the gallery using a separate and (seemingly) lower priority thread makes  the UI usable right from the start.</li>
<li>it hasn&#8217;t crashed on me while importing 11,000+ pictures into the gallery</li>
<li>cute, but useless timeline display application:<br />
<a href="http://www.plouj.com/blog/wp-content/uploads/2008/12/timeline-app.png"><img class="alignnone size-medium wp-image-172" title="timeline-app" src="http://www.plouj.com/blog/wp-content/uploads/2008/12/timeline-app-300x240.png" alt="" width="300" height="240" /></a></li>
<li>Google provided an RPM repository which makes installing, upgrading and un-installing very easy for me</li>
</ul>
<h3>What I disliked</h3>
<ul>
<li>simplified colour tuning controls. They might be OK for beginners, but they don&#8217;t appeal to someone like me who has used colour curves before.<br />
<a href="http://www.plouj.com/blog/wp-content/uploads/2008/12/tuning-controls.png"><img class="alignnone size-medium wp-image-164" title="tuning-controls" src="http://www.plouj.com/blog/wp-content/uploads/2008/12/tuning-controls-235x300.png" alt="" width="235" height="300" /></a></li>
<li>at first launch, Picasa started to import images from my whole home directory, which is huge and has tonnes of pictures. This only made me realize just how many images I have (mostly application icons and game project textures) that really don&#8217;t belong in a photo catalogue. I also couldn&#8217;t find a way to tell Picasa to stop and only look in certain directories.</li>
<li>Picasa froze when I first tried the &#8220;tools &gt; folder manager&#8221;. It worked on the second attempt, and I realized that this is the tool used to tell Picasa exactly what directories to include when searching for images.</li>
<li>the &#8220;Tools &gt; Experimental &gt; show duplicate pictures&#8221; function was indeed experimental. It seemed to just give me a list of images without indicating what the duplicate pairs (or groups) were.</li>
<li>the search results for the &#8220;show duplicate pictures&#8221; also showed a strange status bar at the top of the main window. I never figured out the meaning of the constantly changing seconds value or what GPixel was referring to.<br />
<a href="http://www.plouj.com/blog/wp-content/uploads/2008/12/top-status-bar.png"><img class="size-medium wp-image-160 alignnone" title="top-status-bar" src="http://www.plouj.com/blog/wp-content/uploads/2008/12/top-status-bar-300x29.png" alt="" width="300" height="29" /></a></li>
<li>the &#8220;importing indicator&#8221;, although neat (it showed what picture was being imported in real time), was rather useless. Most importantly, it did not show the total progress percentage. When I tried to close it, it seemed to just re-appear in a different location along the side of the main Picasa window. Then it simply started sliding up and down without explanation.<a href="http://www.plouj.com/blog/wp-content/uploads/2008/12/annoying-thing.png"><img class="alignnone size-medium wp-image-163" title="annoying-thing" src="http://www.plouj.com/blog/wp-content/uploads/2008/12/annoying-thing.png" alt="" width="270" height="49" /></a></li>
<li>after a lot of clicking, I managed to loose the album list view in the left pane and had to re-start Picasa</li>
<li>ugly dithered splash screen image &#8211; c&#8217;mon, we&#8217;re not in the 1990&#8242;s anymore!</li>
<li>the scrollbar in the main view controls the view scroll speed, not the actual movement of the view &#8211; annoying and misleading. It didn&#8217;t let me get near the bottom right away, and I got dizzy every time I scrolled. However, I think the search result view actually changed the scroll bar function to the usual scroll bar for reasons beyond me. <em>[Edit: after more use I realized that the way the scroll bar behaves in Picasa (combined with really smooth scrolling) helps with showing many photographs to other people looking at your screen. You can just drag the scrollbar just a bit to achieve a nice steady scroll speed and discuss the pictures instead of having to continually "pull" the images up or down with the mouse.]</em></li>
<li>I somehow totally failed to find the familiar <a href="http://flickr.com/photos/vdemeester/425291448/">timeline</a>/<a href="http://www.flickr.com/photos/digikam/2603260875/">calendar view</a> of my photos. Does Picasa really not have a way to organize photos in this manner?<a href="http://www.flickr.com/photos/digikam/2603260875/"><br />
</a></li>
<li>this is <a href="http://www.gnu.org/philosophy/categories.html#ProprietarySoftware">proprietary software</a> from Google. I actually like a lot of stuff that comes from Google, but when it comes to software licensing, I don&#8217;t play favourites. I simply try to avoid non-<a href="http://www.gnu.org/philosophy/free-sw.html">Free Software</a> as much as I can.</li>
</ul>
<h3>What I ignored</h3>
<ul>
<li>uploading to and syncing with various web services</li>
<li>ordering prints</li>
<li>printing to a local/personal printer</li>
<li>picture backup feature &#8211; rsync is fine for me</li>
<li>passport photo function &#8211; This made me realize that I&#8217;m definitely not the intended audience of Picasa</li>
<li>the ability to store video flies, which I consider to be outside of the scope of this program</li>
<li>anything else I haven&#8217;t mentioned, obviously</li>
</ul>
<h3>Final thoughts</h3>
<p>In conclusion, I&#8217;ve used my experience with Picasa to re-inforced my decision to stick with Digikam &#8211; a Free/OpenSource Software photo manager.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.plouj.com/blog/2008/12/02/quick-picasa-evaluation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>TAP that DHCP bridge for some Qemu TUN in Fedora</title>
		<link>http://www.plouj.com/blog/2008/07/29/tap-that-dhcp-bridge-for-some-qemu-tun-in-fedora/</link>
		<comments>http://www.plouj.com/blog/2008/07/29/tap-that-dhcp-bridge-for-some-qemu-tun-in-fedora/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 23:22:40 +0000</pubDate>
		<dc:creator>plouj</dc:creator>
				<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[bridge]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[Qemu]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[sysconfig]]></category>
		<category><![CDATA[TAP]]></category>
		<category><![CDATA[TUN]]></category>

		<guid isPermaLink="false">http://www.plouj.com/blog/?p=20</guid>
		<description><![CDATA[The other day I needed to setup bridged networking for a Qemu virtual machine. Although I found a rather well written generic TAP interfaces guide on Wikibooks. It only explained how to configure a network bridge on a host machine with a static IP. I wanted to do this on a host that used DHCP. [...]]]></description>
			<content:encoded><![CDATA[<p>The other day I needed to setup bridged networking for a Qemu virtual machine. Although I found a rather well written generic <a href="http://en.wikibooks.org/wiki/QEMU/Networking#TAP_interfaces">TAP interfaces guide on Wikibooks</a>. It only explained how to configure a network bridge on a host machine with a static IP. I wanted to do this on a host that used DHCP. Plus I wanted to keep all configuration in Fedora specific places. Having discovered a good way to do this through experimentation after a few fruitless Google searches I thought it would be useful for myself and others to have the configuration documented here.</p>
<h2>ifcfg-eth0</h2>
<p>First, I changed the host&#8217;s (auto-generated) <code>/etc/sysconfig/network-scripts/ifcfg-eth0</code> script from this:</p>
<pre># Attansic Technology Corp. L1 Gigabit Ethernet Adapter
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=00:1D:60:35:A7:64
ONBOOT=yes</pre>
<p>to this:</p>
<pre># Attansic Technology Corp. L1 Gigabit Ethernet Adapter
DEVICE=eth0
TYPE=Ethernet
BRIDGE=br0
ONBOOT=yes</pre>
<p>This turns off DHCP on the physical Ethernet device and just specifies that it will be connected to or a part of a bridge.</p>
<h2>ifcfg-br0</h2>
<p>Second, I created <code>/etc/sysconfig/network-scripts/ifcfg-br0</code>, which will be called to setup a bridge device:</p>
<pre>DEVICE=br0
TYPE=Bridge
BOOTPROTO=dhcp
HWADDR=00:1D:60:35:A7:64
ONBOOT=yes
DELAY=0
STP=off</pre>
<p>As you can see, most of this configuration is copied from eth0 plus the bridge configuration as per the Qemu Wikibook.</p>
<h2>qemu-ifup/down</h2>
<p>Third, I shortened the <code>/etc/qemu-ifup</code> and <code>/etc/qemu-ifdown</code> from Wikibooks to get this:</p>
<p><em>/etc/qemu-ifup:</em></p>
<pre>#!/bin/sh
USER=$(id -un)
sudo /usr/sbin/openvpn --mktun --dev $1 --user "$USER"
sudo /sbin/ifconfig $1 0.0.0.0 promisc up
sudo /usr/sbin/brctl addif br0 $1</pre>
<p><em>/etc/qemu-ifdown:</em></p>
<pre>#!/bin/sh
sudo /sbin/ifconfig $1 down
sudo /usr/sbin/brctl delif br0 $1
sudo /usr/sbin/openvpn --rmtun --dev $1</pre>
<p>Here I basically removed all of the configuration that is taken care of in the sysconfig scripts. I also made explicit use of sudo simply because that is my preference.</p>
<h2>Final steps</h2>
<p>Now I can simply run <code>/etc/qemu-ifup tap0</code> once to create a TAP device, and use something like: <code>qemu-kvm -hda /virtual-machines/fedora9.disk -m 512 -net nic -net tap,ifname=tap0,script=no</code> to start a virtual machine. When I&#8217;m done running the virtual machine, I can run <code>/etc/qemu-ifdown tap0</code> to remove the TAP device.</p>
<p>All this sounds simple now that it&#8217;s working, but initially it took a lot of guessing on my part so I&#8217;m documenting it here for the future.</p>
<p>I would appreciate it if someone can point me to the official Redhat/Fedora documentation on editing <code>/etc/sysconfig/network-scripts/</code> scripts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.plouj.com/blog/2008/07/29/tap-that-dhcp-bridge-for-some-qemu-tun-in-fedora/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

