Friday, October 2, 2020

Bahut dar lagta hai

 1 Oct, 2020

Tuesday, February 5, 2019

Family and music

Morning time is the time I need music the most to kickoff my day, so I tuned into Google Play music and the song playing was dil hai ki maanata nahi. In a jolly mood I started my kitchen work when my son called me and said Mumma that song is too boring can you please play some english song. I don't know what went wrong but my 5 year son only talks in English doesn't like it when we talk in hindi. I don't have much interest in English songs but thanks to Smita my college days roommate who was fond of backstreet boys songs and used to play in repeat mode so even I learnt few songs from them. I searched for backstreet boys in YouTube and played the songs. After 3-4 songs my son called me again and said could you please play that song again...I was happy thinking he want my hindi songs to be played again and I asked the one Mumma was listening to? He said no the previous one and when I played the previous one he said yes this one and the song was "quit playing games with my heart".... 

Thursday, September 6, 2012

Use of Distinct and OrderBy in LINQ


Use of Distinct and OrderBy in LINQ


The requirement was something like: get the distinct values of (bla bla bla) sorted alphabetically. An example of the required query with Northwind would be the following one:
SELECT DISTINCT
        e.LastName
FROM    Orders o
LEFT JOIN [Employees] e
        ON e.[EmployeeID] = o.[EmployeeID]
ORDER BY e.LastName 
Fundamentally, we are using both a DISTINCT and an ORDER BY statement in SQL.
Now, if you create a NorthwindDataContext importing the Order and Employee tables, you can try to write a similar statement in LINQ to SQL. Unfortunately, the Distinct clause is not part of the query syntax and the most intuitive path could be the one of calling Distinct at the end of your statement, like in the following query:
var queryA =
    (from o in db.Orders
     orderby o.Employee.LastName
     select o.Employee.LastName)
     .Distinct();
However, the Distinct clause is removing the sort condition defined by the orderby keyword. In fact, the SQL statement sent to the database is the following one:
SELECT DISTINCT
        [t1].[LastName]
FROM    [dbo].[Orders] AS [t0]
LEFT OUTER JOIN [dbo].[Employees] AS [t1]
        ON [t1].[EmployeeID] = [t0].[EmployeeID]
This behavior might appear strange. The problem is that the Distinct operator does not grant that it will maintain the original order of values. Applied to LINQ to SQL, this mean that a sort constraint can be ignored in the case of a query like queryA.
The solution is pretty sample: put the OrderBy operator after the Distinct one, like in the following queryB definition:
var queryB = 
    (from o in db.Orders
     select o.Employee.LastName)
    .Distinct().OrderBy( n => n );
This will result in the following SQL statement sent to Northwind:
SELECT  [t2].[LastName]
FROM    ( SELECT DISTINCT
                    [t1].[LastName]
          FROM      [dbo].[Orders] AS [t0]
          LEFT OUTER JOIN [dbo].[Employees] AS [t1]
                    ON [t1].[EmployeeID] = [t0].[EmployeeID]
        ) AS [t2]
ORDER BY [t2].[LastName]

The lesson is: in a SQL query, the position of an operator is not relevant until operators belong to the same SELECT/FROM statement. In LINQ, this is not true and the conversion to SQL could remove LINQ operators when their operation might be ignored by other operators in the same LINQ query.

Monday, February 21, 2011

बाबा मेरो नैहर छुटो जाय

