<?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-1981456956062899566</id><updated>2012-01-19T03:25:41.040-08:00</updated><title type='text'>OOPs.. I Don't have to do it again</title><subtitle type='html'>Laziestttt way to do programming.. and other thoughts</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>31</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-2022246332984067587</id><published>2012-01-19T03:20:00.001-08:00</published><updated>2012-01-19T03:20:21.233-08:00</updated><title type='text'>Siemens Washing Machine : Kill the Buzzer</title><content type='html'>&lt;p&gt;The washing machine we have has the habit of sending out an irritating beep after it finishes the wash cycle.&lt;/p&gt;  &lt;p&gt;Ok enough; but these intermittent beeps go on and on and on till it is sure everyone came back home after your attending your funeral. One awful engineer who programmed the chip.&lt;/p&gt;  &lt;p&gt;Anyway, been looking around the net if there is a work around. Found this written by some Russian. I didn’t have patience to correct the grammar entirely. If the below does&amp;#160; not work, there is always the option of an Axe and ‘hey Siemens,..Heeeere is Johnyyy!)&lt;/p&gt;  &lt;p&gt;-- text&lt;/p&gt;  &lt;p&gt;You can change the volume of the buzzer according   &lt;br /&gt;to your requirement.    &lt;br /&gt;The operation procedure:    &lt;br /&gt;1. Switch on the machine,turn the program selector    &lt;br /&gt;to Off . &lt;/p&gt;  &lt;p&gt;2. Turn the program selector to cold Easy-care ,   &lt;br /&gt;press the additional function button Intensive    &lt;br /&gt;stains and dont let go. You can hear the volume    &lt;br /&gt;of the buzzer from minimum to maximum to off    &lt;br /&gt;cycled (I didnt hear this!). If you decide the volume that you wanted,    &lt;br /&gt;loosen your finger. &lt;/p&gt;  &lt;p&gt;3. Finally,turn the program selector to Off . If   &lt;br /&gt;necessary,select other programs by turning    &lt;br /&gt;the program selector after several seconds. &lt;/p&gt;  &lt;p&gt;4. If the volume of buzzer has been opened,you   &lt;br /&gt;can hear the audible feedback as same volume    &lt;br /&gt;as buzzer when you press Start button. If be    &lt;br /&gt;not opened,you can t hear the voice.The operation    &lt;br /&gt;may check if the volume of buzzer has    &lt;br /&gt;been opened.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-2022246332984067587?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/2022246332984067587/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2012/01/siemens-washing-machine-kill-buzzer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/2022246332984067587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/2022246332984067587'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2012/01/siemens-washing-machine-kill-buzzer.html' title='Siemens Washing Machine : Kill the Buzzer'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-4006370836653371895</id><published>2011-12-27T03:44:00.001-08:00</published><updated>2011-12-27T03:44:21.002-08:00</updated><title type='text'>About Pitroda &amp; the C in Congress</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.indianexpress.com/news/the-c-in-congress/892432/"&gt;http://www.indianexpress.com/news/the-c-in-congress/892432/&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;For once, I think Mr. Mehta is mistaken.&lt;/p&gt;  &lt;p&gt;Even if Congress was the paragon of virtue for 50 years as the author wishes them to be, it would have made no significant, in my opinion, to difference in attitudes towards caste. &lt;/p&gt;  &lt;p&gt;For all its advancements, Americans of African origin started to join the mainstream only from the 80's. Oprah and MJ helped the process. Obama cemented it.&lt;/p&gt;  &lt;p&gt;Secondly what is wrong in calling Sam Pitroda by caste? Why is it ever demeaning? &lt;/p&gt;  &lt;p&gt;A child born does not understand what caste means. The narrow identity is instilled into it by society and parents. The only way the child can get out of this is if they identify with role models whose talent or professional success outshines the perceived limitations of caste identity.&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;If society still thinks it is shameful for Pitroda to be identified by a certain identity, then it denies opportunity to those currently in that bracket, to think of Pitroda as someone who transcended prejudice or discrimination. &lt;/p&gt;  &lt;p&gt;I would appreciate Rahul in fact! He is emulating Mayawati, without spending on statues.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-4006370836653371895?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/4006370836653371895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2011/12/about-pitroda-c-in-congress.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/4006370836653371895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/4006370836653371895'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2011/12/about-pitroda-c-in-congress.html' title='About Pitroda &amp;amp; the C in Congress'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-6202800478284268358</id><published>2011-11-08T07:40:00.001-08:00</published><updated>2011-11-08T07:40:43.137-08:00</updated><title type='text'>UML Use Case</title><content type='html'>&lt;p&gt;Do not try to make sense of it as an English word. Use of Case, Case of Use.. no no.&lt;/p&gt;  &lt;p&gt;Use Case title is the statement of the actor's goal in a verb phrase. e.g. “Admit Patient”&lt;/p&gt;  &lt;p&gt;Actor : Someone who has a goal in using the system. “Nurse”&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-6202800478284268358?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/6202800478284268358/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2011/11/uml-use-case.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/6202800478284268358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/6202800478284268358'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2011/11/uml-use-case.html' title='UML Use Case'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-5336286730983730853</id><published>2011-08-30T10:04:00.001-07:00</published><updated>2011-08-30T10:04:10.651-07:00</updated><title type='text'>Regular Expression for Numerics (Integer and Decimal)</title><content type='html'>&lt;p&gt;Sometimes you need to validate your ASP.net web form user input for numeric values.. The following works for me&lt;/p&gt;  &lt;p&gt;Any integer, positive or negative&lt;/p&gt;  &lt;p&gt;^[-+]?[0-9]*$&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Validates&lt;/strong&gt;    &lt;br /&gt;-9    &lt;br /&gt;9    &lt;br /&gt;12    &lt;br /&gt;1352345234    &lt;br /&gt;–3434134    &lt;br /&gt; +34&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Does not validate     &lt;br /&gt;&lt;/strong&gt;-9.6    &lt;br /&gt;+89.9&lt;/p&gt;  &lt;p&gt;Any decimal/float value&lt;/p&gt;  &lt;p&gt;Being: positive or negative, specified maximum length, limited number of decimals&lt;/p&gt;  &lt;p&gt;^[-+]?\d{0,12}(\.\d{1,2})?$&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Validates     &lt;br /&gt;&lt;/strong&gt;123456789012.34    &lt;br /&gt;-123456789012.34    &lt;br /&gt;+123.45&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;D0es not validate     &lt;br /&gt;&lt;/strong&gt;1234567890123    &lt;br /&gt;1234.123&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-5336286730983730853?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/5336286730983730853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2011/08/regular-expression-for-numerics-integer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/5336286730983730853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/5336286730983730853'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2011/08/regular-expression-for-numerics-integer.html' title='Regular Expression for Numerics (Integer and Decimal)'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-8316433150668842222</id><published>2011-08-05T05:26:00.001-07:00</published><updated>2012-01-19T03:25:41.046-08:00</updated><title type='text'>Reversing Yakov Smirnoff</title><content type='html'>&lt;p&gt;&lt;a href="http://lh5.ggpht.com/-NE3mFO1x8fI/Txf9L9CyNWI/AAAAAAAAAFM/sRjcEugYPeY/s1600-h/TheAmericanReversal5%25255B9%25255D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="The American Reversal" border="0" alt="The American Reversal" src="http://lh6.ggpht.com/-_fjDtpdLek4/TjvhgEg66mI/AAAAAAAAAFQ/hPgHcLHYNpQ/TheAmericanReversal5_thumb%25255B8%25255D.jpg?imgmax=800" width="434" height="437" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-8316433150668842222?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/8316433150668842222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2011/08/reversing-yakov-smirnoff.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/8316433150668842222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/8316433150668842222'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2011/08/reversing-yakov-smirnoff.html' title='Reversing Yakov Smirnoff'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/-_fjDtpdLek4/TjvhgEg66mI/AAAAAAAAAFQ/hPgHcLHYNpQ/s72-c/TheAmericanReversal5_thumb%25255B8%25255D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-3452340578630840189</id><published>2011-07-19T11:43:00.001-07:00</published><updated>2011-07-19T11:50:42.476-07:00</updated><title type='text'>Truncate LOG files of SQL Server</title><content type='html'>&lt;p&gt;USE tmssmall    &lt;br /&gt;GO     &lt;br /&gt;DBCC SHRINKFILE(tmssmall_log, 1)     &lt;br /&gt;BACKUP LOG tmssmall WITH TRUNCATE_ONLY     &lt;br /&gt;DBCC SHRINKFILE(tmssmall_log, 1)     &lt;br /&gt;GO&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;tmssmall is name of database&lt;/p&gt;  &lt;p&gt;So… copy the above text entirely to Notepad&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Ctr+H&lt;/li&gt;    &lt;li&gt;Find what is ‘tmssmall’&lt;/li&gt;    &lt;li&gt;Replace with is ‘yourdatabasename’&lt;/li&gt;    &lt;li&gt;OK.&lt;/li&gt;    &lt;li&gt;Copy the new text and execute query&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Save space!!&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-3452340578630840189?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/3452340578630840189/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2011/07/truncate-log-files-of-sql-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/3452340578630840189'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/3452340578630840189'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2011/07/truncate-log-files-of-sql-server.html' title='Truncate LOG files of SQL Server'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-6751011353151264691</id><published>2011-04-18T12:34:00.001-07:00</published><updated>2011-04-18T12:34:38.510-07:00</updated><title type='text'>Datatable Grouping in .Net 2.0</title><content type='html'>&lt;p&gt;This functionality is missing in the GridView control.&lt;/p&gt;  &lt;p&gt;There are various ways to go about it. I thought I will do it without Ajax or other overheads.&lt;/p&gt;  &lt;p&gt;The following code takes in a Datatable as input and returns the grouped Datatable as output.&lt;/p&gt;  &lt;p&gt;Make the output datatable the source of any gridview!&lt;/p&gt;  &lt;p&gt;The parameters allow multi column grouping and sorting&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_8EcaYJnmUps/TaySRinXNJI/AAAAAAAAAEY/qYAXG2LIvw8/s1600-h/image%5B2%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_8EcaYJnmUps/TaySSPfzqEI/AAAAAAAAAEc/be1J61XIm88/image_thumb.png?imgmax=800" width="182" height="244" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;becomes&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_8EcaYJnmUps/TaySS0vUACI/AAAAAAAAAEg/97-RbLKrfVg/s1600-h/image%5B6%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_8EcaYJnmUps/TaySTccJeEI/AAAAAAAAAEk/tIHpvGrADI8/image_thumb%5B2%5D.png?imgmax=800" width="287" height="445" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;-----------------------------------------------------------------------&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Public Shared Function GroupDataTable(ByVal T1 As DataTable, ByVal GroupByColumns As String(), _   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Optional ByVal SortOrder As Boolean() = Nothing, _    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Optional ByVal SumColumns As String() = Nothing, _    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Optional ByVal HeaderCell As Integer = 0 _    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; ) As DataTable &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Dim T2 As New DataTable   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Dim sortStr As String = &amp;quot;&amp;quot;    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Dim i, j, N, T, m As Integer    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Dim dR1 As DataRow    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Dim drSum As DataRow    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Dim xS As Double &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Try   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Dim dView As DataView = T1.DefaultView    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; For i = 0 To GroupByColumns.Length - 1    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; If String.IsNullOrEmpty(sortStr) Then    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; sortStr = GroupByColumns(i)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Else    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; sortStr = sortStr &amp;amp; &amp;quot;, &amp;quot; &amp;amp; GroupByColumns(i)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; End If &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; If Not IsNothing(SortOrder) Then   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; If SortOrder.Length &amp;gt; i Then    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; If SortOrder(i) = False Then    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; sortStr = sortStr &amp;amp; &amp;quot; &amp;quot; &amp;amp; &amp;quot;DESC&amp;quot;    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; End If    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; End If    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; End If    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Next    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; dView.Sort = sortStr    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; T2 = dView.ToTable    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ' Sorting Done &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Dim Gr1 As String = &amp;quot;&amp;quot;   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Dim Gr2 As String    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; T = T2.Rows.Count &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; drSum = T2.NewRow &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; For j = 0 To T - 1   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; m = m + 1    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Gr2 = T2.Rows(j + N)(GroupByColumns(0))    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; For i = 1 To GroupByColumns.Length - 1    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Gr2 = Gr2 &amp;amp; &amp;quot;&amp;gt;&amp;quot; &amp;amp; T2.Rows(j + N)(GroupByColumns(i))    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Next    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; If Gr2 &amp;lt;&amp;gt; Gr1 Then&amp;#160;&amp;#160; 'Group changes    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 'Header row    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Gr1 = Gr2    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; dR1 = T2.NewRow    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; dR1(HeaderCell) = Gr1    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; T2.Rows.InsertAt(dR1, j + N)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; N = N + 1 &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 'Summary row   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; If Not IsNothing(SumColumns) And j &amp;gt; 0 Then    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; drSum(HeaderCell) = &amp;quot;Rows: &amp;quot; &amp;amp; (m - 1)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; T2.Rows.InsertAt(drSum, j + N - 1)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; N = N + 1    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; drSum = T2.NewRow    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; xS = 0    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; m = 1    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; End If    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; End If &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 'create summary rows   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; If Not IsNothing(SumColumns) Then    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; For i = 1 To SumColumns.Length    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; If Not IsDBNull(drSum(SumColumns(i - 1))) Then xS = drSum(SumColumns(i - 1))    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; If Not IsDBNull(T2.Rows(j + N)(SumColumns(i - 1))) Then xS = xS + T2.Rows(j + N)(SumColumns(i - 1))    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; drSum(SumColumns(i - 1)) = xS    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Next    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; End If    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; '---------    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Next    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 'Last summary row    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; If Not IsNothing(SumColumns) Then    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; drSum(HeaderCell) = &amp;quot;Rows: &amp;quot; &amp;amp; m    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; T2.Rows.Add(drSum)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; End If &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 'Row increment done &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; T2.AcceptChanges()   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; T2 = T2.Copy &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Catch ex As Exception   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Throw    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; End Try &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Return T2 &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; End Function&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-6751011353151264691?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/6751011353151264691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2011/04/datatable-grouping-in-net-20.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/6751011353151264691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/6751011353151264691'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2011/04/datatable-grouping-in-net-20.html' title='Datatable Grouping in .Net 2.0'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_8EcaYJnmUps/TaySSPfzqEI/AAAAAAAAAEc/be1J61XIm88/s72-c/image_thumb.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-3302548659040758719</id><published>2011-03-16T04:13:00.001-07:00</published><updated>2011-03-16T04:13:29.444-07:00</updated><title type='text'>Reset Identity in Table – MS SQL Server</title><content type='html'>&lt;p&gt;Bloody syntax.. keep forgetting&lt;/p&gt;  &lt;p&gt;DBCC CHECKIDENT (budgcodes, RESEED, 0)&lt;/p&gt;  &lt;p&gt;DBCC CHECKIDENT (tablename1, RESEED, 0)&lt;/p&gt;  &lt;p&gt;DBCC CHECKIDENT (tablename2, RESEED, 0)&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;phew.. like learning multiplication tables in primary school&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-3302548659040758719?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/3302548659040758719/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2011/03/reset-identity-in-table-ms-sql-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/3302548659040758719'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/3302548659040758719'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2011/03/reset-identity-in-table-ms-sql-server.html' title='Reset Identity in Table – MS SQL Server'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-805587365672481027</id><published>2011-02-09T06:08:00.001-08:00</published><updated>2011-02-09T06:08:30.975-08:00</updated><title type='text'>I am a Congressi</title><content type='html'>&lt;p&gt;Really.. hope to get in someday :)&lt;/p&gt;  &lt;p&gt;Inspired by Karunakaran and a famous mimicry&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_8EcaYJnmUps/TVKf2q_MfPI/AAAAAAAAAEQ/Q4nKzwP9FVU/s1600-h/congress%5B3%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="congress" border="0" alt="congress" src="http://lh4.ggpht.com/_8EcaYJnmUps/TVKf3SCEHsI/AAAAAAAAAEU/FeNgdq8SJJA/congress_thumb%5B1%5D.jpg?imgmax=800" width="565" height="508" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-805587365672481027?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/805587365672481027/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2011/02/i-am-congressi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/805587365672481027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/805587365672481027'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2011/02/i-am-congressi.html' title='I am a Congressi'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_8EcaYJnmUps/TVKf3SCEHsI/AAAAAAAAAEU/FeNgdq8SJJA/s72-c/congress_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-7428094743744587387</id><published>2010-12-08T01:55:00.001-08:00</published><updated>2010-12-08T01:55:38.895-08:00</updated><title type='text'>Re: The UPA’s split personality</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h4&gt;The UPA’s split personality&lt;/h4&gt;  &lt;p&gt;&lt;a title="http://www.indianexpress.com/news/the-upas-split-personality/721805/0" href="http://www.indianexpress.com/news/the-upas-split-personality/721805/0"&gt;http://www.indianexpress.com/news/the-upas-split-personality/721805/0&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Fantastic and incisive article!&lt;/p&gt;  &lt;p&gt;The case does not only apply to 'Big' business.   &lt;br /&gt;Even when a startup business attempts to legitimately create value, it runs into the blurred rule structure defined by the state.    &lt;br /&gt;On the other hand, in a capitalist system, if a process/idea proves that Money can be made, then it will get made. Either by the originator, or the copier.    &lt;br /&gt;Also if there are enough parties aggrieved at losing money due to illogical/crony C policies of the state (ultimately represented by individuals responding to incentives), then they will provide the push to correct the imbalance.    &lt;br /&gt;South Korean history is a very good indicator. &lt;/p&gt;  &lt;p&gt;The only solution to 'scams' is to bring in more and more competition. &lt;/p&gt;  &lt;p&gt;The state does need to keep the moral balance to protect causes without an immediate monetary incentive, like the Environment. Let us hope such policing is always logical and not dogmatic which is what sometimes Mr. Jairam Ramesh is tending to be.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-7428094743744587387?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/7428094743744587387/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2010/12/re-upas-split-personality.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/7428094743744587387'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/7428094743744587387'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2010/12/re-upas-split-personality.html' title='Re: The UPA’s split personality'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-6468066452508636986</id><published>2010-09-17T00:46:00.001-07:00</published><updated>2010-09-17T00:46:53.773-07:00</updated><title type='text'>Samsung Remote Control – TV &amp; DVD</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://ars.samsung.com/customer/ctry/jsp/faqs/faqs_view.jsp?SITE_ID=24&amp;amp;isARS=Y&amp;amp;AT_ID=20131&amp;amp;ARS_ID=9050369"&gt;http://ars.samsung.com/customer/ctry/jsp/faqs/faqs_view.jsp?SITE_ID=24&amp;amp;isARS=Y&amp;amp;AT_ID=20131&amp;amp;ARS_ID=9050369&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;We have a 40’ Samsung LCD TV as well as a Samsung DVD Recorder with Hard Drive.&lt;/p&gt;  &lt;p&gt;The remotes of the two machines works interchangeably. ie.; You can switch on/off TV, change source etc with the DVD remote. Likewise, you can pause, play, stop etc with the TV remote.&lt;/p&gt;  &lt;p&gt;One fine day I find that the dvd remote is not being recognised by the TV. &lt;/p&gt;  &lt;p&gt;Felt a bit like Excel files not recognised by Access! ;)&lt;/p&gt;  &lt;p&gt;Luckily I found the link above after some searching.&lt;/p&gt;  &lt;p&gt;To sort it out, I did the following&lt;/p&gt;  &lt;p&gt;&lt;b&gt;For DVD Players (Only If DVD Remote control has a TV Power Button)&lt;/b&gt;&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Turn on the TV&lt;/li&gt;    &lt;li&gt;Point the DVD's remote at the TV.&lt;/li&gt;    &lt;li&gt;While holding the TV POWER&amp;#160; button (on the DVD Remote) down, enter the code for your brand. (For Samsung it is ‘01’)&lt;/li&gt;    &lt;li&gt;If the TV turns off, setup is complete.      &lt;br /&gt;Enter other codes of the same brand if the first code does not work.&lt;/li&gt;    &lt;li&gt;To operate the TV, use the TVPower, Channel Up and Down, Volume Up and Down and TV Video Button.&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Cool.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-6468066452508636986?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/6468066452508636986/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2010/09/samsung-remote-control-tv-dvd.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/6468066452508636986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/6468066452508636986'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2010/09/samsung-remote-control-tv-dvd.html' title='Samsung Remote Control – TV &amp;amp; DVD'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-1672329547588910884</id><published>2010-07-22T02:25:00.000-07:00</published><updated>2010-07-22T02:28:15.846-07:00</updated><title type='text'>Sambar recipe</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_8EcaYJnmUps/TEgPCJ7cGwI/AAAAAAAAACc/4mCpke4bxWE/s1600/Sambar.JPG"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 300px; DISPLAY: block; HEIGHT: 400px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5496659874905070338" border="0" alt="" src="http://3.bp.blogspot.com/_8EcaYJnmUps/TEgPCJ7cGwI/AAAAAAAAACc/4mCpke4bxWE/s400/Sambar.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;In powerpoint.. &lt;/div&gt;&lt;br /&gt;&lt;div&gt;did it long ago when my mother was giving me tuition on cooking :)&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-1672329547588910884?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/1672329547588910884/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2010/07/sambar-recipe.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/1672329547588910884'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/1672329547588910884'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2010/07/sambar-recipe.html' title='Sambar recipe'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_8EcaYJnmUps/TEgPCJ7cGwI/AAAAAAAAACc/4mCpke4bxWE/s72-c/Sambar.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-884342312457175653</id><published>2010-03-17T05:59:00.000-07:00</published><updated>2010-03-17T06:11:37.809-07:00</updated><title type='text'>Fixing laptop keys</title><content type='html'>Our 5 year old Acer Extensa laptop is being dismantled by Nandan.&lt;br /&gt;&lt;br /&gt;2 years and a month old, and he can use the windows key to pop up the start menu, use the touchpad to go to his favorite program (skype, to check if Gaan-ma is Off ine or not).&lt;br /&gt;Other shenanigans include opening all sites one by one in the favorites bar, playing minesweeper, changing skype profile image, changing windows user image (dont know how he manages this one), playing Reversi at expert level setting (maybe watching me on it most of the time)&lt;br /&gt;&lt;br /&gt;Recently though I found two of the keys missing.&lt;br /&gt;After searching and finding the parts, the problem was how to put them back!&lt;br /&gt;&lt;br /&gt;I cannot offer any images here, though it would have been helpful.&lt;br /&gt;To fit the key back, follow these steps&lt;br /&gt;&lt;br /&gt;- Take out all pieces, dont leave anything on the keyboard. Usually there are 3. The button, and two other parts.&lt;br /&gt;- The 2 parts apart from the button will fit into each other like an X&lt;br /&gt;- In the case of Acer keyboard, one piece will go into the other and pivot, thus forming a movable X that moves freely at the midpoint.&lt;br /&gt;- To make the pivot, there will be two pins sticking out of one piece which go into holes in the other piece. These holes are not very visible, but they are there! I found it after lot of attempts to fit the pieces in.&lt;br /&gt;- OK. After getting the movable X ready, flatten it after hooking to the points in the keyboard. The two pieces will have their points which will snap in.&lt;br /&gt;- Finally push the keyboard button into place and push it all the way down hard.&lt;br /&gt;- Hopefully you will hear a couple of click sounds which is of the 2 parts binding to the Button&lt;br /&gt;&lt;br /&gt;Good luck!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-884342312457175653?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/884342312457175653/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2010/03/fixing-laptop-keys.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/884342312457175653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/884342312457175653'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2010/03/fixing-laptop-keys.html' title='Fixing laptop keys'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-2041640459091483418</id><published>2010-03-17T05:23:00.000-07:00</published><updated>2010-03-17T05:29:04.080-07:00</updated><title type='text'>Acer laptop - Windows xp hangs after login</title><content type='html'>But works perfectly in safe mode! Works with external mouse instead of touchpad!&lt;br /&gt;Wierd.&lt;br /&gt;&lt;br /&gt;Full scan did not find a virus. Including a rescue disc scan booting from Linux ;)&lt;br /&gt;Was getting perplexed and frustrated.&lt;br /&gt;&lt;br /&gt;The system became unresponsive the moment the &lt;span id="SPELLING_ERROR_0" class="blsp-spelling-error"&gt;username&lt;/span&gt; password screen came up.&lt;br /&gt;Most posts pointed to a likelihood of failed driver.&lt;br /&gt;&lt;br /&gt;The problem of all things was the BATTERY!&lt;br /&gt;&lt;span id="SPELLING_ERROR_1" class="blsp-spelling-error"&gt;Apparently due to age, it was not providing enough power for the keyboard and mouse.&lt;/span&gt;&lt;br /&gt;&lt;span class="blsp-spelling-error"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="blsp-spelling-error"&gt;Also it would work if you disable the Microsoft ACPI compliant control from the Device Manager.&lt;/span&gt;&lt;br /&gt;&lt;span class="blsp-spelling-error"&gt;Best option is to replace battery.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-2041640459091483418?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/2041640459091483418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2010/03/acer-laptop-windows-xp-hangs-after.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/2041640459091483418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/2041640459091483418'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2010/03/acer-laptop-windows-xp-hangs-after.html' title='Acer laptop - Windows xp hangs after login'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-7885262269621594683</id><published>2010-03-17T05:10:00.000-07:00</published><updated>2010-03-17T05:23:34.724-07:00</updated><title type='text'>It has arrived</title><content type='html'>&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 320px; DISPLAY: block; HEIGHT: 240px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5449576647372069090" border="0" alt="" src="http://1.bp.blogspot.com/_8EcaYJnmUps/S6DJFnLgWOI/AAAAAAAAACM/4hAICI6VwsQ/s320/mito2.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;Been using for about 2 months ..&lt;br /&gt;Newness and excitement is wearing off :)&lt;br /&gt;Still polishing after a dirty drive though.&lt;br /&gt;&lt;br /&gt;Engine could have had more power. Had opted for the 1.3 JTDM (the smallest diesel for the model), so cant really complain.&lt;br /&gt;Has the nasty habit of stalling when moving off even at the slowest of speeds.&lt;br /&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 320px; DISPLAY: block; HEIGHT: 240px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5449575338832997826" border="0" alt="" src="http://2.bp.blogspot.com/_8EcaYJnmUps/S6DH5cfercI/AAAAAAAAACE/VuOhQvwHLh0/s320/mito1.jpg" /&gt;&lt;br /&gt;Looks are nice. No denying!&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 320px; DISPLAY: block; HEIGHT: 240px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5449576779292606370" border="0" alt="" src="http://3.bp.blogspot.com/_8EcaYJnmUps/S6DJNSnz_6I/AAAAAAAAACU/UHBrk5u1Z5Y/s320/mito3.jpg" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-7885262269621594683?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/7885262269621594683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2010/03/it-has-arrived.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/7885262269621594683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/7885262269621594683'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2010/03/it-has-arrived.html' title='It has arrived'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_8EcaYJnmUps/S6DJFnLgWOI/AAAAAAAAACM/4hAICI6VwsQ/s72-c/mito2.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-2051167130238735333</id><published>2009-12-22T04:07:00.000-08:00</published><updated>2009-12-22T04:30:36.203-08:00</updated><title type='text'>Object Events</title><content type='html'>Lately I have been doing some thinking on the 'action' part of Objects.&lt;br /&gt;&lt;br /&gt;Objects have properties. But how do you describe an action or an occurrence?&lt;br /&gt;&lt;br /&gt;When the accelerator is pressed, the car moves.&lt;br /&gt;&lt;br /&gt;One way I thought is that there could be an Observer object.&lt;br /&gt;The Accelerator is subscribed to the Observer.&lt;br /&gt;&lt;br /&gt;Upon Creation, Update or Delete of the target object, say A, a sequence of actions have to take place.&lt;br /&gt;I was trying to find a structure for this.&lt;br /&gt;&lt;br /&gt;Also CRUD events of A can be initiated by itself or another object B&lt;br /&gt;&lt;br /&gt;So to start off, there has to be a table&lt;br /&gt;&lt;br /&gt;Id -&gt; unique  eg= 7&lt;br /&gt;Action -&gt; Create/update/delete&lt;br /&gt;TargetObj-&gt; A&lt;br /&gt;CallerObj-&gt; A&lt;br /&gt;&lt;br /&gt;for event id 7,&lt;br /&gt;properties of [A], say A1,A2,A3.. have to be populated with values.&lt;br /&gt;The structure for this operation needed a lot of thought and was quite frustrating.&lt;br /&gt;(Yes I know exact same thing has been done before by someone, but I cannot find that information, nor is there anyone to guide)&lt;br /&gt;&lt;br /&gt;Ok, getting back.&lt;br /&gt;&lt;br /&gt;The key conclusions I derived are the following.&lt;br /&gt;&lt;br /&gt;Upon event concerning [A],&lt;br /&gt;A specific property of [A], say A1&lt;br /&gt;can have&lt;br /&gt;&lt;br /&gt;i- A static value&lt;br /&gt;OR&lt;br /&gt;ii- Value equal to a specific Property of a specific Object whose instance is dynamic&lt;br /&gt;OR&lt;br /&gt;iii- Value equal to a specific Property of a specific Object whose instance is static&lt;br /&gt;&lt;br /&gt;To explain,&lt;br /&gt;(i) is easy. Self explanatory&lt;br /&gt;(ii) Property A3 = Property C3 (of object C, instance of which is derived through a property of A)&lt;br /&gt;(ii) Also self explanatory.&lt;br /&gt;&lt;br /&gt;Well if anyone has any queries or suggestions, please comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-2051167130238735333?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/2051167130238735333/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2009/12/object-events.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/2051167130238735333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/2051167130238735333'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2009/12/object-events.html' title='Object Events'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-7084812931847598089</id><published>2009-10-18T03:24:00.001-07:00</published><updated>2009-11-03T06:39:37.899-08:00</updated><title type='text'>Something to look forward to..</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/_8EcaYJnmUps/Strv3urJJoI/AAAAAAAAAB8/St4LjbqdLXk/s1600-h/opel1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_8EcaYJnmUps/Strv3urJJoI/AAAAAAAAAB8/St4LjbqdLXk/s320/opel1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5393887244430419586" /&gt;&lt;/a&gt;&lt;br /&gt;Lucky chap can get a newer car. &lt;br /&gt;..Not that he can complain about the Corsa&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_8EcaYJnmUps/StrtFpdnJHI/AAAAAAAAABk/HrF6X_ZEVmw/s1600-h/Mito_crop.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 198px;" src="http://2.bp.blogspot.com/_8EcaYJnmUps/StrtFpdnJHI/AAAAAAAAABk/HrF6X_ZEVmw/s320/Mito_crop.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5393884185014772850" /&gt;&lt;/a&gt;&lt;br /&gt;Bit on the expensive side, low on practicality with the 2 doors and stuff.. but then its only one life that you got and might as well turn some heads during the time you are around ;)&lt;br /&gt;I hope the blue eyed blondes in kindergarten take notice of the little naughty coming in the red car.&lt;br /&gt;&lt;br /&gt;Have booked the Alfa 3 weeks or so ago. Red as in the pic, leather seats with some camel shade, 17'' alloys, Alfa DNA were included in the Distinctive version. 1.3 diesel engine as im not much into speed.&lt;br /&gt;3-4 month wait for delivery!&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_8EcaYJnmUps/StruEg-yAEI/AAAAAAAAABs/MLq-7jp5tSc/s1600-h/alfa_mito_1280x1024.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 256px;" src="http://1.bp.blogspot.com/_8EcaYJnmUps/StruEg-yAEI/AAAAAAAAABs/MLq-7jp5tSc/s320/alfa_mito_1280x1024.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5393885265069736002" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-7084812931847598089?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/7084812931847598089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2009/10/nandan-waits.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/7084812931847598089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/7084812931847598089'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2009/10/nandan-waits.html' title='Something to look forward to..'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_8EcaYJnmUps/Strv3urJJoI/AAAAAAAAAB8/St4LjbqdLXk/s72-c/opel1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-5011350839642311093</id><published>2009-10-18T03:01:00.000-07:00</published><updated>2009-10-18T03:10:45.151-07:00</updated><title type='text'>Memories of Guj, Bacchon ka beer</title><content type='html'>Not a Hoegaarden being served.. or is it?&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_8EcaYJnmUps/StroS3G_QQI/AAAAAAAAABc/rdFRKOKeNFI/s1600-h/child+beer.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 241px;" src="http://3.bp.blogspot.com/_8EcaYJnmUps/StroS3G_QQI/AAAAAAAAABc/rdFRKOKeNFI/s320/child+beer.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5393878914458140930" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The signboard font and the surroundings look very familiar. Interior Gujarat..or Rajasthan most likely.&lt;br /&gt;&lt;br /&gt;Brings back some memories of Halol and the Zerox ("Jeerox") shops around which I killed a few years.&lt;br /&gt;&lt;br /&gt;Source - unknown. Place unknown. Came in one of those fwd fwd fwd emails.&lt;br /&gt;All credits to the original photographer.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-5011350839642311093?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/5011350839642311093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2009/10/memories-of-guj.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/5011350839642311093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/5011350839642311093'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2009/10/memories-of-guj.html' title='Memories of Guj, Bacchon ka beer'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_8EcaYJnmUps/StroS3G_QQI/AAAAAAAAABc/rdFRKOKeNFI/s72-c/child+beer.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-4610948922237603390</id><published>2009-10-09T07:39:00.000-07:00</published><updated>2009-10-18T02:41:22.515-07:00</updated><title type='text'>Quotable quote - Review of "Gone with the wind"</title><content type='html'>This was one funny review..and I fully agree with the person who wrote it.&lt;br /&gt;Made me think of the similar pattern in Indian films where the protagonists are invariably of the upper class with appropriate surname - If NOT; then the character  necessarily has to have certain undignified mannerisms that point to where he/she came from.&lt;br /&gt;--&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_8EcaYJnmUps/Ss9MWYEUrPI/AAAAAAAAABU/jagmAhrv7hg/s1600-h/gone_with_the_wind.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 214px; height: 320px;" src="http://3.bp.blogspot.com/_8EcaYJnmUps/Ss9MWYEUrPI/AAAAAAAAABU/jagmAhrv7hg/s320/gone_with_the_wind.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5390611226287189234" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;How can anyone seriously criticize this film? Well, some people can, but that’s not my point. The point is that this is the greatest American film since “Birth of a Nation.” Watch in awe as Scarlett and Ashley pine for the bygone days when the soft high sound of Negro laughter rises like the Louisiana marsh mist from the decrepit, rat-infested slave quarters swimming in lice and feces. Chortle with Rhett as he sprays misogyny across Georgia like an alley cat with a urinary tract infection. Pray with the Confederacy as it bravely attempts to defend time-honored traditions of patriarchal subjugation, racist contempt for human life and belligerent arrogance bordering on the psychotic. Boo and hiss as uppity Negroes humiliate the once proud South by asking for things like civil rights and a decent standard of living. Cheer for Scarlett (again) as she pops all her scruples like over-ripe zits in her pathological quest for a goal even she doesn’t understand. And finally, share in the triumph of the filmmakers as they achieve the astounding feat of creating sympathy and admiration for one of the most sordid and shameful chapters in American history. Can you think of any reason modern audiences might not be totally pleased with this sugar-coated atavism? I sure can’t.&lt;br /&gt;&lt;br /&gt;Arch Stanton  (Pasto, Columbia)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-4610948922237603390?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/4610948922237603390/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2009/10/quotable-quote-review-of-gone-with-wind.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/4610948922237603390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/4610948922237603390'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2009/10/quotable-quote-review-of-gone-with-wind.html' title='Quotable quote - Review of &quot;Gone with the wind&quot;'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_8EcaYJnmUps/Ss9MWYEUrPI/AAAAAAAAABU/jagmAhrv7hg/s72-c/gone_with_the_wind.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-888972431180582363</id><published>2009-10-09T07:18:00.000-07:00</published><updated>2009-10-18T02:42:58.896-07:00</updated><title type='text'>Finding obsolete DLL and OCX files</title><content type='html'>Today I had to make an ancient application developed in VB6 work. This was to demonstrate to third parties that this app was once functional and used actively for business.&lt;br /&gt;&lt;br /&gt;The code was provided in some backup CD. The programmer behind the project had long dissappeared.&lt;br /&gt;Also most of the components used in the project were made by companies that have ceased to exist.&lt;br /&gt;&lt;br /&gt;Result was that the code would not compile in my machine.&lt;br /&gt;Errors were thrown up like "component xyz not registered"  "Invalid Reference"  and so on.&lt;br /&gt;&lt;br /&gt;Only way was to find these dlls somehow and register them manually using regsvr32&lt;br /&gt;But how?? and where to find them!&lt;br /&gt;&lt;br /&gt;It was interesting to search for companies that made products such as SSINPUT1.ocx and sold them for $500+&lt;br /&gt;Needless to say, then went either bust or got acquired. Those who acquired them got acquired and they in turn..... funny.&lt;br /&gt;&lt;br /&gt;I made some discoveries which could be useful for people in a similar scenario&lt;br /&gt;SSInput1 is an OCX control for data entry - SS stands for Sheridan Software - gobbled by Infragistics - gobbled by ComponentOne&lt;br /&gt;SS also made a package of components and released them as ActiveInput 1.0&lt;br /&gt;&lt;br /&gt;PVDateEdit, PVxxx,.. belongs to ProtoView - Another software company that does not exist any more.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ok, now the way I found these dlls&lt;br /&gt;Search in google or something with this string&lt;br /&gt;&lt;br /&gt;"xyzcomponent.dll siteadvisor"&lt;br /&gt;Eg:&lt;br /&gt;http://www.google.be/search?hl=en&amp;source=hp&amp;q=ssinput1.ocx+siteadvisor&amp;meta=&amp;aq=0&amp;oq=&lt;br /&gt;&lt;br /&gt;www.siteadvisor.com will return a list of setup.exe files.&lt;br /&gt;In my case they were programs used for Firefighting, Biotechnology, Glassmaking..&lt;br /&gt;&lt;br /&gt;Install each one.&lt;br /&gt;The respective program will register the needed dll or ocx.&lt;br /&gt;Else find them in windows\system32&lt;br /&gt;&lt;br /&gt;Uninstall after use.&lt;br /&gt;Whew&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-888972431180582363?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/888972431180582363/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2009/10/finding-obsolete-dll-and-ocx-files.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/888972431180582363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/888972431180582363'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2009/10/finding-obsolete-dll-and-ocx-files.html' title='Finding obsolete DLL and OCX files'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-3605267470852597746</id><published>2009-09-10T10:43:00.000-07:00</published><updated>2009-10-09T07:16:31.316-07:00</updated><title type='text'>Yet Another Biryani Recipe - YaBii?</title><content type='html'>This is one extremely frustrating dish to make.&lt;br /&gt;A tiny mistake and 3 hours of work tastes forgettable.&lt;br /&gt;&lt;br /&gt;I used to make really good ones.. that too the 'kacchi' type.&lt;br /&gt;Then suddenly I found that the touch was lost.. a bit like the form of Vinod Kambli.&lt;br /&gt;Whatever you do, the triple centuries never come back.&lt;br /&gt;&lt;br /&gt;I dont have a knack to keep things in memory, especially recipes.&lt;br /&gt;Always prefer to look up on my scribblings saved txt with Notepad.&lt;br /&gt;&lt;br /&gt;The losing of 'touch' was mostly due to a lapse of not writing down what I was doing.&lt;br /&gt;Anyways.. what is gone is gone and I still dont remember what I used to do to make it smell, look and taste decent.&lt;br /&gt;&lt;br /&gt;Many attempts (disasters) followed which were based on one or the other of hundreds of Biryani recipes floating around waiting to be BINGed.&lt;br /&gt;&lt;br /&gt;Today I was too tired to refer to yet another recipe, and needed to do something quickly &amp; get back to work. Had to rely on instincts.. although I admit I did refer to the list of spices.&lt;br /&gt;(Please note that 'quick' and 'biryani' is generally not used in the same sentence)&lt;br /&gt;&lt;br /&gt;The surprising thing was that this 'quickie biryani' came out way better than the previous attempts based on 'authentic' recipes. I think it also has less minefields to negotiate.&lt;br /&gt;&lt;br /&gt;So without adding further to the prologue, here is my suggested way to make a relatively tasty biryani.&lt;br /&gt;&lt;br /&gt;//Biryani Recipe for Two//&lt;br /&gt;&lt;br /&gt;Decide -&gt; Chicken or Mutton?&lt;br /&gt;Lamb can be used although the frozen ones from NewZealand doesnt taste as good as mutton and is NOT close to the taste of a goat in Kerala.&lt;br /&gt;Fish biryani, Beef biryani are jokes.&lt;br /&gt;For the recipe here, I am using Chicken. Ctrl+F and replace Chicken with Mutton for mutton biryani.&lt;br /&gt;-&lt;br /&gt;&lt;br /&gt;&gt;Always for Biryani buy a big whole chicken - with skin. Not assorted pieces of chicken.&lt;br /&gt;&lt;br /&gt;&gt; Pull out the skin and keep aside&lt;br /&gt;&gt; Cut 2 big pieces = 2 x (thigh+leg of each side). A good chicken will have some fat sticking to these pieces. More fat the better.&lt;br /&gt;&gt; Use the breast as large cubes if you want to, else use it &amp; the rest of chicken for some other recipe.&lt;br /&gt;&lt;br /&gt;&gt; Take a large heavy bottomed pan and boil about 3 cups of water&lt;br /&gt;&gt; Add plenty of salt, say about 5 tsp&lt;br /&gt;&lt;br /&gt;&gt; Once water boils, put the chicken skin in the water along with spices&lt;br /&gt;- Cumin Seeds 1 tsp&lt;br /&gt;- Cinammon (use the Indian juicy variety) about a finger length broken into chewable pieces&lt;br /&gt;- 4 cardamom pods&lt;br /&gt;- 1 Bay leaf&lt;br /&gt;- 1/2 tsp mace&lt;br /&gt;- 2 Star Anise broken up&lt;br /&gt;- 1/2 tsp whole cloves&lt;br /&gt;- 1/2 tsp sliced ginger&lt;br /&gt;&lt;br /&gt;Keep boiling till skin curls up and water becomes fatty&lt;br /&gt;&gt; Put the chicken pieces in and boil for about 5 mins till half done and the outside is white everywhere&lt;br /&gt;&lt;br /&gt;&gt; Retain water. Remove chicken pieces and keep aside. Discard the skin.&lt;br /&gt;Make sure the water is still salty. Else add salt.&lt;br /&gt;Salt will single handedly screw up the biryani if not in the right amount.&lt;br /&gt;&lt;br /&gt;&gt; Take some good quality Basmati rice and put into the water.&lt;br /&gt;(Disregard all the crap you read about soaking for half an hour etc)&lt;br /&gt;&gt; Add some fresh mint leaves and fresh coriander leaves if available&lt;br /&gt;&gt; The water has to be enough so that the rice gets cooked fully, but doesnt remain soggy. This usually comes from experience.&lt;br /&gt;The water cannot be more than required, else you will end up with pudding instead of biryani. &lt;br /&gt;Better to have the water less. You can always add bit as the rice cooks and absorbs the water.&lt;br /&gt;&lt;br /&gt;Parallely&lt;br /&gt;&gt; Heat oil or butter in Pan#2. Fry the half cooked chicken pieces along with the usual suspects of 'Indian'(misnomer) cuisine. &lt;br /&gt;- Ginger sliced&lt;br /&gt;- Garlic&lt;br /&gt;- Green chillies sliced&lt;br /&gt;- Turmeric&lt;br /&gt;- Coriander powder&lt;br /&gt;- Bits of each of the spices above that were used in boiling&lt;br /&gt;- Salt if needed&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&gt; Once Chicken is dry, stop cooking Pan#2&lt;br /&gt;&gt; By this time the rice in the Pan#1 should be nearly dry and slightly glazing with chicken fat&lt;br /&gt;&gt;Lower the flame to least least possible. The rest of cooking should be done in the mildest of direct heat. The other option is to stop flame cooking at this point and use baking tray and oven.&lt;br /&gt;I am here continuing with flame cooking..&lt;br /&gt;&lt;br /&gt;&gt; Add whole cashews, raisins into the rice and mix&lt;br /&gt;&gt; Separate the rice in the centre and bury the chicken inside it fully and spread the top evenly&lt;br /&gt;&gt; Put some salted butter pieces on top&lt;br /&gt;&gt; Cover Pan#1 with a lid tightly. A glass lid is better if you have it.&lt;br /&gt;&lt;br /&gt;&gt; In Pan#2, add butter and heat.&lt;br /&gt;&gt; Take an Onion and slice it wafer thin longitudinally&lt;br /&gt;&gt; Fry till brown adding a bit of sugar in between and take off heat&lt;br /&gt;&gt; The slices become crispy when they cool&lt;br /&gt;&lt;br /&gt;&gt; Take 1/4 cup hot water in a cup and add some saffron strands to it. Retain for 2 mins till water takes the colour&lt;br /&gt;&lt;br /&gt;&gt; Open pan#1. Spread the onions on top.&lt;br /&gt;&gt; Sprinkle saffron water over the rice&lt;br /&gt;&gt; Put lid back and cook (in lowest heat as was being done) for 5 mins more.&lt;br /&gt;&gt; Let it rest for 10 mins before serving&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Biryani is DONE&lt;br /&gt;&lt;br /&gt;Checklist&lt;br /&gt;-Rice should be fluffy and not over cooked. Else disastru&lt;br /&gt;-Rice should be having right amount of salt. Else disastru + waste of time.&lt;br /&gt;-Rice should not be sticking at the bottom. Else use thicker pan next time, or else bake instead of slow cooking&lt;br /&gt;-Bottom layer should be reddish with the spices &amp; oil of the fried chicken and top layer should be white. When you serve, both layers should be given in a plate.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-3605267470852597746?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/3605267470852597746/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2009/09/biryani-recipe.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/3605267470852597746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/3605267470852597746'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2009/09/biryani-recipe.html' title='Yet Another Biryani Recipe - YaBii?'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-413878334820070748</id><published>2009-09-07T10:50:00.000-07:00</published><updated>2009-09-07T11:12:47.317-07:00</updated><title type='text'>Preserving uniqueness without changing table structure</title><content type='html'>This one took me a year to realise.&lt;br /&gt;Yes a bit thick!&lt;br /&gt;It is so simple, one wonders why it was not visible before.&lt;br /&gt;&lt;br /&gt;I had to design a database table for charges against a service.&lt;br /&gt;&lt;br /&gt;The charge depends on various parameters.&lt;br /&gt;The usual way of representing would be to put the parameter values and the results in single unique record&lt;br /&gt;&lt;br /&gt;Eg:&lt;br /&gt;Z= f(x,y,z)&lt;br /&gt;Z= 40.9 when x=1 y=2 z= 3&lt;br /&gt;&lt;br /&gt;Record&lt;br /&gt;Z       x   y   z&lt;br /&gt;40.9    1   2   3&lt;br /&gt;&lt;br /&gt;Blow up the same methodology for cases like  3&lt;=x&lt;=9.5&lt;br /&gt;For this, you would need columns such as&lt;br /&gt;GEx GTx EQx LEx LTx&lt;br /&gt;Populate with values and you can define a condition&lt;br /&gt;&lt;br /&gt;Repeat for each variable.&lt;br /&gt;&lt;br /&gt;You will end up having a table with fairly large number of columns.&lt;br /&gt;&lt;br /&gt;I did not want this.&lt;br /&gt;&lt;br /&gt;Also I was wondering about cases where say Y is a string and not a number.&lt;br /&gt;This was posed as a question to ether space via this blog in an post made in Apr09&lt;br /&gt;&lt;br /&gt;Z = 80.345 when x=1,z=3 and Y contains string "Singh"&lt;br /&gt;Say it defines a taxi rate to the airport when your name is same as the driver's.&lt;br /&gt;&lt;br /&gt;The solution I found is to represent these conditions as multiple records in a different table which a link to the unique rate record held in the 'rate' table.&lt;br /&gt;&lt;br /&gt;I am sure this has been done before and used commonly!&lt;br /&gt;Anyway, no one was there to tell me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-413878334820070748?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/413878334820070748/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2009/09/preserving-uniqueness-without-changing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/413878334820070748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/413878334820070748'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2009/09/preserving-uniqueness-without-changing.html' title='Preserving uniqueness without changing table structure'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-1501664781496426999</id><published>2009-09-07T10:12:00.000-07:00</published><updated>2009-09-07T10:47:55.234-07:00</updated><title type='text'>Quick Review : Blindness of Insight - Dilip Menon</title><content type='html'>Whom do they address in the books they write?&lt;br /&gt;Is the primary aim to convey the insight received during thought &lt;br /&gt;Or &lt;br /&gt;to use tedious vocabulary that appeals to peers but obfuscates the message to laymen&lt;br /&gt;&lt;br /&gt;Maybe I am a bit thick, or I picked up a book not intended for me.&lt;br /&gt;I wanted insights but ended up spending more of my time trying to decode the language and understanding what the author is trying to convey.&lt;br /&gt;&lt;br /&gt;*Essay 1 - Why communalism is about caste*&lt;br /&gt;I did not get the answer. The analysis was not convincing enough.&lt;br /&gt;One problem I found in most of the book is the over emphasis on static analysis.&lt;br /&gt;That economics, technology, Time, changes the way people think does not seem to be considered. The views of 1920 is extrapolated to 2000. What drove the actors a century ago drives another set today.&lt;br /&gt;Reforms, Internet, Industrialisation, English.. what effect does these have?&lt;br /&gt;&lt;br /&gt;I want answers for Tomorrow based on insights derived from events of yesterday.&lt;br /&gt;Analysis of yesterday based on yesterday does not serve much purpose. Alteast to me.&lt;br /&gt;&lt;br /&gt;The author says "neatness of categories like 'Hindu' and 'Muslim' hide the porousness of identities"&lt;br /&gt;Very well said.&lt;br /&gt;My question is, can you define ANY category that is not porous?&lt;br /&gt;&lt;br /&gt;An individual is an individual. Classifications of people are bound to be porous.&lt;br /&gt;&lt;br /&gt;Actually, in the next essay, the author classifies EMS neatly as a 'brahmin'.&lt;br /&gt;Every publication of EMS is viewed through the prism of his caste based classification.&lt;br /&gt;&lt;br /&gt;Maybe EMS did 'use' Marxism to fulfil himself or his caste. &lt;br /&gt;I did not find much use of the analysis because I could not then go on to explain how the same Marxism under different leaders can be used for organised corruption today.&lt;br /&gt;&lt;br /&gt;If the aim is to gain insights which would help one identify entrenched, manipulative interests of today; patterns that help build and upkeep these negative structures of today; then I probably need another book as this did not serve the purpose.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-1501664781496426999?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/1501664781496426999/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2009/09/quick-review-blindness-of-insight-dilip.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/1501664781496426999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/1501664781496426999'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2009/09/quick-review-blindness-of-insight-dilip.html' title='Quick Review : Blindness of Insight - Dilip Menon'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-4068793785091728388</id><published>2009-09-07T10:04:00.001-07:00</published><updated>2009-09-07T10:04:54.544-07:00</updated><title type='text'>Apologies to Mr. S</title><content type='html'>A quick one.&lt;br /&gt;Mr. S seems to be changing from whines to actual reporting!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-4068793785091728388?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/4068793785091728388/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2009/09/apologies-to-mr-s.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/4068793785091728388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/4068793785091728388'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2009/09/apologies-to-mr-s.html' title='Apologies to Mr. S'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-6071011169133824365</id><published>2009-07-17T04:13:00.000-07:00</published><updated>2009-07-17T04:29:42.796-07:00</updated><title type='text'>TOP n of Each -- SQL</title><content type='html'>Suppose you have a table like this and want to know say the Latest 5 [INPUT] values for all [INST]&lt;br /&gt;ie; you have to sort a given INST by date (descending), take the 5 top most from the result. Repeat for each INST and merge all results together.&lt;br /&gt;Pretty easy if you have a FOR EACH or some other type of LOOP.&lt;br /&gt;&lt;br /&gt;[DW_X]&lt;br /&gt;ID PROP INST INPUT UPDATEDATE USERID DOMAIN&lt;br /&gt;12 4 1 KUJU 7/14/2009 11:27 1 1&lt;br /&gt;13 4 1 KUJU2 7/14/2009 11:28 1 1&lt;br /&gt;14 4 1 Kuju 7/14/2009 13:41 1 1&lt;br /&gt;15 4 1 kuju2 7/15/2009 9:48 1 1&lt;br /&gt;16 4 1 Kuju3 7/15/2009 13:47 1 1&lt;br /&gt;17 4 6 litlOne 7/15/2009 15:11 1 1&lt;br /&gt;21 4 7 Kuju no 7/16/2009 9:59 1 1&lt;br /&gt;22 4 7 Test1 7/16/2009 13:08 1 1&lt;br /&gt;23 4 7 test2 7/16/2009 13:09 1 1&lt;br /&gt;24 4 1 B 5/16/2009 13:09 NULL 0&lt;br /&gt;25 4 1 C 5/16/2009 13:09 1 0&lt;br /&gt;26 4 1 AA 5/16/2009 13:09 1 0&lt;br /&gt;27 4 1 WW 5/16/2009 13:09 1 0&lt;br /&gt;28 4 1 RR 3/16/2009 13:09 1 0&lt;br /&gt;&lt;br /&gt;Instead of loops, you can achieve this by a single SQL statement.&lt;br /&gt;Was trying and it works out like this (MS SQL syntax)&lt;br /&gt;&lt;br /&gt;SELECT * FROM DW_X T1 WHERE&lt;br /&gt;T1.ID  IN&lt;br /&gt;(SELECT TOP 5&lt;br /&gt;T2.ID FROM DW_X T2 WHERE INST= T1.INST ORDER BY UPDATE_DATE DESC )&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In practice, you might not even want to hard code the number 5.&lt;br /&gt;In my case, I stored the value in another table.&lt;br /&gt;This gives you the flexibility of getting the top n for each INST, where the 'n' can vary for each INST.&lt;br /&gt;&lt;br /&gt;SELECT * FROM DW_X T1 WHERE&lt;br /&gt;T1.ID  IN&lt;br /&gt;(SELECT TOP (SELECT Hist_Count FROM IDE_INST WHERE IDE_INST.Id=T1.INST)&lt;br /&gt;T2.ID FROM DW_X T2 WHERE INST= T1.INST ORDER BY UPDATE_DATE DESC )&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-6071011169133824365?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/6071011169133824365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2009/07/top-n-of-each-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/6071011169133824365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/6071011169133824365'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2009/07/top-n-of-each-sql.html' title='TOP n of Each -- SQL'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-7392804674236112417</id><published>2009-05-21T10:36:00.000-07:00</published><updated>2009-05-21T10:49:08.863-07:00</updated><title type='text'>Gayathri Mantras</title><content type='html'>I have been repeating this since age 5 in the order specified.&lt;br /&gt;Thanks to my parents! Upto me to teach it to Nandan&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;OM ekadantAya vidmahe vakratuNDAya dhImahi ,&lt;br /&gt;tanno dantiH prachodayAth ..&lt;br /&gt;&lt;br /&gt;OM tatpuruShAya vidmahe mahAdevAya dhImahi ,&lt;br /&gt;tanno rudraH prachodayAth ..&lt;br /&gt;&lt;br /&gt;OM dAsharathAya vidmahe sItAvallabhAya dhImahi ,&lt;br /&gt;tanno rAmaH prachodayAth ..&lt;br /&gt;&lt;br /&gt;OM devakInandanAya vidmahe vAsudevAya dhImahi ,&lt;br /&gt;tanno kRiShNa prachodayAth ..&lt;br /&gt;&lt;br /&gt;OM kAtyAyanyai vidmahe kanyAkumAryai dhImahi ,&lt;br /&gt;tanno durgA prachodayAth ..&lt;br /&gt;&lt;br /&gt;OM mahAdevyai cha vidmahe viShNupatnyai cha dhImahi ,&lt;br /&gt;tanno lakShmIH prachodayAth ..&lt;br /&gt;&lt;br /&gt;OM vAgdevyai cha vidmahe kAmarAjai cha dhImahi ,&lt;br /&gt;tanno devI prachodayAth ..&lt;br /&gt;&lt;br /&gt;OM sarvasaMmohinyai vidmahe vishvajananyai dhImahi ,&lt;br /&gt;tanno shaktiH prachodayAth ..&lt;br /&gt;&lt;br /&gt;OM gurudevAya vidmahe parabrahmaNe dhImahi ,&lt;br /&gt;tanno guruH prachodayAth ..&lt;br /&gt;&lt;br /&gt;OM bhAskarAya vidmahe mahadyutikarAya dhImahi ,&lt;br /&gt;tanno AdityaH prachodayAth ..&lt;br /&gt;&lt;br /&gt;OM bhUrbhuvaH svaH tatsaviturvareNyaM bhargo devasya dhImahi ,&lt;br /&gt;dhiyo yo naH prachodayAth ..&lt;br /&gt;&lt;br /&gt;Om Tryambakam Yajamahe Sugandhim&lt;br /&gt;Pushtivardhanam Urvarukamiva Bandhanan&lt;br /&gt;Mrityor Mukshiya Maamritat&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-7392804674236112417?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/7392804674236112417/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2009/05/gayathri-mantras.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/7392804674236112417'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/7392804674236112417'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2009/05/gayathri-mantras.html' title='Gayathri Mantras'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-15316759367495673</id><published>2009-04-21T02:41:00.000-07:00</published><updated>2009-04-21T02:48:40.760-07:00</updated><title type='text'>Shipment Rates Object</title><content type='html'>A shipment carried by a haulier has a quoted rate that depends on the value of different variables.&lt;br /&gt;&lt;br /&gt;I have been scratching my head for considerable time over this ..&lt;br /&gt;I do have some ideas, maybe it will work.&lt;br /&gt;Would appreciate if someone can put give their inputs&lt;br /&gt;&lt;br /&gt;Shipment = S1&lt;br /&gt;&lt;br /&gt;Source = L1&lt;br /&gt;Destination = L2&lt;br /&gt;&lt;br /&gt;Rate = $1.7532 / kg&lt;br /&gt;if Gross wt &gt; 1000kg  AND &lt;= 3000 kg&lt;br /&gt;&lt;br /&gt;Rate = $1.2365 / kg&lt;br /&gt;if Gross wt &gt; 3000kg  AND &lt;= 9000 kg&lt;br /&gt;&lt;br /&gt;Sender = "Phutt Air Ltd"&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Shipment = S2&lt;br /&gt;&lt;br /&gt;Source = L1&lt;br /&gt;Destination = L2&lt;br /&gt;&lt;br /&gt;Rate = 0.00&lt;br /&gt;&lt;br /&gt;if&lt;br /&gt;Sender = "Singh is Kingg Ltd"&lt;br /&gt;&lt;br /&gt;-----------------&lt;br /&gt;Object structure?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-15316759367495673?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/15316759367495673/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2009/04/shipment-rates-object.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/15316759367495673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/15316759367495673'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2009/04/shipment-rates-object.html' title='Shipment Rates Object'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-3528706223280413012</id><published>2009-04-10T15:43:00.000-07:00</published><updated>2009-09-07T10:04:05.267-07:00</updated><title type='text'>Everybody loves a good Whine</title><content type='html'>I have a problem with Whines published in mass media which are predominantly based on prejudice.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.hindu.com/2009/03/18/stories/2009031855770800.htm"&gt;http://www.hindu.com/2009/03/18/stories/2009031855770800.htm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It doesnt appeal to me at all when the author portrays rural India , column after column, as a joyless, hopeless place that cannot change from within.&lt;br /&gt;&lt;br /&gt;Some can be very good at listing problems. I believe though that true ingenuity and courage, lies in proposing concrete solutions. &lt;br /&gt;Courage, because what one proposes might fail and he/she has to be brave enough to own up the failure.&lt;br /&gt;&lt;br /&gt;Individuals with a self perception of being weak will usually try align with the winning side. They do not take risks by having clear cut positions. Instead, the preffered low risk approach is blaming current systems and leaving the proposed alternate system with specs vague enough to be disowned.&lt;br /&gt;&lt;br /&gt;This ensures that you always fall on the correct side of history.&lt;br /&gt;&lt;br /&gt;Mr.S seems to imply that the only economy that can be 'just' is a communist-socialist one. The possible failure of the model, or whether the history of USSR would repeat itself in India, is not elaborated upon.&lt;br /&gt;100 years would have gone by the time the flaws become apparent.. and you and I and Mr.S wont be around anymore!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now the other thing I was wondering is, why do these views get published in mass media.&lt;br /&gt;&lt;br /&gt;Perhaps it has some relation to an excellent article I happened to read in the International Herald Tribune called “The Daily Me” &lt;br /&gt;&lt;br /&gt;The IHT article says how&lt;br /&gt;“we generally dont truly want good information - but rather information that confirms our prejudices. We may believe intellectually in the clash of opinions, but in practice we like to embed ourselves in the reassuring womb of an echo chamber”&lt;br /&gt;&lt;br /&gt;Maybe there is a class large enough whose 'Daily Me' consists of stories that  Mr. S delivers? Maybe it confirms their prejudice that they are the perpetual victims. &lt;br /&gt;My state is this because someone big is oppressing me; the system is configured against me &lt;br /&gt;- and NOT that I stopped trying.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;P.S.&lt;br /&gt;It beats me how a delightful and balanced column by Mr. Harish Khare can co-exist in the same page with another from Mr. S that tilts so obviously to one side.&lt;br /&gt;&lt;br /&gt;P.P.S&lt;br /&gt;I didnt know that the Prime Minister likes what I like!&lt;br /&gt;Cool!&lt;br /&gt;&lt;a href="http://www.hindu.com/thehindu/holnus/001200906192015.htm"&gt;http://www.hindu.com/thehindu/holnus/001200906192015.htm&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-3528706223280413012?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/3528706223280413012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2009/04/chindus-slow-poison.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/3528706223280413012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/3528706223280413012'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2009/04/chindus-slow-poison.html' title='Everybody loves a good Whine'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-6626739227968522763</id><published>2009-04-06T11:11:00.000-07:00</published><updated>2009-04-21T02:58:27.962-07:00</updated><title type='text'>The best pen in the world</title><content type='html'>&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_8EcaYJnmUps/Se2YUZxB7TI/AAAAAAAAAAM/4PFMNTMOsoQ/s1600-h/1530photo.jpg"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 320px; DISPLAY: block; HEIGHT: 111px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5327081410530503986" border="0" alt="" src="http://2.bp.blogspot.com/_8EcaYJnmUps/Se2YUZxB7TI/AAAAAAAAAAM/4PFMNTMOsoQ/s320/1530photo.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;If you still &lt;strong&gt;&lt;em&gt;write&lt;/em&gt;&lt;/strong&gt; instead of typing, then this is the pen I would recommend.&lt;br /&gt;The writing is near perfect &amp;amp; my handwriting never appears better.&lt;br /&gt;&lt;br /&gt;The engineers who spent days and nights solving viscosity problems, barely get the recognition they absolutely deserve.&lt;br /&gt;(Funny, when i read about certain creators of a "search" algorithm)&lt;br /&gt;&lt;br /&gt;Here is HariOm saying&lt;br /&gt;THANK YOU !&lt;/div&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 320px; DISPLAY: block; HEIGHT: 52px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5327081767419502834" border="0" alt="" src="http://3.bp.blogspot.com/_8EcaYJnmUps/Se2YpLR_4PI/AAAAAAAAAAU/sSwJFFPHrZ8/s320/sjp53_8.jpg" /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Arigatou gozaimasu!&lt;br /&gt;&lt;br /&gt;The pen being mentioned is a relatively cheap ball point with a refill called&lt;br /&gt;SA-7&lt;br /&gt;It is a 0.7mm dia.tungsten carbide ball&lt;br /&gt;&lt;br /&gt;It is manufactured by Mitsubishi Pencils/ UNI&lt;br /&gt;The pens that contain this refill are UNI-SAS FINE (0.7mm)&lt;br /&gt;I have also found that UNI Lakubo has the same refill.&lt;br /&gt;More info here&lt;br /&gt;&lt;a href="http://www.uniball.com/catalog/show/product.php?no=26"&gt;http://www.uniball.com/catalog/show/product.php?no=26&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-6626739227968522763?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/6626739227968522763/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2009/04/best-pen-in-world.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/6626739227968522763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/6626739227968522763'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2009/04/best-pen-in-world.html' title='The best pen in the world'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_8EcaYJnmUps/Se2YUZxB7TI/AAAAAAAAAAM/4PFMNTMOsoQ/s72-c/1530photo.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-5762237444741943427</id><published>2009-04-06T09:03:00.000-07:00</published><updated>2009-04-21T03:07:35.714-07:00</updated><title type='text'>Good ringtone, Fun advert</title><content type='html'>&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 320px; DISPLAY: block; HEIGHT: 183px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5327084194742052850" border="0" alt="" src="http://3.bp.blogspot.com/_8EcaYJnmUps/Se2a2dwyp_I/AAAAAAAAAAk/tKvb4J4Aeo8/s320/eyebrow-dancing-cadbury.jpg" /&gt;&lt;br /&gt;&lt;div&gt;Although how it relates to chocolate is not very evident&lt;br /&gt;&lt;a href="http://www.youtube.com/watch?v=TVblWq3tDwY"&gt;http://www.youtube.com/watch?v=TVblWq3tDwY&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-5762237444741943427?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/5762237444741943427/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2009/04/good-ringtone-fun-advert.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/5762237444741943427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/5762237444741943427'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2009/04/good-ringtone-fun-advert.html' title='Good ringtone, Fun advert'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_8EcaYJnmUps/Se2a2dwyp_I/AAAAAAAAAAk/tKvb4J4Aeo8/s72-c/eyebrow-dancing-cadbury.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1981456956062899566.post-353377407284996557</id><published>2009-04-06T08:55:00.000-07:00</published><updated>2009-04-21T03:03:18.808-07:00</updated><title type='text'>HMV</title><content type='html'>&lt;div&gt;The Truth, nothing but the Truth !!&lt;br /&gt;&lt;/div&gt;&lt;p align="left"&gt; &lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;a href="http://www.hindu.com/2009/03/28/stories/2009032854911000.htm"&gt;http://www.hindu.com/2009/03/28/stories/2009032854911000.htm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Celebrating social emancipation in Tibet&lt;br /&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 320px; DISPLAY: block; HEIGHT: 240px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5327083000231643186" border="0" alt="" src="http://3.bp.blogspot.com/_8EcaYJnmUps/Se2Zw73USDI/AAAAAAAAAAc/vi-5kl6MCRo/s320/hmv.jpg" /&gt;&lt;br /&gt;N. Ram&lt;br /&gt;&lt;br /&gt;History shows that resistance to anti-feudal reform was deeply entrenched in the Dalai Lama’s theocratic regime — fusing the causes of separatism and the preservation of feudal serfdom. The events of 1959 brought forward China’s project of freeing a million serfs.&lt;br /&gt;&lt;br /&gt;Today the Tibet Autonomous Region (TAR) of the People’s Republic of China celebrates its first Serfs Emancipation Day, an official annual holiday. The commemoration has come half a century after the Democratic Reform did away with feudal serfdom and slavery and the theocratic system in Tibet, emancipated a million serfs, and laid the basis for the autonomous modern development of the region as part of the Chinese socialist system. It was on March 28, 1959 that the central government announced it would dissolve Tibet’s local government and replace it with a Preparatory Committee for establishing the Tibet Autonomous Region.&lt;br /&gt;&lt;br /&gt;....contd&lt;br /&gt;&lt;br /&gt;But right now, thousands of Chinese schoolchildren and university students are sampling the historical evidence at an exhibition on the ‘Democratic Reform in the Tibet Autonomous Region’ at Beijing’s Cultural Palace of Nationalities. You can see they are engaged, at points wide-eyed and wide-mouthed with astonishment, as they see and file past the documents, the photographs, the artefacts, and the instruments of the most savage medieval torture imaginable, which were employed, by both the lay and monastic serf-owning nobility, right up to the middle of the 20th century to conserve ‘friendly feudalism.’ In the last week of February, I spent a couple of hours at the Beijing exhibition, observing the exhibits as well as the reactions of the young visitors. &lt;strong&gt;It was a powerful and compelling unveiling of the truth&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------------&lt;br /&gt;&lt;br /&gt;Version (2) .. I watched Rashomon&lt;br /&gt;&lt;br /&gt;--------------------------------------------------&lt;br /&gt;&lt;a href="http://www.economist.com/displaystory.cfm?story_id=13382035"&gt;http://www.economist.com/displaystory.cfm?story_id=13382035&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Rejoice, damn you&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;em&gt;China prepares to celebrate a dangerous anniversary&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;IT’S official: “Tibet has moved from darkness to light, poverty to affluence, dictatorship to democracy and seclusion to opening up.” So proclaims the notice at an exhibition in Beijing marking the 50th anniversary of Tibet’s “democratic reforms”. To celebrate, officials in Tibet have designated March 28th Serf Liberation Day. Lest anyone not share the mood of rejoicing, security will be tightened, dissidents kept behind bars and foreigners firmly steered away from the region.&lt;br /&gt;&lt;br /&gt;With grim determination the authorities are trying to manufacture joy. Floral displays bedeck parts of Lhasa. The official media are filled with stories of happy Tibetans. &lt;strong&gt;In Beijing, the Tibet exhibition aims to show how the region has flourished&lt;/strong&gt; under Communist rule after “centuries of slavery and suppression”. Pride of place goes to a diorama showing former serfs merrily chucking “feudal documents” into the fire.&lt;br /&gt;&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;YouTube may also be a victim. Access to it has been blocked in China since shortly after the Tibetan government-in-exile released video footage (denounced as a lie by China) purporting to show Tibetan protesters being beaten by Chinese police. No such slur is permitted in Beijing. The cause of human rights in Tibet, says an exhibition brochure, has made “remarkable progress”.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981456956062899566-353377407284996557?l=ppsanil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ppsanil.blogspot.com/feeds/353377407284996557/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ppsanil.blogspot.com/2009/04/old-school-propoganda.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/353377407284996557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981456956062899566/posts/default/353377407284996557'/><link rel='alternate' type='text/html' href='http://ppsanil.blogspot.com/2009/04/old-school-propoganda.html' title='HMV'/><author><name>Hari Om</name><uri>http://www.blogger.com/profile/09356218116786238522</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8EcaYJnmUps/SmBcQ7Tqz6I/AAAAAAAAAA0/slAWCbkxx2Q/S220/NandanSkype.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_8EcaYJnmUps/Se2Zw73USDI/AAAAAAAAAAc/vi-5kl6MCRo/s72-c/hmv.jpg' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
