<?xml version="1.0" encoding="utf-8"?>
<feed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom">
  <title>Spark's Pensieve</title>
  <link rel="alternate" type="text/html" href="http://www.thinkingms.com/pensieve/" />
  <link rel="self" href="http://www.thinkingms.com/pensieve/SyndicationService.asmx/GetAtom" />
  <icon>favicon.ico</icon>
  <updated>2008-04-20T15:08:25.23412-04:00</updated>
  <author>
    <name>Roshan James</name>
  </author>
  <subtitle>... and take me disappearin' through the smoke rings of my mind</subtitle>
  <id>http://www.thinkingms.com/pensieve/</id>
  <generator uri="http://www.dasblog.net" version="2.0.7180.0">DasBlog</generator>
  <entry>
    <title>A friend is interviewing at MS...</title>
    <link rel="alternate" type="text/html" href="http://www.thinkingms.com/pensieve/2008/04/20/AFriendIsInterviewingAtMS.aspx" />
    <id>http://www.thinkingms.com/pensieve/PermaLink,guid,2bba424c-4b04-4e21-89cf-0ad606b8b53e.aspx</id>
    <published>2008-04-20T15:08:02.780995-04:00</published>
    <updated>2008-04-20T15:08:25.23412-04:00</updated>
    <category term="Mish Mash" label="Mish Mash" scheme="http://www.thinkingms.com/pensieve/CategoryView,category,Mish%2BMash.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
...for an internship this summer. I found this:
</p>
        <p>
          <img src="http://www.phdcomics.com/comics/archive/phd032108s.gif" />
        </p>
        <p>
Jorge Cham is always giving away our secrets. 
</p>
        <img width="0" height="0" src="http://www.thinkingms.com/pensieve/aggbug.ashx?id=2bba424c-4b04-4e21-89cf-0ad606b8b53e" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Models of LCF</title>
    <link rel="alternate" type="text/html" href="http://www.thinkingms.com/pensieve/2008/04/11/ModelsOfLCF.aspx" />
    <id>http://www.thinkingms.com/pensieve/PermaLink,guid,0a1aec80-fcab-4f5a-8183-00a1cdb0aec8.aspx</id>
    <published>2008-04-11T01:48:06.34375-04:00</published>
    <updated>2008-04-15T01:04:05.822875-04:00</updated>
    <category term="Computer Science" label="Computer Science" scheme="http://www.thinkingms.com/pensieve/CategoryView,category,Computer%2BScience.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
I came across this old paper by Milner, apparently one of the seminal ones about LCF: 
</p>
        <p>
          <a href="ftp://reports.stanford.edu/pub/cstr/reports/cs/tr/73/332/CS-TR-73-332.pdf">ftp://reports.stanford.edu/pub/cstr/reports/cs/tr/73/332/CS-TR-73-332.pdf</a>
        </p>
        <p>
I was surprised by (1) how readable the early parts of the paper are and more importantly
(2) how all this didn’t happen so long back. When it comes to denotational semantics,
LCF and such I somehow had unfounded feeling that its all ancient and set in stone.
Plotkin’s foundational work that revealed huge gaps in the denotational world view
happened in my lifetime (well almost)… and the computer science community has studied
it and has (mostly) moved on. That’s a really fast pace! 
</p>
        <p>
This was originally <a href="http://lambda-the-ultimate.org/node/2196">linked from
LTU</a>.
</p>
        <img width="0" height="0" src="http://www.thinkingms.com/pensieve/aggbug.ashx?id=0a1aec80-fcab-4f5a-8183-00a1cdb0aec8" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Yield and Exceptions: The &amp;quot;Structured Localized&amp;quot; perspective</title>
    <link rel="alternate" type="text/html" href="http://www.thinkingms.com/pensieve/2008/04/06/YieldAndExceptionsTheQuotStructuredLocalizedquotPerspective.aspx" />
    <id>http://www.thinkingms.com/pensieve/PermaLink,guid,79ad01a3-4c10-424e-a044-49b16f9277bf.aspx</id>
    <published>2008-04-06T10:55:25.6565-04:00</published>
    <updated>2008-04-06T10:55:25.6565-04:00</updated>
    <category term="Computer Science" label="Computer Science" scheme="http://www.thinkingms.com/pensieve/CategoryView,category,Computer%2BScience.aspx" />
    <category term="Languages" label="Languages" scheme="http://www.thinkingms.com/pensieve/CategoryView,category,Languages.aspx" />
    <category term="Programming" label="Programming" scheme="http://www.thinkingms.com/pensieve/CategoryView,category,Programming.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