वो सिटी स्कूल के फिल्ड में घंटो खेलना, अपनी गली की दोस्तों के साथ वो लाल परी हरी परी तो कभी भरी दोपहरी में लगड़ी खेलने निकल जाना बॉस तले जाके सफेदाका को ढूड के उसको रोटी देना क्योंकि सब लोग उसको पागल कुत्ता बोलते थे कोई उसे रोटी नहीं देता जाने किस बात का गुस्सा था उसे जो बिना वजह सबके ऊपर भोका करता था वो , वो काली मई के मंदिर पे जाना वो कार्तिक की सुबहो में भोर गए ही अम्मा के साथ गंगा जी पे जाना वो पंडिताईन का हमे लाल टीका लगाना संकल्प छुडाना सब कितना सुकून भरा था वो गंगा जी की कल कल करती धारा सुबह सुबह न उठने के सौ बहाने बनाना सोने दो न रीचु दी पेट दुख रहा है , भाइयों का मुझे हर बात में सताना चिढाना और दुखी होके मेरा वो पूजा के कमरे में जाके रोना , जितना मन चाहे उतना रोना , और फिर अम्मा का वो प्यार वो उनकी गोद उनके ममता की छाव उनके आचल में छुप के सब दुख भूल जाना ! और फिर से वही सब चालू रोवा गाई क्योंकि पता था की ये सब के बाद एक मीठी छाओ एक प्यार भरा हाथ एक माँ का दिल है मेरे पास वो सब ठीक कर देगी वो सबको डांट लगाएगी की मुझे क्यों परेशान किया । पापा का वो सर पे हाथ फेरते ही जादू जैसे सारे दुःख दूर होना सुकून से सो जाना । अब वैसी नींद नहीं आती पापा अब तरसती हूँ माँ की गोद को उस ममता की छाओ को । दुःख और दर्द बेहिसाब बढ़ गए हैं पर उन्हें अपने प्यार से हमसे अलग करके सुकून से सुलाने वाले दूर हो गए हैं, हाय रे बाबा मेरो नैहर छुटो जाय हाय रे बाबा मेरो पीहर छुटो जाय ।

Thursday, January 6, 2011

self realisation-part 1

मैंने सोचा क्यों न इस नए साल नए वर्ष को स्वयं की पहचान का वर्ष बनाया जाए

वो कहते है ना की बुरा जो देखन मै चला, बुरा न मिलिया कोय , जो मन खोजा आपना तो मुझसे बुरा न कोय

और जो पहली बात खुद के बारे में समझ आई वो ये की कुछ तो खराबी है मुझमे जो आजतक मुझे एक अच्छा दोस्त नसीब नहीं हुआ या हुई , कोई एइसा नहीं जिससे मै अपना दुख बाट सकू, जिसके कंधे पे सिर रख के रो सकू, जो मुझे समझे और मुझे समझाये भी। पर जितना भी जानने की कोशिश करती हूँ कुछ भी समझ नहीं आता । मुझे जानने वालों हो सके तो आज मुझे ये बात समझा दो। क्यों नहीं बन सकी मै किसी की दोस्त और क्यों नहीं बना सकी किसी को अपना मित्र ।

Tuesday, September 21, 2010

धर्म,भगवान् और हम

भगवान् वैसे ही हैं जैसा रिश्ता

हम माने की एक औरत हमारी माँ है और हम जब भी मुश्किल में होंगे वो हमारा सहारा होगी, हमारे आशु पोछेगी और हमे आगे बढ़ने का हौसला देगी और हम चाहे तो ये भी सोच सकते हैं की माँ वो है जिसने हमे पैदा किया बस और कुछ भी नहीं किसी भी मुश्किल में वो कुछ नहीं कर सकती तो वो सच में कुछ नहीं कर पाएगी

धर्म वो है जो हमे इस रिश्ते पे विश्वास दिलाने की कोशिश करता है

और हम वो हैं जो चाहे तो विश्वास करे या फिर इस दुनिया में निरे अकेले रहे !

चाह हमारी है फैसला हमारा है

Wednesday, August 11, 2010

जिंदगी हुई सस्ती

जब मैंने पहली बार एक रोड एक्सिडेंट देखा तो रूह काप गयी
कभी सोचती चालक की गलती थी, कभी सोचती उस जल्दी में सड़क पार करते इंसान की शायद।
जब कुछ ही दिनों में दूसरी बार फिर तीसरी बार और फिर हर २-३ दिन में १ ,
लगा ओह भगवान् क्या इंसान की जान की कीमत कुछ भी नहीं ।
तो क्यों ये इंसान दूसरे इंसान को रौदते निकल जाते हैं, क्या उन्हें ये डर नहीं रह गया
की अपनी करनी का फल भोगना पड़ता है। शायद इसीलिए लोगों ने धर्मं बनाये थे
ताकि लोगों के दिल में कुछ तो प्यार होगा इंसान से, और डर होगा कुछ भी गलत करने से,
पर अब तो इंसान खुद को धर्मं और भगवान् से बढ़के मानने लगा है ।
कल की ही बात है ओउटर रिंग रोड सबसे भीडभाड की रोड पे एक भी बल्ब नहीं जल रहा था
धुत अँधेरे में लोग रास्ता पार कर रहे थे , और खुद को रोड एक्सिडेंट में स्वाहा कर रहे हैं
क्या है ये? क्या ये कोई सोची समझी चाल है ?

