<?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>ssssssssssscripting !!!</title>
	<atom:link href="http://ssscripting.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ssscripting.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Fri, 27 Jan 2012 13:02:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ssscripting.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>ssssssssssscripting !!!</title>
		<link>http://ssscripting.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ssscripting.wordpress.com/osd.xml" title="ssssssssssscripting !!!" />
	<atom:link rel='hub' href='http://ssscripting.wordpress.com/?pushpress=hub'/>
		<item>
		<title>some treetop debug tips</title>
		<link>http://ssscripting.wordpress.com/2012/01/27/some-treetop-debug-tips/</link>
		<comments>http://ssscripting.wordpress.com/2012/01/27/some-treetop-debug-tips/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 13:00:49 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://ssscripting.wordpress.com/?p=1528</guid>
		<description><![CDATA[Treetop seems pretty nice, but information on it&#8217;s usage is kind of scattered all over internet . Here are a few tips that I used to debug grammars: You can try a specific rule by writing this: tree = parser.parse(content,:root =&#62; "rule_name") I usually have my code structured like this, to get some info about [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ssscripting.wordpress.com&amp;blog=6544459&amp;post=1528&amp;subd=ssscripting&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><font size="3"><br />
<a href="http://treetop.rubyforge.org/">Treetop</a> seems pretty nice, but information on it&#8217;s usage is kind of scattered all over internet <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Here are a few tips that I used to debug grammars:</p>
<ol>
<li>You can try a specific rule by writing this:<br />
<code><br />
tree = parser.parse(content,:root =&gt; "rule_name")<br />
</code></li>
<li>I usually have my code structured like this, to get some info about where the parser chokes:
<pre><code>
if tree
    puts "succesful"
else
    puts "unsuccesful at #{parser.index}"
    puts parser.failure_reason
end
</code></pre>
</li>
</ol>
<p>Hope this helps you as much as it helped me.</p>
<p></font></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ssscripting.wordpress.com/1528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ssscripting.wordpress.com/1528/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ssscripting.wordpress.com/1528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ssscripting.wordpress.com/1528/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ssscripting.wordpress.com/1528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ssscripting.wordpress.com/1528/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ssscripting.wordpress.com/1528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ssscripting.wordpress.com/1528/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ssscripting.wordpress.com/1528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ssscripting.wordpress.com/1528/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ssscripting.wordpress.com/1528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ssscripting.wordpress.com/1528/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ssscripting.wordpress.com/1528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ssscripting.wordpress.com/1528/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ssscripting.wordpress.com&amp;blog=6544459&amp;post=1528&amp;subd=ssscripting&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ssscripting.wordpress.com/2012/01/27/some-treetop-debug-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ce521842cff87983fa0ab297b1d9317b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">geo</media:title>
		</media:content>
	</item>
		<item>
		<title>unknown encoding: cp0</title>
		<link>http://ssscripting.wordpress.com/2012/01/23/unknown-encoding-cp0/</link>
		<comments>http://ssscripting.wordpress.com/2012/01/23/unknown-encoding-cp0/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 12:18:52 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[django]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://ssscripting.wordpress.com/?p=1526</guid>
		<description><![CDATA[If you receive this when deploying django on apache, it&#8217;s because you have something like: print "Something %s" % value The fix is to change it to: print "Something %s" % str(value)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ssscripting.wordpress.com&amp;blog=6544459&amp;post=1526&amp;subd=ssscripting&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><font size="3"><br />
If you receive this when deploying django on apache, it&#8217;s because you have something like:</p>
<pre><code>
print "Something %s" % value
</code></pre>
<p>The fix is to change it to:</p>
<pre><code>
print "Something %s" % str(value)
</code></pre>
<p></font></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ssscripting.wordpress.com/1526/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ssscripting.wordpress.com/1526/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ssscripting.wordpress.com/1526/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ssscripting.wordpress.com/1526/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ssscripting.wordpress.com/1526/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ssscripting.wordpress.com/1526/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ssscripting.wordpress.com/1526/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ssscripting.wordpress.com/1526/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ssscripting.wordpress.com/1526/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ssscripting.wordpress.com/1526/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ssscripting.wordpress.com/1526/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ssscripting.wordpress.com/1526/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ssscripting.wordpress.com/1526/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ssscripting.wordpress.com/1526/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ssscripting.wordpress.com&amp;blog=6544459&amp;post=1526&amp;subd=ssscripting&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ssscripting.wordpress.com/2012/01/23/unknown-encoding-cp0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ce521842cff87983fa0ab297b1d9317b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">geo</media:title>
		</media:content>
	</item>
		<item>
		<title>easy xml parsing in c#</title>
		<link>http://ssscripting.wordpress.com/2012/01/17/easy-xml-parsing-in-c/</link>
		<comments>http://ssscripting.wordpress.com/2012/01/17/easy-xml-parsing-in-c/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 13:19:35 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://ssscripting.wordpress.com/?p=1522</guid>
		<description><![CDATA[Just a simple usage example: using System.Xml; ... XmlDocument doc = new XmlDocument(); // loading a file doc.Load("file.xml"); // searching for multiple nodes via XPath; this will select all elements wherever they may be XmlNodeList books = doc.SelectNodes("//books"); foreach(XmlNode node in books) { // getting attributes; assuming &#60;book Author="Whatever"&#62; XmlAttribute author = node.Attributes["Author"]; string value [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ssscripting.wordpress.com&amp;blog=6544459&amp;post=1522&amp;subd=ssscripting&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><font size="3"></p>
<p>Just a simple usage example:</p>
<pre><code>
using System.Xml;
...
XmlDocument doc = new XmlDocument();
// loading a file
doc.Load("file.xml");

// searching for multiple nodes via XPath; this will select all  elements wherever they may be
XmlNodeList books = doc.SelectNodes("//books");

foreach(XmlNode node in books)
{
   // getting attributes; assuming &lt;book Author="Whatever"&gt;
   XmlAttribute author = node.Attributes["Author"];
   string value = author.Value;
}

</code></pre>
<p></font></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ssscripting.wordpress.com/1522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ssscripting.wordpress.com/1522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ssscripting.wordpress.com/1522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ssscripting.wordpress.com/1522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ssscripting.wordpress.com/1522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ssscripting.wordpress.com/1522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ssscripting.wordpress.com/1522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ssscripting.wordpress.com/1522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ssscripting.wordpress.com/1522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ssscripting.wordpress.com/1522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ssscripting.wordpress.com/1522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ssscripting.wordpress.com/1522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ssscripting.wordpress.com/1522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ssscripting.wordpress.com/1522/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ssscripting.wordpress.com&amp;blog=6544459&amp;post=1522&amp;subd=ssscripting&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ssscripting.wordpress.com/2012/01/17/easy-xml-parsing-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ce521842cff87983fa0ab297b1d9317b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">geo</media:title>
		</media:content>
	</item>
		<item>
		<title>current fitness plan</title>
		<link>http://ssscripting.wordpress.com/2012/01/16/current-fitness-plan/</link>
		<comments>http://ssscripting.wordpress.com/2012/01/16/current-fitness-plan/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 18:48:23 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[training]]></category>

		<guid isPermaLink="false">http://ssscripting.wordpress.com/?p=1519</guid>
		<description><![CDATA[Monday: complexes ( as shown in T-Nation&#8217;s screw cardio article ) Tuesday: stationary bike cardio Wednesday: running Thursday: pyramid training Friday:complexes again Saturday: stationary bike cardio<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ssscripting.wordpress.com&amp;blog=6544459&amp;post=1519&amp;subd=ssscripting&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><font size="3"><br />
Monday: complexes ( as shown in T-Nation&#8217;s <a href="http://www.t-nation.com/free_online_article/sports_body_training_performance/screw_cardio_four_complexes_for_a_shredded_physique" title="Screw Cardio">screw cardio article</a> )<br />
Tuesday: stationary bike cardio<br />
Wednesday: running<br />
Thursday: pyramid training<br />
Friday:complexes again<br />
Saturday: stationary bike cardio</p>
<p></font></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ssscripting.wordpress.com/1519/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ssscripting.wordpress.com/1519/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ssscripting.wordpress.com/1519/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ssscripting.wordpress.com/1519/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ssscripting.wordpress.com/1519/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ssscripting.wordpress.com/1519/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ssscripting.wordpress.com/1519/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ssscripting.wordpress.com/1519/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ssscripting.wordpress.com/1519/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ssscripting.wordpress.com/1519/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ssscripting.wordpress.com/1519/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ssscripting.wordpress.com/1519/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ssscripting.wordpress.com/1519/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ssscripting.wordpress.com/1519/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ssscripting.wordpress.com&amp;blog=6544459&amp;post=1519&amp;subd=ssscripting&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ssscripting.wordpress.com/2012/01/16/current-fitness-plan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ce521842cff87983fa0ab297b1d9317b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">geo</media:title>
		</media:content>
	</item>
		<item>
		<title>django create superuser automatically on syncdb</title>
		<link>http://ssscripting.wordpress.com/2011/11/28/django-create-superuser-automatically-on-syncdb/</link>
		<comments>http://ssscripting.wordpress.com/2011/11/28/django-create-superuser-automatically-on-syncdb/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 08:45:12 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[django]]></category>

		<guid isPermaLink="false">http://ssscripting.wordpress.com/?p=1516</guid>
		<description><![CDATA[Found the following information here. Here&#8217;s how you can automatically create a superuser when syncing your db: python manage.py dumpdata auth &#62; initial_data.json python manage.py syncdb Make sure to modify the initial.json file, if you want to change the name/mail of the superuser.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ssscripting.wordpress.com&amp;blog=6544459&amp;post=1516&amp;subd=ssscripting&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><font size="3"><br />
Found the following information <a href="http://www.arthurkoziel.com/2008/09/04/automatical-superuser-creation-django/">here</a>. Here&#8217;s how you can automatically create a superuser when syncing your db:</p>
<pre><code>
python manage.py dumpdata auth &gt; initial_data.json
python manage.py syncdb
</code></pre>
<p>Make sure to modify the initial.json file, if you want to change the name/mail of the superuser.</p>
<p></font></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ssscripting.wordpress.com/1516/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ssscripting.wordpress.com/1516/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ssscripting.wordpress.com/1516/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ssscripting.wordpress.com/1516/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ssscripting.wordpress.com/1516/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ssscripting.wordpress.com/1516/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ssscripting.wordpress.com/1516/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ssscripting.wordpress.com/1516/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ssscripting.wordpress.com/1516/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ssscripting.wordpress.com/1516/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ssscripting.wordpress.com/1516/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ssscripting.wordpress.com/1516/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ssscripting.wordpress.com/1516/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ssscripting.wordpress.com/1516/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ssscripting.wordpress.com&amp;blog=6544459&amp;post=1516&amp;subd=ssscripting&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ssscripting.wordpress.com/2011/11/28/django-create-superuser-automatically-on-syncdb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ce521842cff87983fa0ab297b1d9317b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">geo</media:title>
		</media:content>
	</item>
		<item>
		<title>data URI scheme</title>
		<link>http://ssscripting.wordpress.com/2011/11/24/data-uri-scheme/</link>
		<comments>http://ssscripting.wordpress.com/2011/11/24/data-uri-scheme/#comments</comments>
		<pubDate>Thu, 24 Nov 2011 11:07:30 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://ssscripting.wordpress.com/?p=1514</guid>
		<description><![CDATA[This ( Data URI scheme ) is very helpful for serving images without storing them on server side.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ssscripting.wordpress.com&amp;blog=6544459&amp;post=1514&amp;subd=ssscripting&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><font size="3"><br />
<a href="http://en.wikipedia.org/wiki/Data_URI_scheme">This</a> ( Data URI scheme ) is very helpful for serving images without storing them on server side.<br />
</font></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ssscripting.wordpress.com/1514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ssscripting.wordpress.com/1514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ssscripting.wordpress.com/1514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ssscripting.wordpress.com/1514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ssscripting.wordpress.com/1514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ssscripting.wordpress.com/1514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ssscripting.wordpress.com/1514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ssscripting.wordpress.com/1514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ssscripting.wordpress.com/1514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ssscripting.wordpress.com/1514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ssscripting.wordpress.com/1514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ssscripting.wordpress.com/1514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ssscripting.wordpress.com/1514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ssscripting.wordpress.com/1514/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ssscripting.wordpress.com&amp;blog=6544459&amp;post=1514&amp;subd=ssscripting&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ssscripting.wordpress.com/2011/11/24/data-uri-scheme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ce521842cff87983fa0ab297b1d9317b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">geo</media:title>
		</media:content>
	</item>
		<item>
		<title>always specify fields for django&#8217;s ModelForm as a tuple</title>
		<link>http://ssscripting.wordpress.com/2011/11/21/always-specify-fields-for-djangos-modelform-as-a-tuple/</link>
		<comments>http://ssscripting.wordpress.com/2011/11/21/always-specify-fields-for-djangos-modelform-as-a-tuple/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 11:17:23 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[django]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://ssscripting.wordpress.com/?p=1512</guid>
		<description><![CDATA[So, I had a model that had a FileField called path, for which I wanted a ModelForm. Do not do this: class MyModelForm(ModelForm): class Meta: model = MyModel fields= ("path") It led to a strange error, saying django.core.exceptions.FieldError: Unknown field(s) (a, p, t, h). Of course, the fix was to specify the fields like: class [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ssscripting.wordpress.com&amp;blog=6544459&amp;post=1512&amp;subd=ssscripting&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><font size="3"><br />
So, I had a model that had a FileField called path, for which I wanted a ModelForm. Do not do this:</p>
<pre><code>
class MyModelForm(ModelForm):
   class Meta:
      model = MyModel
      fields= ("path")
</code></pre>
<p>It led to a strange error, saying <strong>django.core.exceptions.FieldError: Unknown field(s) (a, p, t, h)</strong>. Of course, the fix was to specify the fields like:</p>
<pre><code>
class MyModelForm(ModelForm):
   class Meta:
      model = MyModel
      fields= ("path",)
</code></pre>
<p></font></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ssscripting.wordpress.com/1512/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ssscripting.wordpress.com/1512/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ssscripting.wordpress.com/1512/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ssscripting.wordpress.com/1512/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ssscripting.wordpress.com/1512/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ssscripting.wordpress.com/1512/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ssscripting.wordpress.com/1512/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ssscripting.wordpress.com/1512/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ssscripting.wordpress.com/1512/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ssscripting.wordpress.com/1512/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ssscripting.wordpress.com/1512/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ssscripting.wordpress.com/1512/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ssscripting.wordpress.com/1512/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ssscripting.wordpress.com/1512/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ssscripting.wordpress.com&amp;blog=6544459&amp;post=1512&amp;subd=ssscripting&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ssscripting.wordpress.com/2011/11/21/always-specify-fields-for-djangos-modelform-as-a-tuple/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ce521842cff87983fa0ab297b1d9317b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">geo</media:title>
		</media:content>
	</item>
		<item>
		<title>django FileField and random names</title>
		<link>http://ssscripting.wordpress.com/2011/11/21/django-filefield-and-random-names/</link>
		<comments>http://ssscripting.wordpress.com/2011/11/21/django-filefield-and-random-names/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 08:53:38 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[django]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://ssscripting.wordpress.com/?p=1510</guid>
		<description><![CDATA[To ensure that an uploaded file will have a random name, use a custom storage object, like described here.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ssscripting.wordpress.com&amp;blog=6544459&amp;post=1510&amp;subd=ssscripting&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><font size="3"><br />
To ensure that an uploaded file will have a random name, use a custom storage object, like described <a href="http://jazstudios.blogspot.com/2010/11/django-random-imagefile-field-name.html">here</a>.<br />
</font></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ssscripting.wordpress.com/1510/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ssscripting.wordpress.com/1510/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ssscripting.wordpress.com/1510/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ssscripting.wordpress.com/1510/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ssscripting.wordpress.com/1510/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ssscripting.wordpress.com/1510/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ssscripting.wordpress.com/1510/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ssscripting.wordpress.com/1510/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ssscripting.wordpress.com/1510/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ssscripting.wordpress.com/1510/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ssscripting.wordpress.com/1510/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ssscripting.wordpress.com/1510/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ssscripting.wordpress.com/1510/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ssscripting.wordpress.com/1510/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ssscripting.wordpress.com&amp;blog=6544459&amp;post=1510&amp;subd=ssscripting&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ssscripting.wordpress.com/2011/11/21/django-filefield-and-random-names/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ce521842cff87983fa0ab297b1d9317b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">geo</media:title>
		</media:content>
	</item>
		<item>
		<title>training 17.11.2011</title>
		<link>http://ssscripting.wordpress.com/2011/11/18/training-17-11-2011/</link>
		<comments>http://ssscripting.wordpress.com/2011/11/18/training-17-11-2011/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 22:49:38 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[training]]></category>

		<guid isPermaLink="false">http://ssscripting.wordpress.com/?p=1507</guid>
		<description><![CDATA[Bench Press:5x5x60kg Low Row:5x5x60kg Knee extension:5x5x30kg Adductor:5x10x25kg<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ssscripting.wordpress.com&amp;blog=6544459&amp;post=1507&amp;subd=ssscripting&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><font size="3"><br />
Bench Press:5x5x60kg<br />
Low Row:5x5x60kg<br />
Knee extension:5x5x30kg<br />
Adductor:5x10x25kg<br />
</font></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ssscripting.wordpress.com/1507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ssscripting.wordpress.com/1507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ssscripting.wordpress.com/1507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ssscripting.wordpress.com/1507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ssscripting.wordpress.com/1507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ssscripting.wordpress.com/1507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ssscripting.wordpress.com/1507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ssscripting.wordpress.com/1507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ssscripting.wordpress.com/1507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ssscripting.wordpress.com/1507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ssscripting.wordpress.com/1507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ssscripting.wordpress.com/1507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ssscripting.wordpress.com/1507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ssscripting.wordpress.com/1507/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ssscripting.wordpress.com&amp;blog=6544459&amp;post=1507&amp;subd=ssscripting&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ssscripting.wordpress.com/2011/11/18/training-17-11-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ce521842cff87983fa0ab297b1d9317b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">geo</media:title>
		</media:content>
	</item>
		<item>
		<title>watir and no such file to load &#8212; ffi_c</title>
		<link>http://ssscripting.wordpress.com/2011/11/18/watir-and-no-such-file-to-load-ffi_c/</link>
		<comments>http://ssscripting.wordpress.com/2011/11/18/watir-and-no-such-file-to-load-ffi_c/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 21:06:37 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://ssscripting.wordpress.com/?p=1505</guid>
		<description><![CDATA[After installing Watir, I received this error: no such file to load &#8212; ffi_c The fix was to install version 1.0.9 of the ffi gem: gem uninstall ffi gem install ffi -v 1.0.9 After that, it worked ok.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ssscripting.wordpress.com&amp;blog=6544459&amp;post=1505&amp;subd=ssscripting&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><font size="3"><br />
After installing Watir, I received this error:</p>
<p><strong>no such file to load &#8212; ffi_c</strong></p>
<p>The fix was to install version 1.0.9 of the ffi gem:</p>
<pre><code>
gem uninstall ffi
gem install ffi -v 1.0.9
</code></pre>
<p>After that, it worked ok.<br />
</font></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ssscripting.wordpress.com/1505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ssscripting.wordpress.com/1505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ssscripting.wordpress.com/1505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ssscripting.wordpress.com/1505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ssscripting.wordpress.com/1505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ssscripting.wordpress.com/1505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ssscripting.wordpress.com/1505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ssscripting.wordpress.com/1505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ssscripting.wordpress.com/1505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ssscripting.wordpress.com/1505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ssscripting.wordpress.com/1505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ssscripting.wordpress.com/1505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ssscripting.wordpress.com/1505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ssscripting.wordpress.com/1505/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ssscripting.wordpress.com&amp;blog=6544459&amp;post=1505&amp;subd=ssscripting&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ssscripting.wordpress.com/2011/11/18/watir-and-no-such-file-to-load-ffi_c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ce521842cff87983fa0ab297b1d9317b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">geo</media:title>
		</media:content>
	</item>
	</channel>
</rss>