I was speaking with a friend the other day and we were talking about the interaction
of effects and how to explain them. 
</p>
        <p>
One informal way to explain some additions to languages are that they are scale down
localized structured versions of features that were largely available for the whole
program. Let me explain: Did you start programming with an imperative language with
global variables? (There is one called C that affected the minds of many people.)
When you switch to an object oriented language, someone might have explained to you
that there is no longer any need for real global variables. You may make these wannabe
globals members of a class. You can turn methods that need the globals into members
of that class as well. So they are global as far as the methods in question go, but
they are not truly global. 
</p>
        <p>
In much the same way, we can explain yield. Programming languages have always had
input and output operators - scanf-printf, gets-puts etc. However these operators
are global with respect to your program. When you execute a printf, it is the output
of the whole program, not of any one part of it. Yield on the other hand can be thought
of as a localized input output operator. You can yield values from one part of the
program to another part of the program. You get input from one part of the program.
A method that yields is a packaged up opaque entity, a little sub-program, that communicates
using yield with its consuming-context, the rest of the program.
</p>
        <p>
We can explain exceptions in this way as well. In the absence of exceptions when there
was a fault, the whole program would come down. It would core dump, modulo global
error handlers. The whole machine does not come down, just the program that faults
does. The environment that hosts the program may realize that there is a fault and
do something about it. Its much the same with exceptions, but with the difference
that only a part of the program "core dumps". Its a localized failure of the program
that the environment (the rest of the program) can handle (or not handle, thereby
making it a global failure).
</p>
        <p>
So can you play this game or any other global program features, turning them into
powerful localized structured operators?
</p>
        <img width="0" height="0" src="http://www.thinkingms.com/pensieve/aggbug.ashx?id=79ad01a3-4c10-424e-a044-49b16f9277bf" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Guaranteeing Salvation Since 1620</title>
    <link rel="alternate" type="text/html" href="http://www.thinkingms.com/pensieve/2008/03/23/GuaranteeingSalvationSince1620.aspx" />
    <id>http://www.thinkingms.com/pensieve/PermaLink,guid,d70187c9-3a5a-453a-9d17-9c60f21f367c.aspx</id>
    <published>2008-03-22T22:07:27.567375-04:00</published>
    <updated>2008-03-22T22:08:23.723625-04:00</updated>
    <category term="Ethos" label="Ethos" scheme="http://www.thinkingms.com/pensieve/CategoryView,category,Ethos.aspx" />
    <category term="Mish Mash" label="Mish Mash" scheme="http://www.thinkingms.com/pensieve/CategoryView,category,Mish%2BMash.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <a href="http://www.landoverbaptist.net/showpost.php?p=162393&amp;postcount=7">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="643" alt="image" src="http://www.thinkingms.com/pensieve/content/binary/GuaranteeingSalvationSince1620_13721/image.png" width="682" border="0" />
          </a>
        </p>
        <p>
Never underestimate the stupidity of people. Over many years, I believed my bar had
fallen sufficiently low enough that not very much surprised me. Then along comes something
like this! 
</p>
        <p>
ps. <a href="http://kuruvila.net/">Sid</a>, if you are reading, this is your doing:
After that link from your blog about PZ Myers, I ended up wasting a major part of
my evening browsing around looking at the foolishness. <em>Thanks!</em></p>
        <p>
          <em>pps. What does the blog title mean? Its the from the banner of the "Landover Baptist