अब तो सुबह निकलते हुए भी डर लगता है जाने आज वापस लौट के घर पहुचेंगे या नहीं
हे भगवान् बहुत चला ली इंसानों ने अपनी मनमानी अब तो उन् पे लगाम लगाओ
वरना आपके बनाये इस खूबसूरत दुनिया को शमशान में बदलते देर नहीं लगेगी

सर्वे भवन्तु सुखिंह , सर्वे सन्तु निरामया
सर्वे भद्राणि पश्यन्तु , माँ कश्चिद दुख्भाग्भावेत

Tuesday, August 10, 2010

सावन

आया सावन झूम के !!!
बारीस के दिन है, खूब बारीस हो रही है
मै ही क्यूं सुखी रह जाऊ
बस निकल पड़ी उस दिन उनके साथ
यूं ही बारीस में घूमते रहे, लोग देखते कुछ जिज्ञासा से कुछ आश्चर्य से तो कुछ जलन से
हमे यूं घूमते और मस्ती करते पानी में छप्पा छई करते,झूला झूलते
दूसरे दिन ये हरी चूड़िया लेकर आये
लगा अभी बीते नहीं दिन सावन के
अब भी आता है सावन झूम के!!!!

Friday, July 30, 2010

वो रोई थी !!!

वो रोई थी फूट फूट के , अपनी माँ के आँचल में सिमट के, अपने भाई के कंधे से लगके , पिता के सीने से लगके ,बहनों से गले लगके हिचक हिचक के रोई थी अपनी बिदाई पे , सोचा मैंने नए घर जाने से या फिर शायद शहर से गाँव जाने के डर से या फिर गाँव में बिजली नहीं रहती मछर काटते हैं के डर से रो रही है बिचारी नयी नयी ब्याही बहिन

फिर से घर में शादी थी एक और बहिन की, मेरे सबसे करीब थी वो , वो भी रोई और बहुत रोई , शायद अनजाने ससुराल में कैसा व्यवहार मिलेगा वहां के डर से, खाना बनाने के डर से या फिर बर्तन धोने के डर से या फिर उस जीवनसाथी से जिसे २ महीने पहले जानती तक न थी वो , मैं फिर से डर गयी शादी के नाम से, पति के नाम से ससुराल के नाम से

फिर वो दिन भी आया मेरे ससुराल जाने का दिन, सासू माँ से खूब बाते होती मेरा डर कम हुआ, पति से बाते हुई और लगा की दुनिया में सिर्फ ख़ुशी है, नए कपड़े, जेवर सब मिलते हैं शादी में। बिदाई का वक्त आया मै ना रोई । हँसते-हँसते बिदा हुई मै , मैं बिलकुल भी न रोई

कुछ महीने बीत गए हैं शादी के, एक एक कर त्यौहार आ रहे हैं सारे , पर रिश्ते पराये हो गए हैं, नहीं नहीं मै ही परायी हो गयी हूँ शायद , अब्ब ससुराल ही मेरा अपना घर है, मेरा शहर मेरी गली मेरा घर सब पराया हो गया
सारे रिश्ते पीछे छुट गए हैं , अब्ब मेरे शहर को मेरे घर आने का इंतज़ार नहीं रहता। अब मै ब्याहता हो गयी हूँ । अब समझ आता है सब कुछ धीरे धीरे , वो बिदाई पे सबका रोना, बिलख बिलख के रोना, शीषक शीषक के रोना, फूट फूट के रोना

हाय रे मेरी अक्ल मै तो रो भी न पायी उस दिन !!!!

Tuesday, November 17, 2009

2 States

