<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/150653</link>
    <title>MATLAB Central Newsreader - idea for file exchange</title>
    <description>Feed for thread: idea for file exchange</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2008 by The MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>The MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Sat, 14 Jul 2007 12:12:34 -0400</pubDate>
      <title>Re: idea for file exchange</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/150653#382902</link>
      <author>John D'Errico</author>
      <description>Let me expand on my last response.&lt;br&gt;
&lt;br&gt;
The file exchange is a place to obtain high quality software that extends Matlab. It is also a place to learn programming patterns. But things learned early in your career are not always easy to unlearn.&lt;br&gt;
&lt;br&gt;
Students who start out in their Matlab careers writing (to put it bluntly) crap, will continue to do so, when they start on their thesis, or go into the workforce. I learned to write Fortran, mentored by a writer of pure, unmitigated crap. So this is the style I wrote in. For example:&lt;br&gt;
&lt;br&gt;
One of my first mentors at Eastman Kodak wrote pure spaghetti code. He only had one program. He just used it for everything. He once balanced his checkbook by adding a branch at the beginning of the code to a routine at the end of this 2000 line box of cards. He then read in, and compiled all 2000 lines of code, just so he could add up some numbers. All this to avoid copying a few JCL cards at the beginning of the deck. This same fellow had a tendency to use uninteresting variable names. For example: i, ii iii, j, jj , jjj, iij, etc.&lt;br&gt;
&lt;br&gt;
The first example I ever saw of a least squares spline code was some  hundreds of lines of almost totally uncommented fortran crapola. I say almost uncommented, because in the entire file, there was ONE comment. It was:&lt;br&gt;
&lt;br&gt;
"build c matrix here"&lt;br&gt;
&lt;br&gt;
Then the author proceeded to build a matrix with the name "c".&lt;br&gt;
&lt;br&gt;
Yes. This is how I learned to write code. I then spent the next 30 years unlearning those patterns, by seeing what others wrote that I liked, by seeing what I liked in my own codes as I tried out different styles, by seeing what it was like to come back to a piece of code I'd written years ago and trying to debug it. Its something I still am learning. I'd like to make that learning process faster for others than it was for me. And, it is easier to learn something once than it is to unlearn and learn anew.&lt;br&gt;
&lt;br&gt;
John&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Sat, 14 Jul 2007 11:29:15 -0400</pubDate>
      <title>Re: idea for file exchange</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/150653#382901</link>
      <author>John D'Errico</author>
      <description>Duane wrote:&lt;br&gt;
&amp;lt;snip&amp;gt;&lt;br&gt;
p.s., I assume that's why there are so many homework solutions&lt;br&gt;
currently in the FEX. For example, why do we need Gaussian&lt;br&gt;
elimination with pivoting or the fft as M-files in the FEX?&lt;br&gt;
&amp;lt;/snip&amp;gt;&lt;br&gt;
&lt;br&gt;
David wrote:&lt;br&gt;
&amp;gt; I guess this conversation was over a month ago, but I want to throw my $.02 in anyway. What's wrong with high quality solutions to things that are homework problems? From my perspective, FEX submissions in that line are very helpful for people getting into Matlab. All the fancy, optimized (and consequently obfuscated in many cases) code is pretty dense stuff for new users. I don't think it's so hard to believe there are a fair number of enthusiastic students that are trying to learn because they are interested.&lt;br&gt;
&amp;lt;Snip&amp;gt;&lt;br&gt;
&lt;br&gt;
Because things that students think are high quality&lt;br&gt;
often are not. Yes, they got a good grade for a highly&lt;br&gt;
looped matrix inverse, written as script file, complete&lt;br&gt;
with clear statements at the beginning. It solved their&lt;br&gt;
homework assignment, which was to write a matrix&lt;br&gt;
inverse solution, so the grade refelected that fact.&lt;br&gt;
A teacher grading a homework assignment will&lt;br&gt;
expect to see deeply nested loops.&lt;br&gt;
&lt;br&gt;
These are poor things to be teaching others to use&lt;br&gt;
in the real world. The fact is, many people use inv&lt;br&gt;
because they find some formula in a book. They&lt;br&gt;
use the normal equations to solve a least squares&lt;br&gt;
problem BECAUSE THEY FOUND IT IN A BOOK. Sadly,&lt;br&gt;
the author of that book did not know any better, &lt;br&gt;
and included it in their text.&lt;br&gt;
&lt;br&gt;
Students tend not to use good programming practices.&lt;br&gt;
They tend to use scripts, not functions. They use clear&lt;br&gt;
statements at the beginning of those scripts, even at&lt;br&gt;
the start of their functions. Little documentation is&lt;br&gt;
provided.&lt;br&gt;
&lt;br&gt;
Suppose the linear algebra area in the file exchange&lt;br&gt;
ends up with 200 useful tools, plus 2000 versions of&lt;br&gt;
matrix inverse, unpivoted gaussian eliminations, &lt;br&gt;
etc. Of course, other students see this bounty of poor&lt;br&gt;
work, and since they don't know any better, replicate&lt;br&gt;
it themselves. They see crappy code that is no better&lt;br&gt;
than their own code, so they assume this is the norm.&lt;br&gt;
Its on the file exchange, so this is how to write good&lt;br&gt;
code. Plus, they probably give is a good review, since&lt;br&gt;
they don't know any better. Crap promotes more crap.&lt;br&gt;
Eventually, nobody can find the useful tools, completely&lt;br&gt;
hidden, overwhelmed by the noise.&lt;br&gt;
&lt;br&gt;
The file exchange is a place to put high quality code&lt;br&gt;
that extends Matlab beyond where TMW can take it.&lt;br&gt;
&lt;br&gt;
John&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Fri, 13 Jul 2007 02:29:40 -0400</pubDate>
      <title>Re: idea for file exchange</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/150653#382693</link>
      <author>David Sedarsky</author>
      <description>Duane wrote:&lt;br&gt;
