<?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>Clowns In My Coffee &#187; Tools</title>
	<atom:link href="http://clownsinmycoffee.net/category/tools/feed/" rel="self" type="application/rss+xml" />
	<link>http://clownsinmycoffee.net</link>
	<description>Inanity of the most cogent sort you can find.</description>
	<lastBuildDate>Tue, 11 May 2010 23:16:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>w3c.recommend(xproc)</title>
		<link>http://clownsinmycoffee.net/2010/05/11/83/</link>
		<comments>http://clownsinmycoffee.net/2010/05/11/83/#comments</comments>
		<pubDate>Tue, 11 May 2010 23:13:33 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[nerdination]]></category>
		<category><![CDATA[nerdination XML]]></category>

		<guid isPermaLink="false">http://clownsinmycoffee.net/?p=83</guid>
		<description><![CDATA[As an unabashed fan of the angle brackety type things, I&#8217;m chuffed to learn, via Norman Walsh,  that XProc is now a W3C recommendation. Congratulations to all the people who put in all the work to get it there.  Take &#8230; <a href="http://clownsinmycoffee.net/2010/05/11/83/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As an unabashed fan of the angle brackety type things, I&#8217;m chuffed to learn, <a title="Norm Walsh on XProc becoming a Recommendation" href="http://norman.walsh.name/2010/05/11/xproc">via Norman Walsh</a>,  that <a href="http://www.w3.org/TR/2010/REC-xproc-20100511/">XProc is now a W3C recommendation</a>.  Congratulations to all the people who put in all the work to get it there.  Take a look at if if you need to run your XML documents through a bunch of steps and produce a bunch of results (and do other things along the way).</p>
<p>I&#8217;ve used XProc in a limited way to run a sort of enhanced XSLT process, and it was slow to get started, but once I wrapped my head around the central concepts, the rest went like butter.  Given that the specification provides for making HTTP requests, I&#8217;d think it could serve as an especially useful component in a RESTful document publishing architecture.  But then, I would say that.</p>
]]></content:encoded>
			<wfw:commentRss>http://clownsinmycoffee.net/2010/05/11/83/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Few Minutes With Apache Sling</title>
		<link>http://clownsinmycoffee.net/2008/11/26/a-few-minutes-with-apache-sling/</link>
		<comments>http://clownsinmycoffee.net/2008/11/26/a-few-minutes-with-apache-sling/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 13:02:06 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[nerdination]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[OSGi]]></category>
		<category><![CDATA[REST]]></category>
		<category><![CDATA[sling]]></category>

		<guid isPermaLink="false">http://clownsinmycoffee.net/?p=54</guid>
		<description><![CDATA[Apache Sling is almost painfully hip, in a way only a dedicated nerd could appreciate (or, ok, believe) &#8212; it provides a RESTful frontend to a Java Content Repository, and the whole thing is based on OSGi. Roughly, it gives &#8230; <a href="http://clownsinmycoffee.net/2008/11/26/a-few-minutes-with-apache-sling/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://incubator.apache.org/sling">Apache Sling</a> is almost painfully hip, in a way only a dedicated nerd could appreciate (or, ok, <em>believe</em>) &#8212; it provides a RESTful frontend to a Java Content Repository, and the whole thing is based on OSGi.  Roughly, it gives you a content repository with customizable processing and presentation for different types of content, and the only &#8216;driver&#8217; you need is a library that truly understands HTTP.
</p>
<p>
As part of evaluating it for the day job, I put together an s5 presentation with that other reST, and the result is <a href="http://www.unc.edu/home/adamc/sling-overview.html">Apache Sling Overview</a>.  I also dug into the codebase to figure out a bit more about Sling&#8217;s <a href="http://www.unc.edu/home/adamc/post-servlet.html">default POST processing servlet</a>.  I do hope I didn&#8217;t say too many materially false things.</p>
]]></content:encoded>
			<wfw:commentRss>http://clownsinmycoffee.net/2008/11/26/a-few-minutes-with-apache-sling/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fun With Copyright Renewal Records</title>
		<link>http://clownsinmycoffee.net/2008/07/01/fun-with-copyright-renewal-records/</link>
		<comments>http://clownsinmycoffee.net/2008/07/01/fun-with-copyright-renewal-records/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 03:32:08 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[RDF]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[conferences]]></category>
		<category><![CDATA[nerdination]]></category>

		<guid isPermaLink="false">http://clownsinmycoffee.net/?p=46</guid>
		<description><![CDATA[Based on an enormous amount of work by contributors to Project Gutenberg and the Distributed Proofreaders, combined with healthy sourcing of the US copyright office&#8217;s records, Google has compiled a a list of works originally copyrighted between 1923 and 1963 &#8230; <a href="http://clownsinmycoffee.net/2008/07/01/fun-with-copyright-renewal-records/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Based on an enormous amount of work by contributors to <a href="http://www.gutenberg.org/wiki/Main_Page">Project Gutenberg</a> and the <a href="http://www.pgdp.net/c/">Distributed Proofreaders</a>, combined with healthy sourcing of the US <a href="http://www.copyright.gov/records/">copyright office&#8217;s records</a>, Google has compiled a <a href="http://booksearch.blogspot.com/2008/06/us-copyright-renewal-records-available.html">a list of works originally copyrighted between 1923 and 1963</a> which have been renewed at some point, the upshot being that if a given work published in that time span is <em>not</em> on the list, it&#8217;s likely in the public domain.
</p>
<p>
One problem with the list that the database is a 370+ megabyte XML file, which is hard to load up in an XML-aware editor and even caused <a title="eXist open source XML database" href="http://exist.sourceforge.net">eXist</a> to choke.  So I broke it up into chunks with a shortish Groovy script, for neat ingestion into an XML database.  The heart of the script is a SAX handler that basically churns each record in the XML file into a Groovy object, and a closure (there&#8217;s that word again!) that handles each record as it is constructed.  As written, the script simply breaks the big file into a bunch of files, one for each year (you will of course have to edit the paths).  By supplying a different closure, you could do all sorts of different things with the records, e.g. stuff them into a relational database.
</p>
<p>
In the spirit of the thing, the script is in the public domain &#8212; but I make no representations as to the quality, idiomaticity or overall efficiency of the script; despite being SAX-based, it still manages to chew up quite a bit of memory, so watch out.  Note that you will need <a href="http://commons.apache.org/lang">Apache Commons Lang</a> (say, version 2.4) on the classpath (e.g. in <code>$HOME/.groovy/lib</code>) for this script to work.  Developed with Groovy 1.5.6.
</p>
<p style="color: red">I&#8217;ve tried to stop wordpress from &#8216;prettyfying&#8217; the output, which appears to mangle quotes.  I hope to have that fixed soon &#8230;</p>
<pre style="border: 1px solid #000; padding: 1em; background-color: #ccc;">import org.xml.sax.helpers.DefaultHandler
import org.xml.sax.Attributes
import org.xml.sax.helpers.XMLReaderFactory
import org.xml.sax.InputSource

import org.apache.commons.lang.StringEscapeUtils
import org.xml.sax.Locator

/**
 * Represents an individual &lt;Record&gt; element
 * in the document.
 **/
class Record {
    def file

    def lines

    def recno

    def title

   def copyrightYear

    def copyrights = []

    def renewalYear

    def renewals = [] 

    // where it was published
    def published

    // rare!
    def note

    // source of the copyright info
    def source
    def snippet
    def md5sum

    // contributors, holders, and pseudonyms
    def people = []

    /**
     * Get the XML representing this element.  Note
     * that proper functioning here depends on how the
     * handler builds the elements.
     * @return a string containing this record's XML.
     */
    def xml() {
        def buf = new StringBuffer()
        buf &lt;&lt; """
&lt;Record&gt;
    &lt;Title&gt;${title}&lt;/Title&gt;
    &lt;File&gt;${file}&lt;/File&gt;
    &lt;Lines&gt;${lines}&lt;/Lines&gt;
    &lt;MD5Sum&gt;${md5sum}&lt;/MD5Sum&gt;
"""
        if (snippet) {
            buf &lt;&lt; "\t&lt;Snippet&gt;${snippet}&lt;/Snippet&gt;\n"
        }
        if (note) {
            buf &lt;&lt;"\t&lt;Note&gt;${note}&lt;/Note&gt;\n"
        }
        buf &lt;&lt;
"""
    &lt;Source&gt;${source}&lt;/Source&gt;
    &lt;CopyrightYear&gt;${copyrightYear}&lt;/CopyrightYear&gt;
    &lt;RenewalYear&gt;${renewalYear}&lt;/RenewalYear&gt;
"""
        copyrights.each() {
            buf &lt;&lt; it.xml()
        }
        renewals.each() {
            buf &lt;&lt; it.xml()
        }
        people.each() {
                buf &lt;&lt; it.xml()
        }
        buf &lt;&lt; "&lt;/Record&gt;\n"
        return buf.toString()
    }
}

/**
 * An inelegant class representing the elements that denote
 * people (copyright holders, contributors, aliases, etc.)
 **/
class Person {

    static ELEMENTS = ["Holder" :   [ "Name", "Type" ],
                        "Contrib" : [ "Name", "Role" ],
                        "Pseudonym" : [ "Pseudo", "Real" ],
                        "Neenym" : [ "Nee", "Now" ],
                        "Aka" : [ "Alias", "Real" ] ]

    static ROLES = ELEMENTS.keySet()

    def role

    def name

    def honorific

    def type

    def xml() {
        def firstElement = ELEMENTS[role][0]
        def secondElement = ELEMENTS[role][1]
        def buf = new StringBuffer()

        buf &lt;&lt; """
&lt;${role}&gt;
    &lt;${firstElement}&gt;${name}&lt;/${firstElement}&gt;
    &lt;${secondElement}&gt;$type&lt;/${secondElement}&gt;"""
    if ( honorific ) {
        buf &lt;&lt; "\t&lt;Hon&gt;${honorific}&lt;/Hon&gt;\n"
        }
    buf &lt;&lt; "&lt;/${role}&gt;\n"
    return buf.toString()
    }
}

/**
 * Represents copyright and renewal date elements.
 */
class RecordDate {

	static ELEMENTS = ["Copyright", "Renewal"]

    def role
    def date
    def id
    def xml() {
        return """&lt;${role}&gt;
    &lt;Date&gt;${date}&lt;/Date&gt;
    &lt;Id&gt;${id}&lt;/Id&gt;
&lt;/${role}&gt;"""
    }
}

/**
 * SAX handler that turns each &lt;code&gt;Record&lt;/code&gt; element
 * into a &lt;code&gt;Record&lt;/code&gt; domain object.
 **/
class RecordHandler extends DefaultHandler {

    /**
     * Stack of strings that represents the current
     * element context.
     **/
    Stack context = new Stack()

    /**
     * the current record being built.
     **/
    Record currentRec

    /**
     * the current Person element being built.
     **/
    Person currentPerson

    /**
     * The current date information being collected.
     **/
    RecordDate currentRecDate

    /**
     * A closure which will be called as each record is
     * read in.
     **/
    def recordListener

    /**
     * a buffer to collect the current text, since SAX might
     * not report all contiguous chunks of text at once.
     **/
    StringBuilder currentText = new StringBuilder()

    def locator

    @Override
    public void setDocumentLocator(Locator locator)
    {    println "Got a locator: ${locator}"
        this.locator = locator
    }

    @Override
    public void startElement(String uri, String localName, String qName, Attributes atts)
    {
        context &lt;&lt; localName
        switch( localName ) {
            case "Record":
                currentRec = new Record()
                break
            case Person.ROLES:
                currentPerson = new Person()
                currentPerson.role = localName
                break
            case RecordDate.ELEMENTS:
                currentRecDate = new RecordDate()
                currentRecDate.role = localName
                break
        }
    }

    @Override
    public void characters(char [] ch, int start, int len)
    {
        currentText.append(ch,start,len)
    }

    @Override
    public void endElement(String uri, String localName, String qName)
    {
        String txt = StringEscapeUtils.escapeXml(currentText.toString().trim())
        switch(localName) {
            case Person.ROLES:
                currentRec.people &lt;&lt; currentPerson
                break
            case ["Type", "Role", "Real", "Now"]:
                currentPerson.type = txt
                break
            case ["Name", "Pseudo", "Nee", "Alias"]:
                currentPerson.name = txt
                break
            case "Hon":
                currentPerson.honorific = txt
               break;
            case "CopyrightYear":
                currentRec.copyrightYear = Integer.parseInt(txt)
                break
            case "Date":
                currentRecDate.date = txt
                break
            case "Id":
                currentRecDate.id = txt
                break
            case "Copyright":
                currentRec.copyrights &lt;&lt;currentRecDate
                break
            case "RenewalYear":
                currentRec.renewalYear = Integer.parseInt(txt)
                break
            case "Renewal":
                currentRec.renewals &lt;&lt; currentRecDate
                break
            case "Recno":
                currentRec.recno = txt
                break
            case "Source":
                currentRec.source = txt
                break
            case "Lines":
                currentRec.lines = txt
                break
            case "MD5Sum":
                currentRec.md5sum = txt
                break
            case "File":
                currentRec.file = txt
                break
            case "Snippet":
                currentRec.snippet = txt
                break
            case "Title":
                currentRec.title = txt
                break
            case "Published":
                currentRec.published = txt
                break
            case "Record":
                recordListener(currentRec)
                break
            case "Note":
                currentRec.note = txt
                break
            case "CopyrightRenewalRecords":
                break
            default:
                println "Unrecognized element '${localName}' at line ${locator.lineNumber}"
                System.exit(1)
            }
        currentText.length = 0
    }

}

def file = new File("input-dir/google-renewals-20080624/google-renewals-20080624.xml")

/**
 * A listener that will output each record into a different stream depending
 * on the CopyrightYear of the record.
 **/
def listenerBase = { Map streams, Record it -&gt;
    if ( !streams.containsKey(it.copyrightYear) ) {
        def f = new File("/output/dir/copyright-${it.copyrightYear}.xml")
        println "creating ${f.absolutePath}"
        def stream = f.newWriter()
        streams[it.copyrightYear] = stream
        stream.append("&lt;CopyrightRenewalRecords&gt;")
    }
    Writer s = (Writer)streams[it.copyrightYear]
    s.append(it.xml())
    s.flush()
}

def reader = XMLReaderFactory.createXMLReader()
def handler = new RecordHandler()
def outputStreams = [:]
handler.recordListener = listenerBase.curry(outputStreams)
reader.setContentHandler( handler )

try {
    reader.parse( new InputSource( file.newInputStream() ) )
} catch (Exception x) {
    x.printStackTrace()
    println "Error at line ${handler.locator.lineNumber}"
}

outputStreams.each() {
    k, BufferedOutputStream v -&gt;
        println "Closing ${k}"
        v.append("&lt;/CopyrightRenewalRecords&gt;")
        v.flush()
        v.close()
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://clownsinmycoffee.net/2008/07/01/fun-with-copyright-renewal-records/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding Shift-select with jQuery</title>
		<link>http://clownsinmycoffee.net/2008/04/18/add-shift-select-with-jquery/</link>
		<comments>http://clownsinmycoffee.net/2008/04/18/add-shift-select-with-jquery/#comments</comments>
		<pubDate>Fri, 18 Apr 2008 17:48:07 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[nerdination]]></category>
		<category><![CDATA[closure]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://clownsinmycoffee.net/?p=45</guid>
		<description><![CDATA[I&#8217;ve been using jQuery a bit here and there to add some (I hope) usability enhancements and for light AJAJ work. Today I encountered a situation where I thought adding the &#8220;shift-select&#8221; feature on a longish list of checkboxes would &#8230; <a href="http://clownsinmycoffee.net/2008/04/18/add-shift-select-with-jquery/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>
 I&#8217;ve been using <a href="http://jquery.com">jQuery</a> a bit here and there to add some (I hope) usability enhancements and for light AJAJ work.  Today I encountered a situation where I thought adding the &#8220;shift-select&#8221; feature on a longish list of checkboxes would be a good thing. This sort of feature pops up in webmail interfaces, where you tick off one box, scroll down through 750 spam messages, and then, while holding down shift on the 751st piece of spam in a row, click its checkbox to select all of the rows in between.  It turns out that adding this with jQuery is pretty elegant, so here&#8217;s the code.  I don&#8217;t for a moment think this is the best implementation of this idea, but I was struck by how concise the result was, while supporting &#8212; via a straightforward use of a <a href="http://en.wikipedia.org/wiki/Closure_(computer_science)">closure</a>, multiple instances on the same page.  For giggles, I added a feature that allows you to de-select a range, although I&#8217;m not convinced it works in an intuitive way.
</p>
<p>To use this, you&#8217;ll need jQuery (tested against 1.2.3) in your page, and a CSS selector that matches the checkboxes you want to enable shift-select on. Then call <code>$(selector).shiftSelect();</code> and you&#8217;re done.
</p>
<pre>
 jQuery.fn.shiftSelect = function() {
    var checkboxes = this;
    var lastSelected;
    jQuery(this).click( function(event) {

        if ( !lastSelected ) {
            lastSelected = this;
            return;
        }

        if ( event.shiftKey ) {
            var selIndex = checkboxes.index(this);
            var lastIndex = checkboxes.index(lastSelected);
            /*
             * if you find the "select/unselect" behavior unseemly,
             * remove this assignment and replace 'checkValue'
             * with 'true' below.
             */
            var checkValue = lastSelected.checked;
            if ( selIndex == lastIndex ) {
                return true;
            }

            var end = Math.max(selIndex,lastIndex);
            var start = Math.min(selIndex,lastIndex);
            for(i=start;i&lt;=end;i++) {
                checkboxes[i].checked = checkValue;
            }
        }
        lastSelected = this;
    });
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://clownsinmycoffee.net/2008/04/18/add-shift-select-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>So, I Broke Down</title>
		<link>http://clownsinmycoffee.net/2007/10/16/so-i-broke-down/</link>
		<comments>http://clownsinmycoffee.net/2007/10/16/so-i-broke-down/#comments</comments>
		<pubDate>Tue, 16 Oct 2007 03:02:35 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[nerdination]]></category>

		<guid isPermaLink="false">http://clownsinmycoffee.net/2007/10/16/so-i-broke-down/</guid>
		<description><![CDATA[Just a little bit; I tried out the prerelease of IntelliJ IDEA 7.0, and I liked it enough after some rough handling in casual use to actually pony up for a license now that it&#8217;s officially released. Like Netbeans, a &#8230; <a href="http://clownsinmycoffee.net/2007/10/16/so-i-broke-down/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Just a little bit; I tried out the prerelease of <a href="http://www.jetbrains.com/idea/">IntelliJ IDEA 7.0</a>, and I liked it enough after some rough handling in casual use to actually pony up for a license now that it&#8217;s officially released.  Like Netbeans, a default install does a whole lot more things I&#8217;d like an IDE to do than Eclipse does, and like Netbeans and unlike Eclipse, it&#8217;s failed to crash randomly on me.  Yep, the prerelease was pretty smooth.  Now that I&#8217;ve actually fallen for that old trick, although I tried the release (build 7361) on three different operating systems with a total of five different JVMs, I can&#8217;t get it to run.  If I were to run a guessing game, I would not award points for guessing which platform provides the least help in figuring out what might be the problem.  Essentially, the startup sequence seems to be going into an infinite loop looking for an error handler that isn&#8217;t there.</p>
<p>Now, of course, this thing had better ought to be <em>really</em> good.</p>
<p><strong>update</strong>: what appears to have solved my problem is changing the options for the JVM that IntelliJ runs in; namely, make sure to add <tt>-Doldlicenseserver</tt> to them (which file to edit depends on the platform). </p>
]]></content:encoded>
			<wfw:commentRss>http://clownsinmycoffee.net/2007/10/16/so-i-broke-down/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On Discipline</title>
		<link>http://clownsinmycoffee.net/2007/08/15/on-discipline/</link>
		<comments>http://clownsinmycoffee.net/2007/08/15/on-discipline/#comments</comments>
		<pubDate>Wed, 15 Aug 2007 14:12:03 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[nerdination]]></category>

		<guid isPermaLink="false">http://clownsinmycoffee.net/2007/08/15/on-discipline/</guid>
		<description><![CDATA[I&#8217;ve been brewing a post about the eternal need for discipline by developers, and then Jeff Atwood posts Discipline Makes Strong Developers. Mine was going to be really good, too, full of all sorts of insights, phrased in a manner &#8230; <a href="http://clownsinmycoffee.net/2007/08/15/on-discipline/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been brewing a post about the eternal need for discipline by developers, and then Jeff Atwood posts <a href="http://www.codinghorror.com/blog/archives/000931.html">Discipline Makes Strong Developers</a>.  Mine was going to be really good, too, full of all sorts of insights, phrased in a manner an effete critic might have labeled &#8220;delectable&#8221; or, not to puff myself up too much, &#8220;sapid.&#8221;  I&#8217;ll console myself with the thought that someone with a much larger readership said it really well, because it&#8217;s important.  </p>
<p>I feel like I should add <em>some</em> value over whatever weak link-fu I can contribute.  It&#8217;s not just &#8220;developers&#8221; construed in some narrow sense that need to hear the call, either (see the crazy desktop Atwood uses as an illustration).  A companion lesson is that the type of faith many people place in tools is not well-placed: &#8220;if we just add the <em>Gzmotronk</em> into the mix, it will solve all of our problems with ____!&#8221;  That trick <em>never</em> works.  In my experience, if there&#8217;s a serious problem in getting information from one place to where it needs to be (a vague description that covers a lot of development tasks), the thing that&#8217;s most broken is the human part of the process.  Tools can automate away some of the more mechanical tasks (as the enabling technologies improve and new techniques are developed, the realm of the &#8220;mechanical&#8221; expands), but it takes discipline to make proper use of the things that aren&#8217;t mechanized.</p>
]]></content:encoded>
			<wfw:commentRss>http://clownsinmycoffee.net/2007/08/15/on-discipline/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>reST (no, not REST)</title>
		<link>http://clownsinmycoffee.net/2007/07/31/rest-no-not-rest/</link>
		<comments>http://clownsinmycoffee.net/2007/07/31/rest-no-not-rest/#comments</comments>
		<pubDate>Tue, 31 Jul 2007 13:59:29 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://clownsinmycoffee.net/2007/07/31/rest-no-not-rest/</guid>
		<description><![CDATA[Well, this seems worthwhile. I came across David Goodger&#8217;s “Code Like a Pythonista,” which takes the form of an S5 presentation generated from reStructured Text source. For the lazy, here&#8217;s the documentation on generating S5 from reST source. I more &#8230; <a href="http://clownsinmycoffee.net/2007/07/31/rest-no-not-rest/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p> Well, this seems worthwhile.  I came across David Goodger&#8217;s “<a href="http://python.net/~goodger/projects/pycon/2007/idiomatic/">Code Like a Pythonista</a>,” which takes the form of an <a href="http://meyerweb.com/eric/tools/s5/">S5</a> presentation generated from <a href="http://docutils.sourceforge.net/rst.html"><strong>reS</strong>tructured <strong>T</strong>ext</a> source.  For the lazy, here&#8217;s the documentation on <a href="http://docutils.sourceforge.net/docs/user/slide-shows.html">generating S5 from reST source</a>.</p>
<p>I more or less punted the last time I had to create a presentation, while I wanted to use S5, I was strapped for time and ended up using something called &#8220;Keynote&#8221; (not that there&#8217;s anything wrong with that, other than that I&#8217;d have loved to have been able to point people who missed the presentation to the web).</p>
]]></content:encoded>
			<wfw:commentRss>http://clownsinmycoffee.net/2007/07/31/rest-no-not-rest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
