<?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>The Trenches</title>
	<atom:link href="http://thetrenches.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://thetrenches.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sun, 27 Sep 2009 22:49:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='thetrenches.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>The Trenches</title>
		<link>http://thetrenches.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://thetrenches.wordpress.com/osd.xml" title="The Trenches" />
	<atom:link rel='hub' href='http://thetrenches.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Crumpled Paper</title>
		<link>http://thetrenches.wordpress.com/2008/10/04/crumpled-paper/</link>
		<comments>http://thetrenches.wordpress.com/2008/10/04/crumpled-paper/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 01:45:43 +0000</pubDate>
		<dc:creator>numbeast</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[crumpled paper]]></category>
		<category><![CDATA[paper]]></category>

		<guid isPermaLink="false">http://thetrenches.wordpress.com/?p=64</guid>
		<description><![CDATA[Let it never be said that when you crumple paper over and over again it doesn&#8217;t reach the consistency of a soft fabric. Yes, you can see through it too.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thetrenches.wordpress.com&amp;blog=2622120&amp;post=64&amp;subd=thetrenches&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Let it never be said that when you crumple paper over and over again it doesn&#8217;t reach the consistency of a soft fabric. Yes, you can see through it too.</p>

<a href='http://thetrenches.wordpress.com/2008/10/04/crumpled-paper/092808_2007001/' title='092808_2007001'><img width="128" height="96" src="http://thetrenches.files.wordpress.com/2008/10/092808_2007001.jpg?w=128&#038;h=96" class="attachment-thumbnail" alt="092808_2007001" title="092808_2007001" /></a>
<a href='http://thetrenches.wordpress.com/2008/10/04/crumpled-paper/092808_200800/' title='092808_200800'><img width="128" height="96" src="http://thetrenches.files.wordpress.com/2008/10/092808_200800.jpg?w=128&#038;h=96" class="attachment-thumbnail" alt="092808_200800" title="092808_200800" /></a>
<a href='http://thetrenches.wordpress.com/2008/10/04/crumpled-paper/092808_200701/' title='092808_200701'><img width="128" height="96" src="http://thetrenches.files.wordpress.com/2008/10/092808_200701.jpg?w=128&#038;h=96" class="attachment-thumbnail" alt="092808_200701" title="092808_200701" /></a>

<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thetrenches.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thetrenches.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thetrenches.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thetrenches.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thetrenches.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thetrenches.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thetrenches.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thetrenches.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thetrenches.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thetrenches.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thetrenches.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thetrenches.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thetrenches.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thetrenches.wordpress.com/64/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thetrenches.wordpress.com&amp;blog=2622120&amp;post=64&amp;subd=thetrenches&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thetrenches.wordpress.com/2008/10/04/crumpled-paper/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/224ffebd3b53bd0eba12416b893b8b32?s=96&#38;d=identicon" medium="image">
			<media:title type="html">numbeast</media:title>
		</media:content>
	</item>
		<item>
		<title>Project Euler, Problem 1</title>
		<link>http://thetrenches.wordpress.com/2008/10/03/project-euler-problem-1/</link>
		<comments>http://thetrenches.wordpress.com/2008/10/03/project-euler-problem-1/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 05:02:12 +0000</pubDate>
		<dc:creator>numbeast</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Project Euler]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://thetrenches.wordpress.com/?p=51</guid>
		<description><![CDATA[The first question on Project Euler is: If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 or 5 below 1000. The naive method to solve [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thetrenches.wordpress.com&amp;blog=2622120&amp;post=51&amp;subd=thetrenches&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The first question on <a href="http://projecteuler.net">Project Euler</a> is:</p>
<blockquote><p>If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.</p>
<p>Find the sum of all the multiples of 3 or 5 below 1000.</p></blockquote>
<p>The naive method to solve this problem is to go through all the numbers from 1 to 1000, and add it to a running sum if it&#8217;s divisible by 3 or 5. Here&#8217;s how to say that in python:</p>
<blockquote>
<pre>sum = 0
for x in range(1,1000):
  if x % 3 == 0 or x % 5 == 0:
    sum += x</pre>
</blockquote>
<p>Since we&#8217;re in the age of the computer, we don&#8217;t have to worry about speed issues, but let&#8217;s assume we do, when running this code substituting one million for one thousand, it takes a few seconds to reach the answer of 233333166668. There should be a faster way.</p>
<p>Let&#8217;s assume that you can figure out a way of telling what the sum of multiples of a certain number below a given number is. Then answering this problem would be as simple as writing</p>
<blockquote><p>sumofmultiples(3) + sumofmultiples(5) &#8211; sumofmultiples(15)</p></blockquote>
<p>Luckily we have such a method <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Lets say you have to add all the multiples of 3 from 1 to 100, you would end up adding 3+6+9+12+15+18+&#8230;+99 this is the same as adding up 3*(1+2+3+4+5+&#8230;+33). If you&#8217;ve taken a math course you know that 1+2+3+&#8230;+x is equal to x*(x+1)/2 . This allows us to rewrite our code as:</p>
<blockquote>
<pre>def sumofmultiples(x, max):
  n = (max -1) /x
  return n*(n+1)*x /2
sumofmultiples(3,1000) + sumofmultiples(5,1000) - sumofmultiples(15,1000)</pre>
</blockquote>
<p>Which runs at a pretty speed for many values of x.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thetrenches.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thetrenches.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thetrenches.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thetrenches.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thetrenches.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thetrenches.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thetrenches.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thetrenches.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thetrenches.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thetrenches.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thetrenches.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thetrenches.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thetrenches.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thetrenches.wordpress.com/51/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thetrenches.wordpress.com&amp;blog=2622120&amp;post=51&amp;subd=thetrenches&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thetrenches.wordpress.com/2008/10/03/project-euler-problem-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/224ffebd3b53bd0eba12416b893b8b32?s=96&#38;d=identicon" medium="image">
			<media:title type="html">numbeast</media:title>
		</media:content>
	</item>
		<item>
		<title>Python Web Server</title>
		<link>http://thetrenches.wordpress.com/2008/10/02/python-web-server/</link>
		<comments>http://thetrenches.wordpress.com/2008/10/02/python-web-server/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 05:56:17 +0000</pubDate>
		<dc:creator>numbeast</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[droopy]]></category>
		<category><![CDATA[javascipt]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://thetrenches.wordpress.com/?p=48</guid>
		<description><![CDATA[There was an article on Slashdot recently featuring droopy, a python web server. Droopy&#8217;s sole purpose is &#8220;to let others upload files to your computer.&#8221; Droopy is inspiring because it contains a zero-configuration web server, with only ~300 lines of code. Python rules. Instead of simply using droopy for transferring files, I&#8217;ve taken this as [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thetrenches.wordpress.com&amp;blog=2622120&amp;post=48&amp;subd=thetrenches&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There was an article on Slashdot recently featuring <a href="http://stackp.online.fr/?p=28">droopy</a>, a python web server. Droopy&#8217;s sole purpose is &#8220;to let others upload files to your computer.&#8221; Droopy is inspiring because it contains a zero-configuration web server, with only ~300 lines of code. Python rules.</p>
<p>Instead of simply using droopy for transferring files, I&#8217;ve taken this as an opportunity to learn more, and I&#8217;m slowly modifing droopy to act as a general purpose web server. At the moment it serves up a webpage with a random picture, that refreshes with Ajax at the click of a link. Not impressive, but not bad for the first time I&#8217;ve touched either python or javascipt.</p>
<p>My future plans are to first make the system more easily extensible, by pulling out scripts and css styles into their own files. Afterwards I&#8217;m going to make a simple picture sharing/rating site. You upload your picture with an optional caption, and others thumbs up or thumbs down your picture.</p>
<p>You can find the current version of the server running at <a href="http://brian.chickenkiller.com">brian.chickenkiller.com</a> and you can get the modified droopy source <a href="http://www.4shared.com/file/65323413/ac57e252/droopy.html">here</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thetrenches.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thetrenches.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thetrenches.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thetrenches.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thetrenches.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thetrenches.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thetrenches.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thetrenches.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thetrenches.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thetrenches.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thetrenches.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thetrenches.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thetrenches.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thetrenches.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thetrenches.wordpress.com&amp;blog=2622120&amp;post=48&amp;subd=thetrenches&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thetrenches.wordpress.com/2008/10/02/python-web-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/224ffebd3b53bd0eba12416b893b8b32?s=96&#38;d=identicon" medium="image">
			<media:title type="html">numbeast</media:title>
		</media:content>
	</item>
		<item>
		<title>Idea #1 FB email</title>
		<link>http://thetrenches.wordpress.com/2008/09/29/idea-1-fb-email/</link>
		<comments>http://thetrenches.wordpress.com/2008/09/29/idea-1-fb-email/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 02:23:29 +0000</pubDate>
		<dc:creator>numbeast</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://thetrenches.wordpress.com/?p=41</guid>
		<description><![CDATA[Right now using facebook messaging is horrible. You have to refresh the page to look for new messages, you can&#8217;t archive anything, there&#8217;s no desktop app (that I know of), you can&#8217;t invite people to a conversation, you can&#8217;t forward things, you can&#8217;t send an email to someone not on facebook. There&#8217;s a lot of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thetrenches.wordpress.com&amp;blog=2622120&amp;post=41&amp;subd=thetrenches&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Right now using facebook messaging is horrible. You have to refresh the page to look for new messages, you can&#8217;t archive anything, there&#8217;s no desktop app (that I know of), you can&#8217;t invite people to a conversation, you can&#8217;t forward things, you can&#8217;t send an email to someone not on facebook. There&#8217;s a lot of stuff missing.</p>
<p>There should be some kind of app that when you go to your inbox instead of seeing the old messaging center you see this new one. Your messages can be sorted, tagged, shared, forwarded, etc. New messages are added live so you don&#8217;t have to refresh, and the whole thing just looks nice and feels clean. I don&#8217;t know how easy it is to integrate this closly to facebook, but something along these lines has to be possible.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thetrenches.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thetrenches.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thetrenches.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thetrenches.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thetrenches.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thetrenches.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thetrenches.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thetrenches.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thetrenches.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thetrenches.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thetrenches.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thetrenches.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thetrenches.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thetrenches.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thetrenches.wordpress.com&amp;blog=2622120&amp;post=41&amp;subd=thetrenches&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thetrenches.wordpress.com/2008/09/29/idea-1-fb-email/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/224ffebd3b53bd0eba12416b893b8b32?s=96&#38;d=identicon" medium="image">
			<media:title type="html">numbeast</media:title>
		</media:content>
	</item>
		<item>
		<title>Python Script</title>
		<link>http://thetrenches.wordpress.com/2008/09/12/python-script/</link>
		<comments>http://thetrenches.wordpress.com/2008/09/12/python-script/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 01:47:29 +0000</pubDate>
		<dc:creator>numbeast</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[irc]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[xchat]]></category>

		<guid isPermaLink="false">http://thetrenches.wordpress.com/?p=27</guid>
		<description><![CDATA[I recently wrote my very first python script, not only did it do something (arguably) useful I was able to do it within 5 minutes. This is a huge credit to the language, and I&#8217;ll definitely try to learn more now that I know how easy it is. Here&#8217;s the script: __module_name__ = "autoactions" __module_version__ [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thetrenches.wordpress.com&amp;blog=2622120&amp;post=27&amp;subd=thetrenches&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:left;">I recently wrote my very first python script, not only did it do something (arguably) useful I was able to do it within 5 minutes. This is a huge credit to the language, and I&#8217;ll definitely try to learn more now that I know how easy it is. Here&#8217;s the script:</p>
<blockquote>
<pre>__module_name__ = "autoactions"
__module_version__ = "1.0"
__module_description__ = "Kicks everyone when given op"

import xchat

def cm_mt(word, word_eol, userdata):
     if xchat.nickcmp(word[1], xchat.get_info('nick')) != 0:
          return xchat.EAT_NONE
     list = xchat.get_list("users")
     for i in list:
          his_nick = i.nick
          channel = xchat.get_info('channel')
          reason = "Someone made a mistake."
          if xchat.nickcmp(his_nick, word[1]) != 0:
               xchat.command("raw kick "+channel+" "+his_nick+" :"+reason)
     return xchat.EAT_NONE

xchat.hook_print("Channel Operator", cm_mt)
</pre>
</blockquote>
<p>This script does what it says, the instant I&#8217;m given operator status on any irc channel, I automatically kick everyone else from that channel.</p>
<p>The thing I love here is that with a single import statement, I changed the language. Python started as a blank canvas and all I did was say, hey xchat is out there. And immediately I could call methods on xchat such as &#8221; xchat.hook_print(&#8220;Channel Operator&#8221;, cm_mt) &#8220;.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/thetrenches.wordpress.com/27/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/thetrenches.wordpress.com/27/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thetrenches.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thetrenches.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thetrenches.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thetrenches.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thetrenches.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thetrenches.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thetrenches.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thetrenches.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thetrenches.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thetrenches.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thetrenches.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thetrenches.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thetrenches.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thetrenches.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thetrenches.wordpress.com&amp;blog=2622120&amp;post=27&amp;subd=thetrenches&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thetrenches.wordpress.com/2008/09/12/python-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/224ffebd3b53bd0eba12416b893b8b32?s=96&#38;d=identicon" medium="image">
			<media:title type="html">numbeast</media:title>
		</media:content>
	</item>
		<item>
		<title>Bilmemek ay&#305;p de&#287;il, sorup &#xF6;&#287;renmemek ay&#305;p.</title>
		<link>http://thetrenches.wordpress.com/2008/07/02/bilmemek-ayp-deil-sorup-renmemek-ayp/</link>
		<comments>http://thetrenches.wordpress.com/2008/07/02/bilmemek-ayp-deil-sorup-renmemek-ayp/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 03:33:40 +0000</pubDate>
		<dc:creator>numbeast</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://thetrenches.wordpress.com/?p=18</guid>
		<description><![CDATA[There&#8217;s a Turkish proverb that says: &#8220;Not knowing isn&#8217;t a disgrace. Not asking or learning is the disgrace.&#8221; The way Turks discribe it&#8217;s meaning is: &#8220;Nobody can know everything. But we have to work on learning by asking about the things we don&#8217;t know and listening to others. You should make a habit of learning, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thetrenches.wordpress.com&amp;blog=2622120&amp;post=18&amp;subd=thetrenches&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a Turkish proverb that says: &#8220;Not knowing isn&#8217;t a disgrace. Not asking or learning is the disgrace.&#8221; The way Turks discribe it&#8217;s meaning is:</p>
<blockquote><p><em>&#8220;Nobody can know everything. But we have to work on learning by asking about the things we don&#8217;t know and listening to others. You should make a habit of learning, and of asking others about things you can&#8217;t easily know. Attempting to do something before learning about it can be dangerous.&#8221; &#8211; Açıklamalı Atasözleri Sözlüğü 1992</em></p></blockquote>
<p>The message is, keep your mind open to new ideas. And that we know you can&#8217;t know everything, so we won&#8217;t think you&#8217;re an idiot when you stop and ask for directions.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/thetrenches.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/thetrenches.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thetrenches.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thetrenches.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thetrenches.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thetrenches.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thetrenches.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thetrenches.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thetrenches.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thetrenches.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thetrenches.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thetrenches.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thetrenches.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thetrenches.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thetrenches.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thetrenches.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thetrenches.wordpress.com&amp;blog=2622120&amp;post=18&amp;subd=thetrenches&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thetrenches.wordpress.com/2008/07/02/bilmemek-ayp-deil-sorup-renmemek-ayp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/224ffebd3b53bd0eba12416b893b8b32?s=96&#38;d=identicon" medium="image">
			<media:title type="html">numbeast</media:title>
		</media:content>
	</item>
		<item>
		<title>Interactive Teaching part 2</title>
		<link>http://thetrenches.wordpress.com/2008/04/26/interactive-teaching-part-2/</link>
		<comments>http://thetrenches.wordpress.com/2008/04/26/interactive-teaching-part-2/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 19:17:35 +0000</pubDate>
		<dc:creator>numbeast</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://thetrenches.wordpress.com/?p=12</guid>
		<description><![CDATA[Earlier I presented an entry for Infomatrix. Here&#8217;s how the first version turned out. This is the entry point of the application. It&#8217;s as self-explanatory as I could make it. You have decks of flashcards full of stuff to learn. You can edit a deck or learn from it. If you click &#8220;review cards&#8221; this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thetrenches.wordpress.com&amp;blog=2622120&amp;post=12&amp;subd=thetrenches&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Earlier I presented an entry for Infomatrix. Here&#8217;s how the first version turned out.</p>
<p><a href="http://thetrenches.files.wordpress.com/2008/04/flashcardssplash.png"><img class="alignnone size-medium wp-image-11" src="http://thetrenches.files.wordpress.com/2008/04/flashcardssplash.png?w=251&#038;h=59" alt="Entry Point" width="251" height="59" /></a></p>
<p>This is the entry point of the application. It&#8217;s as self-explanatory as I could make it. You have decks of flashcards full of stuff to learn. You can edit a deck or learn from it.</p>
<p><a href="http://thetrenches.files.wordpress.com/2008/04/flashcardsviewer.png"><img class="alignnone size-medium wp-image-13" src="http://thetrenches.files.wordpress.com/2008/04/flashcardsviewer.png?w=300&#038;h=112" alt="Viewer" width="300" height="112" /></a></p>
<p>If you click &#8220;review cards&#8221; this is what you get. (Ignore the v0.2, it&#8217;s 1.0) It shows you the first flashcards in the deck (well, it shows you a random card from one of the first 3 in the deck).</p>
<p><a href="http://thetrenches.files.wordpress.com/2008/04/flashcardsviewer2.png"><img class="alignnone size-medium wp-image-14" src="http://thetrenches.files.wordpress.com/2008/04/flashcardsviewer2.png?w=300&#038;h=112" alt="Flash Card Viewer" width="300" height="112" /></a></p>
<p>Once you push the &#8220;next button&#8221; you are instantly asked for the flashcards answer. This is meant to provide reinforcement of the card. If the card is answered incorrectly the answer is shown again, this loop continues until the card is answered correctly. When answered correctly the this card is put in an archive and a timer is set, once the timer expires the card is put in a queue of expired cards. The viewer looks for the next card to display by first looking in the queue of expired cards and then looking in the flashcard deck file.</p>
<p>The integral part of the program is that the timer on each card becomes longer and longer as the card is correctly answered. This provides the interactive reinforcement as described in the first post.</p>
<p><a href="http://thetrenches.files.wordpress.com/2008/04/flashcardeditor.png"><img class="alignnone size-medium wp-image-10" src="http://thetrenches.files.wordpress.com/2008/04/flashcardeditor.png?w=225&#038;h=300" alt="Editing Flashcards" width="225" height="300" /></a></p>
<p>Here is the window that is displayed if the user chooses &#8220;Edit cards&#8221; from the main screen. Again I&#8217;ve tried to make it as easy to use as possible.</p>
<p><a href="http://thetrenches.files.wordpress.com/2008/04/flashcardeditorscroll.png"><img class="alignnone size-medium wp-image-17" src="http://thetrenches.files.wordpress.com/2008/04/flashcardeditorscroll.png?w=300&#038;h=215" alt="" width="300" height="215" /></a></p>
<p>When you select a card this editing box appears. To delete a card push the &#8220;x&#8221; button. To add a card click the &#8220;Click to add new card field&#8221;. It&#8217;s self-explanatory.</p>
<p>On a different note, Infomatrix accepted it. I&#8217;ll be traveling to Romania soon to present a newer version of this program with an updated UI and more features.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/thetrenches.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/thetrenches.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thetrenches.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thetrenches.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thetrenches.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thetrenches.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thetrenches.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thetrenches.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thetrenches.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thetrenches.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thetrenches.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thetrenches.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thetrenches.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thetrenches.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thetrenches.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thetrenches.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thetrenches.wordpress.com&amp;blog=2622120&amp;post=12&amp;subd=thetrenches&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thetrenches.wordpress.com/2008/04/26/interactive-teaching-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/224ffebd3b53bd0eba12416b893b8b32?s=96&#38;d=identicon" medium="image">
			<media:title type="html">numbeast</media:title>
		</media:content>

		<media:content url="http://thetrenches.files.wordpress.com/2008/04/flashcardssplash.png?w=251" medium="image">
			<media:title type="html">Entry Point</media:title>
		</media:content>

		<media:content url="http://thetrenches.files.wordpress.com/2008/04/flashcardsviewer.png?w=300" medium="image">
			<media:title type="html">Viewer</media:title>
		</media:content>

		<media:content url="http://thetrenches.files.wordpress.com/2008/04/flashcardsviewer2.png?w=300" medium="image">
			<media:title type="html">Flash Card Viewer</media:title>
		</media:content>

		<media:content url="http://thetrenches.files.wordpress.com/2008/04/flashcardeditor.png?w=225" medium="image">
			<media:title type="html">Editing Flashcards</media:title>
		</media:content>

		<media:content url="http://thetrenches.files.wordpress.com/2008/04/flashcardeditorscroll.png?w=300" medium="image" />
	</item>
		<item>
		<title>Interactive Teaching</title>
		<link>http://thetrenches.wordpress.com/2008/02/21/interactive-teaching/</link>
		<comments>http://thetrenches.wordpress.com/2008/02/21/interactive-teaching/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 22:47:56 +0000</pubDate>
		<dc:creator>numbeast</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://thetrenches.wordpress.com/2008/02/21/interactive-teaching/</guid>
		<description><![CDATA[This was written as a project description for a competition called &#8220;Infomatrix&#8221;, hopefully I&#8217;ll actually implement it Humans learn through repetition. The more you are exposed to something, the more likely you are to remember it, and the longer you&#8217;ll be able to remember it. Among the most effective methods of learning through repetition are [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thetrenches.wordpress.com&amp;blog=2622120&amp;post=7&amp;subd=thetrenches&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This was written as a project description for a competition called &#8220;Infomatrix&#8221;, hopefully I&#8217;ll actually implement it <img src='http://s1.wp.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Humans learn through repetition. The more you are exposed to something, the more likely you are to remember it, and the longer you&#8217;ll be able to remember it. Among the most effective methods of learning through repetition are flashcards. Traditionally, this is accomplished with little pieces of paper 3&#8243;x5&#8243; that have correlating facts written on each side of them.</p>
<p>As computers take a bigger role in education, programs are emerging to emulate flashcards electronically. These programs typically follow the standard model of showing a card to the user, flipping it over, and repeating until all the cards have been shown. Computers can do better.</p>
<p>The goal of this project, &#8220;Adaptive teaching systems&#8221;, is to create a program that enhances learning by flashcards, instead of replicating it. Users are not just shown a flashcard and asked if they correctly answered it, they are expected to provide an answer. Information is given to the user and immediately asked of them, making sure it was learned. Immediate recall isn&#8217;t enough for proper retention though, so it is followed up with a spaced repetition system; As flashcards are answered correctly more and more, they are asked less and less frequently. This allows the user to learn in an effective manner.</p>
<p>The advantage of this system over traditional methods is that it adapts to the user. If the user quickly learns a card, it will be sent to an archive and infrequently reviewed. If the user has trouble with a particular card, it will remain in a buffer, and continually shown, until correctly answered. This allows the User to spend more of their time learning new material, as opposed to reviewing old material.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/thetrenches.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/thetrenches.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thetrenches.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thetrenches.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thetrenches.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thetrenches.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thetrenches.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thetrenches.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thetrenches.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thetrenches.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thetrenches.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thetrenches.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thetrenches.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thetrenches.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thetrenches.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thetrenches.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thetrenches.wordpress.com&amp;blog=2622120&amp;post=7&amp;subd=thetrenches&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thetrenches.wordpress.com/2008/02/21/interactive-teaching/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/224ffebd3b53bd0eba12416b893b8b32?s=96&#38;d=identicon" medium="image">
			<media:title type="html">numbeast</media:title>
		</media:content>
	</item>
	</channel>
</rss>
