<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
    <channel>
        <title>Udderings</title>
        <link>http://mt.cowsandmilk.net/udderings/</link>
        <description></description>
        <language>en</language>
        <copyright>Copyright 2008</copyright>
        <lastBuildDate>Wed, 19 Mar 2008 20:32:00 -0600</lastBuildDate>
        <generator>http://www.sixapart.com/movabletype/</generator>
        <docs>http://www.rssboard.org/rss-specification</docs>
        
        <item>
            <title>&quot;Linked&quot; Errors</title>
            <description><![CDATA[(For those who don't want to read my silly rambling and just want to look at the simple example, here are <a href="http://cowsandmilk.net/linkederrors/">"Linked" Errors</a>.&nbsp; It's simple enough that you should understand within 30 seconds of looking at the HTML.&nbsp; If you don't, then you have to read my rambling.)<br /><br />Error messages are something that have to happen in almost every application.&nbsp; Even if you follow the <a href="http://en.wikipedia.org/wiki/Robustness_Principle">Robustness Principle</a>, and allow liberal input (why can't people's usernames contain spaces, or semicolons?&nbsp; I don't see a good reason why they shouldn't...), sometimes you are forced to present errors.&nbsp; I love many javascript implementations that let you know if your two password fields are agreeing or if you've entered a valid email address and use color coding to let you know of that interactively.&nbsp; However, ultimately you have to validate all that input server side and let the user know if there were still errors ("Someone else already has the username 'I love ;s', please choose another").<br /><br />There are many pages on which these errors are put next to the field they apply to.&nbsp; I sometimes have trouble finding these error messages, so I decided a long time, that I should put my error messages at the top of the page.&nbsp; This usually works well, but as forms become more complicated, associating the error message with a specific field can become difficult.<br /><br />As exhibit A, I present the <a href="http://static.cowsandmilk.net/images/sladmregister.png">2006 SLADM Registration page</a>.&nbsp; This was a monster with way too many fields and may have presented the largest design challenge in my life.&nbsp; I was never completely satisfied with how I packed all those fields in and it was a huge balancing act between having it work in Safari, Firefox, and Internet Explorer.&nbsp; A total of 46 inputs in the form, 22 for each person + 2 that applied to the pair of people.&nbsp; Some would say the number of fields should be reduced, but they were all needed for either legal or sponsorship reasons, so that isn't a possibility.&nbsp; I thought about moving error messages closer to what they applied to, but the large number of fields makes the problem of searching a page for the error message even more difficult and the layout probably would have fallen apart if you tried to force an error message in somewhere.<br /><br />My solution at the time was to work on my copywriting skills.&nbsp; Well written error messages could direct (smart Washington University) students to correct their errors.&nbsp; However, I knew from experience watching people that still didn't work.<br /><br />Eighteen months after the fact, my brain came up with the solution.&nbsp; It is a ridiculously simple design pattern I've never seen on the internet, which I'm naming "Linked" Errors.&nbsp; Yes, the word linked is in quotation marks.&nbsp; Because it's not really a link.&nbsp; It's a label.<br /><br /><blockquote>&lt;div id="errors"&gt;Your &lt;label for="email"&gt;E-mail Address&lt;/label&gt; must belong to an educational institution or the US Government&lt;/div&gt;<br /></blockquote>For those of you not in the know, clicking on the text inside the label, will cause the user to be taken to the input with the id in the for attribute.&nbsp; In this case, clicking on E-mail Address will take you to the input that has an id of email.&nbsp; You then use CSS to make it look like a link.&nbsp; For example:<br /><blockquote><br />#errors label {<br />&nbsp;&nbsp; <span collapsed="false" class="cssPropName editable">color</span><span class="cssColon">:</span><span class="cssPropValue editable">blue</span><span class="cssSemi">;<br /></span><span class="cssPropName editable">&nbsp;&nbsp; text-decoration</span><span class="cssColon">:</span><span class="cssPropValue editable">underline</span><span class="cssSemi">;</span><br /><span class="cssPropName editable">&nbsp;&nbsp; cursor</span><span class="cssColon">:</span><span class="cssPropValue editable">pointer</span><span class="cssSemi">;</span><span class="cssPropName editable"></span><br /><div class="cssProp editGroup"><span class="cssSemi">}<br /></span></div></blockquote><br />After some basic testing, browsers seem to implement the :hover pseudo-class on labels, but don't implement :active.&nbsp; They also don't have any idea of this having a tabindex so that one can force tabbing to the "link" or an accesskey.&nbsp; I'm sure you could code these concepts in Javascript, but that's outside the scope of this simple example.&nbsp; Now it's time for to see the end product:<br /><br /><a href="http://cowsandmilk.net/linkederrors/">See "Linked" Errors in action</a><br /><br />So, now you might have looked at the HTML and you might have a major criticism.&nbsp; How can an input have two labels?&nbsp; Will this cause problems?&nbsp; I don't know.&nbsp; In practice, good copywriting would tell me to make the text in both the labels the same, and that might alleviate certain problems I can imagine in my head.&nbsp; But really, I want to emphasize that I don't know.&nbsp; If you have examples where this would cause problems, I'd love to hear about them because this is something I plan to incorporate into everything I build in the future.<br />]]></description>
            <link>http://mt.cowsandmilk.net/udderings/</link>
            <guid>http://mt.cowsandmilk.net/udderings/</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">designpattern css</category>
            
            <pubDate>Wed, 19 Mar 2008 20:32:00 -0600</pubDate>
        </item>
        
        <item>
            <title>Guns and Bullets</title>
            <description><![CDATA[<div>There's a question at the end of this entry, so if you don't want to read it, please still answer the question.</div><div><br class="webkit-block-placeholder" /></div>Since last April, a number of my friends from Virginia Tech have commented on guns and their beliefs about flaws in the gun laws. Â I don't really disagree with them about closing things like the <a href="http://en.wikipedia.org/wiki/Gun_show#The_.22Gun_show_loophole.22">gun show loophole</a>Â and so on. Â One thing has struck me though. Â It seems the majority of people I know have never touched a gun. Â This came back on my mind when Tammy said one of her students presented her with <a href="http://mt.cowsandmilk.net/the_truth_about_teaching/2008/02/yo-yo-yo-miss.html">the first bullet she had ever seen</a>.<div><br class="webkit-block-placeholder" /></div><div>I'm just wondering how different my childhood was. Â In my house, we didn't have a gun until I was 13, and then it was just a handgun taken out of my deceased grandmother's house. Â However, the majority of my extended family was of the breed that keeps a rifle over the front door to grab when trouble is brewing out in the yard. Â Growing up, my father shot regularly in NRA competitions. Â I guess I did have a <a href="http://en.wikipedia.org/wiki/Cap_gun">cap gun</a>, and actually had a friend's mom who refused to let him play at my house because she didn't want him exposed to guns as a toy.</div><div><br class="webkit-block-placeholder" /></div><div>My personal background involves <a href="http://congressionalschools.org/camp/programs/index.php">shooting archery at Congressional</a> and shooting skeet at <a href="http://www.nvrpa.org/parks/bullrunshooting/">Bull Run Regional Shooting Center</a>. Â I also regularly went to people's farms to shoot into huge rock walls. Â I had a family friend who had a shooting range in his basement in Falls Church. Â The police were regularly called about gunshots and would just ignore it when his address was given. Â When I went to the Olympics in Atlanta, I spent a couple days attending the shooting events and marveling at the bows and guns. Â Even after all the times I spent enjoying shooting in my childhood, I haven't gone shooting since high school. Â Even when I considered going to the archery range in Forest Park, I never did. Â (I think I would have gone there if I ever could have found info on it from the Forest Park website, instead I never had the motivation to walk to that side of the park and ask how much it cost and get details). Â Spending a lot of time in shooting sports (that weren't hunting) made me into someone who doesn't really view guns as violent. Â Someone can throw a rock and kill someone, or they can throw it and skip it across a river. Â Some people shoot guns and use them to kill people, while others shoot them and blow up clay ducks or make little holes in paper. Â Of course, in some ways that comparison is silly. Â Guns probably kill more people, and many more people worry about getting shot than having a rock thrown at them. Â And nobody makes rocks, while someone has to make a gun. Â But, having a gun to me isn't about self defense, it's about blowing off steam through a relaxing sport.</div><div><br class="webkit-block-placeholder" /></div><div>As a side note on the not doing stuff in college, I don't think I ever went camping in college despite camping at least two weekends a month in high school and living in a tent for the whole summer before college. Â I don't know what happened to me.</div><div><br class="webkit-block-placeholder" /></div><div>So, all of this together is really a question about how different my childhood was. Â Did you have a gun in your house? Â Have you ever shot a gun? Â If so, shot gun, rifle, or hand gun? Â Touched a gun? Â Had a box of bullets? Â Had a cap gun?</div>]]></description>
            <link>http://mt.cowsandmilk.net/udderings/</link>
            <guid>http://mt.cowsandmilk.net/udderings/</guid>
            
            
            <pubDate>Fri, 29 Feb 2008 22:48:00 -0600</pubDate>
        </item>
        
        <item>
            <title>&quot;Exurbs&quot; and the Falls Church City Center</title>
            <description><![CDATA[Recently, I've seen lots of chatter on the internet about people moving back into cities from suburbs, probably mostly driven by <a href="http://www.theatlantic.com/doc/200803/subprime">an article in The Atlantic</a>.&nbsp; I disagree with what many are saying about people wanting to live in cities.&nbsp; I believe people are looking for a new type of suburb, which I will call the "town".&nbsp; I can't really think of good examples of towns in Saint Louis, except maybe contrasting the Loop and downtown Saint Louis.&nbsp; For Silicon Valley, I would say downtown Mountain View vs. San
Francisco, but the problem is that SF and the Valley are very two-way
commuter while most suburbs are classified as one-way commuter.&nbsp; But, I can think of dozens of examples in the DC Metropolitan area. &nbsp; In fact, the article gets into this, describing what I call a town as lifestyle centers.&nbsp; And the "granddaddy of all lifestyle centers" is in Northern VA, specifically <a href="http://www.restontowncenter.com/">Reston Town Center</a> (opened in 1990).&nbsp; Since its opening, dozens of communities of this sort have opened, and I had dozens who lived in places like <a href="http://www.kingstowne.org/">Kingstowne</a>.&nbsp; Notice they all describe themselves as towns.&nbsp; People want to live in towns.&nbsp; In Virginia, I would say a lot of this urge came from the desire to live in the <a href="http://www.viennava.gov/">Town of Vienna</a> or <a href="http://visitalexandriava.com/about/neighborhoods/overview">Old Town Alexandria</a>, both of which predate any of this stuff.&nbsp; As a corollary, people looking for towns go where they can find what is most similar.&nbsp; Many cities are trying to add the features of towns to draw in population.<br /><br />So, what describes a town?<br /><ul><li>walkable, but not so walkable it prevents driving</li><li>there are apartments, but it's easy to find nearby single family homes<br /></li><li>single family homes have yards on all 4 sides of the house, there likely are no townhouses to fill a gap in between apartment and home, despite them having town in their name.&nbsp; Townhouses are crowded suburbia, not what anyone desires.<br /></li><li>has a downtown shopping district</li><li>has a small bus system, but probably no trains</li><li>has either a miniature golf course or an ice rink</li><li>probably has a man-made lake with trails</li><li>has parades<br /></li><li>has features designed not for economic stimulation, but to get people to live there (this will be key in talking about Falls Church later)<br /></li></ul>Now, much of that may sound like suburbia, but it really isn't the way suburbia turned out.&nbsp; It instead turned into urban sprawl where people commute to <a href="http://maps.yahoo.com/#mvt=m&amp;lat=39.029805&amp;lon=-77.588105&amp;mag=9&amp;q1=Winchester%2C%20VA&amp;q2=400%20Pennsylvania%20Ave%20NW%2C%20Washington%2C%20DC%2020001%2C%20United%20States">Winchester into DC</a> and are miserable or they live in houses all crammed next to each other and it takes 15 minutes to get to the grocery store because traffic is awful.&nbsp; A town takes the city, puts it in your backyard, but lets you still have a single family house with a nice lawn.<br /><br />So, towns are a solution to this problem of people moving out of your little suburb.&nbsp; What do you do?&nbsp; You build a city center of course.&nbsp; As described in the Washington Post article, <a href="http://www.washingtonpost.com/wp-dyn/content/article/2008/02/24/AR2008022402105.html">Falls Church Turns to the Future</a>, my hometown of Falls Church has been trying to do that for the last 8 years.&nbsp; Lots of things in the article make me laugh.&nbsp; Like the quotes by the planning commission's feeling that the project "felt rushed" when developers have been modifying plans for <b>8 years</b>.&nbsp; The Falls Church Planning Commission has a long-time reputation of being anti-building, so much so that to find an example, I went to the Falls Church News Press and just digged up the oldest issue in the archive.&nbsp; Like all issues, there's an editorial <a href="http://www.fcnp.com/236/editorial.htm">criticizing the commission</a> for being anti-development.<br /><br />In examining this project, it is important to see how it differs from what the article in the Atlantic describes and it is much closer to my description of a town.&nbsp; Despite what the city council and developers claim about economic stimulation, this is not prime real estate for building businesses that would bring in money.&nbsp; Those locations would be the East and West Falls Church Metro stations, which are both outside of walking distance.&nbsp; This is quite different from a town center like <a href="http://www.rosslynva.org/">Rosslyn</a> that is based on spanning two closely located Metro stops (so much so that they describe themselves as the "Rosslyn-Ballston Metro corridor".&nbsp; So, if it isn't about economic stimulus, what is it about?&nbsp; It's about making people want to live in Falls Church.&nbsp; Families want to live in cities where they can walk to do their shopping, but they also want to live in the suburbs where their kids have a big enough lawn that they can let the dog run around outside without a leash.&nbsp; Cities have always tried to provide this with public parks, and in more recent years with dog parks that have leash-free zones and adding similar amenities of suburbs. (Big example in Boston is gardens where city residents can plant vegetables.&nbsp; The green space in front of my building is about the same size as my apartment, nothings going to grow there).<br /><br />So, what I hope this shows is that both suburbs and cities are both trying to head toward this concept I call "town" that is a happy medium of the two.&nbsp; When people fled the cities, they didn't realize how much they were going to miss some of the benefits.&nbsp; However, they are too addicted to the suburbs to give up certain amenities.&nbsp; The return to cities has not been driven by a dislike for suburbs, but by cities providing many of these amenities.&nbsp; In addition to those I mentioned, a huge part of this has been cleaning up pollution in cities.&nbsp; You no longer need to be in a suburb to have clean air.&nbsp; Newly built suburbs are designing themselves to be towns, or what The Atlantic calls "Lifestyle Centers".&nbsp; Meanwhile, established suburbs, like Falls Church, are trying to build themselves City Centers that will provide them with the same feeling.<br />]]></description>
            <link>http://mt.cowsandmilk.net/udderings/</link>
            <guid>http://mt.cowsandmilk.net/udderings/</guid>
            
            
            <pubDate>Mon, 25 Feb 2008 22:18:00 -0600</pubDate>
        </item>
        
        <item>
            <title>Control Room</title>
            <description><![CDATA[<span class="mt-enclosure mt-enclosure-amazon" style="display: inline;"><a href="http://www.amazon.com/gp/redirect.html%3FASIN=B0002X8U4I%26tag=udderings-20%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/B0002X8U4I%253FSubscriptionId=1DG78JC2P943MARD3ZR2"><img alt="Control Room" src="http://images.amazon.com/images/P/B0002X8U4I.01._SCLZZZZZZZ_SX175_PU-10_.jpg" class="mt-image-right" style="margin: 0pt 0pt 20px 20px; float: right;" /></a></span> <div>Due to to <a href="http://mt.cowsandmilk.net/udderings/tedreviews/2006-jehane-noujaim.html">recently viewing Jehane Noujaim's TEDTalk</a>, I decided to get her DVD from the Boston Public Library. Based primarily on happenings at Al Jazeera and <a href="http://www.centcom.mil/">CentCom</a>, it adeptly explores the days leading up to the war in Iraq from the Arab and journalistic perspective.&nbsp; I enjoyed the film not because it really provided me with any new information, but reminded me of the things I knew 3-4 years ago, but had forgotten.<br /><br />Anyways, I'd recommend getting to your library and checking the DVD out.<br /></div>]]></description>
            <link>http://mt.cowsandmilk.net/udderings/</link>
            <guid>http://mt.cowsandmilk.net/udderings/</guid>
            
            
            <pubDate>Sat, 16 Feb 2008 09:48:00 -0600</pubDate>
        </item>
        
        <item>
            <title>Changing What We Teach</title>
            <description><![CDATA[One thing I've wondered for years is how changes in what we know can filter down into elementary schools.Â  And in some cases how that will shift culture and make certain parts of culture unfamiliar.<br /><br />That sentence sounds quite awkward, so let's give an example.Â  You probably think there are 5 senses:<br /><ol><li>Sight</li><li>Sound</li><li>Smell</li><li>Taste</li><li>Touch</li></ol>But based on what is taught in most physiology courses, you would be wrong.Â  We have at least four more:<br /><ol start="6"><li>Pain</li><li>Position</li><li>Temperature</li><li>Balance</li></ol>Generally, we don't teach our kids these senses, even though some of them are among the coolest in the human body.Â  Who would have ever guessed little hairs in our ears play such a significant role in us not falling down all the time?Â  And while the first five are fairly orthogonal to each other, except for smell and taste, when we add the next 4, a lot of the interactions between the senses and how we perceive the world begin to be built up.Â  Like, why does pain go away when we rub the area that hurts? Â (of course, the traditional 5 sense do mix in some people, in what is referred to as <a href="http://en.wikipedia.org/wiki/synesthesia">synesthesia</a>)<br /><br /><span class="mt-enclosure mt-enclosure-amazon" style="display: inline;"><a href="http://www.amazon.com/gp/redirect.html%3FASIN=B00004BZIY%26tag=udderings-20%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/B00004BZIY%253FSubscriptionId=1DG78JC2P943MARD3ZR2"><img alt="The Sixth Sense (Collector's Edition Series)" src="http://images.amazon.com/images/P/B00004BZIY.01._SCLZZZZZZZ_SX175_PU-10_.jpg" class="mt-image-right" style="margin: 0pt 0pt 20px 20px; float: right;" /></a></span>But I'm getting away from my original point, which was how does us having more than five senses impact culture?Â  Well, obviously we can't talk about a "sixth sense" any more if we teach our kids that we have 9 senses.Â  Is there a way we can transition to talking about a "tenth sense"?Â  I doubt it.Â  This is an example from science because I'm familiar with that, but the same things are very true of many things about history.Â  Many of the stories about the early Americas and the beginning of Thanksgiving are just plain wrong.Â  Yet, we continue to teach fables before crushing them later on in life with the truth.Â  Or at least that's what I'm told, it's been a long time since I was in elementary school.<br /><br />More things in science to talk about.Â  Do they still teach the <a href="http://en.wikipedia.org/wiki/Five-kingdom_system#Five_kingdoms">five kingdoms of life</a>?Â  Or are we doing the <a href="http://en.wikipedia.org/wiki/Three-domain_system">3 domains</a> everywhere now?Â  That doesn't seem like it would be too hard to correct, but I learned 5 kingdoms until high school, which was a full 9 years after the change was proposed by Carl Woese, and even then it was taught as a controversial change.Â  It was only controversial in that some very vocal people didn't like it, and as usual the vocal disagreeement had to be heard for a balanced presentation.Â  It didn't matter that the biology of cellular membranes and flagella fully backed up the 16srRNA data it was based on.Â  Then there's the fact that Pluto is no longer a planet.Â  When will that change in curricula (or has it already)?Â  And why did Pluto losing planet status make so much news, but noone was told about these 4 extra senses?Â  I think it has to do with the fact you can't point to something physical like the nose or eye or tongue or ear and say, "That is responsible for your sense of position."Â  Without something physical, it's much harder to explain.Â  It's also harder to explain how the "skin", which was previously only responsible for touch, is now simultaneously taking care of pain and part of temperature.Â  And why those aren't actually part of touch.Â  You "touch" something to know it's cold, right?Â  So isn't that touch? (no, nice try...)<br /><br />Basically, I'm just curious whether the amount our culture depends on a scientific misconception affects it's propagation.Â  Will the loss of Pluto affect the <a href="http://en.wikipedia.org/wiki/Pluto_%28mythology%29">Greek God</a> and <a href="http://en.wikipedia.org/wiki/Pluto_%28Disney%29">Mickey Mouse's dog</a>?<br />]]></description>
            <link>http://mt.cowsandmilk.net/udderings/</link>
            <guid>http://mt.cowsandmilk.net/udderings/</guid>
            
            
            <pubDate>Fri, 15 Feb 2008 00:37:00 -0600</pubDate>
        </item>
        
        <item>
            <title>Indexed Book!</title>
            <description><![CDATA[<span class="mt-enclosure mt-enclosure-amazon" style="display: inline;"><a href="http://www.amazon.com/gp/redirect.html%3FASIN=0142005207%26tag=udderings-20%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/0142005207%253FSubscriptionId=1DG78JC2P943MARD3ZR2"><img alt="Indexed" src="http://images.amazon.com/images/P/0142005207.01._SCLZZZZZZZ_SX175_.jpg" class="mt-image-right" style="margin: 0pt 0pt 20px 20px; float: right;" /></a></span>One of my favorite "blogs" is <a href="http://indexed.blogspot.com/">Indexed</a>.&nbsp; Apparently, there is now a book.&nbsp; Me want now.&nbsp; You should get as excited as me.&nbsp; And subscribed to the RSS feed for indexed.&nbsp; You'll love it, trust me.<br />]]></description>
            <link>http://mt.cowsandmilk.net/udderings/</link>
            <guid>http://mt.cowsandmilk.net/udderings/</guid>
            
            
            <pubDate>Thu, 17 Jan 2008 20:46:56 -0600</pubDate>
        </item>
        
        <item>
            <title>Yamino!</title>
            <description><![CDATA[This summer, I got used to using Yahoo! search.Â  While many people would disagree with me, I would argue it's better than Google unless the thing you're looking for was added to the internet in the last 2 days.Â  Part of the reason for my difference in experience may be how rarely I go to search engines.Â  Most of what I look for any day is in Wikipedia, and I don't even use the browser to do Wikipedia (I use <a href="http://pathway.screenager.be/">Pathway</a>).<br /><br />The problem is, my browser of choice is Camino, which unlike Firefox, does not have search plugins.Â  And like all Mozilla products, it comes with Google by default.Â  So, I wanted my Yahoo! search.Â  So, after months, I got around to fixing my problem.<br /><br /><span class="mt-enclosure mt-enclosure-image"><img alt="Yamino.png" src="http://mt.cowsandmilk.net/udderings/2007/12/08/Picture%201.png" class="mt-image-right" style="margin: 0pt 0pt 20px 20px; float: right;" height="263" width="237" /></span>So, this is what it looks like.Â  Beautiful.Â  <strike>I should add Flickr and del.icio.us to it as well.</strike> (They're added now)Â  I added all the services I could find from search.yahoo.com, so if there's more you think should be added, let me know.Â  It's fairly easy to delete choices once the file is downloaded, so I'm aiming to add as many as possible with the idea that it's easier to customize via deletion than adding.<br /><br />So, how do you install this?<br /><ol><li>Download the <a href="http://static.cowsandmilk.net/yamino/SearchURLList.plist">.plist file</a> from<a href="http://static.cowsandmilk.net/yamino/SearchURLList.plist"> http://static.cowsandmilk.net/yamino/SearchURLList.plist</a></li><li>If you want to remove some of the options, open the file with the Property List Editor (should open with this by default) and delete the ones you don't want.Â  You can also change the PreferredSearchEngine if you like.<br /></li><li>Move SearchURLList.plist to ~/Application Support/Camino</li><li>Restart Camino</li><li>You're done</li></ol>So, I have Yahoo! Search in my life and you can too.<br />]]></description>
            <link>http://mt.cowsandmilk.net/udderings/</link>
            <guid>http://mt.cowsandmilk.net/udderings/</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">yahoo camino</category>
            
            <pubDate>Sat, 08 Dec 2007 15:25:00 -0600</pubDate>
        </item>
        
        <item>
            <title>comparecommands</title>
            <description><![CDATA[Sometimes you need questions answered about which of two pieces of code are faster.&nbsp; If you're a computer science major, someone probably taught you how to do this at some point in your life.&nbsp; I never really was taught this and instead relied on using microtime at breakpoints to profile code.&nbsp; Lately, thanks to <a href="http://zlab.bu.edu/be561/">DNA &amp; Protein Sequence Analysis</a>, I've been playing with Perl.&nbsp; On this visit to the language, I started looking at the <a href="http://perldoc.perl.org/Benchmark.html">Benchmark module</a>, which I think makes pretty output for benchmarking perl code.<br /><br />I've got this way in perl to make output I like, how do I use it to answer questions I have about programs not written in perl?&nbsp; Enter <code>comparecommands</code> , a simple script that compares shell commands using Benchmark.<br /><br /><br /> <pre><code>#!/usr/bin/perl</code>
<code>use strict;</code>
<code>use warnings;</code>
<code>use Benchmark qw(:all);</code>

<code>#first argument is how many times the functions are run</code>
<code>my $count = shift @ARGV;</code>

<code>#$test will contain dynamically generated code for comparing the commands</code>
<code>#open up cmpthese</code>
<code>my $test = "cmpthese($count, { ";</code>
<code>#add the anonymous functions to run the command in the shell</code>
<code>$test .= "'$_' =&gt; sub { system '$_' }, " for @ARGV;</code>
<code>#close cmpthese</code>
<code>$test .= '});';</code>

<code>#run the dynamically generated code</code>
<code>eval $test;</code>
</pre>The first argument is the number of times to run the 2 commands, and then the rest of the arguments are a list of commands to compare.&nbsp; For example, <code>comparecommands 1000 "php foo.php" "python bar.py"</code> .&nbsp; Hey, that's amazing, we get pretty output saying which was faster. The obvious question in my mind after writing this was whether I could have done this in PHP, say using PEAR's <a href="http://pear.php.net/package/Benchmark">Benchmark module</a>.&nbsp; Well, yes, I could have, but it would not have been nearly as simple.&nbsp; Perl's anonymous functions just make dynamically increasing the number of compared commands easy.<br /><br />If you have two pieces of code you want to compare that are both in PHP, it probably is better to just throw together a benchmark using the PEAR module, but when you want to compare code in two different languages, I think this code is useful.&nbsp; If someone wants to clue me in on more useful ways of doing benchmarking cross-language, hopefully you know where to find me.<br />]]></description>
            <link>http://mt.cowsandmilk.net/udderings/</link>
            <guid>http://mt.cowsandmilk.net/udderings/</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">perl</category>
            
            <pubDate>Sat, 24 Nov 2007 00:35:00 -0600</pubDate>
        </item>
        
        <item>
            <title>Ron Paul is Right about the Department of Education</title>
            <description><![CDATA[For those who don't know me, I haven't spent any time in the public education system.&nbsp; In fact, my education was:<br /><ul><li>a couple years in a private preschool</li><li>11 years at <a href="http://congressionalschools.org/">The Congressional Schools of Virginia</a></li><li>4 years at <a href="http://sssas.org/">Saint Stephen's and Saint Agnes School</a></li><li>4 years at <a href="http://wustl.edu/">Washington University in Saint Louis</a></li><li>and now I'm at <a href="http://bu.edu/">Boston University</a></li></ul>I just put that out as a disclaimer that I think is actually irrelevant to what is going in this post, but I thought someone might criticize me if I didn't come out with that up front.<br /><br />So, moving on to the important bits.<br /><br />In <a href="http://youtube.com/watch?v=yCM_wQy4YVg">Ron Paul's talk at Google</a>, he says one of the first departments he would eliminate is the Department of Education.&nbsp; One Googler asks if eliminating the Department of Education would hurt the education of poor children and not provide a fair chance to all children.&nbsp; He also presents a scenario where a rich state/locale decides the private schools are adequate and eliminates the public schools.&nbsp; The Googler makes several assumptions that I refuse to accept:<br /><ol><li>Local governments in poor areas are unable to fund their schools and/or manage public schools</li><li>The solution to all underperforming school districts is the same as it can be mandated from the national level</li><li>Private schools are the mainstay of the wealthy and driven by accepting wealthy in order to have lots of money</li></ol>While I disagree with much of libertarianism, I must agree with Ron Paul on the Department of Education as I have only observed bad consequences as it has become more powerful.&nbsp; In fact, I would argue that even certain state level education laws in Virginia have hurt public schools at the local level, but less severely.&nbsp; I also would like to argue against point three by examining a level of education where private schools are much more prominent, that of the universities and how they have performed in regards to the poor along with some ways that private institutions are driving forward the education of the poor at a young age.<br /><br />Exhibit 1: Fairfax County Public Schools vs. the Department of Education<br />Most of my knowledge of this has come from the Washington Post's <a href="http://blog.washingtonpost.com/fairfaxfocus/2007/08/us_education_officials_virgini.html">coverage</a>, so my feelings may be influenced by theirs, but the fact that they set up a special page for this indicates how much this is a big deal.&nbsp; Fairfax County has over 100 languages spoken exclusively in the homes of children (where exclusive means the parents speak no English).&nbsp; For this reason, their <a href="http://fcps.edu/">website</a> is in seven different languages in addition to English.&nbsp; Due to this unique situation, one of Fairfax County's high schools, Jeb Stuart, was featured in the <a href="http://www7.nationalgeographic.com/ngm/data/2001/09/01/html/ft_20010901.3.html">September 2001 issue of National Geographic</a>.<br /><br />Recently, Fairfax County has been fighting how No Child Left Behind measures literacy for non-native speakers of English.&nbsp; Before No Child Left Behind, literacy progress for students was measured as improvement over the year before.&nbsp; Under No Child Left Behind, literacy is measured as a definite point at different grade levels.&nbsp; If a student moves to the US at age 14, never having heard English, and not even literate in his native language, no longer is it sufficient progress to get them to grade 1 level by the end of freshman year, grade 4 by sophomore year, grade 7 by junior year, grade 10 by senior year.&nbsp; You would have failed this student under No Child Left Behind, but far exceeded any reasonable person's expectations for your educational system.<br /><br />In April, this came to a head when Fairfax County bluffed saying that they would not perform the tests required under No Child Left Behind.&nbsp; They gave in because of the $17 million bounty they would lose if they didn't do the new tests.&nbsp; And noone pays attention to the results.&nbsp; All the parents of children at Fairfax County schools know they are excellent and understand why their school is viewed as "failing" in the eyes of the Federal Government.&nbsp; So, is No Child Left Behind at all useful for Fairfax County?&nbsp; No.&nbsp; Some people would argue that Fairfax County is the exception to the rule, but I'm sure there's plenty of other school districts where the Federal Government defining their goals impacts how the students are being educated in a negative way.&nbsp; In Fairfax, they luckily are smart enough to know the federal government's goals are silly and are happy to define their educational goals as they see fits the local situation.&nbsp; Now imagine a school district that is actually underserving its population.&nbsp; If there was no federal involvement, they would examine their system and create priorities and self-examine to find the problems in their system.&nbsp; But since there's a federal government, they may just be willing to accept the federal government's criteria for success and follow their recommendations rather than doing self-examination.&nbsp; This runs counter to my own experience of solving problems.&nbsp; The first step in solving a problem is clearly defining the problem from your local perspective and finding the root of that problem.&nbsp; Often this first step is where the creativity happens and ideas for solutions emerge.&nbsp; Without self-management and assessment, that first step never occurs and the creative solutions to problems never emerge.<br /><br />Exhibit 2: Ivy Leagues vs. Public Education on costs<br />Your family makes $35,000/year and you just got into a state school and Yale, which is cheaper to attend?&nbsp; Believe it or not, the private school, Yale, would probably be cheaper.&nbsp; So would Harvard.&nbsp; And many other private schools.&nbsp; <a href="http://www.yale.edu/admit/freshmen/financial_aid/charts.html">If your family income is under $45,000 a year, your expected parental contribution at Yale is $0</a>.&nbsp; So, what happened to private schools being for the rich?&nbsp; I believe that assumption came from the fact that these schools tend to let in children of alumni and alumni tend to go on to be successful and rich.&nbsp; And because rich people who have smart children give them money so they can fund the children who aren't as rich, but are also smart, to come and get an education as well.&nbsp; But these schools are need-blind, so that means your financial situation is not considered in admission.&nbsp; Not that going to a school in a rich neighborhood with a good reputation wouldn't be considered as a plus over attending one that isn't so stellar, this discrimination correlated to need likely still occurs.&nbsp; But the key is, a private education isn't reserved for the rich and wealthy and need has been almost completely negated from attending a great university.&nbsp; Of course, you still have to get the education before college that can get you in, which is where this next exhibit comes into play.<br /><br />Exhibit 3: Bring Me a Book<br />When I was working at Yahoo, for <a href="http://brand.yahoo.com/forgood/responsibility/giving.html">Yahoo! for Good day</a>, I volunteered at the <a href="http://www.bringmeabook.org/">Bring Me A Book Foundation</a>.&nbsp; It was quite an interesting experience because they have a warehouse in Mountain View, which is not cheap.&nbsp; In fact, nothing about their operation was cheap.&nbsp; But that isn't surprising because their goal was to bring "High Quality Children's Books" to children in need of reading programs.&nbsp; High quality in both how the book was written and illustrated, but also in the set of books sent into a situation and in the physical quality and durability of the book.&nbsp; These books aren't meant to affect one or two kids, but whole communities for years to come.<br /><br />So, what impact can this have?&nbsp; A huge factor in success in life is the ability to read when entering kindergarten.&nbsp; Most low-income areas don't have age-appropriate books for children.&nbsp; The goal of Bring Me a Book is to use the wealth of Silicon Valley to place age and culture-appropriate books into low-income areas along with encouraging reading aloud.&nbsp; They even have programs for teaching people how to read aloud and encouraging non-native english speakers to use the opportunity to improve their English skills along with reading aloud to their children (or audio tapes are included with the books to help in this learning).&nbsp; The ability to read isn't the only thing impacted by reading aloud, creativity is cultivated in the young mind by stimulating stories, so even making up stories to go along with picture books is encouraged among these parents.<br /><br />I'm not going to pretend like Bring Me A Book is the definitive solution to education problems in poor areas, but its proof that the goal of the wealthy isn't to hold down poor students, instead they believe in improving education for all children and Bring Me A Book is a great example of this.<br />]]></description>
            <link>http://mt.cowsandmilk.net/udderings/</link>
            <guid>http://mt.cowsandmilk.net/udderings/</guid>
            
            
            <pubDate>Mon, 22 Oct 2007 22:20:00 -0600</pubDate>
        </item>
        
        <item>
            <title>Sexism in AP Article?</title>
            <description><![CDATA[Today I was on the T and picked up a copy of the <a href="http://bostonnow.com/">BostonNOW</a> off the floor as I tend to do.&nbsp; Since I like scandal, I immediately turned to the lead article on <a href="http://www.bostonnow.com/node/62662">teachers and sexual harassment</a>.&nbsp; It provided the scandal factor I needed for the day, I was quite satisfied.<br /><br />But there was something that bothered me tremendously.&nbsp; In an inset to the article (present at end of article online), it says, "Nine out of 10 of those abusive educators were male."&nbsp; Now, this is nice to know, but the article has three examples of sexual harassment by teachers and they were all female.&nbsp; What was the deal?&nbsp; Well, the byline says Associated Press, so it's time go visit <a href="http://hosted.ap.org/dynamic/stories/M/MA_TEACHER_ABUSE_MASS_MAOL-?SITE=RIPRJ">their copy</a>.&nbsp; The AP's story doesn't have the nine out of 10 fact, so it really makes it seem like a bunch of female teachers are taking advantage of our students...<br /> ]]></description>
            <link>http://mt.cowsandmilk.net/udderings/</link>
            <guid>http://mt.cowsandmilk.net/udderings/</guid>
            
            
            <pubDate>Mon, 22 Oct 2007 21:24:44 -0600</pubDate>
        </item>
        
        <item>
            <title>Random Perl of the Day</title>
            <description><![CDATA[<b>Edit (12-8-07):</b> I realized like the day after I did this that there is a <a href="http://en.wikipedia.org/wiki/Killall">killall command</a> that does the same thing but better.&nbsp; This was still a good learning excercise.<br /><br />So, there may be a better way to do this, but I often lack the UNIX foo I should posess, so....<br /><br />There are times when I need to kill <a href="http://synergy2.sourceforge.net/">synergy</a> on my mac laptop.&nbsp; Namely, I'm not home and remote desktop/vnc into one of the computers at home.&nbsp; When I do this and run off the edge of the screen, it sometimes run onto the mac laptop and synergy gets really confused.<br /><br />So, the traditional way of doing this would be:<br /><ol><li>run <code>ps -U <i>username</i> | grep synergyc</code></li><li>see what the processid is and <code>kill <i>processid</i></code></li></ol>So, 2 step process would normally be semi-acceptable.&nbsp; But this can become a lot of steps if there's more than one synergy client process sitting around.&nbsp; Or really, what if I want to kill some other process, like say Microsoft's latest version of Remote Desktop Connection which currently has 18 copies running, which makes this a 19 step cleanup job.<br /><br />So, I've been learning Perl because I'm taking <a href="http://zlab.bu.edu/be561/">DNA and Protein Sequence Analysis</a> which is a field where Perl dominates.&nbsp; So, let's just write a perl script that takes a list of programs and kills them all for us...<br /><br /><code>#! /usr/bin/perl<br /><br />use strict;<br />use warnings;<br /><br />my @processids;<br /><br />foreach (@ARGV) {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; foreach (`ps -U cowsandmilk | grep "$_"`) {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # You must ignore processes spawned by this script<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # They're done by the time we get to kill and then kill<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # gives errors...<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (! (/grep/) ) {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #processid is first element of list produced by split<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my ($processid) = split;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; push @processids, $processid;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />}<br /><br />exec "kill @processids";</code><br /><br /><br />So, now I just type <code>killprocess "Remote Desktop"</code> and all those extra processes disappear.&nbsp; One step instead of 19.&nbsp; Sounds great to me.<br /> ]]></description>
            <link>http://mt.cowsandmilk.net/udderings/</link>
            <guid>http://mt.cowsandmilk.net/udderings/</guid>
            
            
            <pubDate>Mon, 22 Oct 2007 21:10:00 -0600</pubDate>
        </item>
        
        <item>
            <title>Reasons to Have a Vertical Screen</title>
            <description><![CDATA[I recently switched to having a vertical screen rather than a horizontal screen.&nbsp; <br />There are a number of advantages:<br /><span class="mt-enclosure mt-enclosure-image"><a href="http://mt.cowsandmilk.net/udderings/2007/09/29/IMG_1562.html" onclick="window.open('http://mt.cowsandmilk.net/udderings/2007/09/29/IMG_1562.html','popup','width=2048,height=1536,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://mt.cowsandmilk.net/udderings/assets_c/2007/09/IMG_1562-thumb-200x150.jpg" alt="Vertical Monitor" class="mt-image-right" style="margin: 0pt 0pt 20px 20px; float: right;" height="150" width="200" /></a></span>
<ol><li>Much easier to read papers from journals full screen</li><li>Much easier to navigate my iTunes library</li><li>Don't know if this has had any impact because I haven't written much code lately, but it is reported that bugginess of code spikes when a section of code exceeds the size of your screen.&nbsp; Obviously, my screen can now hold much more code.<br /></li><li>I'm much more stringent about code lengths in code</li><li>Much easier to read/scan long email messages and not miss anything.</li><li>My laptop fits on my desk much easier now</li></ol>What are the bad things?<br /><ol><li>Can't watch movies very easily in this orientation</li></ol>So, 6 pluses, 1 minus.&nbsp; I think its a winner<br />]]></description>
            <link>http://mt.cowsandmilk.net/udderings/</link>
            <guid>http://mt.cowsandmilk.net/udderings/</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">computer</category>
            
            <pubDate>Sat, 29 Sep 2007 09:25:00 -0600</pubDate>
        </item>
        
        <item>
            <title>On Being Open With Code</title>
            <description><![CDATA[So, a few weeks ago, facebook accidentally exposed a bunch of their code and then proceeded to go through a lot of work to get it taken down from places where it had been publicly posted.<br /><br />Many people contrasted it to open source where all your code is open, but that's an old discussion.<br /><br />So a new discussion, contrast it to <a href="http://leahculver.com/">Leah Culver</a>, who posts bits of <a href="http://pownce.com/">Pownce</a>'s code online and <a href="http://www.leahculver.com/2007/08/21/your-pownce-friends-are-important-to-me/">discusses changes and asks for advice</a>. I think that's hot.&nbsp; I don't know why I wrote this post, other than to say that I like Leah Culver's attitude about her code.<br /><br />Other than that, in 8 days, I stop pretending I'm a web programmer and start being a PhD student in Biomedical Engineering.<br /> ]]></description>
            <link>http://mt.cowsandmilk.net/udderings/</link>
            <guid>http://mt.cowsandmilk.net/udderings/</guid>
            
            
            <pubDate>Tue, 21 Aug 2007 19:51:07 -0600</pubDate>
        </item>
        
        <item>
            <title>What is Bad About MIT</title>
            <description><![CDATA[So, when I visited MIT in March, <a href="http://web.mit.edu/tox/sasisekharan/">Ram Sasisekharan</a> asked me what I thought was bad about MIT from spending a summer there.&nbsp; I stammered out some stupid answer because I really wasn't there to talk about my own thoughts and was taken aback for a second.&nbsp; I knew there was a better answer than what I gave though because I was spending a lot of my weekend trying to figure out a reason why I would go to MIT instead of Boston University.&nbsp; I had visited BU the weekend before and they had blown me away in both their faculty and facilities and they seemed to have a great atmosphere.&nbsp; The thing is, I had an amazing time working at MIT and I think the question was a bit unfair because no organization of that size has something inherently "bad" about it, especially when different labs are given lots of independence and so much of your experience there is isolated to just your lab and your local interactions.<br /><br />It took me a few weeks to actually step back and see what my answer should have been.<br /><br />On the first day of my summer at MIT, the students in my program sat down in a room and a bunch of grad students, postdocs, and professors came through and presented us with possible summer projects.&nbsp; We then chose our top 3 and they went through and matched us up with our choices.&nbsp; This was actually one of my favorite things about MIT and if I ever run an account that is funding summer students, I probably will do this if its possible.<br /><br />So, what does this have to do with something at MIT being bad?&nbsp; The problem is that this was necessary.&nbsp; In the same department (Biological Engineering), there was another group of summer researchers who instead were assigned to labs.&nbsp; When some of them showed up in their labs, their supervisors had completely forgotten they had a summer student and some of them ended up having awful experiences.&nbsp; At most schools, free undergrads are a precious commodity.&nbsp; At MIT they aren't and it led to a disregard for these students who were all very smart and among the best at their schools.<br /><br />So, that first day just wasn't about giving me choice, it was erected as a barrier to obtaining a student that the supervisor must be willing to give a presentation and talk to students in order to get one.&nbsp; And that is bad.&nbsp; It made the difference between me having one of the most interesting summers of my life and students feeling like they might as well have gotten an internship where they were fetching coffee all day.<br /> ]]></description>
            <link>http://mt.cowsandmilk.net/udderings/</link>
            <guid>http://mt.cowsandmilk.net/udderings/</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">MIT</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">research</category>
            
            <pubDate>Sat, 04 Aug 2007 15:27:44 -0600</pubDate>
        </item>
        
        <item>
            <title>Only Admit Those Who Can Be a Success...</title>
            <description><![CDATA[<blockquote>"He was sometimes accused of caving in to anti-Semitism for refusing to admit many Jewish students (his rationale being that nobody would hire them when they completed their degrees),..."
<div><span class="Apple-style-span">-passage on <a href="http://en.wikipedia.org/wiki/Solomon_Lefschetz">Solomon Lefschetz</a> in <span class="Apple-style-span" style="font-style: italic;">A Beautiful Mind</span></span></div></blockquote>
<div>Wow, I'm not completely sure how to respond to this.&nbsp; Solomon Lefschetz wasn't an anti-Semite by any means, in fact he was Jewish (which doesn't prevent anti-Semitism, but its a strong determent).&nbsp; In investing in people, giving them your time, you want them to be successful when they leave.&nbsp; If the Princeton mathematics&nbsp; department produced brilliant students, but the outside world refused to recognize the student's talents because they were Jewish, what good would that bring the department?<br /><br />Looking back, its hard to imagine departments not hiring a professor because they were Jewish, but anti-semitism was widespread.&nbsp; It quite clearly hurt institutions though as <a href="http://en.wikipedia.org/wiki/George_David_Birkhoff">Birkhoff</a>'s anti-semitism at Harvard is widely credited with the rise of Princeton in Mathematics and is the reason why Einstein ended up at the <a href="http://en.wikipedia.org/wiki/Institute_for_Advanced_Studies">Institute for Advanced Studies</a>.<br /><br />So, what should we learn from this?&nbsp; There are smart people out there.&nbsp; If you choose to admit or hire the smartest people you can find, you'll be in good shape.&nbsp; They will probably be a diverse group, but for one problem.<br /><br />The problem is "oppression" (I use quotes because I think that word is too strong, but the thesaurus isn't helping me right now).&nbsp; If I would get into Princeton, but didn't because I'm Jewish, following getting my PhD, I am not going to be in as good&nbsp;a shape as having gone to Princeton and had lunch time discussions every day with the future shining lights of the mathematics community.&nbsp; Now I am behind because of discrimination.&nbsp; Now, if I face a nondiscriminatory competition for a professorship, I am behind those who would have been my equals.&nbsp; And here is where we hit affirmative action and I get myself stuck in a loop.&nbsp; Why?&nbsp; Because I have two candidates outside who started out on equal footing and one is now ahead of the other and for no reason other than a third party's decision.&nbsp; Or I have two candidates where one started out ahead, but now they are equal because of a third party's actions.&nbsp; Or there might not be a third party, it might just be situational.&nbsp; Person A went to an elementary school where the teacher never prepared a lesson plan and couldn't answer student's questions.&nbsp; Person B went to an elementary where her kindergarten teacher had&nbsp; Ph.D in elementary school education.&nbsp; Before you claim that's ridiculous, both those situations are present at schools within 15 minutes of my house in VA.<br /><br />There is a need for some form of action to correct this.&nbsp; I'm not sure moving admissions very far away from being unbiased to your background is the correct action though.&nbsp; So, instead I'll list things that I view as promising towards closing the gap and then some things that I find interesting.<br /><br />Promising:<br />
<ol>
<li>Teach for America and similar programs.&nbsp; For those not familiar, recent graduates of top colleges and universities go into classrooms and teach in underprivileged communities who tend to be behind in school.&nbsp; These aren't just any old graduates, they are typically among the best in terms of leadership and dedication towards tasks.&nbsp; I tend to see a large portion of the problem in certain schools as being that the teachers have failed.&nbsp; When you put in dedicated teachers, amazing things happen.&nbsp; And just to force my point, I'm sure many people know about the stereotypical professor with horrible classes because he just cares about his research and not teaching.&nbsp; Noone learns anything in his class while people learn in the class of the professor who cares and excites the class.&nbsp; I believe TFA makes great strides in these classrooms because it brings in people who care.&nbsp; One TFA teacher I'm good friends with had a student tell her that she was the first teacher who had ever cared about them.&nbsp; And this was in 10th grade.&nbsp; I've also heard good things from teachers where the students they have were in a TFA class the year before.&nbsp; Its very encouraging.<br /></li>
<li>Programs to teach/encourage parents to "read" to their children.&nbsp; This may seem like a weird one and it will be hard to explain.&nbsp; I've recently had contact with some charities that are involved in getting books into the hands of children.&nbsp; One of the most important indicators of success in school is whether a child was read to at an early age.&nbsp; But in my first sentence, I put read in quotes.&nbsp; Why?&nbsp; One of the big problems in some communities is the parents don't know how to read or can't read English.&nbsp; There are a few approaches, the most traditional of which is adult education to teach them how to read simultaneously as the parent is reading to the child, so the reading is enforcing the parent and the child's ability to read.&nbsp; For those who can only read another language, reading to your child in Spanish is just as beneficial as reading in English.&nbsp; But if language isn't what matters, what is coming out of reading?&nbsp; A good children's book is designed to stimulate the imagination and has great illustrations.&nbsp; The real point is creativity and the ability to ask questions and formulate ideas about possible answers (aka hypothesize).&nbsp; So, a parent can make up their own story to go along with the pictures and be just as successful asking questions before turning the page and creating an exciting story.&nbsp; I wish I could point you to papers saying that this is true, but I'm not speaking from any academic expertise on my part, just what those people who have tried it have told me.<br /></li></ol><br />Interesting:<br />
<ol>
<li>Single sex classrooms.&nbsp; I went to a high school that was part of a K-12 school where middle school math and science were single sex with the idea that girls would be more likely to end up in math and science if they weren't being crowded out by the boys.&nbsp; Then the other subjects were taught co-ed so students actually had interaction with the opposite sex as they entered the horny portion of their lives.&nbsp;&nbsp; I never experienced it, so I have no personal opinions and people in my school seemed to have mixed feelings looking back.&nbsp; I can see what to solve the socioeconomic gap (as both my "promising"s try to do and my other "interesting"), but I have no clue when it comes to the gender gap.&nbsp; I think computers might end up being the solution as they provide a fairly gender neutral interface at first glance.&nbsp; Unfortunately, the gender ratios in computer science tend to prove me wrong.&nbsp; Maybe chemical engineering is the answer, that has a great ratio of male:female.&nbsp; Or I guess, biomedical engineering is the highest percentage female, followed by chemical engineering (Quick reference: <a href="http://www.bmes.org/WhitakerArchives/news/womenBME.html">Whitaker News 2001</a>, and I know at Wash U the percentage female has increased much more in both those disciplines over the last 6 years, and I think both departments graduated more females than males in undergrad this year.<br /></li>
<li><a href="http://www.donorschoose.org/">Donorschoose.org</a> is a website for funding innovative projects proposed by teachers whose school districts can't afford these not very expensive high impact ideas.&nbsp; I put it under interesting because it requires teachers who are motivated.&nbsp; I've heard about this site mostly from TFA people (despite the fact that I work at the <a href="http://yahoo.com/">company</a> who made the site, it wasn't their idea and they don't run it though).&nbsp; There are motivated teachers out there who aren't TFA who I think it will be an amazing boost to.&nbsp; When I want to do something, but can't get backing to make it happen, its frustrating.&nbsp; Its happened to me a couple times and I get depressed and just don't do anything despite initially having a large amount of drive to go forward.&nbsp; I think this happens to a lot of teachers.&nbsp; They get driven down by lack of support.&nbsp; Donorschoose gives the opportunity for this support and I think it will eliminate some burnout among teachers in lower income schools.</li></ol>This is in no way a complete survey of what I could try to get into on this subject, but its a nice start.&nbsp; If I ever revisit this, maybe we can get into person X who lives in a country where there's no clean water and how this hinders education.&nbsp; And maybe I'll try to hit the gender gap and/or the racial gap, both of which I view as a function of lack of role models in these areas (if one ignores the socioeconomic component of the racial gap) and whether having minority professors to act as role models to the next generation can be a justification for affirmative action.<br /></div>]]></description>
            <link>http://mt.cowsandmilk.net/udderings/</link>
            <guid>http://mt.cowsandmilk.net/udderings/</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">A Beautiful Mind</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">academia</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">affirmative action</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">discrimination</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">Donorschoose</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">single sex classrooms</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">Teach for America</category>
            
            <pubDate>Wed, 01 Aug 2007 23:38:45 -0600</pubDate>
        </item>
        
    </channel>
</rss>
