<?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"
	>

<channel>
	<title>Jason R Briggs &#187; swfk</title>
	<atom:link href="http://www.briggs.net.nz/log/category/swfk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.briggs.net.nz/log</link>
	<description>by Jason R Briggs</description>
	<pubDate>Sat, 16 Aug 2008 20:34:00 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Whoops&#8230;</title>
		<link>http://www.briggs.net.nz/log/2008/06/13/whoops/</link>
		<comments>http://www.briggs.net.nz/log/2008/06/13/whoops/#comments</comments>
		<pubDate>Thu, 12 Jun 2008 17:11:02 +0000</pubDate>
		<dc:creator>jrbriggs</dc:creator>
		
		<category><![CDATA[development]]></category>

		<category><![CDATA[python]]></category>

		<category><![CDATA[swfk]]></category>

		<category><![CDATA[technical]]></category>

		<guid isPermaLink="false">http://www.briggs.net.nz/log/?p=328</guid>
		<description><![CDATA[A recent file rearrangement on my server resulted in all the links for &#8220;Snake Wrangling for Kids&#8221; breaking.
The problem is fixed now, and the zip files should be accessible again.
]]></description>
			<content:encoded><![CDATA[<p>A recent file rearrangement on my server resulted in all the links for &#8220;<a href="http://www.briggs.net.nz/log/writing/snake-wrangling-for-kids/">Snake Wrangling for Kids</a>&#8221; breaking.</p>
<p>The problem is fixed now, and the zip files should be accessible again.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.briggs.net.nz/log/2008/06/13/whoops/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A Sudden Realisation</title>
		<link>http://www.briggs.net.nz/log/2008/05/18/a-sudden-realisation/</link>
		<comments>http://www.briggs.net.nz/log/2008/05/18/a-sudden-realisation/#comments</comments>
		<pubDate>Sun, 18 May 2008 09:35:21 +0000</pubDate>
		<dc:creator>jrbriggs</dc:creator>
		
		<category><![CDATA[personal]]></category>

		<category><![CDATA[swfk]]></category>

		<category><![CDATA[technical]]></category>

		<guid isPermaLink="false">http://www.briggs.net.nz/log/?p=309</guid>
		<description><![CDATA[Well&#8230; not so sudden.. but yesterday I realised that this year will be the 30th anniversary of the first time I sat down in front of a blinking white cursor.
Said cursor was a small rectangular block, about 4 millimetres by 5 millimetres, and the machine was the Radio Shack TRS-80 &#8212; bought by my father [...]]]></description>
			<content:encoded><![CDATA[<p>Well&#8230; not so sudden.. but yesterday I realised that this year will be the 30th anniversary of the first time I sat down in front of a blinking white cursor.</p>
<p>Said cursor was a small rectangular block, about 4 millimetres by 5 millimetres, and the machine was the Radio Shack <a href="http://www.trs-80.com/">TRS-80</a> &#8212; bought by my father for what is, now, quite a lot of money for a computer, comparatively speaking.  That was also the year I started to learn programming (BASIC) &#8212; using a book which was the inspiration for my own <a href="http://www.briggs.net.nz/log/writing/snake-wrangling-for-kids">programming book for kids</a>.  I was 8 years old at the time (in case you were wondering).</p>
<p>Thirty years is quite a long time to be using computers &#8212; although that&#8217;s elapsed time, rather than actual.  There was a good period in my late teens when motorbikes were far cooler than computers&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.briggs.net.nz/log/2008/05/18/a-sudden-realisation/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Snake Wrangling for OLPC?</title>
		<link>http://www.briggs.net.nz/log/2008/04/29/snake-wrangling-for-olpc/</link>
		<comments>http://www.briggs.net.nz/log/2008/04/29/snake-wrangling-for-olpc/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 21:53:51 +0000</pubDate>
		<dc:creator>jrbriggs</dc:creator>
		
		<category><![CDATA[python]]></category>

		<category><![CDATA[swfk]]></category>

		<category><![CDATA[technical]]></category>

		<category><![CDATA[writing]]></category>

		<guid isPermaLink="false">http://www.briggs.net.nz/log/?p=304</guid>
		<description><![CDATA[In a moment of either inspiration or madness (I&#8217;m pinning my hopes on the fact that there&#8217;s a thin line between madness and genius), I decided to start work on a version of SWFK for the OLPC.
There are a couple of reasons why this is more of a challenge than the other versions of the [...]]]></description>
			<content:encoded><![CDATA[<p>In a moment of either inspiration or madness (I&#8217;m pinning my hopes on the fact that there&#8217;s a thin line between madness and genius), I decided to start work on a version of <a href="http://www.briggs.net.nz/log/writing/snake-wrangling-for-kids">SWFK</a> for the <a href="http://laptop.org/">OLPC</a>.</p>
<p>There are a couple of reasons why this is more of a challenge than the other versions of the book:</p>
<ol>
<li>I don&#8217;t have an OLPC</li>
<li>The version of Python installed on the OLPC includes neither Tkinter nor, more importantly, the <a href="http://docs.python.org/lib/module-turtle.html">turtle</a> module.</li>
</ol>
<p>The first point is easy to solve.  I&#8217;ve been running OLPC on <a href="http://www.virtualbox.org/">VirtualBox</a> (occasionally) for a few months now, so at least I have a vague idea of how to interact with the <a href="http://wiki.laptop.org/go/Category:Sugar">Sugar</a> interface. </p>
<p>The second point is slightly more problematic.  As far as I&#8217;m aware, the OLPC runs <a href="http://www.gtk.org/">GTK</a>, and so the <a href="http://www.pygtk.org/">pygtk</a> module is available &#8212; but I have yet to come across a turtle implementation for gtk (ignoring, for the moment, the TurtleArt activity already installed on the OLPC, which I don&#8217;t think is particularly useful for my purposes).</p>
<p>It seems like quite a fun project &#8212; implementing the turtle module using pygtk &#8212; until you consider the arcane pygtk API, the (IMHO) lack of reasonable documentation (I&#8217;m not particularly impressed by the pygtk reference manual&#8230; particularly the lack of index), and simple examples to expand from.</p>
<p>Technical issues aside, a week later, I&#8217;m considering the semantics of an OLPC edition of the book.   SWFK for Windows, Mac and Linux, all target the same fundamental audience.  An OLPC edition has a completely different potential audience.  The Western+English market is, no doubt, vanishingly small &#8212; so while, to date, I&#8217;ve had over 6500 downloads, I&#8217;m guessing an OLPC edition might garner less than 1-3% more.  The real market would be translated versions (assuming the interest in translating actually  results in translations) &#8212; but that begs another question: will kids in non-Western countries actually understand some of the references?  Is talk of DVD players, in-car computers, Nintendos, etc (i.e. some of the references in chapter one, for example), at all meaningful in the developing world?  I&#8217;m doubtful.</p>
<p>Which leads me to posit the question, is it worth the not-so-insignificant effort?  </p>
<p>What do you think?</p>
<p>Genius or madness?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.briggs.net.nz/log/2008/04/29/snake-wrangling-for-olpc/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New Editions</title>
		<link>http://www.briggs.net.nz/log/2008/03/06/new-editions/</link>
		<comments>http://www.briggs.net.nz/log/2008/03/06/new-editions/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 22:09:46 +0000</pubDate>
		<dc:creator>jrbriggs</dc:creator>
		
		<category><![CDATA[python]]></category>

		<category><![CDATA[swfk]]></category>

		<category><![CDATA[technical]]></category>

		<category><![CDATA[writing]]></category>

		<guid isPermaLink="false">http://www.briggs.net.nz/log/2008/03/06/new-editions/</guid>
		<description><![CDATA[Long awaited by&#8230; well a couple of people at least&#8230; I&#8217;ve recently been working on splitting out Snake Wrangling for Kids into 3 separate editions: one for Windows, one for Mac and one for Linux.
This proved rather more challenging than expected (rather characteristic of LaTeX as a whole actually), and I haven&#8217;t fully proofed the [...]]]></description>
			<content:encoded><![CDATA[<p>Long awaited by&#8230; well a couple of people at least&#8230; I&#8217;ve recently been working on splitting out <a href="http://www.briggs.net.nz/log/writing/snake-wrangling-for-kids">Snake Wrangling for Kids</a> into 3 separate editions: one for Windows, one for Mac and one for Linux.</p>
<p>This proved rather more challenging than expected (rather characteristic of LaTeX as a whole actually), and I haven&#8217;t fully proofed the final result yet.  Those interested can check out the new editions here:</p>
<p><a href="http://www.briggs.net.nz/log/wp-content/uploads/2008/03/swfk-linux.zip">SWFK - Linux Edition</a><br />
<a href="http://www.briggs.net.nz/log/wp-content/uploads/2008/03/swfk-mac.zip">SWFK - Mac Edition</a><br />
<a href="http://www.briggs.net.nz/log/wp-content/uploads/2008/03/swfk-win.zip">SWFK - Windows Edition</a></p>
<p>The Mercurial repository (<a href="http://www.briggs.net.nz/hg/swfk/">here</a>) containing the LaTeX source has also been updated with the latest changes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.briggs.net.nz/log/2008/03/06/new-editions/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A question for the LaTeX gurus (2)</title>
		<link>http://www.briggs.net.nz/log/2008/03/04/a-question-for-the-latex-gurus-2/</link>
		<comments>http://www.briggs.net.nz/log/2008/03/04/a-question-for-the-latex-gurus-2/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 23:37:54 +0000</pubDate>
		<dc:creator>jrbriggs</dc:creator>
		
		<category><![CDATA[swfk]]></category>

		<category><![CDATA[technical]]></category>

		<category><![CDATA[writing]]></category>

		<guid isPermaLink="false">http://www.briggs.net.nz/log/2008/03/04/a-question-for-the-latex-gurus-2/</guid>
		<description><![CDATA[So I&#8217;ve sort-of figured out how to do conditional blocks.  The following LaTeX initially appears to work:

\newboolean{cond1}
\newboolean{cond2}

\setboolean{cond1}{false}
\setboolean{cond2}{true}

\ifthenelse{\boolean{cond1}}
{
A block of conditional text in here.
blah blah
}

\ifthenelse{\boolean{cond2}}
{
A separate block of conditional text in here.
blah blah
}

I say initially appears to work, because it works fine for the first 4 or 5 attempts, but then some combination of blocks [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve <em>sort-of</em> figured out how to do conditional blocks.  The following LaTeX initially appears to work:</p>
<pre>
<code>\newboolean{cond1}
\newboolean{cond2}

\setboolean{cond1}{false}
\setboolean{cond2}{true}

\ifthenelse{\boolean{cond1}}
{
A block of conditional text in here.
blah blah
}

\ifthenelse{\boolean{cond2}}
{
A separate block of conditional text in here.
blah blah
}</code>
</pre>
<p>I say initially appears to work, because it works fine for the first 4 or 5 attempts, but then some combination of blocks (<code>\begin{verbatim}</code> for example), causes it to break on the 6 attempt.  If I include a verbatim block in that 6 attempt, latex outputs an obscure error message&#8230; something along the lines of:</p>
<pre>
<code>Runaway argument?
some code here \end {verbatim} \end {listing}
! Paragraph ended before \@xverbatim was complete.
&lt;to be read again&gt;</code>
</pre>
<p>Which is rather infuriating, considering that I&#8217;ve got verbatim blocks in the previous conditional sections (it doesn&#8217;t complain about those), and because I&#8217;ve <em>almost</em> got the answer to my problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.briggs.net.nz/log/2008/03/04/a-question-for-the-latex-gurus-2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A question for the LaTeX gurus&#8230;</title>
		<link>http://www.briggs.net.nz/log/2008/02/27/a-question-for-the-latex-gurus/</link>
		<comments>http://www.briggs.net.nz/log/2008/02/27/a-question-for-the-latex-gurus/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 18:57:15 +0000</pubDate>
		<dc:creator>jrbriggs</dc:creator>
		
		<category><![CDATA[swfk]]></category>

		<category><![CDATA[technical]]></category>

		<guid isPermaLink="false">http://www.briggs.net.nz/log/2008/02/27/a-question-for-the-latex-gurus/</guid>
		<description><![CDATA[Does anyone out there know of a way to have conditional blocks in LaTeX that are controllable by external parameters?
The sort of thing I want to do is something like:

\configurablesection{someparameter_1}
some stuff here (this is block1)

\configurablesection{someparameter_2}
some different stuff here (this is block2)

Then, from the command line, set a parameter to include the text in block 1 [...]]]></description>
			<content:encoded><![CDATA[<p>Does anyone out there know of a way to have conditional blocks in LaTeX that are controllable by external parameters?</p>
<p>The sort of thing I want to do is something like:</p>
<pre>
<code>\configurablesection{someparameter_1}
some stuff here (this is block1)

\configurablesection{someparameter_2}
some different stuff here (this is block2)</code>
</pre>
<p>Then, from the command line, set a parameter to include the text in block 1 <em>AND/OR</em> in block2, and produce different output as a consequence.</p>
<p>Any pointers welcomed!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.briggs.net.nz/log/2008/02/27/a-question-for-the-latex-gurus/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Public Repository</title>
		<link>http://www.briggs.net.nz/log/2008/02/19/public-repository/</link>
		<comments>http://www.briggs.net.nz/log/2008/02/19/public-repository/#comments</comments>
		<pubDate>Tue, 19 Feb 2008 00:01:53 +0000</pubDate>
		<dc:creator>jrbriggs</dc:creator>
		
		<category><![CDATA[python]]></category>

		<category><![CDATA[swfk]]></category>

		<category><![CDATA[technical]]></category>

		<category><![CDATA[writing]]></category>

		<guid isPermaLink="false">http://www.briggs.net.nz/log/2008/02/19/public-repository/</guid>
		<description><![CDATA[I&#8217;ve had a few requests to release the &#8220;source&#8221; to Snake Wrangling for Kids, by people interested in translating the text into another language.
SWFK is still a work in progress &#8212; although that progress has been rather slow since we moved to the UK &#8212; but I can&#8217;t see any reason why I should put [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had a few requests to release the &#8220;source&#8221; to <a href="http://www.briggs.net.nz/log/writing/snake-wrangling-for-kids/">Snake Wrangling for Kids</a>, by people interested in translating the text into another language.</p>
<p>SWFK is still a work in progress &#8212; although that progress has been rather slow since we moved to the UK &#8212; but I can&#8217;t see any reason why I should put off releasing the LaTex source until some sort of mythical completion date, particularly not when there are willing participants out there.</p>
<p>So for those who are interested in translating SWFK to another language, the latex &#8220;source&#8221; can be found in the following Mercurial repository:</p>
<p><a href="http://www.briggs.net.nz/hg/swfk">http://www.briggs.net.nz/hg/swfk</a></p>
<p>Note that it isn&#8217;t &#8220;buildable&#8221; in its current state.  I haven&#8217;t added the image files yet because some of them are rather large (the cover alone is over 2MB) &#8212; the wonders of the EPS format.  Mercurial doesn&#8217;t seem to handle excessively large image files that well (at least not on my web host it doesn&#8217;t), so if anyone has ideas on that front, let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.briggs.net.nz/log/2008/02/19/public-repository/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Version 0.7</title>
		<link>http://www.briggs.net.nz/log/2007/11/28/version-07/</link>
		<comments>http://www.briggs.net.nz/log/2007/11/28/version-07/#comments</comments>
		<pubDate>Wed, 28 Nov 2007 11:03:17 +0000</pubDate>
		<dc:creator>jrbriggs</dc:creator>
		
		<category><![CDATA[python]]></category>

		<category><![CDATA[swfk]]></category>

		<category><![CDATA[technical]]></category>

		<category><![CDATA[writing]]></category>

		<guid isPermaLink="false">http://www.briggs.net.nz/log/2007/11/28/version-07/</guid>
		<description><![CDATA[I&#8217;ve just uploaded the latest version of SWFK.  This fixes a few issues with continuity (such as referring to functions before they were actually explained), adds a basic explanation about the use of brackets and order of operations (which I think was a serious omission given the context), and other minor grammatical and code [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just uploaded the latest version of <a href="http://www.briggs.net.nz/log/writing/snake-wrangling-for-kids">SWFK</a>.  This fixes a few issues with continuity (such as referring to functions before they were actually explained), adds a basic explanation about the use of brackets and order of operations (which I think was a serious omission given the context), and other <em>minor</em> grammatical and code fixes.</p>
<p>The only major change is to add a few exercises to the end of some of the chapters, plus a new appendix for the answers.  This is a  work in progress.  Exercises are currently missing from Chapter 9, and possibly aren&#8217;t as detailed (nor fun) as they should be.</p>
<p>But they&#8217;re a start&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.briggs.net.nz/log/2007/11/28/version-07/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Announcing Version 0.6.1</title>
		<link>http://www.briggs.net.nz/log/2007/11/24/announcing-version-061/</link>
		<comments>http://www.briggs.net.nz/log/2007/11/24/announcing-version-061/#comments</comments>
		<pubDate>Sat, 24 Nov 2007 08:31:35 +0000</pubDate>
		<dc:creator>jrbriggs</dc:creator>
		
		<category><![CDATA[development]]></category>

		<category><![CDATA[python]]></category>

		<category><![CDATA[swfk]]></category>

		<category><![CDATA[technical]]></category>

		<category><![CDATA[writing]]></category>

		<guid isPermaLink="false">http://www.briggs.net.nz/log/2007/11/24/announcing-version-061/</guid>
		<description><![CDATA[The latest version of &#8220;Snake Wrangling for Kids&#8221; has been uploaded, and is now available on the main page.  This is the LaTeX conversion I mentioned in a previous post &#8212; but I&#8217;ve now applied a Python code checker to 99% of the example source code.  Hence I&#8217;ve fixed up a few omissions, [...]]]></description>
			<content:encoded><![CDATA[<p>The latest version of &#8220;Snake Wrangling for Kids&#8221; has been uploaded, and is now available on the <a href="http://www.briggs.net.nz/log/writing/snake-wrangling-for-kids">main page</a>.  This is the LaTeX conversion I mentioned in a previous post &#8212; but I&#8217;ve now applied a Python code checker to 99% of the example source code.  Hence I&#8217;ve fixed up a few omissions, bugs, and so on.</p>
<p>Automating the testing of example code proved more challenging than expected.  In the end, I failed miserably to get <a href="http://docs.python.org/lib/module-doctest.html">doctest</a> working they way I wanted, and had to roll my own testing code which works for a majority of the examples.  It&#8217;s not perfect, but picked up a few problems, so I&#8217;m reasonably happy with the end result&#8230; even if it is a complete hackjob.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.briggs.net.nz/log/2007/11/24/announcing-version-061/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Positives and Negatives of Latex</title>
		<link>http://www.briggs.net.nz/log/2007/11/21/the-positives-and-negatives-of-latex/</link>
		<comments>http://www.briggs.net.nz/log/2007/11/21/the-positives-and-negatives-of-latex/#comments</comments>
		<pubDate>Wed, 21 Nov 2007 10:37:04 +0000</pubDate>
		<dc:creator>jrbriggs</dc:creator>
		
		<category><![CDATA[swfk]]></category>

		<category><![CDATA[technical]]></category>

		<category><![CDATA[writing]]></category>

		<guid isPermaLink="false">http://www.briggs.net.nz/log/2007/11/21/the-positives-and-negatives-of-latex/</guid>
		<description><![CDATA[I&#8217;ve finished the initial part of my conversion of SWFK from Word Processor format to LaTeX.  Positive aspects?  Looks much better than the original; I like working in a text-based format plus I&#8217;ll be able to automate the double-checking of my examples (not completed yet); and lastly the file size is a 3rd [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve finished the initial part of my conversion of <a href="http://www.briggs.net.nz/log/writing/snake-wrangling-for-kids/">SWFK</a> from Word Processor format to LaTeX.  Positive aspects?  Looks much better than the original; I like working in a text-based format plus I&#8217;ll be able to automate the double-checking of my examples (not completed yet); and lastly the file size is a 3rd of what it was (hoorah for my bandwidth!).  Negative aspects: the format is more obscure (not a big problem obviously) and the number of pages has significantly increased.  LaTeX is a lot more liberal with whitespace than I was, plus I&#8217;ve probably accidentally increased the size of some of the images, which won&#8217;t have helped.  So my apologies to anyone who wants to print it, and has to kill more trees as a consequence.</p>
<p>Download is available from this <a href="http://www.briggs.net.nz/log/wp-content/uploads/2007/11/swfk-0.6.zip">link</a>, but I haven&#8217;t updated the main page yet.  Note that this is a draft-draft.  In other words, it already was a draft, and now it&#8217;s more of a draft&#8230; <img src='http://www.briggs.net.nz/log/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  I still need to tidy up some of my layout &#8216;messes&#8217;, plus re-check all example code, and a few other bits and pieces.  Another positive aspective of converting to LaTeX is that I found a bunch of naff typos that appeared in latter chapters (and appendices), where my editing prowess obviously rather severely tailed off&#8230;</p>
<p>Feedback on the new format/layout welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.briggs.net.nz/log/2007/11/21/the-positives-and-negatives-of-latex/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Learning Curve</title>
		<link>http://www.briggs.net.nz/log/2007/11/18/learning-curve/</link>
		<comments>http://www.briggs.net.nz/log/2007/11/18/learning-curve/#comments</comments>
		<pubDate>Sun, 18 Nov 2007 02:10:38 +0000</pubDate>
		<dc:creator>jrbriggs</dc:creator>
		
		<category><![CDATA[development]]></category>

		<category><![CDATA[python]]></category>

		<category><![CDATA[swfk]]></category>

		<category><![CDATA[technical]]></category>

		<guid isPermaLink="false">http://www.briggs.net.nz/log/2007/11/18/learning-curve/</guid>
		<description><![CDATA[I started learning C programming in, or around, 1991.  Up until that point, I had been exposed to Basic, Pascal, Modula-2, and (I think) Prolog.  C was&#8230; somewhat of an eye-opener.  Anyone who has had to come to grips with pointers and memory management in C, will know what I mean (and [...]]]></description>
			<content:encoded><![CDATA[<p>I started learning C programming in, or around, 1991.  Up until that point, I had been exposed to Basic, Pascal, Modula-2, and (I think) Prolog.  C was&#8230; somewhat of an eye-opener.  Anyone who has had to come to grips with pointers and memory management in C, will know what I mean (and thank goodness for the Borland C IDE help system - unparalleled as a learning tool).</p>
<p>At University, we had papers that required learning a functional language and assembler, but neither of these were like the screaming brick wall that I hit in my second year when I decided to learn C.</p>
<p>Actually, since then, I can&#8217;t think of a single technology where I&#8217;ve experienced a similarly steep learning curve.</p>
<p>Until <a href="http://www.latex-project.org/">LaTeX</a>.</p>
<p>I knew what LaTeX was, of course.  But neither had the need, nor in fact, the interest, in learning it before.  But after deciding I needed to move <a href="http://www.briggs.net.nz/log/writing/snake-wrangling-for-kids">SWFK</a> out of the atrocious (and, from an automation perspective, useless) word processing format it&#8217;s in at the moment; and after a few aborted attempts to get some reasonable output from various docbook toolsets, I&#8217;ve been provided with just the incentive.</p>
<p>But the learning curve is excrutiating.</p>
<p>Get one thing working, and the next thing stops.  Change this and effect that.  It was all me, of course.  There&#8217;s nothing wrong with LaTeX after you get used to how it works.  But, oh that learning curve.  I haven&#8217;t felt such a need to scream and yell at my computer in a decade.</p>
<p>This is not to say things are perfect now.  I still can&#8217;t get the front cover to look centered (advice from a LaTeX guru would be greatly appreciated) and, at times, LaTeX seems to think it knows, better than I do, where to put figures.  Working out how to put visible spaces in a \verbatim block is also proving a little challenging.  But the overall result does look, in my opinion, <strong>much</strong> nicer.</p>
<p>Anyone interested in proofreading the new version, please let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.briggs.net.nz/log/2007/11/18/learning-curve/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Magical 5000</title>
		<link>http://www.briggs.net.nz/log/2007/11/15/the-magical-5000/</link>
		<comments>http://www.briggs.net.nz/log/2007/11/15/the-magical-5000/#comments</comments>
		<pubDate>Thu, 15 Nov 2007 09:19:12 +0000</pubDate>
		<dc:creator>jrbriggs</dc:creator>
		
		<category><![CDATA[miscellaneous]]></category>

		<category><![CDATA[swfk]]></category>

		<guid isPermaLink="false">http://www.briggs.net.nz/log/2007/11/15/the-magical-5000/</guid>
		<description><![CDATA[Sometime in the last 5 days, while I wasn&#8217;t paying attention, the number of downloads of SWFK jumped from just under 2000, to almost 5000 (about 16 downloads to go, to be exact).
To put it in perspective, my lowly WordPress plugin has yet to hit that number in a year or two.
Well&#8230; &#8230;I&#8217;ve hardly been [...]]]></description>
			<content:encoded><![CDATA[<p>Sometime in the last 5 days, while I wasn&#8217;t paying attention, the number of downloads of <a href="http://www.briggs.net.nz/log/writing/snake-wrangling-for-kids">SWFK</a> jumped from just under 2000, to almost 5000 (about 16 downloads to go, to be exact).</p>
<p>To put it in perspective, my lowly WordPress plugin has yet to hit that number in a year or two.</p>
<p>Well&#8230; &#8230;I&#8217;ve hardly been slashdotted, or dugg, but I&#8217;m impressed.  <img src='http://www.briggs.net.nz/log/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.briggs.net.nz/log/2007/11/15/the-magical-5000/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sudden change of mind</title>
		<link>http://www.briggs.net.nz/log/2007/11/14/sudden-change-of-mind/</link>
		<comments>http://www.briggs.net.nz/log/2007/11/14/sudden-change-of-mind/#comments</comments>
		<pubDate>Wed, 14 Nov 2007 07:02:40 +0000</pubDate>
		<dc:creator>jrbriggs</dc:creator>
		
		<category><![CDATA[swfk]]></category>

		<category><![CDATA[technical]]></category>

		<category><![CDATA[yak]]></category>

		<guid isPermaLink="false">http://www.briggs.net.nz/log/2007/11/14/sudden-change-of-mind/</guid>
		<description><![CDATA[I&#8217;ve partly changed my mind about the addition of WPForum.  I&#8217;m leaving it there for YAK, but have decided that it&#8217;s not necessarily useful for the other projects (such as SWFK).  Instead, I&#8217;m giving the wp-thread-comments plugin a try.  At least you won&#8217;t necessarily have to register in order to comment.
Unless, of [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve partly changed my mind about the addition of <a href="http://www.fahlstad.se/wp-plugins/wp-forum/">WPForum</a>.  I&#8217;m leaving it there for <a href="http://www.briggs.net.nz/log/projects/yak-for-wordpress">YAK</a>, but have decided that it&#8217;s not necessarily useful for the other projects (such as <a href="http://www.briggs.net.nz/log/writing/snake-wrangling-for-kids">SWFK</a>).  Instead, I&#8217;m giving the <a href="http://blog.2i2j.com/plugins/wordpress-thread-comment">wp-thread-comments</a> plugin a try.  At least you won&#8217;t necessarily have to register in order to comment.</p>
<p>Unless, of course, someone has a better idea&#8230;?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.briggs.net.nz/log/2007/11/14/sudden-change-of-mind/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New forum added</title>
		<link>http://www.briggs.net.nz/log/2007/11/12/new-forum-added/</link>
		<comments>http://www.briggs.net.nz/log/2007/11/12/new-forum-added/#comments</comments>
		<pubDate>Mon, 12 Nov 2007 10:57:58 +0000</pubDate>
		<dc:creator>jrbriggs</dc:creator>
		
		<category><![CDATA[miscellaneous]]></category>

		<category><![CDATA[swfk]]></category>

		<category><![CDATA[yak]]></category>

		<guid isPermaLink="false">http://www.briggs.net.nz/log/2007/11/12/new-forum-added/</guid>
		<description><![CDATA[I&#8217;ve just added WP-Forum to my site, currently for YAK and SWFK.  At 200+ comments, the YAK discussion is already too unwieldy to be useful, and the comments list on the SWFK page could probably use something a bit more &#8216;threadable&#8217;.
The URL can be found here.  I&#8217;ll keep comments open on both pages, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just added WP-Forum to my site, currently for YAK and SWFK.  At 200+ comments, the YAK discussion is already too unwieldy to be useful, and the comments list on the SWFK page could probably use something a bit more &#8216;threadable&#8217;.</p>
<p>The URL can be found <a href="http://www.briggs.net.nz/log/forum">here</a>.  I&#8217;ll keep comments open on both pages, until any kinks have been ironed out.  Here&#8217;s hoping it&#8217;s useful&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.briggs.net.nz/log/2007/11/12/new-forum-added/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Version 0.5</title>
		<link>http://www.briggs.net.nz/log/2007/11/10/version-05/</link>
		<comments>http://www.briggs.net.nz/log/2007/11/10/version-05/#comments</comments>
		<pubDate>Fri, 09 Nov 2007 22:58:42 +0000</pubDate>
		<dc:creator>jrbriggs</dc:creator>
		
		<category><![CDATA[swfk]]></category>

		<category><![CDATA[writing]]></category>

		<guid isPermaLink="false">http://www.briggs.net.nz/log/2007/11/10/version-05/</guid>
		<description><![CDATA[The newest version of Snake Wrangling for Kids includes some minor corrections dotted throughout the book (thanks to commentors on the SWFK page and the Edu-Sig mailing list members, once again), as well as a basic clarification as to why floating point calculations don&#8217;t always result in the number you were quite expecting (not too [...]]]></description>
			<content:encoded><![CDATA[<p>The newest version of <a href="http://www.briggs.net.nz/log/writing/snake-wrangling-for-kids">Snake Wrangling for Kids</a> includes some minor corrections dotted throughout the book (thanks to commentors on the SWFK page and the Edu-Sig mailing list members, once again), as well as a basic clarification as to why floating point calculations don&#8217;t always result in the number you were quite expecting (not too detailed an explanation, of course, because that would be boring&#8230; <img src='http://www.briggs.net.nz/log/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> ).</p>
<p>The inclusion of SWFK on <a href="http://www.pythonware.com/daily/">Pythonware&#8217;s Daily Python URL</a> (thanks guys!), resulted in a sudden flurry of downloads, and some really useful feedback.</p>
<p>As usual, the download is available in zipped, PDF format.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.briggs.net.nz/log/2007/11/10/version-05/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Version 0.4</title>
		<link>http://www.briggs.net.nz/log/2007/10/28/version-04/</link>
		<comments>http://www.briggs.net.nz/log/2007/10/28/version-04/#comments</comments>
		<pubDate>Sun, 28 Oct 2007 03:50:31 +0000</pubDate>
		<dc:creator>jrbriggs</dc:creator>
		
		<category><![CDATA[swfk]]></category>

		<category><![CDATA[technical]]></category>

		<guid isPermaLink="false">http://www.briggs.net.nz/log/2007/10/28/version-04/</guid>
		<description><![CDATA[The link on the Snake Wrangling for Kids home page, now points to version 0.4.  In this update, I&#8217;ve re-ordered the chapters somewhat (as previously discussed on the Python Edu-sig mailing list), fixed a few references to code that wouldn&#8217;t work in Python2.4, included a brief discussion on while-loops, and added a long lamented [...]]]></description>
			<content:encoded><![CDATA[<p>The link on the <a href="http://www.briggs.net.nz/log/writing/snake-wrangling-for-kids/">Snake Wrangling for Kids</a> home page, now points to version 0.4.  In this update, I&#8217;ve re-ordered the chapters somewhat (as previously discussed on the Python Edu-sig mailing list), fixed a few references to code that wouldn&#8217;t work in Python2.4, included a brief discussion on while-loops, and added a long lamented (at least, by me) Table of Contents.</p>
<p>I have to say, OpenOffice.org is starting to become rather unwieldy.  Partly my fault, because of the way I wanted to layout the book, but also because it&#8217;s not obvious how to accomplish certain layout &#038; style tasks that are necessary to make a PDF look less like a unprofessional pamphlet and more like a professional piece of work.</p>
<p>Anyway, the latest version is downloadable from this <a href="http://www.briggs.net.nz/log/wp-content/uploads/2007/10/swfk-0.4.zip">link</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.briggs.net.nz/log/2007/10/28/version-04/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Name dropping&#8230;</title>
		<link>http://www.briggs.net.nz/log/2007/10/15/name-dropping/</link>
		<comments>http://www.briggs.net.nz/log/2007/10/15/name-dropping/#comments</comments>
		<pubDate>Mon, 15 Oct 2007 08:52:50 +0000</pubDate>
		<dc:creator>jrbriggs</dc:creator>
		
		<category><![CDATA[swfk]]></category>

		<guid isPermaLink="false">http://www.briggs.net.nz/log/2007/10/15/name-dropping/</guid>
		<description><![CDATA[Since I&#8217;m already naming dropping&#8230; I thought I&#8217;d also mention I received a reply from David Brin (who was the reason I started working on SWFK) a few weeks back.  I&#8217;m quoting part of it below (hopefully he doesn&#8217;t mind) because, let&#8217;s face it, it&#8217;s durn cool to get a reply from an author [...]]]></description>
			<content:encoded><![CDATA[<p>Since I&#8217;m already <a href="http://www.briggs.net.nz/log/2007/10/14/updating-chapter-order/?highlight">naming dropping</a>&#8230; I thought I&#8217;d also mention I received a reply from <a href="http://www.amazon.com/s/ref=nb_ss_gw/102-4539134-5812113?initialSearch=1&#038;url=search-alias%3Daps&#038;field-keywords=David+Brin&#038;Go.x=0&#038;Go.y=0&#038;Go=Go">David Brin</a> (who was the reason I started working on SWFK) a few weeks back.  I&#8217;m quoting part of it below (hopefully he doesn&#8217;t mind) because, let&#8217;s face it, it&#8217;s durn cool to get a reply from an author who&#8217;s one of my heroes.</p>
<blockquote><p>Thanks for your thoughtful and interesting message in regards to my Salon Article &#8220;Why Johnny Can’t Code&#8221;. </p>
<p>Alas, this one swarmed me beyond all expectations.  Who&#8217;d have thought that a little meditation on the inability of computers to compute would spark such fury!  (Far more outright rage than when the topic is religion or politics!)</p>
<p>I appreciate your efforts to create a book on scripting languages to interest kids.  At a brief glance, it looks cool.  In fact, I have added it to my standard reply&#8230;</p>
<p>&#8230;&#8230;snip&#8230;&#8230;</p>
<p>With best wishes, for a confident and ambitious 21st Century,</p>
<p>David Brin<br />
<a href="http://www.davidbrin.com">www.davidbrin.com</a></p></blockquote>
<p>Coolness!</p>
<p><small>I know.  I&#8217;m a geek.  <img src='http://www.briggs.net.nz/log/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.briggs.net.nz/log/2007/10/15/name-dropping/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Updating chapter order</title>
		<link>http://www.briggs.net.nz/log/2007/10/14/updating-chapter-order/</link>
		<comments>http://www.briggs.net.nz/log/2007/10/14/updating-chapter-order/#comments</comments>
		<pubDate>Sun, 14 Oct 2007 10:29:54 +0000</pubDate>
		<dc:creator>jrbriggs</dc:creator>
		
		<category><![CDATA[swfk]]></category>

		<guid isPermaLink="false">http://www.briggs.net.nz/log/2007/10/14/updating-chapter-order/</guid>
		<description><![CDATA[On a whim I decided to send the link for SWFK to Guido.   Not that I&#8217;m on a first name basis or anything&#8230;
Anyway, turns out that was a darn good idea, because he suggested sending the link through to the Education Special Interest Group; which resulted in a ton of downloads (well, compared [...]]]></description>
			<content:encoded><![CDATA[<p>On a whim I decided to send the link for <a href="http://www.briggs.net.nz/log/writing/snake-wrangling-for-kids/">SWFK</a> to <a href="http://http://www.python.org/~guido/">Guido</a>.   Not that I&#8217;m on a first name basis or anything&#8230;</p>
<p>Anyway, turns out that was a darn good idea, because he suggested sending the link through to the <a href="http://www.python.org/community/sigs/current/edu-sig">Education Special Interest Group</a>; which resulted in a ton of downloads (well, compared to the few I&#8217;ve already had, at least), and some really useful advice.</p>
<p>The most common theme so far seems to be &#8220;move the turtle chapter forward&#8221; &#8212; something I&#8217;d already thought briefly about, but hadn&#8217;t come to any particular conclusions.  So, I&#8217;ve decided to split the chapter on using the turtle module into two shorter chapters, and cover the basics in Chapter 5 (inserting it before the chapter on functions, modules, etc).</p>
<p>After I&#8217;ve tidied things up, I&#8217;ll update the site with the new version.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.briggs.net.nz/log/2007/10/14/updating-chapter-order/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Strike while the iron is hot&#8230;</title>
		<link>http://www.briggs.net.nz/log/2007/09/14/strike-while-the-iron-is-hot/</link>
		<comments>http://www.briggs.net.nz/log/2007/09/14/strike-while-the-iron-is-hot/#comments</comments>
		<pubDate>Fri, 14 Sep 2007 11:24:33 +0000</pubDate>
		<dc:creator>jrbriggs</dc:creator>
		
		<category><![CDATA[swfk]]></category>

		<guid isPermaLink="false">http://www.briggs.net.nz/log/2007/09/14/strike-while-the-iron-is-hot/</guid>
		<description><![CDATA[&#8230;this is patently -not- striking while the iron is hot.
Back in September last year (2006), David Brin wrote an article in Salon.com lamenting an inability to get the BASIC programming language running on a current generation Mac or PC.
That article made a lot of sense, though I disagree(d) with his essential argument against scripting languages&#8230;
BASIC [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230;this is patently -not- striking while the iron is hot.</p>
<p>Back in September last year (2006), David Brin wrote an <a href="http://www.salon.com/tech/feature/2006/09/14/basic/">article</a> in <a href="http://www.salon.com">Salon.com</a> lamenting an inability to get the BASIC programming language running on a current generation Mac or PC.</p>
<p>That article made a lot of sense, though I disagree(d) with his essential argument against scripting languages&#8230;</p>
<blockquote><p>BASIC was close enough to the algorithm that you could actually follow the reasoning of the machine as it made choices and followed logical pathways.</p></blockquote>
<p>Well, to be more precise, I disagree with ruling out scripting languages based on this premise, rather than disagreeing with the fundamentals of that specific argument.</p>
<p>However, Brin&#8217;s article resonated more because I&#8217;d already been thinking (a few weeks earlier) that there didn&#8217;t seem to be anything out there similar to the BASIC programming book I&#8217;d read as an 8 or 9 year old.  An Amazon search revealed a precious lack of any recent publications that seemed relevant.  A few beginner&#8217;s guides, programming for dummies, and some seriously out of date books about&#8230; Basic programming (and by seriously out of date, I mean circa 1980s).</p>
<p>At the time, I wondered if perhaps I could have a go at writing a Python programming book for kids, so David Brin&#8217;s implicit call-to-action was just the added incentive.  </p>
<p>It&#8217;d probably only take a couple of months&#8230;</p>
<p>This year, in January, O&#8217;Reilly Perl guru Nat Torkington <a href="http://radar.oreilly.com/archives/2007/01/why_johnny_cant.html">continued</a> the meme, and judging by the 50 comments (mine included), there&#8217;s plenty of interest in kids programming.  More fuel for the proverbial fire.  And then there&#8217;s <a href="http://scratch.mit.edu/">Scratch</a>, MIT&#8217;s (newish) programming language for kids &#8212; which seems like a fine idea, and is probably more approachable than the typical programming languages.</p>
<p>So, finally &#8212; almost a year after I originally decided it might be a good idea &#8212; I&#8217;ve completed the first draft of &#8220;Snake Wrangling for Kids - Learning to Program with Python&#8221;.  But striking while the iron is hot &#8212; this, rather obviously, isn&#8217;t.</p>
<p>Anyway, the manuscript is pretty unpolished.  It hasn&#8217;t had the advantage of a professional edit (nor has it been proofed by anyone knowledgeable enough to say, &#8220;What on earth were you thinking!?!?&#8221;).  But hopefully posting it here will result in a few comments to help me tidy it up&#8230; and perhaps someone will find it useful &#8212; at least hopefully any kids that want to try something a bit different to Scratch.</p>
<p>The main page for SWFK is <a href="http://www.briggs.net.nz/log/writing/snake-wrangling-for-kids">here</a>, where you&#8217;ll find the download for the zipped pdf.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.briggs.net.nz/log/2007/09/14/strike-while-the-iron-is-hot/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
