<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-19552234</atom:id><lastBuildDate>Thu, 14 Mar 2013 19:30:11 +0000</lastBuildDate><title>My views</title><description></description><link>http://kar1107.blogspot.com/</link><managingEditor>noreply@blogger.com (Karthik Gurusamy)</managingEditor><generator>Blogger</generator><openSearch:totalResults>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-19552234.post-3537989636015208293</guid><pubDate>Tue, 23 Nov 2010 09:07:00 +0000</pubDate><atom:updated>2010-11-25T01:19:07.827-08:00</atom:updated><title>Mannil indha kaadhal andri from "Keladi Kanmani"</title><description>Song: Mannil indha kaadhal andri&lt;br /&gt;Movie: &lt;a href="http://en.wikipedia.org/wiki/Keladi_Kanmani"&gt;Keladi Kanmani&lt;/a&gt; (1990)&lt;br /&gt;Lyrics: ??&lt;br /&gt;Music: &lt;a href="http://en.wikipedia.org/wiki/Ilaiyaraaja"&gt;Ilayaraja&lt;/a&gt;&lt;br /&gt;Singer: &lt;a href="http://en.wikipedia.org/wiki/S._P._Balasubrahmanyam"&gt;S P Balasubrahmanyam&lt;/a&gt;&lt;br /&gt;Actors: &lt;a href="http://en.wikipedia.org/wiki/S._P._Balasubrahmanyam"&gt;S P Balasubrahmanyam&lt;/a&gt;, &lt;a href="http://en.wikipedia.org/wiki/Raadhika_Sarathkumar"&gt;Radhika&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;search keywords: "tamil song Mannil indha  from movie Keladi Kanmani"&lt;br /&gt;youtube: &lt;a href="http://www.youtube.com/watch?v=p6DKlaUul1I"&gt;http://www.youtube.com/watch?v=p6DKlaUul1I&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;object width="480" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/p6DKlaUul1I?fs=1&amp;amp;hl=en_US"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/p6DKlaUul1I?fs=1&amp;amp;hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;i&gt;Mannil indha kaadhal andri, yaarum vaazhthal koodumo&lt;/i&gt;&lt;/div&gt;&lt;div&gt;Is it possible to live on this earth, without love?&lt;/div&gt;&lt;div&gt;literal: On earth (soil), without this love, can anyone live?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;ennam kanni paavai indri, yezhu swaram thaan paadumo&lt;/i&gt;&lt;/div&gt;&lt;div&gt;Will the seven notes (of music) sing, without the thought of the maiden girl?&lt;/div&gt;&lt;div&gt;literal: Without the virgin girl's thought, will the 7 notes sing?&lt;/div&gt;&lt;div&gt;He says music goes mute if it's not for the thought of the girl. (7 swaram are the 'sa re ga.. ' notes in music)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;penmai indri mannil, inbam yedhada?&lt;/i&gt;&lt;/div&gt;&lt;div&gt;Where is the pleasure on this earth, without woman?&lt;/div&gt;&lt;div&gt;literal: Without the feminine, on this earth, where is the pleasure?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;kannai moodi kanavil vaazhum maanida&lt;/i&gt;&lt;/div&gt;&lt;div&gt;(tell me how...you) man who is living with eyes closed in a dream &lt;/div&gt;&lt;div&gt;I guess the poet wants to convey man is living asleep..  unaware falsely believing that he can find happiness without woman/love. &lt;/div&gt;&lt;div&gt;So more than dreaming, the man is asleep/unconscious. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In the next stanza, he sings how the materialistic world with all its beauty is useless and will fail to give pleasure without the girl's company.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;vennilavum, ponni nadhiyum, kanniyin thunai indri&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;enna sugam ingu padaikum, penmayin sugam andri&lt;/i&gt;&lt;/div&gt;&lt;div&gt;What pleasure can the white-moon and river cauvery give, without the company of the maiden, without her pleasure?&lt;/div&gt;&lt;div&gt;literal: white-moon, ponni river (the sacred cauvery river), without the virgin's company&lt;/div&gt;&lt;div&gt;what pleasure can they serve? in the absence of feminine pleasure.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;sandhanamum, sanga thamizhum, pongidum vasanthamum&lt;/i&gt;&lt;/div&gt;&lt;div&gt;sandal (as in sandal wood) and sanga tamil (sangam=a golden age in tamil literature) and raising/overflowing spring (as in season)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;sindhi varum pongum amutham thangidum kumudhamum&lt;/i&gt;&lt;/div&gt;&lt;div&gt;A lotus filled with overflowing and spilling amudham (a heavenly food/delicacy) &lt;/div&gt;&lt;div&gt;literal: .. spilling and overflowing (it comes) amudham which comes and stays inside a lotus.. and that lotus (..below will fail to give pleasure ..)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;kanni magal arugil irundhaal suvaikum &lt;/i&gt;&lt;/div&gt;&lt;div&gt;(all these) will taste sweet, if the maiden is next to me&lt;/div&gt;&lt;div&gt;literal: if the virgin girl is close by, they will taste (good/sweet)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;kanni thunai izhandhaal muzhudhum kasakkum&lt;/i&gt;&lt;/div&gt;&lt;div&gt;If the maiden's company is lost, they fully taste bitter.&lt;/div&gt;&lt;div&gt;literal: On losing the virgin's company, completely (they) taste bitter&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;vizhiyinil mozhiyinil nadaiyinil udaiyinil &lt;/i&gt;&lt;/div&gt;&lt;div&gt;In her eyes, in her talks, in her walk, in her dress&lt;/div&gt;&lt;div&gt;literal: In eye, in language, in walk, in garment&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;adhisaya sugam tharum anangu ival pirappu ithu thaan&lt;/i&gt;&lt;/div&gt;&lt;div&gt;She is the goddess that serves wondrous bliss&lt;/div&gt;&lt;div&gt;literal: that which gives wondrous pleasure, is this goddess/angel (which was created by her birth)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;&lt;i&gt;mannil indha..&lt;/i&gt;&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In the next stanza, he praises each of the body parts of the girl.. about her lips, eyes, hips, fingers...&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;muthu mani rathinangalum, kattiya pavazhamum,&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;kothu malar arputhangalum kuvintha adharamum,&lt;/i&gt;&lt;/div&gt;&lt;div&gt;A heap made of wondrous bouquet of red flowers, pearl like beads of rubies and solid pavazham (another red precious stone)... are your lips.&lt;/div&gt;&lt;div&gt;literal: pearl like beads of rubies and solid pavazham (a red color opaque precious stone)&lt;/div&gt;&lt;div&gt;bouquet of red flowers .. (all these) wonders... (came to make a heap).. heap .. (are your) lips.&lt;/div&gt;&lt;div&gt;kothu malar: I assume it's a flower size of a large rose, with many small red flowers bunched together.. I guess they are called 'idly poo'.&lt;/div&gt;&lt;div&gt;adharam is a poetic word for lips&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;sitridaiyum, sinna viralum, villenum puruvamum,&lt;/i&gt;&lt;/div&gt;&lt;div&gt;the slender hip, slender fingers, bow like eyebrows&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;sutrivara seiyum vizhiyum, sundara mozhigalum&lt;/i&gt;&lt;/div&gt;&lt;div&gt;The eyes that attract, the beautiful voice&lt;/div&gt;&lt;div&gt;literal: the eyes that make one go around (her)&lt;/div&gt;&lt;div&gt;Seems her eyes are so attractive/magnetic that one will be made to keep coming towards her&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;yennivida maranthaal yedharkor piravi?&lt;/i&gt;&lt;/div&gt;&lt;div&gt;If one forgets (these), what's the use of taking birth?&lt;/div&gt;&lt;div&gt;literal: If forgetting to remember, what's the use of (this/one) birth?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;ithanaiyum izhandhaal avan thaan thuravi&lt;/i&gt;&lt;/div&gt;&lt;div&gt;Only he is a true renouncer,  if he loses all these&lt;/div&gt;&lt;div&gt;literal: lose all these.. only that man is a renouncer/sadhu&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;mudi mudhal adi varai muzhuvathum sugam tharum&lt;/i&gt;&lt;/div&gt;&lt;div&gt;Completely from the top to bottom (from head to toe), (you) giving pleasure&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;virundhugal padaithidum arangamum aval allava?&lt;/i&gt;&lt;/div&gt;&lt;div&gt;Isn't she(her body) the stage(/a dining hall) that delivers such a feast&lt;/div&gt;&lt;div&gt;literal: (such a) feast delivering stage, isn't  she (or her body as going by previous lines)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;mannil&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Notes:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;The guy sings in praise of the glory of woman and love. He sings in praise of the general woman unlike most romantic songs where the lover addresses his specific beloved. &lt;/div&gt;&lt;div&gt;He sings how the natural beauties (like moon, river) are useless and loses their ability to give pleasure in the absence of woman. The other stanza praises the beauty of her body - each of the parts like eyes, lips, hips. SPB sings in a single breath each of the two main stanzas of the song. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I wonder at the rich poetic tamil used in this song; such high density and depth of meanings using so few a words. Specifically the line that extols her lips.  I love best the lines:&lt;/div&gt;&lt;div&gt; '&lt;i&gt;penmai indri mannil inbam yedhada?&lt;/i&gt;' (where is the pleasure on this earth, without woman?) and &lt;/div&gt;&lt;div&gt;'&lt;i&gt;...yennivida maranthaal yedharkor piravi?&lt;/i&gt;' ( what's the use of taking birth, if you forget to remember (her beauty))&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Dictionary:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;mann=soil (earth), andri/indri=without, ennam=thoughts, kanni=virgin, paavai=girl, penmai=feminine/woman-hood, inbam=pleasure/happiness, maanidam=mankind, kanavu=dream,&lt;/div&gt;&lt;div&gt;venn/venmai=white, nila=moon, nathi=river, ponni-nathi=cauvery, thunai=company, sugam=pleasure,vasandham=spring season, ponguthal=to raise/overflow (as a boiling pot), sindhuthal=spilling (like a overlowing bucket), thanguthal=to stay/contain, kumudham=lotus, kasappu=bitter (taste), vizhi=eye, mozhi=language/voice, nadai=walk, udai=dress/garment, adhisayam=wonder, anangu=god like woman, goddess, angel --- this is a poetic literary word, pirappu=birth, muthu=pearl, mani=bead, rathinam=ruby, katti=solid, pavazham=a red opaque precious stone.. usually used big in jewellery like rings, kothu-malar=a flower size of a very big rose which has lots (100s) of small red flowers inside, kuvindha/kuvippu=heap (like a heap of grains), adharam=lips (this is poetic usage), villu=bow (as in bow and arrow), puruvam=eye-brows, suttri-vara=to make one go and come around (as you do around a temple..circum.(??locate?)), marandhal=to forget, edharku=why, piravi=birth, thuravi=renouncer/saint/sadhu, mudi=top (like mountain summit, here head), adi=bottom (here ..feet/toes), muzhuvathum=fully/completely, virundhu=feast (as a wedding food), arangam=stage/auditorium ..where a performace (like dance/concert) takes place&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;search tags: Lyrics, Translation of "mannil indha kaadhal andri" from "Keladi Kanmani", "mannil indha kaadhal indri", "mannil intha kaathal"&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</description><link>http://kar1107.blogspot.com/2010/11/mannil-indha-kaadhal-andri-from-keladi.html</link><author>noreply@blogger.com (Karthik Gurusamy)</author><thr:total>5</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-19552234.post-802687230549197225</guid><pubDate>Wed, 17 Nov 2010 07:30:00 +0000</pubDate><atom:updated>2011-06-15T15:41:34.757-07:00</atom:updated><title>Vaseegara from Minnale</title><description>Song: Vaseegara&lt;br /&gt;Movie: &lt;a href="http://en.wikipedia.org/wiki/Minnale"&gt;Minnale &lt;/a&gt;(2001)&lt;br /&gt;Lyrics: &lt;a href="http://en.wikipedia.org/wiki/Thamarai"&gt;Thamarai&lt;/a&gt;&lt;br /&gt;Music: &lt;a href="http://en.wikipedia.org/wiki/Harris_Jayaraj"&gt;Harris Jayaraj&lt;/a&gt;&lt;br /&gt;Singer: &lt;a href="http://en.wikipedia.org/wiki/Bombay_Jayashri"&gt;Bombay Jayashree&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;search keywords: "tamil song Vaseegara from movie Minnale"&lt;br /&gt;youtube: &lt;a href="http://www.youtube.com/watch?v=1NhKaWr3Mx4"&gt;http://www.youtube.com/watch?v=1NhKaWr3Mx4&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;object width="480" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/1NhKaWr3Mx4?fs=1&amp;amp;hl=en_US"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/1NhKaWr3Mx4?fs=1&amp;amp;hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;div&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;vaseegara, en nenjinikka un pon madiyil thoonginaal podhum&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;O captivator, it's enough if I can sleep on your golden lap (while my heart fills with sweetness)&lt;/div&gt;&lt;div&gt;literal: O captivator, as my heart fills with sweetness, on your golden lap, if i can sleep -- that is enough&lt;/div&gt;&lt;div&gt;nenjinikka = nenju inikka .. heart feeling sweetness&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;adhe kanam en kan uranga(a) mun jenmangalin yaekkangal theerum&lt;/i&gt;&lt;/div&gt;&lt;div&gt;At the same moment, when my eyes are awake, all my previous birth's longings will get fulfilled..&lt;/div&gt;&lt;div&gt;literal: at the same moment, when my eyes are not sleeping, previous birth's longings will get fulfilled&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;There are two interpretations.. urangaa=not sleep; uranga=sleep.&lt;/div&gt;&lt;div&gt;I assume it's urangaa and not uranga&lt;/div&gt;&lt;div&gt;Since in the previous line she says,she wants to sleep in his lap, I assume in the second line she wants to lie in his lap and be awake. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;naan nesipathum swasipathum un dhayavaal dhaane&lt;/i&gt;&lt;/div&gt;&lt;div&gt;Only because of your grace, I love, I breath.&lt;/div&gt;&lt;div&gt;literal: I love and I breathe, it's because of your love/grace.&lt;/div&gt;&lt;div&gt;Only while researching on this line, I came to know that the very common usage 'dhayavu seithu' (meaning 'please') ..literally means "with/using love/grace (anbu/arul)"&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;yengugirean thaengugirean un ninaivaal naane naan (?or thaan?)&lt;/i&gt; &lt;/div&gt;&lt;div&gt;On your memories, I'm longing, I'm being disturbed (with sadness) &lt;/div&gt;&lt;div&gt;literal: I'm longing, I'm disturbed, because of your memories (thoughts) -- I am I am  [thaan would mean.. it's only I]&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;thaenguthal = is to stall; another meaning is mind/heart getting disturbed (manam kalanguthal)... because of sadness.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;adai mazhai varum adhil nanaivome&lt;/i&gt;&lt;/div&gt;&lt;div&gt;Let's get drenched (together) in a heavy rain&lt;/div&gt;&lt;div&gt;literal: heavy rain will come, in it, let's get wet/drenched &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;kuLir kaaichalodu sneham &lt;/i&gt;&lt;/div&gt;&lt;div&gt;Let us love ..when shivering in cold&lt;/div&gt;&lt;div&gt;literal: With cold (shivering) fever, love&lt;/div&gt;&lt;div&gt;The suggestion being after getting drenched together in a heavy rain, we feel cold and we shiver and embrace &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;oru porvaikkul iru thookkam&lt;/i&gt; &lt;/div&gt;&lt;div&gt;We sleep under the same bed-cloth/comforter&lt;/div&gt;&lt;div&gt;literal: One bed-sheet, two sleeps&lt;/div&gt;&lt;div&gt;Continuing from previous lines, suggest that we feel cold and sleep off together covering us together with the same/single bed cloth (it's a very thin comforter/large shawl)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;kulu kulu poigal solli..enai velvaai &lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;adhu therindhum kooda anbe &lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;manam adhaiyeethaan edhirpaarkum &lt;/i&gt;&lt;/div&gt;&lt;div&gt;With sweet lies, you win me over; I know they are lies -- but still I keep expecting them. &lt;/div&gt;&lt;div&gt;literal: by telling cool lies, you win over me&lt;/div&gt;&lt;div&gt;Even knowing that (ie you are lying), my love,&lt;/div&gt;&lt;div&gt;(my) heart keeps longing/expecting them&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;She says she knows he is lying; and with lies he wins her over.. and she enjoys his lies and looks forward to hearing his sweet/cool lies&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;engeyum pogaamal dhinam veetileye nee vendum &lt;/i&gt;&lt;/div&gt;&lt;div&gt;Everyday, I want you to just stay inside home with me, without leaving for anywhere.&lt;/div&gt;&lt;div&gt;literal: Not going anywhere, daily, I want you inside home&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Wondering what they will do for 'boova' :) [I guess he logs in VPN and sends a "not feeling well" PTO email to his manager]&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;sila samayam vilayaataai, un aadaikulle naan vendum&lt;/i&gt; &lt;/div&gt;&lt;div&gt;Just for fun, I want to wear your shirt&lt;/div&gt;&lt;div&gt;literal: Sometime, for fun, I want to be inside your garment/shirt&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In olden times, in poorer families, girls wear shirts of their brothers; Seems to convey such love.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;vaseegara&gt;&lt;/vaseegara&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;dhinamum nee kuLithathum enai thaedi&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;en selai nuniyaal undhan thalai thudaipaaye, adhu kavidhai&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;After your shower, you search for me and dry your hair with my saree -- that is poetry. &lt;/div&gt;&lt;div&gt;literal: daily, after your shower/bath, you search for me&lt;/div&gt;&lt;div&gt;and with the tip/edge of my saree, you'll dry/pat your head/hair, .. that is poetry. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;thirudan pol padhungi dhideer endru&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;pinnal irundhu ennai anaipaaye, adhu kavidhai&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Suddenly like a hiding thief, you'll embrace me from behind and surprise me -- that is poetry. &lt;/div&gt;&lt;div&gt;literal: Like a thief, you'll crouch, and suddenly (as to give a shock)&lt;/div&gt;&lt;div&gt;from behind (me), you'll embrace me.. - that is poetry.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I guess this is a common movie scene, where the wife is usually cooking and looking towards the stove and the guy comes behind and hugs her.&lt;/div&gt;&lt;div&gt;[seems only happens in movies? ;)]&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;yaarenum mani kaetaal adhai solla kooda theriyaadhe&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;kaadhal ennum mudi veLiyil &lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;gadikaara neram kidayaadhe&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In the land of love, there is no meaning to time&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;literal: If someone asks for time, we can't answer (as we have no clue what time is now..or how much time has passed)&lt;/div&gt;&lt;div&gt;In the top-land of love, there is nothing like time as a clock conveys&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Suggests when they are together in love, time freezes; mudi-veLi= I guess it means top-veLi is like a place (vinveLi=space).. so it talks about such a land of love.&lt;/div&gt;&lt;div&gt;In such a land, time loses its meaning. time doesn't exist. [steven hawkins/einstein can  have some explanation for 'time does't exist'] :)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;&lt;i&gt;vaseegara&lt;/i&gt;..&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;some almost inaudible lines .. like '..&lt;i&gt;mudhaal illa&lt;/i&gt; .. ' I can't make out what those lines are.. or if they mean something. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Notes:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;The girl sings this sweet romantic song thinking about her lover. Sings about simple sweet acts of love like lying in his lap, getting drenched together in rain, wearing his clothes, his using her saree to dry his hair. The lyricist is Thamarai.. and some of her songs uses rich beautiful almost poetic Tamil. Say in this song words like vaseegara, mudiveLi, thengugirean are words not in common usage.  The cinematography of this song doesn't do justice to the song's tenderness... I recall some youtube comment..saying "pole-dancing, WTF?!!' :) And what is the nonsense of the girl/guy taking shower together scene?? I guess someone got confused between love and lust; reminds me of some scene from a malayalam movie in gaiety theater!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Dictionary:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;vaseegara=captivator (vaseegaram from vasam.. is to hold/control someone as if in a spell; similar to an insect fallen into a spider's web..we can say the insect has gone under the spider's vaseegaram), nenjam/nenju=heart, inikka/inippu=sweet, pon=gold, madi=lap, thookam=sleep, ganam=moment/instant, urakkam=sleep, uranga=to sleep, mun=previous, jenmam=birth (as in birth-death cycle/reincarnation), yeakkam=longings (deep unfilled desires), theerum=to get fulfilled, nesippu=to love/like, swasam=breath, dhayavu=grace/love/kindness, yengudhal=to long/to pine, theangudhal=to get disturbed in mind due to sadness (manam kalangudhal)..the normal meaning is to stall/stagnate (water/thanni thenguthal).but here the meaning is 'mind disturbance', ninaivu=memories/thoughts, adai mazhai= heavy rain (downpour like monsoon in south india.. note in a hot place like india unlike western countries, people enjoy getting drenched to feel the coolness  of the rain), kulir kaaichal= shivering cold fever, sneham=love, porvai=a bedsheet kind of thin cloth used to wrap oneself during sleep (like comforter..but much thinner so suited for warm weather), thookam=sleep, kulu-kulu=a phrase to denote coolness like cool-cool, poi=lie, veL=to win (over), edhirpaarthal=to expect, to eagerly await, dhinam=daily, vilayaatu= a game/fun/sport, aadai=cloth/garment (like shirt, dhoti), kulithal=to bathe/shower, selai=saree, nuni=tip (here the trail/loose end of the saree), thalai=head, thudaithal=to pat-dry/rub, thirudan=theif, padhungi=to crouch/hide, dhideer=expression to show suddeness (interjection?), pinnal=behind,  anaithal=to embrace/hug, kavithai=poetry/poem, yaarenum=someone, mani=time, mudiveLi=top-land -- I interpret this as mudi+veLi .. mudi is top (like mudimannan, mudichoodhal), veLi is land/space (as in vinveLi, vettaveLi) .. just to suggest in some space/land of love, gadigaaram=clock/watch (as in wall-clock)&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;search tags: Lyrics, English translation of tamil song "Vaseegara" from movie "Minnale"&lt;/div&gt;</description><link>http://kar1107.blogspot.com/2010/11/vaseegara-from-minnale.html</link><author>noreply@blogger.com (Karthik Gurusamy)</author><thr:total>4</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-19552234.post-2461912495385191189</guid><pubDate>Fri, 12 Nov 2010 06:35:00 +0000</pubDate><atom:updated>2010-11-16T23:25:46.295-08:00</atom:updated><title>Meow meow poona from Kanthaswamy</title><description>&lt;div&gt;Song: Meow Meow Poona&lt;/div&gt;&lt;div&gt;Movie: &lt;a href="http://en.wikipedia.org/wiki/Kanthaswamy_(film)"&gt;Kanthaswamy&lt;/a&gt;&lt;/div&gt;&lt;div&gt;Lyrics: Viveka&lt;/div&gt;&lt;div&gt;Music: Devi Sri Prasad&lt;/div&gt;&lt;div&gt;Singer: Priya Himesh, Vikram&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Actors: Shriya and Vikram  [Shriya won best actress award for this movie]&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;search keywords: "meow meow poona, miyah miyah tamil song from kanthaswamy"&lt;/div&gt;&lt;div&gt;youtube URL: &lt;a href="http://www.youtube.com/watch?v=q4J2nS-zg3A&amp;amp;feature=related"&gt;http://www.youtube.com/watch?v=q4J2nS-zg3A&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;object width="640" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/q4J2nS-zg3A?fs=1&amp;amp;hl=en_US"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/q4J2nS-zg3A?fs=1&amp;amp;hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;i&gt;Meow meow.. meow meow&lt;/i&gt;&lt;/div&gt;&lt;div&gt;....&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;heyy.. meow meow poona ada meesai illa poona&lt;/i&gt;&lt;/div&gt;&lt;div&gt;* [literal: hey meow meow [the sound a cat makes] cat, &lt;ada&gt; a cat without moustache (meaning vikram has no mouche?)]&lt;/ada&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;hey meow meow poona, meesai illa poona&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;thiridi thinna paakuriya thimusu katta meena?&lt;/i&gt;&lt;/div&gt;&lt;div&gt;* are you trying to steal and eat the (fat/sumptuous like a thick wooden block) fish&lt;/div&gt;&lt;div&gt;[thimusu kattai is a thick wooden stick/block of wood, usually used as an excercise equipment? which guys lift up n down like a dumbell. Here signifies how fat/plump the fish is! can't relate it to shirya's ..thighs?? :)]&lt;/div&gt;&lt;div&gt;[cat here denotes the guy, vikram.. and he is trying to get to the plump fish.. shirya... so she is asking if you are trying to do that. "thirudi thinna" is a funny colloquial usage when one steals a food item and eat it&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;meow meow poona, veeta thedum poona&lt;/i&gt;&lt;/div&gt;&lt;div&gt;* meow meow cat, the one searching the home&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;"choo po" nu veratta maatean, unga appa mela aana&lt;/i&gt;&lt;/div&gt;&lt;div&gt; * I won't chase you away as "choo po"..  (I) promise you over your father&lt;/div&gt;&lt;div&gt;[wow...  already future father-in-law is being used here.... :)]&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;one: namma idhayam onnu&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;two: nam udalthaan rendu&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;three: naam onna sendhaa aavom moonu&lt;/i&gt;&lt;/div&gt;&lt;div&gt;* one: our heart is one&lt;/div&gt;&lt;div&gt;* two: our bodies are two&lt;/div&gt;&lt;div&gt;* three: If we join together, we will make three&lt;/div&gt;&lt;div&gt;[In all the following, the 'punch' is in the three..  here of course the suggestion is they'll make a baby to make it three once they come together]&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;(male)&lt;/div&gt;&lt;div&gt;&lt;i&gt;one: un paarvai onnu&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;two: adhil artham rendu&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;three: adhu sollu thoondum vaartha moonu&lt;/i&gt;&lt;/div&gt;&lt;div&gt;* one: your look is one&lt;/div&gt;&lt;div&gt;* two: in that meaning is two (ie hidden/double/suggestive meaning in your look)&lt;/div&gt;&lt;div&gt;* three: it's provoking to say three words [ should be "i love you"]&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;&lt;i&gt;...hey meow meow poona. ..&lt;/i&gt;&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;vegathukku naan pazhasu&lt;/i&gt;&lt;/div&gt;&lt;div&gt;* I'm used to speed .. suggesting she is fast/active/aggressive [oops.. i guess i'm using double meaning here!! lol]&lt;/div&gt;&lt;div&gt;&lt;i&gt;vetkathukku ada naan pudhusu&lt;/i&gt;&lt;/div&gt;&lt;div&gt;* I'm new to shyness .. .suggesting she is not used to feeling shy&lt;/div&gt;&lt;div&gt;&lt;i&gt;modhalukku naan pazhasu&lt;/i&gt;&lt;/div&gt;&lt;div&gt;* I'm used to (old to) hitting/banging/fight.. [I guess the word bang is probably more fitting... given the rest of the situation.. ;)]&lt;/div&gt;&lt;div&gt;&lt;i&gt;ada kaadhalukku naan pudhusu&lt;/i&gt;&lt;/div&gt;&lt;div&gt;*  I'm new to love  [suggestion being not new to lust(?!) but new to love?]&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;one: nam methai onnu&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;two: adhil thookam rendu&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;three: adhil nitham venum yudham moonu&lt;/i&gt;&lt;/div&gt;&lt;div&gt;* one: Our bed is one&lt;/div&gt;&lt;div&gt;* two: In that there are two sleeps [ie we both sleep together]&lt;/div&gt;&lt;div&gt;* three: In that daily/every-night (we) need three wars/battles [wow.. I guess here we enter the region of R-rated ness]&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;(male)&lt;/div&gt;&lt;div&gt;&lt;i&gt;one:  un iduppu onnu&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;two: adhil uduppu rendu&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;three: adhil venum kadicha thadippu moonu&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;*one: your hip is one&lt;/div&gt;&lt;div&gt;*two: In that, there are two clothes [ suggesting bikini like two piece cloth]&lt;/div&gt;&lt;div&gt;*three: In that, (we) need three bite marks [that he will bite her and make three marks!!]&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;..hey meow meow poona ..&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;koochathukku leave-vu kudu&lt;/i&gt;&lt;/div&gt;&lt;div&gt;* please give leave/holiday to shyness [drop your shyness]&lt;/div&gt;&lt;div&gt;&lt;i&gt;dhegathukku novu kudu &lt;/i&gt;&lt;/div&gt;&lt;div&gt;* give disease to the body [hmm.. meaning make the body hot/ or make the body burn with desires]&lt;/div&gt;&lt;div&gt;&lt;i&gt;aadaigalai dhoora vidu&lt;/i&gt;&lt;/div&gt;&lt;div&gt;* leave (your) clothes far away [ ..get naked ..]&lt;/div&gt;&lt;div&gt;&lt;i&gt;aasaigalai sera vidu &lt;/i&gt;&lt;/div&gt;&lt;div&gt;* allow the desires to come together to join [let mine and your desire join..and not just stand apart]&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;one: nam mutham onnu&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;two: adhil etchil rendu&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;three: andha bodhaiyil marakkum kaalam moonu&lt;/i&gt;&lt;/div&gt;&lt;div&gt;* one: our kiss is one&lt;/div&gt;&lt;div&gt;* two: in that there are two saliva [of course..it must be a french kiss!]&lt;/div&gt;&lt;div&gt;* three: In that intoxication, (we) will forget the three times [basically past/present/future will be forgotten.. like we in  a trance]&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;(male)&lt;/div&gt;&lt;div&gt;&lt;i&gt;one: un meni onnu&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;two: adhil theni rendu&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;three: ennai kottum naale honey-moon-u&lt;/i&gt;&lt;/div&gt;&lt;div&gt;* one: your body/skin is one&lt;/div&gt;&lt;div&gt;* two: In that, there are two honey bees [hmm.. what he means by two honey-bees? not eyes.. something to do with the two-piece cloth?? I will leave it to your imagination.. :)]&lt;/div&gt;&lt;div&gt;* three: The day (the honeybee) strings me is (my/our) honey-moon [here there is no literal number three.. but nicely the word honeymoon is used... so when the above said parts hits him, he says it's honeymoon]&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;..hey meow meow poona...&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Commentary:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;This is such a fun filled hot sensuous song; I bet if Buddha had seen shriya in this song, he would have renounced his renunciation :) poor bodhi tree can't stand a chance wooing him back!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This style of asking one/two/three is something novel and it's cool to see really funny meanings; I was surprised it was not some junk list of words.. but well thought out list of the one-two-three lines. It's a style of asking something to denote 'one'.. something to denote 'two'..and coming up with a result to stand for 'three'&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I love the double/tripple meanings..and so many hidden meanings in the lines...it's clean n naughty at the same time. and no words are needed for the picturization (wondering how one feels seeing this song when not sober! ;) ).&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Dictionary:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;poona=cat, meesai=moustache, thimsu-kattai=a kind of body-building wt, like dumbell..made of wood (looks like a fat baseball bat), veedu=house, thaedal=to search, aana=promise, idhayam=heart, udal=body, paarvai=look, thoondum=to provoke, 'chu po'=like shoo away, vegam=speed, vetkam=shyness, modhal=hit/strike/bang, kaadhal=love, methai=bed, thookam=sleep, yudham=war/battle, iduppu=hip, uduppu=cloth, thadippu=mark on skin like a bite-mark/insect-bite (raised/bloated skin), koocham=shyness, kudu=give, dhegam=skin/body, novu=disease, aasai=wish, mutham=kiss, etchil=saliva, bodhai=intoxication, kaalam=time (like past/present/future), meni=body/skin of whole body, theni=honey-bee, kottum=to sting (like a bee) &lt;/div&gt;</description><link>http://kar1107.blogspot.com/2010/11/meow-meow-poona-from-kanthaswamy.html</link><author>noreply@blogger.com (Karthik Gurusamy)</author><thr:total>3</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-19552234.post-2420525416411220262</guid><pubDate>Wed, 10 Nov 2010 09:30:00 +0000</pubDate><atom:updated>2010-11-16T23:02:58.480-08:00</atom:updated><title>"enna solla pogiraai?" from kandukondein kandukondein</title><description>&lt;div&gt;Song: Enna solla pogirai&lt;/div&gt;&lt;div&gt;Movie: &lt;a href="http://en.wikipedia.org/wiki/Kandukondain_Kandukondain"&gt;Kandukondein Kandukondein&lt;/a&gt;&lt;/div&gt;&lt;div&gt;Lyrics: Vairamuthu&lt;/div&gt;&lt;div&gt;Music: A R Rehman&lt;/div&gt;&lt;div&gt;Singer: Shankar Mahadevan (won a Silver Lotus Award for Best Male playback singer for this song)&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Actors: Ajith and Tabu&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;search keywords: "enna solla pogirai tamil song from kandukondein kandukondein movie"&lt;/div&gt;&lt;div&gt;youtube URL: &lt;a href="http://www.youtube.com/watch?v=40xk9C7Ytdc&amp;amp;feature=related"&gt;http://www.youtube.com/watch?v=40xk9C7Ytdc&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;object width="480" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/40xk9C7Ytdc?fs=1&amp;amp;hl=en_US"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/40xk9C7Ytdc?fs=1&amp;amp;hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;enna solla pogiraai?&lt;br /&gt;&lt;i&gt;*What are you going to say?&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;illai ena solla oru ganam pothum&lt;br /&gt;&lt;i&gt;* It takes just one moment to say "no"&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;illai endra sollai thaanguvathu endraal..&lt;br /&gt;&lt;i&gt;* to withstand the "no" word&lt;/i&gt;&lt;br /&gt;innum enakor jenmam vendum&lt;br /&gt;&lt;i&gt;* I need one more life-time (birth)&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;enna solla pogiraai?&lt;br /&gt;&lt;i&gt;* What are you going to say?&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;sandhana thendralai jannalgal dhandithal... nyaayama? nyaayama?&lt;br /&gt;&lt;i&gt;* For the windows to punish sandal breeze.. is it fair? is it fair?&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;kaadhalin kelviku kangalin bathil enna mounama? mounama?&lt;br /&gt;&lt;i&gt;* For the love's question, what are eye's answer? is it silence? is it silence?&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;anbe endhan kaathal solla nodi ondru pothume..&lt;br /&gt;&lt;i&gt;* (my) love, it takes just a moment to convey my love..&lt;/i&gt;&lt;br /&gt;adhai naanum meipikkadhaane oru aayul vendume ..&lt;br /&gt;&lt;i&gt;* for me to prove it, I need one life-time&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;illai ena solla oru ganam pothum&lt;br /&gt;&lt;br /&gt;illai endra sollai thaangu-vathu endraal..&lt;br /&gt;innum enakor jenmam vendum&lt;br /&gt;&lt;br /&gt;enna solla pogiraai&lt;br /&gt;enna solla pogiraai&lt;br /&gt;&lt;br /&gt;sandhana thendralai jannalgal dhandithal.. nyaayama? nyaayama?&lt;br /&gt;&lt;br /&gt;kaadhalin kelviku kangalil bathil enna.. mounama? mounama?&lt;br /&gt;&lt;br /&gt;anbe endhan kaathal solla nodi ondru pothume..&lt;br /&gt;adhai naanum meipikkadhaane oru aayul vendume ..&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;illai ena solla oru ganam pothum&lt;br /&gt;&lt;br /&gt;illai endra sollai thaanguvathu endraal..&lt;br /&gt;innum enakor jenmam vendum&lt;br /&gt;&lt;br /&gt;enna solla pogiraai&lt;br /&gt;enna solla pogiraai&lt;br /&gt;&lt;br /&gt;idhayam or kannaadi..unathu bimbam vizhunthathadi..&lt;br /&gt;&lt;i&gt;* (My) Heart is a mirror.. your image fell on it&lt;/i&gt;&lt;br /&gt;idhuthaan un sondham idhayam sonnathadi&lt;br /&gt;&lt;i&gt;* Heart told (me), this is your relation [meaning: she is the One]&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;kannadi bimbam katta kayiru ondrum illaiyadi&lt;br /&gt;&lt;i&gt;* There is no rope to tie the image (that fell on the mirror)&lt;/i&gt;&lt;br /&gt;kannadi oonjal bimbam aanathadi&lt;br /&gt;&lt;i&gt;* mirror image became a swing [literal: mirror swing image became]&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;nee ondru solladi penne&lt;br /&gt;&lt;i&gt;* You tell just a word, lady&lt;/i&gt;&lt;br /&gt;illai nindru kolladi en kanne&lt;br /&gt;&lt;i&gt;* Or just stand and kill (me), my love [literal: my eyes]&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;endhan vaazhkaiye undhan vizhi viLambil&lt;br /&gt;&lt;i&gt;* My whole life is in the tips of your eyes&lt;/i&gt;&lt;br /&gt;ennai thurathaadhe uyir karai yeraadhe&lt;br /&gt;&lt;i&gt;* Don't chase me.. or else my soul won't reach the shore&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;illai ena solla oru ganam pothum&lt;br /&gt;&lt;br /&gt;illai endra sollai thaangu-vathu endraal..&lt;br /&gt;innum enakor jenmam vendum&lt;br /&gt;&lt;br /&gt;enna solla pogiraai&lt;br /&gt;enna solla pogiraai&lt;br /&gt;&lt;br /&gt;sandhana thendralai jannalgal dhandithal.. nyaayama? nyaayama?&lt;br /&gt;&lt;br /&gt;kaadhalin kelviku kangalin bathil enna.. mounama? mounama?&lt;br /&gt;&lt;br /&gt;vidiyal vandha pinnaalum..vidiyaadha iravu edhu?&lt;br /&gt;*&lt;i&gt; Even after the sunrise, which is the night that hasn't finished yet?&lt;/i&gt;&lt;br /&gt;poo vaasam veesum undhan koonthaladi&lt;br /&gt;* &lt;i&gt;It's your hair that is filled with fragrances of flowers&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;ivvulagam irunda pinnum..irulaadha baagam edhu?&lt;br /&gt;* &lt;i&gt;Even after this earth has darkened, what is that which hasn't become dark?&lt;/i&gt;&lt;br /&gt;kadhir vandhu paayum undhan kangaladi&lt;br /&gt;* &lt;i&gt;It's your eyes that are filled with rays of light [literal: light that pierces from your eyes]&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;pala ulaga azhagigal koodi..un paatham kazhuvalaam vaadi&lt;br /&gt;&lt;i&gt;* Let a lot of world beauties gather and let (them/us) wash your feet..&lt;/i&gt;&lt;br /&gt;en thalir malare..innum thayakkam enna? ennai puriyaatha&lt;br /&gt;&lt;i&gt;* my tender flower.. still why you hestitate? don't you understand me?&lt;/i&gt;&lt;br /&gt;idhu vaazhvaa saava?&lt;br /&gt;&lt;i&gt;* is this life or death?&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;enna solla pogiraai&lt;br /&gt;enna solla pogiraai&lt;br /&gt;enna solla pogiraai&lt;br /&gt;enna solla pogiraai&lt;br /&gt;nyaayama? nyaayama?&lt;br /&gt;enna solla pogiraai&lt;br /&gt;enna solla pogiraai&lt;br /&gt;mounama? mounama?&lt;br /&gt;enna solla pogiraai&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;b&gt;Commentary:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;The guy is seeking to know if his beloved is accepting his love or not. And he is pleading her to answer him; he shows desperation. The picturization of the song adds much beauty; the usage of the desert and the parched lands highlight the guy's desperation; the suggestion of thirst and the girl feeding him water relates to the guy's thirst for love.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;He asks her whats her reply and in case she says no, he talks about how difficult it is for him to withstand it. The line talking about 'my soul won't reach shores' conveys a higher spiritual meaning -- in hinduism, each soul goes thru' several births to reach the ultimate destination, the Self (or the God/Existence). So one interpretation is he says if this desire of his is unfulfilled, he won't reach the ultimate destination.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The lines talking about bimbam (image/reflection) is a bit intriguing. I'm not fully sure of the meaning of 'kannaadi oonjal bimbam aanathu'; in the previous line.. it says the heart is the mirror (kannaadi). So translating literally, it means 'the heart swing has become image'..  this doesn't make sense..  I  think he seems to convey her image in his heart has started to move like a swing/pendulum .. so 'kannadi bimbam oonjal aanathu' is what is implied so it's just a transposition of the words oonjal and bimbam. Let me know if you think of a different interpretation.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It's nice to see in the picturization, tabu does indeed answer "yes" by giving her hand :) she places her palm on ajith's. I like the line which says.. "let the beauties of the world wash your feet" and the shot where tabu looks at the camera (on the line which sings about the piercing rays of light from your eyes, it lasts for a fraction of a second). Also the lines that talk about her dark hair and powerful eyes.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;BTW most lines end with 'di' .. it's a very informal/friendly way to address a girl in tamil.. like 'vaa' is 'to come'; vaadi is 'to come' addressed in a very colloquial/friendly way. similary 'po' is go.. 'podi' is go in an informal tone. Note this mode is also used in a disrespectful way in other situations.&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Dictionary:&lt;/b&gt;&lt;/div&gt;&lt;div&gt; enna=what,  illai=no, sol=word,  sandanam = sandal, thendral=breeze,  jannal=window, jenman=life-time/(birth/death cycle), nyayam=fairness, kelvi=question, mounnam=silence, kaadhal=love, mei=true (meipikka=to make something true)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;idhayam=heart, kannaadi=mirror, bimbam=image/reflection (as on a mirror/water), somdham=relation/relationship (like father/uncle/aunt),  kattuthal = to tie (as in a rope), kayiru=rope, oojal=swing,  kol=to kill, kann=eyes, vizhi=eyes, vizhambu=it's like the tip/rim of say a vessel/bucket (here comparing the eyes to be like a vessel/pot), vidiyal=sunrise, iravu=night, poo=flower, vaasam=fragrance, irunda=to get dark, paagam/baagam=part, ethu=which/what, kadhir=ray (of light), paayum=jump/pierce (as an arrow), ulagam=world, azhagi=beauty (lady), koodi=gather (as a meeting), paatham=feet, kazhuval=to wash/rinse (as to clean/purify), thalir=tender (as a newly formed leaf), malar=flower, thayakam=to hesitate, puriyum=to understand, vaazhvu=life, saavu=death &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;websearch tags: lyrics and translation of "enna solla pogirai"&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;/div&gt;</description><link>http://kar1107.blogspot.com/2010/11/enna-solla-pogiraai-from-kandukondein.html</link><author>noreply@blogger.com (Karthik Gurusamy)</author><thr:total>2</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-19552234.post-1956377802845036819</guid><pubDate>Wed, 10 Nov 2010 09:16:00 +0000</pubDate><atom:updated>2010-11-11T02:17:55.029-08:00</atom:updated><title>English translation of tamil movie songs</title><description>&lt;div&gt;I will post English translation of Tamil movie songs.  I search for translations of hindi songs as I can't fully understand the lyrics; I thought there must be people who are not familiar with tamil who face similar needs. I hope this effort helps them enjoy a little more,the beauty of the songs. I'll write with the assumption that you may not be  familiar with tamil/indian culture.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I will use English to write out tamil and not use tamil fonts; one it's easier to type out in English; two, people who are not familiar with tamil script can still read and understand the meaning. Of course I myself am not familiar using tamil fonts for writing :)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I will channel the efforts into capturing the poet's intention; as you know Tamil is a rich language  and it's hard to translate some of the words. As time permits, in a more appropriate future time, I may subtitle the song and upload in youtube.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I appreciate your comments; feel free to offer alternate meanings/translations; I don't have access to the original lyrics and I rely on listening to capture the lyrics -- so there is a good chance I might have misrepresented the poet's intention (of course this adds it's own charm).. feel free to offer your alternate meanings.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To find the song, I suggest you use youtube/google search.  The URL I list may go obsolete; but I'll list a few search keywords which will help you to locate the video/audio of the song on the net.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I will use simple fonts and structure; the English lines will start with a * (asterisk). At the end, I'll give a dictionary of some of the tamil words and my translation. Also I'll have a commentary section where I'll write the background/intention of the song so that you can see the big picture/mood for the song. And lastly, all the writings are my own interpretation and I would avoid prefixing most sentences with "I feel..", "I believe"..but just state them as fact. I would love to hear alternate interpretations and please do leave your thoughts in your comments.&lt;/div&gt;</description><link>http://kar1107.blogspot.com/2010/11/english-translation-of-tamil-movie.html</link><author>noreply@blogger.com (Karthik Gurusamy)</author><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-19552234.post-115938639341235947</guid><pubDate>Wed, 27 Sep 2006 19:39:00 +0000</pubDate><atom:updated>2006-09-27T12:46:33.426-07:00</atom:updated><title>Unix shell pipeline: Part 2 - Using temporary file for IPC</title><description>This is a continuation of the prior post. I'll describe some of the findings. Recall the sample problem was doing recursive grep in a directory.&lt;br /&gt;&lt;br /&gt;Study Solution:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;find . ( -path *obj-ppc -o -path *lib-ppc -o -path *bin-ppc -o &lt;br /&gt;          -path *\.CC -o -path */\.T* ) -prune -o -type f -print | &lt;br /&gt;xargs file -- | grep text | cut -d: -f1 | &lt;br /&gt;xargs grep $pattern&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;The solution comprised of using find to generate the whole list of files.  Then use the 'file' command to weed out all non-text files. Finally pass the file-list through grep to do the actual search. We also used 'xargs' to ensure minimal copies of processes are forked (for the file and grep).&lt;br /&gt;&lt;br /&gt;We already did some optimization. The best ones include using -prune of find to cut branches of uninteresting directories like binaries, object directories. The second was using 'file' command to remove non-text files.  When I did the measurement this process was really slow. Sometimes it even took more time than the last grep! I expected file to run pretty fast as I had thought it uses some magic number just in the beginning of the file and does not scan the whole file content.&lt;br /&gt;&lt;br /&gt;As we saw in the last post, the real killer of speed is the IPC between the processes in the pipeline. I removed the IPC and used temporary files to capture the intermediate results. The performance boost was immense. In fact the same run on 100k files could complete literally under 40 seconds when the IPC based one took forever (I think at least 15 minutes). Moreover the file cache influence was substantial. The first run took about 2 minutes or so; but the immediate next run will complete under 40 seconds. The first run would have a CPU util of about 1% while the second run hitting almost 40% at times. This percentage is the CPU time (both user+sys) versus wall-clock time.  I think getting to anything above 25% is impressive.&lt;br /&gt;&lt;br /&gt;The next step was I tried to exploit the Dual-CPU and all the 2nd cache resources.  Our performance is still a lot I/O bound; but let's try to use all the intermediate caches and RAM. The solution is to take each intermediate temporary file and break it into n pieces. Then feed each of these pieces to n threads of the next stage. Thus we combine multi-threading with temporary file IPCs. The gain was good considering we are still bound by IO. BTW the splitting was done using unix 'split' command (see below in code).&lt;br /&gt;&lt;br /&gt;An added bonus of the temporary file approach is re-usability of results from prior run. For our problem, if only the search string changes, say from needle to pin, we can reuse the results of all the prior stages. Thus no need to fire up find or file. Just jump directly to the last stage of the pipeline.&lt;br /&gt;&lt;br /&gt;Thus the bottom line observation: File systems with large RAM caches have gone through decades of optimizations - so exploit it. Instead of using IPC through pipes between a producer and consumer, use temporary files. The loss in parallel running of the two processes is well compensated by allowing each to run at its full speed. Each process's output and input are connected to temporary disk files. &lt;br /&gt;&lt;br /&gt;Here are some of the code listing.. showing the essential part of using temporary file for IPC and splitting it for parallel processing. Please excuse the formatting.. I had to resort to HTML pre tag.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;# command processor using file IO redirection&lt;br /&gt;# A thread which will run a unix command. Objective is to get the&lt;br /&gt;# command complete ASAP. Thus stdin, stdout, stderr are all redirected&lt;br /&gt;# from regular disk files. The guess is with no other process involved,&lt;br /&gt;# the command should be able to run at top speed&lt;br /&gt;# &lt;br /&gt;class command_processor_fileio (Thread):&lt;br /&gt;    def __init__ (self, cmd, fname_stdin, fname_out):&lt;br /&gt;        Thread.__init__(self)&lt;br /&gt;        self.cmd = cmd        # Unix cmd.. must be string..sent to Popen&lt;br /&gt;        self.fname_stdin = fname_stdin  # stdin redirect fname&lt;br /&gt;        self.fname_out = fname_out    # common prefix to stdout/stderr&lt;br /&gt;        self.sh_output = []           # in case intermediate sh complains&lt;br /&gt;        self.fname_stdout = ''        # set up later in run&lt;br /&gt;        self.fname_stderr = ''        # set up later in run&lt;br /&gt;        self.status = 0               # status of cmd execution&lt;br /&gt;        self.status_is_signaled = 0   # status of cmd execution ..is signal?&lt;br /&gt;    def run(self):&lt;br /&gt;        cmd_run = self.cmd&lt;br /&gt;        thread_name = self.getName()&lt;br /&gt;        self.fname_stdout = "%s-%s-stdout.txt" %                             (self.fname_out, thread_name)&lt;br /&gt;        self.fname_stderr = "%s-%s-stderr.txt" %                             (self.fname_out, thread_name)&lt;br /&gt;        redirection = ' &gt;|%s 2&gt;|%s &lt; %s' %                       (self.fname_stdout, self.fname_stderr, self.fname_stdin)&lt;br /&gt;        cmd_run += redirection&lt;br /&gt;        if options.debug &gt; 0:&lt;br /&gt;            print "Starting thread %s cmd %s" % (thread_name, cmd_run)&lt;br /&gt;        run = popen2.Popen3(cmd_run)&lt;br /&gt;        run.tochild.close()   # all redirec. So we don't expect any input&lt;br /&gt;        # following may be skipped if it aids in performance&lt;br /&gt;        self.sh_output = run.fromchild.readlines() # just in case sh complains&lt;br /&gt;&lt;br /&gt;        result = run.wait()   # block wait until cmd is finished.&lt;br /&gt;&lt;br /&gt;        self.status = os.WEXITSTATUS(result)&lt;br /&gt;        self.status_is_signaled = os.WIFSIGNALED(result)&lt;br /&gt;&lt;br /&gt;# &lt;br /&gt;# Merge all the output of various threads into one file&lt;br /&gt;# &lt;br /&gt;def thread_output_files_merge (stdout_files, stderr_files, target):&lt;br /&gt;&lt;br /&gt;    fname_stdout = redirection_filename(target)&lt;br /&gt;    fname_stderr = redirection_filename(target, is_stderr=True)&lt;br /&gt;&lt;br /&gt;    # just merge all files.. so do a cat f1 f2 f3 ...fn &gt; f_out&lt;br /&gt;    merge_cmd = "cat %s &gt; %s" % ( ' '.join(stdout_files), fname_stdout)&lt;br /&gt;    os.system(merge_cmd)&lt;br /&gt;    merge_cmd = "cat %s &gt; %s" % ( ' '.join(stderr_files), fname_stderr)&lt;br /&gt;    os.system(merge_cmd)&lt;br /&gt;&lt;br /&gt;# &lt;br /&gt;#  Split one file into many smaller files for each thread to work on&lt;br /&gt;# The routine must return num_threads files... even empty ones are okay&lt;br /&gt;# &lt;br /&gt;def thread_input_file_split (fname, num_threads):&lt;br /&gt;&lt;br /&gt;    if num_threads == 1:&lt;br /&gt;        # easiest to just get out early&lt;br /&gt;        return [fname]&lt;br /&gt;&lt;br /&gt;    fsize = os.path.getsize(fname)&lt;br /&gt;    bytes_per_file = fsize / num_threads &lt;br /&gt;&lt;br /&gt;    split_prefix = "%s-thread-" % (fname,)&lt;br /&gt;&lt;br /&gt;    if options.use_shortcut &gt; 1:  # User gave -s -s .. that means don't&lt;br /&gt;    # do the split of files.. just re-use from prior run even the split&lt;br /&gt;    # files. NOTE: -t value must remain the same as in prior run&lt;br /&gt;        split_files = glob.glob(split_prefix + 'a?') # split.. uses aa..ab.ac&lt;br /&gt;        # must have atleast num_threads elements.&lt;br /&gt;        if options.debug &gt; 0:&lt;br /&gt;            print "Reusing thread split files (%d files) from prior run "                   "due to -s -s: %s" % (num_threads, split_files)&lt;br /&gt;        return split_files[:num_threads]&lt;br /&gt;&lt;br /&gt;    # before running the split command, remove any old split output files&lt;br /&gt;    # from a prior run&lt;br /&gt;    old_files = glob.glob(split_prefix + 'a?')# man split.. uses aa..ab&lt;br /&gt;    for old_file in old_files:&lt;br /&gt;        if options.debug &gt; 0:&lt;br /&gt;            print "Previous run leftovers. Removing ..", old_file&lt;br /&gt;        os.remove(old_file)&lt;br /&gt;&lt;br /&gt;    split_cmd = "split -C%d %s %s" % (bytes_per_file, fname, split_prefix)&lt;br /&gt;    os.system(split_cmd)&lt;br /&gt;&lt;br /&gt;    # Assert: We will have at least num_threads now .. not less &lt;br /&gt;&lt;br /&gt;    split_files = glob.glob(split_prefix + 'a?') # man split.. uses aa..ab.ac&lt;br /&gt;&lt;br /&gt;    split_files.sort() # exploit aa..ab..naming.. a&lt;last&gt; is the smallest file&lt;br /&gt;    while len(split_files) &gt; num_threads:&lt;br /&gt;        # Take the last file (smallest one) and merge it with it's prior file&lt;br /&gt;        smallest_file = split_files.pop()&lt;br /&gt;        merge_cmd = "cat %s &gt;&gt; %s" % (smallest_file, split_files[-1])&lt;br /&gt;        if options.debug &gt; 0:&lt;br /&gt;            print "Merging smallest file: cmd %s" % (merge_cmd, )&lt;br /&gt;        os.system(merge_cmd)&lt;br /&gt;    if options.debug &gt; 0:&lt;br /&gt;        print "Multiple thread input split_files: ", split_files&lt;br /&gt;    # ASSERT: len(split_files) == num_threads&lt;br /&gt;    return split_files&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# &lt;br /&gt;#  Run cmd using given number of threads&lt;br /&gt;# &lt;br /&gt;def execute_child_threads_fileio (cmd, stdin_fname, num_threads, target):&lt;br /&gt;&lt;br /&gt;    stdin = file_get_all_lines(stdin_fname)&lt;br /&gt;    stdin_size = len(stdin)&lt;br /&gt;&lt;br /&gt;    min_per_thread = 4096 # just some minimum size for a thread&lt;br /&gt;    fsize = os.path.getsize(stdin_fname)&lt;br /&gt;&lt;br /&gt;    if fsize &lt; min_per_thread:       # must be * num_threads.. but okay&lt;br /&gt;        num_threads = 1&lt;br /&gt;    &lt;br /&gt;    #split the file into num_thread pieces&lt;br /&gt;    stdin_fnames = thread_input_file_split(stdin_fname, num_threads)&lt;br /&gt;&lt;br /&gt;    fname_out = redirection_filename(target, is_prefix=True)&lt;br /&gt;&lt;br /&gt;    #work_slice = stdin_size / num_threads; # each thread's work size&lt;br /&gt;    workers = []&lt;br /&gt;    # We are going to chop stdin into equal sized chunks for each thread.&lt;br /&gt;    for i in range(num_threads):&lt;br /&gt;        #start_index = i * work_slice;&lt;br /&gt;        #end_index = start_index + work_slice;&lt;br /&gt;        #if i == num_threads - 1:    # if last worker...take all remaining&lt;br /&gt;        #    end_index = stdin_size;&lt;br /&gt;        #this_stdin = stdin[start_index:end_index]  # this thread's in data&lt;br /&gt;&lt;br /&gt;        cp = command_processor_fileio(cmd, stdin_fnames[i], fname_out)&lt;br /&gt;        workers.append(cp);&lt;br /&gt;        cp.start()           # fire up the thread to do the data munching&lt;br /&gt;&lt;br /&gt;    stdout_files = []  # collect each thread's output file&lt;br /&gt;    stderr_files = []&lt;br /&gt;    for worker in workers:&lt;br /&gt;        worker.join()                    # wait for each worker to finish&lt;br /&gt;        #TODO. Handle each thread's return status...&lt;br /&gt;        stdout_files.append(worker.fname_stdout)&lt;br /&gt;        stderr_files.append(worker.fname_stderr)&lt;br /&gt;        &lt;br /&gt;        &lt;br /&gt;    # merge all its output files into one.. so that next stage process&lt;br /&gt;    # in the pipeline  sees one file.&lt;br /&gt;    thread_output_files_merge(stdout_files, stderr_files, target)&lt;br /&gt;    return ([] , 0, 0)&lt;br /&gt;&lt;/pre&gt;</description><link>http://kar1107.blogspot.com/2006/09/unix-shell-pipeline-part-2-using.html</link><author>noreply@blogger.com (Karthik Gurusamy)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-19552234.post-115801712473371540</guid><pubDate>Mon, 11 Sep 2006 23:22:00 +0000</pubDate><atom:updated>2006-09-11T16:40:03.210-07:00</atom:updated><title>Unix shell pipeline: Making it multi-lane, Avoiding stop-n-go</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/3732/1937/1600/426px-Pipeline-notitle.svg.0.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/3732/1937/320/426px-Pipeline-notitle.svg.0.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This is a CS technical post related to using unix command-line. Just an early warning so that you can walk away, saving your precious browsing time! :). BTW I am aware of some poor formatting issues.. please bear with it..&lt;br /&gt;&lt;br /&gt;Shell pipeline is the concept of attaching the stdout of a process to the stdin of another process. See &lt;a href="http://en.wikipedia.org/wiki/Pipeline_%28Unix%29"&gt;wikipedia&lt;/a&gt; for more.  This is one of those beautiful unix concepts that stood the test of time.  It's simple and extremely effective. It's a shame that modern GUI designers didn't even think of a way of supporting the pipeline concept.. anyway I guess that's a different topic altogether.&lt;br /&gt;&lt;br /&gt;Take the simple unix pipeline&lt;br /&gt;$ ls | wc&lt;br /&gt;&lt;br /&gt;It prints the number of files in the current directory (for the purist, the number of elements.. )&lt;br /&gt;&lt;br /&gt;Recently I was looking at a way to search for a string in a directory tree.  The earliest grep didn't do recursive grep. I am sure the newer ones sport the -r flag to do that. They even taken patterns to include/exclude directories.&lt;br /&gt;&lt;br /&gt;I started off with the very basic, home grown rgrep.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;karthikg@xyz :&gt;cat ~/bin/rgrep&lt;br /&gt;find . -type f -a -exec grep -l $1 {} \;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;You run it as 'rgrep needle' to search 'needle' in the whole directory tree.&lt;br /&gt;&lt;br /&gt;I need to do a search on a source code tree containing about 100k files ( that's just text files not counting binary files). When I issued the command from the commandline, it took forever to complete. And thus began the optimization process.&lt;br /&gt;&lt;br /&gt;The very first step is the well-known trick of using xargs to avoid the exec in find. With -exec of find, we are forking a new process for every element, as find descends the tree. And this is very expensive.  With xargs, it tries to feed as much files as possible to each created grep process.&lt;br /&gt;&lt;br /&gt;find . -type f -print | xargs grep $pattern&lt;br /&gt;&lt;br /&gt;Even this took forever; I started to move away from solving the generic case by exploiting known special properties. Some points to note 1. Almost always I'm interested only in text files. Thus using 'file' command, I can quickly discard binary files before they reach grep.  2. The directory tree has lots of object/executable file directories, which can be skipped. This is a big gain since 'find' need not descend the whole subtree.&lt;br /&gt;&lt;br /&gt;Thus the next solution became&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;find . ( -path *obj-ppc -o -path *lib-ppc -o -path *bin-ppc -o -path *\.CC -o&lt;br /&gt;-path */\.T* ) -prune -o -type f -print |&lt;br /&gt;xargs file -- | grep text | cut -d: -f1 | &lt;br /&gt;xargs grep $pattern &lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Please note shell quoting of special chars (*, .) is not shown above (that's&lt;br /&gt;one other irritating thing.. can't we somehow tell the shell not to do&lt;br /&gt;that??)&lt;br /&gt;&lt;br /&gt;Here's what is happening:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;In find, we try as much as possible to skip whole sub-directories. -prune helps us there. I had -regex.. but felt it's too big a gun to use; -path must be light weight and for my needs it does the job.  &lt;/li&gt;&lt;li&gt;Then -type f helps to cut down the elements to regular files &lt;/li&gt;&lt;li&gt;The second process in the pipeline, gets the file type, the following two, grabbing the text files and the cut gets the file name alone&lt;/li&gt;&lt;li&gt;The last grep does the heavy weight string searching &lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;I thought the above must run pretty fast. But to my surprise, it was crawling and looked like it will never complete.&lt;br /&gt;&lt;br /&gt;I was running on a fairly powerful dual CPU linux machine and a top showed lots of free CPU. So why isn't it completing soon? Where are the bottle-necks?&lt;br /&gt;&lt;br /&gt;My first guess is that grep is taking too much time (the last process).  I was wondering if I can parallelize the search.. why can't I split the input file-list (of 100k entries) into say 4 chunks and feed to four different grep processes. These 4 can run in parallel and must finish sooner.  Here is when I thought of a multi-lane shell pipeline.&lt;br /&gt;&lt;br /&gt;Let's take this syntax&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;p1 | p2 |{number} p3&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;e.g. find .. | ... |4 xargs grep $pattern&lt;br /&gt;&lt;br /&gt;Here I'm telling the shell to use 4 processes to do the last grep work.  It must split the input into 4 parts and send them to each of the four xargs.  Of course none of today's shell can do this.  I ended up writing a python version of the above (see end). I'll discuss more on some of the findings in a later post.&lt;br /&gt;&lt;br /&gt;Going back to the original slowness, looks like the good old shell pipeline is causing lots of stop-n-go among the processes.  The find can't run in full speed as it fills its output buffer and gets blocked before the next process in the pipeline can read its stdin.  Thus even with CPU usage so less, chaining lots of processes didn't help in the throughput. (Later using -fprint of find, I realized the find completed at a fraction, less than 10%, of its time with -print and pipeline)&lt;br /&gt;&lt;br /&gt;My multi-lane version performed marginally better.. I make the "file ..cut" part use 4 threads and also the final grep part use another 4 threads.. still the response was sluggish. The bottle-neck seemed that the stop-n-go introduced by connecting processes. I experimented with using temporary files for the output.. and the speed gain was astounding.  The whole process got done in a matter of seconds (about 40s) where-as the pipeline one took a whole 14 minutes to complete.&lt;br /&gt;&lt;br /&gt;It would be good to have a shell feature where you use intermediate files to connect the processes, rather than directly feeding stdout to stdin. In the early days, avoiding large intermediate data would have appeared a welcoming solution; but today with vast amounts of memory and fast file-systems with large file caches, it makes more sense to run each processe at its full speed, rather than do this stop-n-go due to intermediate buffer issues.&lt;br /&gt;&lt;br /&gt;Thus in conclusion I see that the real bottle-neck is not the load of the system, it's the IPC buffering issues introduced by the pipeline.  So when high performance is needed, try using temporary files for stdout and stdin, which give enables each process to run at it's top speed. Even though, you are using the disk filesystem, speed gains are significant.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;br /&gt;--- multilane_pipeline.py ----&lt;br /&gt;from threading import Thread&lt;br /&gt;&lt;br /&gt;# a small worker thread to read out the stdout of a child process&lt;br /&gt;# This is used for proceses which generate lots of output as well as&lt;br /&gt;# take in large stdin&lt;br /&gt;# To solve the classic pipeline deadlock -- ie child can't proceed&lt;br /&gt;# unless someone removes its output; but that someone can't wait to&lt;br /&gt;# push in all the stdin into the child.&lt;br /&gt;# So once a child is forked, before shoving all data into it's stdin,&lt;br /&gt;# make a worker thread using this class. This worker thread will&lt;br /&gt;# remove (periodically..as and when child outputs) child's stdout, so&lt;br /&gt;# that child can continue to make progress&lt;br /&gt;#&lt;br /&gt;# Use only on targets where we push in large stdin *and* target generates&lt;br /&gt;# large stdout. Else not needed... set flag 'is_thread_collect' if you&lt;br /&gt;# anticipate this scenario&lt;br /&gt;#&lt;br /&gt;class stdout_reader (Thread):&lt;br /&gt;def __init__ (self,fd):&lt;br /&gt;    Thread.__init__(self)&lt;br /&gt;    self.fd = fd                  # while file object to collect from&lt;br /&gt;    self.data_read = []           # the data collected&lt;br /&gt;def run(self):                   # when giving 'go', pull out all data&lt;br /&gt;    self.data_read = self.fd.readlines()&lt;br /&gt;&lt;br /&gt;# command processor&lt;br /&gt;# A thread which will run a unix command and collects its output&lt;br /&gt;# It takes in a list containing the whole stdin (thus different from&lt;br /&gt;# standard module commands)&lt;br /&gt;#&lt;br /&gt;class command_processor (Thread):&lt;br /&gt;def __init__ (self, cmd, stdin_list):&lt;br /&gt;    Thread.__init__(self)&lt;br /&gt;    self.cmd = cmd        # Unix cmd.. can be sequence..sent to Popen&lt;br /&gt;    self.stdin_sent = stdin_list  # What  stdin to feed to cmd&lt;br /&gt;    self.stdout_rcvd = []         # What output collected from cmd's o/p&lt;br /&gt;    self.status = 0               # status of cmd execution&lt;br /&gt;    self.status_is_signaled = 0   # status of cmd execution ..is signal?&lt;br /&gt;def run(self):               &lt;br /&gt;    if options.debug &gt; 0:&lt;br /&gt;        print "Starting thread for cmd: %s" % self.cmd&lt;br /&gt;    run = popen2.Popen3(self.cmd)&lt;br /&gt;    # set up another thread to start reading the stdout ...&lt;br /&gt;    reader_thread = stdout_reader(run.fromchild)&lt;br /&gt;    reader_thread.start()&lt;br /&gt;    # Feed to cmd's stdin&lt;br /&gt;    run.tochild.writelines(self.stdin_sent) # push input into child&lt;br /&gt;    run.tochild.close()&lt;br /&gt;&lt;br /&gt;    reader_thread.join()  # wait for the worker thread to finish&lt;br /&gt;    self.stdout_rcvd = reader_thread.data_read&lt;br /&gt;&lt;br /&gt;    result = run.wait()   # block wait until cmd is finished.&lt;br /&gt;&lt;br /&gt;    self.status = os.WEXITSTATUS(result)&lt;br /&gt;    self.status_is_signaled = os.WIFSIGNALED(result)&lt;br /&gt;&lt;br /&gt;# &lt;br /&gt;# Run cmd using given number of threads&lt;br /&gt;# return output and status&lt;br /&gt;# &lt;br /&gt;def execute_child_threads (cmd, stdin, target):&lt;br /&gt;    thread_str = target_db[target]['threads']&lt;br /&gt;    # Do any $thread to actual value user gave on '-a -t'&lt;br /&gt;    num_threads = int(substitute_target_args(target, thread_str))&lt;br /&gt;&lt;br /&gt;    stdin_size = len(stdin)&lt;br /&gt;    if stdin_size &lt; num_threads:&lt;br /&gt;        num_threads = 1&lt;br /&gt;&lt;br /&gt;    work_slice = stdin_size / num_threads; # each thread's work size&lt;br /&gt;    workers = []&lt;br /&gt;    # We are going to chop stdin into equal sized chunks for each thread.&lt;br /&gt;    for i in range(num_threads):&lt;br /&gt;        start_index = i * work_slice;&lt;br /&gt;        end_index = start_index + work_slice;&lt;br /&gt;        if i == num_threads - 1:    # if last worker...take all remaining&lt;br /&gt;            end_index = stdin_size;&lt;br /&gt;        this_stdin = stdin[start_index:end_index]  # this thread's in data&lt;br /&gt;&lt;br /&gt;        cp = command_processor(cmd, this_stdin)&lt;br /&gt;        workers.append(cp);&lt;br /&gt;        cp.start()           # fire up the thread to do the data munching&lt;br /&gt;&lt;br /&gt;    output = []&lt;br /&gt;    for worker in workers:&lt;br /&gt;        worker.join()                    # wait for each worker to finish&lt;br /&gt;        output += worker.stdout_rcvd     # collect the output it generated&lt;br /&gt;        #TODO. Handle each thread's return status...&lt;br /&gt;        &lt;br /&gt;    return (output, 0, 0)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;</description><link>http://kar1107.blogspot.com/2006/09/unix-shell-pipeline-making-it-multi.html</link><author>noreply@blogger.com (Karthik Gurusamy)</author><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-19552234.post-115403085755237187</guid><pubDate>Thu, 27 Jul 2006 20:04:00 +0000</pubDate><atom:updated>2006-08-18T09:56:09.806-07:00</atom:updated><title>Seeing the difference: Energy consumption Versus carbon emission</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/3732/1937/1600/GlobalWarming_2060.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/3732/1937/320/GlobalWarming_2060.jpg" border="0" alt="" /&gt;&lt;/a&gt;For the last couple of weeks, most part of California is seeing record three digit heat wave. And we hear a lot about global warming and energy consumption. There are continuous preaching to save energy, to switch-off lights, adjust thermostat settings and the like. I see that the media doesn't differentiate enough that energy consumption is not all about carbon emission.  There is a big difference between burning fossil fuels on a gas guzzler and setting your A/C to 68. The latter, when done right, will contribute zero to global warming.&lt;br /&gt;&lt;br /&gt;Let's refresh some basics:&lt;br /&gt;&lt;ol&gt;&lt;li&gt; Earth does not generate energy to heat itself. Sun is the source.&lt;/li&gt;&lt;li&gt;Certain gases are more capable of capturing and storing Sun's energy. E.g. Methane, carbon-di-oxide (CO2), CFCs.&lt;/li&gt;&lt;li&gt;An increase in the amount of CO2, leads to global warming.&lt;/li&gt;&lt;li&gt;Buring fossil-fuels increases CO2 levels.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;Some other points related to Energy consumption:&lt;br /&gt;&lt;ol&gt;&lt;li&gt; Energy generated using non-fossil fuels or those avoiding buring hydrocarbons (ethanol doesn't fit here), do not increase CO2 level.&lt;/li&gt;&lt;li&gt; Hydro power plants, nuclear plants, Wind/Solar plants do not increase CO2 level.&lt;/li&gt;&lt;li&gt; Coal/natural gas based power plants do increase CO2 levels.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;Thus if my A/C receives power from a hydro-electric plant, which let's say captures the power from a dam, there is absolutely no contribution to global warming. Look at the enormous power of a huge waterfall, say Niagara. If I put a turbine down and capture the energy, I in no doubt, increase or decrease the total earth's energy. But when I burn up natural gas to do the same, I increase the CO2 levels. Those increased CO2 retain a lot more energy from the only energy source, the Sun. Thus it contributes to elevated future temperatures.&lt;br /&gt;&lt;br /&gt;Thus I feel, we better understand the difference between energy consumption and carbon-emissions. There is nothing wrong and nothing to be ashamed of in consuming more energy. If I don't trap that falling waterfall's energy, it just goes wasted, anyway.&lt;br /&gt;&lt;br /&gt;What one needs to do is decrease the producers of CO2 and increase the consumers of CO2.  We must use energy source that don't burn up hydro-carbons (sorry ethanol -- at least it is a little better because growing ethanol plant soaks up the CO2 in atmosphere.. so at least there is no net increase in CO2).  A way to increase the consumers to conserve forests -- who knows in a distant future we may expend energy (nuclear, say) to soak up the CO2.&lt;br /&gt;&lt;br /&gt;I saw Tom Brokaw's recent global warming report in Discovery. I could see only the last few sections.. and it was good to see the term "carbon footprint" being used. But again, they equated the amount of electricity used in home to tons of CO2. There lies the fallacy. Why should the energy I captured from a falling waterfall do anything with CO2? And why that leads any way to increase/decrease of overall earth's temperature?</description><link>http://kar1107.blogspot.com/2006/07/seeing-difference-energy-consumption.html</link><author>noreply@blogger.com (Karthik Gurusamy)</author><thr:total>2</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-19552234.post-114384373052474530</guid><pubDate>Fri, 31 Mar 2006 22:18:00 +0000</pubDate><atom:updated>2006-03-31T14:25:14.900-08:00</atom:updated><title>Yet another solution to VoD rental</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/3732/1937/1600/movebeam_simple.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/3732/1937/320/movebeam_simple.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;A couple of weeks back, when checking the postal mails, I saw a marketing flyer from a company called &lt;a href="http://www.moviebeam.com"&gt;moviebeam&lt;/a&gt;. It is a new way of delivering movies directly to your home. I thought, probably they use satellite receiver and have enough bandwidth to do VoD. But what surprised me was they use an internal receiver -- that is no need for a dish like in satellite TVs. When I peered closer on the ad, I saw the word 'linksys' on the box! that was a surprise to me; I never knew Cisco was involved in such a VoD rental market.&lt;br /&gt;&lt;br /&gt;Anyway later I realized the way it works is that they use some unused PBS broadcast TV signals to continuously send movies.  They get stored in a hard-disk like device in the home. You can have some 100 movies always in the disk. You pay for movies that you watch. So in some sense it is not really VoD (Nothing is  really 'on demand'), you can't watch whatever you like. But you must choose one from the 100.&lt;br /&gt;&lt;br /&gt;In the last few years, since the arrival of Netflix, the video rental business has changed dramatically. Of course it has affected the theater business too. After BBI's arrival, wal-mart's exit, talks of amazon starting the service in US, this rental market has changed so much in the last 5 years. It is all good for the end consumer since netflix/blockbuster online offer some very good deals for the money.&lt;br /&gt;&lt;br /&gt;While thinking about this moviebeam's way to getting the movie directly into your home, I got this idea of delivering movies in an yet another way.  Note that even though the data networking companies want to send a 100Mbps or 1Gbps fiber to the home and allow VoD to run over IP; it is going to be a while before we have all this connectivity and watch any movie streamed from a server in real-time.&lt;br /&gt;&lt;br /&gt;Consider these two ways of delivering stuff to people&lt;br /&gt;1. water, electricity, cable-TV, moviebeam, Netflix, BBI&lt;br /&gt;2. cash (ATM machines), gasoline (gas-stations), groceries (grocery-stores)&lt;br /&gt;&lt;br /&gt;The items in 1, come directly into your home. Items in 2 have a large number of distribution centers where people go and fill the stuff periodically. The new VoD rental I thought of falls in 2.&lt;br /&gt;&lt;br /&gt;We don't have gasoline flowing from a pipe in our car parking spot. We go and fill it from a nearby shared station. How about doing the same for video?  I want to watch this DVD, I go to this ATM like place(let's call it pickup-station) and swipe my membership card. The station instantly burns the DVD and pushes it out. The stations are all connected by high speed data links to backend video servers.&lt;br /&gt;&lt;br /&gt;Just like netflix/BBI, I order the movie ahead (say a few hours before) in their website. I also select the nearest DVD pickup-station. The provider transfers the movie to the collection station and it is ready for my pickup. I use a container to transfer the movie physically from the pickup-station to my home. It could be just a rewriteable DVD or some special hard-disk like device capable of holding 5GB or so of the movie data.&lt;br /&gt;&lt;br /&gt;The main positives in the approach are exploiting two recent breakthroughs - cost effective high speed data links (&gt;1Gbps) and low cost of rewriteable DVD like media. The infrastructure is needed only on the few select pickup-stations; not in every home like in the direct to home approach. The whole network of pickup-stations and back-end video servers can be extremely automated  and thus the labor cost is very minimal. We don't have the shipping cost of today's netflix/BBI online.</description><link>http://kar1107.blogspot.com/2006/03/yet-another-solution-to-vod-rental.html</link><author>noreply@blogger.com (Karthik Gurusamy)</author><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-19552234.post-114202510612474621</guid><pubDate>Fri, 10 Mar 2006 21:01:00 +0000</pubDate><atom:updated>2006-03-26T04:05:09.876-08:00</atom:updated><title>Increase your vocabulary using Yahoo My Web</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/3732/1937/1600/wordpower.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/3732/1937/320/wordpower.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Yahoo has introduced a new service called &lt;a href="http://myweb2.search.yahoo.com/"&gt;My Web 2.0&lt;/a&gt;. It allows you to save webpages you like. You can also add "tags" -- like the ones in other services like Flickr. Tags are labels/keywords you assign to a page so that you can retrieve/search them later. In some sense, it is a beefed up bookmark management tool. The main novelty is the social nature where you can share your myweb with others. And you can add privacy to restrict who can access your pages.&lt;br /&gt;&lt;br /&gt;I found a cool application.. that is when I am reading online and I find an interesting word, I save it in my web pages. I put in a tag "wordlist".  When I visit my web later, after a  few days, it helps me refresh my mind of the new words. Many a times, this lack of refreshing the word, is the reason you forget its usage. I hope to add more and actually now when I read some quality material, I look for interesting new words! ;)  Once I find it, I save a link of its definition from dictionary.com into myweb under tag "wordlist".&lt;br /&gt;&lt;br /&gt;Currently the service is still in beta and they don't have a facility to directly see someone's tags (at least I couldn't find it).  You should do a search to find it. My id is kar1107; you can take a look. Go to &lt;a href="http://myweb2.search.yahoo.com/"&gt;myweb2.search.yahoo.com&lt;/a&gt; Click on 'All tags' and enter 'wordlist'.  You should be able to find a list of pages and you can find the ones with 'kar1107' and that is mine.  &lt;a href="http://myweb2.search.yahoo.com/myweb?friendid=SP3x.fkfpeuvjBNxqpA-"&gt;This link&lt;/a&gt; seems to work now and does point to kar1107; but it may change later if Yahoo updates the links.</description><link>http://kar1107.blogspot.com/2006/03/increase-your-vocabulary-using-yahoo.html</link><author>noreply@blogger.com (Karthik Gurusamy)</author><thr:total>3</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-19552234.post-114184967374741380</guid><pubDate>Wed, 08 Mar 2006 20:23:00 +0000</pubDate><atom:updated>2007-02-28T10:18:57.160-08:00</atom:updated><title>Automate your debugging using Expect</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/3732/1937/1600/risc_debugging.0.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/3732/1937/320/risc_debugging.0.jpg" alt="" border="0" /&gt;&lt;/a&gt;That's right; isn't it cool to see automate and debugging in the same sentence? :)&lt;br /&gt;&lt;br /&gt;I think I read this, may be an year ago, in comp.lang.tcl.  The poster was trying to track down a memory leak in a C application.  He is a tcl/expect guy and wanted to run gdb under expect. His idea is really cool. Basically he wants to connect to gdb thru' expect.  Then issue commands to set breakpoints at malloc and free. Every time gdb hits the break point, expect gets control. It issues a bt. Grabs the output and stores in, say a tcl array.&lt;br /&gt;&lt;br /&gt;It may collect other data like caller, arguments(like size of allocation) and any other information that can be seen as relevant(say from info arg/frame). After a sufficiently long run, you have this complete history of who did alloc/free when/where. That can be analyzed to lead to the source of the leak. The beauty of the whole process is that, the original C source is never changed. No need to add a printf or any such thing.&lt;br /&gt;&lt;br /&gt;I found this idea of automating a gdb debug session very powerful.  I haven't yet had an opportunity to try it out; but I believe its power is awesome.  That's a great way of throwing a machine's power at solving its own complexity.&lt;br /&gt;&lt;br /&gt;There should be various other applications; the real power comes in that, you don't have to change anything in the C program. You stop it, at will with gdb and collect data to store it in your tcl data structures.  It does involve a decent amount of initial work in getting the expect script work; but I think for a really tricky problem, this method should come in handy.</description><link>http://kar1107.blogspot.com/2006/03/automate-your-debugging-using-expect.html</link><author>noreply@blogger.com (Karthik Gurusamy)</author><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-19552234.post-114177307601142813</guid><pubDate>Tue, 07 Mar 2006 23:07:00 +0000</pubDate><atom:updated>2006-03-09T07:36:27.836-08:00</atom:updated><title>IM like stealth settings for cell phones</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/3732/1937/1600/IMG_5239.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/3732/1937/320/IMG_5239.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;This is yet again a cell phone feature post; I'll try not to put any more cell  phone stuff at least for the near future! ;) I'll add a bit more variety.&lt;br /&gt;&lt;br /&gt;The feature I was thinking is how to stay invisible from specific contacts. Exactly like the stealth settings available in the newer yahoo messenger. Consider that someone is repeatedly bothering you over phone and for some reason you can't tell him straight "don't keep calling me". You don't want to be disturbed.&lt;br /&gt;&lt;br /&gt;What you do is enable a setting so that you remain invisible to his/her calls. Basically the phone responds something like "the mobile number you are trying to reach is either switched off or inaccessible". The caller thinks you are really away somewhere and doesn't try reaching you often. You are available to other callers just fine. So it is a setting you enable on a per contact basis.&lt;br /&gt;&lt;br /&gt;I'm surprised such a feature is not available in most phones; I did a google and couldn't find relevant stuff (that's a pleasant surprise, because many a times, what I think, someone has already thought about it!). I didn't further refine my search lest I may find someone has indeed done that before! ;). In fact there are not many solutions today to runaway from an bothering call, except may be to change your number. Or switch off the phone altogether. I think this faking of "phone unreachable" should work great for mobile phones. It still doesn't help harassment over land-line.&lt;br /&gt;&lt;br /&gt;But ofcourse after a while, the caller will get suspicious; but you should be able to reap some benefit till then.&lt;br /&gt;&lt;br /&gt;BTW this thought occurred to me in a train trip from Coimbatore to  Trivandram. So I put this pic which we (I and Priya) took from the train when it was crossing a river. Priya had borrowed her dad's cell phone temporarily for our use; the phone ran, and she didn't answer the call as it was her uncle calling. She said his uncle will try the land-line and that's good since anyway he is trying to reach her dad. So I thought, may be there should be a way to put a whole bunch of contacts in invisible mode; so you don't even receive the call. And your phone stays fully functional otherwise.</description><link>http://kar1107.blogspot.com/2006/03/im-like-stealth-settings-for-cell.html</link><author>noreply@blogger.com (Karthik Gurusamy)</author><thr:total>4</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-19552234.post-114141696849918131</guid><pubDate>Fri, 03 Mar 2006 20:12:00 +0000</pubDate><atom:updated>2006-03-06T12:41:10.466-08:00</atom:updated><title>Running servers on cell phones</title><description>When I was in India, I was surprised at the number of services available on cell phones through text messaging. Say you want to know the latest cricket score, you send a text message to a special number (with a special message - like a command) and you receive back the information you wanted. Surprisingly such services are not that prevalent here in US.&lt;br /&gt;&lt;br /&gt;For all these services, the phone acts like a client. It is the one that initiates the conversation. I was wondering if we could provide capability to run server functions in the mobile phone. On doing a google search, I did find a &lt;a href="http://research.nokia.com/research/projects/mobile-web-server/index.html"&gt;research project in nokia&lt;/a&gt; and they were successful in running a full apache web server on a mobile phone.  I guess there should be some problem dealing with the heavy weight bulk transports like TCP in low bandwidth cellular networks. Also marrying the IP network with cellular is not easy; simple issue like addressing is different.&lt;br /&gt;&lt;br /&gt;What I would like a first step, is support to run light weight servers. Something like the telnet port 13 time service you find on a unix machine. Any other phone should be able to query my phone for specific information. And initially there is no need to merge the internet world with mobile - so no need to expect direct IP connectivity from a normal computer.  Of course once the system matures, it it is desirable to have it interoperable with the traditional IP network; so queries can come from normal computers.&lt;br /&gt;&lt;br /&gt;A simple application is querying a phone for its status. Like the topic of &lt;a href="http://kar1107.blogspot.com/2006/02/dialer-tune-to-convey-im-driving.html"&gt;my prior post&lt;/a&gt;, a caller can query a phone to know if it okay to initiate a call. This is very much like the status message you find in IMs like yahoo messenger. If you see 'I'm busy' you think twice before you send an instant message. Another possibility is querying a phone for its geographical location. A built-in GPS can serve that data. In future, there could be a lot of other data (images, video) that could be served out.&lt;br /&gt;&lt;br /&gt;Of course all these servers running on your phone will have necessary authentication to ensure privacy. You share information only with those whom you want to.</description><link>http://kar1107.blogspot.com/2006/03/running-servers-on-cell-phones.html</link><author>noreply@blogger.com (Karthik Gurusamy)</author><thr:total>3</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-19552234.post-114107200423358352</guid><pubDate>Mon, 27 Feb 2006 20:21:00 +0000</pubDate><atom:updated>2006-03-03T06:30:43.826-08:00</atom:updated><title>Dialer tune to convey "I'm driving"</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/3732/1937/1600/IMG_5378_600x800.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/3732/1937/320/IMG_5378_600x800.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Some background on where I got this idea. We went to Kallar during our Trivandrum stay. Kallar is a tourist spot about 50km from Trivandrum  on the way to the Ponmudi hillstation. Once you reach the spot, you need to take a hike of about 1 km to see the Meenmutti water walls (see pic). The hike  goes through a really dense forest; you can even encounter wild elephants. We took a guide and the place is very pristine. I think that is a good outcome of lack of development; nature still not robbed of its beauty.&lt;br /&gt;&lt;br /&gt;Okay, back to the geeky stuff. We had hired a car from Trivandrum and the drive up wasn't easy due to the curvy roads and bad road conditions. The roads were damaged quite a bit due to the recent heavy monsoon. Our driver was a skilled man; but he was constantly getting phone calls on his mobile. Being a passenger, I wasn't comfortable seeing him manage those difficult curves with one hand. I thought of ways to reduce the hazard of cellphone usage while driving.&lt;br /&gt;&lt;br /&gt;There are legal steps like mandating hands free usage while driving. I think quite a few states (like New York) already implement such steps. I believe the serious risk is not that you don't have an additional hand on your wheel; but it's about mental diversion. Your brain is being distracted while you are talking. And to compound the issue, your caller doesn't know that.  Usually a fellow passenger in the car doesn't distract you at difficult driving conditions, because he/she can see the surroundings. But that is not the case with a phone caller. The caller can tell something really exciting (and hence very distracting)at exactly the same time when your car needs your full concentration. So how about letting the caller know before you pick up the phone, that you are driving? This can help the caller avoid the call altogether or at least keep it really short.&lt;br /&gt;&lt;br /&gt;So the phone provides a feature, like a profile selection, to say "you are driving". You select that profile before you start your drive. Any body who calls you will hear a message like "I'm driving now.."  along with the normal ring tone. You can still pick up the call; but we at least we know the caller isn't going to keep you distracted for too long.&lt;br /&gt;&lt;br /&gt;BTW after a week from our trip, I did read a post in slashdot elaborating future phone features very similar to the above. But it was more fancy -- like detecting that you are in a theater (thru' GPS say)  and automatically switching to a vibrate mode.</description><link>http://kar1107.blogspot.com/2006/02/dialer-tune-to-convey-im-driving.html</link><author>noreply@blogger.com (Karthik Gurusamy)</author><thr:total>2</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-19552234.post-114055137378210861</guid><pubDate>Tue, 21 Feb 2006 19:45:00 +0000</pubDate><atom:updated>2006-02-23T06:52:51.023-08:00</atom:updated><title>India trip: $5 ATM fee rip-off</title><description>During my India trip, Priya and I spent about 3 days in Trivandrum. By the last day, we were running out of cash. I didn't want to use my Bank of America ATM card as I was a bit afraid about the service fees. But we really needed the money; so decided we'll use an ICICI ATM. Since ICICI is supposed to be one of the best banks in India, I thought it is a much safer bet than any of the tons of other company ATMs.&lt;br /&gt; &lt;br /&gt;After a couple of days of our return, I checked my online account and was shocked. There were two service fees; both mentioning ICICI. One for about $0.91 and another for $5. During all my previous use of ATMs in India, the service charge was $1.50. It was never $5. The worst part this time is, the ATM did not inform me of the service charge. It used to say 'there will be a $1.50 fee.. do you want to continue?'. Nothing of the sort; I punched in Rs 4000 (about $90 and few cents) and there came out  the money.  No notice whatsoever about any service fees. I think they should have at least informed me of the potential service charge.&lt;br /&gt;&lt;br /&gt;A couple of days back, I called up Bank of America to try to waive or reduce the charge. The lady who answered told me that it is all stated in the policy when I opened the account. Do they expect me to read something that was given to me in 1998? I told her that at least the ATM should inform me of the service charge. She said sorry and nothing can be done. She also said the $5 was charged by my bank and not ICICI. I was cursing ICICI until then. I realized I can't do much; I just told her that it is a real rip-off and asked her to put those in any customer feedback form if she can. &lt;br /&gt;&lt;br /&gt;Some lessons learnt for getting money oversees.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Credit cards are still one of the best methods&lt;/span&gt;. Citibank master card charges about 3% total. It seems master card charges 2% and citi another 1% (it may be the other way; but the total is 3%). I read Master cards give some of the best exchange rates. I do see that in my credit card statements. I saw American express charging only 2%. But overall I am not fully sure amex gives a better deal with exchange rate. So overall I think credit card is still the way to go.&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Most banks charge 1% on the amount withdrawn and a flat service fee of $5&lt;/span&gt;. So unless really needed, avoid this method. If you really have to do, make a few transactions of bigger amounts. In some countries (India is not one of them) like UK, Cananda, you can use a specific banks network to avoid the fee.  For bank of america, it is Barclays in UK, Scotia in Canada (Global ATM alliance). Google or check your banks website. The customer service lady told me that even if I use a Scotia bank ATM in India, I will be charged. There was one in Coimbatore which we had planned to use. BTW, if you are betting on going to the bank of america office in Madras, you will be surprised. There is no ATM there. The security person there (the office was closed that day) said BofA in Madras handles only corporate accounts these days.&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Convert US bills ($20 or higher) through your "local" contacts in India&lt;/span&gt;.  I guess, by and large, this is where you get the best deal. Of course it may not be totally legitimate.&lt;/li&gt;&lt;li&gt;I heard on Michael Finney's show on KGO, that traveler's check is no good. You don't get good exchange rates.&lt;/li&gt;&lt;/ol&gt;I wanted to try 3, but didn't carry sufficient dollar bills. I think that is&lt;br /&gt;something to try out on future trips.</description><link>http://kar1107.blogspot.com/2006/02/india-trip-5-atm-fee-rip-off.html</link><author>noreply@blogger.com (Karthik Gurusamy)</author><thr:total>10</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-19552234.post-114046875857575365</guid><pubDate>Mon, 20 Feb 2006 20:39:00 +0000</pubDate><atom:updated>2006-02-20T12:55:06.113-08:00</atom:updated><title>Being miserable with jet lag</title><description>It's been a week since my return from the India trip. I landed here last Sunday night. I went through a terrible jet lag the whole of last week. It's only now, I'm slowing limping back to normalcy. I never felt this big a jet lag in any of my previous trips; the last one being in May 2004.&lt;br /&gt;&lt;br /&gt;I woke up at sharp 5:30 AM and just couldn't go back to sleep. I really didn't know what to do since I am not usually out of the bed anytime before 9 AM. This year the winter in bay area is breaking some 50 year old records in lowest temperatures. That didn't help a bit for my miserable times in bed from 5:30 AM to 9 AM. I realized there are some interesting programs in KTEH channel 17 at such early hours in the morning. But after a day or two, I didn't like watching TV that early in the morning. I have read how some old people suffer from insomnia; well I did experience that. And it is terrible.&lt;br /&gt;&lt;br /&gt;By 3 or 4 PM in the afternoon I felt so sleepy at work. I was lucky that work wasn't that demanding and I could take off early. Around 7 PM or so, I felt such an irresistible urge to sleep. I just can't stop it. I had to sleep for 3 to 4 hours. I know this won't help my body to adjust to the new routine. But I was helpless.&lt;br /&gt;&lt;br /&gt;On Thursday, after 4 days of misery, enlightenment struck me. I went to the oracle (read google) and asked "How to reduce jet lag". That turned up a few interesting articles; mostly for sportsmen and athletes to cope up with jet-lag. One of the suggestions really helped me. That is don't sleep too long when you get the sleeping urge; use an alarm or a friend to wake you up.  I did that Thursday night; and slept for just about an hour around 7 PM. That did help.&lt;br /&gt;&lt;br /&gt;Some points that can help to minimize jet lag.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Jet lag is more pronounced on west to east travel than vice versa.  So for most of my India trip, the return trip (always across pacific) is going to be problematic. So this is something to remember on any future onward trip to East coast, Europe or a return from Hawaii (which are probably the only remaining items on the "to-travel" list)&lt;/li&gt;&lt;li&gt;The more routine your life style is, the more pronounced the lag is. I think this is one of the main reasons for my jet-lag this time compared to my previous trips. There is nothing here that can be changed.&lt;/li&gt;&lt;li&gt;Take plenty of rest the day before the journey. I made the common mistake of trying to be awake, so that I can get easy sleep on the plane. This was a big mistake. You need plenty of sleep, the day before you travel. I traveled on a Saturday morning train from Trichy to Madras, reaching Madras in the afternoon. I went to the IIT campus on Saturday afternoon and then to a wedding reception on Saturday evening with my flight being on the Sunday morning. I think this lack of rest prior to the journey contributed significantly.&lt;/li&gt;&lt;li&gt;Drink lots of water inside the plane. The body gets very dehydrated in an air plane environment (6000 ft pressure and very low humidity).&lt;br /&gt;&lt;/li&gt;&lt;li&gt;No alcohol immediately before/during/ after the flight. There was some suggestion about food intake; I didn't pay much attention because I don't eat a lot in flight anyway.&lt;/li&gt;&lt;/ol&gt;But the bottom line is, it seems the body takes 1 day to adjust for every 1 hour of time-zone change. That means for a India return, it take 12 days -- that is way too much time. But it has already taken me a whole full week.  I hope some of these tips should serve well to not ruin the first days of a future vacation trip.</description><link>http://kar1107.blogspot.com/2006/02/being-miserable-with-jet-lag.html</link><author>noreply@blogger.com (Karthik Gurusamy)</author><thr:total>3</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-19552234.post-113684232774969545</guid><pubDate>Mon, 09 Jan 2006 21:22:00 +0000</pubDate><atom:updated>2006-01-28T01:30:44.736-08:00</atom:updated><title>Positive/negative feedback loops in natural processes</title><description>Positive/negative feedback loops that occur in nature fascinate me.  So I started looking for them and collecting such phenomena.  I'm not 100% sure if some of these are really due to the presence of positive/negative feedback loops -- so take it with a pinch of salt.&lt;br /&gt;&lt;br /&gt;In simple terms, a positive feedback loop makes a thing larger and larger until a breaking point. The larger it gets, its tendency to get larger increases. The reverse of getting continuously smaller can also be the result of a positive feedback.&lt;br /&gt;&lt;br /&gt;A negative feedback tends to resist a thing's current course of change.  If it is growing, a negative feedback till tend to pull it back. So growing more becomes harder and harder as the thing grows big.  Hence a negative feedback system normally has an equilibrium point.  Any big swing away from the equilibrium will tend to pull the system back into its equilibrium.&lt;br /&gt;&lt;br /&gt;Mathematically positive/negative feedback loop systems can be described as below. Note that I may not be 100% correct here. Let the thing that is growing/shrinking be y. If dy/dx is a polynomial in x and has a degree &gt;= 1 (or &lt;= -1 for shrinking positive feedback), we can say there is a positive feedback. In simpler terms, the rate at which the thing increases is directly proportional to the current size of the thing. Probably a more accurate description is that, the change in the thing (rather than the rate of change) is directly proportional to its current size.  Imagine a forest fire. Larger the forest fire gets, the more rapidly it spreads. So we can say this is a case of positive feedback loop at work.  I couldn't exactly quantify what x is; but intuitively it is something whose little change can dramatically affect y's change as y gets larger.   Usually most spectacular phenomena (like a stock market boom/bust, current fashion craze) would have a positive feedback loop working for it.  Here is a list of feedback loops I collected. I'll update as I come across interesting cases.  &lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;Positive Loops:&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li style="font-style: italic;"&gt;Nuclear chain reaction, nuclear explosion&lt;/li&gt;&lt;li style="font-style: italic;"&gt;Hurricane formation&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;The growing crowd at a road side accident site&lt;/span&gt;. More watching people attract still more people. The reverse is also true -- a shrinking crowd, shrinks faster. As more people leave, it becomes less of a crowd puller.&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Anger bursts.&lt;/span&gt; This I read somewhere; the way human anger response works. Once it gets started, it keeps growing until it reaches a maximum point. I, for one, would bet on that theory having had first hand experiences :).&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Investment growth using compounding returns&lt;/span&gt;. Think of the growth of an initial investment in 401k over say 30 years.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Popularity of already successful books/shows/ideas/etc&lt;/span&gt;. Usually people talk about book sales "taking off" or reaching "critical mass".  It is when the book makes it to the top sellers list. I think this is a classic case of starting off of the positive feedback loop.  There is no stopping of the runaway success.&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;pumping and dumping of penny stocks&lt;/span&gt;. It is similar to the above case of book reaching the top seller list. Once a stock has been artificially pumped up (by a select few), others jump in pushing it further up. Again a start of a positive feedback loop.&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Stock market/ Real estate bubble build up&lt;/span&gt;. The reverse burst. Once an asset is seen growing more, more people want it. Higher demand drives value up. Again a start of a positive feedback loop. A crash in prices too gets into a positive feedback loop -- though here the effect is in making the value smaller and smaller.&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Trust/emotion building among people/groups&lt;/span&gt;. Includes cases of trust, love, hatred.&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Growth of a monopoly&lt;/span&gt;. Take Microsoft in late 80's, early 90's; or Walmart. In Microsoft, the explosive growth of windows can be seen as a result of positive feedback loop at work -- more apps for windows leads to more windows adoption. That triggers more developers to produce apps for windows (instead to say Linux or someother platform).&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Formation of black holes&lt;/span&gt;. More mass leads to heavier gravitational pull -- leading to more attraction of other mass. A cycle is established. It is an interesting comparison to see the way a monopoly works with this sucking effect of a black hole.  Lets consider the introduction  of a Walmart superstore in a community. It just sucks up all the mom-n-pop businesses and that leads to attracting their customers. Walmart just grows bigger in sales; now ready to swallow bigger guys -- I think the fall of Levis, RCA, rubbermaid to walmart can be seen as instances of such big guys falling.&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Population growth of self-reproducing entities.&lt;/span&gt; Includes all living things, computer virus, successful memes (like religion). For living things some examples are rabbit population,  water hyacinth growth in a lake,  cancer proliferation, biological epidemics (flu virus spread). The spread of successful ideas (memes) also employ positive feedback loops. More people exposed to an idea increases the chances of the idea spreading more rapidly. I guess gossips/rumors are a good example.&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Economic boom/depression&lt;/span&gt;. Similar to the stock market boom. More activity creates more jobs and a cycle gets established. The reverse happens in an economic downturn.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Technology adoption&lt;/span&gt;. More technology adoption feeds innovation, leading to birth of newer smarter technology. Growth of Internet is an example.&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Drug addiction&lt;/span&gt;. Cocaine mimics the naturally occurring happiness hormone endorphin. On drug intake, the brain sees a sudden  flood of  endorphin like substance and shuts down the endorphin receptors. When the drug is digested, the person can no longer feel good since the naturally occurring endorphin is not  sufficient enought to plug on to the available open receptors.  He takes in more drug to achieve a prior state of well-being. That triggers closing down of still more receptors and reduces the available open ones. There starts the vicious cycle.&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Becoming obese&lt;/span&gt;: It's lot easier for an overweight person to add on more pounds -- bigger body demands more food. It also results in lesser exercise/physical activity. Both can setup a cycle. The good part is losing weight can also exploit the workings of  a positive feedback loop. Once a few pounds are lost,  it may need lesser effort to reduce further. There are many unknowns here and I may be off the mark.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-weight: bold;"&gt;Negative Loops:&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;The classic spring example&lt;/span&gt;. It takes more and more effort to press/expand a spring from its natural equilibrium position.&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Steam power control in old steam locomotives&lt;/span&gt;. A valve opens/closes to regulate steam output based on the current steam power output. More power reduces the valve leading to power reduction. Less power opens up the value to increase power.&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Predator prey population&lt;/span&gt;. Think of lion-deer population. More lions implies reduction in deer population; that implies starvation for lions. This leads to an equilibrium state. Less lions implies population growth for deer  leading to more food for lions helping their growth.&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Classic case of price stability due to supply-demand balance&lt;/span&gt;. Lets take oil price increase. Higher cost drives demand low (due to less driving, say) and that pulls back the price to an equilibrium state. The reverse happens when oil prices drop.&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Human body homeostasis&lt;/span&gt;. The body tries to maintain an equilibrium; lets take temperature. If too cold, the body shivers to bring up the  temperature. If too warm, the body evaporates to cool down.&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;</description><link>http://kar1107.blogspot.com/2006/01/positivenegative-feedback-loops-in.html</link><author>noreply@blogger.com (Karthik Gurusamy)</author><thr:total>16</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-19552234.post-113658676188306256</guid><pubDate>Fri, 06 Jan 2006 22:31:00 +0000</pubDate><atom:updated>2006-02-06T21:53:50.326-08:00</atom:updated><title>Smart traffic signals with WiFi + GPS to prevent red light running</title><description>Running over  red light at a traffic signal is one of the serious causes of side-impact collisions. Today the only way to avoid such an accident is in the hands of the driver who approaches the signal. He has to be alert. If he does run over, he puts the cross traffic in grave danger. In a typical US express way, that amounts to a 40-55 MPH collision.  The method described here alerts the driver about the state of the approaching traffic light.&lt;br /&gt;&lt;br /&gt;I'm sure this idea would've been reached independently by others.  With the advancement in WiFi and GPS, the solution is pretty simple and cost effective too.&lt;br /&gt;&lt;br /&gt;A high risk traffic signal gets a WiFi transmitter and continuously broadcasts its state. The state could convey information like which roads are getting what light, how long before the light changes and other related information.  It also sends  its GPS coordinates. Any car within the WiFi range (which is about 300 ft) can know the state of the signal and can alert the driver if the speed is inappropriate.  Note that the station (located at the traffic signal) does not really need a GPS receiver; since it is static, its location can be hard-coded.&lt;br /&gt;&lt;br /&gt;The approaching car using its GPS knows if a particular signal is of interest (the approaching one). Without knowing which signal is of interest, the car can get signals from lots of stations in a crowded in-city kind of location.&lt;br /&gt;&lt;br /&gt;Once the car learns about a signal state, it can alert the driver through visual/audio alerts. The overall cost is reasonable. The cost to install a transmitter at a signal is one time cost; it does not need to scale with the traffic. Note that the car does not talk to the station -- it is a passive receiver of information.  Even a car without GPS can use the system; it's just that it may get some false positive alerts. The minimum the car needs is a WiFi listener.&lt;br /&gt;&lt;br /&gt;A more futuristic version can enable the station to update its state in real-time to a central server. The car could talk to the server in real-time (using some other network connectivity, say the Internet) to get the signal state data using its current GPS coordinates (this eliminates the Wi-Fi).</description><link>http://kar1107.blogspot.com/2006/01/smart-traffic-signals-with-wifi-gps-to.html</link><author>noreply@blogger.com (Karthik Gurusamy)</author><thr:total>2</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-19552234.post-113520539818633018</guid><pubDate>Wed, 21 Dec 2005 22:44:00 +0000</pubDate><atom:updated>2005-12-21T15:08:32.243-08:00</atom:updated><title>Why heat/cool the whole car?</title><description>At this age of skyrocketting energy costs why can't we just heat the front portion of the car alone? A whole majority of the cars on road carry just a single person (the driver) or utmost one additional passenger. So can't we have a movable separation (like the ones in some cabs or the cover of a convertible) that slides behind the two front seats? At the push of a button we can close this "door".  This way we just need to cool/heat only the portion where the occupants are present. No need to waste energy heating the back row of seats and avoid heat loss due to leakage associated with a larger area.</description><link>http://kar1107.blogspot.com/2005/12/why-heatcool-whole-car.html</link><author>noreply@blogger.com (Karthik Gurusamy)</author><thr:total>2</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-19552234.post-113408043371856493</guid><pubDate>Thu, 08 Dec 2005 22:07:00 +0000</pubDate><atom:updated>2005-12-08T23:01:07.423-08:00</atom:updated><title>Are images SPAM's latest avatar?</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/3732/1937/1600/spam_example.gif"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/3732/1937/320/spam_example.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I'm seeing more spams using images. Basically the spammer embeds the text in a .gif file. So most of the spam filtering software cannot make out from the text portion of the mail, if it is spam or not. See the spam picture that I got today.&lt;br /&gt;&lt;br /&gt;I think the spam software these days use some form of AI -- machine learning using known  patterns of good text and bad ones. So when an unknown mail arrives, it matches the text to the nearest known "point" in the "good mail space" and in the "bad mail space". If it is too close to the bad mail, it flags it as spam.&lt;br /&gt;&lt;br /&gt;But can software handle spam inside images? We know computers aren't (yet) good at image recognition. In fact Amazon's HITs and mturk are built over this fact. Considering machines can easily generate images which they can't understand but humans can, is this the next step in bypassing spam filters?&lt;br /&gt;&lt;br /&gt;Wondering how yahoo/gmail are weeding out such stuff... btw google image search on 'image spam' turns out lot of eatable spam pics! ;)</description><link>http://kar1107.blogspot.com/2005/12/are-images-spams-latest-avatar.html</link><author>noreply@blogger.com (Karthik Gurusamy)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-19552234.post-113398434886771002</guid><pubDate>Wed, 07 Dec 2005 19:38:00 +0000</pubDate><atom:updated>2005-12-07T12:31:26.003-08:00</atom:updated><title>When will S&amp;P hit 900?</title><description>Call me a permabear but I'm hoping to see S&amp;P go below 900 or at least 1000 soon. I was one of those who got out way too early (around 1075, Aug 2004) and I've been waiting to get in. The cyclical bull started in March 2003 (800) and as per Bob Brinker the cyclical cycles last on average 1 to 3 years. But this bull seems to be going stronger and stronger and seems it will last over 3 years. I should've just stayed in the market..but after seeing much red since 2000, I was happy to see my numbers back in black and thought I shouldn't get greedy and got out in Aug 2004.&lt;br /&gt;&lt;br /&gt;Considering the long time horizon, I should've stuck to the basics and stayed in equity. I am surprised at how S&amp;P P/E continues to remain low (16) -- its all about outstanding growth in earnings. I guess the enormous cost savings and productivity boost (due to technology, world flattening) could be the basic driving force. Anyway its hard if not impossible to predict the future; I'm looking for an opportunity to get back into the market. And stay put for a really long time. It is not that nice a feeling to be out of the market and see it go up and up (was that 1263 recently?).&lt;br /&gt;&lt;br /&gt;I was lucky to learn the bubble lessons just by watching CNBC in 2000.&lt;br /&gt;That permanently pushed me into indices and never run behind individual stocks. The lesson didn't cost me financially; but this premature exit is costing me dearly..in terms of lost time. I'm just wishing the end of this cyclical bull sooner than later so that I can just get in and not think about getting out.</description><link>http://kar1107.blogspot.com/2005/12/when-will-sp-hit-900.html</link><author>noreply@blogger.com (Karthik Gurusamy)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-19552234.post-113389726548808542</guid><pubDate>Tue, 06 Dec 2005 19:20:00 +0000</pubDate><atom:updated>2005-12-07T11:59:46.550-08:00</atom:updated><title>Outsource my driving?</title><description>I am reading 'The world is flat' by Thomas L. Friedman and was surprised at how more and more work are being done remotely. There was this instance of McDonald's drive-ins using a remote call-center to take orders. The operator sits thousands of miles away in a different state and the customer doesn't even know that. They not only saw a reduction in operation cost, but also in error rates.&lt;br /&gt;&lt;br /&gt;As we are seeing in the outsourcing boom, anything that can be digitized and&lt;br /&gt;worked on remotely, will tend to get done that way. There was also a mention of hiring personal assistants in India for busy professionals in US. The Indian at Bangalore can be hired at a fraction of the US cost.&lt;br /&gt;&lt;br /&gt;So here I was commuting back from work on Stevens Creek and there was bumper to bumper traffic. It is a 35mph stretch and doesn't demand the extra caution of a freeway driving. It is a tedious stop and go traffic and I felt wouldn't it be cool to just relax and allow someone to remotely drive my car?&lt;br /&gt;&lt;br /&gt;There is enough technology today for someone to be sitting in, say Madras, and control my car here in California. The basics -- high quality video transmission, low latency wireless network connectivity are already available (I think a related buzzword is 'Telepresence'). There is lot of research on self driving cars -- using smart lanes and software to replace the human totally. What I'm thinking is why not just hire a pair of eyes for the time of the drive?&lt;br /&gt;&lt;br /&gt;People may not feel the same level of safety as a physical chauffeur; after all an accident doesn't harm him physically. So at least in low risk driving environments (like low speed, less congested in-city driving), the approach seems to have some merit. And how about just having someone to watch over you on a long drive -- say to ensure you don't fall asleep. The aging population and people incapacitated (say DUI??) can hire the service.&lt;br /&gt;&lt;br /&gt;There are also applications in other transportation areas -- trucking, railroads, even flights (I read recently the spy drones over Iraqi villages are in fact controlled and flown from Nevada, US -- in real time).&lt;br /&gt;&lt;br /&gt;It would be fun to hire a driver just at the push of a button in your car. How about helping your friend in his long drive while you are sitting at your home and driving his car! Who knows we may see a 'push to drive' button sooner in future cars.</description><link>http://kar1107.blogspot.com/2005/12/outsource-my-driving.html</link><author>noreply@blogger.com (Karthik Gurusamy)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-19552234.post-113364675589845174</guid><pubDate>Sat, 03 Dec 2005 21:44:00 +0000</pubDate><atom:updated>2005-12-03T13:52:35.916-08:00</atom:updated><title>Just started...</title><description>I started this blog primarily to get a blog id so that I don't have to comment as Anonymous in replying to other blogger's post. Though I heard about blogging for a long while; I never cared to start one till now. Considering the ease with which one can create a blog (not to mention I don't have to shell out any money for it), I thought its time. In fact the last push was on seeing Priya's (my wife) blog (http://dailygirlblog.blogspot.com/).  I'm planning to scribble thoughts -- mostly my opinions on things.&lt;br /&gt;&lt;br /&gt;Most of my views are extreme left to give you an idea. I'm primarily a left brain guy (a CT-Scan&lt;br /&gt;during my high school days shocked doctors as I was missing the right half ;) ) and driven by logic.&lt;br /&gt;&lt;br /&gt;Thanks for stopping by... I hope to put some of my thoughts in near future&lt;br /&gt;&lt;br /&gt;Karthik</description><link>http://kar1107.blogspot.com/2005/12/just-started.html</link><author>noreply@blogger.com (Karthik Gurusamy)</author><thr:total>0</thr:total></item></channel></rss>