2 States,
is it a love story, is this really a real story, what is this book and what is there that people are reading it desperately. Then i borrowed this book from one of my friend and just like that i started reading the book, it was not like that ki i never read a novel before i am a big fan of hindi novels but an english novel it was for me first time. when i went through the prologue of this book i felt the same kind of situation i am in. and no need to say that going forword it touches too much to me. its kind of every youngster's story. we all fell in love have gr8 dreams and suddenly we have to face all the world, our parents and everybody to anybody to give explanation like why i liked this person. and they will always bet that they have a better match for us. how hurting the situation is. After how much effort a guy got a girl but then also the girl always has to listen that she trapped there beta. huh. and without considering the fact they are breaking all the dreams of there children and they are completely ruining there lives. they will always seek a respect and will blame there children for everything and anything. i dont know why people are like this, who they worship God of love shree krishna and Radha, they are not ready to understand the love of there own children. as you go with the story you will feel more connected to the problem whether u had that or not. A must read what i could say only. I hope world would change soon. till then enjoy the bad one!!!

Thursday, June 4, 2009

After a long time finally i am back with myself. and in between i shifted to Bangalore to get better technical growth :) but i think destiny has decided something else for s/w world recession came with destroying many of the new comers future and thrilling others. what a bad environment everyone trying to save there job.
i was so worried that what will happen to all those engineers of india who were dreaming abt a very beautiful life after good s/w job, what went wrong or what happened everybody knows. but what will happen in future nobody.
we have to think thoda hatke why should we dependent on one country, we should make our own market, our products and we will sell it not to one country but to any one who want to buy. we should be self sufficient. i dont know when we will accept the truth and will start thinking by own.i hope the day will come, and again india will proove its identity, again proudly we will say that india is jagadguru......

Sunday, July 27, 2008

Randy Pausch’s Last Lecture 2

if anybody till not know abt this last lecture, the theme of the lecture was making ur childhood dreams come true. live the life up to fullest, make ur childhood dream true it doesn't matter how silly was that. so naturally i started thinking about my childhood dreams and was astonished to know that i never had any except earning money and make my family's life better. and what a middle class Indian family child may think or dream?so, so lets earn more n more and forget our loved ones ?or try to change our dream, try not only earn money but love of everyone also?we have to think what we are doing today. we have to think other wise at the end of our journey we will surely regret why we not changed.

Randy Pausch’s Last Lecture 1

Today i had seen video's of Randy Pausch’s Last Lecture and read it word by word it really a great a lecture as i find it.wanna share some of my emotions with it.there are many a thoughts in our life and we know that is the only truth about life but we just easily forget to accept that thought.I think almost everyone would agree with line said by him that we in our lives need not money or things its the relationships with others and love we give and get we need.but you may see peoples destroying any one's and even themselves life also to get the money and things. all world is going for the money no matters your beloved are needing your time n u may busy in earning more money for them.everybody wanted to settle down with there career no body wanted to settle with a happy family. and as he said in his lecture at the end of lives journey you would not need money or things you would need peoples arnd you.we are setting several goals and milestone to become more successful but not even trying to get in touch with friends and peoples arnd us.I am really thankful to god that i had a lot of people arnd me who respects me loves me.and that's what i gained till today.its the love we are forgetting day by day and its really a painful stage of world.Randy died yesterday but we should learn from his lecture what he has given us the lecture of love,relationships,trust and friendship.

Wednesday, May 14, 2008

ख्वाब सा शहर

बादलों के पार हैं वो सारे ख्वाब पाने को जिन्हें सब हैं बेताब
ना ढलता हो दिन कभी ना होती हो रात
हर खुशी हो अपनी तेरा हो साथ
गम की जहाँ न हो कोई पहचान खाव्बों सा शहर एक प्यार का जहाँ
सितारों के पास रखके बादलों पे पाँव गाऊ गुन्गुनाऊ ,छेङू ऐसी कुछ तान
सुरीले हो साज़ सब मीठा हो गान नाचू मै झूम के हवाओं के साथ
छेङू मै फूलों को मिलके भँवरो के साथ जुगनुओं से मिलके करू रोशन ये जहाँ
कर लू पूरे दिल के वो सारे अरमां बाँध के शमा बना दु हर पल को खाश
सँवारू मै बचपन भर दूँ जीने की आश स्पर्श हो प्यार का मोहब्बत का हो प्रयाश
कर लूँ वो सारे सपने साकार खुशियों से भरा हो अपना ये जहाँ
खाबों सा शहर एक प्यार का जहाँ !!!!!!



Thursday, January 10, 2008

मैं

