<?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 for Beardy Geek</title>
	<atom:link href="http://www.beardygeek.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.beardygeek.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 10 Mar 2010 00:56:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Django Tips &#8211; Unique Date Querysets by Django Tips – Unique Date Querysets &#124; Beardy Geek &#124; Errors &#38; Geeks</title>
		<link>http://www.beardygeek.com/2009/02/django-tips-unique-date-querysets/comment-page-1/#comment-10</link>
		<dc:creator>Django Tips – Unique Date Querysets &#124; Beardy Geek &#124; Errors &#38; Geeks</dc:creator>
		<pubDate>Wed, 10 Mar 2010 00:56:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.beardygeek.com/?p=35#comment-10</guid>
		<description>[...] is the original:  Django Tips – Unique Date Querysets &#124; Beardy Geek   Tags: december-2008, django, february-2009, semantic, twitter-buttons, unique-date, [...]</description>
		<content:encoded><![CDATA[<p>[...] is the original:  Django Tips – Unique Date Querysets | Beardy Geek   Tags: december-2008, django, february-2009, semantic, twitter-buttons, unique-date, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Call a .Net Webservice using Python by amalaa</title>
		<link>http://www.beardygeek.com/2009/01/how-to-call-a-net-webservice-using-python/comment-page-1/#comment-6</link>
		<dc:creator>amalaa</dc:creator>
		<pubDate>Sun, 31 Jan 2010 06:23:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.beardygeek.com/?p=8#comment-6</guid>
		<description>I also need to pass a value as string to my webservice...please help...its urgent!!!!</description>
		<content:encoded><![CDATA[<p>I also need to pass a value as string to my webservice&#8230;please help&#8230;its urgent!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Creating User Profiles with Image Thumbnails in Django by itjobs1</title>
		<link>http://www.beardygeek.com/2008/11/creating-user-profiles-with-image-thumbnails-in-django/comment-page-1/#comment-9</link>
		<dc:creator>itjobs1</dc:creator>
		<pubDate>Thu, 03 Dec 2009 20:45:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.beardygeek.com/?p=32#comment-9</guid>
		<description>Thank you nice post</description>
		<content:encoded><![CDATA[<p>Thank you nice post</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Call a .Net Webservice using Python by Test</title>
		<link>http://www.beardygeek.com/2009/01/how-to-call-a-net-webservice-using-python/comment-page-1/#comment-5</link>
		<dc:creator>Test</dc:creator>
		<pubDate>Thu, 03 Dec 2009 15:27:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.beardygeek.com/?p=8#comment-5</guid>
		<description>Any Idea how do we pass values to the calling function of a web service in python:&lt;br&gt;&gt;&gt;&gt; from elementsoap import ElementSOAP as ES&lt;br&gt;&gt;&gt;&gt; sr = ES.SoapRequest(&quot;{http://tempuri.org/}AddNumbers&quot;)&lt;br&gt;&gt;&gt;&gt; serv = ES.SoapService(&quot;http://localhost/WebServices/Service.asmx&quot;)&lt;br&gt;&gt;&gt;&gt; result = serv.call(&quot;http://tempuri.org/AddNumbers&quot;, sr)&lt;br&gt;&gt;&gt;&gt; result.find(&quot;{http://tempuri.org/}AddNumbersResult&quot;).text&lt;br&gt;&#039;0&#039;&lt;br&gt;&gt;&gt;&gt;&lt;br&gt;I need to pass values to AddNumbers method, 3 and 4 so that i get the result as 7&lt;br&gt;&lt;br&gt;Thanks for your help in advance!!</description>
		<content:encoded><![CDATA[<p>Any Idea how do we pass values to the calling function of a web service in python:<br />&gt;&gt;&gt; from elementsoap import ElementSOAP as ES<br />&gt;&gt;&gt; sr = ES.SoapRequest(&#8220;{http://tempuri.org/}AddNumbers&#8221;)<br />&gt;&gt;&gt; serv = ES.SoapService(&#8220;http://localhost/WebServices/Service.asmx&#8221;)<br />&gt;&gt;&gt; result = serv.call(&#8220;http://tempuri.org/AddNumbers&#8221;, sr)<br />&gt;&gt;&gt; result.find(&#8220;{http://tempuri.org/}AddNumbersResult&#8221;).text<br />&#39;0&#39;<br />&gt;&gt;&gt;<br />I need to pass values to AddNumbers method, 3 and 4 so that i get the result as 7</p>
<p>Thanks for your help in advance!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Call a .Net Webservice using Python by stuartk</title>
		<link>http://www.beardygeek.com/2009/01/how-to-call-a-net-webservice-using-python/comment-page-1/#comment-4</link>
		<dc:creator>stuartk</dc:creator>
		<pubDate>Wed, 02 Dec 2009 14:13:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.beardygeek.com/?p=8#comment-4</guid>
		<description>No sorry, I don&#039;t.  These days I try and avoid coding in C# where possible :)</description>
		<content:encoded><![CDATA[<p>No sorry, I don&#39;t.  These days I try and avoid coding in C# where possible <img src='http://www.beardygeek.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Call a .Net Webservice using Python by Test</title>
		<link>http://www.beardygeek.com/2009/01/how-to-call-a-net-webservice-using-python/comment-page-1/#comment-3</link>
		<dc:creator>Test</dc:creator>
		<pubDate>Wed, 02 Dec 2009 13:23:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.beardygeek.com/?p=8#comment-3</guid>
		<description>Hi Beardy,&lt;br&gt;This article looks great. I am trying to call a python web service in .NET. You have any related articles or source code for the same (as I am short of time).&lt;br&gt;Thanks for your help in advance!!</description>
		<content:encoded><![CDATA[<p>Hi Beardy,<br />This article looks great. I am trying to call a python web service in .NET. You have any related articles or source code for the same (as I am short of time).<br />Thanks for your help in advance!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Call a .Net Webservice using Python by Name</title>
		<link>http://www.beardygeek.com/2009/01/how-to-call-a-net-webservice-using-python/comment-page-1/#comment-2</link>
		<dc:creator>Name</dc:creator>
		<pubDate>Wed, 02 Sep 2009 11:24:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.beardygeek.com/?p=8#comment-2</guid>
		<description>I need to develop a prototype in Python to consume ASP.NET web service - web method returning image file. Any leads/alternate strategy/workaround will be helful.</description>
		<content:encoded><![CDATA[<p>I need to develop a prototype in Python to consume ASP.NET web service &#8211; web method returning image file. Any leads/alternate strategy/workaround will be helful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Creating User Profiles with Image Thumbnails in Django by Mark</title>
		<link>http://www.beardygeek.com/2008/11/creating-user-profiles-with-image-thumbnails-in-django/comment-page-1/#comment-8</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Sun, 16 Aug 2009 22:23:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.beardygeek.com/?p=32#comment-8</guid>
		<description>Hi there, great bit of coding you&#039;ve done here. I&#039;ve been trying to follow, but coming across some errors. &lt;br&gt;&lt;br&gt;I&#039;m not entirely sure if my installation is set up properly, or if it&#039;s a problem with the trunk version of Django. &lt;br&gt;&lt;br&gt;When calling self.photo.path in the thumbnail creation, it seems to be getting my MEDIA_ROOT with the filename appended (ignoring any other bits of folder structure that has been set earlier).  The only thing I can think of is if adding the upload_to instruction doesnt get recorded properly.&lt;br&gt;&lt;br&gt;ie. MEDIA_ROOT/filename.jpg&lt;br&gt;&lt;br&gt;Any thoughts? Feel free to drop me an email.</description>
		<content:encoded><![CDATA[<p>Hi there, great bit of coding you&#39;ve done here. I&#39;ve been trying to follow, but coming across some errors. </p>
<p>I&#39;m not entirely sure if my installation is set up properly, or if it&#39;s a problem with the trunk version of Django. </p>
<p>When calling self.photo.path in the thumbnail creation, it seems to be getting my MEDIA_ROOT with the filename appended (ignoring any other bits of folder structure that has been set earlier).  The only thing I can think of is if adding the upload_to instruction doesnt get recorded properly.</p>
<p>ie. MEDIA_ROOT/filename.jpg</p>
<p>Any thoughts? Feel free to drop me an email.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Creating User Profiles with Image Thumbnails in Django by Oliland</title>
		<link>http://www.beardygeek.com/2008/11/creating-user-profiles-with-image-thumbnails-in-django/comment-page-1/#comment-7</link>
		<dc:creator>Oliland</dc:creator>
		<pubDate>Thu, 16 Jul 2009 04:37:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.beardygeek.com/?p=32#comment-7</guid>
		<description>Fixed that for you &lt;br&gt;&lt;br&gt;    def save(self, force_insert=False, force_update=False):&lt;br&gt;        import os&lt;br&gt;        #get mtime stats from file&lt;br&gt;        thumb_update = False&lt;br&gt;&lt;br&gt;        # Does a thumbnail exist?&lt;br&gt;        if self.thumbnail:&lt;br&gt;            # Does it actually exist?&lt;br&gt;            try:&lt;br&gt;                # If so, compare it to the latest photo&lt;br&gt;                statinfo1 = os.stat(self.photo.path)&lt;br&gt;                statinfo2 = os.stat(self.thumbnail.path)&lt;br&gt;                if statinfo1 &gt; statinfo2:&lt;br&gt;                    thumb_update = True&lt;br&gt;            # If not, update the thumbnail&lt;br&gt;            except OSError:&lt;br&gt;                thumb_update = True&lt;br&gt;&lt;br&gt;        if self.photo and not self.thumbnail or thumb_update:&lt;br&gt;            from PIL import Image&lt;br&gt;&lt;br&gt;            THUMB_SIZE = (150, 150)&lt;br&gt;&lt;br&gt;            #self.thumbnail = self.photo&lt;br&gt;&lt;br&gt;            image = Image.open(self.photo.path)&lt;br&gt;&lt;br&gt;            if image.mode not in (&#039;L&#039;, &#039;RGB&#039;):&lt;br&gt;                image = image.convert(&#039;RGB&#039;)&lt;br&gt;&lt;br&gt;            image.thumbnail(THUMB_SIZE, Image.ANTIALIAS)&lt;br&gt;            (head, tail) = os.path.split(self.photo.path)&lt;br&gt;            (a, b) = os.path.split(self.photo.name)&lt;br&gt;&lt;br&gt;            if not os.path.isdir(head + &#039;/thumbs&#039;):&lt;br&gt;                os.mkdir(head + &#039;/thumbs&#039;)&lt;br&gt;&lt;br&gt;            image.save(head + &#039;/thumbs/&#039; + tail)&lt;br&gt;&lt;br&gt;            self.thumbnail = a + &#039;/thumbs/&#039; + b&lt;br&gt;&lt;br&gt;        super(UserProfile, self).save()</description>
		<content:encoded><![CDATA[<p>Fixed that for you </p>
<p>    def save(self, force_insert=False, force_update=False):<br />        import os<br />        #get mtime stats from file<br />        thumb_update = False</p>
<p>        # Does a thumbnail exist?<br />        if self.thumbnail:<br />            # Does it actually exist?<br />            try:<br />                # If so, compare it to the latest photo<br />                statinfo1 = os.stat(self.photo.path)<br />                statinfo2 = os.stat(self.thumbnail.path)<br />                if statinfo1 &gt; statinfo2:<br />                    thumb_update = True<br />            # If not, update the thumbnail<br />            except OSError:<br />                thumb_update = True</p>
<p>        if self.photo and not self.thumbnail or thumb_update:<br />            from PIL import Image</p>
<p>            THUMB_SIZE = (150, 150)</p>
<p>            #self.thumbnail = self.photo</p>
<p>            image = Image.open(self.photo.path)</p>
<p>            if image.mode not in (&#39;L&#39;, &#39;RGB&#39;):<br />                image = image.convert(&#39;RGB&#39;)</p>
<p>            image.thumbnail(THUMB_SIZE, Image.ANTIALIAS)<br />            (head, tail) = os.path.split(self.photo.path)<br />            (a, b) = os.path.split(self.photo.name)</p>
<p>            if not os.path.isdir(head + &#39;/thumbs&#39;):<br />                os.mkdir(head + &#39;/thumbs&#39;)</p>
<p>            image.save(head + &#39;/thumbs/&#39; + tail)</p>
<p>            self.thumbnail = a + &#39;/thumbs/&#39; + b</p>
<p>        super(UserProfile, self).save()</p>
]]></content:encoded>
	</item>
</channel>
</rss>
