<?xml version="1.0"?>
<!-- RSS generated by Radio UserLand v8.0.8 on Sat, 21 Dec 2002 14:17:05 GMT -->
<rss version="2.0">
	<channel>
		<title>Micah Alpern: The life and times of CS211</title>
		<link>http://radio.weblogs.com/0100168/categories/theLifeAndTimesOfCs211/</link>
		<description>Notes, tips, and tricks from the trenches</description>
		<language>en-us</language>
		<copyright>Copyright 2002 Micah Alpern</copyright>
		<lastBuildDate>Sat, 21 Dec 2002 14:17:05 GMT</lastBuildDate>
		<docs>http://backend.userland.com/rss</docs>
		<generator>Radio UserLand v8.0.8</generator>
		<managingEditor>micaha@andrew.cmu.edu</managingEditor>
		<webMaster>micaha@andrew.cmu.edu</webMaster>
		<category domain="http://www.weblogs.com/rssUpdates/changes.xml">rssUpdates</category> 
		<skipHours>
			<hour>1</hour>
			<hour>2</hour>
			<hour>3</hour>
			<hour>4</hour>
			<hour>5</hour>
			<hour>0</hour>
			<hour>6</hour>
			<hour>14</hour>
			</skipHours>
		<cloud domain="radio.xmlstoragesystem.com" port="80" path="/RPC2" registerProcedure="xmlStorageSystem.rssPleaseNotify" protocol="xml-rpc"/>
		<ttl>60</ttl>
		<item>
			<description>&lt;H2 class=MsoNormal style=&quot;MARGIN: 0in 0in 0pt&quot;&gt;When to use Affect vs Effect&lt;/H2&gt;