&amp;lt;snip&amp;gt;&lt;br&gt;
p.s., I assume that's why there are so many homework solutions&lt;br&gt;
currently in the FEX. For example, why do we need Gaussian&lt;br&gt;
elimination with pivoting or the fft as M-files in the FEX?&lt;br&gt;
&amp;lt;/snip&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
I guess this conversation was over a month ago, but I want to throw my $.02 in anyway.  What's wrong with high quality solutions to things that are homework problems?  From my perspective, FEX submissions in that line are very helpful for people getting into Matlab.  All the fancy, optimized (and consequently obfuscated in many cases) code is pretty dense stuff for new users.  I don't think it's so hard to believe there are a fair number of enthusiastic students that are trying to learn because they are interested.&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Thu, 12 Jul 2007 23:12:21 -0400</pubDate>
      <title>Re: idea for file exchange</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/150653#382680</link>
      <author>Ned Gulley</author>
      <description>Hi Yair:&lt;br&gt;
&lt;br&gt;
You can undo your tags by scrolling up to the "Tags for this Thread" box on the top right of the page. Look for the "Tags I've Applied" heading and click on the little minus box next to the tag you want to forget. This removes it from the database.&lt;br&gt;
&lt;br&gt;
-Ned.&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Thu, 12 Jul 2007 07:39:49 -0400</pubDate>
      <title>Re: idea for file exchange</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/150653#382496</link>
      <author>Yair Altman</author>
      <description>I would like to be able to undo my tags. Sometimes I make a typo (or a logical mistake) and submit, and then this mis-tag remains in there forever... I'm not saying everyone should be able to untag, but at least the original tagger.&lt;br&gt;
&lt;br&gt;
Yair Altman&lt;br&gt;
&lt;a href="http://www.ymasoftware.com"&gt;http://www.ymasoftware.com&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 11 Jul 2007 21:37:02 -0400</pubDate>
      <title>Re: idea for file exchange</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/150653#382404</link>
      <author>Ned Gulley</author>
      <description>Now that the new Newsreader interface is live, you can get an idea of how we might use tags to help organize the File Exchange in the future. If you choose to tag a particular File Exchange submission as "homework", that's up to you.&lt;br&gt;
&lt;br&gt;
Let us know how you think tagging is working in the newsreader, and tell us how we might best use it in an updated File Exchange (or anywhere else on the site).&lt;br&gt;
&lt;br&gt;
Ned Gulley.&lt;br&gt;
MATLAB Central Team&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Thu, 28 Jun 2007 19:11:28 -0400</pubDate>
      <title>Re: idea for file exchange</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/150653#380146</link>
      <author>roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)</author>
      <description>In article &amp;lt;ef5b4bd.2@webcrossing.raydaftYaTP&amp;gt;, J. Luis &amp;lt;jluis@ualg.pt&amp;gt; wrote:&lt;br&gt;
&amp;gt;Ned Gulley wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt;And the idea of a homework section would be ...&lt;br&gt;
&lt;br&gt;
&amp;gt;help students to find a ready-made solution to their assignments?&lt;br&gt;
&lt;br&gt;
Yup. Just formalizing what's already happening. ;-(&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Perhaps Mathworks could assist with some kind of "signing" function&lt;br&gt;
for the code, so that code so protected only ran unmodified,&lt;br&gt;
copyrights and all. Maybe something on the order of replacing constants&lt;br&gt;
or function calls with decopyprotect('somestring') where decopyprotect&lt;br&gt;
did a decryption based upon the file MD5 hash, so it would stop&lt;br&gt;
working if modified. Or perhaps something on the order of&lt;br&gt;
replacing the functional code with eval_decrypt('somestring')&lt;br&gt;
based on the file hash, leaving only a non-executable skeletal pseudo-code &lt;br&gt;
as the human-readable parts.&lt;br&gt;
-- &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;I was very young in those days, but I was also rather dim.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;-- Christopher Priest&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Thu, 28 Jun 2007 17:24:26 -0400</pubDate>
      <title>Re: idea for file exchange</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/150653#380108</link>
      <author>Ned Gulley</author>
      <description>Hi Dave:&lt;br&gt;
