<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;CE4CQXszfSp7ImA9WhRbEUw.&quot;"><id>tag:blogger.com,1999:blog-7379110960796014170</id><updated>2012-02-01T11:16:00.585-05:00</updated><category term="install" /><category term="education" /><category term="return" /><category term="solution" /><category term="finance" /><category term="Talk" /><category term="funny" /><category term="eqnarray" /><category term="overconfidence" /><category term="latex" /><category term="mocassin" /><category term="lammps" /><category term="quote" /><category term="detex" /><category term="polyethylene" /><category term="iit bombay" /><category term="comic" /><category term="temperature" /><category term="wine" /><category term="puzzle" /><category term="open source" /><category term="astrology" /><category term="general" /><category term="new links" /><category term="thermodynamics" /><category term="lit" /><category term="awk" /><category term="psychology" /><category term="rattlesnake" /><category term="porn" /><category term="mouse" /><category term="pop science" /><category term="pop sci" /><category term="dice" /><category term="family" /><category term="speeding" /><category term="physics" /><category term="r2i" /><category term="code" /><category term="bayes" /><category term="renewable energy" /><category term="wind" /><category term="News" /><category term="science" /><category term="humor" /><category term="fftw" /><category term="paper" /><category term="linux" /><category term="computation" /><category term="simulation" /><category term="screen" /><category term="shell script" /><category term="HigherEd" /><category term="math" /><category term="snakes" /><category term="personal" /><category term="technical" /><category term="pop-psychology" /><category term="local" /><category term="PopScience" /><category term="howto" /><category term="programming" /><category term="kid" /><category term="Polymers" /><category term="wife" /><category term="pop philosophy" /><category term="tallahassee" /><category term="india" /><category term="Util" /><category term="links" /><category term="computers" /><category term="OpenSource" /><category term="misc" /><category term="viper" /><category term="free software" /><category term="galileo" /><category term="advise" /><category term="stocks" /><category term="skin" /><category term="software" /><category term="food" /><category term="peer-review" /><category term="mac" /><category term="higher ed" /><category term="coding" /><category term="book review" /><category term="us" /><category term="mba" /><category term="popular" /><category term="modeling" /><category term="fun" /><category term="solar" /><category term="pregnancy" /><category term="google" /><title>Clueless Fundatma</title><subtitle type="html">A random walk through a subset of things I care about. Science, math, computing, higher education, open source software, economics, food etc.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://sachinashanbhag.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://sachinashanbhag.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Sachin Shanbhag</name><uri>http://www.blogger.com/profile/08932887228149182854</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://1.bp.blogspot.com/_X-b7iCPbzoo/SwHJZrfr0TI/AAAAAAAAAIk/QtGR6YK1yIo/S220/SachinShanbhag_Face.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>240</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/CluelessFundatma" /><feedburner:info uri="cluelessfundatma" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;CE4CQXg4eSp7ImA9WhRbEUw.&quot;"><id>tag:blogger.com,1999:blog-7379110960796014170.post-749707163055446125</id><published>2012-02-01T11:16:00.000-05:00</published><updated>2012-02-01T11:16:00.631-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-02-01T11:16:00.631-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="general" /><title>Obama on Education</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Diane Ravitch &lt;a href="http://blogs.edweek.org/edweek/Bridging-Differences/2012/01/does_president_obama_know_what.html" target="_blank"&gt;points out&lt;/a&gt; the hypocrisy in President Obama's speech, and his actions (via &lt;a href="http://en.wikipedia.org/wiki/Race_to_the_Top" target="_blank"&gt;Race to the Top&lt;/a&gt;).&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&amp;nbsp;I don't know about you, but I am growing convinced that President Barack Obama doesn't know what Race to the Top is. I don't think he really understands what his own administration is doing to education. In his State of the Union address last week, he said that he wanted teachers to "stop teaching to the test." He also said that teachers should teach with "creativity and passion." And he said that schools should reward the best teachers and replace those who weren't doing a good job. To "reward the best" and "fire the worst," states and districts are relying on test scores. The Race to the Top says they must.&lt;/blockquote&gt;
&lt;blockquote class="tr_bq"&gt;
 Deconstruct this. Teachers would love to "stop teaching to the test," but Race to the Top makes test scores the measure of every teacher. If teachers take the President's advice (and they would love to!), their students might not get higher test scores every year, and teachers might be fired, and their schools might be closed. &lt;br /&gt;&lt;br /&gt; Why does President Obama think that teachers can "stop teaching to the test" when their livelihood, their reputation, and the survival of their school depends on the outcome of those all-important standardized tests?&lt;/blockquote&gt;
Anthony Cody &lt;a href="http://blogs.edweek.org/teachers/living-in-dialogue/2011/03/obamas_radical_critique_of_tes.html" target="_blank"&gt;blogs&lt;/a&gt; about a similar Jekyll and Hyde situation:&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
In a &lt;a href="http://www.enewspf.com/latest-news/latest-national/23016-remarks-by-president-obama-at-univision-town-hall.html"&gt;town hall meeting hosted by Univision,&lt;/a&gt; President Obama was asked by a student named Luis Zelaya if there could be a way to reduce the number of tests that students must take. &lt;/blockquote&gt;
&lt;blockquote&gt;
 His answer was superficially reassuring, but underneath, rather alarming. He replied:&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
"... we have piled on a lot of standardized tests on our kids. Now, there's nothing wrong with a standardized test being given occasionally just to give a baseline of where kids are at. &lt;br /&gt;&lt;br /&gt;Malia and Sasha, my two daughters, they just recently took a standardized test. But it wasn't a high-stakes test. It wasn't a test where they had to panic. I mean, they didn't even really know that they were going to take it ahead of time. They didn't study for it, they just went ahead and took it. And it was a tool to diagnose where they were strong, where they were weak, and what the teachers needed to emphasize.&lt;br /&gt;&lt;br /&gt;Too often what we've been doing is using these tests to punish students or to, in some cases, punish schools. And so what we've said is let's find a test that everybody agrees makes sense; let's apply it in a less pressured-packed atmosphere; let's figure out whether we have to do it every year or whether we can do it maybe every several years; and let's make sure that that's not the only way we're judging whether a school is doing well." &lt;/blockquote&gt;
What is he thinking? Does he not see the disconnect between his words and policies? Should the &lt;a href="http://www.freedomworks.org/blog/jborowski/abolishing-the-department-of-education-is-the-righ" target="_blank"&gt;Department of Education be abolished&lt;/a&gt;?&lt;br /&gt;
  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7379110960796014170-749707163055446125?l=sachinashanbhag.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/P53qkkC3y8yNIq3AAmt9quyiD1U/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/P53qkkC3y8yNIq3AAmt9quyiD1U/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/P53qkkC3y8yNIq3AAmt9quyiD1U/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/P53qkkC3y8yNIq3AAmt9quyiD1U/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CluelessFundatma/~4/zgvPIfP_or8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sachinashanbhag.blogspot.com/feeds/749707163055446125/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7379110960796014170&amp;postID=749707163055446125" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/749707163055446125?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/749707163055446125?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CluelessFundatma/~3/zgvPIfP_or8/obama-on-education.html" title="Obama on Education" /><author><name>Sachin Shanbhag</name><uri>http://www.blogger.com/profile/08932887228149182854</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://1.bp.blogspot.com/_X-b7iCPbzoo/SwHJZrfr0TI/AAAAAAAAAIk/QtGR6YK1yIo/S220/SachinShanbhag_Face.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://sachinashanbhag.blogspot.com/2012/02/obama-on-education.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUcCQXo_fip7ImA9WhRbEEk.&quot;"><id>tag:blogger.com,1999:blog-7379110960796014170.post-1151613435207479272</id><published>2012-01-31T15:51:00.000-05:00</published><updated>2012-01-31T15:51:00.446-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-31T15:51:00.446-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="finance" /><title>Howard Marks on Taxing the Rich</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
