<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Mike Hansen on The Carpentries</title><link>https://deploy-preview-705--carpentries-website.netlify.app/blog/author/mike-hansen/</link><description>Recent content in Mike Hansen on The Carpentries</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 20 Nov 2024 10:51:28 -0500</lastBuildDate><atom:link href="https://deploy-preview-705--carpentries-website.netlify.app/blog/author/mike-hansen/index.xml" rel="self" type="application/rss+xml"/><item><title>Purdue</title><link>https://deploy-preview-705--carpentries-website.netlify.app/blog/2012/10/purdue/</link><pubDate>Wed, 10 Oct 2012 00:00:00 +0000</pubDate><guid>https://deploy-preview-705--carpentries-website.netlify.app/blog/2012/10/purdue/</guid><description>&lt;p>&lt;b>This post originally appeared on the &lt;a href="https://software-carpentry.org/">Software Carpentry website.&lt;/a>&lt;/b>&lt;/p>
&lt;p>Here's the feedback we received for our workshop in Purdue this week. We discussed the shell and Python on day 1, and then git and debugging/testing/documentation on day 2.&lt;/p>
&lt;table>
&lt;tbody>
&lt;tr>
&lt;td valign="top">&lt;strong>Good&lt;/strong>
&lt;ul>
&lt;li>Interactivity (technology and people)&lt;/li>
&lt;li>Day 2 topics (version control, testing and documentation)&lt;/li>
&lt;li>Hints about what's out there&lt;/li>
&lt;li>Overall breadth&lt;/li>
&lt;li>Hands-on&lt;/li>
&lt;li>VirtualBox and using a Virtual Machine&lt;/li>
&lt;li>Topics &amp;mdash; git and shell&lt;/li>
&lt;li>Online materials, breadth&lt;/li>
&lt;li>Testing&lt;/li>
&lt;li>Python&lt;/li>
&lt;li>Good depth, overview&lt;/li>
&lt;li>Documenting the bootcamp online&lt;/li>
&lt;li>Interesting content&lt;/li>
&lt;li>Good for beginners&lt;/li>
&lt;li>Examples on day 1 (shell, Python)&lt;/li>
&lt;li>Organization&lt;/li>
&lt;li>Tips about what not to do&lt;/li>
&lt;/ul>
&lt;/td>
&lt;td valign="top">&lt;strong>Bad&lt;/strong>
&lt;ul>
&lt;li>Too basic for some&lt;/li>
&lt;li>Jump up in difficulty on day 2&lt;/li>
&lt;li>VirtualBox problems&lt;/li>
&lt;li>Wanted Windows-specific examples&lt;/li>
&lt;li>Wanted C++ examples&lt;/li>
&lt;li>Wanted advantages/disadvantages of Python data structures&lt;/li>
&lt;li>Python subtleties not covered for beginners (when to use a colon)&lt;/li>
&lt;li>Too fast to follow sometimes (need to pause before executing commands)&lt;/li>
&lt;li>Wanted specific skills (i.e., Python)&lt;/li>
&lt;li>Wanted to know more about Valgrind&lt;/li>
&lt;li>Version control (too in depth &amp;mdash; branches)&lt;/li>
&lt;li>git command-line was overwhelming (Github was good)&lt;/li>
&lt;li>More exercises, homework?&lt;/li>
&lt;li>Detailed schedule (so we can cherry-pick topics)&lt;/li>
&lt;li>Too fast sometimes&lt;/li>
&lt;li>Slides&lt;/li>
&lt;li>No printed documentation for notes&lt;/li>
&lt;li>What about SVN users?&lt;/li>
&lt;/ul>
&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table></description></item><item><title>An Exercise With Matplotlib and Numpy</title><link>https://deploy-preview-705--carpentries-website.netlify.app/blog/2012/05/an-exercise-with-matplotlib-and-numpy/</link><pubDate>Mon, 21 May 2012 00:00:00 +0000</pubDate><guid>https://deploy-preview-705--carpentries-website.netlify.app/blog/2012/05/an-exercise-with-matplotlib-and-numpy/</guid><description>&lt;p>&lt;b>This post originally appeared on the &lt;a href="https://software-carpentry.org/">Software Carpentry website.&lt;/a>&lt;/b>&lt;/p>
&lt;p>For this tutorial, we'll be plotting some weather data from a site call &lt;a href="http://www.wunderground.com/">Weather Underground&lt;/a>. You can download temperature readings and weather events for your local area in a comma-separated file.&lt;/p>
&lt;p>I've put weather data for Bloomington, IN in a file called &lt;tt>weather.csv&lt;/tt>. Each row is one day, and there are columns for min/mean/max temperature, dew point, wind speed, etc. We'll be plotting temperature and weather event data (e.g., rain, snow).&lt;/p></description></item><item><title>An Exercise With Functions and Plotting</title><link>https://deploy-preview-705--carpentries-website.netlify.app/blog/2012/05/an-exercise-with-functions-and-plotting/</link><pubDate>Sun, 06 May 2012 00:00:00 +0000</pubDate><guid>https://deploy-preview-705--carpentries-website.netlify.app/blog/2012/05/an-exercise-with-functions-and-plotting/</guid><description>&lt;p>&lt;b>This post originally appeared on the &lt;a href="https://software-carpentry.org/">Software Carpentry website.&lt;/a>&lt;/b>&lt;/p>
&lt;p>Let's say you have a text file called &lt;tt>workout.csv&lt;/tt> that contains information about your workouts for the month of March:&lt;/p>
&lt;pre># date, kind of workout, distance (miles), time (min)
"2012, Mar-01", run, 2, 25
"2012, Mar-03", bike, 10, 55
"2012, Mar-06", bike, 5, 20
"2012, Mar-09", run, 3, 42
"2012, Mar-10", skateboarding, 2, 10

# Broke my leg :(

"2012, Mar-11", Wii, 0, 60
"2012, Mar-12", Wii, 0, 60
"2012, Mar-13", Wii, 0, 60
"2012, Mar-14", Wii, 0, 60&lt;/pre>
&lt;p>It's a common-separated value (CSV) file, but contains comments and blank lines. The first line (a comment) describes the fields in this file, which are (from left to right) the date of your workout, the kind of workout, how many miles you traveled, and how many minutes you spent.&lt;/p></description></item></channel></rss>