<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Akagra</title>
	
	<link>http://www.chaim.com/blog</link>
	<description>Just One More</description>
	<lastBuildDate>Mon, 01 Mar 2010 20:51:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Akagra" /><feedburner:info uri="akagra" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><geo:lat>39.298776</geo:lat><geo:long>-94.935559</geo:long><creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.0/</creativeCommons:license><image><link>http://www.feedburner.com</link><url>http://feeds.feedburner.com/~fc/midnightBlue?bg=000033&amp;fg=FFFFFF&amp;anim=1</url><title>This Feed Powered by FeedBurner.com</title></image><feedburner:browserFriendly>This is an XML content feed. It is intended to be viewed in a newsreader or syndicated to another site.</feedburner:browserFriendly><item>
		<title>When 40%-Off Your Total Purchase Becomes 0.3%-Off</title>
		<link>http://feedproxy.google.com/~r/Akagra/~3/C90biuJV16g/84</link>
		<comments>http://www.chaim.com/blog/archives/84#comments</comments>
		<pubDate>Mon, 01 Mar 2010 20:51:58 +0000</pubDate>
		<dc:creator>Chaim</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.chaim.com/blog/?p=84</guid>
		<description>I received a &amp;#8220;Come Back. We Miss You.&amp;#8221; discount coupon from a major technical book publisher. They said that I could get 40% off my total purchase. Great, I thought. They wanted to incent  me to buy some books (IOW spend some money with them) that I wouldn&amp;#8217;t otherwise have done without the discount coupon. [...]</description>
			<content:encoded><![CDATA[<p><span class="dropcap">I</span> received a &#8220;Come Back. We Miss You.&#8221; discount coupon from a major technical book publisher. They said that I could get 40% off my total purchase. Great, I thought. They wanted to incent  me to buy some books (IOW spend some money with them) that I wouldn&#8217;t otherwise have done without the discount coupon. This would have worked, but didn&#8217;t.<span id="more-84"></span></p>
<p>As many programmers I have two list of books. One is the list of books I want/need. I purchase these books (yes, often with discounts) because I am willing to part with my cash for them. Then there is the second list of books. These books I might like to get, but aren&#8217;t willing it purchase because there are other things that would give me better value/return for my money. However, I can be persuaded to purchase the items on the second list if I get a deeper-than-normal discount. I thought I had received an offer of the latter type. Turns out I was wrong.</p>
<p>Here&#8217;s the deal. This publisher sells print and ebook versions of their titles. If you purchase both at the same time, you get a significant discount on the ebook. For example, $44.99 for print, $35.99 for ebook, or buy the $44.99 print version and for $4.50 more, you can get the ebook. Basically add 10% to get the ebook bundled. I put 4 print+ebook bundles in my shopping cart. That totaled $159.46. I <em>expected</em> to be able to use my 40% coupon and get that for $95.68. That&#8217;s a great price and would push me to purchase close to $100 worth of merchandise from this vendor that I wouldn&#8217;t have otherwise spent.</p>
<p>But that is not the case. Why? When I added the discount code <strong>they un-bundled the ebook from the print book</strong>. This meant that I got 40% off the <em>non-bundled</em> (i.e. $44.99 + $35.99) price instead of the bundled price ($49.49). This meant that instead of $95.68 my cost would be $158.95. Significantly higher and only a 0.3% discount.</p>
<p>I didn&#8217;t make the purchase and they lost $95.68 that I was ready to give them.</p>
<p>Am I being greedy? I&#8217;d like to hear your thoughts?</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Akagra?a=C90biuJV16g:rRbdqTa-ugQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Akagra?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Akagra?a=C90biuJV16g:rRbdqTa-ugQ:ANkz6nJbUoM"><img src="http://feeds.feedburner.com/~ff/Akagra?d=ANkz6nJbUoM" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Akagra?a=C90biuJV16g:rRbdqTa-ugQ:54uhH9g36Wk"><img src="http://feeds.feedburner.com/~ff/Akagra?i=C90biuJV16g:rRbdqTa-ugQ:54uhH9g36Wk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.chaim.com/blog/archives/84/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.chaim.com/blog/archives/84</feedburner:origLink></item>
		<item>
		<title>I’ll Write More…</title>
		<link>http://feedproxy.google.com/~r/Akagra/~3/NsY1TuFMjnQ/81</link>
		<comments>http://www.chaim.com/blog/archives/81#comments</comments>
		<pubDate>Fri, 22 Jan 2010 04:42:07 +0000</pubDate>
		<dc:creator>Chaim</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.chaim.com/blog/?p=81</guid>
		<description>I&amp;#8217;ll write more:

but I&amp;#8217;m off to bed.
but I&amp;#8217;m too busy right now.
but I don&amp;#8217;t know of what to write about.
after I finish this project.

The excuses keep coming. But it is a new year and Skribit has launched, so maybe I will make a belated New Year&amp;#8217;s Resolution and start writing more. You can help me [...]</description>
			<content:encoded><![CDATA[<p><span class="dropcap">I</span>&#8217;ll write more:</p>
<ul>
<li>but I&#8217;m off to bed.</li>
<li>but I&#8217;m too busy right now.</li>
<li>but I don&#8217;t know of what to write about.</li>
<li>after I finish this project.</li>
</ul>
<p>The excuses keep coming. But it is a new year and <a href="http://skribit.com/blog/2009/12/16/launch-day-arrives/">Skribit</a> has launched, so maybe I will make a belated New Year&#8217;s Resolution and start writing more. You can help me out by using the Skribit widget down and to the right.</p>
<p>I&#8217;ll write more later because I&#8217;m off to bed now.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Akagra?a=NsY1TuFMjnQ:usqN49a_dQ4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Akagra?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Akagra?a=NsY1TuFMjnQ:usqN49a_dQ4:ANkz6nJbUoM"><img src="http://feeds.feedburner.com/~ff/Akagra?d=ANkz6nJbUoM" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Akagra?a=NsY1TuFMjnQ:usqN49a_dQ4:54uhH9g36Wk"><img src="http://feeds.feedburner.com/~ff/Akagra?i=NsY1TuFMjnQ:usqN49a_dQ4:54uhH9g36Wk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.chaim.com/blog/archives/81/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.chaim.com/blog/archives/81</feedburner:origLink></item>
		<item>
		<title>Bug and Workaround in WinWGet</title>
		<link>http://feedproxy.google.com/~r/Akagra/~3/QlabywxLz-Y/78</link>
		<comments>http://www.chaim.com/blog/archives/78#comments</comments>
		<pubDate>Sat, 09 Jan 2010 23:34:06 +0000</pubDate>
		<dc:creator>Chaim</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.chaim.com/blog/?p=78</guid>
		<description>I am running WinWGet Portable as part of my PortableApps setup and I discovered a bug in WinWGet (version 0.20 beta April 2004).

When attempting to use HTTP authentication…

the &amp;#8220;HTTP Options&amp;#8221; tab has a box for &amp;#8211;http-passwd, but
it actually passes &amp;#8211;http-pass when run, however
wget actually takes &amp;#8211;http-password for an option, so don&amp;#8217;t put anything in for [...]</description>
			<content:encoded><![CDATA[<p><span class="dropcap">I</span> am running <a href="http://portableapps.com/apps/internet/winwget_portable">WinWGet Portable</a> as part of my <a href="http://portableapps.com/">PortableApps</a> setup and I discovered a bug in <a href="http://www.cybershade.us/winwget/">WinWGet</a> (version 0.20 beta April 2004).<br />
<span id="more-78"></span><br />
When attempting to use HTTP authentication…</p>
<ol>
<li>the &#8220;HTTP Options&#8221; tab has a box for <strong>&#8211;http-passwd</strong>, but</li>
<li>it actually passes <strong>&#8211;http-pass</strong> when run, however</li>
<li>wget actually takes <strong>&#8211;http-password</strong> for an option, so don&#8217;t put anything in for <strong>&#8211;http-passwd</strong> on the &#8220;HTTP Options&#8221; tab, but instead</li>
<li>use the &#8220;Additional Params&#8221; box on the &#8220;Logging and input&#8221; tab and enter your password as <strong>&#8211;http-password=&#8221;</strong><em>password</em><strong>&#8220;</strong>.</li>
</ol>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Akagra?a=QlabywxLz-Y:2CT4w6ligio:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Akagra?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Akagra?a=QlabywxLz-Y:2CT4w6ligio:ANkz6nJbUoM"><img src="http://feeds.feedburner.com/~ff/Akagra?d=ANkz6nJbUoM" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Akagra?a=QlabywxLz-Y:2CT4w6ligio:54uhH9g36Wk"><img src="http://feeds.feedburner.com/~ff/Akagra?i=QlabywxLz-Y:2CT4w6ligio:54uhH9g36Wk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.chaim.com/blog/archives/78/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.chaim.com/blog/archives/78</feedburner:origLink></item>
		<item>
		<title>Doh! I can use iSCSI.</title>
		<link>http://feedproxy.google.com/~r/Akagra/~3/z2qQ_5x8zcI/75</link>
		<comments>http://www.chaim.com/blog/archives/75#comments</comments>
		<pubDate>Sat, 24 Oct 2009 23:59:13 +0000</pubDate>
		<dc:creator>Chaim</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Alcohol 120%]]></category>
		<category><![CDATA[Alcohol 52%]]></category>
		<category><![CDATA[iSCSI]]></category>
		<category><![CDATA[Remote Desktop Connection]]></category>

		<guid isPermaLink="false">http://www.chaim.com/blog/?p=75</guid>
		<description>At home I have a desktop computer that I use mostly for gaming. I have a laptop that I use for my home office work and development. I often use a Windows Remote Desktop Connection to use my laptop (that is sitting in my office) while I am in the living room where my desktop [...]</description>
			<content:encoded><![CDATA[<p><span class="dropcap">A</span>t home I have a desktop computer that I use mostly for gaming. I have a laptop that I use for my home office work and development. I often use a Windows Remote Desktop Connection to use my laptop (that is sitting in my office) while I am in the living room where my desktop is. Today I needed to create some ISO images from CDs and burn some ISOs to disc. I didn&#8217;t want to run back and forth between my living room and my office.</p>
<p>Then I remembered that I had <a href="http://trial.alcohol-soft.com/en/alcohol_info.php">Alcohol 52%</a> on my desktop and <a href="http://www.alcohol-soft.com/">Alcohol 120%</a> on my laptops.</p>
<p>I used Alcohol 52% to <a href="http://support.alcohol-soft.com/en/documentation/english/index.html?iscsi.htm">share the DVD-RW on my desktop using Alcohol iSCSI Server</a> and my laptop is running Vista, so I used Vista&#8217;s built-in iSCSI client and mounted the drive.</p>
<p>Now I could use the DVD-RW drive that was physically on my desktop with Alcohol 120% running on my laptop over a Remote Desktop Connection.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Akagra?a=z2qQ_5x8zcI:2Y5JZRs8KwU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Akagra?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Akagra?a=z2qQ_5x8zcI:2Y5JZRs8KwU:ANkz6nJbUoM"><img src="http://feeds.feedburner.com/~ff/Akagra?d=ANkz6nJbUoM" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Akagra?a=z2qQ_5x8zcI:2Y5JZRs8KwU:54uhH9g36Wk"><img src="http://feeds.feedburner.com/~ff/Akagra?i=z2qQ_5x8zcI:2Y5JZRs8KwU:54uhH9g36Wk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.chaim.com/blog/archives/75/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.chaim.com/blog/archives/75</feedburner:origLink></item>
		<item>
		<title>Bootstraping setuptools</title>
		<link>http://feedproxy.google.com/~r/Akagra/~3/ikkFFFmEqo4/70</link>
		<comments>http://www.chaim.com/blog/archives/70#comments</comments>
		<pubDate>Fri, 09 Oct 2009 03:11:48 +0000</pubDate>
		<dc:creator>Chaim</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[easy_install]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[setuptools]]></category>

		<guid isPermaLink="false">http://www.chaim.com/blog/?p=70</guid>
		<description>Download http://peak.telecommunity.com/dist/ez_setup.py and execute it.

wget http://peak.telecommunity.com/dist/ez_setup.py
chmod 777 ez_setup.py
python ez_setup.py</description>
			<content:encoded><![CDATA[<p><span class="dropcap">D</span>ownload http://peak.telecommunity.com/dist/ez_setup.py and execute it.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>peak.telecommunity.com<span style="color: #000000; font-weight: bold;">/</span>dist<span style="color: #000000; font-weight: bold;">/</span>ez_setup.py
<span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">777</span> ez_setup.py
python ez_setup.py</pre></div></div>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Akagra?a=ikkFFFmEqo4:KrY57tHXnUI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Akagra?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Akagra?a=ikkFFFmEqo4:KrY57tHXnUI:ANkz6nJbUoM"><img src="http://feeds.feedburner.com/~ff/Akagra?d=ANkz6nJbUoM" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Akagra?a=ikkFFFmEqo4:KrY57tHXnUI:54uhH9g36Wk"><img src="http://feeds.feedburner.com/~ff/Akagra?i=ikkFFFmEqo4:KrY57tHXnUI:54uhH9g36Wk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.chaim.com/blog/archives/70/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.chaim.com/blog/archives/70</feedburner:origLink></item>
		<item>
		<title>Setting up SSH login</title>
		<link>http://feedproxy.google.com/~r/Akagra/~3/EPUXf0-X7AE/68</link>
		<comments>http://www.chaim.com/blog/archives/68#comments</comments>
		<pubDate>Thu, 08 Oct 2009 22:03:44 +0000</pubDate>
		<dc:creator>Chaim</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[SSH authorized_keys]]></category>

		<guid isPermaLink="false">http://www.chaim.com/blog/archives/68</guid>
		<description>I can never seem to remember the steps despite it being so simple. I just don&amp;#8217;t do it enough to remember.

mkdir .ssh
chmod 700 .ssh
cd .ssh
vi authorized_keys
// paste public key
chmod 600 authorized_keys</description>
			<content:encoded><![CDATA[<p><span class="dropcap">I</span> can never seem to remember the steps despite it being so simple. I just don&#8217;t do it enough to remember.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> .ssh
<span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">700</span> .ssh
<span style="color: #7a0874; font-weight: bold;">cd</span> .ssh
<span style="color: #c20cb9; font-weight: bold;">vi</span> authorized_keys
<span style="color: #000000; font-weight: bold;">//</span> paste public key
<span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">600</span> authorized_keys</pre></div></div>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Akagra?a=EPUXf0-X7AE:MY4XlQgjHj4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Akagra?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Akagra?a=EPUXf0-X7AE:MY4XlQgjHj4:ANkz6nJbUoM"><img src="http://feeds.feedburner.com/~ff/Akagra?d=ANkz6nJbUoM" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Akagra?a=EPUXf0-X7AE:MY4XlQgjHj4:54uhH9g36Wk"><img src="http://feeds.feedburner.com/~ff/Akagra?i=EPUXf0-X7AE:MY4XlQgjHj4:54uhH9g36Wk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.chaim.com/blog/archives/68/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.chaim.com/blog/archives/68</feedburner:origLink></item>
		<item>
		<title>Using IPython With Take Command</title>
		<link>http://feedproxy.google.com/~r/Akagra/~3/YafSsZQrrmU/52</link>
		<comments>http://www.chaim.com/blog/archives/52#comments</comments>
		<pubDate>Wed, 07 Oct 2009 02:50:52 +0000</pubDate>
		<dc:creator>Chaim</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ipython]]></category>
		<category><![CDATA[TCC]]></category>
		<category><![CDATA[TCM]]></category>

		<guid isPermaLink="false">http://www.chaim.com/blog/?p=52</guid>
		<description>I am running on Windows and using JP Software&amp;#8217;s Take Command version 10. I also like to use IPython.
When I invoke IPython from a TCC shell I have problems with aliases that shell out to TCC from IPython. For example, a simple ls command.
I discovered that the DOS/TCC environmental variable COMSPEC is set to a [...]</description>
			<content:encoded><![CDATA[<p><span class="dropcap">I</span> am running on Windows and using JP Software&#8217;s <a href="http://www.jpsoft.com/tcmddes.htm">Take Command</a> version 10. I also like to use IPython.</p>
<p>When I invoke IPython from a TCC shell I have problems with aliases that shell out to TCC from IPython. For example, a simple <code>ls</code> command.</p>
<p>I discovered that the DOS/TCC environmental variable COMSPEC is set to a value that includes a space (<code>C:\Program Files\JPSoft\TCMD10\TCC.EXE</code>). If I set it to the 8.3 value (<code>C:\PROGRA~1\JPSoft\TCMD10\tcc.exe</code>) before invoking IPython, all is well.<br />
<span id="more-52"></span><br />
Here is a log of my session:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">TCC  10.00.76   Windows Vista [Version 6.0.6002]
Copyright 2009  Rex Conn &amp; JP Software Inc.  All Rights Reserved
Registered to Chaim Krause - 1 System License
&nbsp;
[C:\Program Files\JPSoft\TCMD10]echo %COMSPEC%
C:\Program Files\JPSoft\TCMD10\TCC.EXE
&nbsp;
[C:\Program Files\JPSoft\TCMD10]ipython
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]
Type &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
&nbsp;
IPython 0.10 -- An enhanced Interactive Python.
?         -&gt; Introduction and overview of IPython's features.
%quickref -&gt; Quick reference.
help      -&gt; Python's own help system.
object?   -&gt; Details about 'object'. ?object also works, ?? prints more.
&nbsp;
In [1]: ls
&nbsp;
TCC  10.00.76   Windows Vista [Version 6.0.6002]
Copyright 2009  Rex Conn &amp; JP Software Inc.  All Rights Reserved
Registered to Chaim Krause - 1 System License
&nbsp;
TCC: Unknown command &quot;Files\JPSoft\TCMD10\TCC.EXE&quot;
&nbsp;
[C:\Program Files\JPSoft\TCMD10]exit
&nbsp;
In [2]: Exit
&nbsp;
[C:\Program Files\JPSoft\TCMD10]set COMSPEC=C:\PROGRA~1\JPSoft\TCMD10\tcc.exe
&nbsp;
[C:\Program Files\JPSoft\TCMD10]ipython
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]
Type &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
&nbsp;
IPython 0.10 -- An enhanced Interactive Python.
?         -&gt; Introduction and overview of IPython's features.
%quickref -&gt; Quick reference.
help      -&gt; Python's own help system.
object?   -&gt; Details about 'object'. ?object also works, ?? prints more.
&nbsp;
In [1]: ls
&nbsp;
 Volume in drive C is VISTA          Serial number is 43eb:d126
 Directory of  C:\Program Files\JPSoft\TCMD10\*
&nbsp;
10/06/2009  21:08         &lt;DIR&gt;    .
10/06/2009  21:08         &lt;DIR&gt;    ..
 8/29/2009  13:48          80,184  4nt.exe
10/06/2009  19:35         &lt;DIR&gt;    EditConfig
 8/29/2009  13:48         369,976  English.dll
 8/29/2009  13:48         290,616  EnglishD.dll
 2/19/2008  23:36          20,342  examples.btm
 8/29/2009  13:48         394,552  French.dll
 8/29/2009  13:48         295,224  FrenchD.dll
 8/29/2009  13:48         393,528  German.dll
 8/29/2009  13:48         295,224  GermanD.dll
 8/29/2009  13:48       2,731,320  ide.exe
 4/10/2008  13:04         652,752  ipworks6.dll
 4/10/2008  13:38         579,024  ipwssl6.dll
 1/01/2009  11:38           9,413  license.txt
 8/29/2009  13:48         299,320  onig.dll
 3/11/2009  21:30           6,487  readme.txt
 8/29/2009  13:48          14,136  ShrAlias.exe
 8/29/2009  13:48         930,616  TakeCmd.dll
 6/23/2009  10:28             131  TakeCommand.key
 8/29/2009  13:48          80,184  tcc.exe
 9/30/2008  23:46             986  tccbatch.btm
 5/03/2008  13:29           1,154  tcchere.btm
 7/07/2008  20:51           1,256  tcctabhere.btm
 7/25/2009   8:53       1,574,516  tcmd.chm
10/06/2009  19:38         213,785  TCMD.chw
 8/29/2009  13:48       2,470,712  tcmd.exe
 5/03/2008  13:29           1,188  tcmdhere.btm
 8/29/2009  13:49         294,200  updater.exe
10/06/2009  19:35             311  updater.ini
 9/17/2009  15:01               0  userschaimappdatalocaltemptmp-ipython-8imnxi.py
 8/29/2009  13:48         234,808  WiFiMan.dll
        12,235,945 bytes in 29 files and 3 dirs    12,308,480 bytes allocated
    11,714,748,416 bytes free
&nbsp;
In [2]: Exit
&nbsp;
[C:\Program Files\JPSoft\TCMD10]</pre></div></div>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Akagra?a=YafSsZQrrmU:21ZaVHAmZuA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Akagra?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Akagra?a=YafSsZQrrmU:21ZaVHAmZuA:ANkz6nJbUoM"><img src="http://feeds.feedburner.com/~ff/Akagra?d=ANkz6nJbUoM" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Akagra?a=YafSsZQrrmU:21ZaVHAmZuA:54uhH9g36Wk"><img src="http://feeds.feedburner.com/~ff/Akagra?i=YafSsZQrrmU:21ZaVHAmZuA:54uhH9g36Wk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.chaim.com/blog/archives/52/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.chaim.com/blog/archives/52</feedburner:origLink></item>
		<item>
		<title>Starting IPython Shell While In Virtualenv Sandbox</title>
		<link>http://feedproxy.google.com/~r/Akagra/~3/akGWOhg8RtU/42</link>
		<comments>http://www.chaim.com/blog/archives/42#comments</comments>
		<pubDate>Wed, 07 Oct 2009 01:07:30 +0000</pubDate>
		<dc:creator>Chaim</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ipython]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[TCC]]></category>
		<category><![CDATA[TCM]]></category>
		<category><![CDATA[virtualenv]]></category>

		<guid isPermaLink="false">http://www.chaim.com/blog/?p=42</guid>
		<description>I&amp;#8217;m on Windows and I have created a virtualenv sandbox. I activate the sandbox and now I want to start up an IPython shell using the sandboxed environment. The following will do just that.

python -c &amp;#34;import IPython.Shell; IPython.Shell.IPShell().mainloop(sys_exit=1)&amp;#34;

thx to ThomasWaldmann on #python

Update: I thought I was doing something wrong. I would execute the command listed [...]</description>
			<content:encoded><![CDATA[<p><span class="dropcap">I</span>&#8217;m on Windows and I have created a virtualenv sandbox. I activate the sandbox and now I want to start up an IPython shell using the sandboxed environment. The following will do just that.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">python -c &quot;import IPython.Shell; IPython.Shell.IPShell().mainloop(sys_exit=1)&quot;</pre></div></div>

<p><em>thx to ThomasWaldmann on #python</em><br />
<span id="more-42"></span><br />
<strong>Update</strong>: I thought I was doing something wrong. I would execute the command listed above and then do a <code>ls</code> and I would get a DOS command prompt instead of executing an aliased <code>DIR</code> and an error message. One of the additional things was that I was doing this inside <a href="http://www.jpsoft.com/tcmddes.htm">TakeCommand</a>; in a TCC shell. I executed an <code>exit</code> and it returned to the IPython Shell.</p>
<p>It turns out that the command wasn&#8217;t successfully executing because the environmental variable COMSPEC was set to <code>C:\Program Files\JPSoft\TCMD10\TCC.EXE</code>. This includes a space and I thought that might be the cause of the problem. It turns out I was right.</p>
<p>If, before I execute the python command, I set the environmental variable COMSPEC to <code>C:\PROGRA~1\JPSoft\TCMD10\tcc.exe</code>, then all is well.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Akagra?a=akGWOhg8RtU:CnV1x_GfTWk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Akagra?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Akagra?a=akGWOhg8RtU:CnV1x_GfTWk:ANkz6nJbUoM"><img src="http://feeds.feedburner.com/~ff/Akagra?d=ANkz6nJbUoM" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Akagra?a=akGWOhg8RtU:CnV1x_GfTWk:54uhH9g36Wk"><img src="http://feeds.feedburner.com/~ff/Akagra?i=akGWOhg8RtU:CnV1x_GfTWk:54uhH9g36Wk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.chaim.com/blog/archives/42/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.chaim.com/blog/archives/42</feedburner:origLink></item>
		<item>
		<title>Install a Python extension to a virtualenv sandbox that is packaged as a Windows binary installer</title>
		<link>http://feedproxy.google.com/~r/Akagra/~3/-0KioghZsBw/36</link>
		<comments>http://www.chaim.com/blog/archives/36#comments</comments>
		<pubDate>Mon, 05 Oct 2009 02:15:51 +0000</pubDate>
		<dc:creator>Chaim</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[binary]]></category>
		<category><![CDATA[installer]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[virtualenv]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.chaim.com/blog/?p=36</guid>
		<description>Today I wanted to install the Python Cryptography Toolkit into a sandbox I had created using virtualenv. The issue was that the PCT was available as a Windows binary at The Voidspace Python Modules but I didn&amp;#8217;t know how to install it to a sandbox because the EXE installer looks to the registry for the [...]</description>
			<content:encoded><![CDATA[<p><span class="dropcap">T</span>oday I wanted to install the <a href="http://www.amk.ca/python/code/crypto">Python Cryptography Toolkit</a> into a sandbox I had created using <a href="http://pypi.python.org/pypi/virtualenv">virtualenv</a>. The issue was that the PCT was available as a Windows binary at <a href="http://www.voidspace.org.uk/python/modules.shtml#pycrypto">The Voidspace Python Modules</a> but I didn&#8217;t know how to install it to a sandbox because the EXE installer looks to the registry for the location of the system installation of Python.</p>
<p>After a little searching and experimenting I realized that all you need to do is to change the location the registry is point to from the system installation of Python to the sandboxed version.</p>
<p>So in my case I backed up the current registry key.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">REGEDIT4
&nbsp;
[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\InstallPath]
@=&quot;C:\\Python26\\&quot;</pre></div></div>

<p>And then created a copy of the file and modified it to point to the sandboxed Python install.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">REGEDIT4
&nbsp;
[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\InstallPath]
@=&quot;D:\\workspace\\mysandbox\\&quot;</pre></div></div>

<p>At this point you simply run the EXE installer and it will be installed to the sandbox. After it is installed, restore the original registry key,</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Akagra?a=-0KioghZsBw:aJHHRVxy9Sk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Akagra?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Akagra?a=-0KioghZsBw:aJHHRVxy9Sk:ANkz6nJbUoM"><img src="http://feeds.feedburner.com/~ff/Akagra?d=ANkz6nJbUoM" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Akagra?a=-0KioghZsBw:aJHHRVxy9Sk:54uhH9g36Wk"><img src="http://feeds.feedburner.com/~ff/Akagra?i=-0KioghZsBw:aJHHRVxy9Sk:54uhH9g36Wk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.chaim.com/blog/archives/36/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.chaim.com/blog/archives/36</feedburner:origLink></item>
		<item>
		<title>Adding Color To Your ls Listings in Bash</title>
		<link>http://feedproxy.google.com/~r/Akagra/~3/-gDTfdR_W2E/26</link>
		<comments>http://www.chaim.com/blog/archives/26#comments</comments>
		<pubDate>Sat, 19 Sep 2009 21:44:08 +0000</pubDate>
		<dc:creator>Chaim</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ls]]></category>

		<guid isPermaLink="false">http://www.chaim.com/blog/?p=26</guid>
		<description>Modify your .bash_profile (login options; .bashrc is for non-login options) to include the following:

export LS_OPTIONS='--color=auto'
eval `dircolors`
alias ls='ls $LS_OPTIONS'</description>
			<content:encoded><![CDATA[<p><span class="dropcap">M</span>odify your <code>.bash_profile</code> (login options; <code>.bashrc i</code>s for non-login options) to include the following:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">LS_OPTIONS</span>=<span style="color: #ff0000;">'--color=auto'</span>
<span style="color: #7a0874; font-weight: bold;">eval</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">dircolors</span><span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;"><span style="color: #c20cb9; font-weight: bold;">ls</span></span>=<span style="color: #ff0000;">'ls $LS_OPTIONS'</span></pre></div></div>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Akagra?a=-gDTfdR_W2E:JnFjIRIv1mo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Akagra?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Akagra?a=-gDTfdR_W2E:JnFjIRIv1mo:ANkz6nJbUoM"><img src="http://feeds.feedburner.com/~ff/Akagra?d=ANkz6nJbUoM" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Akagra?a=-gDTfdR_W2E:JnFjIRIv1mo:54uhH9g36Wk"><img src="http://feeds.feedburner.com/~ff/Akagra?i=-gDTfdR_W2E:JnFjIRIv1mo:54uhH9g36Wk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.chaim.com/blog/archives/26/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.chaim.com/blog/archives/26</feedburner:origLink></item>
	</channel>
</rss>