Church".</em>
        </p>
        <img width="0" height="0" src="http://www.thinkingms.com/pensieve/aggbug.ashx?id=d70187c9-3a5a-453a-9d17-9c60f21f367c" />
      </div>
    </content>
  </entry>
  <entry>
    <title>G. H. Hardy</title>
    <link rel="alternate" type="text/html" href="http://www.thinkingms.com/pensieve/2008/03/19/GHHardy.aspx" />
    <id>http://www.thinkingms.com/pensieve/PermaLink,guid,957fd4a0-dd59-4822-9459-7f28370e6cb7.aspx</id>
    <published>2008-03-19T01:50:42.840625-04:00</published>
    <updated>2008-03-19T01:50:42.840625-04:00</updated>
    <category term="Ethos" label="Ethos" scheme="http://www.thinkingms.com/pensieve/CategoryView,category,Ethos.aspx" />
    <category term="Mathematics" label="Mathematics" scheme="http://www.thinkingms.com/pensieve/CategoryView,category,Mathematics.aspx" />
    <category term="Zeitgeist" label="Zeitgeist" scheme="http://www.thinkingms.com/pensieve/CategoryView,category,Zeitgeist.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="404" alt="fund0232[1]" src="http://www.thinkingms.com/pensieve/content/binary/G.H.Hardy_19DF/fund02321.gif" width="404" border="0" />
        </p>
        <p>
After talking to Pooja, I felt it necessary to mention the great mathematician G.
H. Hardy on my blog. Hardy is most famous outside of mathematics for his "A Mathematician's
Apology". The book, written in later in life by Hardy, talks among aother things about
how mathematics <em>is young man's game.</em> He is also somewhat know for his association
with Ramanujan and for being the person responsible for bringing him to Cambridge
where his greatest mathematics unfolded. 
</p>
        <p>
Quoting one of the mathematicians, C Snow, that Hardy worked with:<br /><a title="http://www-groups.dcs.st-and.ac.uk/~history/Biographies/Hardy.html" href="http://www-groups.dcs.st-and.ac.uk/~history/Biographies/Hardy.html">http://www-groups.dcs.st-and.ac.uk/~history/Biographies/Hardy.html</a></p>
        <blockquote>
          <p>
            <i>A mathematicians apology is, if read with the textual attention it deserves, a
book of haunting sadness. Yes, it is witty and sharp with intellectual high spirits:
yes, the crystalline clarity and candour are still there: yes, it is the testament
of a creative artist. But it is also, in an understated stoical fashion, a passionate
lament for creative powers that used to be and that will never come again. I know
nothing like it in the language: partly because most people with the literary gift
to express such a lament don't come to feel it: it is very rare for a writer to realise,
with the finality of truth, that he is absolutely finished.</i>
          </p>
        </blockquote>
        <p>
Hardy was a sort of purist mathematician, one who did his mathematics not for the
sake of its applicability to anything, but for the sake of doing great mathematics.
Hardy, along with Littlewood and Ramanujan,  is also mention in Apostolos Doxiadis'
"Uncle Petros and the Goldbach Conjecture". The link above gives a short summary on
his life.
</p>
        <p>
Some quotes:
</p>
        <blockquote>
          <p>
            <em>Asked if he believes in one God, a mathematician answered: "Yes, up to isomorphism". </em>
          </p>
        </blockquote>
        <p>
          <a title="http://en.wikipedia.org/wiki/G._H._Hardy" href="http://en.wikipedia.org/wiki/G._H._Hardy">http://en.wikipedia.org/wiki/G._H._Hardy</a>:
</p>
        <blockquote>
          <em>
            <p>
It is never worth a first class man's time to express a majority opinion. By definition,
there are plenty of others to do that. 
</p>
            <p>
A mathematician, like a painter or a poet, is a maker of patterns. If his patterns
are more permanent than theirs, it is because they are made with ideas.
</p>
          </em>
        </blockquote>
        <img width="0" height="0" src="http://www.thinkingms.com/pensieve/aggbug.ashx?id=957fd4a0-dd59-4822-9459-7f28370e6cb7" />
      </div>
    </content>
  </entry>
  <entry>
    <title>My PAN card came apart!</title>
    <link rel="alternate" type="text/html" href="http://www.thinkingms.com/pensieve/2008/03/17/MyPANCardCameApart.aspx" />
    <id>http://www.thinkingms.com/pensieve/PermaLink,guid,d9095ca4-ae55-4c4c-87dd-6acf9a62006f.aspx</id>
    <published>2008-03-17T11:42:57.278125-04:00</published>
    <updated>2008-03-17T11:45:06.246875-04:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="260" alt="IMG_2834" src="http://www.thinkingms.com/pensieve/content/binary/PANcardirritation_A4B4/IMG_2834_thumb.jpg" width="537" border="0" />
        </p>
        <p>
