Monday, June 23, 2008

Finally Puzzle !!!










As usual I was trying to play with try catch block of .NET 2.0 today ..( hey guys I am assureing you that its not going to be another nerd's den of .NET) and loved to see that agian I was forgetting some key points of that !!!













Just to summarise what I am going to put together, consider the following code snippet ...





try
{

// any code here


}
finally
{
Console.WriteLine("String Value 1");
Console.WriteLine("String Value 2");
}



try
{

// any code here


}
finally
{
Console.WriteLine("String Value 1");
}
Console.WriteLine("String Value 2");






Tuesday, January 29, 2008

Lyrics: Vairamuthu
Singer: Minmini, Shubha

Bakthi Paadal Phadattuma
Paalum Thenum Odattuma
Santhosham Kaanbhoma
Samikku Pushpangal Vendaama
Sambo Sambo Sambo Sambo
Sayangalam Vambo Vambo
Boomi Thandi
Pogamal
Saagamal Mothchangal Kanbom Ippo

Utchi Megam Ennai Parthathum
Konjam Neer Senthum Allava
Uppu Katru Ennai Theendinaal
Satre Thithikkum Allava
Ennai Pen Kettu Caesar Vanthaan
Endhan Pinnale Hitler Vanthaan
Yaarum Illatha Nerathilae

Sollamal Bramman Vanthaan
Medai Pottu Methai Kollavae
Jadai Seithale Podhumae
Engal Veetu Kashmir Kambali
Iruvar Kulirthanga Koodumae
Indha Mogathil Enna Kutram
Kadal Yogathin Utcha Kattam
Andha Sorgathil Saerkattuma
Inndraikku Unnai Mattum

NB : Thanks to http://www.mohankumars.com where I found the above lyrics.

Sunday, December 9, 2007

Tamil Lyrics

Hey friends its me again ..
I am posting here tamil lyrics of some good tamil song ... hope other Non Tamil friends who love tamil movie songs will help them a lot ..

Movie: Deeapavali Song : Poogathe
Music: Yuvan Shakar Raja

Pogadhe pogadhe nee irrunthaal naan irrupen
Pogadhe pogadhe nee pirinthaal naan irrapen

Unnoda vaalntha kaalangal yaavum kanavai ennai mooduthadi
Yyaar endru neeyum enna paarkum pothu uyrai uyire poguthadi

Kalaraiyil kuda jannal ondru vaithu undhan mugham paarpenadi
Pogadhe pogadhe nee irrunthaal naan irrupen
Pogadhe pogadhe ee pirinthaal naan irrapen


Kalainthalum megham athu meendhum medhakum
Adhu pola thaaney undhan kadhal ennakum
Nadai padhai vilaka kadhal viluntha uddan nadaipathuku
Nerupalum mudiyath amma nineivugalai allipathuku
Unnakaga kathirrupen oh
Uyirodu paarthirrupen oh

Pogadhe pogadhe nee irrunthaal naan irrupen
Pogadhe pogadhe nee pirinthaal naan irrapen

Alagana neram adhai neethaan kudduthai
Aliyatha sogam athaiyum nee thaan kudduthai
Kan thoogum neram paarthu kadavul vanthu ponathu pol
Yen vaalvil vanthei aanai yemathru thaangavillaiye
Pennai nee illamal ..... Bhoologam irrutiruthei

Pogadhe pogadhe nee irrunthaal naan irrupen
Pogadhe pogadhe nee pirinthaal naan irrapen

Movie: Deeapavali Song : Poogathe
Music: Yuvan Shakar Raja

Kadhal Vaithu Kaathal vaithu, kaathal vaithu kaathirunthen

Kaatril unthan kural mattum keatirunthen

Sirithaai isai arinthen Nadanthaai dhisai arinthen

Kaathal enum kadalukkul naan vizhunthen

Karaiyinil vantha pinnum naan mithanthen Asainthaai anbey asainthen Azhagaai aiyo tholainthen

Kaathal vaithu, kaathal vaithu kaathirunthen Kaatril unthan kural mattum keatirunthen

Asainthaan anbey asainthen Azhagaai aiyo tholainthen

Devathai kathaiiii keattapothellaaaam, nijam endrun ninaikkavillaiiiiii

Neril unnaiyeyyy paatha pinbu naaaaan, nambi vitten marukkavillaiiiiiii

Athikaalai vidivathellaaaam, unnai paarkkum mayakkathilthaaaan

Anthi maalai maraivathellaaaam, unnai paartha thirakkathilthaaaan

Kaathal vaithu, kaathal vaithu kaathirunthen

Kaatril unthan kural mattum keatirunthen

Asainthaan anbey asainthen Azhagaai aiyo tholainthen

Unnai kanda naaaazh ozhi vattam pol, ullukkulley suzharuthadiiiiiiii

Un idathil naan pesiyathellaaaam, uyirukkul ozhikkuthadiiiiiiiiiii

Kadalodu pesa vaithaaiiiiiii

Kadigaram veesa vaithaaiiii

Mazhaiodu kuzhikka vaithaaiiiiii

Veyil kuda rasikka vaithaaiiiiiiiiii

Kaathal vaithu, kaathal vaithu kaathirunthen

Kaatril unthan kural mattum keatirunthen

Sirithaai isai arinthen Nadanthaai dhisai arinthen

Kaathal enum kadalukkul naan vizhunthen

Karaiyinil vantha pinnum naan mithanthen

Asainthaai anbey asainthen

Azhagaai aiyo tholainthen

Asainthaai anbey asainthen

Azhagaai aiyo tholainthen

Saturday, November 17, 2007

In Bangalore ...

A great city "Garden City" is a place where I always want to be in.

Karnataka has always been a nice and beautiful to me .....

I had quite a few friends over when I stayed there in Thavarekere, Bangalore .... The big boon I had was just a bike .... every time ... BROOOOOOMMMM ... go whereever you want ... whenever ...

There was Sherin Mathew, my company collgues and friend .... we used to comeback after having a very very hectic day at office ..... We were really good friends and enjoyed a lot those day ...

Frankly speaking I learned a lot with Sherin ..... atleast Javascript !!! What Sherin what say ?;-)

