<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Contour Line &#187; code</title>
	<atom:link href="http://contourline.wordpress.com/category/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://contourline.wordpress.com</link>
	<description>Surround and define the edges of a subject, giving it shape and volume</description>
	<lastBuildDate>Fri, 13 Nov 2009 17:45:35 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='contourline.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/46bd6fbf3e12066a454c58d20b938584?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Contour Line &#187; code</title>
		<link>http://contourline.wordpress.com</link>
	</image>
			<item>
		<title>Using psql copy from DBIx::Class</title>
		<link>http://contourline.wordpress.com/2009/10/13/using-psql-copy-from-dbixclass/</link>
		<comments>http://contourline.wordpress.com/2009/10/13/using-psql-copy-from-dbixclass/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 00:04:46 +0000</pubDate>
		<dc:creator>jmarca</dc:creator>
				<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://contourline.wordpress.com/?p=206</guid>
		<description><![CDATA[I am loading up lots and lots of data, and need to track what is going on, but I really don&#8217;t need all of the stuff that DBIx::Class brings with it.  So I got a clue today and decided I was just going to use copy directly, picking off the file, gunzip-ping it, and using [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contourline.wordpress.com&blog=718724&post=206&subd=contourline&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I am loading up lots and lots of data, and need to track what is going on, but I really don&#8217;t need all of the stuff that DBIx::Class brings with it.  So I got a clue today and decided I was just going to use copy directly, picking off the file, gunzip-ping it, and using system to execute a psql copy call.</p>
<p>But, when I went to edit my code, I realized that I forgot about stuff like passwords and ports and hosts and all that junk that is nice to have in a portable perl script.</p>
<p>CPAN docs to the rescue! <span id="more-206"></span> First I found out that indeed <a title="CPAN is the best ever" href="http://search.cpan.org/~turnstep/DBD-Pg-2.15.1/Pg.pm#COPY_support" target="_blank">DBD::Pg can do copy() calls</a>.  Then I scanned around in the DBIx::Class docs and found a code snippet in the Storage docs that said <a title="DBIx::Class is awesome too" href="http://search.cpan.org/~ribasushi/DBIx-Class-0.08112/lib/DBIx/Class/Storage/DBI.pm#dbh_do">how to use dbh_do</a>.</p>
<p>My final script is pretty simple compared to the line by line code that I was trying to optimize for speed.<br />
<code><br />
#!/usr/bin/perl -w<br />
use strict;<br />
use warnings;<br />
use Carp;<br />
use Data::Dumper;<br />
use Getopt::Long;<br />
use Pod::Usage;<br />
use IO::Uncompress::Gunzip qw(gunzip $GunzipError);</p>
<p>use English qw(-no_match_vars);</p>
<p>use DB::CouchDB;<br />
use VDS::Schema;    # my DBIx::Class database schema</p>
<p>use version; our $VERSION = qv('0.0.4.5');</p>
<p>#insert options processing stuff here</p>
<p>#make the postgres connector<br />
my $vdb = VDS::Schema-&gt;connect( "dbi:Pg:dbname=$dbname;host=$host;port=$port",<br />
    $user, $pass, {}, { disable_sth_caching =&gt; 1 } );</p>
<p># some other utility subroutines go here</p>
<p># main file processing loop<br />
while ( my $input = shift @files ) {</p>
<p>    # pick off the actual filename for tracking the file<br />
    my $currentfile;<br />
    if ( $input =~ /.*\/(.*gz)$/sxm ) {<br />
        $currentfile = $1;<br />
    }</p>
<p>    # use CouchDB as state machine to track doc processing<br />
    my $seekpos = check_if_doc_processed(<br />
        {<br />
            'filename' =&gt; $currentfile,<br />
            'create'   =&gt; 1,<br />
        }<br />
    );<br />
    if ( $seekpos  0 &amp;&amp; !$reparse ) {<br />
        carp<br />
"skipping $currentfile, some other process is probably already parsing it";<br />
        next;    # skip this document, go onto the next one<br />
    }</p>
<p>    # okay lets process the file<br />
    # fire off psql copy command<br />
    my $z = IO::Uncompress::Gunzip-&gt;new($input)<br />
      or croak "IO::Uncompress::Gunzip failed: $GunzipError\n";<br />
    my @stuff = $vdb-&gt;storage-&gt;dbh_do(<br />
        sub {<br />
            my ( $storage, $dbh, $file ) = @_;<br />
            $dbh-&gt;do(<br />
'COPY pdata (ts,vds_id, n1,o1,s1,n2,o2,s2,n3,o3,s3,n4,o4,s4,n5,o5,s5,n6,o6,s6,n7,o7,s7,n8,o8,s8) from STDIN with csv'<br />
            );</p>
<p>            while ( my $line = $z-&gt;getline() ) {<br />
                $dbh-&gt;pg_putcopydata($line);<br />
            }<br />
            $dbh-&gt;pg_putcopyend();<br />
        },<br />
        $z<br />
    );</p>
<p>    # post to the CouchDB the fact that we're done, and how many lines we read<br />
    track_doc_processing(<br />
        {<br />
            'filename' =&gt; $currentfile,<br />
            'row'      =&gt; $z-&gt;input_line_number(),<br />
            'done'     =&gt; 1<br />
        }<br />
    );<br />
    $z-&gt;close();</p>
<p>}<br />
</code></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/contourline.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/contourline.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/contourline.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/contourline.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/contourline.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/contourline.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/contourline.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/contourline.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/contourline.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/contourline.wordpress.com/206/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contourline.wordpress.com&blog=718724&post=206&subd=contourline&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://contourline.wordpress.com/2009/10/13/using-psql-copy-from-dbixclass/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jmarca</media:title>
		</media:content>
	</item>
		<item>
		<title>Washed out gray is the new black</title>
		<link>http://contourline.wordpress.com/2008/12/10/washed-out-gray-is-the-new-black/</link>
		<comments>http://contourline.wordpress.com/2008/12/10/washed-out-gray-is-the-new-black/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 20:33:27 +0000</pubDate>
		<dc:creator>jmarca</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[couchdb]]></category>
		<category><![CDATA[transportation]]></category>

		<guid isPermaLink="false">http://contourline.wordpress.com/?p=115</guid>
		<description><![CDATA[I was working on Sakai help yesterday and decided that using CouchDB might be the way to go if I ever got some time to try to replace Sakai&#8217;s default help system.  Why replace?  The biggest problem I ran into is that changing the help contents seems to require a server reload.  And Sakai is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contourline.wordpress.com&blog=718724&post=115&subd=contourline&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I was working on Sakai help yesterday and decided that using CouchDB might be the way to go if I ever got some time to try to replace Sakai&#8217;s default help system.  <span id="more-115"></span>Why replace?  The biggest problem I ran into is that changing the help contents seems to require a server reload.  And Sakai is a monster to reload (well, more than a minute is pretty darn slow for a reload).  A better help system would be to do as it currently does (parse loaded jar files for help contents) but then create or update existing help in a couchdb database, with versioning and what not so that reloads of old data don&#8217;t obliterate more recent changes.</p>
<p>That way, you can hop on the site and edit the help contents, rather than having to edit the help when you write the java code and load the help when you do the &#8220;mvn install sakai:deploy &amp;&amp;  /etc/init.d/tomcat-5.5 restart&#8221; incantation.</p>
<p><strong>BUT</strong> I&#8217;d rather spend time working on a transportation glossary app for the site, rather than updating the help system.  The two can eventually be the same, with some backend tweaks, but the glossary is more immediately useful to us.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/contourline.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/contourline.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/contourline.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/contourline.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/contourline.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/contourline.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/contourline.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/contourline.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/contourline.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/contourline.wordpress.com/115/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contourline.wordpress.com&blog=718724&post=115&subd=contourline&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://contourline.wordpress.com/2008/12/10/washed-out-gray-is-the-new-black/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jmarca</media:title>
		</media:content>
	</item>
		<item>
		<title>slow progress on the couchdb front</title>
		<link>http://contourline.wordpress.com/2008/11/19/slow-progress-on-the-couchdb-front/</link>
		<comments>http://contourline.wordpress.com/2008/11/19/slow-progress-on-the-couchdb-front/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 00:44:35 +0000</pubDate>
		<dc:creator>jmarca</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[couchdb]]></category>

		<guid isPermaLink="false">http://contourline.wordpress.com/?p=111</guid>
		<description><![CDATA[Some small, slow progress today, in and amongst other things.  Got a db up, put in two simple glossary entries, set up two views, and was able to ping from perl using AnyEvent::CouchDB, which seems more up-to-date than Net::CouchDb, and anyway, I couldn&#8217;t get Net::CouchDb to pass along a key=&#8221;blahblah&#8221; parameter on a get request.
Tonight [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contourline.wordpress.com&blog=718724&post=111&subd=contourline&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Some small, slow progress today, in and amongst other things.  <span id="more-111"></span>Got a db up, put in two simple glossary entries, set up two views, and was able to ping from perl using <a href="http://search.cpan.org/~beppu/AnyEvent-CouchDB-1.03/lib/AnyEvent/CouchDB.pm" target="_blank">AnyEvent::CouchDB</a>, which seems more up-to-date than Net::CouchDb, and anyway, I couldn&#8217;t get Net::CouchDb to pass along a key=&#8221;blahblah&#8221; parameter on a get request.</p>
<p>Tonight maybe I will modify the upload script to put the glossary in MediaWiki to instead populate the couchdb.  But I first have to solve a method for embedding links into the entries.  Right now my glossary app intercepts and rewrites the media wiki -generated links as needed.  I can make my life somewhat easier if I use couchdb directly, perhaps.</p>
<p>And then I have ideas for an editor, so that I can use ajax dialogs to pull in existing terms to make creating and editing entries somewhat easier.  Say an entry is being edited, query the db for all terms that are related to the text in the current definition, post those in a growing list on the right for drag and drop.</p>
<p>Which raises another question I&#8217;ll have to answer, how do you drag and drop stuff into an text box that is being edited and have the drop land at the point of edit.  When as I recall, the jquery editable type of widget thingee reverts when focus is lost.  Perhaps that is something that is settable.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/contourline.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/contourline.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/contourline.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/contourline.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/contourline.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/contourline.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/contourline.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/contourline.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/contourline.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/contourline.wordpress.com/111/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contourline.wordpress.com&blog=718724&post=111&subd=contourline&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://contourline.wordpress.com/2008/11/19/slow-progress-on-the-couchdb-front/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jmarca</media:title>
		</media:content>
	</item>
		<item>
		<title>couchdb</title>
		<link>http://contourline.wordpress.com/2008/11/18/couchdb/</link>
		<comments>http://contourline.wordpress.com/2008/11/18/couchdb/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 00:50:19 +0000</pubDate>
		<dc:creator>jmarca</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[transportation]]></category>

		<guid isPermaLink="false">http://contourline.wordpress.com/?p=107</guid>
		<description><![CDATA[Stumbled across couchdb thanks to the Sakai devel mailing list.  Looks cool, but I need to use it before I can get my head around what it might be able to do.  I think a good toy application that will also be useful is to code up Mike&#8217;s glossary using it.  That would be good [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contourline.wordpress.com&blog=718724&post=107&subd=contourline&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Stumbled across <a title="couch db web site" href="http://incubator.apache.org/couchdb/index.html" target="_blank">couchdb</a> thanks to the Sakai devel mailing list.  Looks cool, but I need to use it before I can get my head around what it might be able to do.  I think a good toy application that will also be useful is to code up Mike&#8217;s glossary using it.  That would be good because the limitation of a wiki is that when you want to add links to existing pages, you have to guess or whatnot, and anyway a wiki is not a glossary.  I just want a dynamic, editable, cross-linked glossary.  That isn&#8217;t hand-generated!</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/contourline.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/contourline.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/contourline.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/contourline.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/contourline.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/contourline.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/contourline.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/contourline.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/contourline.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/contourline.wordpress.com/107/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contourline.wordpress.com&blog=718724&post=107&subd=contourline&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://contourline.wordpress.com/2008/11/18/couchdb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jmarca</media:title>
		</media:content>
	</item>
		<item>
		<title>javascript thing</title>
		<link>http://contourline.wordpress.com/2008/10/28/javascript-thing/</link>
		<comments>http://contourline.wordpress.com/2008/10/28/javascript-thing/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 04:27:22 +0000</pubDate>
		<dc:creator>jmarca</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://contourline.wordpress.com/?p=97</guid>
		<description><![CDATA[I can&#8217;t find the bookmark to the original source for this on my home computer, and anyway the bookmark that I thought worked on my work computer seems to be out of date.  So, here is the shell of how I start javascript programs.  Your mileage may vary.
// closure to hide the prototype
var MyObject = [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contourline.wordpress.com&blog=718724&post=97&subd=contourline&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I can&#8217;t find the bookmark to the original source for this on my home computer, and anyway the bookmark that I thought worked on my work computer seems to be out of date.  So, here is the shell of how I start javascript programs.  Your mileage may vary.</p>
<pre><span id="more-97"></span>// closure to hide the prototype
var MyObject = (function(){
    /* private static (class) members */

    /* private static methods. */

    /*class constructor.*/
    function constructorFn(id){
        this.id = id;
        var self = this;
        /* call private static (class)  methods, etc */

        /* privileged instance methods. */

    };

    /* privileged static (class) methods   (a property of the constructor) */
    //constructorFn.getNoOfInsts = function(){
    //    return counter;
    //};

    /* public instance method privaliged at the  class level */
    //constructorFn.prototype.pubInstMethod = function(){
    //   ...
    //};

    /*return the constructor.*/
    return constructorFn;
})(); //simultaneously define and call (one-off)!

/* public static  members */
// MyObject.pubStatic = "anything"</pre>
<p>I even tried searching for that characteristic &#8220;define and call (one-off)&#8221; line that I know was in the original source, but the original didn&#8217;t turn up.</p>
<p>Ah, found <a href="http://svn.tritarget.org/javascript_notes.html" target="_blank">this link</a>, and clicking on the link in that page turns up a dead end.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/contourline.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/contourline.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/contourline.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/contourline.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/contourline.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/contourline.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/contourline.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/contourline.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/contourline.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/contourline.wordpress.com/97/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contourline.wordpress.com&blog=718724&post=97&subd=contourline&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://contourline.wordpress.com/2008/10/28/javascript-thing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jmarca</media:title>
		</media:content>
	</item>
		<item>
		<title>Salasaga frustration</title>
		<link>http://contourline.wordpress.com/2008/10/09/libgnome-frustration/</link>
		<comments>http://contourline.wordpress.com/2008/10/09/libgnome-frustration/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 23:17:08 +0000</pubDate>
		<dc:creator>jmarca</dc:creator>
				<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://contourline.wordpress.com/?p=92</guid>
		<description><![CDATA[Super frustrating day trying to build Salasaga, with the kicker coming at about 3:30 when ./configure finally complained that it needs libgnome.  I don&#8217;t run gnome.  Most of the time that isn&#8217;t a problem.  How annoying that they don&#8217;t list Gnome as one of their project prerequisites.  I guess that is one of the evils [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contourline.wordpress.com&blog=718724&post=92&subd=contourline&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Super frustrating day trying to build Salasaga, with the kicker coming at about 3:30 when ./configure finally complained that it needs libgnome.  I don&#8217;t run gnome.  Most of the time that isn&#8217;t a problem.  How annoying that they don&#8217;t list Gnome as one of their project prerequisites.  I guess that is one of the evils of having Ubuntu become so popular&#8212;perhaps developers don&#8217;t even realize that running Linux on a desktop doesn&#8217;t &#8220;require&#8221; a gnome environment.</p>
<p>I think I&#8217;ll wait for the ebuild to come out.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/contourline.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/contourline.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/contourline.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/contourline.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/contourline.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/contourline.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/contourline.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/contourline.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/contourline.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/contourline.wordpress.com/92/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contourline.wordpress.com&blog=718724&post=92&subd=contourline&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://contourline.wordpress.com/2008/10/09/libgnome-frustration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jmarca</media:title>
		</media:content>
	</item>
		<item>
		<title>concrete 5 looks like a winner</title>
		<link>http://contourline.wordpress.com/2008/10/07/concrete-5-looks-like-a-winner/</link>
		<comments>http://contourline.wordpress.com/2008/10/07/concrete-5-looks-like-a-winner/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 21:59:25 +0000</pubDate>
		<dc:creator>jmarca</dc:creator>
				<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://contourline.wordpress.com/?p=90</guid>
		<description><![CDATA[I&#8217;ve been looking for something for Brooke to use for a while now to bang out websites.  I tried rolling my own, tried a wiki, tried setting up a blog (not in that order) but nothing worked.  Concrete5 looks like &#8220;the bomb&#8221; as my old friend Bob used to say.  I used their [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contourline.wordpress.com&blog=718724&post=90&subd=contourline&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ve been looking for something for Brooke to use for a while now to bang out websites.  I tried rolling my own, tried a wiki, tried setting up a blog (not in that order) but nothing worked.  <a href="http://www.concrete5.org/get-concrete5/">Concrete5</a> looks like &#8220;the bomb&#8221; as my old friend Bob used to say.  I used their demo (until it reset) and it looked like it could do what I think Brooke wants to do with a site (format, arrange, write content, get automatic listings/directories, etc).  The FAQ says it has community tools too.  Finally, I did a control-u and saw jquery, etc etc, so I&#8217;m downloading it and going to fire it up.  I just emerged drupal yesterday, but I got all bogged down in plugins and add ons and so on. If I can&#8217;t set it up fast, it isn&#8217;t going to get done.</p>
<p>We&#8217;ll see how C5 works out.</p>
<p><span id="more-90"></span>Update:  C5 is indeed cool, but two problems.  First my upgrade from Firefox 2.0 to 3.0 was done poorly.  I didn&#8217;t do a clean restart.  So once I figured that out and got a new .mozilla/firefox directory, the flash bits started working for me.  But the second problem is that uploading files causes an immediate session fail.  I haven&#8217;t solved that yet.  Still, I see enough potential to keep plugging at it.</p>
<p>Update Update:  Turns out suhosin is the problem, or rather, it encrypts the session and flash then trips up on the encryption and the session is then invalidated.  I think.  Anyway, turning off encryption in suhosin config solved the problem, as I wrote <a href="http://sourceforge.net/forum/message.php?msg_id=5434938" target="_blank">here</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/contourline.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/contourline.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/contourline.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/contourline.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/contourline.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/contourline.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/contourline.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/contourline.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/contourline.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/contourline.wordpress.com/90/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contourline.wordpress.com&blog=718724&post=90&subd=contourline&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://contourline.wordpress.com/2008/10/07/concrete-5-looks-like-a-winner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jmarca</media:title>
		</media:content>
	</item>
	</channel>
</rss>