&lt;P class=MsoNormal style=&quot;MARGIN: 0in 0in 0pt&quot;&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style=&quot;MARGIN: 0in 0in 0pt&quot;&gt;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;I quick google search didn&amp;#146;t produce the answer so I thought I&amp;#146;d post it:&lt;BR&gt;&lt;/P&gt;
&lt;P class=MsoNormal style=&quot;MARGIN: 0in 0in 0pt&quot;&gt;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;B style=&quot;mso-bidi-font-weight: normal&quot;&gt;Affect is a verb&lt;?xml:namespace prefix = o ns = &quot;urn:schemas-microsoft-com:office:office&quot; /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style=&quot;MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: 0.5in&quot;&gt;e.g. What you eat &lt;B style=&quot;mso-bidi-font-weight: normal&quot;&gt;affects&lt;/B&gt; how much you weigh.&lt;/P&gt;
&lt;P class=MsoNormal style=&quot;MARGIN: 0in 0in 0pt&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style=&quot;MARGIN: 0in 0in 0pt&quot;&gt;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;B style=&quot;mso-bidi-font-weight: normal&quot;&gt;Effect is a noun&lt;o:p&gt;&lt;/o:p&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style=&quot;MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: 0.5in&quot;&gt;e.g. The &lt;B style=&quot;mso-bidi-font-weight: normal&quot;&gt;effect&lt;/B&gt; of putting your hand through a window is your hand will be cut.&lt;/P&gt;
&lt;P class=MsoNormal style=&quot;MARGIN: 0in 0in 0pt&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style=&quot;MARGIN: 0in 0in 0pt 0.5in&quot;&gt;For the grammatically challenged, if you can replace the word with &lt;B style=&quot;mso-bidi-font-weight: normal&quot;&gt;result&lt;/B&gt; and it still makes sense your using it as a noun so say effect.&lt;BR&gt;&lt;/P&gt;
&lt;P class=MsoNormal style=&quot;MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: 0.5in&quot;&gt;&lt;S&gt;What you eat &lt;B style=&quot;mso-bidi-font-weight: normal&quot;&gt;result&lt;/B&gt; how much you weigh.&lt;/S&gt;&lt;I style=&quot;mso-bidi-font-style: normal&quot;&gt;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;- use affect&lt;/I&gt;&lt;S&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/S&gt;&lt;/P&gt;
&lt;P class=MsoNormal style=&quot;MARGIN: 0in 0in 0pt 0.5in&quot;&gt;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;The &lt;B style=&quot;mso-bidi-font-weight: normal&quot;&gt;result&lt;/B&gt; of putting your hand through a window is your hand will be cut.&lt;SPAN style=&quot;mso-spacerun: yes&quot;&gt;&amp;nbsp; &lt;/SPAN&gt;- &lt;I style=&quot;mso-bidi-font-style: normal&quot;&gt;use effect&lt;o:p&gt;&lt;/o:p&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P class=MsoNormal style=&quot;MARGIN: 0in 0in 0pt&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style=&quot;MARGIN: 0in 0in 0pt&quot;&gt;&lt;o:p&gt;&lt;EM&gt;&lt;A href=&quot;http://www.tuxedo.org/~esr/jargon/html/entry/Share-and-enjoy!.html&quot;&gt;share and enjoy&lt;/A&gt;&lt;/EM&gt;&lt;/o:p&gt;&lt;/P&gt;</description>
			<guid>http://radio.weblogs.com/0100168/categories/theLifeAndTimesOfCs211/2002/12/11.html#a446</guid>
			<pubDate>Wed, 11 Dec 2002 16:52:30 GMT</pubDate>
			</item>
		<item>
			<title>searching far and wide</title>
			<description>&lt;P&gt;We talked about search engines in CS211 today. Got me thinking about some other good things I should read:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href=&quot;http://duncan.focuseek.com/2002/07/googleintegrity/&quot;&gt;Google&apos;s Integrity&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href=&quot;http://www.levien.com/thesis/thesis.pdf&quot;&gt;Attack Resistant Trust Metrics&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
			<guid>http://radio.weblogs.com/0100168/categories/theLifeAndTimesOfCs211/2002/10/03.html#a331</guid>
			<pubDate>Fri, 04 Oct 2002 00:12:02 GMT</pubDate>
			</item>
		<item>
			<description>&lt;FONT face=Arial size=2&gt;Some new things in Java&amp;nbsp;1.4 I need to look into:&amp;nbsp;&amp;nbsp;using the split method in the String class instead of StringTokenizer or using regular expressions. &lt;/FONT&gt;</description>
			<guid>http://radio.weblogs.com/0100168/categories/theLifeAndTimesOfCs211/2002/09/04.html#a282</guid>
			<pubDate>Wed, 04 Sep 2002 22:01:54 GMT</pubDate>
			</item>
		<item>
			<description>&lt;P&gt;As I posted before, I&apos;m struggling to get &lt;A href=&quot;http://www.cvshome.org/&quot;&gt;CVS&lt;/A&gt; (concurrent version control) to work with &lt;A href=&quot;http://www.sun.com/software/sundev/jde/&quot;&gt;Forte&lt;/A&gt;.&amp;nbsp; Forte&amp;nbsp;is&amp;nbsp;Sun&apos;s&amp;nbsp;free integrated development enviorment.&amp;nbsp;&amp;nbsp;&lt;A href=&quot;http://www.netbeans.org/&quot;&gt;Netbeans&lt;/A&gt; is Forte&apos;s open source cousin.&amp;nbsp; Here&apos;s an update and some info for anyone else whose stuck on a similar problem.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;CVS Server&lt;BR&gt;&lt;/STRONG&gt;I have the CVS server running as a service under XP.&amp;nbsp; Here&apos;s the &lt;A href=&quot;http://www.cvsnt.org/&quot;&gt;windows installer&lt;/A&gt; and &lt;A href=&quot;http://w1.858.telia.com/~u85831169/InstallCVSNT.html&quot;&gt;step-by-step install docs&lt;/A&gt;.&amp;nbsp; &lt;EM&gt;(a big thank you to Bo Berglund&lt;/EM&gt;&lt;EM&gt;&amp;nbsp;for writting&amp;nbsp;the docs)&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Stand Alone CVS Client&lt;BR&gt;&lt;/STRONG&gt;While you can access CVS repositories from within Forte you should also download the standalone windows client &lt;A href=&quot;http://www.wincvs.org/&quot;&gt;WinCVS&lt;/A&gt; in case you need to do something fancy.&amp;nbsp; If you want to&amp;nbsp;script &lt;A href=&quot;http://www.wincvs.org/&quot;&gt;WinCVS&lt;/A&gt; you also need to download&amp;nbsp;&lt;A href=&quot;http://www.python.org/&quot;&gt;Python&lt;/A&gt; .&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Forte&apos;s Built-in CVS Support&lt;/STRONG&gt;&lt;BR&gt;For detailed directions on configuring Forte to talk to your CVS server read Jeff Skubick&apos;s excellent How-To: &quot;&lt;A href=&quot;http://www.netbeans.org/devhome/docs/howtos/cvs_1_create.html&quot;&gt;The NetBeans/Forte CVS Tutorial&lt;/A&gt;&quot;, parts &lt;A href=&quot;http://www.netbeans.org/devhome/docs/howtos/cvs_1_create.html&quot;&gt;1&lt;/A&gt; &amp;amp; &lt;A href=&quot;http://www.netbeans.org/devhome/docs/howtos/cvs_1_create.html&quot;&gt;2&lt;/A&gt;&amp;nbsp;(&lt;A href=&quot;http://www.netbeans.org/devhome/docs/howtos/cvs_3_taglib.html&quot;&gt;part 3&lt;/A&gt; is about CVS and TagLibs and is optional).&amp;nbsp; You can supliment that by refering to &quot;&lt;A href=&quot;http://www.netbeans.org/about/books/index.html&quot;&gt;NetBeans: The Definitive Guide&lt;/A&gt;&quot; which is a &lt;A href=&quot;http://www.oreilly.com/catalog/netbeans/&quot;&gt;new book by O&apos;Reilly&lt;/A&gt;, the draft version of which you can currently &lt;EM&gt;&lt;FONT size=2&gt;(9/2/02)&lt;/FONT&gt;&lt;/EM&gt; &lt;A href=&quot;http://www.netbeans.org/about/books/index.html&quot;&gt;read&amp;nbsp;online for free&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Here are two places&amp;nbsp;I got stuck while setting things up and the solutions:&lt;/P&gt;
