<?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 cosmotron &#187; Planet COSI</title>
	<atom:link href="http://thecosmotron.com/category/clarkson-open-source-institute/feed/" rel="self" type="application/rss+xml" />
	<link>http://thecosmotron.com</link>
	<description>the blog of ryan lewis</description>
	<lastBuildDate>Sat, 25 Apr 2009 19:48:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Basic Emacs</title>
		<link>http://thecosmotron.com/2009/04/25/basic-emacs/</link>
		<comments>http://thecosmotron.com/2009/04/25/basic-emacs/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 19:43:38 +0000</pubDate>
		<dc:creator>Ryan Lewis</dc:creator>
				<category><![CDATA[Announcement]]></category>
		<category><![CDATA[Planet COSI]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://thecosmotron.com/?p=146</guid>
		<description><![CDATA[In my last post, I wrote about how I had to write a guide to using a piece of software for a class.  Well, I had to do another one, but this time it was individually rather than in a group.
So, I wrote a guide on how to do some basic tasks in emacs.
Let [...]]]></description>
			<content:encoded><![CDATA[<p>In my last post, I wrote about how I had to write a guide to using a piece of software for a class.  Well, I had to do another one, but this time it was individually rather than in a group.</p>
<p>So, I wrote a <a href="http://thecosmotron.com/basic-emacs.html">guide on how to do some basic tasks in emacs</a>.</p>
<p>Let me know of any mistakes/improvements that you can think of in the comments!</p>
<p>P.S. I&#8217;m pretty fond of the mock terminal that I made with CSS.</p>
]]></content:encoded>
			<wfw:commentRss>http://thecosmotron.com/2009/04/25/basic-emacs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fedora 10, Subversion, and WebSVN</title>
		<link>http://thecosmotron.com/2009/04/17/fedora-10-subversion-and-websvn/</link>
		<comments>http://thecosmotron.com/2009/04/17/fedora-10-subversion-and-websvn/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 04:59:21 +0000</pubDate>
		<dc:creator>Ryan Lewis</dc:creator>
				<category><![CDATA[Planet COSI]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://thecosmotron.com/?p=141</guid>
		<description><![CDATA[Justin and I recently wrote a guide to installing Subversion for a class that we&#8217;re taking.  It&#8217;s a pretty simple process and we&#8217;ve tested it twice now, but if you try it and something it unclear/doesn&#8217;t work, let us know.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://jmbennett.org/">Justin</a> and I recently wrote a <a href="http://jmbennett.org/svn-setup/">guide to installing Subversion</a> for a class that we&#8217;re taking.  It&#8217;s a pretty simple process and we&#8217;ve tested it twice now, but if you try it and something it unclear/doesn&#8217;t work, let us know.</p>
]]></content:encoded>
			<wfw:commentRss>http://thecosmotron.com/2009/04/17/fedora-10-subversion-and-websvn/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Firefox, Ubuntu, and Spell Checking</title>
		<link>http://thecosmotron.com/2009/04/12/firefox-ubuntu-and-spell-checking/</link>
		<comments>http://thecosmotron.com/2009/04/12/firefox-ubuntu-and-spell-checking/#comments</comments>
		<pubDate>Sun, 12 Apr 2009 15:45:17 +0000</pubDate>
		<dc:creator>Ryan Lewis</dc:creator>
				<category><![CDATA[Planet COSI]]></category>
		<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://thecosmotron.com/2009/04/12/firefox-ubuntu-and-spell-checking/</guid>
		<description><![CDATA[I just noticed that my version of Firefox 3.0.8 running in Ubuntu 8.10 had en_AU as it&#8217;s default spell checking dictionary.  Is this true for anyone else?
The only reason I noticed this was because Firefox was marking words such as &#8220;organization&#8221; and &#8220;enrollment&#8221; as being spelled wrong.
If anyone wants to look at their current [...]]]></description>
			<content:encoded><![CDATA[<p>I just noticed that my version of Firefox 3.0.8 running in Ubuntu 8.10 had en_AU as it&#8217;s default spell checking dictionary.  Is this true for anyone else?</p>
<p>The only reason I noticed this was because Firefox was marking words such as &#8220;organization&#8221; and &#8220;enrollment&#8221; as being spelled wrong.</p>
<p>If anyone wants to look at their current setting, open about:config and search for the key &#8220;spellchecker.dictionary&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://thecosmotron.com/2009/04/12/firefox-ubuntu-and-spell-checking/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dot Name</title>
		<link>http://thecosmotron.com/2009/04/09/dot-name/</link>
		<comments>http://thecosmotron.com/2009/04/09/dot-name/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 23:09:51 +0000</pubDate>
		<dc:creator>Ryan Lewis</dc:creator>
				<category><![CDATA[Planet COSI]]></category>
		<category><![CDATA[Site News]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[dot-name]]></category>

		<guid isPermaLink="false">http://thecosmotron.com/2009/04/09/dot-name/</guid>
		<description><![CDATA[I had some trouble with my domain recently where it was pointing to a parked page.  This was because my hosting provider didn&#8217;t update my registration in time, but this has all been resolved now.
This dilemma got me thinking and I decided to purchase a dot name domain.  ryan.lewis.name now points here!
]]></description>
			<content:encoded><![CDATA[<p>I had some trouble with my domain recently where it was pointing to a parked page.  This was because my <a href="http://mediacatch.com/">hosting provider</a> didn&#8217;t update my registration in time, but this has all been resolved now.</p>
<p>This dilemma got me thinking and I decided to purchase a <a href="http://nic.name/">dot name</a> domain.  <a href="http://ryan.lewis.name">ryan.lewis.name</a> now points here!</p>
]]></content:encoded>
			<wfw:commentRss>http://thecosmotron.com/2009/04/09/dot-name/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fix &#8220;Unexpected clusters per mft record (-127)&#8221;</title>
		<link>http://thecosmotron.com/2009/03/15/fix-unexpected-clusters-per-mft-record-127/</link>
		<comments>http://thecosmotron.com/2009/03/15/fix-unexpected-clusters-per-mft-record-127/#comments</comments>
		<pubDate>Sun, 15 Mar 2009 16:44:07 +0000</pubDate>
		<dc:creator>Ryan Lewis</dc:creator>
				<category><![CDATA[Planet COSI]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mft]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[ntfs]]></category>
		<category><![CDATA[testdisk]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://thecosmotron.com/?p=132</guid>
		<description><![CDATA[I encountered this error yesterday after trying to fix some Windows bootloader issues in Ubuntu with ms-sys.  Needless to say, I just created more issues and eventually couldn&#8217;t even mount my Windows partition from Ubuntu, as this would happen:

# mount -t ntfs-3g -o force /dev/sda1 /mnt/win
Unexpected clusters per mft record (-127).
Failed to mount '/dev/sda1': [...]]]></description>
			<content:encoded><![CDATA[<p>I encountered this error yesterday after trying to fix some Windows bootloader issues in Ubuntu with <code>ms-sys</code>.  Needless to say, I just created more issues and eventually couldn&#8217;t even mount my Windows partition from Ubuntu, as this would happen:</p>
<pre>
# mount -t ntfs-3g -o force /dev/sda1 /mnt/win
Unexpected clusters per mft record (-127).
Failed to mount '/dev/sda1': Invalid argument
The device '/dev/sda1' doesn't have a valid NTFS.
</pre>
<p>I tried to recover it using a Windows XP disk, but that didn&#8217;t work because it wouldn&#8217;t recognize my <code>C:\WINDOWS</code> folder!  At this point, I was getting pretty worried.</p>
<p>So, back in Ubuntu, I do a bit more reading and find out about the <code>testdisk</code> command (<code>apt-get install testdisk</code>) and a nice <a href="http://ubuntuforums.org/showpost.php?p=6612068&#038;postcount=11">post about how to use it</a> on the Ubuntu forums.  To summarize, this is what I took out of that post to get <code>mount</code> to actually work after:</p>
<blockquote><p>
After starting testdisk, choose &#8220;No log&#8221;, choose the correct HDD and &#8220;Proceed&#8221;, choose &#8220;Intel&#8221;, choose &#8220;Advanced&#8221;, select the Windows partition, choose &#8220;Boot&#8221;, then choose &#8220;Rebuild BS&#8221;.</p>
<p>If testdisk gives you a warning that the &#8220;Extrapolated boot sector and current boot sector are different&#8221;, then choose &#8220;Write&#8221;.
</p></blockquote>
<p>Sure enough, something was messed and it was able to fix it after I selected &#8220;Write&#8221;.</p>
<p>After all this, <code>mount</code> worked, and when I rebooted, the Windows XP disk detected the installation and I was able to fix my MBR like I wanted.</p>
]]></content:encoded>
			<wfw:commentRss>http://thecosmotron.com/2009/03/15/fix-unexpected-clusters-per-mft-record-127/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Zero-Knowledge and You: A Beginner&#8217;s Guide to SPHiNX &amp; Challenge-Response Protocols</title>
		<link>http://thecosmotron.com/2009/01/29/zero-knowledge-and-you-a-beginners-guide-to-sphinx-challenge-response-protocols/</link>
		<comments>http://thecosmotron.com/2009/01/29/zero-knowledge-and-you-a-beginners-guide-to-sphinx-challenge-response-protocols/#comments</comments>
		<pubDate>Fri, 30 Jan 2009 00:27:03 +0000</pubDate>
		<dc:creator>Ryan Lewis</dc:creator>
				<category><![CDATA[Planet COSI]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[cryptography]]></category>
		<category><![CDATA[paper]]></category>
		<category><![CDATA[sphinx]]></category>

		<guid isPermaLink="false">http://thecosmotron.com/?p=87</guid>
		<description><![CDATA[This is a paper that Josh Hollenbeck, Pat Wilbur, and myself wrote last semester for Cryptography.  Just posting it for anyone who wants to read it.

We present a method for zero-knowledge, hash-based challenge-response network authentication in lieu of transmitting a password across the network. Zero-knowledge protocols, like our method, offer authentication alternatives to prevent [...]]]></description>
			<content:encoded><![CDATA[<p>This is a paper that Josh Hollenbeck, <a href="http://pdub.net/">Pat Wilbur</a>, and myself wrote last semester for Cryptography.  Just posting it for anyone who wants to read it.</p>
<blockquote><p>
We present a method for zero-knowledge, hash-based challenge-response network authentication in lieu of transmitting a password across the network. Zero-knowledge protocols, like our method, offer authentication alternatives to prevent a third-party from discovering a password after intercepting network data. Our method makes use of one-way hash functions to generate a response from a randomly-created challenge code supplied by an identity verifier. Our method also makes use of dynamic engagement for choosing which hash functions are used on a per-case basis, in order to thwart reversal of our method in the event of future discovery of weaknesses in any of the deployed hash functions.
</p></blockquote>
<p><a href='http://thecosmotron.com/wp-content/uploads/2009/01/paper.pdf'>Zero-Knowledge and You: A Beginner&#8217;s Guide to SPHiNX &#038; Challenge-Response Protocols</a> (PDF)</p>
<p><a href="http://thecosmotron.com/sphinx/">Webpage running SPHiNX</a></p>
]]></content:encoded>
			<wfw:commentRss>http://thecosmotron.com/2009/01/29/zero-knowledge-and-you-a-beginners-guide-to-sphinx-challenge-response-protocols/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Random Numbers and NTL</title>
		<link>http://thecosmotron.com/2008/12/04/random-numbers-and-ntl/</link>
		<comments>http://thecosmotron.com/2008/12/04/random-numbers-and-ntl/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 01:36:39 +0000</pubDate>
		<dc:creator>Ryan Lewis</dc:creator>
				<category><![CDATA[Planet COSI]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Update]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[ntl]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[random numbers]]></category>
		<category><![CDATA[seed]]></category>
		<category><![CDATA[ZZ]]></category>

		<guid isPermaLink="false">http://thecosmotron.com/?p=68</guid>
		<description><![CDATA[According to its website, the Number Theory Library (NTL) is a:
high-performance, portable C++ library providing data structures and algorithms for manipulating signed, arbitrary length integers, and for vectors, matrices, and polynomials over the integers and over finite fields. 
I have been using it a lot because of the Cryptography class that I&#8217;m in this semester, [...]]]></description>
			<content:encoded><![CDATA[<p>According to its website, the <a href="http://www.shoup.net/ntl/">Number Theory Library</a> (NTL) is a:</p>
<blockquote><p>high-performance, portable C++ library providing data structures and algorithms for manipulating signed, arbitrary length integers, and for vectors, matrices, and polynomials over the integers and over finite fields. </p></blockquote>
<p>I have been using it a lot because of the Cryptography class that I&#8217;m in this semester, and something that I need to do frequently is generate random numbers.</p>
<p>To do this, seeding is frequently required, and the NTL is no different, but it took a while for me to actually get it to work.  The following will seed the random functions provided by the NTL ZZ class:</p>
<pre>ZZ number, seed;
srand(getpid());
seed &lt;&lt; ((long) GetTime() ^ rand());
SetSeed(seed);
RandomLen(number, rand() % 300);</pre>
<p>Stick that at the top of your <code>main()</code> and you should be all set.</p>
<p>Also, does anyone know of a shorter, possibly easier to remember, way to do this?  If so, the comments are open.</p>
]]></content:encoded>
			<wfw:commentRss>http://thecosmotron.com/2008/12/04/random-numbers-and-ntl/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Every time you send useless email&#8230;</title>
		<link>http://thecosmotron.com/2008/11/20/every-time-you-send-useless-email/</link>
		<comments>http://thecosmotron.com/2008/11/20/every-time-you-send-useless-email/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 05:02:04 +0000</pubDate>
		<dc:creator>Ryan Lewis</dc:creator>
				<category><![CDATA[Planet COSI]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[picture]]></category>
		<category><![CDATA[useless]]></category>

		<guid isPermaLink="false">http://thecosmotron.com/?p=60</guid>
		<description><![CDATA[
Please don&#8217;t send useless email to the lists&#8230;
]]></description>
			<content:encoded><![CDATA[<p><a href="http://thecosmotron.com/wp-content/uploads/2008/11/mypic.png"><img src="http://thecosmotron.com/wp-content/uploads/2008/11/mypic.png" alt="" title="useless-email" width="400" height="281" class="aligncenter size-full wp-image-59" /></a></p>
<p>Please don&#8217;t send useless email to the lists&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://thecosmotron.com/2008/11/20/every-time-you-send-useless-email/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Samsung LN32A450, nVidia Drivers, and Ubuntu</title>
		<link>http://thecosmotron.com/2008/11/05/samsung-ln32a450-nvidia-drivers-and-ubuntu/</link>
		<comments>http://thecosmotron.com/2008/11/05/samsung-ln32a450-nvidia-drivers-and-ubuntu/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 06:43:08 +0000</pubDate>
		<dc:creator>Ryan Lewis</dc:creator>
				<category><![CDATA[Announcement]]></category>
		<category><![CDATA[Planet COSI]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[monitor]]></category>
		<category><![CDATA[samsung]]></category>
		<category><![CDATA[television]]></category>
		<category><![CDATA[x]]></category>
		<category><![CDATA[xorg]]></category>

		<guid isPermaLink="false">http://thecosmotron.com/?p=54</guid>
		<description><![CDATA[I just recently purchased a Samsung LN32A450 television and wanted to use it as a monitor.  I figured that it shouldn&#8217;t be too hard, just plug in my computer to it&#8217;s VGA port and then change the resolution.  
But, when are new things ever easy?
To make a long story short, I had to [...]]]></description>
			<content:encoded><![CDATA[<p>I just recently purchased a Samsung LN32A450 television and wanted to use it as a monitor.  I figured that it shouldn&#8217;t be too hard, just plug in my computer to it&#8217;s VGA port and then change the resolution.  </p>
<p>But, when are new things ever easy?</p>
<p>To make a long story short, I had to generate a custom modeline for X to be able to use the TV&#8217;s native resolution, 1360&#215;768.  I read to use the command <code>cvt 1360 768 60.015Hz</code>, but the returned modeline resulted in a &#8220;Mode Not Supported&#8221; error from the TV.  Instead, I had to use a Windows program called <a href="http://www.entechtaiwan.net/util/ps.shtm">PowerStrip</a> to grab the custom timings that actually worked.  Though, the only reason they worked was by luck because Windows didn&#8217;t properly detect the monitor either, so I used PowerStrip to add a custom resolution to my registry which was preset with working timings.</p>
<p>Anyway, PowerStrip was nice enough to generate an xorg.conf modeline for me and had to edit the following in my file (this is assuming that you already have the proprietary nVidia drivers already working):</p>
<pre>
…

Section "Monitor"
    …
    Modeline "1360x768" 85.500 1360 1440 1552 1792 768 771 777 795 +hsync +vsync
EndSection

…

Section "Screen"
    …
    SubSection "Display"
        Depth  24
        Virtual 1360 768
        Modes "1360x768"
    EndSubSection
EndSection

…
</pre>
<p>Note: any ellipses (…) in the above are just cutting out parts that were not changed in my file.</p>
<p><strong>UPDATE:</strong> I figured that I would make a note that I recently tried getting a new computer to work with this television and didn&#8217;t have as much luck.  The new computer was using an ATI Radeon 4850 rather than the nVidia card that I got working previously.  Ultimately, I couldn&#8217;t get the VGA out to work and had to switch to using an HDMI connection.  After I did that, Ubuntu 8.10 (the same OS that I was using previously) automatically detected the native resolution of this TV.  Therefore, I recommend using HDMI over VGA to get this TV to work in Linux.</p>
]]></content:encoded>
			<wfw:commentRss>http://thecosmotron.com/2008/11/05/samsung-ln32a450-nvidia-drivers-and-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Basic CouchDB w/ PHP</title>
		<link>http://thecosmotron.com/2008/08/11/basic-couchdb-w-php/</link>
		<comments>http://thecosmotron.com/2008/08/11/basic-couchdb-w-php/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 18:20:59 +0000</pubDate>
		<dc:creator>Ryan Lewis</dc:creator>
				<category><![CDATA[Planet COSI]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[couchdb]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://thecosmotron.com/?p=49</guid>
		<description><![CDATA[I mentioned CouchDB in my last post, but didn&#8217;t really elaborate on what it was.
Apache CouchDB is a distributed, fault-tolerant and schema-free document-oriented database accessible via a RESTful HTTP/JSON API. Among other features, it provides robust, incremental replication with bi-directional conflict detection and resolution, and is queryable and indexable using a table-oriented view engine with [...]]]></description>
			<content:encoded><![CDATA[<p>I mentioned <a href="http://incubator.apache.org/couchdb/">CouchDB</a> in my last post, but didn&#8217;t really elaborate on what it was.</p>
<blockquote><p>Apache CouchDB is a distributed, fault-tolerant and schema-free document-oriented database accessible via a RESTful HTTP/JSON API. Among other features, it provides robust, incremental replication with bi-directional conflict detection and resolution, and is queryable and indexable using a table-oriented view engine with JavaScript acting as the default view definition language.</p></blockquote>
<p>I&#8217;m gonna show you some really basic ways to use CouchDB using a <a href='http://thecosmotron.com/wp-content/uploads/2008/08/CouchDB.php'>PHP class</a> found on their <a href="http://wiki.apache.org/couchdb/GettingStartedWithPhp">website</a> and assume that you have PHP 5.1 or greater and CouchDB 0.8 installed successfully.</p>
<p>The first thing that we need to do is create a sample database for us to play eventually play with using PHP.  To manage your databases and documents, you can use Futon, CouchDB&#8217;s administrative frontend.  It can be accessed at <a href="http://localhost:5984/_utils">http://localhost:5984/_utils</a>.  Create a database called &#8220;people&#8221; with two documents in it with random IDs that each have two fields in them: &#8220;name&#8221; and &#8220;age&#8221;.  Also, be sure to enter in some values for those.</p>
<p>Let&#8217;s look at this PHP file:</p>
<pre style="font-size:8pt; color:#005577;">
&lt;?php
include_once "CouchDB.php";

$couchdb = new CouchDB("people", "9.57.30.200");
$view = '{ "map": "function(doc) { emit(null, doc); }" }';

try {
  $all = $couchdb-&gt;send("/_temp_view", "post", $view)-&gt;getBody(true);
}
catch (CouchDBException $e) {
  die("[ERROR]".$e-&gt;getMessage()."\n");
}

foreach ($all-&gt;rows as $k =&gt; $row) {
  echo "Name: ".$row-&gt;value-&gt;name." / Age: ".$row-&gt;value-&gt;age."&lt;br/&gt;";
}
?&gt;</pre>
<p>This code is using a temporary view to query the database and then simply looping through the returned JSON and printing data from it.&nbsp; If you set up your database as I mentioned above, <code>$all</code> should be structured like this:</p>
<pre style="font-size:8pt; color:#005577;">
stdClass Object
(
  [total_rows] =&gt; 2
  [offset] =&gt; 0
  [rows] =&gt; Array
  (
    [0] =&gt; stdClass Object
    (
      [id] =&gt; 4144833052c61ab553875737b88ef91a
      [key] =&gt;
      [value] =&gt; stdClass Object
      (
        [_id] =&gt; 4144833052c61ab553875737b88ef91a
        [_rev] =&gt; 3595404992
        [name] =&gt; Ryan
        [age] =&gt; 20
      )
    )
    [1] =&gt; stdClass Object
    (
      [id] =&gt; ff3f20d54772b92aad43c36d6ed4abd1
      [key] =&gt;
      [value] =&gt; stdClass Object
      (
        [_id] =&gt; ff3f20d54772b92aad43c36d6ed4abd1
        [_rev] =&gt; 994830077
        [name] =&gt; Bob
        [age] =&gt; 40
      )
    )
  )
)</pre>
<p>When I visit the page running the script, it will therefore output this:</p>
<pre style="font-size:8pt; color:#005577;">
Name: Ryan / Age: 20
Name: Bob / Age: 40</pre>
<p>If anyone wants to see how to do something, just post a comment and I&#8217;ll try to whip something up.  Also, the <a href="http://wiki.apache.org/couchdb/FrontPage">CouchDB Wiki</a> has a lot more information if you&#8217;re interested.</p>
]]></content:encoded>
			<wfw:commentRss>http://thecosmotron.com/2008/08/11/basic-couchdb-w-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