&lt;br&gt;
Thanks for the suggestion about the File Exchange. We're working on a redesign of the File Exchange right now, and we are moving toward letting people who use the File Exchange help create the categorization. One result of this might very well be a Homework category.&lt;br&gt;
&lt;br&gt;
We're also on the lookout for other suggestions. So more generally: what features and functionality would you like to see in the File Exchange?&lt;br&gt;
&lt;br&gt;
Ned Gulley.&lt;br&gt;
MATLAB Central Team&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Thu, 28 Jun 2007 15:14:51 -0400</pubDate>
      <title>Re: idea for file exchange</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/150653#380147</link>
      <author>Duane Hanselman</author>
      <description>J. Luis wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; And the idea of a homework section would be ...&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; help students to find a ready-made solution to their assignments?&lt;br&gt;
&lt;br&gt;
Sure. Everyone knows that students are too busy with other more&lt;br&gt;
important things than doing something as mundane and time consuming&lt;br&gt;
as homework. Besides it doesn't do anybody any harm and everyone does&lt;br&gt;
it.&lt;br&gt;
&lt;br&gt;
At least that is their perspective.&lt;br&gt;
&lt;br&gt;
Being a college professor, part of my job is to convince them&lt;br&gt;
otherwise!&lt;br&gt;
&lt;br&gt;
Duane&lt;br&gt;
&lt;br&gt;
p.s., I assume that's why there are so many homework solutions&lt;br&gt;
currently in the FEX. For example, why do we need Gaussian&lt;br&gt;
elimination with pivoting or the fft as M-files in the FEX?&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Thu, 28 Jun 2007 14:51:59 -0400</pubDate>
      <title>Re: idea for file exchange</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/150653#380141</link>
      <author>J. Luis</author>
      <description>Ned Gulley wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Hi Dave:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thanks for the suggestion about the File Exchange. We're working on&lt;br&gt;
&amp;gt; a redesign of the File Exchange right now, and we are moving toward&lt;br&gt;
&amp;gt; letting people who use the File Exchange help create the&lt;br&gt;
&amp;gt; categorization. One result of this might very well be a Homework&lt;br&gt;
&amp;gt; category.&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&lt;br&gt;
And the idea of a homework section would be ...&lt;br&gt;
&lt;br&gt;
help students to find a ready-made solution to their assignments?&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Thu, 28 Jun 2007 14:29:58 -0400</pubDate>
      <title>Re: idea for file exchange</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/150653#380133</link>
      <author>John D'Errico</author>
      <description>Ned Gulley wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Hi Dave:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thanks for the suggestion about the File Exchange. We're working on&lt;br&gt;
&amp;gt; a redesign of the File Exchange right now, and we are moving toward&lt;br&gt;
&amp;gt; letting people who use the File Exchange help create the&lt;br&gt;
&amp;gt; categorization. One result of this might very well be a Homework&lt;br&gt;
&amp;gt; category.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; We're also on the lookout for other suggestions. So more generally:&lt;br&gt;
&amp;gt; what features and functionality would you like to see in the File&lt;br&gt;
&amp;gt; Exchange?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Ned Gulley.&lt;br&gt;
&amp;gt; MATLAB Central Team&lt;br&gt;
&lt;br&gt;
Assuming a tag scheme is in the works...&lt;br&gt;
&lt;br&gt;
Members need to be able to apply tags of&lt;br&gt;
their own. A homework tag is nice, but then&lt;br&gt;
you need to have a facility to filter OUT&lt;br&gt;
those tagged as such.&lt;br&gt;
&lt;br&gt;
John&lt;br&gt;
&lt;br&gt;
(By the way, I've noticed the newsreader&lt;br&gt;
occasionally has had a new look. Typically&lt;br&gt;
it appears about 5 or 6 am Eastern time.)&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Thu, 21 Jun 2007 06:44:15 -0400</pubDate>
      <title>idea for file exchange</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/150653#378866</link>
      <author>dave</author>
      <description>I know what file exchange needs... a top level index of homework&lt;br&gt;
solutions! This would be a place for all those scripts for 'how to&lt;br&gt;
add binary numbers', 'how to convert to roman numerals', etc could be&lt;br&gt;
posted. Or maybe they could be collected in an faq somewhere that we&lt;br&gt;
could just refer all those last minute homework procrastinators to.&lt;br&gt;
</description>
    </item>
  </channel>
</rss>