&lt;P&gt;1) when adding the CVS repository in Forte, I was using a different name than the &quot;/cvs&quot; used in&amp;nbsp;the tutorial&amp;nbsp;example and forgot to include the &quot;/&quot;.&amp;nbsp; I was unable to login until I noticed the problem.&lt;BR&gt;&lt;BR&gt;2) adding binary files:&amp;nbsp;The tutorial talks about&amp;nbsp;selecting Binary from the add dialog box but Forte 4 has the CVS Client Settings: User Interface Mode set to &quot;Only Default Switches&quot; by default and so I didn&apos;t see the option until I went into options and changed this setting to &quot;GUI Style&quot;&amp;nbsp; I found the directions in the draft PDF of &quot;&lt;A href=&quot;http://www.netbeans.org/about/books/index.html&quot;&gt;NetBeans: A definitive guide book&lt;/A&gt;&quot; &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;CVS&lt;BR&gt;&lt;/STRONG&gt;Now I just need to read more about CVS itself:&lt;/P&gt;
&lt;P&gt;I&apos;m going to review the free &lt;A href=&quot;http://cvsbook.red-bean.com/cvsbook.html&quot;&gt;CVS book at redbean&lt;/A&gt;. &lt;EM&gt;Still digging.&lt;/EM&gt;&lt;/P&gt;</description>
			<guid>http://radio.weblogs.com/0100168/categories/theLifeAndTimesOfCs211/2002/09/02.html#a277</guid>
			<pubDate>Mon, 02 Sep 2002 18:13:32 GMT</pubDate>
			</item>
		<item>
			<description>just in case you didn&apos;t know... &lt;pre&gt;rm -r&lt;/pre&gt; is not your friend.  Anyone know how to redefine cygwin so it just moves stuff to the Recycling Bin? Until I get CVS working I&apos;m going to be REALLY careful.</description>
			<guid>http://radio.weblogs.com/0100168/categories/theLifeAndTimesOfCs211/2002/08/31.html#a276</guid>
			<pubDate>Sun, 01 Sep 2002 00:28:42 GMT</pubDate>
			</item>
		<item>
			<title>jar file incantations</title>
			<link>http://radio.weblogs.com/0100168/stories/2002/08/31/jarHints.html</link>
			<description>&lt;P&gt;&lt;STRONG&gt;expanding jar files&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;jar -xf foo.jar&lt;/PRE&gt;
