<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	>
<channel>
	<title>Comments on: Progress in the New Year</title>
	<atom:link href="http://blog.thecapacity.org/2008/01/18/progress-in-the-new-year/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.thecapacity.org/2008/01/18/progress-in-the-new-year/</link>
	<description></description>
	<pubDate>Sat, 22 Nov 2008 08:35:28 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7-hemorrhage</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jay</title>
		<link>http://blog.thecapacity.org/2008/01/18/progress-in-the-new-year/#comment-147</link>
		<dc:creator>jay</dc:creator>
		<pubDate>Fri, 25 Jan 2008 21:47:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.thecapacity.org/2008/01/18/progress-in-the-new-year/#comment-147</guid>
		<description>Here's a better bit of code for the last part:

&lt;blockquote&gt;
slice_1 = int(floor(num_files/3)) #1st 3rd
slice_2 = int(floor(num_files/3)*2) #2nd 3rd
print "slice 1: %s and slice_2 %s" % (slice_1, slice_2)

for f in files[: slice_1]: #slice 1
        move(f, "1")
for f in files[slice_1 : slice_2]: #slice 2
        move(f, "2")
for f in files[slice_2:]: #slice 3
        move(f, "3")
&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>Here&#8217;s a better bit of code for the last part:</p>
<blockquote><p>
slice_1 = int(floor(num_files/3)) #1st 3rd<br />
slice_2 = int(floor(num_files/3)*2) #2nd 3rd<br />
print &#8220;slice 1: %s and slice_2 %s&#8221; % (slice_1, slice_2)</p>
<p>for f in files[: slice_1]: #slice 1<br />
        move(f, &#8220;1&#8243;)<br />
for f in files[slice_1 : slice_2]: #slice 2<br />
        move(f, &#8220;2&#8243;)<br />
for f in files[slice_2:]: #slice 3<br />
        move(f, &#8220;3&#8243;)
</p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: jay</title>
		<link>http://blog.thecapacity.org/2008/01/18/progress-in-the-new-year/#comment-121</link>
		<dc:creator>jay</dc:creator>
		<pubDate>Fri, 18 Jan 2008 17:34:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.thecapacity.org/2008/01/18/progress-in-the-new-year/#comment-121</guid>
		<description>Well,
I already know I have an off by 1 bug...</description>
		<content:encoded><![CDATA[<p>Well,<br />
I already know I have an off by 1 bug&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