Aaargh.... Its shaped like a card but its not to be carried in you wallet. Otherwise
the top layer just comes off! And guess what, that's the layer with your name and
number and photo on it. Seriously, would it have killed them to make these cards of
a slightly better quality? What did they save by creating the cheapest possible kind
of card?
</p>
        <p>
Now before you ask me why I cant use the license as an Indian government issued id,
let me tell you - that's because its cracked too. It cracked within the first month
of my getting it. And no, all the other cards in my wallet are just fine. The govt
issued ones are just cheap manufacturing quality. 
</p>
        <img width="0" height="0" src="http://www.thinkingms.com/pensieve/aggbug.ashx?id=d9095ca4-ae55-4c4c-87dd-6acf9a62006f" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Playing with Light</title>
    <link rel="alternate" type="text/html" href="http://www.thinkingms.com/pensieve/2008/03/17/PlayingWithLight.aspx" />
    <id>http://www.thinkingms.com/pensieve/PermaLink,guid,cc4c2460-d85f-40ce-ab4e-322c030b8cd3.aspx</id>
    <published>2008-03-16T23:45:42.965625-04:00</published>
    <updated>2008-03-16T23:47:21.16875-04:00</updated>
    <category term="Photography" label="Photography" scheme="http://www.thinkingms.com/pensieve/CategoryView,category,Photography.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="234" alt="IMG_2822" src="http://www.thinkingms.com/pensieve/content/binary/PlayingwithLight_14E16/IMG_2822_thumb.jpg" width="652" border="0" />
        <p>
Its fun to play with light. Light has so much color and "texture". I bought this strange
looking glass bowl at an antique shop. They were selling it as an ashtray. I figured
I could use it to hold candles.  
</p>
        <img width="0" height="0" src="http://www.thinkingms.com/pensieve/aggbug.ashx?id=cc4c2460-d85f-40ce-ab4e-322c030b8cd3" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Lake Lemon, Indiana</title>
    <link rel="alternate" type="text/html" href="http://www.thinkingms.com/pensieve/2008/03/14/LakeLemonIndiana.aspx" />
    <id>http://www.thinkingms.com/pensieve/PermaLink,guid,e562f063-980b-4cf8-a437-bafb2b1b874c.aspx</id>
    <published>2008-03-14T14:27:34.7646556-04:00</published>
    <updated>2008-03-14T14:37:44.2002589-04:00</updated>
    <category term="Photography" label="Photography" scheme="http://www.thinkingms.com/pensieve/CategoryView,category,Photography.aspx" />
    <category term="Places" label="Places" scheme="http://www.thinkingms.com/pensieve/CategoryView,category,Places.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
This Tuesday I finally got my driving license in the US. Well, I technically don't
have the license itself yet - it will be mailed to me eventually. Since I had a rental
car at my disposal, <a href="http://osl.iu.edu/~kyross/">Kyle</a> and I decided to
take a little photography trip. We drove to Lake Lemon, a few miles from Bloomington. 
</p>
        <p>
          <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="324" alt="image" src="http://www.thinkingms.com/pensieve/content/binary/LakeLemonIndiana_CAB2/image.png" width="384" border="0" />
        </p>
        <p>
We reached the lake a little before sunrise. It had been years since I saw a sunrise,
and the quality of the light was just fascinating. Its true what professional photographers
say - there is quite nothing like the morning light. Also, wild geese make lovely
subjects.
</p>
        <p>
          <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="217" alt="IMG_2457" src="http://www.thinkingms.com/pensieve/content/binary/LakeLemonIndiana_CAB2/IMG_2457.jpg" width="653" border="0" />
        </p>
        <p>
I usually don't shoot in black and white. Kyle almost always does. Here is my attempt
to look vaguely Ansel Adams-ish. The picture below looks a lot better in full resolution.
So the hi-res version of the picture is uploaded, you just need to click on it. 
</p>
        <p>
 
</p>
        <p>
          <a href="http://www.thinkingms.com/pensieve/content/binary/LakeLemonIndiana_CAB2/IMG_2537.jpg">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="402" alt="IMG_2537" src="http://www.thinkingms.com/pensieve/content/binary/LakeLemonIndiana_CAB2/IMG_2537_thumb.jpg" width="673" border="0" />
          </a>
        </p>
        <p>
