<?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/"
	>

<channel>
	<title>Popcornfarmer.com &#187; knowledge</title>
	<atom:link href="http://www.popcornfarmer.com/category/knowledge/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.popcornfarmer.com</link>
	<description>an unlikely place for a CS grad student.</description>
	<lastBuildDate>Wed, 21 Jul 2010 02:33:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>RadioLab</title>
		<link>http://www.popcornfarmer.com/2010/07/radiolab/</link>
		<comments>http://www.popcornfarmer.com/2010/07/radiolab/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 03:38:07 +0000</pubDate>
		<dc:creator>twood</dc:creator>
				<category><![CDATA[knowledge]]></category>

		<guid isPermaLink="false">http://www.popcornfarmer.com/?p=421</guid>
		<description><![CDATA[I&#8217;ve spent a lot of hours driving and cleaning the house lately, and that means I&#8217;ve also been listening to a lot of podcasts. Lately I&#8217;ve been especially enjoying Radiolab, a show out of the public radio station in New York.  My good buddies Chris Knauer and Ira Glass both recommended the show to me [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve spent a lot of hours driving and cleaning the house lately, and that means I&#8217;ve also been listening to a lot of podcasts. Lately I&#8217;ve been especially enjoying <a href="http://www.radiolab.org">Radiolab</a>, a show out of the public radio station in New York.  My good buddies <a href="http://www.chrisknauer.com">Chris Knauer</a> and <a href="http://www.thisamericanlife.org">Ira Glass</a> both recommended the show to me ages ago, but it wasn&#8217;t until recently that I began listening regularly. It&#8217;s a quirky show similar to <em>This American Life</em> in the type of stories it covers, but is generally more focused on science topics, making it especially interesting to me.  All the back episodes are available free online.  Here I&#8217;ll ruin a few of the episodes for you by describing some of the more surprising findings:</p>
<div id="attachment_424" class="wp-caption alignright" style="width: 310px"><a href="http://maps.google.com/maps?f=d&amp;source=s_d&amp;saddr=Oceanside,+CA&amp;daddr=Annapolis,+MD&amp;hl=en&amp;geocode=FV6H-gEdZe4A-SkFd1tgXmXcgDGHn485P8ueAQ%3BFY3DUgIdadJw-ynVL2dwZfa3iTFLJ6jT_VT4Qw&amp;mra=ls&amp;dirflg=b&amp;sll=33.358062,-97.77832&amp;sspn=18.890799,39.243164&amp;ie=UTF8&amp;ll=34.524661,-95.097656&amp;spn=37.005058,78.486328&amp;t=p&amp;z=4&amp;lci=bike"><img class="size-medium wp-image-424" title="Screen shot 2010-07-14 at 11.24.28 PM" src="http://www.popcornfarmer.com/log/wp-content/uploads/2010/07/Screen-shot-2010-07-14-at-11.24.28-PM-300x142.png" alt="" width="300" height="142" /></a><p class="wp-caption-text">Google maps thinks I can bike this 2,964 mile route in 10 days and 15 hours (after 1183 turns and no sleep). I&#39;m less confident.</p></div>
<p><strong><a href="http://www.wnyc.org/shows/radiolab/episodes/2010/04/16">5/16/2010 Limits</a></strong> &#8211; talks about the limits on our bodies and minds. They claim that the human body is very conservative about its own limits, and will make you sore and exhausted long before you really come anywhere close to running out of energy. The energy gets saved just in case something truly terrible happens and the body needs to release some extra bursts. They describe the Race Across America, which sounds like an absolutely horrible experience.  People bike all the way across the country, more or less non-stop; sleep is &#8220;optional&#8221;.  The winner usually takes about 8-9 days, and bikes 22 hours each day. The radio show describes a rider from the Slovenian army who has won the race in five of the last seven years. Not surprisingly, he basically goes crazy after a day or two of pushing his body so hard, but this just leads to him having vivid hallucinations about being chased by enemy soldiers&#8230; in turn, these terrifying visions fill up his adrenaline and trick his body into giving him just a little bit more energy.</p>
<p><strong><a href="http://www.popcornfarmer.com/log/wp-content/uploads/2010/07/Berkeley_Pit_Butte_Montana.jpg"><img class="alignleft size-medium wp-image-423" title="Berkeley_Pit_Butte,_Montana" src="http://www.popcornfarmer.com/log/wp-content/uploads/2010/07/Berkeley_Pit_Butte_Montana-300x225.jpg" alt="" width="300" height="225" /></a><a href="http://blogs.wnyc.org/radiolab/2010/06/28/oops/">6/28/2010 Oops</a></strong> &#8211; this show covers various unlikely events and their even more unlikely consequences. One segment discusses the Berkeley Pit in Montana, a lake of toxic waste leftover from mining operations. The spot is of course a huge eyesore, but it was even worse in 1995 when a flock of over 300 snow geese landed in the pool thinking it would make a nice rest stop&#8230; they were sadly mistaken. Despite the poisonous nature of the pollutants in the pit, biologists have recently found a number of amazingly hardy microorganisms able to survive there.  One of them is even able to do a remarkably good job at transforming the waste into less harmful substances. The kicker: that particular microorganism has only been found one other place&#8211;the bowels of snow geese!</p>
<p>I&#8217;ve really enjoyed listening to these and other episodes of the show.  Sometimes the results from one segment of the show are used a bit too freely to make claims about later parts, but it is still quite thought provoking. The two hosts make a great pair, and give the show a nice style.  Highly recommended!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.popcornfarmer.com/2010/07/radiolab/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Conference in Montana</title>
		<link>http://www.popcornfarmer.com/2009/10/conference-in-montana/</link>
		<comments>http://www.popcornfarmer.com/2009/10/conference-in-montana/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 20:59:38 +0000</pubDate>
		<dc:creator>twood</dc:creator>
				<category><![CDATA[fun]]></category>
		<category><![CDATA[outdoors]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://www.popcornfarmer.com/?p=321</guid>
		<description><![CDATA[I just got back from a conference in Big Sky, Montana. The conference hotel was up in the mountains at a ski resort, and although they were starting to get their first snow of the season, the slopes weren&#8217;t quite ready yet. The scenery was quit breathtaking (especially for someone from New Jersey), but unfortunately [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://picasaweb.google.com/lh/photo/0FawrtnShLWGApyXgTK_KA?feat=embedwebsite" target="_blank"><img src="http://lh6.ggpht.com/_2mnDVMuayek/StfsYKda-5I/AAAAAAAAF-k/I7ZZYnUpOYg/s288/IMG_4856.JPG" alt="" /></a> <a href="http://picasaweb.google.com/lh/photo/ICopb07-fet0J4HaUiTO3g?feat=embedwebsite" target="_blank"><img src="http://lh6.ggpht.com/_2mnDVMuayek/StfsZJb2HLI/AAAAAAAAF-o/4kKmqXDo4PU/s288/IMG_4862.JPG" alt="" /></a></p>
<p><a href="http://picasaweb.google.com/lh/photo/eegdm3BeBytTrAiW5nWaxA?feat=embedwebsite" target="_blank"><img class="alignleft" src="http://lh5.ggpht.com/_2mnDVMuayek/StfsZxmiMYI/AAAAAAAAF-s/QbM-CavpjsQ/s144/IMG_4863.JPG" alt="" /></a> I just got back from a conference in Big Sky, Montana. The conference hotel was up in the mountains at a ski resort, and although they were starting to get their first snow of the season, the slopes weren&#8217;t quite ready yet. The scenery was quit breathtaking (especially for someone from New Jersey), but unfortunately I only got to walk around and take pictures during one of the cloudy days. The conference itself was quite interesting. It was much busier than any of the others I&#8217;ve been to.  I met a number of new interesting people, and got to see a few other familiar faces which was nice.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.popcornfarmer.com/2009/10/conference-in-montana/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Proposal #2 Done!</title>
		<link>http://www.popcornfarmer.com/2009/07/proposal-2-done/</link>
		<comments>http://www.popcornfarmer.com/2009/07/proposal-2-done/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 22:55:15 +0000</pubDate>
		<dc:creator>twood</dc:creator>
				<category><![CDATA[knowledge]]></category>
		<category><![CDATA[research]]></category>

		<guid isPermaLink="false">http://www.popcornfarmer.com/?p=287</guid>
		<description><![CDATA[I did one sort of proposal earlier this spring, but on July 1st I defended my thesis proposal. I won&#8217;t bore you with the details, but you can all imagine it as collection of groundbreaking work exploring how virtualization can be used to make computers more efficient, improve reliability, and generally save the world from [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://cs.umass.edu/~twood/pubs/proposal.pdf"><img class="alignright size-full wp-image-289" title="proposal" src="http://www.popcornfarmer.com/log/wp-content/uploads/2009/07/proposal.png" alt="proposal" width="288" height="226" /></a>I did one sort of proposal earlier this spring, but on July 1st I defended my thesis proposal.</p>
<p>I won&#8217;t bore you with the details, but you can all imagine it as collection of groundbreaking work exploring how virtualization can be used to make computers more efficient, improve reliability, and generally save the world from all sorts of evil.</p>
<p>It&#8217;s pretty exciting, and having finished that after 4 years puts me in a good position to finish my PhD well ahead of the average in my department&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.popcornfarmer.com/2009/07/proposal-2-done/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH Tunneling Tutorial</title>
		<link>http://www.popcornfarmer.com/2009/01/ssh-tunneling-tutorial/</link>
		<comments>http://www.popcornfarmer.com/2009/01/ssh-tunneling-tutorial/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 22:57:41 +0000</pubDate>
		<dc:creator>twood</dc:creator>
				<category><![CDATA[gibberish]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://www.popcornfarmer.com/?p=225</guid>
		<description><![CDATA[Note: this post is another technical one, so if you are a member of my immediate family, you probably won&#8217;t find it of much interest.  If &#8220;ports&#8221; make you think of boats (rather than the numbers 80 and 22), then why don&#8217;t you mosey on over to my christmas photos? I frequently have trouble communicating [...]]]></description>
			<content:encoded><![CDATA[<p><em>Note: this post is another technical one, so if you are a member of my immediate family, you probably won&#8217;t find it of much interest.  If &#8220;ports&#8221; make you think of boats (rather than the numbers 80 and 22), then why don&#8217;t you mosey on over to my <a href="http://picasaweb.google.com/twwood/Christmas08#">christmas photos</a>? </em></p>
<p>I frequently have trouble communicating between systems which are separated by different private LANs. This often happens when you have your computer on a home wireless network which is separated from the rest of the internet via a router and firewall.  Fortunately, SSH tunnels can be used to link these machines together, provided you know which ports need to be interfaced and you have a common server which both machines can reach. Here is how.<span id="more-225"></span></p>
<h4>Remote Access with SSH</h4>
<p>Normally SSH is used to remotely log into servers in order to run commands or copy files. However, SSH can also be used to create &#8220;tunnels&#8221; between two servers. These tunnels are particularly useful for two reasons: they are encrypted and you can make network traffic going to one system magically appear at the end of the tunnel.</p>
<p>There are two basic kinds of SSH tunnels: remote and local. In all cases you create a tunnel that connects one port number on a remote server to a port on the local machine where you run the command.</p>
<p>Note: The commands here are primarily geared towards computers running linux or mac os x, although widows users can do the same if they install cygwin.</p>
<p><strong>Remote Tunnels</strong> are used to forward all traffic from some remote port back to your own system. You would do this if you want to run a web server or some other service on your own machine, but the remote server can&#8217;t reach it because of your router. In effect, you are creating a listener on the remote machine which will accept the webpage requests, and forward them to your own computer.</p>
<p style="text-align: center;"><img class="size-full wp-image-237 aligncenter" title="remote" src="http://www.popcornfarmer.com/log/wp-content/uploads/2009/01/remote.png" alt="remote" width="306" height="105" /></p>
<p>You can create a remote tunnel with the following command:</p>
<pre>ssh -R *:8080:localhost:80 user@remoteserver.com -N ## run this on home
## -R   = remote tunnel
## 8080 = port on remote machine that will accept traffic
## 80   = port on local machine to forward traffic to
## -N   = creates the ssh connection without opening an interactive shell
## -f   = (optional) use this to make the command create the tunnel
##         and return immediately.</pre>
<p>This will make it so that all requests on the remoteserver.com to port 8080 are redirected to <em>home</em> port 80 (the default web server port). However, the remote tunnel only makes it so users on remoteserver.com itself are able to utilize the port forward. Thus localhost:8080 tunnels correctly from that server, but remoteserver.com:8080 will not go through the tunnel. To let a third user access the website, we need to also create a local tunnel.</p>
<p style="text-align: center;"><img class="size-full wp-image-236 aligncenter" title="nolocal" src="http://www.popcornfarmer.com/log/wp-content/uploads/2009/01/nolocal.png" alt="nolocal" width="518" height="105" /></p>
<p><strong>Local Tunnels</strong> let you make a port on your own machine actually send traffic to a port on a remote machine. Often you need to combine a remote and a local tunnel if you want a user within a second private LAN to reach your machine.</p>
<pre>ssh -L 8888:localhost:8080 remoteserver.com -N ## run this on work
## -L   = create a local tunnel
## 8888 = the port on the local machine for the tunnel entrance
## 8080 = the port on the remote machine</pre>
<p>This will make it so that from the perspective of users on <em>work</em>, requests to localhost:8888 are forwarded to remoteserver.com:8080.  This in turn is connected to the original tunnel, creating the full tunnel back to <em>home</em>.</p>
<p style="text-align: center;"><img class="size-full wp-image-235 aligncenter" title="local" src="http://www.popcornfarmer.com/log/wp-content/uploads/2009/01/local.png" alt="local" width="494" height="105" /></p>
<p>These kinds of tunnels can be very useful for connecting systems separated by routers and firewalls. Depending on the application you are trying to reach, you will need to use a different port number. Here is a <a href="http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers">good list</a> of commonly used port numbers.</p>
<p>Of course there are some security implications here and your company IT people may not like these tunnels much. In effect, this lets you connect any two machines, even if they are supposed to be separated by secure VPNs. Of course, since only one port is being opened, and the commands generally aren&#8217;t left running for a long time, it shouldn&#8217;t be an issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.popcornfarmer.com/2009/01/ssh-tunneling-tutorial/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Popcornfarmer.com Learning Center</title>
		<link>http://www.popcornfarmer.com/2009/01/popcornfarmercom-learning-center/</link>
		<comments>http://www.popcornfarmer.com/2009/01/popcornfarmercom-learning-center/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 20:01:06 +0000</pubDate>
		<dc:creator>twood</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[knowledge]]></category>

		<guid isPermaLink="false">http://www.popcornfarmer.com/2009/01/popcornfarmercom-learning-center/</guid>
		<description><![CDATA[I am pleased to annouce the grand opening of the Popcornfarmer.com Learning Center. There isn&#8217;t too much in there right now, and mostly it is just notes for myself.  In any case, some of it might be useful to somebody, so rather than just keeping it hidden away I figure I will share it. Most [...]]]></description>
			<content:encoded><![CDATA[<p>I am pleased to annouce the grand opening of the <a href="/learn">Popcornfarmer.com Learning Center</a>. There isn&#8217;t too much in there right now, and mostly it is just notes for myself.  In any case, some of it might be useful to somebody, so rather than just keeping it hidden away I figure I will share it.</p>
<p>Most of the information is pretty technical, so unless you are interested in doing some Bash shell scripting or need to make some regression plots in R, it may not be of much use.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.popcornfarmer.com/2009/01/popcornfarmercom-learning-center/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CS By the Numbers</title>
		<link>http://www.popcornfarmer.com/2008/11/cs-by-the-numbers/</link>
		<comments>http://www.popcornfarmer.com/2008/11/cs-by-the-numbers/#comments</comments>
		<pubDate>Sun, 23 Nov 2008 18:23:35 +0000</pubDate>
		<dc:creator>twood</dc:creator>
				<category><![CDATA[knowledge]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[computer science]]></category>
		<category><![CDATA[stats]]></category>

		<guid isPermaLink="false">http://www.popcornfarmer.com/?p=173</guid>
		<description><![CDATA[The CRA (Computing Research Association) runs the Taulbee Survey which studies trends in computer science education and employment.  There are some pretty interesting numbers in the reports which came out earlier this year. BS and PhD Production I was first surprised to see just how many PhDs are being awarded. Almost 1800 new PhDs were [...]]]></description>
			<content:encoded><![CDATA[<p>The CRA (Computing Research Association) runs the <a href="http://www.cra.org/CRN/articles/may08/taulbee.html">Taulbee Survey</a> which studies trends in computer science education and employment.  There are some pretty interesting numbers in the reports which came out earlier this year.</p>
<h4>BS and PhD Production</h4>
<p>I was first surprised to see just how many PhDs are being awarded.  Almost 1800 new PhDs were produced last year, and the growth compared to the 90s and early 2000s is pretty staggering.  The report suggests that the numbers will be even higher in the coming year, although the rate of increase is expected to drop.<br />
<a href="http://www.popcornfarmer.com/log/wp-content/uploads/2008/11/phd_production.jpg"><img class="size-full wp-image-175 alignnone" title="phd_production" src="http://www.popcornfarmer.com/log/wp-content/uploads/2008/11/phd_production.jpg" alt="" width="518" height="278" /></a></p>
<p>On the other hand, undergraduate CS enrollment is doing terribly right now. I&#8217;d blame this partly on bad stereotypes about computer science, but mainly on most undergraduates having no real logical basis for why they choose a major.  Sadly, I&#8217;m not sure if that will ever change.</p>
<p><a href="http://www.popcornfarmer.com/log/wp-content/uploads/2008/11/bs_majors.jpg"><img class="alignnone size-full wp-image-185" title="bs_majors" src="http://www.popcornfarmer.com/log/wp-content/uploads/2008/11/bs_majors.jpg" alt="" width="499" height="214" /></a></p>
<p><span id="more-173"></span></p>
<h4>PhD Employment</h4>
<p>Next let&#8217;s look at where all of these PhDs are going after they graduate. Industry took 52% of the new graduates, while about 33% went to academic departments. Of the academics, more than three quarters went to PhD granting departments.</p>
<p><a href="http://www.popcornfarmer.com/log/wp-content/uploads/2008/11/industry_v_academia.jpg"><img class="alignnone size-medium wp-image-183" title="industry_v_academia" src="http://www.popcornfarmer.com/log/wp-content/uploads/2008/11/industry_v_academia.jpg" alt="" width="480" height="400" /></a></p>
<p>The trends for employment type are fairly steady, except immediately following the dot com bust around 2001. I suspect that the current financial woes in this country will again lead to an increase headed towards academia, although if the depression/recession is widespread enough it may impact academic funding as well.  Hopefully universities will do well since a lot more people are going to suddenly want to go back to school or stay in grad school due to limited job options.  On the other hand, my own department is not hiring anyone this year because of budget cuts, so it may take a while before the money appears to make this happen.</p>
<p>Of course CS is a wide field, and the subdivisions within it can act very differently, so we can dig down a step deeper to see the breakdown of new job types by area within CS. It is interesting to see here that OS/Networking (my own area) is by far the largest proportion of graduates. If you were to condense multiple groups into the three main areas in my department: Systems, AI, and Theory, then the systems group is by far the largest with 835 members, compared to 201 and 112 in AI and Theory (although an additional 627 are other fields like graphics or &#8220;unknown&#8221;). Note: these numbers are for grads who got jobs in North America only.</p>
<p><a href="http://www.popcornfarmer.com/log/wp-content/uploads/2008/11/new_phds_area.png"><img class="alignnone size-full wp-image-180" title="new_phds_area" src="http://www.popcornfarmer.com/log/wp-content/uploads/2008/11/new_phds_area.png" alt="" width="530" height="306" /></a></p>
<p>Although OS/Networking is the biggest group, about 75% of its members go to industry, compared to 55% of AI and 50% of Theory graduates. I&#8217;m not too surprised by this since Systems is of course a more practical field that can be more readily applied to industry goals.  However, it is interesting that on an absolute scale, there were more AI than OS grads going into academia (57 vs 51) even though there are almost twice as many OS grads in total. Hopefully that means that if I want to get a job in academia it will be easier since there are a lot of grad students in my field, but not many that are as interested in academic jobs.</p>
<h4>What About the Money?</h4>
<p><img class="size-full wp-image-191 alignright" style="border: 0pt none;" title="moneybags" src="http://www.popcornfarmer.com/log/wp-content/uploads/2008/11/moneybags.png" alt="" width="110" height="127" />So, will getting a PhD make you rich? I&#8217;m not sure about that yet, but here are a few of the salary numbers that I managed to dig up. The Taulbee survey includes information on <a href="http://www.cra.org/CRN/articles/may08/tables27to34.html" target="_blank">starting faculty salaries</a>.  The tenure track median salary was $85,000.  Non-tenure track researchers can expect $66K and postdocs around $47K.  These are 9 month salaries, so the yearly numbers will be a bit higher (of course that means you have to write some grants to get someone to pay you for those other months).  I haven&#8217;t been able to get a good sense of how this compares to industry salaries.  This <a href="http://www.cra.org/reports/why.cs.phd.pdf">set of slides</a> from CRA reports salaries in the $75 to $120K a year range for industrial research labs.  I&#8217;m not sure how industrial job salaries increase over time, but the mean salary for full professors in CS departments was $130K for 9 months.</p>
<p>So fiscally speaking, it sounds like you can get a pretty good job with a PhD (even ignoring non monetary benefits like increased autonomy and job stability). On the other hand you have to first survive 6 or more years of grad school without starving.  I did some comparisons of expected retirement savings comparing the scenario where I get an academic job at age 28 versus having immediately gotten a lower paying job out of college.  Unfortunately, the results were inconclusive &#8212; one site said that Professor Tim would run out of cash at age 99 and starve to death while another expected him to surpass his less educated counterpart at age 42 and go on to live off of investment interest for all of eternity.  I guess only time will tell.</p>
<p>Disclaimer: Most of these figures have been lifted from the survey website, and I encourage you to go there to see their <a href="http://www.cra.org/CRN/articles/may08/taulbee.html">full results and analysis</a>. I have tweaked a few of the images to try to make them more readable, and created the last image using their text data.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.popcornfarmer.com/2008/11/cs-by-the-numbers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easy as&#8230;cake</title>
		<link>http://www.popcornfarmer.com/2008/10/easy-ascake/</link>
		<comments>http://www.popcornfarmer.com/2008/10/easy-ascake/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 02:30:40 +0000</pubDate>
		<dc:creator>twood</dc:creator>
				<category><![CDATA[gibberish]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[cakephp]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.popcornfarmer.com/?p=144</guid>
		<description><![CDATA[I&#8217;ve been trying out CakePHP, a framework for creating DB driven PHP based websites using the MVC design pattern. Warning: In case the above sentence didn&#8217;t make this clear, this post is largely technical gibberish. If that&#8217;s not your thing, then you can move along and look at the pretty pictures from a hiking trip [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.cakephp.org"><img class="alignright size-full wp-image-149" style="border:none" title="cake-logo" src="http://www.popcornfarmer.com/log/wp-content/uploads/2008/10/cake-logo.png" alt="" width="180" height="180" /></a>I&#8217;ve been trying out <a href="http://cakephp.org/">CakePHP</a>, a framework for creating DB driven PHP based websites using the MVC design pattern.</p>
<p><em>Warning: In case the above sentence didn&#8217;t make this clear, this post is largely technical gibberish. If that&#8217;s not your thing, then you can move along and look at the pretty pictures from a hiking trip up <a href="http://picasaweb.google.com/twwood/MtMonadnock#">Mt. Monadnock</a> from back in September. </em></p>
<p>My feelings with CakePHP so far are mixed. As with many open source projects, the documentation for getting started is a little rough.  To help with that, here is the list of resources I&#8217;ve found most useful so far.</p>
<p><span id="more-144"></span></p>
<h4>CakePHP Tutorials</h4>
<p><a href="http://www.ibm.com/developerworks/edu/os-dw-os-php-cake1.html">IBM&#8217;s Cake Tutorial</a> &#8211; 5 parts, including scaffolding and baking (topics not included in the Cake Book tutorial). Also has section on user authentication. In some ways the blog demo below is a better place to start since it gives you a more complete application quicker, but once you have the basic idea down this is full of good information, and I&#8217;ve only gone through part 1 so far&#8230;</p>
<p><a href="http://book.cakephp.org/view/219/Blog">The Cake Book Blog Tutorial</a> &#8211; provides a good step by step guide for making a simple blog, but does not discuss the &#8220;bake&#8221; command or anything about personalizing the appearance of the site.</p>
<p><a href="http://www.pseudocoder.com/archives/2008/02/10/cakephp-tutorials/">List of Cake Tutorials</a> &#8211; links to lots of good information, although a lot of it is beyond my level right now. Hopefully I&#8217;ll get to the AJAX tutorials and do some nifty stuff.</p>
<h4>General Documentation</h4>
<p><a href="http://book.cakephp.org/">The Cake Book</a> &#8211; seems like it has a lot of useful information, including a guide to the MVC principles.  Some intro material is too basic, and other parts are too advanced, so it is a little hard to find the right pieces.</p>
<p><a href="http://www.avatarfinancial.com/pages/cake/">21 Things</a> &#8211; some good tidbits not covered in the docs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.popcornfarmer.com/2008/10/easy-ascake/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beginner Digital SLR Resources</title>
		<link>http://www.popcornfarmer.com/2008/03/beginner-digital-slr-resources/</link>
		<comments>http://www.popcornfarmer.com/2008/03/beginner-digital-slr-resources/#comments</comments>
		<pubDate>Fri, 07 Mar 2008 21:38:24 +0000</pubDate>
		<dc:creator>twood</dc:creator>
				<category><![CDATA[fun]]></category>
		<category><![CDATA[knowledge]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[xti]]></category>

		<guid isPermaLink="false">http://www.popcornfarmer.com/2008/03/beginner-digital-slr-resources/</guid>
		<description><![CDATA[About a month ago I spent a lot of money on a Canon Xti Digital SLR camera. It has been fun learning about photography and how all this stuff works. While I&#8217;m still taking lots of pictures of people with telephone poles and such coming out of their heads, I&#8217;m gradually getting a bit better. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://picasaweb.google.com/twwood/JessScott/photo#5169993703264601122" target="_blank"><img src="http://lh4.google.com/twwood/R7-B4Z4XxCI/AAAAAAAABsM/ZlSvpbrphxM/s144/IMG_0367.JPG" alt="" align="left" /></a>About a month ago I spent a lot of money on a Canon Xti Digital SLR camera. It has been fun learning about photography and how all this stuff works. While I&#8217;m still taking lots of pictures of people with telephone poles and such coming out of their heads, I&#8217;m gradually getting a bit better. I have learned a great deal about the technical aspects of photography such as apertures and shutter speeds which didn&#8217;t apply to point and shoot cameras. Here are my notes and some useful resources.</p>
<p><span id="more-33"></span></p>
<h4>A Good Reference</h4>
<p><a href="http://www.amazon.com/gp/product/0817463003?ie=UTF8&amp;tag=popcorfarmern-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0817463003" target="_blank"><img src="http://www.popcornfarmer.com/log/wp-content/uploads/2008/03/21n5et30ell_aa_sl110_.jpg" border="0" alt="" align="left" /></a><img style="border: medium none  ! important; margin: 0px ! important" src="http://www.assoc-amazon.com/e/ir?t=popcorfarmern-20&amp;l=as2&amp;o=1&amp;a=0817463003" border="0" alt="" width="1" height="1" />Understanding Exposure by Bryan Peterson is an excellent way to quickly learn the basics. The book is full of beautiful photos with information on how to take them. He generally leaves out the important first step (move to a beautiful villa in southern France), but otherwise he covers what you need to know well. Before this I didn&#8217;t really understand how to start using the manual mode on my camera, and now I am almost brave enough to go ahead and shoot with it. (Update 12/31/08: I still do not use manual mode&#8230; oh well)</p>
<h4>Online Photography Resources</h4>
<ul>
<li><a href="http://www.morguefile.com/archive/classroom.php?sid=ed490d130b63a2ca8f30d20beddcc825&amp;MORGUEFILE=rqmvia6t7o8qgbq9ao0douogk5" target="_blank">Jodie Coston</a> &#8211; In depth articles on photography and technique<a href="http://www.morguefile.com/archive/classroom.php?sid=ed490d130b63a2ca8f30d20beddcc825&amp;MORGUEFILE=rqmvia6t7o8qgbq9ao0douogk5"><br />
</a></li>
<li><a href="http://web.canon.jp/imaging/enjoydslr" target="_blank">Canon Enjoy series</a> &#8211; Good Canon specific info with nice demonstrations of the effects of aperture and shutter speed<a href="http://web.canon.jp/imaging/enjoydslr"><br />
</a></li>
<li><a href="http://www.slrphotographyguide.com/tips/index.shtml" target="_blank">Digital SLR Guide</a> &#8211; lots of good tips</li>
<li><a href="http://www.luminous-landscape.com/tutorials/" target="_blank">Luminous Landscapes Tutorials</a> &#8211; articles on a range of topics</li>
</ul>
<h4>Aperture</h4>
<ul>
<li>Affects the depth of field (what is in focus)</li>
<li>Using a higher f number results in a smaller aperture which gives a wider depth of field (more things in focus).</li>
<li>Smaller f number -&gt; wider aperture -&gt; narrower depth of field (subject in focus with blurry background).</li>
<li>Wide angle lenses are better for wider depth of field.</li>
<li>Telephoto lenses are good for shots of a subject with a blurry background (narrow DOF).</li>
<li><a href="http://www.dofmaster.com/dofjs.html" target="_blank">Online Depth of Field calculator</a></li>
</ul>
<h4>Shutter Speed</h4>
<ul>
<li>Affects the blur of moving objects.</li>
<li>High speed (1/1000) &#8220;freezes&#8221; the movement of object, but lets in less light.</li>
<li>Lower speeds can lead to blurry, but brighter pictures.</li>
</ul>
<h4>ISO Settings</h4>
<ul>
<li>Affects the picture quality/noise level.</li>
<li>Controls the sensor&#8217;s sensitivity to light.</li>
<li>A high value lets the sensor capture more light, but increases noise.</li>
</ul>
<h4>Exposure Compensation</h4>
<ul>
<li>Adjusts how light whites and how dark blacks appear.</li>
<li>Also may need to adjust this when a bright color fills a large part of the frame.</li>
</ul>
<h4>Canon &#8220;Creative&#8221; Modes</h4>
<ul>
<li><strong>P</strong> (Program): camera controls the  aperture and shutter speed. Turning the dial changes the &#8220;program shift&#8221; which affects the depth of field.</li>
<li><strong>AV</strong> (Aperture Priority AE): You control aperture, camera does shutter speed. Press and hold the Aperture Preview button (on front near lens) to see what it will actually look like. This will decrease the light coming into the camera. Turning the dial will adjust the aperture size. Higher gives wider depth of field.</li>
<li><strong>TV</strong>(Shutter-speed Priority AE): You control shutter speed, camera handles aperture size.</li>
<li><strong>M</strong> (Manual everything): You control shutter speed and aperture size. Dial changes the shutter speed. Adjust the aperture settings by holding the AV+- button (back of camera, top right) and turning the dial.</li>
</ul>
<h4>Light Metering</h4>
<ul>
<li>Controls the light in the scene</li>
<li>Evaluative Metering: Camera controls light levels based on full scene</li>
<li>Partial Metering: Camera uses area in center of  viewfinder to determine lighting.  Useful for backlit scenes with high contrast bright/dark areas.</li>
<li>Center Weighted Metering: not clear if this is useful for anything.</li>
</ul>
<h4>(Auto) Focus Settings</h4>
<ul>
<li>Determines what in the scene is in focus.</li>
<li>One Shot AF: Pressing the button half-way makes the camera select which points in the scene should be in focus. The red dots for those focus points will briefly flash. Once the focus is locked, the camera can be moved (assuming the subject stays at same depth/position).</li>
<li>AI Servo AF: Auto focuses on moving objects. After pressing halfway the camera will continuously refocus on target as it changes position.</li>
<li>AI Focus: The camera decides whether to use one shot or servo focusing. Used for full auto mode.</li>
<li>AF Point: You select which of the auto focus points the camera should use.  Useful if camera is making something in the foreground in focus rather than the main subject.</li>
<li>MF: Manual Focus mode.  Useful if the camera is autofocusing on a fence instead of the rhinoceros behind it.</li>
</ul>
<h4>Bonus Neat Stuff</h4>
<ul>
<li><a href="http://www.lenshoods.co.uk/" target="_blank">Printable lens hoods </a></li>
<li>
<p align="left">Time lapse photos with a <a href="http://www.instructables.com/id/Turn-a-TI-Graphing-Calculator-into-an-Intervalomet/" target="_blank">graphing calculator</a></p>
</li>
</ul>
<p><script type="text/javascript"><!--
google_ad_client = "pub-4292156418072848";
/* 468x60, created 5/18/09 (popcorn) */
google_ad_slot = "1285617214";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.popcornfarmer.com/2008/03/beginner-digital-slr-resources/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Free Learning</title>
		<link>http://www.popcornfarmer.com/2007/12/free-learning/</link>
		<comments>http://www.popcornfarmer.com/2007/12/free-learning/#comments</comments>
		<pubDate>Wed, 26 Dec 2007 18:44:50 +0000</pubDate>
		<dc:creator>twood</dc:creator>
				<category><![CDATA[knowledge]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://www.popcornfarmer.com/?p=27</guid>
		<description><![CDATA[I just heard of Lecturefox, a site which provides listings of publicly available courses from not only MIT&#8217;s Open Courseware, but a number of other schools ranging from UC Berkeley and Kent State to Oxford. It is great to see so much information being made available freely online, I just wish I had a bit [...]]]></description>
			<content:encoded><![CDATA[<p>I just heard of <a href="http://lecturefox.com">Lecturefox</a>, a site which provides listings of publicly available courses from not only MIT&#8217;s Open Courseware, but a number of other schools ranging from UC Berkeley and Kent State to Oxford.  It is great to see so much information being made available freely online, I just wish I had a bit more time to actually go through some of the videos.  Lecturefox primarily emphasizes courses from scientific fields (it is run by a pair of self-trained German computer scientists), but they also have listings from other fields like economics and philosophy.  Some of the offerings are full blown courses with video or audio and lecture notes, while others are recorded lectures from visiting speakers.</p>
<p>I don&#8217;t have any sense of the quality of the different offerings&#8211;there are certainly some courses I&#8217;ve taken in the past which would be extremely boring to watch on video, so it&#8217;s not clear to me how useful many of these full lecture series courses would really be.  On the other hand, some of the shorter &#8220;guest lecture&#8221; style talks might be more self contained and accessible.</p>
<p>A few that sounded interesting:</p>
<ul>
<li> <a href="http://webcast.rice.edu/webcast.php?action=details&amp;event=794">Human Beings and the Machines of Sunshine</a> &#8211; Rice</li>
<li><a href="http://mitworld.mit.edu/video/423/">Alan Turing: Codebreaker and Pioneer</a> &#8211; MIT</li>
<li><a href="http://open.yale.edu/courses/philosophy/death/home.html">Death</a> &#8211; Yale</li>
<li><a href="http://forum.wgbh.org/wgbh/forum.php?lecture_id=3317">The Rise of The Creative Class</a> &#8211; George Mason</li>
<li><a href="http://webcast.oii.ox.ac.uk/?view=Webcast&amp;ID=20060323_140">Cyber Humor: The End of Humor as We Know it?</a> &#8211; Oxford</li>
<li><a href="http://forum.wgbh.org/wgbh/forum.php?lecture_id=3377">Castiglione: The Art of Being a Renaisance Man</a> &#8211; Syracuse</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.popcornfarmer.com/2007/12/free-learning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Staying Organized</title>
		<link>http://www.popcornfarmer.com/2007/10/organize-research/</link>
		<comments>http://www.popcornfarmer.com/2007/10/organize-research/#comments</comments>
		<pubDate>Tue, 09 Oct 2007 17:44:10 +0000</pubDate>
		<dc:creator>twood</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[organization]]></category>

		<guid isPermaLink="false">http://www.popcornfarmer.com/log/?p=11</guid>
		<description><![CDATA[There are three keys to keeping an organized research project: A good research notebook for informal notes and plans A collaborative place to keep track of your results and general strategy A way to keep track of your todos, meetings, and deadlines Each of these has its own use, and none can completely cover for [...]]]></description>
			<content:encoded><![CDATA[<p>There are three keys to keeping an organized research project:</p>
<ol>
<li>A good research notebook for informal notes and plans</li>
<li>A collaborative place to keep track of your results and general strategy</li>
<li>A way to keep track of your todos, meetings, and deadlines</li>
</ol>
<p>Each of these has its own use, and none can completely cover for another. Here are my suggestions for each&#8230;<span id="more-11"></span></p>
<p><strong>The Research Notebook</strong></p>
<p>When I first started grad school I used a 99 cent notebook from the local drug store to keep all the notes about my project. It only survived for six months before the binding had fallen apart and I ran out of pages since I had been pulling them out to use for class notes as needed.</p>
<p>My current research notebook is a hardbound, 8.2 x 5.25, <a href="http://en.wikipedia.org/wiki/Moleskine" target="_blank">Moleskine</a> with 240 sheets of graph paper.  It costs about 15 times as much as the previous one, but it will definitely last a lot longer.  Spending the extra couple bucks on it also has the psychological effect of making me automatically take better care of it.  In fact, I&#8217;ve become rather attached to it.</p>
<p>I use the notebook to jot down quick notes or thoughts, as well as to plan out basic experiment and research plans.  Of course it is also important to bring to meetings or seminars for taking down notes and comments.  I do not record experimental results or exact implementation details in the notebook, as those are usually much better suited for an electronic format.  Which leads us to&#8230;</p>
<p><strong>The Wiki</strong></p>
<p>I&#8217;ve become a huge fan of wikis.  The point of a wiki is to be collaborative and make it trivial for both the original author and others to add comments and revisions.  You can set up your own, but it&#8217;s even better to have a shared one for your lab. A lab wiki lets everyone keep track of what others are doing and gives a central, permanent place to store things such as experimental results and information useful to all lab members.  Use it to quickly let others see your graphs and comment on them or to plan out your algorithms as a group.</p>
<p>Even if you use a shared wiki for your lab, you should keep a personal section where you can make your own notes.  I find this particularly useful for recording basic code tricks, linux commands, installation notes, etc.  The goal here is to make it as easy as possible for you to write down <em>anything</em> which might come in handy later.  You think you&#8217;ll remember <em>X</em> in <strike>a year</strike> a month?  No, you won&#8217;t.  Trust me.  So put it in your wiki and you can find it when you need it!</p>
<p>There are a ton of different wiki platforms to choose from. A simple one used by my lab which is convenient because it does not require any kind of special database is <a href="http://www.pmwiki.com/" target="_blank">PmWiki</a>. Even easier would be to use a wiki hosted by someone else such as <a href="http://pbwiki.com/">pbwiki</a> (as easy as making a peanut butter sandwich). Of course if you are doing super top secret research, you may want a more private place to keep your notes <img src='http://www.popcornfarmer.com/log/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>If you don&#8217;t need something shared with others (or if it is just with a selected group) then you can also try something like <a href="http://backpackit.com/?referrer=BPZS9N">backpack</a>. It&#8217;s not exactly a wiki, but it provides an easy interface to create pages and add notes, images, and task lists to them. Pages can be shared with others or kept private.</p>
<p><strong>The Calendar Task List</strong></p>
<p>Now you have a place to take notes on your future plans and a spot to post your results, so what do you do next?  Ah, well it seems you need a way to keep track of exactly that &#8212; your short term to do list. There are a lot of resources on the web for daily planning and keeping yourself organized.  The GTD (<a href="http://www.43folders.com/2004/09/08/getting-started-with-getting-things-done" target="_blank">Get Things Done</a>) cult is gaining a lot of followers.  I&#8217;ve read (most of) <a href="http://www.amazon.com/gp/product/0142000280?ie=UTF8&amp;tag=popcorfarmern-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0142000280" target="_blank">the book</a>, and it is worth a look.  The key idea is simple enough to implement on your own: have an organized place where you keep track of the list of &#8220;next steps&#8221; for each of your projects.  These steps should be small ones, the idea being that if you always have a clear idea of your next manageable task, you are much more likely to do it than if your to do list for today just says &#8220;write Ph.D dissertation&#8221;.</p>
<p>There are a lot of online resources to help here.  I&#8217;ve tried some larger life/project management solutions like <a href="http://www.rousette.org.uk/projects/" target="_blank">Tracks</a> and <a href="http://www.basecamphq.com/" target="_blank">basecamp</a>, but I think they are generally overkill for one person projects.  Instead, I like the combination of an online calendar and to-do list. For the calendar, I use <a href="http://30boxes.com" target="_blank">30 Boxes</a> since it has a very natural method for adding events (just type in &#8220;Meet advisor every thursday at 9am&#8221; and it will create the recurring appointment). I have been using <a href="http://www.rememberthemilk.com/" target="_blank">Remember the Milk</a> as a basic to-do list.  It lets you easily create multiple lists and assign deadlines for each task to help you prioritize.</p>
<p>To make sure you actually use the calendar and list, you need to make them easy for you to see and edit.  For this, I&#8217;ve been using <a href="http://www.netvibes.com" target="_blank">netvibes</a> to create a web portal which includes my calendar, to do lists, bookmarks, etc as embeddable widgets.  Here&#8217;s what my page looks like:</p>
<p><a href="http://www.popcornfarmer.com/log/wp-content/uploads/2007/10/netvibes.png" title="netvibes start page"><img src="http://www.popcornfarmer.com/log/wp-content/uploads/2007/10/netvibes.png" alt="netvibes start page" /></a></p>
<p>From this one page I can then instantly see (and edit) my weekly calendar and my list of upcoming tasks.  You can make your own page which includes calendars, bookmark lists, rss feeds, and all kinds of other content.</p>
<p><strong>Conclusions</strong></p>
<p>Sadly, even the most organized of us still have to spend most of our time actually doing the research which makes that organization worthwhile.  There is also a certain danger of spending too much time getting organized and not enough time producing work to organize. In any case, there are undoubtedly ways that we can all further refine our work process so that we aren&#8217;t wasting time either figuring out what to do next or repeating what we&#8217;ve already done.</p>
<p><strong> Resources</strong></p>
<p>Wikis</p>
<ul>
<li><a href="http://www.pmwiki.com/" aiotarget="true" aiotitle="PmWiki - doesn't need a database" target="_blank">PmWiki</a> &#8211; doesn&#8217;t need a database<a href="http://www.pmwiki.com/" aiotarget="true" aiotitle="PmWiki - doesn't need a database" target="_blank"><br />
</a></li>
<li><a href="http://pbwiki.com/">pbwiki</a> &#8211; hosted by them</li>
</ul>
<p>Calendars / To do lists</p>
<ul>
<li><a href="http://www.30boxes.com" target="_blank">30 boxes</a> &#8211; easy to use calendar<a href="http://www.30boxes.com" target="_blank"><br />
</a></li>
<li><a href="http://www.rememberthemilk.com/" target="_blank">Remember the Milk</a> &#8211; nice to do list<a href="http://www.rememberthemilk.com/" target="_blank"><br />
</a></li>
<li><a href="http://www.techcrunch.com/2006/05/08/do-more-online-to-do-lists-compared/" target="_blank">To do list roundup</a> &#8211; more to do list options<a href="http://www.techcrunch.com/2006/05/08/do-more-online-to-do-lists-compared/" target="_blank"><br />
</a></li>
<li><a href="http://www.43folders.com/2004/09/08/getting-started-with-getting-things-done/" target="_blank">GDT Introduction</a> &#8211; learn how to organize your life<a href="http://www.43folders.com/2004/09/08/getting-started-with-getting-things-done/" target="_blank"><br />
</a></li>
<li><a href="http://www.rousette.org.uk/projects/" target="_blank">Tracks</a> &#8211; full GTD system</li>
<li><a href="http://www.basecamphq.com/">Basecamp</a> &#8211; full project management solution</li>
<li><a href="http://backpackit.com/?referrer=BPZS9N">Backpack</a> &#8211; smaller scale self management with nice interface</li>
<li><a href="http://www.netvibes.com">Netvibes</a> &#8211; customizable start page made up of widgets</li>
</ul>
<p>General Life Organization Resources</p>
<ul>
<li><a href="http://www.43folders.com/" target="_blank">43 Folders</a></li>
<li><a href="http://www.lifehack.org/" target="_blank">Life Hack<br />
</a></li>
<li><a href="http://lifehacker.com" target="_blank">Lifehacker</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.popcornfarmer.com/2007/10/organize-research/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.525 seconds -->