I like Howard Mark's writing because it cuts the rhetoric and attempts to look at an issue from multiple angles. In a recent &lt;a href="http://www.oaktreecapital.com/MemoTree/It%27s%20All%20Very%20Taxing%2011_16_11.pdf" target="_blank"&gt;memo&lt;/a&gt;, he frets about the increasing use "the rich should pay their fair share" in political circles. "Fairness" may really be a eye-of-the-beholder thing, he argues quite convincingly.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="p1"&gt;
&lt;/div&gt;
As as example he says about tax deductions:&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
The drafters called them deductions: provisions that reduce the net income on which &amp;nbsp;taxes are levied. Critics call them loopholes, suggesting there’s something underhanded &amp;nbsp;about those provisions. And politicians use the laudatory-sounding term tax incentives to describe tax code provisions that reduce tax revenues in order to encourage certain behavior. &lt;i&gt;It all depends on your point of view.&lt;/i&gt;&lt;/blockquote&gt;
And later:&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
As I’ve written before, I was very impressed when, as a young man, I heard an interesting&amp;nbsp;explanation for America’s economic progress relative to Great Britain: “When the worker in Britain sees the boss drive out of the factory in his Rolls Royce, he says ‘I’d like to put a bomb under that car.’ When the worker in America sees the boss drive out of the factory in his Cadillac, he says ‘I’d like to have a car like that someday.’ ” &lt;/blockquote&gt;
In recent weeks, much has been made of nation-wide polls which say something like "75% of the people support increasing taxes on the rich" etc. or something similar.&lt;br /&gt;
&lt;br /&gt;
That is such a stupid question to ask/poll. &lt;br /&gt;
&lt;br /&gt;
Sure, as rational self-interested individuals, why wouldn't they? It is a classic case of tyranny of the majority. Despite the superficial difference, it is not completely unlike popular support for &lt;a href="http://en.wikipedia.org/wiki/Islam_in_France#Hijab" target="_blank"&gt;banning the hijab in France&lt;/a&gt; (which much of the media saw as somewhat bigoted).&lt;br /&gt;
&lt;br /&gt;
PS: I am a card-carrying member of the 99% :). I think the memo is a great read, simply for the nuanced views it presents dispassionately.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7379110960796014170-1151613435207479272?l=sachinashanbhag.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/JcvqmzYAdcQp0zncWy2WnMkuUAE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JcvqmzYAdcQp0zncWy2WnMkuUAE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/JcvqmzYAdcQp0zncWy2WnMkuUAE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JcvqmzYAdcQp0zncWy2WnMkuUAE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CluelessFundatma/~4/zx6BGBdD0bQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sachinashanbhag.blogspot.com/feeds/1151613435207479272/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7379110960796014170&amp;postID=1151613435207479272" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/1151613435207479272?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/1151613435207479272?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CluelessFundatma/~3/zx6BGBdD0bQ/howard-marks-on-taxing-rich.html" title="Howard Marks on Taxing the Rich" /><author><name>Sachin Shanbhag</name><uri>http://www.blogger.com/profile/08932887228149182854</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://1.bp.blogspot.com/_X-b7iCPbzoo/SwHJZrfr0TI/AAAAAAAAAIk/QtGR6YK1yIo/S220/SachinShanbhag_Face.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://sachinashanbhag.blogspot.com/2012/01/howard-marks-on-taxing-rich.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUUESHc-cCp7ImA9WhRUE08.&quot;"><id>tag:blogger.com,1999:blog-7379110960796014170.post-1740716481636731323</id><published>2012-01-23T09:00:00.000-05:00</published><updated>2012-01-23T09:00:09.958-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-23T09:00:09.958-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="general" /><title>Andre Agassi's Open</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="" style="clear: both; text-align: left;"&gt;
&lt;a href="http://en.wikipedia.org/wiki/Andre_Agassi" target="_blank"&gt;Andre Agassi&lt;/a&gt;'s autobiography "Open" (written with Pultizer Prize winning author &lt;a href="http://en.wikipedia.org/wiki/J._R._Moehringer" target="_blank"&gt;J. R. Moehringer&lt;/a&gt;) tells the story of tennis prodigy forced to hit balls in his backyard by an overbearing father growing up to become world champion.&lt;/div&gt;
&lt;div class="" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="" style="clear: both; text-align: left;"&gt;
Despite &lt;i&gt;hating the game&lt;/i&gt;.&lt;/div&gt;
&lt;div class="" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-3rNMWDjbOEU/TtbVanCOE4I/AAAAAAAAAVY/iU8YhlqUNzs/s1600/books.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-3rNMWDjbOEU/TtbVanCOE4I/AAAAAAAAAVY/iU8YhlqUNzs/s1600/books.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
From the book flap:&lt;/div&gt;
&lt;blockquote class="tr_bq"&gt;
From Andre Agassi, one of the most beloved athletes in history and one of the most gifted men ever to step onto a tennis court, a beautiful, haunting autobiography. Agassi's incredibly rigorous training begins when he is just a child. By the age of thirteen, he is banished to a Florida tennis camp that feels like a prison camp. Lonely, scared, a ninth-grade dropout, he rebels in ways that will soon make him a 1980s icon. He dyes his hair, pierces his ears, dresses like a punk rocker. By the time he turns pro at sixteen, his new look promises to change tennis forever, as does his lightning-fast return. And yet, despite his raw talent, he struggles early on.&amp;nbsp;&lt;/blockquote&gt;
&lt;div class="" style="clear: both; text-align: left;"&gt;
He played tennis for 21 years, winning 8 Grand Slam titles (7th on all time list), and is one of the very few people who have won all the four Slams (and the Olympic Gold at Atlanta '96). For some time, he was the oldest #1 player, and has an incredible record at the Davis Cup. In the book, he paints a fascinating portrait of key matches in his career, many of which I remember watching when I was in high school.&amp;nbsp;&lt;/div&gt;
&lt;div class="" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="" style="clear: both; text-align: left;"&gt;
Reading the book was like watching the director's cut version of a movie. You've seen it before, but now you see it again with new eyes.&lt;/div&gt;
&lt;div class="" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="" style="clear: both; text-align: left;"&gt;
His metamorphosis as an individual, from a brash, nonconformist, expletive-spewing American with funny hair to a composed, Zen-master with no hair, happened in front of a camera.&lt;/div&gt;
&lt;div class="" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="" style="clear: both; text-align: left;"&gt;
The best part of the book, in a very gossipy sort of way, is the insider's view of other tennis players that it affords (however colored). We learn about Connors being an incorrigible prick, about Borg being an amazingly gracious man. We find out that Agassi never got along with Boris Becker (his first "coach" went on to become BB's trainer), and was annoyed by Michael Chang pointing to the sky upon winning (as if God took sides in a tennis match). We understand&amp;nbsp;his love-hate relationship with Pete Sampras, who always seemed to have Agassi's number.&lt;/div&gt;
&lt;div class="" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="" style="clear: both; text-align: left;"&gt;
Overall, it is a very nice read (it is rated nearly 5-stars on Amazon).&lt;br /&gt;
&lt;br /&gt;
As I said before, it is a story of "growing up" - albeit under a spotlight. A particularly poignant line in the book (which could as well be a summary of his life so far), is when he says people confused his&amp;nbsp;"self-exploration as self-expression."&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7379110960796014170-1740716481636731323?l=sachinashanbhag.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/qbB8d4-g4LMyj0c-Jnm1Pj0FkZQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qbB8d4-g4LMyj0c-Jnm1Pj0FkZQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/qbB8d4-g4LMyj0c-Jnm1Pj0FkZQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qbB8d4-g4LMyj0c-Jnm1Pj0FkZQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CluelessFundatma/~4/cDgfA1LmZh4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sachinashanbhag.blogspot.com/feeds/1740716481636731323/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7379110960796014170&amp;postID=1740716481636731323" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/1740716481636731323?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/1740716481636731323?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CluelessFundatma/~3/cDgfA1LmZh4/andre-agassis-open.html" title="Andre Agassi's Open" /><author><name>Sachin Shanbhag</name><uri>http://www.blogger.com/profile/08932887228149182854</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://1.bp.blogspot.com/_X-b7iCPbzoo/SwHJZrfr0TI/AAAAAAAAAIk/QtGR6YK1yIo/S220/SachinShanbhag_Face.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-3rNMWDjbOEU/TtbVanCOE4I/AAAAAAAAAVY/iU8YhlqUNzs/s72-c/books.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://sachinashanbhag.blogspot.com/2012/01/andre-agassis-open.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE4EQXY6fip7ImA9WhRVGU0.&quot;"><id>tag:blogger.com,1999:blog-7379110960796014170.post-1910060753998212924</id><published>2012-01-18T12:15:00.000-05:00</published><updated>2012-01-18T12:15:00.816-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-18T12:15:00.816-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="general" /><title>Foxconn on This American Life</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;a href="http://www.thisamericanlife.org/"&gt;This American Life&lt;/a&gt;, hosted by Ira Glass, is one of my favorite public radio programs. A recent episode, entitled "&lt;a href="http://www.thisamericanlife.org/radio-archives/episode/454/mr-daisey-and-the-apple-factory"&gt;Mr. Daisey and the Apple Factory&lt;/a&gt;" (audio), featured an excerpt from &lt;a href="http://mikedaisey.blogspot.com/"&gt;Mike Daisey&lt;/a&gt;'s production "The Agony and Ecstasy of Steve Jobs".&lt;br /&gt;&lt;br /&gt; Mike Daisey, a self-proclaimed Apple fanboi, describes his journey to &lt;a href="http://en.wikipedia.org/wiki/Shenzhen"&gt;Shenzhen&lt;/a&gt; (which depending on how you count may be China's third biggest city) and into &lt;a href="http://en.wikipedia.org/wiki/Foxconn"&gt;Foxconn&lt;/a&gt; - the maker of a number of Apple products.&lt;br /&gt;&lt;br /&gt; He is a gifted story-teller. He takes an inherently dark and sad subject and makes it into something humane, funny, poignant, and inspiring.&lt;br /&gt;&lt;br /&gt;
For those familiar with the format of This American Life, "Act II" is called "Act I", and does some fact-checking of Mr. Daisey's claims.&lt;br /&gt;&lt;br /&gt;
&lt;i&gt;PS for Jan 18, 2012: You may have learned by now that pressing the *Esc* key when the wikipedia blackout page appears, takes you to the article.&lt;/i&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7379110960796014170-1910060753998212924?l=sachinashanbhag.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ADBgOjn9ioeLGe4sWSqCO77M3dw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ADBgOjn9ioeLGe4sWSqCO77M3dw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ADBgOjn9ioeLGe4sWSqCO77M3dw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ADBgOjn9ioeLGe4sWSqCO77M3dw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CluelessFundatma/~4/PNfoWfEWCac" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sachinashanbhag.blogspot.com/feeds/1910060753998212924/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7379110960796014170&amp;postID=1910060753998212924" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/1910060753998212924?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/1910060753998212924?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CluelessFundatma/~3/PNfoWfEWCac/foxconn-on-this-american-life.html" title="Foxconn on This American Life" /><author><name>Sachin Shanbhag</name><uri>http://www.blogger.com/profile/08932887228149182854</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://1.bp.blogspot.com/_X-b7iCPbzoo/SwHJZrfr0TI/AAAAAAAAAIk/QtGR6YK1yIo/S220/SachinShanbhag_Face.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://sachinashanbhag.blogspot.com/2012/01/foxconn-on-this-american-life.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0AASX06eCp7ImA9WhRVF04.&quot;"><id>tag:blogger.com,1999:blog-7379110960796014170.post-1218928089916593087</id><published>2012-01-16T11:35:00.000-05:00</published><updated>2012-01-16T11:35:48.310-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-16T11:35:48.310-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="education" /><title>Education and Finland</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Here's an interesting take on the success of the Finnish education model: &lt;a href="http://www.theatlantic.com/national/archive/2011/12/what-americans-keep-ignoring-about-finlands-school-success/250564/" target="_blank"&gt;What Americans Keep Ignoring About Finland's School Success&lt;/a&gt;.&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;Compared with the stereotype of the East Asian model -- long hours of exhaustive cramming and rote memorization -- Finland's success is especially intriguing because Finnish schools assign less homework and engage children in more creative play.&lt;br /&gt;
&lt;br /&gt;
... Americans are consistently obsessed with certain questions: How can you keep track of students' performance if you don't test them constantly? How can you improve teaching if you have no accountability for bad teachers or merit pay for good teachers? How do you foster competition and engage the private sector? How do you provide school choice?&lt;br /&gt;
&lt;br /&gt;
The answers Finland provides seem to run counter to just about everything America's school reformers are trying to do.&lt;/blockquote&gt;&amp;nbsp;Worth a read.&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7379110960796014170-1218928089916593087?l=sachinashanbhag.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xwoXAVXdVwhDlSShK_FI97I_jM4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xwoXAVXdVwhDlSShK_FI97I_jM4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xwoXAVXdVwhDlSShK_FI97I_jM4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xwoXAVXdVwhDlSShK_FI97I_jM4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CluelessFundatma/~4/_V43ltWoJ3s" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sachinashanbhag.blogspot.com/feeds/1218928089916593087/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7379110960796014170&amp;postID=1218928089916593087" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/1218928089916593087?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/1218928089916593087?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CluelessFundatma/~3/_V43ltWoJ3s/education-and-finland.html" title="Education and Finland" /><author><name>Sachin Shanbhag</name><uri>http://www.blogger.com/profile/08932887228149182854</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://1.bp.blogspot.com/_X-b7iCPbzoo/SwHJZrfr0TI/AAAAAAAAAIk/QtGR6YK1yIo/S220/SachinShanbhag_Face.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://sachinashanbhag.blogspot.com/2012/01/education-and-finland.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUAMQXw7eCp7ImA9WhRVFEU.&quot;"><id>tag:blogger.com,1999:blog-7379110960796014170.post-3450096381594188971</id><published>2012-01-13T14:43:00.000-05:00</published><updated>2012-01-13T14:43:00.200-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-13T14:43:00.200-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="PopScience" /><title>Feynman and Why</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
As a father of a curious three-year old, I know how hard it is to answer "why" questions, beyond a certain point. Just recently, I had the following conversation with my daughter.&lt;br /&gt;&lt;br /&gt;Her: "Why is the cow eating with her mouth?"&lt;br /&gt;Me: "Because she does not have any hands."&lt;br /&gt;Her: "Why does the cow not have hands?"&lt;br /&gt;Me: "Hmmm. Because God did not give her hands."  (I shamelessly invoke God all the time)&lt;br /&gt;Her: "Why did God not give her hands?"&lt;br /&gt;Me: "I don't know. Go ask God!"&lt;br /&gt;&lt;br /&gt;I bumped into the following Feynman video, in which an interviewer asks him "why do magnets attract/repel each other?" Feynman goes on about how difficult it is to answer such why questions without a framework.&lt;br /&gt;&lt;br /&gt;Worth a watch!&lt;br /&gt;&lt;br /&gt;&lt;iframe allowfullscreen="" frameborder="0" height="280" src="http://www.youtube.com/embed/wMFPe-DwULM?feature=player_embedded" width="500"&gt;&lt;/iframe&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7379110960796014170-3450096381594188971?l=sachinashanbhag.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/wF72kT31sTF7xVYVwf5cjs36JQA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wF72kT31sTF7xVYVwf5cjs36JQA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/wF72kT31sTF7xVYVwf5cjs36JQA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wF72kT31sTF7xVYVwf5cjs36JQA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CluelessFundatma/~4/W3-xaFM-nag" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sachinashanbhag.blogspot.com/feeds/3450096381594188971/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7379110960796014170&amp;postID=3450096381594188971" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/3450096381594188971?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/3450096381594188971?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CluelessFundatma/~3/W3-xaFM-nag/feynman-and-why.html" title="Feynman and Why" /><author><name>Sachin Shanbhag</name><uri>http://www.blogger.com/profile/08932887228149182854</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://1.bp.blogspot.com/_X-b7iCPbzoo/SwHJZrfr0TI/AAAAAAAAAIk/QtGR6YK1yIo/S220/SachinShanbhag_Face.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://img.youtube.com/vi/wMFPe-DwULM/default.jpg" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://sachinashanbhag.blogspot.com/2012/01/feynman-and-why.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0YGRng5eCp7ImA9WhRVE0w.&quot;"><id>tag:blogger.com,1999:blog-7379110960796014170.post-7041024771568053123</id><published>2012-01-10T15:13:00.000-05:00</published><updated>2012-01-11T14:45:27.620-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-11T14:45:27.620-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="HigherEd" /><category scheme="http://www.blogger.com/atom/ns#" term="pop sci" /><title>Hard Work versus Intelligence</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
I am currently reading Jonah Lehrer's fascinating book "&lt;a href="http://www.amazon.com/How-We-Decide-Jonah-Lehrer/dp/0618620117"&gt;How We Decide&lt;/a&gt;". If the rest of the book lives up to the three chapters I have read so far, I will recommend it enthusiastically.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
In chapter 2, there is an intriguing discussion of the role of mistakes in the learning process, that are potentially relevant in an academic setting (apparently, Neils Bohr once remarked that an expert was a person who had committed all the&amp;nbsp;mistakes&amp;nbsp;possible&amp;nbsp;in a narrow field).&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
The whole idea is that mistakes aren't things to be discouraged, but rather they should be "cultivated, and carefully investigated". Lehrer talks about a series of experiments performed by Stanford psychologist Carol Dweck on the correlation between future performance and quality of praise.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
A bunch of fifth-graders &amp;nbsp;students were given a relatively easy test. Half the kids were praised for their intelligence ("you must be smart at this"). The other half were praised for their effort ("you must have worked really hard").&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
These kids were allowed to choose the level of difficulty of their next exam. The first choice was described as hard, but educational, while the other was described as being similar to the one they had just taken. &amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
90% of the kids praised for effort chose the harder test, while a majority of the kids praised for intelligence picked the easy test. They shunned the risk of making mistakes. This aversion can seriously inhibit learning.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Dweck then gave all the kids yet another test. This one was really really hard. In fact, it was written for eighth-graders. Dweck wanted to see how kids respond to the challenge. The "effort" kids got very involved, and tried to tease the test apart, while the "intelligent" group got easily discouraged.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
After the test she asked the two groups of students to make a further choice. They could look at the exams of kids who did better than them, or worse than them. The "intelligence" kids almost always chose to bolster their self-esteem by comparing themselves with someone who had done worse. The other cohort were more interested in the higher-scoring exams - "trying to understand their mistakes, to learn from their errors , to figure out how to do better."&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
She was not done yet.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
She gave one final "exit" exam, which was supposed to be similar to the initial test. The "intelligent" group saw their scores drop by 20% on average, while the other group improved by 30%.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
As a teacher and parent, this is really important practical stuff. In fact here (&lt;a href="http://www.ccsf.edu/Campuses/Downtown/scientific_american.pdf"&gt;pdf&lt;/a&gt;) is a relatively recent article on how to raise smart kids by Dweck.&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7379110960796014170-7041024771568053123?l=sachinashanbhag.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/_Q3LhMTzl6bJD9ShFEKFy1jM3zQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_Q3LhMTzl6bJD9ShFEKFy1jM3zQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/_Q3LhMTzl6bJD9ShFEKFy1jM3zQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_Q3LhMTzl6bJD9ShFEKFy1jM3zQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CluelessFundatma/~4/EKfTzewuN1M" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sachinashanbhag.blogspot.com/feeds/7041024771568053123/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7379110960796014170&amp;postID=7041024771568053123" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/7041024771568053123?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/7041024771568053123?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CluelessFundatma/~3/EKfTzewuN1M/hard-work-versus-intelligence.html" title="Hard Work versus Intelligence" /><author><name>Sachin Shanbhag</name><uri>http://www.blogger.com/profile/08932887228149182854</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://1.bp.blogspot.com/_X-b7iCPbzoo/SwHJZrfr0TI/AAAAAAAAAIk/QtGR6YK1yIo/S220/SachinShanbhag_Face.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://sachinashanbhag.blogspot.com/2011/11/hard-work-versus-intelligence.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0QGQX8zfCp7ImA9WhRWGUs.&quot;"><id>tag:blogger.com,1999:blog-7379110960796014170.post-5438334427557282801</id><published>2012-01-07T14:42:00.000-05:00</published><updated>2012-01-07T14:42:00.184-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-07T14:42:00.184-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="computation" /><title>Scientific Computing: Interactive Modules</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Michael Heath and company present a bunch of &lt;a href="http://www.cse.illinois.edu/iem/index.html" target="_blank"&gt;educational Java modules&lt;/a&gt; relevant to Scientific Computing. They are fun to play around with in a browser.&lt;br /&gt;
&lt;br /&gt;
As an interesting side note, we used the book on which many of the modules are based, in our Algorithms 1 undergrad class.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7379110960796014170-5438334427557282801?l=sachinashanbhag.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/JEKtFljVbAO_1F46UaRhQxwDE88/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JEKtFljVbAO_1F46UaRhQxwDE88/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/JEKtFljVbAO_1F46UaRhQxwDE88/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JEKtFljVbAO_1F46UaRhQxwDE88/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CluelessFundatma/~4/piWhE5Bqyck" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sachinashanbhag.blogspot.com/feeds/5438334427557282801/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7379110960796014170&amp;postID=5438334427557282801" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/5438334427557282801?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/5438334427557282801?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CluelessFundatma/~3/piWhE5Bqyck/scientific-computing-interactive.html" title="Scientific Computing: Interactive Modules" /><author><name>Sachin Shanbhag</name><uri>http://www.blogger.com/profile/08932887228149182854</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://1.bp.blogspot.com/_X-b7iCPbzoo/SwHJZrfr0TI/AAAAAAAAAIk/QtGR6YK1yIo/S220/SachinShanbhag_Face.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://sachinashanbhag.blogspot.com/2012/01/scientific-computing-interactive.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU4HQns4cSp7ImA9WhRWFk0.&quot;"><id>tag:blogger.com,1999:blog-7379110960796014170.post-5235693161569961385</id><published>2012-01-03T09:35:00.000-05:00</published><updated>2012-01-03T11:25:33.539-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-03T11:25:33.539-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="software" /><category scheme="http://www.blogger.com/atom/ns#" term="math" /><title>Mathematica Integral Fun</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Consider the evaluation of the integral of 1/r between -1 and 1, in Mathematica.&lt;br /&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;The function f(r) = 1/r has a discontinuity at r = 0.&lt;/li&gt;
&lt;li&gt;The indefinite integral of 1/r is simply log(r), which is real for positive "r", and is complex for -ve "r", and goes to negative infinity as r approaches zero.&lt;/li&gt;
&lt;li&gt;One might be tempted to think that getting definite integrals is easy if one knows the indefinite integral&lt;/li&gt;
&lt;li&gt;Not so fast. Discontinuties can complicate things!&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-0ONrphdvQNQ/Tr0228-DquI/AAAAAAAAAUA/xr6paYAz06Y/s1600/tmp1.nb_2.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-0ONrphdvQNQ/Tr0228-DquI/AAAAAAAAAUA/xr6paYAz06Y/s1600/tmp1.nb_2.gif" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Let us go back to the integral of f(r) between -1 and 1. From the symmetry of the figure it may be apparent that f(r) is an odd function, and the area under the curve (or the integral) should go to zero.&lt;br /&gt;
&lt;br /&gt;
If we try to use Mathematica to integrate it with &lt;b&gt;&lt;span style="font-family: 'Courier New',Courier,monospace;"&gt;Integrate[f,{r,-1,1}]&lt;/span&gt;&lt;/b&gt;, it complains that the integral does not converge.&lt;br /&gt;
&lt;br /&gt;
We say, hmmm. Why don't we simply try to substitute the limits in the indefinite integral:&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-DK2xXa0CqlQ/Tr06nuOc_WI/AAAAAAAAAUo/nDbdQBmnA3I/s1600/definite.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="46" src="http://4.bp.blogspot.com/-DK2xXa0CqlQ/Tr06nuOc_WI/AAAAAAAAAUo/nDbdQBmnA3I/s320/definite.gif" width="320" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
The answer makes sense since Log[1] = 0, and Log[-1] = i * pi, but is clearly not the correct answer?&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
The &lt;a href="http://blog.wolfram.com/2008/01/19/mathematica-and-the-fundamental-theorem-of-calculus/"&gt;reason&lt;/a&gt; for this is that the First Fundamental Theorem of Calculus requires the antiderivative to be continuous over the range of integration, and from the second plot above, it is clear that this condition is violated.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
So how do we figure this thing out? We could isolate the discontinuity by integrating close to zero (using "epsilon"), and perhaps take the limit later.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-T8sFE0OOsNY/Tr06kZqDiTI/AAAAAAAAAUg/KzuHK1lcNFs/s1600/works.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="39" src="http://2.bp.blogspot.com/-T8sFE0OOsNY/Tr06kZqDiTI/AAAAAAAAAUg/KzuHK1lcNFs/s400/works.gif" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
This gives the expected answer of zero.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7379110960796014170-5235693161569961385?l=sachinashanbhag.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/nHteVGbp_J5xTN5f1EDHSBlIbRk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nHteVGbp_J5xTN5f1EDHSBlIbRk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/nHteVGbp_J5xTN5f1EDHSBlIbRk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nHteVGbp_J5xTN5f1EDHSBlIbRk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CluelessFundatma/~4/YiAldL896aM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sachinashanbhag.blogspot.com/feeds/5235693161569961385/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7379110960796014170&amp;postID=5235693161569961385" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/5235693161569961385?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/5235693161569961385?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CluelessFundatma/~3/YiAldL896aM/mathematica-integral-fun.html" title="Mathematica Integral Fun" /><author><name>Sachin Shanbhag</name><uri>http://www.blogger.com/profile/08932887228149182854</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://1.bp.blogspot.com/_X-b7iCPbzoo/SwHJZrfr0TI/AAAAAAAAAIk/QtGR6YK1yIo/S220/SachinShanbhag_Face.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-0ONrphdvQNQ/Tr0228-DquI/AAAAAAAAAUA/xr6paYAz06Y/s72-c/tmp1.nb_2.gif" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://sachinashanbhag.blogspot.com/2012/01/mathematica-integral-fun.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEECQXw7eSp7ImA9WhRQE0s.&quot;"><id>tag:blogger.com,1999:blog-7379110960796014170.post-5507764833766509058</id><published>2011-12-08T12:51:00.000-05:00</published><updated>2011-12-08T12:51:00.201-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-08T12:51:00.201-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="psychology" /><category scheme="http://www.blogger.com/atom/ns#" term="math" /><title>The Next Best Mate</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
The so-called "&lt;a href="http://en.wikipedia.org/wiki/Secretary_problem"&gt;Sultan's Dowry Problem&lt;/a&gt;" (a.k.a "Beauty Pageant Problem", "Secretary Problem" etc.) is sometimes used as a model for searching a mate. It is a nice model for decision-making under a certain type of uncertainty.&lt;br /&gt;
&lt;br /&gt;
According to the wikipedia entry:&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
The basic form of the problem is the following. Imagine an administrator willing to hire the best secretary out of N rankable applicants for a position. The applicants are interviewed one-by-one in random order. A decision about each particular applicant is to be taken immediately after the interview. Once rejected, an applicant cannot be recalled. During the interview, the administrator can rank the applicant among all applicants interviewed so far, but is unaware of the quality of yet unseen applicants.&lt;/blockquote&gt;
There is an elegant solution to the problem, when the objective of the game is to maximize the probability that the candidate chosen has the highest quality. We assume quality can be reduced to a simple number. The so called "1/e" or "37%" solution to this problem involves letting the first 37% of the candidates pass, remembering the quality Q of the best candidate from this set. Thereafter, the first candidate whose quality exceeds Q is chosen.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www-abc.mpib-berlin.mpg.de/users/ptodd/publications/todd97/todd97a.htm"&gt;Todd&lt;/a&gt; argues that the way humans search for their mates is very different from this optimal solution. He points out that the 37% rule finds the best solution more often than any other algorithm, 37% of the time. However, what happens during the 63% of the times is not very flattering:&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
For instance, if applied to a set of 100 dowries ranging from 1 to 100, the 37% rule returns an average value of about 82, that is, the mean of all dowries chosen by this rule. Only 67% of the individuals selected by this rule lie in the top 10% of the population, while 8% fall in the bottom 25%. And it takes the 37% rule an average of 74 tests of potential mates that is, double the 37 that must be checked before selection can begin before a mate is chosen. &lt;/blockquote&gt;
This probably explains why normal people do not apply this strategy. It turns out that normal people tend to use a much smaller "screening" period. It turns out that the length of the screening period is dependent on your appetite for risk.&lt;br /&gt;
&lt;br /&gt;
If you are fixated on maximizing the probablity of ending up with the best candidate, then the 37% rule works fine. But if you are a risk minimizer - if you would rather protect your downside - while accepting anybody in the top 10% for example, the optimal screening period is much shorter - closer to 10%.&lt;br /&gt;
&lt;br /&gt;
I first heard about this problem more than a decade ago, and have been 
fascinated by it ever since. I used this problem to create a programming
 assignment in the class I am currently teaching.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7379110960796014170-5507764833766509058?l=sachinashanbhag.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/gpMy86udZ26sU3VGqfJEBBqQL0A/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gpMy86udZ26sU3VGqfJEBBqQL0A/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/gpMy86udZ26sU3VGqfJEBBqQL0A/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gpMy86udZ26sU3VGqfJEBBqQL0A/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CluelessFundatma/~4/x0SP-fzbxZg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sachinashanbhag.blogspot.com/feeds/5507764833766509058/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7379110960796014170&amp;postID=5507764833766509058" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/5507764833766509058?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/5507764833766509058?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CluelessFundatma/~3/x0SP-fzbxZg/next-best-mate.html" title="The Next Best Mate" /><author><name>Sachin Shanbhag</name><uri>http://www.blogger.com/profile/08932887228149182854</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://1.bp.blogspot.com/_X-b7iCPbzoo/SwHJZrfr0TI/AAAAAAAAAIk/QtGR6YK1yIo/S220/SachinShanbhag_Face.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://sachinashanbhag.blogspot.com/2011/12/next-best-mate.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUIGQX85eSp7ImA9WhRRGE0.&quot;"><id>tag:blogger.com,1999:blog-7379110960796014170.post-6619193764579331274</id><published>2011-12-02T01:32:00.000-05:00</published><updated>2011-12-02T01:32:00.121-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-02T01:32:00.121-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="OpenSource" /><category scheme="http://www.blogger.com/atom/ns#" term="software" /><title>Text in Inkscape</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;a href="http://inkscape.org/"&gt;Inkscape&lt;/a&gt; is a fantastic program for creating vector graphics. It is free, platform independent, refreshingly clean and efficient once your master some keystroke shortcuts, and amazingly powerful in terms of the things it can do for you.&lt;br /&gt;
