<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-12348106</id><updated>2011-11-22T16:17:04.831+05:30</updated><category term='ruby'/><category term='scheme'/><category term='reading'/><category term='lamda'/><category term='folksonomy'/><category term='promoting'/><category term='quick sort'/><category term='erlang concurrency'/><category term='erlang'/><category term='e-ink'/><category term='rails'/><category term='functional programming'/><category term='internet'/><category term='sicp'/><category term='हिंदी'/><category term='lisp'/><category term='tagging'/><category term='data'/><category term='इंडियन'/><category term='transliteration'/><category term='money'/><category term='outsourcing'/><title type='text'>siddharth's blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://siddharth178.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://siddharth178.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Siddharth</name><uri>http://www.blogger.com/profile/15121478327546414416</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-12348106.post-7952167369405237542</id><published>2010-12-23T09:23:00.004+05:30</published><updated>2010-12-23T09:28:09.296+05:30</updated><title type='text'></title><content type='html'>C retains the basic philosophy that programmers know what they are doing; it only requires that they state their intentions explicitly. - K&amp;amp;R&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" &gt;Similar statement was made by DHH in one of his recent keynotes about Ruby.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12348106-7952167369405237542?l=siddharth178.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharth178.blogspot.com/feeds/7952167369405237542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12348106&amp;postID=7952167369405237542' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/7952167369405237542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/7952167369405237542'/><link rel='alternate' type='text/html' href='http://siddharth178.blogspot.com/2010/12/c-retains-basic-philosophy-that.html' title=''/><author><name>Siddharth</name><uri>http://www.blogger.com/profile/15121478327546414416</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12348106.post-176493767878499793</id><published>2008-06-19T16:21:00.003+05:30</published><updated>2008-06-19T16:38:02.055+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='outsourcing'/><title type='text'>On outsourcing</title><content type='html'>&lt;blockquote&gt;Outsourcing hurts innovation when people aren’t able to communicate frequently and casually. Frequent and casual conversations are impossible across nine time zones.&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;Farming out development to legions of programmers overseas will not create a differentiation advantage. When a software company outsources development, that company loses its capacity to innovate and its competitive advantage.&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;If you’re building an innovative software company, you need to retain your best and brightest programmers internally. Software companies entirely based in India can successfully innovate over the long term, as can U.S. companies or companies based anywhere else.&lt;/blockquote&gt;&lt;br /&gt;&lt;p&gt;- From Joel Spolsky's 'The Best Software Writing I'&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12348106-176493767878499793?l=siddharth178.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharth178.blogspot.com/feeds/176493767878499793/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12348106&amp;postID=176493767878499793' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/176493767878499793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/176493767878499793'/><link rel='alternate' type='text/html' href='http://siddharth178.blogspot.com/2008/06/on-outsourcing.html' title='On outsourcing'/><author><name>Siddharth</name><uri>http://www.blogger.com/profile/15121478327546414416</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12348106.post-5353515777218433420</id><published>2008-06-02T16:42:00.006+05:30</published><updated>2008-06-02T16:51:50.283+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='rails'/><title type='text'>Woking with multiple rails versions on same machine</title><content type='html'>&lt;blockquote&gt;&lt;/blockquote&gt;If you have multiple rails versions installed like this -&lt;br /&gt;&lt;br /&gt;rails (1.2.6, 1.2.0, 1.1.6)&lt;br /&gt;Web-application framework with template engine, control-flow layer,&lt;br /&gt;and ORM.&lt;br /&gt;&lt;br /&gt;And you want to create 3 applications using 3 different versions of rails, then here is the command -&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;$ rails _&amp;lt;railsversion&amp;gt;_ &amp;lt;app name&amp;gt;&lt;rails-version&gt;&lt;app&gt;&lt;br /&gt;&lt;/app&gt;&lt;/rails-version&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;To create rails application using rails-1.2.0&lt;br /&gt;&lt;pre&gt;$ rails _1.2.0_  r120&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;To create rails application using rails-1.2.6&lt;br /&gt;&lt;pre&gt;$ rails _1.2.6_  r126&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;To create rails application using rails-1.1.6&lt;br /&gt;&lt;pre&gt;$ rails _1.1.6_  r116&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Is this documented anywhere?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12348106-5353515777218433420?l=siddharth178.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharth178.blogspot.com/feeds/5353515777218433420/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12348106&amp;postID=5353515777218433420' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/5353515777218433420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/5353515777218433420'/><link rel='alternate' type='text/html' href='http://siddharth178.blogspot.com/2008/06/woking-with-multiple-rails-versions-on.html' title='Woking with multiple rails versions on same machine'/><author><name>Siddharth</name><uri>http://www.blogger.com/profile/15121478327546414416</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12348106.post-304524725779780996</id><published>2008-01-15T10:42:00.000+05:30</published><updated>2008-01-15T10:45:16.755+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='erlang concurrency'/><title type='text'>Concurrency starts now!</title><content type='html'>Reached chapter 7 of programming erlang. Concurrency starts now.&lt;div&gt;Let see how my brain-system handles this :)&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12348106-304524725779780996?l=siddharth178.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharth178.blogspot.com/feeds/304524725779780996/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12348106&amp;postID=304524725779780996' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/304524725779780996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/304524725779780996'/><link rel='alternate' type='text/html' href='http://siddharth178.blogspot.com/2008/01/concurrency-starts-now.html' title='Concurrency starts now!'/><author><name>Siddharth</name><uri>http://www.blogger.com/profile/15121478327546414416</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12348106.post-6058622270894861076</id><published>2008-01-01T16:51:00.000+05:30</published><updated>2008-01-01T17:00:18.646+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='functional programming'/><category scheme='http://www.blogger.com/atom/ns#' term='erlang'/><title type='text'>3 liner list reversal</title><content type='html'>&lt;span style="font-family: courier new;"&gt;-module(mylist).&lt;br /&gt;-export([reverse/1]).&lt;br /&gt;&lt;br /&gt;reverse(L) -&gt; reverse(L, []).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;reverse([H|T], Rl) -&gt; reverse(T, [H|Rl]);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;reverse([], Rl) -&gt; Rl.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Thats it!&lt;br /&gt;&lt;br /&gt;Here is the usage -&lt;br /&gt;mylist:reverse([0, 1, 2, 3, 4, 5]).&lt;br /&gt;&lt;br /&gt;should give -&lt;br /&gt;[5, 4, 3, 2, 1, 0]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12348106-6058622270894861076?l=siddharth178.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharth178.blogspot.com/feeds/6058622270894861076/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12348106&amp;postID=6058622270894861076' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/6058622270894861076'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/6058622270894861076'/><link rel='alternate' type='text/html' href='http://siddharth178.blogspot.com/2008/01/3-liner-list-reversal.html' title='3 liner list reversal'/><author><name>Siddharth</name><uri>http://www.blogger.com/profile/15121478327546414416</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12348106.post-1023869900309689501</id><published>2007-12-30T17:03:00.000+05:30</published><updated>2007-12-30T17:35:49.178+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='functional programming'/><category scheme='http://www.blogger.com/atom/ns#' term='quick sort'/><category scheme='http://www.blogger.com/atom/ns#' term='erlang'/><title type='text'>3 liner quicksort</title><content type='html'>&lt;pre&gt;&lt;br /&gt;qsort([]) -&amp;gt; [];&lt;br /&gt;qsort([Pivot|T]) -&amp;gt;&lt;br /&gt;  qsort([X || X &amp;lt;- T, X &amp;lt; Pivot]) ++ [Pivot] ++ qsort([X || X &amp;lt;- T, X &amp;gt;= Pivot]).&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Here is some explanation of above code.&lt;br /&gt;- When the input list is empty, output empty list.&lt;br /&gt;- Otherwise, divide the input list into 2 lists such that, one list will have all the elements whose value are less than Pivot and the other list will have all the elements having values greater than or equal to Pivot. 1st element from input list is a Pivot.&lt;br /&gt;- Do above steps recursively on all the lists that you create and then join them keeping Pivot in middle of lists.&lt;br /&gt;&lt;br /&gt;I think the explanation is way too complicated than the code itself ;)&lt;br /&gt;&lt;br /&gt;Day by day, I have started realizing the power of pattern matching, list data structure and functional programming.&lt;br /&gt;&lt;br /&gt;Note: Above code is taken from Programming Erlang. Similar code is possible with other FP languages like haskell.&lt;br /&gt;&lt;br /&gt;Enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12348106-1023869900309689501?l=siddharth178.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharth178.blogspot.com/feeds/1023869900309689501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12348106&amp;postID=1023869900309689501' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/1023869900309689501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/1023869900309689501'/><link rel='alternate' type='text/html' href='http://siddharth178.blogspot.com/2007/12/3-liner-quicksort.html' title='3 liner quicksort'/><author><name>Siddharth</name><uri>http://www.blogger.com/profile/15121478327546414416</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12348106.post-7543835376908427629</id><published>2007-12-27T14:50:00.000+05:30</published><updated>2008-11-13T11:33:46.420+05:30</updated><title type='text'>does scott adams work in some IT company?</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_0XF475y84rk/R3Nu_tAK1CI/AAAAAAAAAFY/8YhUZ5y-NlE/s1600-h/dilbert.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_0XF475y84rk/R3Nu_tAK1CI/AAAAAAAAAFY/8YhUZ5y-NlE/s320/dilbert.bmp" alt="" id="BLOGGER_PHOTO_ID_5148580839705728034" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;This is so true!!    ;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12348106-7543835376908427629?l=siddharth178.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharth178.blogspot.com/feeds/7543835376908427629/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12348106&amp;postID=7543835376908427629' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/7543835376908427629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/7543835376908427629'/><link rel='alternate' type='text/html' href='http://siddharth178.blogspot.com/2007/12/does-scott-adams-work-in-some-it.html' title='does scott adams work in some IT company?'/><author><name>Siddharth</name><uri>http://www.blogger.com/profile/15121478327546414416</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_0XF475y84rk/R3Nu_tAK1CI/AAAAAAAAAFY/8YhUZ5y-NlE/s72-c/dilbert.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12348106.post-6745449821833758383</id><published>2007-11-21T11:22:00.000+05:30</published><updated>2007-11-21T11:23:11.712+05:30</updated><title type='text'>Links - exception handling</title><content type='html'>"Best Practices in EJB Exception Handling"&lt;br /&gt;&lt;a href="http://www-106.ibm.com/developerworks/java/library/j-ejbexcept.html" target="_blank"&gt;http://www-106.ibm.com/develop&lt;wbr&gt;erworks/java/library/j-ejbexce&lt;wbr&gt;pt.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;"Best Practices for Exception Handling"&lt;br /&gt;&lt;a href="http://www.onjava.com/pub/a/onjava/2003/11/19/exceptions.html" target="_blank"&gt;http://www.onjava.com/pub/a&lt;wbr&gt;/onjava/2003/11/19/exceptions&lt;wbr&gt;.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;"Designing with Exceptions"&lt;br /&gt;&lt;a href="http://www.javaworld.com/jw-07-1998/jw-07-techniques.html" target="_blank"&gt;http://www.javaworld.com/jw-07&lt;wbr&gt;-1998/jw-07-techniques.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;"Exceptions in Java"&lt;br /&gt;&lt;a href="http://www.javaworld.com/jw-07-1998/jw-07-exceptions.html" target="_blank"&gt;http://www.javaworld.com/jw-07&lt;wbr&gt;-1998/jw-07-exceptions.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;"Exceptional Practices, Part 1"&lt;br /&gt;&lt;a href="http://www.javaworld.com/javaworld/jw-08-2001/jw-0803-exceptions.html" target="_blank"&gt;http://www.javaworld.com&lt;wbr&gt;/javaworld/jw-08-2001/jw-0803&lt;wbr&gt;-exceptions.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;"Exceptional Practices, Part 2"&lt;br /&gt;&lt;a href="http://www.javaworld.com/javaworld/jw-09-2001/jw-0914-exceptions.html" target="_blank"&gt;http://www.javaworld.com&lt;wbr&gt;/javaworld/jw-09-2001/jw-0914&lt;wbr&gt;-exceptions.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;"When catching exceptions, don't cast your net too wide"&lt;br /&gt;&lt;a href="http://www.javaworld.com/javaworld/javatips/jw-javatip134.html" target="_blank"&gt;http://www.javaworld.com&lt;wbr&gt;/javaworld/javatips/jw-javatip&lt;wbr&gt;134.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;"Use nested exceptions"&lt;br /&gt;&lt;a href="http://www.javaworld.com/javaworld/javatips/jw-javatip91.html" target="_blank"&gt;http://www.javaworld.com&lt;wbr&gt;/javaworld/javatips/jw-javatip&lt;wbr&gt;91.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;"Beware the dangers of generic exceptions"&lt;br /&gt;&lt;a href="http://www.javaworld.com/javaworld/jw-10-2003/jw-1003-generics.html" target="_blank"&gt;http://www.javaworld.com&lt;wbr&gt;/javaworld/jw-10-2003/jw-1003&lt;wbr&gt;-generics.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12348106-6745449821833758383?l=siddharth178.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharth178.blogspot.com/feeds/6745449821833758383/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12348106&amp;postID=6745449821833758383' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/6745449821833758383'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/6745449821833758383'/><link rel='alternate' type='text/html' href='http://siddharth178.blogspot.com/2007/11/links-exception-handling.html' title='Links - exception handling'/><author><name>Siddharth</name><uri>http://www.blogger.com/profile/15121478327546414416</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12348106.post-6456269290177475854</id><published>2007-07-31T08:58:00.000+05:30</published><updated>2007-07-31T09:03:56.117+05:30</updated><title type='text'>paahijen appeared on 2 websites</title><content type='html'>It appeared on 2 websites. Its good to see "&lt;a href="http://www.paahijen.com"&gt;paahijen&lt;/a&gt;" spreading.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;mint - &lt;a href="http://www.livemint.com/2007/07/29190002/Three-startups-trying-somethi.html"&gt;Three start-ups trying something different&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;plugged.in - &lt;a href="http://www.pluggd.in/2007/07/paahijen-write-in-english-convert-in-local-language-and-share-in-your-blogemail"&gt;Paahijen - write in english, convert in local language and share in your blog/email..&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12348106-6456269290177475854?l=siddharth178.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharth178.blogspot.com/feeds/6456269290177475854/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12348106&amp;postID=6456269290177475854' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/6456269290177475854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/6456269290177475854'/><link rel='alternate' type='text/html' href='http://siddharth178.blogspot.com/2007/07/paahijen-appeared-on-2-websites.html' title='paahijen appeared on 2 websites'/><author><name>Siddharth</name><uri>http://www.blogger.com/profile/15121478327546414416</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12348106.post-8825656900924871357</id><published>2007-05-28T08:59:00.000+05:30</published><updated>2007-05-28T09:07:55.789+05:30</updated><title type='text'></title><content type='html'>My friend Soumitra has started writing his gtalk status messages in a &lt;a href="http://ssandesh.blogspot.com"&gt;blog&lt;/a&gt;. He picks very interesting  small small sentences for this. Mostly in marathi. Some of them are "too good".&lt;br /&gt;&lt;br /&gt;Blog is named &lt;a href="http://ssandesh.blogspot.com"&gt;संक्षिप्त संदेश!&lt;/a&gt; And, interesting thing for me is, he writes this using &lt;a href="http://www.paahijen.com"&gt;paahijen&lt;/a&gt;'s &lt;a href="http://www.paahijen.com/scratchpad"&gt;Scratchpad&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;So, Enjoy the posts!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12348106-8825656900924871357?l=siddharth178.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharth178.blogspot.com/feeds/8825656900924871357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12348106&amp;postID=8825656900924871357' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/8825656900924871357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/8825656900924871357'/><link rel='alternate' type='text/html' href='http://siddharth178.blogspot.com/2007/05/my-friend-soumitra-has-started-writing.html' title=''/><author><name>Siddharth</name><uri>http://www.blogger.com/profile/15121478327546414416</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12348106.post-8069629150636283608</id><published>2007-04-27T11:50:00.000+05:30</published><updated>2007-04-27T11:57:19.108+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='data'/><category scheme='http://www.blogger.com/atom/ns#' term='money'/><title type='text'>data to dollars</title><content type='html'>data =&gt; $s?&lt;br /&gt;information =&gt; more $s?&lt;br /&gt;knowledge =&gt; much more $s?&lt;br /&gt;&lt;br /&gt;Only thing is, its hard to predict when '=&gt;' will happen.  :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12348106-8069629150636283608?l=siddharth178.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharth178.blogspot.com/feeds/8069629150636283608/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12348106&amp;postID=8069629150636283608' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/8069629150636283608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/8069629150636283608'/><link rel='alternate' type='text/html' href='http://siddharth178.blogspot.com/2007/04/data-to-dollars.html' title='data to dollars'/><author><name>Siddharth</name><uri>http://www.blogger.com/profile/15121478327546414416</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12348106.post-3234981734332256212</id><published>2007-04-18T09:03:00.000+05:30</published><updated>2007-04-18T09:06:05.195+05:30</updated><title type='text'>getting message in</title><content type='html'>&lt;blockquote&gt;Getting the message in is as important as getting the message out!&lt;br /&gt;&lt;br /&gt;Very well said &lt;a href="http://www.37signals.com/svn/posts/380-getting-the-message-in"&gt;Jason&lt;/a&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12348106-3234981734332256212?l=siddharth178.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharth178.blogspot.com/feeds/3234981734332256212/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12348106&amp;postID=3234981734332256212' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/3234981734332256212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/3234981734332256212'/><link rel='alternate' type='text/html' href='http://siddharth178.blogspot.com/2007/04/getting-message-in.html' title='getting message in'/><author><name>Siddharth</name><uri>http://www.blogger.com/profile/15121478327546414416</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12348106.post-8023712162253056128</id><published>2007-04-06T11:14:00.000+05:30</published><updated>2007-04-06T11:25:55.679+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='promoting'/><title type='text'>promoting</title><content type='html'>&lt;a href="http://gettingreal.37signals.com/"&gt;Getting Real&lt;/a&gt; is a very interesting book  to read and do. Its not just some "theory" thing, its practical.&lt;br /&gt;&lt;br /&gt;In &lt;a href="http://gettingreal.37signals.com/ch13_A_Powerful_Promo_Site.php"&gt;chapter13&lt;/a&gt;, author mentions &lt;blockquote&gt;The best promotional tool is a great product. Word will get out if you've got an app that people find really useful.&lt;br /&gt;&lt;br /&gt;Still, you need an ace promotional site too.&lt;/blockquote&gt;&lt;br /&gt;This just makes sense.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12348106-8023712162253056128?l=siddharth178.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharth178.blogspot.com/feeds/8023712162253056128/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12348106&amp;postID=8023712162253056128' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/8023712162253056128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/8023712162253056128'/><link rel='alternate' type='text/html' href='http://siddharth178.blogspot.com/2007/04/promoting.html' title='promoting'/><author><name>Siddharth</name><uri>http://www.blogger.com/profile/15121478327546414416</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12348106.post-2515911026619681378</id><published>2007-04-04T09:35:00.000+05:30</published><updated>2007-04-04T09:50:45.954+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='e-ink'/><category scheme='http://www.blogger.com/atom/ns#' term='reading'/><title type='text'>sony book reader</title><content type='html'>Sony now has &lt;a href="http://www.learningcenter.sony.us/assets/itpd/reader/"&gt;this&lt;/a&gt; new and cool device. Its called &lt;a href="http://www.learningcenter.sony.us/assets/itpd/reader/"&gt;"Sony Reader"&lt;/a&gt;. I remember there are many companies who have tried the same, but the main differentiator is the use of &lt;a href="http://eink.com/technology/"&gt;e-ink&lt;/a&gt; technology. I will always prefer a paper like display over CRT, LCD, TFT for reading.&lt;br /&gt;&lt;br /&gt;At a first glance looks of the device, features and specification looks good to me. Still, if Sony comes up with features like undelining some lines using stylus while reading the book, looking at what all points I have underlined, bookmarking and index of my bookmarked pages, I will be happy to buy one.&lt;br /&gt;&lt;br /&gt;Don't know if these features are already supported, but I couldn't see them listed on those &lt;a href="http://www.learningcenter.sony.us/assets/itpd/reader/reader_features.html"&gt;pages&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12348106-2515911026619681378?l=siddharth178.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharth178.blogspot.com/feeds/2515911026619681378/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12348106&amp;postID=2515911026619681378' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/2515911026619681378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/2515911026619681378'/><link rel='alternate' type='text/html' href='http://siddharth178.blogspot.com/2007/04/sony-book-reader.html' title='sony book reader'/><author><name>Siddharth</name><uri>http://www.blogger.com/profile/15121478327546414416</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12348106.post-3605550965874939612</id><published>2007-03-29T21:34:00.000+05:30</published><updated>2007-03-29T21:45:28.142+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='इंडियन'/><category scheme='http://www.blogger.com/atom/ns#' term='हिंदी'/><category scheme='http://www.blogger.com/atom/ns#' term='transliteration'/><title type='text'>हर हर महादेव</title><content type='html'>हिंदी मे गूगल आया रे ...&lt;br /&gt;&lt;br /&gt;Finally Google comes into transliteration space. This show how important local language text is.&lt;br /&gt;Still ... I love ScratchPad on &lt;a href="http://www.paahijen.com/"&gt;paahijen&lt;/a&gt;. Its much more intuitive.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12348106-3605550965874939612?l=siddharth178.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharth178.blogspot.com/feeds/3605550965874939612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12348106&amp;postID=3605550965874939612' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/3605550965874939612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/3605550965874939612'/><link rel='alternate' type='text/html' href='http://siddharth178.blogspot.com/2007/03/blog-post.html' title='हर हर महादेव'/><author><name>Siddharth</name><uri>http://www.blogger.com/profile/15121478327546414416</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12348106.post-5950701284015289695</id><published>2007-03-28T09:26:00.000+05:30</published><updated>2007-03-28T09:34:20.381+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='lisp'/><category scheme='http://www.blogger.com/atom/ns#' term='sicp'/><category scheme='http://www.blogger.com/atom/ns#' term='lamda'/><category scheme='http://www.blogger.com/atom/ns#' term='scheme'/><title type='text'>lambda magic</title><content type='html'>&lt;pre&gt;&lt;br /&gt;(define (mcons x y)&lt;br /&gt;  (lambda (p)&lt;br /&gt;    (cond ((= p 1) x)&lt;br /&gt;          ((= p 2) y))))&lt;br /&gt;&lt;br /&gt;(define (mcar x) (x 1))&lt;br /&gt;&lt;br /&gt;(define (mcdr x) (x 2))&lt;br /&gt;&lt;br /&gt;; Using above procedures&lt;br /&gt;(define a (mcons 11 33))&lt;br /&gt;(mcar a)&lt;br /&gt;(mcdr a)&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Some excerpts from SICP on above way of implementation.&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;We never actually said what a pair was, only that the language supplied procedures cons, car, and cdr for operating on pairs. But the only thing we need to know about these three operations is that if we glue two objects together using cons we can retrieve the objects using car and cdr. That is, the operations satisfy the condition that, for any objects x and y, if z is (cons x y) then (car z) is x and (cdr z) is y. Indeed, we mentioned that these three procedures are included as primitives in our&lt;br /&gt;language. However, any triple of procedures that satisfies the above condition can be used as the basis for implementing pairs. This point is illustrated strikingly by the fact that we could implement cons, car, and cdr without using any data structures at all but only using procedures.&lt;br /&gt;&lt;br /&gt;This procedural implementation of pairs is a valid implementation, and if we access pairs using only cons, car, and cdr we cannot distinguish this implementation from one that uses ``real'' data structures.&lt;br /&gt;&lt;br /&gt;The point of exhibiting the procedural representation of pairs is not that our language works this way (Scheme, and Lisp systems in general, implement pairs directly, for efficiency reasons) but that it could work this way.&lt;br /&gt;&lt;br /&gt;This example also demonstrates that the ability to manipulate procedures as objects automatically provides the ability to represent compound data. This may seem a curiosity now, but procedural representations of data will play a central role in our programming repertoire. This style of programming is often called &lt;i&gt;message passing&lt;/i&gt;.&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12348106-5950701284015289695?l=siddharth178.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharth178.blogspot.com/feeds/5950701284015289695/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12348106&amp;postID=5950701284015289695' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/5950701284015289695'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/5950701284015289695'/><link rel='alternate' type='text/html' href='http://siddharth178.blogspot.com/2007/03/lambda-magic.html' title='lambda magic'/><author><name>Siddharth</name><uri>http://www.blogger.com/profile/15121478327546414416</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12348106.post-6982958155040057153</id><published>2007-03-27T14:03:00.000+05:30</published><updated>2007-03-27T14:10:07.216+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='folksonomy'/><category scheme='http://www.blogger.com/atom/ns#' term='tagging'/><category scheme='http://www.blogger.com/atom/ns#' term='internet'/><title type='text'>web  - going in spirals</title><content type='html'>Mr. Abhijit makes very good point &lt;a href="http://iqbalgandham.wordpress.com/2007/02/24/byindia-search-me/#comment-225"&gt;here&lt;/a&gt; of web going in spirals and not in circles. One word changes the whole meaning!&lt;br /&gt;Really, Think of Ajax as the one step ahead to the same old "client-server" as a concept.&lt;br /&gt;&lt;br /&gt;Very cool observation, Abhijit!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12348106-6982958155040057153?l=siddharth178.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharth178.blogspot.com/feeds/6982958155040057153/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12348106&amp;postID=6982958155040057153' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/6982958155040057153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/6982958155040057153'/><link rel='alternate' type='text/html' href='http://siddharth178.blogspot.com/2007/03/web-going-in-spirals.html' title='web  - going in spirals'/><author><name>Siddharth</name><uri>http://www.blogger.com/profile/15121478327546414416</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12348106.post-2792495516198785740</id><published>2007-03-27T10:57:00.000+05:30</published><updated>2007-03-27T11:03:28.362+05:30</updated><title type='text'>advertise your website</title><content type='html'>I have seen some posts on &lt;a href="http://www.paahijen.com"&gt;paahijen.com (TagWise)&lt;/a&gt; which advertise "Solar eclipse photos" taken by someone.&lt;br /&gt;&lt;br /&gt;Its a interesting way to attract people to see your work and nice opportunistic advertisement. :)&lt;br /&gt;&lt;br /&gt;See those posts:&lt;br /&gt;&lt;a href="http://www.paahijen.com/post/show/16"&gt;Solar Eclipse - March 19 2007&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.paahijen.com/post/show/17"&gt;Solar Eclipse&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Enjoy !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12348106-2792495516198785740?l=siddharth178.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharth178.blogspot.com/feeds/2792495516198785740/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12348106&amp;postID=2792495516198785740' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/2792495516198785740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/2792495516198785740'/><link rel='alternate' type='text/html' href='http://siddharth178.blogspot.com/2007/03/advertise-your-website.html' title='advertise your website'/><author><name>Siddharth</name><uri>http://www.blogger.com/profile/15121478327546414416</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12348106.post-7891869372777123338</id><published>2007-03-16T10:04:00.000+05:30</published><updated>2007-03-16T10:17:14.082+05:30</updated><title type='text'>pascal's triangle</title><content type='html'>While reading SICP recently, I came across a exercise  which asks  reader to generate Pascal's Triangle using recursion.&lt;br /&gt;&lt;br /&gt;There are many interesting observations about values that get generated in this triangle. One thing I noticed is, sum all the values generated at each level = 2^(level-1) if you start counting levels from 1.&lt;br /&gt;&lt;br /&gt;So I thought, lets give it a try .. and it was not difficult to come up with this version.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;# Pascal's triangle&lt;br /&gt;&lt;br /&gt;# store to avoid recomputation of the same values&lt;br /&gt;$val_store = {}&lt;br /&gt;&lt;br /&gt;def getval(row, position)&lt;br /&gt;    val = 0&lt;br /&gt;    if position &lt;= 0 or row &lt;= 0 or position &gt; row&lt;br /&gt;        val = 0&lt;br /&gt;    end&lt;br /&gt;    if position == 1 or row == 1 or row == position&lt;br /&gt;        val = 1&lt;br /&gt;    else&lt;br /&gt;        # first check in the store&lt;br /&gt;        if $val_store["#{row}:#{position}"]&lt;br /&gt;            val = $val_store["#{row}:#{position}"]&lt;br /&gt;        else&lt;br /&gt;            val = getval(row - 1, position - 1) + getval(row - 1 , position)&lt;br /&gt;            $val_store["#{row}:#{position}"] = val&lt;br /&gt;        end&lt;br /&gt;    end&lt;br /&gt;    return val&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;def get_row_vals(row)&lt;br /&gt;    row_vals = []&lt;br /&gt;    i = 0&lt;br /&gt;    row.times {&lt;br /&gt;        i = i + 1&lt;br /&gt;        row_vals &lt;&lt; getval(row, i)&lt;br /&gt;    }&lt;br /&gt;    return row_vals&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;rows = ARGV[0].to_i || 20&lt;br /&gt;i = 1&lt;br /&gt;rows.times {&lt;br /&gt;    sum = 0&lt;br /&gt;&lt;br /&gt;    row_vals = get_row_vals i&lt;br /&gt;    row_vals.each { |val|&lt;br /&gt;        sum += val&lt;br /&gt;    }&lt;br /&gt;    puts "Sum: #{sum} Row #{i}: #{row_vals.inspect}"&lt;br /&gt;    i = i + 1&lt;br /&gt;}&lt;br /&gt;puts "Store size: #{$val_store.length}"&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Next thing ... try to implement using lisp?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12348106-7891869372777123338?l=siddharth178.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharth178.blogspot.com/feeds/7891869372777123338/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12348106&amp;postID=7891869372777123338' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/7891869372777123338'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/7891869372777123338'/><link rel='alternate' type='text/html' href='http://siddharth178.blogspot.com/2007/03/pascals-triangle.html' title='pascal&apos;s triangle'/><author><name>Siddharth</name><uri>http://www.blogger.com/profile/15121478327546414416</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12348106.post-113315170521674539</id><published>2005-11-28T09:49:00.000+05:30</published><updated>2005-11-28T09:51:45.226+05:30</updated><title type='text'>Photo blog</title><content type='html'>Now you can see my photo blog here ...&lt;br /&gt;&lt;br /&gt;http://www.flickr.com/photos/siddharth178/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12348106-113315170521674539?l=siddharth178.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharth178.blogspot.com/feeds/113315170521674539/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12348106&amp;postID=113315170521674539' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/113315170521674539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/113315170521674539'/><link rel='alternate' type='text/html' href='http://siddharth178.blogspot.com/2005/11/photo-blog.html' title='Photo blog'/><author><name>Siddharth</name><uri>http://www.blogger.com/profile/15121478327546414416</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12348106.post-112727852978017618</id><published>2005-09-21T10:25:00.000+05:30</published><updated>2005-09-21T10:25:29.780+05:30</updated><title type='text'>Ganapati Utsav Pune (2005)</title><content type='html'>10th day of Ganapati Utsav (Pune)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12348106-112727852978017618?l=siddharth178.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharth178.blogspot.com/feeds/112727852978017618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12348106&amp;postID=112727852978017618' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/112727852978017618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/112727852978017618'/><link rel='alternate' type='text/html' href='http://siddharth178.blogspot.com/2005/09/ganapati-utsav-pune-2005_21.html' title='Ganapati Utsav Pune (2005)'/><author><name>Siddharth</name><uri>http://www.blogger.com/profile/15121478327546414416</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12348106.post-112668131384450888</id><published>2005-09-14T12:25:00.000+05:30</published><updated>2005-09-14T12:31:53.846+05:30</updated><title type='text'>14 Sep 2005</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/1206/352/1600/p9140024.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger/1206/352/320/p9140024.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;"Jasvanda" from my terrace.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12348106-112668131384450888?l=siddharth178.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharth178.blogspot.com/feeds/112668131384450888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12348106&amp;postID=112668131384450888' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/112668131384450888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/112668131384450888'/><link rel='alternate' type='text/html' href='http://siddharth178.blogspot.com/2005/09/14-sep-2005.html' title='14 Sep 2005'/><author><name>Siddharth</name><uri>http://www.blogger.com/profile/15121478327546414416</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12348106.post-111414532270427048</id><published>2005-04-22T10:17:00.000+05:30</published><updated>2005-04-22T10:18:42.706+05:30</updated><title type='text'>start</title><content type='html'>start.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12348106-111414532270427048?l=siddharth178.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharth178.blogspot.com/feeds/111414532270427048/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12348106&amp;postID=111414532270427048' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/111414532270427048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12348106/posts/default/111414532270427048'/><link rel='alternate' type='text/html' href='http://siddharth178.blogspot.com/2005/04/start.html' title='start'/><author><name>Siddharth</name><uri>http://www.blogger.com/profile/15121478327546414416</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry></feed>