Finally, to add a bit of color, here is Lake Lemon a few minutes before sunrise. This
too is better hi-res, but in the interest of server space I am uploading only the
little version here. 
</p>
        <p>
          <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="432" alt="IMG_2283" src="http://www.thinkingms.com/pensieve/content/binary/LakeLemonIndiana_CAB2/IMG_2283.jpg" width="646" border="0" />
        </p>
        <img width="0" height="0" src="http://www.thinkingms.com/pensieve/aggbug.ashx?id=e562f063-980b-4cf8-a437-bafb2b1b874c" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Bloomington, Graffiti</title>
    <link rel="alternate" type="text/html" href="http://www.thinkingms.com/pensieve/2008/03/10/BloomingtonGraffiti.aspx" />
    <id>http://www.thinkingms.com/pensieve/PermaLink,guid,1acade58-7406-41e5-af06-fec1cfda61cd.aspx</id>
    <published>2008-03-09T20:19:43.524-04:00</published>
    <updated>2008-03-10T12:22:53.945875-04:00</updated>
    <category term="Photography" label="Photography" scheme="http://www.thinkingms.com/pensieve/CategoryView,category,Photography.aspx" />
    <category term="Places" label="Places" scheme="http://www.thinkingms.com/pensieve/CategoryView,category,Places.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <a href="http://www.thinkingms.com/pensieve/content/binary/BloomingtonGraffiti_11D86/Graffiti2.jpg">
            <img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="267" alt="Graffiti-2" src="http://www.thinkingms.com/pensieve/content/binary/BloomingtonGraffiti_11D86/Graffiti2_thumb.jpg" width="144" border="0" />
          </a>   <a href="http://www.thinkingms.com/pensieve/content/binary/BloomingtonGraffiti_11D86/Graffiti6.jpg"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="264" alt="Graffiti-6" src="http://www.thinkingms.com/pensieve/content/binary/BloomingtonGraffiti_11D86/Graffiti6_thumb.jpg" width="373" border="0" /></a>  <a href="http://www.thinkingms.com/pensieve/content/binary/BloomingtonGraffiti_11D86/Graffiti13.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="263" alt="Graffiti-1-3" src="http://www.thinkingms.com/pensieve/content/binary/BloomingtonGraffiti_11D86/Graffiti13_thumb.jpg" width="194" border="0" /></a></p>
        <p>
  <a href="http://www.thinkingms.com/pensieve/content/binary/BloomingtonGraffiti_11D86/Graffiti12.jpg"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="301" alt="Graffiti-1-2" src="http://www.thinkingms.com/pensieve/content/binary/BloomingtonGraffiti_11D86/Graffiti12_thumb.jpg" width="603" border="0" /></a></p>
        <p>
          <a href="http://www.thinkingms.com/pensieve/content/binary/BloomingtonGraffiti_11D86/Graffiti7.jpg">
            <img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="321" alt="Graffiti-7" src="http://www.thinkingms.com/pensieve/content/binary/BloomingtonGraffiti_11D86/Graffiti7_thumb.jpg" width="422" border="0" />
          </a>
          <a href="http://www.thinkingms.com/pensieve/content/binary/BloomingtonGraffiti_11D86/Graffiti5.jpg">
            <img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="320" alt="Graffiti-5" src="http://www.thinkingms.com/pensieve/content/binary/BloomingtonGraffiti_11D86/Graffiti5_thumb.jpg" width="446" border="0" />
          </a>
        </p>
        <img width="0" height="0" src="http://www.thinkingms.com/pensieve/aggbug.ashx?id=1acade58-7406-41e5-af06-fec1cfda61cd" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Post Processing: Lightroom</title>
    <link rel="alternate" type="text/html" href="http://www.thinkingms.com/pensieve/2008/03/09/PostProcessingLightroom.aspx" />
    <id>http://www.thinkingms.com/pensieve/PermaLink,guid,cb69d651-5f4c-4d6d-8dd8-30e9974c19aa.aspx</id>
    <published>2008-03-09T01:44:40.86775-05:00</published>
    <updated>2008-03-10T12:26:04.414625-04:00</updated>
    <category term="Photography" label="Photography" scheme="http://www.thinkingms.com/pensieve/CategoryView,category,Photography.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Most photographers I talk to, who are hobbyists like me, act a little strange when