&lt;br /&gt;
It does have a few pesky features though, particularly with "text". For example there is no intrinsic way of creating subscripts or superscripts, and sometimes Greek symbols just do not render properly.&lt;br /&gt;
&lt;br /&gt;
This post explains my workarounds.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1. Subscripts and Superscripts:&lt;/b&gt; While there is no natural way of getting these, you can always select some text, and then press &lt;b style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Alt + arrow-key&lt;/b&gt; (up, down, left, or right arrows) to move the selection in that particular direction. Here is a screenshot of how that works.&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-Xf-_x53ODVE/Tsams6wgVsI/AAAAAAAAAU4/BSHT2VfCNp0/s1600/ink1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="293" src="http://1.bp.blogspot.com/-Xf-_x53ODVE/Tsams6wgVsI/AAAAAAAAAU4/BSHT2VfCNp0/s320/ink1.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;2. Greek Symbols: &lt;/b&gt;You can try to select the Symbol font from the font dialog box, but very often, it won't get you anywhere. A handy but inconvenient workaround is to use Unicode. If you know the Unicode Standard (&lt;a href="http://www.google.com/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=1&amp;amp;ved=0CB8QFjAA&amp;amp;url=http%3A%2F%2Funicode.org%2Fcharts%2FPDF%2FU0370.pdf&amp;amp;ei=iqjGTpLFB9K1tgfu1qHcCw&amp;amp;usg=AFQjCNF9m8gurm9B_cUICokL4d9Ba9kiaQ" target="_blank"&gt;pdf&lt;/a&gt;), then you can directly enter the code of the particular character. For example, the symbol for "beta" is 03B2.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-U5GUAIHzTAA/TsanrfMg9BI/AAAAAAAAAVQ/QGhlyDMaaRQ/s1600/ink3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-U5GUAIHzTAA/TsanrfMg9BI/AAAAAAAAAVQ/QGhlyDMaaRQ/s1600/ink3.png" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="" style="clear: both; text-align: left;"&gt;
To enter this in Inkscape, first open a text dialog box as usual. Then press &lt;b style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Ctrl + U&lt;/b&gt;. The status bar at the bottom of the screen prompts you to enter the code. You type 03B2 (or 03b2), and you will see it echoes the symbol "beta". You press enter, and the symbol is inserted near the text cursor.&lt;/div&gt;
&lt;div class="" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="" style="clear: both; text-align: left;"&gt;
&lt;b&gt;3. LaTeX Support&lt;/b&gt;:&lt;b&gt; &lt;/b&gt;Inkscape supports LaTeX expressions by default. I did not know this &lt;a href="http://jblevins.org/notes/latex-in-inkscape" target="_blank"&gt;until recently&lt;/a&gt;, but you can go to &lt;b style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Extensions &amp;gt; Render &amp;gt; LaTeX formula...&lt;/b&gt; (in some cases it may be under &lt;b style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Effects &amp;gt;&lt;/b&gt; instead of&lt;b style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt; Extensions &amp;gt;&lt;/b&gt;).&lt;/div&gt;
&lt;div class="" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="" style="clear: both; text-align: left;"&gt;
It opens up a dialog box, in which you can enter your formula. Inkscape calls LaTeX and con­verts the DVI out­put to SVG, and em­beds it in the document. Since it is a scalable equation (or any other LaTeX object), you can now interact with it natively in Inkscape.&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-yjh-ZxVEOuY/TsamtB8_GRI/AAAAAAAAAVA/fv1i8X3PHVk/s1600/ink2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="223" src="http://4.bp.blogspot.com/-yjh-ZxVEOuY/TsamtB8_GRI/AAAAAAAAAVA/fv1i8X3PHVk/s320/ink2.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7379110960796014170-6619193764579331274?l=sachinashanbhag.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/nDgPCDJU-WRXq3dG77BAjlh6RIk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nDgPCDJU-WRXq3dG77BAjlh6RIk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/nDgPCDJU-WRXq3dG77BAjlh6RIk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nDgPCDJU-WRXq3dG77BAjlh6RIk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CluelessFundatma/~4/lP0Y9hW1h9Q" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sachinashanbhag.blogspot.com/feeds/6619193764579331274/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7379110960796014170&amp;postID=6619193764579331274" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/6619193764579331274?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/6619193764579331274?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CluelessFundatma/~3/lP0Y9hW1h9Q/text-in-inkscape.html" title="Text in Inkscape" /><author><name>Sachin Shanbhag</name><uri>http://www.blogger.com/profile/08932887228149182854</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://1.bp.blogspot.com/_X-b7iCPbzoo/SwHJZrfr0TI/AAAAAAAAAIk/QtGR6YK1yIo/S220/SachinShanbhag_Face.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-Xf-_x53ODVE/Tsams6wgVsI/AAAAAAAAAU4/BSHT2VfCNp0/s72-c/ink1.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://sachinashanbhag.blogspot.com/2011/12/text-in-inkscape.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEAAQ346eyp7ImA9WhRRFkU.&quot;"><id>tag:blogger.com,1999:blog-7379110960796014170.post-2556194258736498431</id><published>2011-11-30T14:42:00.001-05:00</published><updated>2011-11-30T14:52:22.013-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-30T14:52:22.013-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="links" /><title>Links:</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
1. Old issues of &lt;a href="http://www.nsta.org/quantum/indx9001.asp" target="_blank"&gt;Quantum&lt;/a&gt;, the magazine of math and science, and &lt;a href="http://arxiv.org/ftp/arxiv/papers/1110/1110.2832.pdf" target="_blank"&gt;paper&lt;/a&gt; with the shortest abstract ("Probably not.") (H/T &lt;a href="http://micromath.wordpress.com/" target="_blank"&gt;Mathematics under the Microscope&lt;/a&gt;) While the abstract is cute, it reads more like a conclusion than an abstract.&lt;br /&gt;
&lt;br /&gt;
2. A &lt;a href="http://ecorner.stanford.edu/authorMaterialInfo.html?mid=2809" target="_blank"&gt;talk&lt;/a&gt; by Marten Mickos (former CEO of MySQL). I enjoyed the part where he explains why working from home is harder than working at an office, because you can simply BS your way.&lt;br /&gt;
&lt;br /&gt;
3. &lt;a href="http://www.youtube.com/watch?v=CjVQJdIrDJ0&amp;amp;feature=player_embedded" target="_blank"&gt;Daniel Kahneman&lt;/a&gt; at Google Talks.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7379110960796014170-2556194258736498431?l=sachinashanbhag.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/raj4IRlZto9FGLUBNSbVaMIli3M/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/raj4IRlZto9FGLUBNSbVaMIli3M/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/raj4IRlZto9FGLUBNSbVaMIli3M/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/raj4IRlZto9FGLUBNSbVaMIli3M/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CluelessFundatma/~4/qduj41HobJI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sachinashanbhag.blogspot.com/feeds/2556194258736498431/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7379110960796014170&amp;postID=2556194258736498431" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/2556194258736498431?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/2556194258736498431?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CluelessFundatma/~3/qduj41HobJI/links.html" title="Links:" /><author><name>Sachin Shanbhag</name><uri>http://www.blogger.com/profile/08932887228149182854</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://1.bp.blogspot.com/_X-b7iCPbzoo/SwHJZrfr0TI/AAAAAAAAAIk/QtGR6YK1yIo/S220/SachinShanbhag_Face.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://sachinashanbhag.blogspot.com/2011/11/links.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0YEQXg5eCp7ImA9WhRSGEQ.&quot;"><id>tag:blogger.com,1999:blog-7379110960796014170.post-7985203581893659241</id><published>2011-11-21T12:05:00.000-05:00</published><updated>2011-11-21T12:05:00.620-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-21T12:05:00.620-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="software" /><title>Matlab: Profiler and parfor</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Two videos on extremely-useful-but not-so-frequently-used features in Matlab.&lt;br /&gt;
&lt;br /&gt;
1. &lt;a href="http://www.youtube.com/watch?v=lDPLy7MyDMY"&gt;Profiler:&lt;/a&gt; While "profiling" may be a bad word in common parlance, it is a good word in software. It helps you identify potential areas in your program that may be targets for optimization.&lt;br /&gt;
&lt;br /&gt;
2. &lt;a href="http://www.mathworks.com/products/demos/distribtb/parforDemo/"&gt;Parallel "for"&lt;/a&gt; loops: An easy way to exploit multicore (or distributed cores) machines for task-parallel computations. Useless trivia: I went to grad school with the person doing the video (Jiro Doke).&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7379110960796014170-7985203581893659241?l=sachinashanbhag.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/tH-2-G3MDto47uwC5S91KhYSOT0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tH-2-G3MDto47uwC5S91KhYSOT0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/tH-2-G3MDto47uwC5S91KhYSOT0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tH-2-G3MDto47uwC5S91KhYSOT0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CluelessFundatma/~4/MKoNADiQ-os" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sachinashanbhag.blogspot.com/feeds/7985203581893659241/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7379110960796014170&amp;postID=7985203581893659241" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/7985203581893659241?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/7985203581893659241?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CluelessFundatma/~3/MKoNADiQ-os/matlab-profiler-and-parfor.html" title="Matlab: Profiler and parfor" /><author><name>Sachin Shanbhag</name><uri>http://www.blogger.com/profile/08932887228149182854</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://1.bp.blogspot.com/_X-b7iCPbzoo/SwHJZrfr0TI/AAAAAAAAAIk/QtGR6YK1yIo/S220/SachinShanbhag_Face.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://sachinashanbhag.blogspot.com/2011/11/matlab-profiler-and-parfor.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkADR3k8fip7ImA9WhRSF0w.&quot;"><id>tag:blogger.com,1999:blog-7379110960796014170.post-7178447573890449809</id><published>2011-11-19T08:42:00.001-05:00</published><updated>2011-11-19T08:52:56.776-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-19T08:52:56.776-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="links" /><title>Weekly LinkFest: Econ Edition</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
1. Steven Keen's &lt;a href="http://www.youtube.com/user/ProfSteveKeen#p/c/0A21A329D01D0CFE/20/GNk_9cpxpEA" target="_blank"&gt;lecture&lt;/a&gt; on the Great Recession. If you are interested in Behavioral Finance, you should check out the &lt;a href="http://www.youtube.com/user/ProfSteveKeen#g/c/0A21A329D01D0CFE" target="_blank"&gt;entire&lt;/a&gt; YouTube playlist.&lt;br /&gt;
&lt;br /&gt;
2. While on the subject of behavioral economics, check out Dan Ariely's talk on "&lt;a href="http://www.youtube.com/watch?feature=player_embedded&amp;amp;v=oV0cbCFGAtU" target="_blank"&gt;Money Changes Everything&lt;/a&gt;".&lt;br /&gt;
&lt;br /&gt;
3. Michael Mauboussin is an amazing thinker. He works at Legg-Mason, despite the fact that his writing feels very academic (I mean that in a good way). &lt;a href="http://www.eurosharelab.com/michael-mauboussin-resource-page" target="_blank"&gt;Here&lt;/a&gt; is very nice collection of his articles, which are well-researched and neatly presented.&lt;br /&gt;
&lt;br /&gt;
4. &lt;a href="http://blogs.wsj.com/wealth/2011/11/09/surge-in-rich-chinese-who-invest-in-u-s-citizenship/" target="_blank"&gt;Surge in rich Chinese&lt;/a&gt; who want to come to the US.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7379110960796014170-7178447573890449809?l=sachinashanbhag.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/dhMmYZnhVtpdkte5sHtzV8SZTh8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dhMmYZnhVtpdkte5sHtzV8SZTh8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/dhMmYZnhVtpdkte5sHtzV8SZTh8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dhMmYZnhVtpdkte5sHtzV8SZTh8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CluelessFundatma/~4/mTjhLoxOZR4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sachinashanbhag.blogspot.com/feeds/7178447573890449809/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7379110960796014170&amp;postID=7178447573890449809" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/7178447573890449809?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/7178447573890449809?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CluelessFundatma/~3/mTjhLoxOZR4/weekly-linkfest-econ-edition.html" title="Weekly LinkFest: Econ Edition" /><author><name>Sachin Shanbhag</name><uri>http://www.blogger.com/profile/08932887228149182854</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://1.bp.blogspot.com/_X-b7iCPbzoo/SwHJZrfr0TI/AAAAAAAAAIk/QtGR6YK1yIo/S220/SachinShanbhag_Face.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://sachinashanbhag.blogspot.com/2011/11/weekly-linkfest-econ-edition.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0IFQno6fCp7ImA9WhRRF00.&quot;"><id>tag:blogger.com,1999:blog-7379110960796014170.post-830123584080373632</id><published>2011-11-15T13:30:00.000-05:00</published><updated>2011-11-30T21:11:53.414-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-30T21:11:53.414-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="HigherEd" /><title>Elite Institutions and Career Earnings</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
I finished reading Charles Wheelan's interesting book called &lt;a href="http://www.amazon.com/Naked-Economics-Undressing-Dismal-Science/dp/0393324869"&gt;"Naked Economics: Undressing the dismal science&lt;/a&gt;". It is a highly entertaining book for anyone with even a passing interest in how the world around us works. In tone, it resembles Freakanomics, but in terms of span, it feels much wider and more comprehensive, perhaps because it is not merely a collection of vignettes.&lt;br /&gt;
&lt;br /&gt;
In one of the chapters, he points out to an interesting study by Krueger and Dale (2002). Graduates of highly selective schools earn higher salaries later in life than graduates of less selective schools. This does not seem very surprising.&lt;br /&gt;
&lt;br /&gt;
Next, they examined the outcomes of students who were admitted to both a highly selective school, and a moderately selective school. The outcome (also the title of their 2002 paper) was that "Children Smart Enough to Get into Elite Schools may not need to Bother."&lt;br /&gt;
&lt;br /&gt;
There is a more recent &lt;a href="http://www.irs.princeton.edu/pubs/pdfs/563.pdf"&gt;follow-up&lt;/a&gt; to that study, essentially reiterates the same conclusion.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;The average SAT score of the most selective school a student&lt;b&gt; applies&lt;/b&gt; to, is the best predictor of his or her future (monetary) success.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
There is an important caveat. Minorities and other disadvantaged students gain the most from choosing an elite school over a less selective one.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://economix.blogs.nytimes.com/2011/02/21/revisiting-the-value-of-elite-colleges/"&gt;Here's an interesting summary&lt;/a&gt; of what that means in practical terms:&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
Mr. Krueger gets the last word:&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class="tr_bq"&gt;
My advice to students: Don’t believe that the only school worth attending is one that would not admit you. That you go to college is more important than where you go. Find a school whose academic strengths match your interests and that devotes resources to instruction in those fields. Recognize that your own motivation, ambition and talents will determine your success more than the college name on your diploma.&lt;/blockquote&gt;
&lt;blockquote class="tr_bq"&gt;
My advice to elite colleges: Recognize that the most disadvantaged students benefit most from your instruction. Set financial aid and admission policies accordingly.&lt;/blockquote&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7379110960796014170-830123584080373632?l=sachinashanbhag.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/BnmhOnBxx1nFNUATJ2Lp54n6n7w/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/BnmhOnBxx1nFNUATJ2Lp54n6n7w/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/BnmhOnBxx1nFNUATJ2Lp54n6n7w/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/BnmhOnBxx1nFNUATJ2Lp54n6n7w/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CluelessFundatma/~4/2id8Dzxuddg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sachinashanbhag.blogspot.com/feeds/830123584080373632/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7379110960796014170&amp;postID=830123584080373632" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/830123584080373632?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/830123584080373632?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CluelessFundatma/~3/2id8Dzxuddg/elite-institutions-and-career-earnings.html" title="Elite Institutions and Career Earnings" /><author><name>Sachin Shanbhag</name><uri>http://www.blogger.com/profile/08932887228149182854</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://1.bp.blogspot.com/_X-b7iCPbzoo/SwHJZrfr0TI/AAAAAAAAAIk/QtGR6YK1yIo/S220/SachinShanbhag_Face.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://sachinashanbhag.blogspot.com/2011/11/elite-institutions-and-career-earnings.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUUMR3Y8fip7ImA9WhRSEkw.&quot;"><id>tag:blogger.com,1999:blog-7379110960796014170.post-5901284731598639227</id><published>2011-11-12T21:56:00.001-05:00</published><updated>2011-11-13T15:48:06.876-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-13T15:48:06.876-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="News" /><title>Bystander Psychology</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;a href="http://www.freep.com/article/20111110/NEWS07/111100539/Paterno-fired-Penn-State-president-also-ousted-over-child-sex-scandal?odyssey=mod%7Cnewswell%7Ctext%7CFRONTPAGE%7Cs"&gt;Recent events&lt;/a&gt; at Penn State have no doubt been troubling.Time has an interesting article on &lt;a href="http://healthland.time.com/2011/11/11/bystander-psychology-why-some-witnesses-to-crime-do-nothing/"&gt;bystander pschyology&lt;/a&gt; (subtitled: why some witnesses of crime do nothing). For those not in the know: the current wide-receiver's coach and a janitor saw &lt;a href="http://en.wikipedia.org/wiki/Jerry_Sandusky"&gt;Jerry Sandusky&lt;/a&gt;&amp;nbsp;(an extraordinarily celebrated coach at Penn State) in compromising situations over a decade ago, but never called the police. From the article:&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
(We) would like to believe that no matter how small or scared we were, if we saw a child being raped, we'd step in and stop it, or at the very least call 911 immediately. But social psychology research on "bystander" behavior suggests that many of us might actually turn away.&lt;br /&gt;
&lt;br /&gt;
The most famous instance of witness apathy involves the 1964 murder of 28-year-old Kitty Genovese in New York City. News accounts — and later, social psychology texts — said the victim and her screams were ignored by 38 witnesses as she was stabbed to death on a Queens street. (Genovese's killer was denied parole this week.)&lt;br /&gt;
&lt;br /&gt;
But while research has shown that many such witnesses do fail to intervene, in part because they assume others around them will do so, it &lt;a href="http://bps-research-digest.blogspot.com/2007/10/truth-behind-story-of-kitty-genovese.html"&gt;turns out&lt;/a&gt; that the popular account of the Genovese case is largely urban legend. There were not in fact 38 witnesses, but many fewer, and most onlookers said they did not see or hear the full assault; many of the witnesses did call police.&lt;br /&gt;
&lt;br /&gt;
Still, says Mark Levine, a social psychologist at Lancaster University in the U.K., the Genovese story is a "very powerful parable. It taps into something people feel about human psychology, probably mistakenly: that somehow, when we're with other people, we lose our rational capacity or personal identity, which controls our behavior."&lt;/blockquote&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7379110960796014170-5901284731598639227?l=sachinashanbhag.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ivrSbDay4hV2Q34g1NroDcrhKSo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ivrSbDay4hV2Q34g1NroDcrhKSo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ivrSbDay4hV2Q34g1NroDcrhKSo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ivrSbDay4hV2Q34g1NroDcrhKSo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CluelessFundatma/~4/gO9ntNMcR4M" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sachinashanbhag.blogspot.com/feeds/5901284731598639227/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7379110960796014170&amp;postID=5901284731598639227" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/5901284731598639227?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/5901284731598639227?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CluelessFundatma/~3/gO9ntNMcR4M/bystander-psychology.html" title="Bystander Psychology" /><author><name>Sachin Shanbhag</name><uri>http://www.blogger.com/profile/08932887228149182854</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://1.bp.blogspot.com/_X-b7iCPbzoo/SwHJZrfr0TI/AAAAAAAAAIk/QtGR6YK1yIo/S220/SachinShanbhag_Face.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://sachinashanbhag.blogspot.com/2011/11/bystander-psychology.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUcEQXYzfyp7ImA9WhRTGEs.&quot;"><id>tag:blogger.com,1999:blog-7379110960796014170.post-6196784752982617735</id><published>2011-11-09T14:30:00.000-05:00</published><updated>2011-11-09T14:30:00.887-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-09T14:30:00.887-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="howto" /><category scheme="http://www.blogger.com/atom/ns#" term="free software" /><title>Tips on Plotting with Grace</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Grace is a nice program to make journal-quality graphs. A while ago, I blogged about how to use it to make &lt;a href="http://sachinashanbhag.blogspot.com/2009/06/how-to-create-inset-plot-or-subplots.html"&gt;inset plots&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
If you are a regular user of Grace, the following tips (which I gathered from &lt;a href="http://blog.louic.nl/?p=249"&gt;here &lt;/a&gt;and &lt;a href="http://lptms.u-psud.fr/wiki/index.php/Tips_for_Xmgrace"&gt;here&lt;/a&gt;) can improve your productivity:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1. &lt;/b&gt;&lt;b&gt;Make a template plot&lt;/b&gt;:&lt;br /&gt;
&lt;br /&gt;
You can make default settings by opening Grace, making your adjustments, and saving the file as Default.agr in&lt;br /&gt;
&lt;br /&gt;
~/.grace/templates/Default.agr&lt;br /&gt;
&lt;br /&gt;
If the .grace/templates folder doesn't exist, create it in your home directory.&lt;br /&gt;
&lt;br /&gt;
I like to make my axes labels larger (usually fontsize 150) so that they are readable even when shrunk to fit a single column of a journal article. You can choose the font you like (I use Times-Bold).&lt;br /&gt;
&lt;br /&gt;
In similar vein, I like my tickmarks and legends to be fontsize 125. I also like my symbols "filled".&lt;br /&gt;
&lt;br /&gt;
Once you make a Default.agr, these settings are used anytime you open a blank Grace plot.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2&lt;/b&gt;. &lt;b&gt;Default Printer&lt;/b&gt;:&lt;br /&gt;
&lt;br /&gt;
I usually like to "print" ("export" in Grace) my graphs out in EPS format. While it would be nice to be able to do it in the Default.agr above, you cannot. However, you can create a file "~/.grace/gracerc.user" that simply contains the line &lt;br /&gt;
&lt;br /&gt;
HARDCOPY DEVICE "EPS"&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3. Font Tool:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Everytime you have to write a complex symbol in a textbox (while labeling an axis for example), you can press Ctrl + E, which opens up a Font ToolBox that lets you choose the symbol from a palette.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;Short Cuts:&lt;/i&gt;&lt;br /&gt;
"\x a" produces "alpha" (\x is a proxy for \font{Symbol})&lt;br /&gt;
"\f{}" goes back to default font&lt;br /&gt;
"\2" is "\font{Times-Bold}"&lt;br /&gt;
"\S" is for superscript&lt;br /&gt;
"\s" is for subscript&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7379110960796014170-6196784752982617735?l=sachinashanbhag.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/KAuMZbRy0a0fCqcQ8RLUMjLSsUw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KAuMZbRy0a0fCqcQ8RLUMjLSsUw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/KAuMZbRy0a0fCqcQ8RLUMjLSsUw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KAuMZbRy0a0fCqcQ8RLUMjLSsUw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CluelessFundatma/~4/yR20cQIYdI0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sachinashanbhag.blogspot.com/feeds/6196784752982617735/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7379110960796014170&amp;postID=6196784752982617735" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/6196784752982617735?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/6196784752982617735?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CluelessFundatma/~3/yR20cQIYdI0/tips-on-plotting-with-grace.html" title="Tips on Plotting with Grace" /><author><name>Sachin Shanbhag</name><uri>http://www.blogger.com/profile/08932887228149182854</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://1.bp.blogspot.com/_X-b7iCPbzoo/SwHJZrfr0TI/AAAAAAAAAIk/QtGR6YK1yIo/S220/SachinShanbhag_Face.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://sachinashanbhag.blogspot.com/2011/11/tips-on-plotting-with-grace.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0YARno8eCp7ImA9WhRTFk0.&quot;"><id>tag:blogger.com,1999:blog-7379110960796014170.post-2397991418149808216</id><published>2011-11-06T13:45:00.000-05:00</published><updated>2011-11-06T13:45:47.470-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-06T13:45:47.470-05:00</app:edited><title>Weekly LinkFest</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
1. &lt;a href="http://www.bloomberg.com/news/2011-11-02/corzine-forgot-lessons-of-long-term-capital-roger-lowenstein.html"&gt;Roger Lowenstein on MF Global&lt;/a&gt;: I enjoyed his book "When Genius Failed: The Rise and Fall of Long-Term Capital Management", which informs this perspective.&lt;br /&gt;
&lt;br /&gt;
2. &lt;a href="http://www.youtube.com/user/theRSAorg#p/u/1/dFs9WO2B8uI"&gt;The Divided Brain&lt;/a&gt; (RSA Animate)&lt;br /&gt;
&lt;br /&gt;
3. &lt;a href="http://www.youtube.com/watch?v=axrywDP9Ii0"&gt;Addiction is about the anticipation of reward&lt;/a&gt;: An interesting video. "Dopamine is about the pursuit of happiness." Watch it!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7379110960796014170-2397991418149808216?l=sachinashanbhag.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/P46KUMZYgZ2P8gmGrcdSk14IJSs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/P46KUMZYgZ2P8gmGrcdSk14IJSs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/P46KUMZYgZ2P8gmGrcdSk14IJSs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/P46KUMZYgZ2P8gmGrcdSk14IJSs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CluelessFundatma/~4/ck3gDNEU-Ao" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sachinashanbhag.blogspot.com/feeds/2397991418149808216/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7379110960796014170&amp;postID=2397991418149808216" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/2397991418149808216?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/2397991418149808216?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CluelessFundatma/~3/ck3gDNEU-Ao/weekly-linkfest.html" title="Weekly LinkFest" /><author><name>Sachin Shanbhag</name><uri>http://www.blogger.com/profile/08932887228149182854</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://1.bp.blogspot.com/_X-b7iCPbzoo/SwHJZrfr0TI/AAAAAAAAAIk/QtGR6YK1yIo/S220/SachinShanbhag_Face.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://sachinashanbhag.blogspot.com/2011/11/weekly-linkfest.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkcCR3o7fip7ImA9WhRTFE4.&quot;"><id>tag:blogger.com,1999:blog-7379110960796014170.post-2834675375366837703</id><published>2011-11-04T15:14:00.001-04:00</published><updated>2011-11-04T15:14:26.406-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-04T15:14:26.406-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="general" /><title>Bruce Lee</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
I was&amp;nbsp;recently&amp;nbsp;on a plane with a very entertaining colleague from Physics. He was talking with great animation (volume?) about some of his work, when a lady in front of us turned around and said with noticeable exasperation, "Sshhhh. I can't hear myself think!".&lt;br /&gt;
&lt;br /&gt;
My friend quickly looked at her with feigned irritation, and said, "Think? Do you know what Bruce Lee said?".&lt;br /&gt;
&lt;br /&gt;
"Don't think," he said, closing his eyes.&lt;br /&gt;
&lt;br /&gt;
"Feel!", while he exhaled out a deep breath.&lt;br /&gt;
&lt;br /&gt;
I couldn't help a chuckle.&lt;br /&gt;
&lt;br /&gt;
Here's the (YouTube video) &lt;a href="http://www.youtube.com/watch?v=2d5o8d1kitM"&gt;scene&lt;/a&gt; from "Enter the Dragon."&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7379110960796014170-2834675375366837703?l=sachinashanbhag.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/lE78gwsIZpBQ1WUrSNjmd1XpiW0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lE78gwsIZpBQ1WUrSNjmd1XpiW0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/lE78gwsIZpBQ1WUrSNjmd1XpiW0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lE78gwsIZpBQ1WUrSNjmd1XpiW0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CluelessFundatma/~4/qXiOlHKtXNE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sachinashanbhag.blogspot.com/feeds/2834675375366837703/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7379110960796014170&amp;postID=2834675375366837703" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/2834675375366837703?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/2834675375366837703?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CluelessFundatma/~3/qXiOlHKtXNE/bruce-lee.html" title="Bruce Lee" /><author><name>Sachin Shanbhag</name><uri>http://www.blogger.com/profile/08932887228149182854</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://1.bp.blogspot.com/_X-b7iCPbzoo/SwHJZrfr0TI/AAAAAAAAAIk/QtGR6YK1yIo/S220/SachinShanbhag_Face.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://sachinashanbhag.blogspot.com/2011/11/bruce-lee.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUcMQXo8eyp7ImA9WhRTEkk.&quot;"><id>tag:blogger.com,1999:blog-7379110960796014170.post-969151135861936371</id><published>2011-11-02T11:18:00.000-04:00</published><updated>2011-11-02T11:18:00.473-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-02T11:18:00.473-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="OpenSource" /><title>Two GNU Octave Tips</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="color: #660000;"&gt;
&lt;b&gt;1.&lt;/b&gt;&lt;b&gt; Changing directories&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
The standard command looks very much like the *nix "&lt;b style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;cd&lt;/b&gt;".&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;b&gt;cd NameOfDirectory;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
But if "NameOfDirectory" was stored in a variable (&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;DirName&amp;nbsp; = "NameOfDirectory";&lt;/span&gt;&lt;/b&gt;), then trying something like,&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;b&gt;cd DirName;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
would fail because Octave would try to literally look for a directory named DirName. In *nix command lines one would circumvent this issue by "&lt;b style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;cd $DirName&lt;/b&gt;", but this does not work in Octave.&lt;br /&gt;
&lt;br /&gt;
The solution is to use parenthesis. So the following does the trick:&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;b&gt;cd (DirName);&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b style="color: #990000;"&gt;2. &lt;/b&gt;&lt;b style="color: #990000;"&gt;Quotes&lt;/b&gt;: One can use the system command to issue instructions to the shell from within a Octave program. So to list the files in the present working directory one would say:&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;b&gt;system('ls');&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
However, if one wanted to use a Unix program or utility that itself uses quotes, then there are problems in parsing. So something like,&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;b&gt;system('awk '{print $0}' infile &amp;gt; outfile')&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
would not work. The solution is again quite simple. Use double quotes which cause the argument within the double quotes to be interpreted. Hence,&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;b&gt;system("awk '{print $0}' infile &amp;gt; outfile")&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
does what one would expect it to do. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7379110960796014170-969151135861936371?l=sachinashanbhag.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/axtxE5sx_jsMcdZ2VV_MJj6ghuw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/axtxE5sx_jsMcdZ2VV_MJj6ghuw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/axtxE5sx_jsMcdZ2VV_MJj6ghuw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/axtxE5sx_jsMcdZ2VV_MJj6ghuw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CluelessFundatma/~4/-nkYtgkw5JU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sachinashanbhag.blogspot.com/feeds/969151135861936371/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7379110960796014170&amp;postID=969151135861936371" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/969151135861936371?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/969151135861936371?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CluelessFundatma/~3/-nkYtgkw5JU/two-gnu-octave-tips.html" title="Two GNU Octave Tips" /><author><name>Sachin Shanbhag</name><uri>http://www.blogger.com/profile/08932887228149182854</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://1.bp.blogspot.com/_X-b7iCPbzoo/SwHJZrfr0TI/AAAAAAAAAIk/QtGR6YK1yIo/S220/SachinShanbhag_Face.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://sachinashanbhag.blogspot.com/2011/11/two-gnu-octave-tips.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkYEQXs5fip7ImA9WhdaGEw.&quot;"><id>tag:blogger.com,1999:blog-7379110960796014170.post-6868765552404529609</id><published>2011-10-28T12:08:00.002-04:00</published><updated>2011-10-28T12:08:20.526-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-28T12:08:20.526-04:00</app:edited><title>Weekly LinkFest</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
1. A "Spherical Cow" from &lt;a href="http://abstrusegoose.com/406"&gt;Abstruse Goose&lt;/a&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-bNYk21qZ9bw/TqrRvCwKIzI/AAAAAAAAATw/gFUOn-wxwEE/s1600/stop_the_massacre.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="640" src="http://3.bp.blogspot.com/-bNYk21qZ9bw/TqrRvCwKIzI/AAAAAAAAATw/gFUOn-wxwEE/s640/stop_the_massacre.png" width="273" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
2. Best Statistics Question Ever (via &lt;a href="http://flowingdata.com/2011/10/28/best-statistics-question-ever/"&gt;FlowingData&lt;/a&gt;)?&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-Keed3SsXPrQ/TqrSYLX44qI/AAAAAAAAAT4/ijWeD9BvlKQ/s1600/qvzU4.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="180" src="http://4.bp.blogspot.com/-Keed3SsXPrQ/TqrSYLX44qI/AAAAAAAAAT4/ijWeD9BvlKQ/s320/qvzU4.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
3. &lt;a href="http://www.cometdocs.com/"&gt;CometDocs&lt;/a&gt; a free-online document converter (H/T &lt;a href="http://www.thesimpledollar.com/2011/10/22/ten-pieces-of-inspiration-43/"&gt;the Simple Dollar&lt;/a&gt;). (Yeah! the PDF -&amp;gt; ODF conversion is not too shabby!)&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7379110960796014170-6868765552404529609?l=sachinashanbhag.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/NPyZ6nxWNOMVdBKI9Boz7ENYerQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NPyZ6nxWNOMVdBKI9Boz7ENYerQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/NPyZ6nxWNOMVdBKI9Boz7ENYerQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NPyZ6nxWNOMVdBKI9Boz7ENYerQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CluelessFundatma/~4/7c6NGipltL8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sachinashanbhag.blogspot.com/feeds/6868765552404529609/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7379110960796014170&amp;postID=6868765552404529609" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/6868765552404529609?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/6868765552404529609?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CluelessFundatma/~3/7c6NGipltL8/weekly-linkfest.html" title="Weekly LinkFest" /><author><name>Sachin Shanbhag</name><uri>http://www.blogger.com/profile/08932887228149182854</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://1.bp.blogspot.com/_X-b7iCPbzoo/SwHJZrfr0TI/AAAAAAAAAIk/QtGR6YK1yIo/S220/SachinShanbhag_Face.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-bNYk21qZ9bw/TqrRvCwKIzI/AAAAAAAAATw/gFUOn-wxwEE/s72-c/stop_the_massacre.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://sachinashanbhag.blogspot.com/2011/10/weekly-linkfest.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkAAQXY-cSp7ImA9WhdaFUg.&quot;"><id>tag:blogger.com,1999:blog-7379110960796014170.post-5616360644778722965</id><published>2011-10-25T10:59:00.000-04:00</published><updated>2011-10-25T10:59:00.859-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-25T10:59:00.859-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="OpenSource" /><category scheme="http://www.blogger.com/atom/ns#" term="code" /><title>Passing parameters in Matlab or Octave: fzero and quad</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Consider a simple function f(x) = 2x written in Matlab/Octave (&lt;b style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;myfunc.m&lt;/b&gt;). &lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;b&gt;function y = myfunc(x)&lt;/b&gt;&lt;/div&gt;
&lt;div style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; y = 2*x&lt;/b&gt;&lt;/div&gt;
&lt;div style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;b&gt;end&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
You could easily use the functions &lt;a href="http://www.mathworks.com/help/techdoc/ref/fzero.html"&gt;fzero&lt;/a&gt; and &lt;a href="http://www.mathworks.com/help/techdoc/ref/quad.html"&gt;quad&lt;/a&gt;, to find a root of f(x) and the definite integral of f(x) between limits, say "a" and "b".&lt;br /&gt;
&lt;br /&gt;
You would say something like:&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;b&gt;fzero('myfunc',1.0)&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
where 1.0 is the guessed root. The answer that Matlab finds is indeed zero.&lt;br /&gt;
&lt;br /&gt;
or,&lt;br /&gt;
&lt;br /&gt;
&lt;b style="color: #274e13;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;quad('myfunc',0.0,1.0)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
where a=0.0, and b=1.0 are the lower and upper limits. The quad function computes the correct answer (1.0).&lt;br /&gt;
&lt;br /&gt;
Let us say that we had a slightly more general function f(x) = c*x, where "c" is a parameter (c=2, in the previous case). That is, we have the Matlab/Octave function:&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;b&gt;function y = myfunc(x,c)&lt;/b&gt;&lt;/div&gt;
&lt;div style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; y = c*x&lt;/b&gt;&lt;/div&gt;
&lt;div style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;b&gt;end&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
Quite often we want to use fzero and quad on such a function for a particular setting of "c". That is we would like to be able to pass the parameter "c" to the function. &lt;br /&gt;
&lt;br /&gt;
There are several ways to doing this. Some of them (like making "c" a global variable are ugly). The one I find most convenient is the following:&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;b&gt;c=2;&lt;/b&gt;&lt;/div&gt;
&lt;b style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: #274e13;"&gt;quad(@(x) myfunc(x,c), 0, 1.0)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
or,&lt;br /&gt;
&lt;div style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: #274e13;"&gt;quad(@(x) myfunc(x,2.0), 0,1.0)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
fzero works in similar fashion. You could say:&lt;br /&gt;
&lt;br /&gt;
&lt;b style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: #274e13;"&gt;fzero(@(x) myfunc(x,2.0), 1.0)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Just to reiterate, this method works in both Matlab and Octave, and you could easily generalize it to passing multiple parameters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7379110960796014170-5616360644778722965?l=sachinashanbhag.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/RcHb8NfiWUBKowX_OIlzKXk817s/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RcHb8NfiWUBKowX_OIlzKXk817s/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/RcHb8NfiWUBKowX_OIlzKXk817s/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RcHb8NfiWUBKowX_OIlzKXk817s/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CluelessFundatma/~4/G-BdzwTMCBU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sachinashanbhag.blogspot.com/feeds/5616360644778722965/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7379110960796014170&amp;postID=5616360644778722965" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/5616360644778722965?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/5616360644778722965?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CluelessFundatma/~3/G-BdzwTMCBU/passing-parameters-in-matlab-or-octave.html" title="Passing parameters in Matlab or Octave: fzero and quad" /><author><name>Sachin Shanbhag</name><uri>http://www.blogger.com/profile/08932887228149182854</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://1.bp.blogspot.com/_X-b7iCPbzoo/SwHJZrfr0TI/AAAAAAAAAIk/QtGR6YK1yIo/S220/SachinShanbhag_Face.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://sachinashanbhag.blogspot.com/2011/10/passing-parameters-in-matlab-or-octave.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUEGSXwyeyp7ImA9WhdaEkw.&quot;"><id>tag:blogger.com,1999:blog-7379110960796014170.post-6631728807540012689</id><published>2011-10-21T12:13:00.000-04:00</published><updated>2011-10-21T12:13:48.293-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-21T12:13:48.293-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="OpenSource" /><category scheme="http://www.blogger.com/atom/ns#" term="software" /><title>Presentations using Beamer</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Finally. &lt;br /&gt;
&lt;br /&gt;
Finally, I decided to jump, and started using a LaTeX package called &lt;a href="http://en.wikipedia.org/wiki/Beamer_%28LaTeX%29"&gt;beamer&lt;/a&gt; to make presentations. &lt;br /&gt;
&lt;br /&gt;
I had been reluctant to make the transition because (i) like all non-GUI programs/packages, there is a learning curve, (ii) I liked the platform independence of OpenOffice Impress, which (iii) especially when combined with &lt;a href="http://sachinashanbhag.blogspot.com/2009/08/openoffice-impress-ooolatex.html"&gt;oooLaTeX&lt;/a&gt; let me display mathematical formulae with the cleanliness of LaTeX, and (iv) my presentations, unlike my documents don't have as many cross-references and citations. &lt;br /&gt;
&lt;br /&gt;
A part of me also liked the freeform nature of dropping images wherever I liked, and the ability to sketch up schematic diagrams on the fly. &lt;br /&gt;
&lt;br /&gt;
I gave beamer a test drive, learning &lt;a href="http://www.wfu.edu/%7Ewickersg/latex/beamer/beamer.pdf"&gt;from&lt;/a&gt; &lt;a href="http://en.wikibooks.org/wiki/LaTeX/Presentations"&gt;these&lt;/a&gt; &lt;a href="http://www.uncg.edu/cmp/reu/presentations/Charles%20Batts%20-%20Beamer%20Tutorial.pdf"&gt;tutorials&lt;/a&gt;. Since I knew LaTeX before, I was up and running in about two hours.It took me surprisingly less time than I had expected.&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
In fact, I just presented slides made with beamer at the Society of Rheology's annual meeting in Cleveland.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
In the future, I expect to use this tool a lot more.&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7379110960796014170-6631728807540012689?l=sachinashanbhag.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/9JXiOq59OZSiHqJlfhAnEZ5QCsc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9JXiOq59OZSiHqJlfhAnEZ5QCsc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/9JXiOq59OZSiHqJlfhAnEZ5QCsc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9JXiOq59OZSiHqJlfhAnEZ5QCsc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CluelessFundatma/~4/AVNK13R0Qi0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sachinashanbhag.blogspot.com/feeds/6631728807540012689/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7379110960796014170&amp;postID=6631728807540012689" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/6631728807540012689?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/6631728807540012689?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CluelessFundatma/~3/AVNK13R0Qi0/presentations-using-beamer.html" title="Presentations using Beamer" /><author><name>Sachin Shanbhag</name><uri>http://www.blogger.com/profile/08932887228149182854</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://1.bp.blogspot.com/_X-b7iCPbzoo/SwHJZrfr0TI/AAAAAAAAAIk/QtGR6YK1yIo/S220/SachinShanbhag_Face.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://sachinashanbhag.blogspot.com/2011/10/presentations-using-beamer.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEMFRX47cSp7ImA9WhdaEE4.&quot;"><id>tag:blogger.com,1999:blog-7379110960796014170.post-1824984013946784866</id><published>2011-10-19T11:00:00.000-04:00</published><updated>2011-10-19T11:00:14.009-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-19T11:00:14.009-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="math" /><category scheme="http://www.blogger.com/atom/ns#" term="links" /><title>Math Links</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
1. &lt;a href="http://www.youtube.com/watch?feature=player_embedded&amp;amp;v=RA6POO0x9h8"&gt;Two&lt;/a&gt; &lt;a href="http://www.youtube.com/watch?feature=player_embedded&amp;amp;v=yNFHFhJ6VS0"&gt;nice&lt;/a&gt; math videos (H/T &lt;a href="http://wildaboutmath.com/2011/09/26/two-new-videos-by-james-tanton/"&gt;Wild About Math&lt;/a&gt;)&lt;br /&gt;
&lt;br /&gt;
2. &lt;a href="http://math-blog.com/2011/09/25/the-cold-hit-problem/"&gt;The Cold Hit Problem&lt;/a&gt;&amp;nbsp;(or are fingerprints unique?)&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7379110960796014170-1824984013946784866?l=sachinashanbhag.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Ov5k8wW1lU-DZkaXnni7hPCH9Xs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Ov5k8wW1lU-DZkaXnni7hPCH9Xs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Ov5k8wW1lU-DZkaXnni7hPCH9Xs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Ov5k8wW1lU-DZkaXnni7hPCH9Xs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CluelessFundatma/~4/mQ1DGQ2-h2U" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sachinashanbhag.blogspot.com/feeds/1824984013946784866/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7379110960796014170&amp;postID=1824984013946784866" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/1824984013946784866?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/1824984013946784866?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CluelessFundatma/~3/mQ1DGQ2-h2U/math-links.html" title="Math Links" /><author><name>Sachin Shanbhag</name><uri>http://www.blogger.com/profile/08932887228149182854</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://1.bp.blogspot.com/_X-b7iCPbzoo/SwHJZrfr0TI/AAAAAAAAAIk/QtGR6YK1yIo/S220/SachinShanbhag_Face.gif" /></author><thr:total>2</thr:total><feedburner:origLink>http://sachinashanbhag.blogspot.com/2011/10/math-links.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0MNSXo-cCp7ImA9WhRRF00.&quot;"><id>tag:blogger.com,1999:blog-7379110960796014170.post-6691519896387920186</id><published>2011-10-15T16:22:00.000-04:00</published><updated>2011-11-30T21:11:38.458-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-30T21:11:38.458-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="OpenSource" /><title>Another Legend Falls</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;a href="http://en.wikipedia.org/wiki/Dennis_Ritchie"&gt;RIP&lt;/a&gt; &lt;a href="http://www.nytimes.com/2011/10/14/technology/dennis-ritchie-programming-trailblazer-dies-at-70.html"&gt;Dennis Ritchie&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
As Brian Kernighan, a colleague at Bell Labs, wrote, "The tools that Dennis built — and their direct descendants — run pretty
 much everything today,"&lt;br /&gt;
&lt;br /&gt;
As a "tribute", I tried to collect some of his quotes from the Internet (Disclaimer: I have not assessed their veracity) &lt;br /&gt;
&lt;blockquote&gt;
A language that doesn't have everything is actually easier to program in than some that do.&lt;br /&gt;
&lt;br /&gt;
I can't recall any difficulty in making the C language definition completely open - any discussion on the matter tended to mention languages whose inventors tried to keep tight control, and consequent ill fate.&lt;br /&gt;
&lt;br /&gt;
UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity.&lt;br /&gt;
&lt;br /&gt;
The only way to learn a new programming language is by writing programs in it.&lt;/blockquote&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7379110960796014170-6691519896387920186?l=sachinashanbhag.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/yc5VbDZm1L0dFWtAyB3nTtjpwZI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yc5VbDZm1L0dFWtAyB3nTtjpwZI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/yc5VbDZm1L0dFWtAyB3nTtjpwZI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yc5VbDZm1L0dFWtAyB3nTtjpwZI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CluelessFundatma/~4/3NYiSaRVqeI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sachinashanbhag.blogspot.com/feeds/6691519896387920186/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7379110960796014170&amp;postID=6691519896387920186" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/6691519896387920186?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7379110960796014170/posts/default/6691519896387920186?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CluelessFundatma/~3/3NYiSaRVqeI/another-legend-falls.html" title="Another Legend Falls" /><author><name>Sachin Shanbhag</name><uri>http://www.blogger.com/profile/08932887228149182854</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="31" height="32" src="http://1.bp.blogspot.com/_X-b7iCPbzoo/SwHJZrfr0TI/AAAAAAAAAIk/QtGR6YK1yIo/S220/SachinShanbhag_Face.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://sachinashanbhag.blogspot.com/2011/10/another-legend-falls.html</feedburner:origLink></entry></feed>