But it was roommate Sourav with whom I spent some most cherishable and enjoyable moments of my life. There is Madan Pub story .... Nandi Hill program .... Sanky Tank vigil ...... enjoying riding over Outer Ring Road .... Rajarajeswari Temple Tour .... Visiting Ragikutta Temple .....
and the lists goes on and on ....

Wish you very best my friends ....

Hope to come to Bangalore as many times as possible. Lets see ... !!!

Thursday, October 4, 2007

Regular Expression

space or boundary(next line) :
(\\s+\\b?)

To make optional : regular expression followed by "question mark" i.e. (regex?)

Example
string strPattern = "aaa(b?)ccc"
Matches "aaaccc" and "aaabccc" both

Wednesday, August 22, 2007

Full Text Indexing in SQL SERVER 2005 using for PDF files

Objective
Uploading PDF files to SQL Server 2005 databse and Index them using full text index.

Analysis:
Since PDF files can be very big .... the best option is to save the PDF contents in a database table column of TYPE VARBINARY(MAX)

So create a table docs that having a
docs
DocID(int)
DocContents(varbinary(max))
DocType(varchar(10))

Now the third column DocTYpe is needed to tell full text index engine what kind of file we are going to search through.

[Basically in SQL SERVER 2005, full text search engine stores the in-built seaching indexs for known types. What are the in-built file types that can be full text indexed can be fount using a view named "sys.fulltext_document_types"

So Execute "select * from sys.fulltext_document_types" in your database to see what are the in-built available type for FTS. Normally you would not find an entry ".pdf" in the result set if the above mentioned query.
]

You need to install ADOBE PDF IFILTER 6.0 that is compatible to ADOBE PDF 7.0 version.
Then you need to load the features of the ADOBE IFILTER6.0
FTS your table.
Execute the FTS query.

So
STEP 1:
1. Execute the query "select * from sys.fulltext_document_types" to check whether ".pdf" exists in "document_type" column in the resultset.
2. If ".pdf" does not exists in "document_type" column in the resultset then
3. Download the ADOBE IFitler 6.0 and installt it. It helps SQL SERVER 2007 for indexing PDF files.
4. Now we need to load the installed ADOBE IFILTER 6.0 in our SQL SERVER 2005 so that we can FTS PDF files. For that execute the following SPs sequencially.

exec sp_fulltext_service 'verify_signature', 0

exec sp_fulltext_service 'load_os_resources',1

5. Now please execute select * from sys.fulltext_document_types and make sure that an entry ".pdf " is there in "document_type" column in the resultset

Sunday, July 8, 2007

Love is PART of life NOT HEART of life

Same old stuff !!! In a new way ...

Just saw today ... Taj was selected among new seven wonders .... as it is the greatest symbol of - Love & Passion! ...... Thanks to Mogul Great Shahajahan having built this awesome monument ...... I was thinking whether I would do such a thing as Great Shahajan did.

Nope ....... Because love is not the heart of life ... just a part of life ......