<?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 Big Bad Code</title>
	<atom:link href="http://bigbadcode.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://bigbadcode.com</link>
	<description>this blog is retired. I&#039;m leaving it up as a reference</description>
	<lastBuildDate>Tue, 12 Apr 2011 08:42:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>Comment on Recursive File and Folder Listing VB.NET by FlashBang</title>
		<link>http://bigbadcode.com/2005/09/12/recursive-file-and-folder-listing-vbnet/#comment-5576</link>
		<dc:creator>FlashBang</dc:creator>
		<pubDate>Tue, 12 Apr 2011 08:42:56 +0000</pubDate>
		<guid isPermaLink="false">http://jbloomdesign.com/blog/2005/09/12/recursive-file-and-folder-listing-vbnet/#comment-5576</guid>
		<description>My apologies, the try catch loop was in the wrong place.
It should encase the following line only:

RecursiveSearch(fileObject.FullName, searchpattern, recursionon)</description>
		<content:encoded><![CDATA[<p>My apologies, the try catch loop was in the wrong place.<br />
It should encase the following line only:</p>
<p>RecursiveSearch(fileObject.FullName, searchpattern, recursionon)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Iterating over a custom object in python by Chris</title>
		<link>http://bigbadcode.com/2008/10/22/iterating-over-a-custom-object-in-python/#comment-5575</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Sun, 23 Jan 2011 04:08:08 +0000</pubDate>
		<guid isPermaLink="false">http://bigbadcode.com/?p=204#comment-5575</guid>
		<description>Thank you for the tutorial, this was very useful.

After implementing your solution, realized I couldn&#039;t find a way to access the declared name of an object member using your code snippet, so I modified it slightly. 

In case anyone else had the same question:

for k, v in myObj.__dict__.iteritems():
                print k, v, type(v).__name__</description>
		<content:encoded><![CDATA[<p>Thank you for the tutorial, this was very useful.</p>
<p>After implementing your solution, realized I couldn&#8217;t find a way to access the declared name of an object member using your code snippet, so I modified it slightly. </p>
<p>In case anyone else had the same question:</p>
<p>for k, v in myObj.__dict__.iteritems():<br />
                print k, v, type(v).__name__</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Count the duplicates in a Python List by Diego Castro</title>
		<link>http://bigbadcode.com/2007/04/04/count-the-duplicates-in-a-python-list/#comment-5574</link>
		<dc:creator>Diego Castro</dc:creator>
		<pubDate>Fri, 17 Dec 2010 20:02:51 +0000</pubDate>
		<guid isPermaLink="false">http://bigbadcode.com/2007/04/04/count-the-duplicates-in-a-python-list/#comment-5574</guid>
		<description>Thanks man, 
Just a correction ... the Set on the seco0nd line should be set (lowercase)

(at least changing the case made it work here)</description>
		<content:encoded><![CDATA[<p>Thanks man,<br />
Just a correction &#8230; the Set on the seco0nd line should be set (lowercase)</p>
<p>(at least changing the case made it work here)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Python reverse string method by adam</title>
		<link>http://bigbadcode.com/2006/09/25/python-reverse-string-method/#comment-5573</link>
		<dc:creator>adam</dc:creator>
		<pubDate>Sun, 12 Dec 2010 23:39:01 +0000</pubDate>
		<guid isPermaLink="false">http://bigbadcode.com/2006/09/25/python-reverse-string-method/#comment-5573</guid>
		<description>Thanks best piece of code I&#039;ve read all week</description>
		<content:encoded><![CDATA[<p>Thanks best piece of code I&#8217;ve read all week</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Recursive File and Folder Listing VB.NET by FlashBang</title>
		<link>http://bigbadcode.com/2005/09/12/recursive-file-and-folder-listing-vbnet/#comment-5570</link>
		<dc:creator>FlashBang</dc:creator>
		<pubDate>Mon, 08 Nov 2010 15:13:25 +0000</pubDate>
		<guid isPermaLink="false">http://jbloomdesign.com/blog/2005/09/12/recursive-file-and-folder-listing-vbnet/#comment-5570</guid>
		<description>Hi,
The code given does seem to have a quirk finding folders, the code below fixes that and adds a search string and the possibility to turn recursion on or off.  There is also a try catch loop to deal with the fact you may not have some folder access.


    Private Function RecursiveSearch(ByVal path As String, _
                                     Optional ByVal searchpattern As String = &quot;*&quot;, _
                                     Optional ByVal recursionon As Boolean = False) _
                                     As Boolean
        Dim dirInfo As New IO.DirectoryInfo(path)
        Dim fileObject As FileSystemInfo
        If recursionon Then
            Try
                For Each fileObject In dirInfo.GetDirectories
                    RecursiveSearch(fileObject.FullName, searchpattern, recursionon)
                Next
            Catch ex As Exception

            End Try

        End If

        For Each fileObject In dirInfo.GetFiles
            If fileObject.FullName Like tbSearchString.Text Then
                Console.WriteLine(fileObject.FullName)
            End If
        Next
        Return True
    End Function</description>
		<content:encoded><![CDATA[<p>Hi,<br />
The code given does seem to have a quirk finding folders, the code below fixes that and adds a search string and the possibility to turn recursion on or off.  There is also a try catch loop to deal with the fact you may not have some folder access.</p>
<p>    Private Function RecursiveSearch(ByVal path As String, _<br />
                                     Optional ByVal searchpattern As String = &#8220;*&#8221;, _<br />
                                     Optional ByVal recursionon As Boolean = False) _<br />
                                     As Boolean<br />
        Dim dirInfo As New IO.DirectoryInfo(path)<br />
        Dim fileObject As FileSystemInfo<br />
        If recursionon Then<br />
            Try<br />
                For Each fileObject In dirInfo.GetDirectories<br />
                    RecursiveSearch(fileObject.FullName, searchpattern, recursionon)<br />
                Next<br />
            Catch ex As Exception</p>
<p>            End Try</p>
<p>        End If</p>
<p>        For Each fileObject In dirInfo.GetFiles<br />
            If fileObject.FullName Like tbSearchString.Text Then<br />
                Console.WriteLine(fileObject.FullName)<br />
            End If<br />
        Next<br />
        Return True<br />
    End Function</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iPhone SDK Cocoa Objective-C Learnings by Mital</title>
		<link>http://bigbadcode.com/2008/10/13/iphone-sdk-cocoa-objective-c-learnings/#comment-5567</link>
		<dc:creator>Mital</dc:creator>
		<pubDate>Thu, 03 Jun 2010 14:19:49 +0000</pubDate>
		<guid isPermaLink="false">http://bigbadcode.com/?p=170#comment-5567</guid>
		<description>Hey its a great thing and thanx to share it.

But I also have same question as Narender Mudgal asked.

Can you please answer it? I know that we need to release in that case also but how to make it autorelease?</description>
		<content:encoded><![CDATA[<p>Hey its a great thing and thanx to share it.</p>
<p>But I also have same question as Narender Mudgal asked.</p>
<p>Can you please answer it? I know that we need to release in that case also but how to make it autorelease?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Recursive File and Folder Listing VB.NET by Tim Cullen</title>
		<link>http://bigbadcode.com/2005/09/12/recursive-file-and-folder-listing-vbnet/#comment-5566</link>
		<dc:creator>Tim Cullen</dc:creator>
		<pubDate>Mon, 03 May 2010 21:02:15 +0000</pubDate>
		<guid isPermaLink="false">http://jbloomdesign.com/blog/2005/09/12/recursive-file-and-folder-listing-vbnet/#comment-5566</guid>
		<description>First of all, great solution!  Works like a charm for what I needed t for.

Seconds, this comment is a little late but I believe the reason Kris&#039; solution picked up more folders is because the attributes are housed as either integers or big integers and the AND&#039;ing process she uses caught more of them: http://www.adminscripteditor.com/papers/SSC/enumerations.asp</description>
		<content:encoded><![CDATA[<p>First of all, great solution!  Works like a charm for what I needed t for.</p>
<p>Seconds, this comment is a little late but I believe the reason Kris&#8217; solution picked up more folders is because the attributes are housed as either integers or big integers and the AND&#8217;ing process she uses caught more of them: <a href="http://www.adminscripteditor.com/papers/SSC/enumerations.asp" rel="nofollow">http://www.adminscripteditor.com/papers/SSC/enumerations.asp</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Iterating over a custom object in python by lefthand</title>
		<link>http://bigbadcode.com/2008/10/22/iterating-over-a-custom-object-in-python/#comment-5562</link>
		<dc:creator>lefthand</dc:creator>
		<pubDate>Tue, 13 Apr 2010 11:31:09 +0000</pubDate>
		<guid isPermaLink="false">http://bigbadcode.com/?p=204#comment-5562</guid>
		<description>This may be 2 years later.But i really want to say thank you .The blog post really made me understand so concept i amwas battling with</description>
		<content:encoded><![CDATA[<p>This may be 2 years later.But i really want to say thank you .The blog post really made me understand so concept i amwas battling with</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Convert m4a to mp3 by Luke Carrier</title>
		<link>http://bigbadcode.com/2007/06/06/convert-m4a-to-mp3/#comment-5561</link>
		<dc:creator>Luke Carrier</dc:creator>
		<pubDate>Wed, 31 Mar 2010 15:09:05 +0000</pubDate>
		<guid isPermaLink="false">http://bigbadcode.com/2007/06/06/convert-m4a-to-mp3/#comment-5561</guid>
		<description>I liked this idea so much that I wrote a script based on it that&#039;s a little more complete. If anyone&#039;s interested, take a look at:

http://lukecarrier.me/2010/03/13/automatically-convert-your-itunes-library-to-mp3-with-bonkenc-and-python/

Thanks for a great idea!</description>
		<content:encoded><![CDATA[<p>I liked this idea so much that I wrote a script based on it that&#8217;s a little more complete. If anyone&#8217;s interested, take a look at:</p>
<p><a href="http://lukecarrier.me/2010/03/13/automatically-convert-your-itunes-library-to-mp3-with-bonkenc-and-python/" rel="nofollow">http://lukecarrier.me/2010/03/13/automatically-convert-your-itunes-library-to-mp3-with-bonkenc-and-python/</a></p>
<p>Thanks for a great idea!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iPhone SDK Cocoa Objective-C Learnings by IPhone Memory Management &#171; Imamraza&#8217;s Blog</title>
		<link>http://bigbadcode.com/2008/10/13/iphone-sdk-cocoa-objective-c-learnings/#comment-5560</link>
		<dc:creator>IPhone Memory Management &#171; Imamraza&#8217;s Blog</dc:creator>
		<pubDate>Thu, 25 Feb 2010 11:17:51 +0000</pubDate>
		<guid isPermaLink="false">http://bigbadcode.com/?p=170#comment-5560</guid>
		<description>[...] http://bigbadcode.com/2008/10/13/iphone-sdk-cocoa-objective-c-learnings/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://bigbadcode.com/2008/10/13/iphone-sdk-cocoa-objective-c-learnings/" rel="nofollow">http://bigbadcode.com/2008/10/13/iphone-sdk-cocoa-objective-c-learnings/</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