मैं हूँ जो, जैसी हूँ , वैसी ही हूँ
नही मतलब मुझे ज़माने से कि मैं क्या हूँ
नही बदलना मुझे खुद को,आज बरसों बाद लौटी हूँ
जब बदला नही नभ,सूरज,धरा और चँद्रमा
नही बदला जब कुदरत का कोई भी करिश्मा
फिर मैं भी तो हूँ उसी कि रचना !!!!
फिर क्यों करू परीवर्तीत खुद को, बरसों बाद पाया है मैंने स्वयं को
सूरत मे खोई जो सीरत थी, आज जाना है मैंने उसको
तभी तो जाना आज कि, मैं हूँ जो,जैसी हूँ, वैसी ही हूँ!!!!

संघर्ष

संघर्ष के इस रक्तिम वर्ण को जीवन के रंग मे रंग लो.
आदेश तुम्हे है धरा और नभ का सूर्य और चन्द्र का.
इस बहती दरिया से सीखो, सदा आगे ही बढ़ना.
जीवन का सौन्दर्य कहीं खो ना जाये जीवन घट मे .
जाओ जाओ जल्दी जाओ, हो ना जाये देर कहीं
जाओ पालो विजय श्री लुप्त ना हो जाए कहीं
ये जीवन मिला है कुछ कर गुजरने के लिए
इसके कीमती वक्त को बर्बाद ना करो
पल मे हो जाये सूर्यास्त ना कहीं
पकड़ लो रश्मियों को, छुपा लो इन्हें आंखो मे
खोना नही अब और कुछ, सब कुछ पाना है तुमको
जीवन का सौन्दर्य कर रहा तुम्हारा आह्वाहान है

Monday, January 7, 2008

दोपहर -शाम

कब सुबह हुई, कब दोपहर हमे शाम को याद आया घर जाना .
जिन् सड़को पर रहे घूमते , वो शाम को लगा जाना पहचाना .
जिसे हमसफ़र समझा दोपहर , उसे शाम को अपना ही साया पाया .
जिस सूरज की ऊष्मा में झुलश गए दोपहर ,शाम को उसे उतना ही प्यारा पाया .
सही है साथ रहना नही याद रहता ,याद रहता केवल उसका "जाना ".

अँधेरा

इतने से अंधेरे से डर गए ,अभी तो रात का रंग और भी गहरा होगा .
जमी नही दीख रही थी , आसमा तो चमक रहा था .
अब तो आसमा भी जमी के काले आँचल में छुप जाएगा ।
वीराना अँधेरा समां होगा .
कुछ भी अलग अलग नही , अलग रंग नही
सब कुछ एक सा , एक ही रंग में डूबा होगा .
सदा सर्वदा का सत्य अँधेरा ,कितना स्नेहिल कितना निश्चल .
हर गम को हर किसी से छीन के अपने ही सीने में छुपा लेगा .
अभी तो रात का रंग और भी गहरा होगा ......

Sunday, January 6, 2008

सपनो का शहर

दुख में डूबी , आसुओं का समंदर ,भूल गई किनारों को
डूब गई उस भवर में , जिसे समझी थी शहर
गाँव की मई भोली लड़की , सोचा था यहाँ खुला आसमा होगा
ज़मी ही नही आस्मां भी अपना होगा
उड़ने की आश लेकर , उठी थी ज़मी से
ना जाने कहाँ खो गई ?, ये न सोचा आसमा विस्तृत होगा
खो गई माँ ! कहाँ आ गई मै !, मेरे सपनो का शहर एसा होगा !
सोचा ना था इतनी अकेली , सिर्फ़ दुखो का अँधेरा आसमा होगा .
सूरज को देखकर के उड़ान भरी , आसमा में पहुचने पे वो जा चुका था .
और सिर्फ़ अँधेरा आसमा मेरा था .
अब तो बस डूब जाने का मन् करता है सागर में
या जल जाने का दिल करता है दीपक में
सपनो का शहर फ़िर मेरा होगा !!!!

Poems on college rough copies

Hi dear friends

We all have some fav pass time in college lectures.
I used to write some lines or u can say poems in my rough copies.
I am fond of reading and writting anything.
i am a day dreaming gal and i like to live in dreams.
there were different different circumstances in which i wrote.