&lt;P&gt;&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;creating jar files&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;You can create the &lt;FONT size=normal&gt;&lt;TT&gt;hw0.jar&lt;/TT&gt;&lt;/FONT&gt; file by using the following command: &lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;I&gt;
&lt;P&gt;prompt&lt;/I&gt;&amp;gt; &lt;FONT size=normal&gt;&lt;TT&gt;jar cf hw0.jar Hello.java Exclamation.java&lt;/TT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The &quot;jar&quot; program is a utility that creates and unpacks Java archive files. The &quot;c&quot; option indicates that we want to create a new Java archive. The &quot;f&quot; option specifies that we want the Java archive to be created into the file named &quot;hw0.jar&quot;. The remaining arguments on the command line give the names of the source files to put into the archive. &lt;/P&gt;
&lt;P&gt;One &lt;I&gt;very common&lt;/I&gt; error is to do the following: Try typing in the following command (but don&apos;t do it if you haven&apos;t already created hw0.jar using the command above first): &lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;I&gt;
&lt;P&gt;prompt&lt;/I&gt;&amp;gt; &lt;FONT size=normal&gt;&lt;TT&gt;jar cf Hello.java Exclamation.java&lt;/TT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What has happened here is that the Java archive file has been created and put into a file named &lt;FONT size=normal&gt;&lt;TT&gt;Hello.java&lt;/TT&gt;&lt;/FONT&gt;. This effectively has &lt;I&gt;deleted your Hello.java file!&lt;/I&gt;. As you can see, the first parameter to the jar command is the name of the jar file, and the remaining parameters are the files to put in it. You must be &lt;I&gt;&lt;B&gt;very very very careful&lt;/B&gt;&lt;/I&gt; when creating your Java archive file, because if you accidentally delete one of your java files, it&apos;s impossible to get it back. &lt;/P&gt;
&lt;P&gt;Luckily, in this case we have already created a good archive in hw0.jar, so we can restore our Hello.java file simply by unpacking the archive: &lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;I&gt;
&lt;P&gt;prompt&lt;/I&gt;&amp;gt; &lt;FONT size=normal&gt;&lt;TT&gt;jar xf hw0.jar&lt;/TT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=normal&gt;&lt;TT&gt;&lt;/TT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT size=normal&gt;&lt;TT&gt;&lt;A href=&quot;http://radio.weblogs.com/0100168/stories/2002/08/31/jarHints.html&quot;&gt;More Detailed notes on using JAR&lt;/A&gt;&lt;/TT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
			<guid>http://radio.weblogs.com/0100168/categories/theLifeAndTimesOfCs211/2002/08/31.html#a275</guid>
			<pubDate>Sat, 31 Aug 2002 23:13:08 GMT</pubDate>
			</item>
		<item>
			<description>&lt;P&gt;I&apos;m showing my friend &lt;A href=&quot;http://www.cs.cmu.edu/~sangl&quot;&gt;Kevin&lt;/A&gt; how radio userland works.&lt;/P&gt;</description>
			<guid>http://radio.weblogs.com/0100168/categories/theLifeAndTimesOfCs211/2002/08/30.html#a274</guid>
			<pubDate>Fri, 30 Aug 2002 18:54:26 GMT</pubDate>
			</item>
		<item>
			<title>The problem with HelloWord</title>
			<link>http://www.onjava.com/pub/a/onjava/2002/08/21/javaxp.html</link>
			<description>&lt;P&gt;&quot;there are many reasons to view &lt;CODE&gt;&lt;FONT color=#003366&gt;HelloWorld&lt;/FONT&gt;&lt;/CODE&gt; as the worst possible way to begin a course in object-oriented programming. At its core, an object-oriented program should consist of highly-cohesive objects sending and receiving messages to other objects.&quot;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;[&lt;A href=&quot;http://www.onjava.com/pub/a/onjava/2002/08/21/javaxp.html&quot;&gt;onjava.com&lt;/A&gt;]&lt;/P&gt;</description>
			<guid>http://radio.weblogs.com/0100168/categories/theLifeAndTimesOfCs211/2002/08/28.html#a268</guid>
			<pubDate>Wed, 28 Aug 2002 05:55:00 GMT</pubDate>
			</item>
		<item>
			<title>New catagory: The life and times of CS211</title>
			<link>categories/theLifeAndTimesOfCs211/</link>
			<description>&lt;P&gt;This fall I&apos;m taking CS211 here at CMU.&amp;nbsp; I&apos;m making a new sub-site to post things tips and tricks I&apos;ve learned.&amp;nbsp; First up on my agenda of things to figure out:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT size=4&gt;what&apos;s the best version of Emacs on Windows?&lt;/FONT&gt; 
&lt;UL&gt;
&lt;LI&gt;&lt;FONT size=2&gt;I generally preffer using Forte but I guess I better at least try to learn this famous editor&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;LI&gt;&lt;FONT size=4&gt;Unit Testing&lt;/FONT&gt; 
&lt;UL&gt;
&lt;LI&gt;&lt;FONT size=2&gt;What&apos;s the best, simple way to do it? I&apos;ve done some basic&amp;nbsp;test harnesses before but what does a tool like JUnit have to add?&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;LI&gt;&lt;FONT size=4&gt;Version Control&lt;/FONT&gt; 
&lt;UL&gt;
&lt;LI&gt;&lt;FONT size=2&gt;I need a simple solid solution. If I end up using Forte I&apos;ll probably try to use the built in CVS support if I can get help installing it.&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Oh another tip for anyone else who might be reading this (I&apos;ve already done this step, but maybe I should see if a new version has been released) is to install &lt;A href=&quot;http://www.cygwin.com/&quot;&gt;Cygwin&lt;/A&gt; which provides Unix shell and command line tools in Windows.&lt;/P&gt;</description>
			<guid>http://radio.weblogs.com/0100168/categories/theLifeAndTimesOfCs211/2002/08/27.html#a266</guid>
			<pubDate>Tue, 27 Aug 2002 19:50:20 GMT</pubDate>
			</item>
		</channel>
	</rss>