the topic of post processing comes up. A manner that is rather reminiscent of a stupid
friend letting slip something in front of your parents. They look a little squeamish
and then they start to feign innocence. "I never post process my pictures", "Oh! that's
how it came out of the camera", "I want my photos to be *real*", "Only minimally,
just yadda yadda yadda..." etc.
</p>
        <p>
What?
</p>
        <p>
What are you all uptight about? What's the big deal? Do you realize that when you
take a digital photograph there is a lot of software in the camera making choices
for you already? I haven't done much (if any at all) post processing so far, not because
I have anything against it, but because of (1) I don't have the tools and (2) It takes
too much time. I do have Picasa on my machine and every now and then I have tried
boosting saturation on a picture or cropping out an annoying detail and have felt
good about it. 
</p>
        <p>
The problem with Picasa is that it doesn't allow much control over things and I still
end up wasting a lot of time if I ever start playing with it. Many many years back
I had access to a copy of Photoshop and that program simply made me feel stupid -
I couldn't get it to do anything. I remember <a href="http://www.linkedin.com/in/abdulrafeeq">Abdul
Rafeeq</a> who was in my undergrad engineering class and was a wiz with Photoshop.
Rafeeq used to design all our posters and such, so I had first hand evidence of the
fact that the tool was powerful in the right hands. (The only image manipulating program
I felt good about was Gimp - the fact that I never installed it and that I never really
used used it, made me feel really good about myself. Once in a while I'd find some
poor soul struggling with it and feel a deep satisfaction that it wasn't me.)
</p>
        <p>
Enter Adobe Lightroom. Lightroom is a post processing tool designed primarily with
the interests of photographers in mind. The tool is designed to let you select and
organize pictures, do a decent set of color corrections, tone fixing etc type operations
that most photographers are interested in. 
</p>
        <p>
I downloaded a copy a few days back on the 30 day trial period and I like it. Its
a bit slow, not as responsive as Picasa, but is otherwise rather nice. After playing
around with it a bit, I must say I like the added power to fix the color settings
of my pictures. Being able to boost color in your pictures (or de-saturate them) is
an added dimension of power. Of course, it cant make a bad picture good, but it does
compensate for the color of the light, the white balance settings, the nuances of
your cameras sensor etc. As a matter of fact, once I get comfortable with this I suspect
I will be able to get the look I want without much trouble as well. 
</p>
        <p>
          <a href="http://www.thinkingms.com/pensieve/content/binary/PostProcessingLightroom_184B/image.png">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="196" alt="image" src="http://www.thinkingms.com/pensieve/content/binary/PostProcessingLightroom_184B/image_thumb.png" width="245" border="0" />
          </a>  <a href="http://www.thinkingms.com/pensieve/content/binary/PostProcessingLightroom_184B/image_3.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="196" alt="image" src="http://www.thinkingms.com/pensieve/content/binary/PostProcessingLightroom_184B/image_thumb_3.png" width="260" border="0" /></a></p>
        <p>
Comparing the detail of someone's forehead. Which one do you think came out of the
camera and which one is the post processed version? The odd looking reddish hue, the
one on the right, is the version that came out the camera. 
</p>
        <p>
The downside? The several hundred dollar price tag. Its cheaper than Photoshop but
its a bit too much for what the PhD program pays me. 
</p>
        <img width="0" height="0" src="http://www.thinkingms.com/pensieve/aggbug.ashx?id=cb69d651-5f4c-4d6d-8dd8-30e9974c19aa" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Groups are fascinating!</title>
    <link rel="alternate" type="text/html" href="http://www.thinkingms.com/pensieve/2008/03/01/GroupsAreFascinating.aspx" />
    <id>http://www.thinkingms.com/pensieve/PermaLink,guid,a44899e2-5de3-4fa8-b807-bd88702ac81c.aspx</id>
    <published>2008-03-01T15:21:05.860875-05:00</published>
    <updated>2008-03-04T00:07:15.3765-05:00</updated>
    <category term="Computer Science" label="Computer Science" scheme="http://www.thinkingms.com/pensieve/CategoryView,category,Computer%2BScience.aspx" />
    <category term="Mathematics" label="Mathematics" scheme="http://www.thinkingms.com/pensieve/CategoryView,category,Mathematics.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
I have started liking groups so much, that I think its worth spending some time drawing
out these beautiful things with some care. These mathematical abstractions have some
really nice corresponding pictures. 
</p>
        <p>
 
</p>
        <p>
          <a href="http://www.thinkingms.com/pensieve/content/binary/Groupsarebeautifulandfascinating_2805/image.png">
            <img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="388" alt="image" src="http://www.thinkingms.com/pensieve/content/binary/Groupsarebeautifulandfascinating_2805/image_thumb.png" width="516" border="0" />
          </a>
        </p>
        <p>
This is the dihedral group D3, produced by<br /><em>s^3 = i<br />
(st)^2 = i</em></p>
        <p>
 
</p>
        <p>
          <a href="http://www.thinkingms.com/pensieve/content/binary/Groupsarebeautifulandfascinating_2805/image_9.png">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="283" alt="image" src="http://www.thinkingms.com/pensieve/content/binary/Groupsarebeautifulandfascinating_2805/image_thumb_9.png" width="296" border="0" />
          </a>   <a href="http://www.thinkingms.com/pensieve/content/binary/Groupsarebeautifulandfascinating_2805/image_10.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="273" alt="image" src="http://www.thinkingms.com/pensieve/content/binary/Groupsarebeautifulandfascinating_2805/image_thumb_10.png" width="263" border="0" /></a></p>
        <p>
The quaternion group. 
</p>
        <p>
Quaternions are a generalization of complex numbers. I am a little fascinated with
the above group because a long time back before I had known of Group theory I had
constructed the above diagram in my attempt to understand quaternions and multi-dimensional
geometry. 
</p>
        <p>
The discovery of quaternions is credited to the great mathematician Hamilton. Story
has it that Hamilton had been pondering the issue for a quite a while and fundamental
equation of quaternions came to him when he was taking a walk with his wife. It is
said he carved the equation into bridge where he was at that time. The bridge, now
has a plaque to this effect. So here is the fundamental equation: 
</p>
        <p>
          <em>ijk = -1</em>
        </p>
        <p>
From this we can also derive <em>i^2 = j^2 = k^2 = -1</em></p>
        <p>
 
</p>
        <p>
          <a href="http://www.thinkingms.com/pensieve/content/binary/Groupsarebeautifulandfascinating_2805/image_4.png">
            <img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="388" alt="image" src="http://www.thinkingms.com/pensieve/content/binary/Groupsarebeautifulandfascinating_2805/image_thumb_4.png" width="516" border="0" />
          </a>
        </p>
        <p>
The group produced by<br /><em>s^3 = i<br />
(-s)ts = t^2</em></p>
        <p>
where "-s" is to be read as "s inverse". 
</p>
        <p>
Here is a slightly different rendition of the same group:
</p>
        <p>
          <a href="http://www.thinkingms.com/pensieve/content/binary/Groupsarebeautifulandfascinating_2805/image_5.png">
            <img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="390" alt="image" src="http://www.thinkingms.com/pensieve/content/binary/Groupsarebeautifulandfascinating_2805/image_thumb_5.png" width="519" border="0" />
          </a>
        </p>
        <p>
 
</p>
        <p>
Here is a different group:
</p>
        <p>
          <a href="http://www.thinkingms.com/pensieve/content/binary/Groupsarebeautifulandfascinating_2805/image_6.png">
            <img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="389" alt="image" src="http://www.thinkingms.com/pensieve/content/binary/Groupsarebeautifulandfascinating_2805/image_thumb_6.png" width="517" border="0" />
          </a>
        </p>
        <p>
This is the group generated by:<br /><em>s^4 = i<br />
(-s)ts = t^2<br />
t^15 = i</em></p>
        <p>
          <em>
          </em> 
</p>
        <p>
          <a href="http://www.thinkingms.com/pensieve/content/binary/Groupsarebeautifulandfascinating_2805/image_7.png">
            <img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="401" alt="image" src="http://www.thinkingms.com/pensieve/content/binary/Groupsarebeautifulandfascinating_2805/image_thumb_7.png" width="533" border="0" />
          </a>
        </p>
        <p>
This is the group generated by a variation of the above equations:<br /><em>s^4 = i<br />
(-s)ts = t^2<br />
t^5 = i</em></p>
        <img width="0" height="0" src="http://www.thinkingms.com/pensieve/aggbug.ashx?id=a44899e2-5de3-4fa8-b807-bd88702ac81c" />
      </div>
    </content>
  </entry>
  <entry>
    <title>If I build it for you, what will become of it?</title>
    <link rel="alternate" type="text/html" href="http://www.thinkingms.com/pensieve/2008/03/01/IfIBuildItForYouWhatWillBecomeOfIt.aspx" />
    <id>http://www.thinkingms.com/pensieve/PermaLink,guid,53e5b800-f04e-4f88-81a9-c2b18fda3946.aspx</id>
    <published>2008-03-01T00:07:22.8108963-05:00</published>
    <updated>2008-03-01T00:07:22.8108963-05:00</updated>
    <category term="Ethos" label="Ethos" scheme="http://www.thinkingms.com/pensieve/CategoryView,category,Ethos.aspx" />
    <category term="Mish Mash" label="Mish Mash" scheme="http://www.thinkingms.com/pensieve/CategoryView,category,Mish%2BMash.aspx" />
    <category term="Zeitgeist" label="Zeitgeist" scheme="http://www.thinkingms.com/pensieve/CategoryView,category,Zeitgeist.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Many years back I worked full time at Microsoft on one of the many projects related
to Vista (or what was then called Longhorn). Last December I was visiting friends
in the Redmond area when one of the jokingly observed how the code I had written for
Microsoft still hadn't seen light of day, while two and a half years later, I had
moved on and completed my Masters and had started on my PhD.
</p>
        <p>
This wasn't a sort of accidental slip, but I remember we were told at that time that
if we had any ideas to suggest for Vista, they better be ideas that will be new and
interesting 3-4 years later when the OS actually ships. This is a tall order for any
sort of idea, much less for the volatile world of "software project" ideas.
</p>
        <p>
While this seemed like very ironic humor at that time, over the past month or so,
once in a while I thought about what that meant. After all, I had spent a year writing
all that code. A very busy year at that - I had spent 15+ hours a day, I daresay,
that was my average day, struggling with the turmoil of the massive engineering effort
that was Vista. 
</p>
        <p>
I wasn't a *great* programmer by many standards, but I'd like to think that I was
better than many I had encountered. 15+ hours of my time for about a year, took a
lot of out of my life and it didn't seem to have amounted to anything! Sure I was
being paid a handsomely, but one one like to think that one's efforts contribute to
the world in some way as well. After all that year was full of deadlines and things
being rushed to be completed and such. What came of all of it? If it came to nothing,
what a waste of life that was...
</p>
        <p>
A few weeks back, I got a call from <a href="http://steve-yegge.blogspot.com/">Steve</a> who
works with Google (who has a fascinating blog btw), about coming back and working
with them on some stuff. I casually asked what happened about the last thing I had
worked on, when I was there last summer. I had made some extensions to the Rhino compiler,
the largest part of which was adding the yield control operator to it. Steve said
that they were using it. Somewhere in the back of my mind I said "What?!".
</p>
        <p>
Maybe my programming has matured over the years. Maybe the ~6 hrs a day I spent in
office as an intern produced production quality code. I somehow assumed that it wouldn't
see any real world use. Was it really that special that it was ready for real world
use? Don't get me wrong, it wasn't bad code. But it was code that only written, not
"baked" for years. 
</p>
        <p>
Maybe there was another reason. Maybe, it wasn't a property of the code at all, but
of the fact that there was something radically different about the outlooks of both
these companies. There are many thing one can say about this "difference in outlook",
positive and negative things things about both. But a shift that causes developers
to feel effective by default as opposed to feeling ineffective by default, is an empowering
thought. "If I build it for you, what will become of it?" 
</p>
        <p>
Maybe mine was an isolated case of wasted engineering effort and this is nitpicking.
If that's so, I'll be happy for it.
</p>
        <img width="0" height="0" src="http://www.thinkingms.com/pensieve/aggbug.ashx?id=53e5b800-f04e-4f88-81a9-c2b18fda3946" />
      </div>
    </content>
  </entry>
</feed>