<?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:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>Cyberward.net &#187; Software</title>
	<atom:link href="http://www.cyberward.net/blog/category/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cyberward.net/blog</link>
	<description>The Drive Failures and Shutter Clicks of Christopher Ward</description>
	<lastBuildDate>Wed, 21 Jul 2010 12:00:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>I hate pair programming</title>
		<link>http://www.cyberward.net/blog/2009/11/i-hate-pair-programming/</link>
		<comments>http://www.cyberward.net/blog/2009/11/i-hate-pair-programming/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 14:22:05 +0000</pubDate>
		<dc:creator>Chris Ward</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.cyberward.net/blog/?p=1624</guid>
		<description><![CDATA[¬†
First, to clarify, I don&#8217;t hate the two lovely girls in this picture, but they can be quite the pair. Second, my mother told me never to say hate, so maybe that was not a good title. How about &#8220;I detest pair programming.&#8221;
Don&#8217;t get me wrong, I don&#8217;t want to be stuck in a cave [...]]]></description>
			<content:encoded><![CDATA[<p><a class="tt-flickr tt-flickr-Medium" title="Hand in Hand" href="http://www.flickr.com/photos/v3ggi32u/2745088032/"><img class="alignnone" src="http://farm4.static.flickr.com/3049/2745088032_c9ec585cfe.jpg" alt="Hand in Hand" width="500" height="393" /></a>¬†</p>
<p>First, to clarify, I don&#8217;t hate the two lovely girls in this picture, but they can be quite the pair. Second, my mother told me never to say hate, so maybe that was not a good title. How about &#8220;I detest pair programming.&#8221;</p>
<p>Don&#8217;t get me wrong, I don&#8217;t want to be stuck in a cave for a couple of months and then crawl out bleary eyed and pronounce that I have created the perfect piece of code. I love collaboration. I go to others for help, input, guidance,¬†or to reciprocate for someone else.</p>
<p>What I¬†don&#8217;t like, is sitting¬†in a cube with two people where one person types and the¬†other looks over their shoulder all day.¬†Maybe I haven&#8217;t had the right person to do this with. Maybe¬†that is why the pair of kids in the picture works. They have their issues, but they get along well, and have similar goals most of the time.</p>
<p>When I am paired with someone, and they have the keyboard, I just feel like one of two things occurs. I am sitting there bored wondering why they just don&#8217;t let me type, or they are whipping through some material I have never worked with, and I am lost when I don&#8217;t get to &#8220;drive&#8221;. When I have the keyboard, I just find it annoying to have someone asking if the code could be done differently every 5 minutes. I don&#8217;t mind getting feedback, and code reviews are great. I have no problem working on a task, checking for ideas, implementing my approach, then getting feedback, and maybe refactoring. I just don&#8217;t like it in real time.</p>
<p>I don&#8217;t see the benefit. Luckily it only looks like we are doing this while several of us are new. It won&#8217;t last forever. Have you ever had to work for an extended time period in a pair? Did it work?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyberward.net/blog/2009/11/i-hate-pair-programming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up Linux Software Raid</title>
		<link>http://www.cyberward.net/blog/2009/05/setting-up-linux-software-raid/</link>
		<comments>http://www.cyberward.net/blog/2009/05/setting-up-linux-software-raid/#comments</comments>
		<pubDate>Sat, 30 May 2009 12:00:55 +0000</pubDate>
		<dc:creator>Chris Ward</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mdadm]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.cyberward.net/blog/?p=973</guid>
		<description><![CDATA[This is part of our series on building a NAS. In this article we will get the box set up with a static IP address, and get your drives set up for RAID 1.
We are assuming that at this point you have Ubuntu installed. We are gong to install software raid in a moment. The [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-1204" title="Dual Drives for Raid 1" src="http://www.cyberward.net/blog/wp-content/uploads/dualdrive.jpg" alt="Dual Drives for Raid 1" width="329" height="173" />This is part of our series on building a NAS. In this article we will get the box set up with a static IP address, and get your drives set up for RAID 1.</p>
<p>We are assuming that at this point you have Ubuntu installed. We are gong to install software raid in a moment. The first thing I want to do is make sure we have a static ip address. Usually Ubuntu will start up with a dynamic ip address. This can make it more difficult to transfer files to this box, so lets make it static.<br />
<span id="more-973"></span></p>
<h3>Setting a static IP address</h3>
<p>Type ifconfig eth0, and you will see your current address.</p>
<p>Lets make it static. Note, typing sudo in front of commands lets you assume the privileges of the administrator, or super user.</p>
<pre class="linux">sudo nano /etc/network/interfaces</pre>
<p>We will replace the text there with this text, which will assign 10.0.0.50 to our server, and assume the gateway is at 10.0.0.1:</p>
<pre class="linux">auto eth0
iface eth0 inet static
address 10.0.0.50
netmask 255.255.255.0
network 10.0.0.0
broadcast 10.0.0.255
gateway 10.0.0.1</pre>
<p>restart the network to get the new settings :</p>
<pre class="linux">sudo /etc/init.d/networking restart</pre>
<p>ifconfig eth0 and you should see the new settings.</p>
<p>If you want to see a whole lot more networking commands, see <a href="http://www.cyberciti.biz/tips/howto-ubuntu-linux-convert-dhcp-network-configuration-to-static-ip-configuration.html">here</a>.</p>
<h3>Finding out drives</h3>
<p>Great. Now before we can put two drives into a RAID 1 array, we need to tell linux what drives we are going to use for this.</p>
<p>How do we know what disks? I just type dmesg. This will scroll lots of stuff down the screen. If you are in the GUI at a terminal you can scroll. Otherwise type dmesg | less which will let you move through the text with the cursor keys.</p>
<p>This is all the hardware that was found and initialized. You will first see the ataX with X being the number of the drive. You need to look for a section after this that has letters like hda or sda. The drives I am using are SATA drives and they are <strong>sda</strong> and <strong>sdb</strong>. I could tell by the size of the drives. (press Q to exit less if you need to)</p>
<h3>Partition¬†for Raid 1</h3>
<p>Ok, lets tell Linux that we want those drives to be used for raid.</p>
<pre class="linux">sudo fdisk /dev/sda</pre>
<p>[p] will list the partitions. If you had one previously, you will see it. Remove them. Press d for delete, then give a partition number. (no need if you only had one)</p>
<p>Now add a [n]ew [p]rimary partition number [1] with default start and end (the whole disk)</p>
<pre class="linux">n [enter] p [enter] 1 [enter][enter][enter]</pre>
<p>Now [p] again to verify that the partition is there. Note the type: 83. Type [l] to see all the types. We need to set the type to fd for Linux software raid.</p>
<pre class="linux">t [enter] fd [enter]</pre>
<p>Now write the partition table and exit: w [enter]</p>
<p>Now we repeat the process with the other drive.</p>
<pre class="linux">sudo fdisk /dev/sdb</pre>
<p>And repeat the fdisk commands.</p>
<h3>Setting up mdadm for Raid1</h3>
<p>Ok, now for Linux software raid. First we need to install it.</p>
<pre class="linux">sudo apt-get install mdadm</pre>
<p>When I did this, I was prompted that citadel-server was being installed. This is what is used by default as the mail server. Mdadm is dependant on a mail server so it can mail you of failures. Pick an admin user and say no to external auth.</p>
<p>Once installed you can build an array. I am going to use two drives in a RAID 1, mirrored setup. This duplicates all the data on both drives. They are mirrored. This is the command with my drives used. You will substitute for your devices:</p>
<pre class="linux">sudo mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1</pre>
<p>This should tell you that the array /dev/md0 has started.</p>
<p>If you would like to see when the array is built:</p>
<pre class="linux">cat /proc/mdstat</pre>
<p>This will tell you how long it will take, or if it is done.</p>
<p>Ok, that&#8217;s it for now.¬† We will look at commands to manipulate the array in a later article in the series. Next up will be creating the resizable volumes on the array using LVM.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyberward.net/blog/2009/05/setting-up-linux-software-raid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<series:name><![CDATA[Building a NAS]]></series:name>
	</item>
		<item>
		<title>Installing Zenphoto on 1and1</title>
		<link>http://www.cyberward.net/blog/2009/05/installing-zenphoto-on-1and1/</link>
		<comments>http://www.cyberward.net/blog/2009/05/installing-zenphoto-on-1and1/#comments</comments>
		<pubDate>Wed, 13 May 2009 01:45:57 +0000</pubDate>
		<dc:creator>Chris Ward</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web server]]></category>
		<category><![CDATA[zenphoto]]></category>

		<guid isPermaLink="false">http://www.cyberward.net/blog/?p=1132</guid>
		<description><![CDATA[
I had all kinds of trouble getting Zenphoto to install on 1and1. None of which I believe are the fault of the Zenphoto project. I am blaming the difficulties on how you need to configure php on 1and1.
What problems did I have. It appears that there were tables that were not created correctly. The way [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-1133" title="zen-logo" src="http://www.cyberward.net/blog/wp-content/uploads/zen-logo.gif" alt="zen-logo" width="200" height="47" /></p>
<p>I had all kinds of trouble getting <a href="http://www.zenphoto.org">Zenphoto</a> to install on 1and1. None of which I believe are the fault of the Zenphoto project. I am blaming the difficulties on how you need to configure php on 1and1.</p>
<p>What problems did I have. It appears that there were tables that were not created correctly. The way I figured this out was that I was trying to save a ¬†guest user and password to¬†and album. The name wouldn&#8217;t stick. When I went in and look under the MySql admin¬†tool (phpMyAdmin), there was no user field in the albums table. Something was wrong right from setup.</p>
<p>So here are the steps that I came up with to get zenphoto installed properly. I can&#8217;t say that all of the steps I took were necessary, and some might even be suspect, but in total it works.</p>
<p><span id="more-1132"></span></p>
<p>First of all, I am on a linux hosted shared server on 1and1. That is important, because of how php must be configured. The commands here need to be entered at the command line. You can ssh here, or use putty from windows, but this is not an explanation on how to do that.</p>
<p>I downloaded the current version which at this point is zenphoto-1.2.4.tar.gz.¬†To do this I used wget so I don&#8217;t need to transfer it after downloading. Then I expanded the archive and installed the files.</p>
<pre>wget http://zenphoto.googlecode.com/files/zenphoto-1.2.4.tar.gz
tar -xvzf zenphoto-1.2.4.tar.gz</pre>
<p>Don&#8217;t do the setup yet.</p>
<p>I then went to the 1and1 web site, logged in and went to the MySQL Administration control panel. I selected to create a new database, and picked version 6. You can choose between 5 and 6. I picked 6. 1and1 will tell you the user name, password, host, and database name you will need to enter into setup, but don&#8217;t run setup yet.</p>
<p>We want to tell apache to use PHP5 instead of 4. To do this we want to modify the .htaccess file that comes with zenphoto. In that file are some rules for rewriteing. We don&#8217;t want to change those. Just add a couple of lines. To edit this file I typed</p>
<pre>nano -w .htaccess</pre>
<p>You need to add these two lines after the comment lines (with #&#8217;s) and before the &lt;IfModule mod_rewrite.c&gt; line</p>
<pre>AddType xmapp-php5 .php
AddHandler x-mapp-php5 .php</pre>
<p>Now that is done press ctrl-X to exit, and say yes to saving. Don&#8217;t run set up yet. We have a couple more things to do.</p>
<p>Now we need to tell php to turn off magic quotes, and to use UTF character encoding. We do this by creating a php.ini file in the directory where the code is. This is the dumb part. You need this in every directory you have php code. I put it in the root of my zenphoto install, and in the zp-core folder. This is what I put there.</p>
<pre>[PHP]
magic_quotes_gpc = Off
mbstring.internal_encoding = UTF-8</pre>
<p>If you want to create this file, type</p>
<pre>nano -w php.ini</pre>
<p>Now copy the code above and press shift-insert in the terminal window. Then you can press ctrl-X and say yes to save.</p>
<p>I also copied this file to the zp-core folder</p>
<pre>cp php.ini zp-core/</pre>
<blockquote><p>Just a note: There are instructions on the web that you can add these directives to your .htaccess file, but that will not work on 1and1 linux shared hosting. You will get a 500 server error. See <a href="http://faq.1and1.com/scripting_languages_supported/php/14.html">here</a>.</p></blockquote>
<p>Ok, now you can run setup. Go to your browser and head to http://www.yourwebsite/zenphoto/ This will in turn tack the zp-core/setup.php to the end and start the setup. There will be a couple of warnings left. First one is about strict permissions. I clicked on the link, and zenphoto set things up how it wanted. Next is the .htaccess file. Ignore this one, because we modified the file. The time stamp should be different.</p>
<p>Now you can go ahead and enter you database information. Press OK, and zenphoto should tell you that everything is A OK. You will then set up an Admin user and password, then you are given the opportunity to log in.</p>
<p>If you want to check out the issue I had, upload some files to a new album. Then edit the album and put in a guest user and password and save. Log out, then click on the album you created and locked. Enter the name and password you entered for the guest user. If when you login you can see the album, you are good to go. When I did this process before this procedure, I would try to save the album with the guest user. The name would disappear once I pressed save. Then when I tried to log in I was given an error.</p>
<p>I hope that saves someone some hassles. Good luck.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyberward.net/blog/2009/05/installing-zenphoto-on-1and1/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Zen Photo Press</title>
		<link>http://www.cyberward.net/blog/2009/03/zen-photo-press/</link>
		<comments>http://www.cyberward.net/blog/2009/03/zen-photo-press/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 21:26:24 +0000</pubDate>
		<dc:creator>Chris Ward</dc:creator>
				<category><![CDATA[Site News]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[zen photo]]></category>

		<guid isPermaLink="false">http://www.cyberward.net/blog/?p=848</guid>
		<description><![CDATA[I am not sure how I missed this. There is a plugin for WordPress called ZenPhotoPress. I even had ideas of trying to do this myself. Anyway, what this does, is allow you to get your photo&#8217;s from Zen Photo into your wordpress blog. It is built into the visual editor (tiny mce).
I have been [...]]]></description>
			<content:encoded><![CDATA[<p>I am not sure how I missed this. There is a plugin for <a href="http://wordpress.org">WordPress</a> called <a href="http://wordpress.org/extend/plugins/zenphotopress/">ZenPhotoPress</a>. I even had ideas of trying to do this myself. Anyway, what this does, is allow you to get your photo&#8217;s from <a href="http://www.zenphoto.org/">Zen Photo</a> into your wordpress blog. It is built into the visual editor (tiny mce).</p>
<p>I have been working on a gallery with Zen Photo with my Cyberward theme. Still trying to decide what I want to do with it, but I think that I will move to migrate my family photos over to Zen Photo instead of <a href="http://gallery.menalto.com/">Gallery</a>.</p>
<p>Zen Photo just seems better in my opinion. Gallery (actually Gallery2) seems slow and burdened. Too many things activated and going on by default.¬† Zen Photo has fewer plugins, but that&#8217;s ok by me. It seems much easier to hack on too. I guess now I just need to time to do this.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyberward.net/blog/2009/03/zen-photo-press/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First Version of CwExif is out</title>
		<link>http://www.cyberward.net/blog/2009/02/first-version-of-cwexif-is-out/</link>
		<comments>http://www.cyberward.net/blog/2009/02/first-version-of-cwexif-is-out/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 19:15:50 +0000</pubDate>
		<dc:creator>Chris Ward</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[exif]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.cyberward.net/blog/?p=753</guid>
		<description><![CDATA[I now have a first version of CwExif that can be downloaded. This is a new Wordpress plugin that will show exif data for an image uploaded to the wordpress library in the title tag. There is a button on the media admin screen that will take the exif data and put it into the [...]]]></description>
			<content:encoded><![CDATA[<p>I now have a first version of <a href="http://www.cyberward.net/blog/code/cwexif/">CwExif </a>that can be downloaded. This is a new Wordpress plugin that will show exif data for an image uploaded to the wordpress library in the title tag. There is a button on the media admin screen that will take the exif data and put it into the title tag. On hover, the data will be displayed.</p>
<p>This is just the first version. There is much more that I want to do with this plugin, but you have to start somewhere.</p>
<p>Get it <a href="http://www.cyberward.net/blog/code/cwexif/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyberward.net/blog/2009/02/first-version-of-cwexif-is-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Access Wordpress Blogs with an iPhone/touch</title>
		<link>http://www.cyberward.net/blog/2009/02/access-wordpress-blogs-with-an-iphonetouch/</link>
		<comments>http://www.cyberward.net/blog/2009/02/access-wordpress-blogs-with-an-iphonetouch/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 19:36:02 +0000</pubDate>
		<dc:creator>Chris Ward</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.cyberward.net/blog/?p=682</guid>
		<description><![CDATA[
I got an iPhone recently, and I have to say that I love the thing. I have used more minutes of data plan than I have minutes of talk time. I like checking email/flickr/facebook/rss feeds when I have a minute without using a computer, or without needing a wi-fi connection. I will document some of [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a rel="attachment wp-att-684" href="http://www.cyberward.net/blog/2009/02/access-wordpress-blogs-with-an-iphonetouch/admin-header/"><img class="aligncenter size-full wp-image-684" title="WPtouch" src="http://www.cyberward.net/blog/wp-content/uploads/admin-header.png" alt="WPtouch" width="296" height="171" /></a></p>
<p style="text-align: left;">I got an iPhone recently, and I have to say that I love the thing. I have used more minutes of data plan than I have minutes of talk time. I like checking email/flickr/facebook/rss feeds when I have a minute without using a computer, or without needing a wi-fi connection. I will document some of the other plug-ins that I am using later, but right now I want to talk about Wordpress and iPhone/iTouch devices.</p>
<p>I was amazed that I could read my blog on the iPhone. I had to zoom in a bit, but it wasn&#8217;t too bad. I was happy. Then I started to wonder about creating a theme that is more suited to the iPhone screen. Then I did what all good programmers do before they start cooding. They Google. Sure enough, I found <a href="http://www.bravenewcode.com/wptouch/">WPTouch</a>.</p>
<p>If you have an iPhone/iTouch, come back and take a look. You won&#8217;t believe it until you see it.</p>
<p>This plugin for wordpress intercepts when an iPhone is accessing your blog, and replaces it with a theme that looks like an iPhone application. Amazing. Using a little javascript, it even has menus, ¬†and the comments work just fine. It does make your site a little generic. It has the ability in the admin screen to adjust the colors, but I haven&#8217;t played with it yet. I would like to modify the header, but I&#8217;ll leave that for another day.</p>
<p>I installed version 1.7.5 from the <a href="http://wordpress.org/extend/plugins/wptouch/">plugin repository</a>¬†on wordpress .</p>
<p>So, what if you want to make a post? There&#8217;s a plugin for that too. I have installed an application on the iPone called <a href="http://iphone.wordpress.org/">Wordpress for iPhone</a>. This app provides a simple interface to allow posting to your blog. There are lots of features available, but some things are left wanting. It would be nice to be able to add pictures from your wordpress gallery, but it looks like you can only add pictures from the iphone. Both your synched photo&#8217;s, and your camera. You can save drafts locally, but not edit ones from your site. The editor isn&#8217;t the &#8220;visual&#8221; editor from your site, it is the html editor, so links and images are in tags. I think it will be nice to have though.</p>
<p>So why didn&#8217;t I write this post from the iPhone? You type even this many words on that little virtual keyboard and tell me how long it would take you <img src='http://www.cyberward.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyberward.net/blog/2009/02/access-wordpress-blogs-with-an-iphonetouch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lameda Plugin</title>
		<link>http://www.cyberward.net/blog/2009/01/lameda-plugin/</link>
		<comments>http://www.cyberward.net/blog/2009/01/lameda-plugin/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 20:44:48 +0000</pubDate>
		<dc:creator>Chris Ward</dc:creator>
				<category><![CDATA[Site News]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[exif]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.cyberward.net/blog/?p=570</guid>
		<description><![CDATA[Here is another plugin, Lameda, that uses the exif data that comes from the images as uploaded into Wordpress. Lets take a picture:

Here is the exif data when you put this tag in your post: [lameda_exif id=556]

The thing with this, is you still have to go into the post html and find out what the [...]]]></description>
			<content:encoded><![CDATA[<p>Here is another plugin, <a href="http://didier.lorphelin.free.fr/blog/index.php/wordpress/lameda/">Lameda</a>, that uses the exif data that comes from the images as uploaded into Wordpress. Lets take a picture:</p>
<p style="text-align: center;"><a rel="lightbox" href="http://www.cyberward.net/blog/wp-content/uploads/dsc_0208-version-3.jpg"><img class="aligncenter size-medium wp-image-556" title="Tulip in the Rain" src="http://www.cyberward.net/blog/wp-content/uploads/dsc_0208-version-3-199x300.jpg" alt="Tulip in the Rain" width="199" height="300" /></a></p>
<p>Here is the exif data when you put this tag in your post: [<!-- no parse -->lameda_exif id=556]</p>
<p><img class="size-full wp-image-591 alignnone" title="lameda" src="http://www.cyberward.net/blog/wp-content/uploads/lameda.jpg" alt="lameda" width="206" height="225" /></p>
<p>The thing with this, is you still have to go into the post html and find out what the wordpress id of the image is. Still a bit of a pain. I like that it is pulling this from wordpress. Looks like wordpress stores this in the post_metadata table in an entry about the image. Not all data is saved, just some of the more basic ones like those shown. We just need a more automated, and visually appealing way to show it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyberward.net/blog/2009/01/lameda-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exzo Wordpress Plugin</title>
		<link>http://www.cyberward.net/blog/2009/01/exzo-wordpress-plugin/</link>
		<comments>http://www.cyberward.net/blog/2009/01/exzo-wordpress-plugin/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 19:10:21 +0000</pubDate>
		<dc:creator>Chris Ward</dc:creator>
				<category><![CDATA[Site News]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[exif]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.cyberward.net/blog/?p=557</guid>
		<description><![CDATA[Exzo is the Exif and Zoom Image plugin for wordpress. I thought I would try it out. It is supposed to display some exif info around your pictures. Not sure it will work for me. I already post my photos on flickr, and just link to them here, but it seems like an interresting idea. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.vimagic.de/exif-zoom-wordpress-plugin/">Exzo</a> is the Exif and Zoom Image plugin for wordpress. I thought I would try it out. It is supposed to display some exif info around your pictures. Not sure it will work for me. I already post my photos on flickr, and just link to them here, but it seems like an interresting idea. One issue is that there is no way to pop in the image using the library tool. You need to goto the library and find out the image name, then in the HTML tab of the blog editor, you can add a statement like this:</p>
<p><strong><code>[<!-- PREVENT MATCH //-->exzo url="" title=""]dsc_0021[/exzo]</code></strong></p>
<p>That will get you this image on my site:</p>
<p><img class="aligncenter size-full wp-image-590" title="Exzo EXIF" src="http://www.cyberward.net/blog/wp-content/uploads/exzo_image.jpg" alt="Exzo EXIF" width="410" height="500" /></p>
<p>Most of the styling and which exif data that shows up is all customizeable. But I have a couple of issues. First, there seems to be an issue in the plugin where is doesn&#8217;t reference the zoom.css file. I had to modify exzo.php to point to it correctly. Second, the included lightbox effect isn&#8217;t so hot. The biggest issue is that the image pops up full size. Other versions I have seen try to scale the image for the viewport.</p>
<p>It does look like you could opt to just show the exif data though, like this :</p>
<p><strong><code>[<!-- PREVENT MATCH //-->exif="dsc_0021.jpg"]</code></strong></p>
<p><img class="aligncenter size-full wp-image-589" title="Exzo plugin example" src="http://www.cyberward.net/blog/wp-content/uploads/exzo_exif.jpg" alt="Exzo plugin example" width="406" height="105" /></p>
<p>What would be really neat is if instead of the formatting of the picture, and the need to use this tag, is if via javascript, it could just attach itself to the image and display on a hover, or a click or something. Hmmm&#8230; that would be interesting&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyberward.net/blog/2009/01/exzo-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deciding on the NAS Software</title>
		<link>http://www.cyberward.net/blog/2009/01/deciding-on-the-nas-software/</link>
		<comments>http://www.cyberward.net/blog/2009/01/deciding-on-the-nas-software/#comments</comments>
		<pubDate>Sun, 25 Jan 2009 15:07:17 +0000</pubDate>
		<dc:creator>Chris Ward</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Building a NAS]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.cyberward.net/blog/?p=497</guid>
		<description><![CDATA[So, I hope you have a box ready, because we are going to install some software today. I had said this was going to be built using Linux, but we really should take another look at some of the possibilities. I don&#8217;t want to run Windows server on this box. If that is something you [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-501" title="tux" src="http://www.cyberward.net/blog/wp-content/uploads/penguin-150x150.jpg" alt="tux" width="150" height="150" />So, I hope you have a box ready, because we are going to install some software today. I had said this was going to be built using Linux, but we really should take another look at some of the possibilities. I don&#8217;t want to run Windows server on this box. If that is something you are interested in, you will have to use some Google skills. I wan to look at how we can use some Free and Open Source Software (FOSS) to do what we want to do. There are some alternatives to rolling it ourselves, and they are worth a look. But first, lets decide what it is that we want to run on this box, or what capabilities it needs to have.<br />
<span id="more-497"></span></p>
<ul>
<li>Software Raid &#8211; I have two large drives, and I want the data mirrored. If one drive fails, I can replace it without losing my data.</li>
<li>Volume Management &#8211; I have two large drives, but I want it partitioned dynamically. I don&#8217;t just want a great big dumping ground. I want separate locations for music, video, pictures, etc. I don&#8217;t just want to partition these drives and have the sizes set in stone. I want to be able to re-size them as need fits.</li>
<li>Serve files to Windows, Mac, and Linux computers. This generally means I want to be able to run something like Samba and NFS so that other computers can &#8220;see&#8221; my shares.</li>
<li>Users &#8211; I want to be able to have users set up with different permissions.</li>
</ul>
<p>So, with that in mind, what open source software can we find that will fit the bill? There is more than just vanilla Linux out there. There are a few projects that make NAS like software. Lets look at those first.</p>
<ol>
<li><a href="http://www.openfiler.com/">Openfiler</a> &#8211; I had missed this before when looking, but it looks to have all of the required items.</li>
<li><a href="http://www.freenas.org/">FreeNAS</a> &#8211; I have wanted to try this for awhile, but the volume management has been in beta. I can&#8217;t tell for sure if this is still the case or not. It is also¬†BSD based which I am less familiar.</li>
<li><a href="http://www.serverelements.com/">NasLite</a> &#8211; This isn&#8217;t open source, so I am not considering it, but it does seem inexpensive.</li>
<li>Roll Your Own &#8211; This would take a linux distro and add or configure the pieces to create a NAS</li>
</ol>
<p>I would urge you to look into Openfiler or FreeNAS. For this series, it would be pretty short if we used one of them, so we are going to roll our own <img src='http://www.cyberward.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  (I may get to trying and reporting on those others at a different time) Also, if you decide you want to add some other software to those such as a UPnP or iTunes or MythTV or CVS server it is more difficult, or not possible.</p>
<p><img class="alignleft size-full wp-image-503" title="ubuntu" src="http://www.cyberward.net/blog/wp-content/uploads/19586.png" alt="19586" width="154" height="154" />So, we need a linux distro. You really could pick any linux distribution you want, but for this series, I am going to use <a href="http://www.ubuntu.com/">Ubuntu</a>. I used to use Gentoo (for several years), but I find Ubuntu a little easier now, and have switched to using it. Depending on your hardware, you may want to consider their server edition without a desktop, but I am going to install the desktop version. Why? Well, I find it easier to have multiple terminals open I can look at, a web browser to Google what the heck just went wrong, and to check email where I sometimes save notes to myself. If you think I am nuts, go ahead with the server version. You will save yourself some CPU cycles not having Gnome running. I will try to base this series entirely on the command line, so it shouldn&#8217;t matter.</p>
<p>I am not going to cover installing Ubuntu. It is dead simple. If you would like some documentation, Ubuntu has good documentation on <a href="https://help.ubuntu.com/community/GraphicalInstall">installing </a>their software, so I wont try to duplicate it.</p>
<p>Go ahead, install Ubuntu onto the OS drive you have, and next time we will look at¬†Linux Software RAID as a way to provide some data redundancy with the other¬†two¬†drives.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyberward.net/blog/2009/01/deciding-on-the-nas-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<series:name><![CDATA[Building a NAS]]></series:name>
	</item>
		<item>
		<title>Found new File Download Manager</title>
		<link>http://www.cyberward.net/blog/2009/01/found-new-file-download-manager/</link>
		<comments>http://www.cyberward.net/blog/2009/01/found-new-file-download-manager/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 22:00:36 +0000</pubDate>
		<dc:creator>Chris Ward</dc:creator>
				<category><![CDATA[Site News]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[drain hole]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.cyberward.net/blog/?p=362</guid>
		<description><![CDATA[I found a new plugin that I will use when I move to Wordpress 2.7, which should be soon. It is called Drain Hole. This is a pretty spiffy plugin. It allows you to create different &#8220;holes&#8221; or folders to contain downloads. These folders can have different permissions assigned to them. The individual files can [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Drain Hole" src="http://cyberward.net/blog/wp-content/plugins/drain-hole/icons/wordpress-2.2+.png" alt="" width="128" height="128" />I found a new plugin that I will use when I move to Wordpress 2.7, which should be soon. It is called <a href="http://urbangiraffe.com/plugins/drain-hole/">Drain Hole</a>. This is a pretty spiffy plugin. It allows you to create different &#8220;holes&#8221; or folders to contain downloads. These folders can have different permissions assigned to them. The individual files can be versioned, although the file name appears to need to be the same. You can then use tags on your page to reference the files. One of the really interesting things is that it makes use of templates for those tags. So you can create a template to display a file, or list of files. You use a different set of tags in these templates that reside inside your own theme folder. I like this idea. I am already trying to think of ways to use it ouside of this plugin.</p>
<p>While playing with this plugin I discovered a bug. I couldn&#8217;t update/save the attributes for a file. I was trying to assign a custom icon, and the display name, but nothing would stick. Hunting this down I found out why php debugging, especially ajax calls really sucks. Anyway, I finally discovered what the issue was; a variable that was not initialized. It must be the particular combination of Wordpress (2.7), PHP(4.5), and MySql(5.0) that I was playing with, because I can&#8217;t belive that this doesn&#8217;t work for everyone that uses this plugin.</p>
<p>Turns out that the developer has a tracker, so I created a <a href="http://urbangiraffe.com/tracker/issues/show/369">bug with my solution</a>. I am going to be moving to this from the Download Manager plugin I was using.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyberward.net/blog/2009/01/found-new-file-download-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
