<?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:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>Innerphaze</title>
	<atom:link href="http://innerphaze.homelinux.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://innerphaze.homelinux.com/blog</link>
	<description></description>
	<lastBuildDate>Thu, 14 Apr 2011 00:12:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
		<item>
		<title>Getting Amazon Kindle for PC running in Ubuntu under Wine</title>
		<link>http://innerphaze.homelinux.com/blog/?p=1033</link>
		<comments>http://innerphaze.homelinux.com/blog/?p=1033#comments</comments>
		<pubDate>Thu, 14 Apr 2011 00:12:59 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[HowTo]]></category>

		<guid isPermaLink="false">http://innerphaze.homelinux.com/blog/?p=1033</guid>
		<description><![CDATA[I am a little ambivalent about using ebooks, and was even more on the fence when I saw that Amazon had no Kindle app for Linux. I did a quick search and found this from Redshirtlinux that tells you how to get the kindle to work under Wine in linux. It was very straitforward, all [...]


Related posts:<ol><li><a href='http://innerphaze.homelinux.com/blog/?p=777' rel='bookmark' title='Permanent Link: Wine, Mint and World of Warcraft: Installing WOW on Linux Mint 7 or Ubuntu 9.04'>Wine, Mint and World of Warcraft: Installing WOW on Linux Mint 7 or Ubuntu 9.04</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=1032' rel='bookmark' title='Permanent Link: The Art of Scientific and Technological Innovations : Art of Science Learning'>The Art of Scientific and Technological Innovations : Art of Science Learning</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=953' rel='bookmark' title='Permanent Link: Popular recipes « ActiveState Code'>Popular recipes « ActiveState Code</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p class="diigo-link">I am a little ambivalent about using ebooks, and was even more on the fence when I saw that Amazon had no Kindle app for Linux. I did a quick search and found this from <a href="http://www.redshirtlinux.com/?p=163">Redshirtlinux</a> that tells you how to get the kindle to work under Wine in linux. It was very straitforward, all you need is an earlier version of the kindle which they tell you how to get then it worked like a charm.</p>
<ul class="diigo-linkroll">
<li>
<p class="diigo-link"><a href="http://www.redshirtlinux.com/?p=163">Getting Amazon Kindle for PC running in Ubuntu under Wine | Redshirtlinux.com</a></p>
<p class="diigo-description">&quot;wine KindleForPC-installer.exe&quot;</p>
<p class="diigo-tags"><span>tags:</span>                        <a href="http://www.diigo.com/user/noondesertsky/amazon">amazon</a>             <a href="http://www.diigo.com/user/noondesertsky/kindle">kindle</a>             <a href="http://www.diigo.com/user/noondesertsky/pc">pc</a></p>
</li>
</ul>
<p class="diigo-ps">Posted from <a href="http://www.diigo.com">Diigo</a>. The rest of my favorite links are <a href="http://www.diigo.com/user/noondesertsky">here</a>.</p>


<p>Related posts:<ol><li><a href='http://innerphaze.homelinux.com/blog/?p=777' rel='bookmark' title='Permanent Link: Wine, Mint and World of Warcraft: Installing WOW on Linux Mint 7 or Ubuntu 9.04'>Wine, Mint and World of Warcraft: Installing WOW on Linux Mint 7 or Ubuntu 9.04</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=1032' rel='bookmark' title='Permanent Link: The Art of Scientific and Technological Innovations : Art of Science Learning'>The Art of Scientific and Technological Innovations : Art of Science Learning</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=953' rel='bookmark' title='Permanent Link: Popular recipes « ActiveState Code'>Popular recipes « ActiveState Code</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://innerphaze.homelinux.com/blog/?feed=rss2&amp;p=1033</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>The Art of Scientific and Technological Innovations : Art of Science Learning</title>
		<link>http://innerphaze.homelinux.com/blog/?p=1032</link>
		<comments>http://innerphaze.homelinux.com/blog/?p=1032#comments</comments>
		<pubDate>Wed, 13 Apr 2011 03:43:04 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://innerphaze.homelinux.com/blog/?p=1032</guid>
		<description><![CDATA[The Art of Scientific and Technological Innovations : Art of Science Learning tags: science art nobel laureates creativity Posted from Diigo. The rest of my favorite links are here. Related posts:6. Iteration — How to Think Like a Computer Scientist: Learning with Python Getting Amazon Kindle for PC running in Ubuntu under Wine Popular recipes [...]


Related posts:<ol><li><a href='http://innerphaze.homelinux.com/blog/?p=974' rel='bookmark' title='Permanent Link: 6. Iteration — How to Think Like a Computer Scientist: Learning with Python'>6. Iteration — How to Think Like a Computer Scientist: Learning with Python</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=1033' rel='bookmark' title='Permanent Link: Getting Amazon Kindle for PC running in Ubuntu under Wine'>Getting Amazon Kindle for PC running in Ubuntu under Wine</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=953' rel='bookmark' title='Permanent Link: Popular recipes « ActiveState Code'>Popular recipes « ActiveState Code</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<ul class="diigo-linkroll">
<li>
<p class="diigo-link"><a href="http://scienceblogs.com/art_of_science_learning/2011/04/the_art_of_scientific_and_tech_1.php">The Art of Scientific and Technological Innovations : Art of Science Learning</a></p>
<p class="diigo-tags"><span>tags:</span>                        <a href="http://www.diigo.com/user/noondesertsky/science">science</a>             <a href="http://www.diigo.com/user/noondesertsky/art">art</a>             <a href="http://www.diigo.com/user/noondesertsky/nobel">nobel</a>             <a href="http://www.diigo.com/user/noondesertsky/laureates">laureates</a>             <a href="http://www.diigo.com/user/noondesertsky/creativity">creativity</a></p>
</li>
</ul>
<p class="diigo-ps">Posted from <a href="http://www.diigo.com">Diigo</a>. The rest of my favorite links are <a href="http://www.diigo.com/user/noondesertsky">here</a>.</p>


<p>Related posts:<ol><li><a href='http://innerphaze.homelinux.com/blog/?p=974' rel='bookmark' title='Permanent Link: 6. Iteration — How to Think Like a Computer Scientist: Learning with Python'>6. Iteration — How to Think Like a Computer Scientist: Learning with Python</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=1033' rel='bookmark' title='Permanent Link: Getting Amazon Kindle for PC running in Ubuntu under Wine'>Getting Amazon Kindle for PC running in Ubuntu under Wine</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=953' rel='bookmark' title='Permanent Link: Popular recipes « ActiveState Code'>Popular recipes « ActiveState Code</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://innerphaze.homelinux.com/blog/?feed=rss2&amp;p=1032</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>SGR 1806-20 &#8211; Wikipedia, the free encyclopedia</title>
		<link>http://innerphaze.homelinux.com/blog/?p=1026</link>
		<comments>http://innerphaze.homelinux.com/blog/?p=1026#comments</comments>
		<pubDate>Mon, 27 Dec 2010 07:06:58 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Space]]></category>
		<category><![CDATA[astronomy]]></category>
		<category><![CDATA[magnetar]]></category>
		<category><![CDATA[neutron star]]></category>
		<category><![CDATA[science]]></category>

		<guid isPermaLink="false">http://innerphaze.homelinux.com/blog/?p=1026</guid>
		<description><![CDATA[SGR 1806-20 &#8211; Wikipedia, the free encyclopedia As of 2007[update], SGR 1806-20 is the most magnetic object ever perceived by humankind, with a magnetic field over 1015 gauss (1011 teslas) in intensity [1] (compared to the Sun&#8217;s 1-5 gauss).The gamma rays struck the ionosphere and created more ionization which briefly expanded the ionosphere. &#8220;The magnetar [...]


Related posts:<ol><li><a href='http://innerphaze.homelinux.com/blog/?p=938' rel='bookmark' title='Permanent Link: A Time Line of Free and Open Source Software, Media, Education and Library Science'>A Time Line of Free and Open Source Software, Media, Education and Library Science</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=593' rel='bookmark' title='Permanent Link: 10 Free Online Tools for Research'>10 Free Online Tools for Research</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=850' rel='bookmark' title='Permanent Link: Streetfighting Man'>Streetfighting Man</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p class="diigo-link"><a href="http://innerphaze.homelinux.com/blog/wp-content/uploads/2010/12/800px-SGR_1806-20_108536main_NeutronStar-Print1.jpg"><img class="alignleft size-medium wp-image-1029" title="800px-SGR_1806-20_108536main_NeutronStar-Print1" src="http://innerphaze.homelinux.com/blog/wp-content/uploads/2010/12/800px-SGR_1806-20_108536main_NeutronStar-Print1-300x202.jpg" alt="" width="300" height="202" /></a></p>
<p class="diigo-link"><a href="http://en.wikipedia.org/wiki/SGR_1806-20">SGR 1806-20 &#8211; Wikipedia, the free encyclopedia</a></p>
<ul>
<li>As of 2007<sup class="plainlinks noprint asof-tag update" style="display: none;"><a class="external text" rel="nofollow" href="http://en.wikipedia.org/w/index.php?title=SGR_1806-20&amp;action=edit">[update]</a></sup>, SGR 1806-20 is the most magnetic object ever perceived by humankind, with a magnetic field over 10<sup>15</sup> <a title="Gauss (unit)" href="http://en.wikipedia.org/wiki/Gauss_%28unit%29">gauss</a> (10<sup>11</sup> <a title="Tesla (unit)" href="http://en.wikipedia.org/wiki/Tesla_%28unit%29">teslas</a>) in intensity <sup id="cite_ref-0" class="reference"><a href="http://en.wikipedia.org/wiki/SGR_1806-20#cite_note-0"><span>[</span>1<span>]</span></a></sup> (compared to the Sun&#8217;s 1-5 gauss).The gamma rays struck the <a title="Ionosphere" href="http://en.wikipedia.org/wiki/Ionosphere">ionosphere</a> and created more ionization which briefly expanded the ionosphere.</li>
<li>&#8220;The magnetar released more energy in one-tenth of a second (1.3×1039 J) than our sun has released in 100,000 years (4×1026 W × 3.2×1012 s = 1.3×1039 J). On December 27, 2004, the radiation from an explosion on the surface of SGR 1806-20 reached Earth. SGR 1806-20 is a magnetar, a particular type of neutron star</li>
<li>As of 2007<sup class="plainlinks noprint asof-tag update" style="display: none;"><a class="external text" rel="nofollow" href="http://en.wikipedia.org/w/index.php?title=SGR_1806-20&amp;action=edit">[update]</a></sup>, SGR 1806-20 is the most magnetic object ever perceived by humankind, with a magnetic field over 10<sup>15</sup> <a title="Gauss (unit)" href="http://en.wikipedia.org/wiki/Gauss_%28unit%29">gauss</a> (10<sup>11</sup> <a title="Tesla (unit)" href="http://en.wikipedia.org/wiki/Tesla_%28unit%29">teslas</a>) in intensity <sup id="cite_ref-0" class="reference"><a href="http://en.wikipedia.org/wiki/SGR_1806-20#cite_note-0"><span>[</span>1<span>]</span></a></sup> (compared to the Sun&#8217;s 1-5 gauss).</li>
</ul>
<p class="diigo-tags"><span>tags:</span> <a href="http://www.diigo.com/user/noondesertsky/wikipedia">wikipedia</a> <a href="http://www.diigo.com/user/noondesertsky/magnetar">magnetar</a> <a href="http://www.diigo.com/user/noondesertsky/neutron">neutron</a> <a href="http://www.diigo.com/user/noondesertsky/star">star</a> <a href="http://www.diigo.com/user/noondesertsky/SGR">SGR</a> <a href="http://www.diigo.com/user/noondesertsky/1806-20">1806-20</a></p>
<p class="diigo-ps">Posted from <a href="http://www.diigo.com">Diigo</a>. The rest of my favorite links are <a href="http://www.diigo.com/user/noondesertsky">here</a>.</p>


<p>Related posts:<ol><li><a href='http://innerphaze.homelinux.com/blog/?p=938' rel='bookmark' title='Permanent Link: A Time Line of Free and Open Source Software, Media, Education and Library Science'>A Time Line of Free and Open Source Software, Media, Education and Library Science</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=593' rel='bookmark' title='Permanent Link: 10 Free Online Tools for Research'>10 Free Online Tools for Research</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=850' rel='bookmark' title='Permanent Link: Streetfighting Man'>Streetfighting Man</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://innerphaze.homelinux.com/blog/?feed=rss2&amp;p=1026</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>How to Change Linux Displays on the Fly with Disper &#8211; Make Tech Easier</title>
		<link>http://innerphaze.homelinux.com/blog/?p=1025</link>
		<comments>http://innerphaze.homelinux.com/blog/?p=1025#comments</comments>
		<pubDate>Fri, 24 Dec 2010 06:05:35 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[13]]></category>

		<guid isPermaLink="false">http://innerphaze.homelinux.com/blog/?p=1025</guid>
		<description><![CDATA[Usful for linux laptop users: How to Change Linux Displays on the Fly with Disper &#8211; Make Tech Easier tags: linux change display laptop monitor nvidia Posted from Diigo. The rest of my favorite links are here. Related posts:Popular recipes « ActiveState Code 6. Iteration — How to Think Like a Computer Scientist: Learning with [...]


Related posts:<ol><li><a href='http://innerphaze.homelinux.com/blog/?p=953' rel='bookmark' title='Permanent Link: Popular recipes « ActiveState Code'>Popular recipes « ActiveState Code</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=974' rel='bookmark' title='Permanent Link: 6. Iteration — How to Think Like a Computer Scientist: Learning with Python'>6. Iteration — How to Think Like a Computer Scientist: Learning with Python</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=959' rel='bookmark' title='Permanent Link: NINJA-IDE &#8211; Under Development Version'>NINJA-IDE &#8211; Under Development Version</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Usful for linux laptop users:</p>
<p>
<ul class="diigo-linkroll">
<li>
<p class="diigo-link"><a href="http://maketecheasier.com/change-linux-displays-on-the-fly-with-disper/2010/12/22?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed:+MakeTechEasier+(Make+Tech+Easier)&amp;utm_content=Google+Reader">How to Change Linux Displays on the Fly with Disper &#8211; Make Tech Easier</a></p>
<p class="diigo-tags"><span>tags:</span>                        <a href="http://www.diigo.com/user/noondesertsky/linux">linux</a>             <a href="http://www.diigo.com/user/noondesertsky/change">change</a>             <a href="http://www.diigo.com/user/noondesertsky/display">display</a>             <a href="http://www.diigo.com/user/noondesertsky/laptop">laptop</a>             <a href="http://www.diigo.com/user/noondesertsky/monitor">monitor</a>             <a href="http://www.diigo.com/user/noondesertsky/nvidia">nvidia</a></p>
</li>
</ul>
<p class="diigo-ps">Posted from <a href="http://www.diigo.com">Diigo</a>. The rest of my favorite links are <a href="http://www.diigo.com/user/noondesertsky">here</a>.</p>


<p>Related posts:<ol><li><a href='http://innerphaze.homelinux.com/blog/?p=953' rel='bookmark' title='Permanent Link: Popular recipes « ActiveState Code'>Popular recipes « ActiveState Code</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=974' rel='bookmark' title='Permanent Link: 6. Iteration — How to Think Like a Computer Scientist: Learning with Python'>6. Iteration — How to Think Like a Computer Scientist: Learning with Python</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=959' rel='bookmark' title='Permanent Link: NINJA-IDE &#8211; Under Development Version'>NINJA-IDE &#8211; Under Development Version</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://innerphaze.homelinux.com/blog/?feed=rss2&amp;p=1025</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>&#8220;Learning Python the Hard Way&#8221; Help: ex33</title>
		<link>http://innerphaze.homelinux.com/blog/?p=972</link>
		<comments>http://innerphaze.homelinux.com/blog/?p=972#comments</comments>
		<pubDate>Tue, 21 Dec 2010 15:06:20 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[learn python the hard way]]></category>
		<category><![CDATA[notes]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[while loops]]></category>

		<guid isPermaLink="false">http://innerphaze.homelinux.com/blog/?p=972</guid>
		<description><![CDATA[I am going through Zed Shaw&#8217;s excellent &#8220;Learn Python the Hard Way,&#8221; and just finished the hardest exercises yet. I am on Chapter 33: While Loops. The exercise itself is pretty straightforward, it is the extra credit that got me. I found very little on the web that actually applied directly to the problem, so [...]


Related posts:<ol><li><a href='http://innerphaze.homelinux.com/blog/?p=974' rel='bookmark' title='Permanent Link: 6. Iteration — How to Think Like a Computer Scientist: Learning with Python'>6. Iteration — How to Think Like a Computer Scientist: Learning with Python</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=954' rel='bookmark' title='Permanent Link: From Reddit: GUI tips for python'>From Reddit: GUI tips for python</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=953' rel='bookmark' title='Permanent Link: Popular recipes « ActiveState Code'>Popular recipes « ActiveState Code</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I am going through Zed Shaw&#8217;s excellent <a href="http://learnpythonthehardway.org/index" target="_blank">&#8220;Learn Python the Hard Way,&#8221;</a> and just finished the hardest exercises yet.  I am on Chapter 33: While Loops.  The exercise itself is pretty straightforward, it is the extra credit that got me.</p>
<p>I found very little on the web  that actually applied directly to the problem, so I thought I would write this up.<br />
The exercise:</p>
<p><code><br />
     i = 0<br />
     numbers = []<br />
     while i &lt; 6:<br />
     &nbsp;&nbsp;&nbsp;&nbsp;print "At the top i is %d" % i<br />
     &nbsp;&nbsp;&nbsp;&nbsp;numbers.append(i)</code></p>
<p><code><br />
     &nbsp;&nbsp;&nbsp;&nbsp;i = i + 1<br />
     &nbsp;&nbsp;&nbsp;&nbsp;print "Numbers now: ", numbers<br />
     &nbsp;&nbsp;&nbsp;&nbsp;print "At the bottom i is %d" % i</code></p>
<p><code>print "The numbers: "</code></p>
<p><code>for num in numbers:<br />
    &nbsp;&nbsp;&nbsp;&nbsp;print num<br />
</code></p>
<h4>Which yields:</h4>
<p>  At the top i is 0<br />
        Numbers now:  [0]<br />
        At the bottom i is 1<br />
        At the top i is 1<br />
        Numbers now:  [0, 1]<br />
        At the bottom i is 2<br />
        At the top i is 2<br />
        Numbers now:  [0, 1, 2]<br />
        At the bottom i is 3<br />
        At the top i is 3<br />
        Numbers now:  [0, 1, 2, 3]<br />
        At the bottom i is 4<br />
        At the top i is 4<br />
        Numbers now:  [0, 1, 2, 3, 4]<br />
        At the bottom i is 5<br />
        At the top i is 5<br />
        Numbers now:  [0, 1, 2, 3, 4, 5]<br />
        At the bottom i is 6<br />
        The numbers:<br />
        0<br />
        1<br />
        2<br />
        3<br />
        4<br />
        5</p>
<p>Pretty straight-forward. Then comes the hard part: extra credit. The extra credit is :</p>
<blockquote>
<p>1. Convert this while loop to a function that  you can call, and replace 6 in the test (i &lt; 6) with a variable.</p>
<p>2. Now use this function to rewrite the script to try different numbers.</p>
</blockquote>
<p>So first I think I am changing (i &lt; 6) to a variable.  I fail many times changing (i &lt; 6) to a variable so I decide to work on  changing the script to a function. I have a pretty good handle on functions.</p>
<h4>So I code:</h4>
<p>
<code><br />
      i = 0 numbers = []<br />
</code></p>
<p>        #My function that takes a number and adds a certain amount to it until it is less than a certain amount then it stops.<br />
        <code><br />
        def mycounter(i):<br />
            &nbsp;&nbsp;&nbsp;&nbsp;while i &lt; 6:<br />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print "At the top of i is %d" % i<br />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;numbers.append(i)<br />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i = i + 1 print "Numbers now: ", numbers<br />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print " At the bottom i is %d" % i<br />
        </code></p>
<p>#calls the function. Took me a while to figure out I had to put i in the parentheses. Then the function worked like a charm.<br />
<code>mycounter(i)<br />
</code><br />
#prints the output of the function to the screen.<br />
<code><br />
print "The numbers: "<br />
</code><br />
# Not really to sure what this does. I believe it prints the list [0, 1 ,2 ,etc.,]<br />
<code>for num in numbers:<br />
&nbsp;&nbsp;&nbsp;&nbsp;print num<br />
</code>
</p>
<p>This works great, so now back to the variable. I figure out by this point, its  &#8220;6&#8243; not &#8221; i &lt; 6&#8243; that is supposed to be a variable. Doh.</p>
<p>Ok so I change 6 to my_number add the line at the top of the script after numbers =[], my_number = raw_input(&#8220;&gt; &#8220;).</p>
<p>This puts a prompt on the screen when the program is run where I can enter a number. To stay safe I enter 6.  I get an infinite loop of numbers that just keeps going and going. It all happens very fast and the numbers just whiz by on my terminal:</p>
<h4>The Insanity</h4>
<blockquote><p>Numbers now:  [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700]<br />
 At the bottom i is 701<br />
 At the top of i is 701<br />
Numbers now:  [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701]<br /> At the bottom i is 702<br />At the top of i is 702<br />
Numbers now:  [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702]<br />
At the bottom i is 703<br />
At the top of i is 703<br />
Traceback (most recent call last):<br />
File &#8220;ex33b.py&#8221;, line 15, in &lt;module&gt;<br />
mycounter(i)<br />
File &#8220;ex33b.py&#8221;, line 11, in mycounter<br />
print &#8220;Numbers now: &#8220;, numbers<br />
KeyboardInterrupt
</p>
</blockquote>
<p>Wow. That is about .0001 seconds worth of output.  Luckily  when I hit CTRL+c it stops.</p>
<p>I have no idea why this happens. All I did is switch 6 to a variable. I cant understand how this happened. This is why programming pisses me off.</p>
<p>Back to google and searching. I started this on a Thursday night, and it takes until Sunday morning, after many failed attempts and much swearing to find out you have to tell python that the input in raw_input is an integer, otherwise it treats your input as a text string. And that seems to drive python crazy. Fucking crazy!</p>
<h4>My Solution</h4>
<p>So anyway this is what I came up with. It works, gives me the output that I expect, and no tsunami of numbers.</p>
<p>
<code>i = 0 numbers = []</code></p>
<p>#My function that takes a number and adds a certain amount to it until it is less than a certain amount then it stops.<br />
<code>def mycounter(i):<br />
&nbsp;&nbsp;&nbsp;&nbsp;while i &lt; my_number:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print "At the top of i is %d" % i<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;numbers.append(i)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i = i + my_increment<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print "Numbers now: ", numbers<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print " At the bottom i is %d" % i<br />
</code><br />
# Makes my_number raw_input and an integer.<br />
#This is the tricky part where you have to tell Python it is an integer you are putting in and not text,<br />
#because treating text like a number gets python very very confused and excited.<br />
<code><br />
my_number = int(raw_input("Pick a number from 1-100 &gt; "))<br />
</code><br />
# Tells the function how much to go up by and makes it an integer. This is the next extra credit question, but it is easy once you figure out #1 and # 2.<br />
<code><br />
my_increment = int(raw_input("Your increment &gt; "))</code><br />
# Calls the function<br />
<code><br />
mycounter(i)<br />
print "The numbers: "<br />
</code><br />
# Still not sure exactly how this works.<br />
<code><br />
for num in numbers:<br />
&nbsp;&nbsp;&nbsp;&nbsp;print num</code></p>
<p>I did a dance in my office after this worked.</p>


<p>Related posts:<ol><li><a href='http://innerphaze.homelinux.com/blog/?p=974' rel='bookmark' title='Permanent Link: 6. Iteration — How to Think Like a Computer Scientist: Learning with Python'>6. Iteration — How to Think Like a Computer Scientist: Learning with Python</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=954' rel='bookmark' title='Permanent Link: From Reddit: GUI tips for python'>From Reddit: GUI tips for python</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=953' rel='bookmark' title='Permanent Link: Popular recipes « ActiveState Code'>Popular recipes « ActiveState Code</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://innerphaze.homelinux.com/blog/?feed=rss2&amp;p=972</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>6. Iteration — How to Think Like a Computer Scientist: Learning with Python</title>
		<link>http://innerphaze.homelinux.com/blog/?p=974</link>
		<comments>http://innerphaze.homelinux.com/blog/?p=974#comments</comments>
		<pubDate>Sat, 18 Dec 2010 08:24:48 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://innerphaze.homelinux.com/blog/?p=974</guid>
		<description><![CDATA[6. Iteration — How to Think Like a Computer Scientist: Learning with Python v2nd Edition documentation This page helped me figure out the solution for the extra credit in Chapter 33 of &#8220;Learning Python the Hardway.&#8221; I think this will be something I read while finishing LPHW.     tags: iteration python thinking computer scientist [...]


Related posts:<ol><li><a href='http://innerphaze.homelinux.com/blog/?p=1032' rel='bookmark' title='Permanent Link: The Art of Scientific and Technological Innovations : Art of Science Learning'>The Art of Scientific and Technological Innovations : Art of Science Learning</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=959' rel='bookmark' title='Permanent Link: NINJA-IDE &#8211; Under Development Version'>NINJA-IDE &#8211; Under Development Version</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=953' rel='bookmark' title='Permanent Link: Popular recipes « ActiveState Code'>Popular recipes « ActiveState Code</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p class="diigo-link"><a href="http://openbookproject.net/thinkcs/python/english2e/ch06.html">6. Iteration — How to Think Like a Computer Scientist: Learning with Python v2nd Edition documentation</a></p>
<p class="diigo-link">This page helped me figure out the solution for the extra credit in Chapter 33 of &#8220;Learning Python the Hardway.&#8221;</p>
<p class="diigo-link">I think this will be something I read while finishing LPHW.</p>
<p class="diigo-link"> </p>
<p class="diigo-link"> </p>
<p class="diigo-tags"><span>tags:</span> <a href="http://www.diigo.com/user/noondesertsky/iteration">iteration</a> <a href="http://www.diigo.com/user/noondesertsky/python">python</a> <a href="http://www.diigo.com/user/noondesertsky/thinking">thinking</a> <a href="http://www.diigo.com/user/noondesertsky/computer">computer</a> <a href="http://www.diigo.com/user/noondesertsky/scientist">scientist</a> <a href="http://www.diigo.com/user/noondesertsky/how">how</a> <a href="http://www.diigo.com/user/noondesertsky/to">to</a></p>
<p class="diigo-ps">Posted from <a href="http://www.diigo.com">Diigo</a>. The rest of my favorite links are <a href="http://www.diigo.com/user/noondesertsky">here</a>.</p>


<p>Related posts:<ol><li><a href='http://innerphaze.homelinux.com/blog/?p=1032' rel='bookmark' title='Permanent Link: The Art of Scientific and Technological Innovations : Art of Science Learning'>The Art of Scientific and Technological Innovations : Art of Science Learning</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=959' rel='bookmark' title='Permanent Link: NINJA-IDE &#8211; Under Development Version'>NINJA-IDE &#8211; Under Development Version</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=953' rel='bookmark' title='Permanent Link: Popular recipes « ActiveState Code'>Popular recipes « ActiveState Code</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://innerphaze.homelinux.com/blog/?feed=rss2&amp;p=974</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>How to keep screen on while plugged in for Android Phones</title>
		<link>http://innerphaze.homelinux.com/blog/?p=970</link>
		<comments>http://innerphaze.homelinux.com/blog/?p=970#comments</comments>
		<pubDate>Tue, 14 Dec 2010 20:55:29 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[phone]]></category>
		<category><![CDATA[power]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[TIL]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://innerphaze.homelinux.com/blog/?p=970</guid>
		<description><![CDATA[Today I learned that to keep the screen on while plugged in for an android phone all you do is: menu&#62;settings&#62;applications&#62;development and then check the &#8220;never sleep while charging&#8221; box. Thats great to know, but is is also very counter-intuitive and not where it belongs.   http://forum.androidcentral.com/motorola-droid-x/27437-how-keep-screen-while-plugged.html Related posts:Unhappy Palm Pre Owners: Palm Pre&#8217;s Screen [...]


Related posts:<ol><li><a href='http://innerphaze.homelinux.com/blog/?p=830' rel='bookmark' title='Permanent Link: Unhappy Palm Pre Owners: Palm Pre&#8217;s Screen is Cracking'>Unhappy Palm Pre Owners: Palm Pre&#8217;s Screen is Cracking</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=563' rel='bookmark' title='Permanent Link: Blue Screen of Death in DFW Hyatt Regency'>Blue Screen of Death in DFW Hyatt Regency</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=784' rel='bookmark' title='Permanent Link: The Palm Pre &#038; How Sprint Treats Long-Term Customers'>The Palm Pre &#038; How Sprint Treats Long-Term Customers</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Today I learned that to keep the screen on while plugged in for an android phone all you do is:</p>
<p>menu&gt;settings&gt;applications&gt;development and then check the &#8220;never sleep while charging&#8221; box.</p>
<p>Thats great to know, but is is also very counter-intuitive and not where it belongs.</p>
<p> </p>
<p><a href="http://forum.androidcentral.com/motorola-droid-x/27437-how-keep-screen-while-plugged.html">http://forum.androidcentral.com/motorola-droid-x/27437-how-keep-screen-while-plugged.html</a></p>


<p>Related posts:<ol><li><a href='http://innerphaze.homelinux.com/blog/?p=830' rel='bookmark' title='Permanent Link: Unhappy Palm Pre Owners: Palm Pre&#8217;s Screen is Cracking'>Unhappy Palm Pre Owners: Palm Pre&#8217;s Screen is Cracking</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=563' rel='bookmark' title='Permanent Link: Blue Screen of Death in DFW Hyatt Regency'>Blue Screen of Death in DFW Hyatt Regency</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=784' rel='bookmark' title='Permanent Link: The Palm Pre &#038; How Sprint Treats Long-Term Customers'>The Palm Pre &#038; How Sprint Treats Long-Term Customers</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://innerphaze.homelinux.com/blog/?feed=rss2&amp;p=970</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>NINJA-IDE &#8211; Under Development Version</title>
		<link>http://innerphaze.homelinux.com/blog/?p=959</link>
		<comments>http://innerphaze.homelinux.com/blog/?p=959#comments</comments>
		<pubDate>Mon, 13 Dec 2010 15:30:02 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[ninja]]></category>

		<guid isPermaLink="false">http://innerphaze.homelinux.com/blog/?p=959</guid>
		<description><![CDATA[  I found this IDE on the Python Rddit. I have been using Geddit, with a lot of plugins, and like it, but want to try something else out. It&#8217;s very nice, and written in Python.  It&#8217;s a new project, but looks and acts very polished.  From the project page: &#8220;NINJA-IDE: A Real Python IDE NINJA-IDE [...]


Related posts:<ol><li><a href='http://innerphaze.homelinux.com/blog/?p=953' rel='bookmark' title='Permanent Link: Popular recipes « ActiveState Code'>Popular recipes « ActiveState Code</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=954' rel='bookmark' title='Permanent Link: From Reddit: GUI tips for python'>From Reddit: GUI tips for python</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=929' rel='bookmark' title='Permanent Link: Open Source Cloud Computing: eyeOS 2.1 Beta Released'>Open Source Cloud Computing: eyeOS 2.1 Beta Released</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p class="diigo-link"> </p>
<p class="diigo-link">I found this IDE on the <a href="http://www.reddit.com/r/Python/">Python Rddit</a>.  I have been using Geddit, with a lot of plugins, and like it, but want  to try something else out. It&#8217;s very nice, and written in Python.  It&#8217;s a new project, but looks and acts very polished.  From the project page:</p>
<p class="diigo-description">&#8220;NINJA-IDE: A Real Python IDE</p>
<p class="diigo-link"><a href="http://ninja-ide.appspot.com">NINJA-IDE &#8211; Under Development Version</a></p>
<ul>
<li>Multi-Language code editor</li>
<li>Code Completion </li>
<li>Embedded Python Console </li>
<li>Manage Projects properties and files </li>
<li>Run File and Projects</li>
<li>Configurable GUI </li>
</ul>
<p class="diigo-tags">NINJA-IDE (from: &#8220;Ninja Is Not Just Another IDE&#8221;), is a  cross-platform integrated development environment specially design to  build Python Applications.  NINJA-IDE provides tools to simplify the Python-software development and  handles all kinds of situations thanks to its rich extensibility.&#8221;<span> </span></p>
<p class="diigo-tags"><span>tags:</span> <a href="http://www.diigo.com/user/noondesertsky/python">python</a> <a href="http://www.diigo.com/user/noondesertsky/programming">programming</a> <a href="http://www.diigo.com/user/noondesertsky/ide">ide</a> <a href="http://www.diigo.com/user/noondesertsky/ninja">ninja</a> <a href="http://www.diigo.com/user/noondesertsky/development">development</a></p>
<p> </p>
<ul> </ul>
<p class="diigo-ps">Posted from <a href="http://www.diigo.com">Diigo</a>. The rest of my favorite links are <a href="http://www.diigo.com/user/noondesertsky">here</a>.</p>


<p>Related posts:<ol><li><a href='http://innerphaze.homelinux.com/blog/?p=953' rel='bookmark' title='Permanent Link: Popular recipes « ActiveState Code'>Popular recipes « ActiveState Code</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=954' rel='bookmark' title='Permanent Link: From Reddit: GUI tips for python'>From Reddit: GUI tips for python</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=929' rel='bookmark' title='Permanent Link: Open Source Cloud Computing: eyeOS 2.1 Beta Released'>Open Source Cloud Computing: eyeOS 2.1 Beta Released</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://innerphaze.homelinux.com/blog/?feed=rss2&amp;p=959</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>From Reddit: GUI tips for python</title>
		<link>http://innerphaze.homelinux.com/blog/?p=954</link>
		<comments>http://innerphaze.homelinux.com/blog/?p=954#comments</comments>
		<pubDate>Mon, 13 Dec 2010 06:43:15 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[ide]]></category>

		<guid isPermaLink="false">http://innerphaze.homelinux.com/blog/?p=954</guid>
		<description><![CDATA[Resources for making great GUI? : Python The cardinal sin though of GUI programming (in C++/Java, etc) is doing &#8220;heavy lifting&#8221; in your GUI threads. That&#8217;s why apps &#8220;grey out&#8221; while they are doing something, they aren&#8217;t threading properly and blocking their GUI update/display(). If something is going to take awhile, do it in another [...]


Related posts:<ol><li><a href='http://innerphaze.homelinux.com/blog/?p=959' rel='bookmark' title='Permanent Link: NINJA-IDE &#8211; Under Development Version'>NINJA-IDE &#8211; Under Development Version</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=953' rel='bookmark' title='Permanent Link: Popular recipes « ActiveState Code'>Popular recipes « ActiveState Code</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=974' rel='bookmark' title='Permanent Link: 6. Iteration — How to Think Like a Computer Scientist: Learning with Python'>6. Iteration — How to Think Like a Computer Scientist: Learning with Python</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.reddit.com/r/Python/comments/eingj/resources_for_making_great_gui/">Resources for making great GUI? : Python</a><br />
<blockquote>The cardinal sin though of GUI programming (in C++/Java, etc) is doing &#8220;heavy lifting&#8221; in your GUI threads. That&#8217;s why apps &#8220;grey out&#8221; while they are doing something, they aren&#8217;t threading properly and blocking their GUI update/display().</p>
<p>If something is going to take awhile, do it in another thread; optionally pop up a progress bar if the user needs to know about it.</p></blockquote>


<p>Related posts:<ol><li><a href='http://innerphaze.homelinux.com/blog/?p=959' rel='bookmark' title='Permanent Link: NINJA-IDE &#8211; Under Development Version'>NINJA-IDE &#8211; Under Development Version</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=953' rel='bookmark' title='Permanent Link: Popular recipes « ActiveState Code'>Popular recipes « ActiveState Code</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=974' rel='bookmark' title='Permanent Link: 6. Iteration — How to Think Like a Computer Scientist: Learning with Python'>6. Iteration — How to Think Like a Computer Scientist: Learning with Python</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://innerphaze.homelinux.com/blog/?feed=rss2&amp;p=954</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Popular recipes « ActiveState Code</title>
		<link>http://innerphaze.homelinux.com/blog/?p=953</link>
		<comments>http://innerphaze.homelinux.com/blog/?p=953#comments</comments>
		<pubDate>Mon, 13 Dec 2010 05:47:21 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[code-snippets]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[reddit]]></category>
		<category><![CDATA[social]]></category>

		<guid isPermaLink="false">http://innerphaze.homelinux.com/blog/?p=953</guid>
		<description><![CDATA[Popular recipes &#171; ActiveState Code awwesome! a bunch of code snipets and python scripts, and functions voted on in a social bookmarking, (reddit) type of way tags: recipes programming code python development howto Posted from Diigo. The rest of my favorite links are here. Related posts:NINJA-IDE &#8211; Under Development Version 6. Iteration — How to [...]


Related posts:<ol><li><a href='http://innerphaze.homelinux.com/blog/?p=959' rel='bookmark' title='Permanent Link: NINJA-IDE &#8211; Under Development Version'>NINJA-IDE &#8211; Under Development Version</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=974' rel='bookmark' title='Permanent Link: 6. Iteration — How to Think Like a Computer Scientist: Learning with Python'>6. Iteration — How to Think Like a Computer Scientist: Learning with Python</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=1032' rel='bookmark' title='Permanent Link: The Art of Scientific and Technological Innovations : Art of Science Learning'>The Art of Scientific and Technological Innovations : Art of Science Learning</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<ul class="diigo-linkroll">
<li>
<p class="diigo-link"><a href="http://code.activestate.com/recipes">Popular recipes &laquo; ActiveState Code</a></p>
<p class="diigo-description">awwesome! a bunch of code snipets and python scripts, and functions voted on in a social bookmarking, (reddit) type of way</p>
<p class="diigo-tags"><span>tags:</span>                        <a href="http://www.diigo.com/user/noondesertsky/recipes">recipes</a>             <a href="http://www.diigo.com/user/noondesertsky/programming">programming</a>             <a href="http://www.diigo.com/user/noondesertsky/code">code</a>             <a href="http://www.diigo.com/user/noondesertsky/python">python</a>             <a href="http://www.diigo.com/user/noondesertsky/development">development</a>             <a href="http://www.diigo.com/user/noondesertsky/howto">howto</a></p>
</li>
</ul>
<p class="diigo-ps">Posted from <a href="http://www.diigo.com">Diigo</a>. The rest of my favorite links are <a href="http://www.diigo.com/user/noondesertsky">here</a>.</p>


<p>Related posts:<ol><li><a href='http://innerphaze.homelinux.com/blog/?p=959' rel='bookmark' title='Permanent Link: NINJA-IDE &#8211; Under Development Version'>NINJA-IDE &#8211; Under Development Version</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=974' rel='bookmark' title='Permanent Link: 6. Iteration — How to Think Like a Computer Scientist: Learning with Python'>6. Iteration — How to Think Like a Computer Scientist: Learning with Python</a></li>
<li><a href='http://innerphaze.homelinux.com/blog/?p=1032' rel='bookmark' title='Permanent Link: The Art of Scientific and Technological Innovations : Art of Science Learning'>The Art of Scientific and Technological Innovations : Art of Science Learning</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://innerphaze.homelinux.com/blog/?feed=rss2&amp;p=953</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
	</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 3.653 seconds -->
<!-- Cached page served by WP-Cache -->
