<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Yuvraj Blogs – Yuvraj Blogs</title><link>https://www.yuvraj.com.np/</link><description>Recent content on Yuvraj Blogs</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Thu, 05 Aug 2021 12:12:07 +0000</lastBuildDate><atom:link href="https://www.yuvraj.com.np/index.xml" rel="self" type="application/rss+xml"/><item><title>मनास्लु सर्किट ट्रेकिङ</title><link>https://www.yuvraj.com.np/2021/08/05/%E0%A4%AE%E0%A4%A8%E0%A4%BE%E0%A4%B8%E0%A5%8D%E0%A4%B2%E0%A5%81-%E0%A4%9F%E0%A5%8D%E0%A4%B0%E0%A5%87%E0%A4%95%E0%A4%BF%E0%A4%99/</link><pubDate>Thu, 05 Aug 2021 12:12:07 +0000</pubDate><guid>https://www.yuvraj.com.np/2021/08/05/%E0%A4%AE%E0%A4%A8%E0%A4%BE%E0%A4%B8%E0%A5%8D%E0%A4%B2%E0%A5%81-%E0%A4%9F%E0%A5%8D%E0%A4%B0%E0%A5%87%E0%A4%95%E0%A4%BF%E0%A4%99/</guid><description>
&lt;p&gt;&lt;strong&gt;मनास्लु बेसक्याम्प, विरेन्द्र ताल , लार्के पास, मनास्लु सर्किट&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;वर्षमा ३/४ वटा ट्रेकिंग सम्म जाने गरे पनि प्राय ट्रेकिंगहरु छोटा हुन्थे, तर लामो ट्रेकिंग दशैंको लागि बचाएर राखिन्थ्यो। दशैंमा लामो ट्रेकिंग जाने क्रमको छैठौँ बर्षमा मनास्लु जाने भन्ने कुरा दुई महिना अगाडी देखि योजना बनाएको भए पनि निर्णयमा पुग्न सकिएको थिएन । कता जाने भनेर योजना बनि नसके पनि समुह मा चाहिँ सन्जोग, पासा (राजेन्द्र) र सन्जोग को दुई जना साथी हरु जाने भनेर कन्फर्म भएको थियो । संघर्ष भट्टराई दाई र राम सँग उनिहरुको इटिनेरी मागी सकेर तेस्लाई ग्रुप च्याटमा पस्किदा मात्र थाहा भयो कि ट्रेकिंग त लामो हुने रैछ अनि फर्किदा नवमी जति पुग्ने रैछ भनेर । धेरै दिन लाग्ने देखे पछि सन्जोग ले अर्को ठाउँ जाम दाई भन्न थाल्यो र यो यात्रा मा सहभागी नहुने भयो। हल्का गुगले अनुसन्धान पछि अर्को विकल्पको रुपमा Nar Phu Valley Trek जाने कि भन्ने कुरा पनि आयो । यति लामो ट्रेक यति बिना योजना होला भनेर सोचेको पनि थिइन । एक महिना अगाडी मात्र पाँच पोखरी ट्रेक, त्यो पछि कार्यालयमा कार्य व्यस्तता, फिल्ड भिजिट,अफिसको एक हप्ते पोखरा मिट-अप र त्यस लगतै ट्रेक ले गर्दा योजना बनाउने समय नै पाइएन । यी सबैका बाबजुत जे जे देख्यो तेही प्याक गरेर एक हप्ता अगाडी पोखरा आएँ। पोखरा आए पछिका सबै दिन अत्यन्त व्यस्त हुँदा शुक्रबार साँझ पाँच बजे सम्म पनि कहाँ जाने, कसरि जाने भनेर ग्रुपमा छलफल पनि भएन । पासाले उता ट्रेक जानेको संख्या ४ पुराएको पनि तेही शुक्रबार दिउँसो थाहा भयो । साँझ सम्म पनि नार-फु,अप्पर मुस्तांग, अथवा मनास्लु जाने भन्ने कुरा निश्चित थिएन तर, मनको कुनामा मनास्लु नै गैएला जस्तो लागेको थियो । अन्तिम समयमा काठमाडौँमा रहेको टिमलाई जाम कटाउनलाई मलेखु झर्ने गरी रात्री बस चढ्न भनेर म पनि होटेल बाट घर आएर झोला प्याक गरें । फोन गरेर बाग्लुंग काठमान्डूको रात्री बसको सिट रोक्का गरें । कुर्दा कुर्दै रातीको १२ बजे घर नजिकै चोक बाट बस चढें । मलेखु पुग्दा बिहानको ४:३० बजेको थियो । एउटा होटेलमा बोलाएर एउटा कोठा बुक गरेर एक छिन सुत्यौं हामी। बिहानै उठेर यात्रा गर्नु पर्ने, आठ बजे सम्म सुतिएछ ।&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;पहिलो दिन&lt;/strong&gt; (मलेखु, आरुघाट- सोती खोला )&lt;/p&gt;
&lt;p&gt;मलेखु बाट फुर्के खोला सम्म एक किलोमिटर हिडेर गए पछी धादिंग वेंशी को गाडी चढ्नु अगाडी सेलरोटी र चना खाइयो । एउटा माइक्रो चढेर हामी चारै जना (म, राजेन्द्र, सुविन्द्र र राजेश) धादिंग वेंशी पुग्दा साँढे नौ बजेको थियो । त्यहाँ बाट ११ बजे आरुघाट जाने गाडीको टिकट काटेर बजार परिक्रमा लगायौं । मैले ट्रेकको लागि खाने कुरा पनि किनेको थिइन तेसैले त्यहिँ बसपार्क नजिकै खाने कुरा पनि किनियो । हामी १ बजे आरुघाट पुग्नु पर्ने थियो तर बस गाउँ गाउँ घुम्न्दै जाने भएको ले आरुघाट खोला वारी पुग्दा २ बजिसकेको थियो । फेरी २:३० मा सोतीखोला सम्म जाने बसको टिकट काटेर साSSSSSनो मिनी बसको लास्ट सिटमा चारै जना बस्यौं । सोती खोला नपुग्दै बाटोमा एउटा गाडी बिग्रेकोले हाम्रो गाडी १ घण्टा भन्दा बढी समयको लागि रोकियो । सोतीखोला पुग्दा साँझको ६ बजी सकेको थियो । त्यो दिन अर्को गन्तव्य नपुगिने भए पछि सोती खोलाकै एउटा होटेलमा झोला बिसायौं । एक बुक तास किनेर कल ब्रेक खेल्दै थियौं, होटेलको साहुले पैसाको हो कि होइन भनेर सोध्यो, नजिकै प्रहरी चौकी पनि भए पछी बिना पैसाको खेलेको भनेर एक छिन् खेल्यौं । भोली बिहान ६ बजे हिंड्न सुरु गर्ने सर्तका साथ् हामी बिस्तारामा लड्यौं ।&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;दोश्रो दिन&lt;/strong&gt; (सोती खोला – दोभान – यारु फाँट )&lt;/p&gt;
&lt;p&gt;सबै जना समयमै उठेको भएर, ६ बजे नै माछाखोला तर्फ हिंडन सुरु गर्यौं । आर्मीले पहाड फोडेर बनाएको कच्ची मोटरबाटो भए पनि पुल नभएकोले पुष माघ अगाडी गाडी हरु चल्न सम्भव थिएन । अनवरत रुपमा ३ घण्टा हिंडे पछी हामी ९:१५ मा माछा खोला पुग्यौं र चाउचाउ सुप खायौं । माछाखोला काटीसके पछि ट्रेकको वास्तविक बाटो सुरु हुन्छ । पहिलो दिनमै अनेकौं झर्ना, पहिरोले पुरिएको बाटो, निरन्तर खसिरहने ढुंगाहरु र बुढीगण्डकीको छेवैमा हिंड्न थाल्ने बित्तिकै निक्कै टाढा र विकट ठाउँमा पुगेको अनुभव हुन्छ । तातोपानीमा खाना पाक्न ढिला हुने भए पछी हाम्रो आजको लन्च दुई बजे मात्र दोभानमा सम्भव भयो । लन्च गरेर निस्के पछि खुट्टाको रफ्तार ढिला चल्दै थियो, पेटमा ढुंगा बोके जस्तो हुन्थ्यो अनि ढाडमा त भारी छदै थियो । जगत पुगेर बास बस्ने हाम्रो योजना साथीहरु थाकेकोले पाँच बजे यारुबगरमा नै रोकियो । पोखराको रक गार्डेन रेस्टुरेन्ट जस्तै ठुला ढुंगाको माथी बनेको होटेल रमाइलो नै थियो । हामी त्यहाँ कुर्दै गर्दा दिउँसो भेटिएका ३ जना भाई हरु पनि त्यहिँ आइपुगे र उनीहरुलाई पनि त्यहीं बस्न सुझायौं । भाइ हरु सँग परिचय भयो (भास्कर, निराजन र गौतम) र एक छिन् रमाइलो गफ र समय बिताए पछी ९ नबज्दै बिस्तारा तिर लाग्यौं ।&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;तेश्रो दिन&lt;/strong&gt; (यारु फाँट – सल्लेरी – पेवा – डेंग )&lt;/p&gt;
&lt;p&gt;बिहान ६ बजे हिंड्ने कुरा तय भैसकेको ले उठेर बिल तिरेर हामी नेपालकै पहिलो र लामो Cantilever Bridge (ढुंगामा खोपेर बनाइएको झोलुंगे पुल) हुँदै यात्रा तय गर्यौं । ८ बजे सल्लेरी पुगेर हाम्रो नियमित ब्रेकफास्ट (चाउचाउ सुप) खायौं । सल्लेरी बाट अगाडी बढ्दै गर्दा मौसम सफा भएको बेलामा मनास्लु को चुचुरो देख्न सकिन्छ । सल्लेरी देखि अगाडी बढ्दै गर्दा बाटोमा आन्तरिक र बाह्य पर्यटकको ठुलै लावा लस्कर देखिएको थियो । यो बाटो लार्के पास सहित, चुम भ्याली (Tsum Valley) पनि जाने साझा बाटो भएकोले यतिका पर्यटक देखिनु स्वाभाविक थियो । साँघुरो बाटो अनि खच्चर लाई बाटो छोड्नु पर्ने भए पछि प्राय सबै संगै नै हिड्ने भएको ले, सबै जना लामो ताँतीमा हिंडीरहेको थिए । त्यहि बाटोमा एक जना स्कटल्याण्डको डक्टर सँग कुराकानी भयो । उसले हामी गाइड बन्ने प्राक्टिस मा हिडेको सोचेको रहेछ । त्यो हिडाईमा Brexit, Us Election, नेपालको राजनैतिक अवस्था, भ्रस्टाचार र स्वास्थ्य, शिक्षाको विषयमा कुरा भयो । निज व्यक्ति चाहिँ, चुम उपत्यका गएर त्यो पछि मनास्लु बेसक्याम्प हुँदै लार्के पास गर्ने योजनामा आफ्नी प्रेमिका र ६५ बर्षे प्रेमिकाको बाउलाई लिएर आएको रहेछ । उ सँग को गफ निकै रमाइलो यस अर्थमा पनि रह्यो कि, म संगै हिंडेका अन्य तीन जना साथी हरु खाट्टी नेवार भएकोले उनीहरु प्राय नेवारीमै कुरा गर्थे जसले गर्दा मलाइ आफै नै विदेशी जस्तो भान भैरहेको थियो । चिसापानीमा खाना खाए पछी केही बेरको हिडाईमा चुम उपत्यका र लार्के पासको बाटो छुट्टिनछ । म कानमा एअरफोन ठोसेर डाउनलोड गरेका पोडकास्ट सुन्दै अगाडी थिएँ भने पासा, सुवी र राजेश नेवारी गफमा बिस्तारै पछाडी आउदै थिए । पाँच बजे पछी नहिड्ने हाम्रो शर्तका अनुसार हामी डेंग भन्ने ठाउँमा बस्ने निर्णय गर्यौं । त्यहाँ पनि पुगेर चिया खाइयो, तास खेलियो र खाना खाएर सुत्यौं ।&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;चौथो दिन&lt;/strong&gt; (डेंग – बिहि फेदी- गाप – नामरुंग )&lt;/p&gt;
&lt;p&gt;यात्रा यति छिट्टै महँगो हुन्छ भनेर तेती बेला थाहा भयो जति बेला होटेलको साहुजी ले प्रति व्यक्ति खानाको ८५० र सानो थर्मस तातो पानीको २१० रुपयाँ सहित ४४०० को बिल पेश गरे । तेही बिल तिरेर हिड्ने बेला थाहा भयो, रात भरि हल्ला गर्ने केटीहरुको ग्रुप पोखरा बाट आएको रहेछ । डेंग बाट बिहान ६ बजे नै हिड्न सुरु गर्यौँ । राना भन्ने सानो ठाउँमा त्यहिँको रुखमा फलेका स्याउ प्रतिगोटा २० रूपयाले किनेर खायौं । त्यहाँ बाट बिहिफेदी पुग्दा लगभग ८ बजेको थियो र दुखदबस सुविन्द्रको हिजो साँझ दुखेको खुट्टा फेरी दुख्न थालेको थियो । उसले नेवारीमै कुरा गर्ने भएकोले Pain Killer खायो कि खाएन भनेर पनि राम्ररी बुझिन । तर राजेन्द्रको पनि खुट्टा दुखेको भएर उसले चाहिँ पेनकिलर खाएको थियो । सुवीलाई छिट्टै घोडाको व्यवस्था गर्नु पर्ने देखियो । तै पनि हामी (पासा र म, फर द फर्स्ट टाइम) बिस्तारै हिड्यौं र घापमा गएर सुविन्द्र र राजेश लाई कुर्यौं । त्यहाँकि जवान साहुनीले हाम्लाई फ्रीमा फ्रेस स्याउ खान दिइन्, जुन निकै मिठो थियो । घापमा घोडा पाउन गार्हो हुने भएकोले पासा र म फरेस्ट लज गएर घोडाको पनि बन्दोबस्त गर्ने अनि लन्च पनि अर्डर गर्न हाम्रो पेसमा निस्केम् । फरेस्ट लजमा गएर ४ जनालाई खान अर्डर गरे पछि साहुजी सँग घोडाको विषयमा कुरा गर्यौं । अनेक लम्बा चौडा कुरा पछि साहुले सामागाउँ सम्म घोडाले पुराएको १२,००० रुपयाँ माग गरे । हामीले हुन्छ त भन्यौ, तर सुविन्द्रले एकजना गाइडको बाट फोन गरेर आफु हरु दुवै हिड्न नसकेको, खाना खाइसकेको र घोडाको बन्दोबस्त गर्दिन फोन गरे । घोडाको आइडिया तेतिबेला तुहियो जति बेला राजेश लाई पनि घोडा चाहिने भयो र घोडा हिडाउने मान्छे को पनि छुट्टै पैसा लाग्ने भयो । सबै जना घोडा चढ्न सक्ने भए पनि तेता जाँदा धेरै पैसा नबोकेकोले एकै दिनमा दुई जनालाई झन्डै ३०,००० खर्च गर्न सक्ने अवस्था रहेन । अब केहि कठोर निर्णय लिनु पर्ने बेला आएको थियो । बाँकि यात्रा हामी हाम्रो पेसमा र उनीहरु उनीहरुको पेसमा हिड्ने भन्ने मेरो सोचाइ थियो । तर मलाई अचम्मित चाहिँ तेती गार्हो हुदा पनि उनीहरुलाई फर्किने विचार नआएकोले बनाएको थियो । मैले उनीहरुलाई सुझएं कि, ट्रेकिंग को आधा बाटो पनि हिंडीएको छैन,फर्किने बारेमा पनि सोच, पछी आउदा पनि हुन्छ यति गार्हो गरेर जानु भन्दा भनेर । उनीहरुले त्यो दिन तेही बसेर विचार गर्ने भने पछी पासा र म ३ बजे नाम्रुंग तर्फ लाग्यौं । साँझ साँढे चार बजे एउटा होटेल मा बसेर बास बस्यौँ ।&lt;/p&gt;
&lt;p&gt;हामी बसेकै होटेलमा केहि समय पछी हाम्ले दोश्रो दिन भेटेको भाईहरु पनि आइपुगे । उनीहरु संगै एक जना सोलो ट्रेकर पनि आएका थिए , उनि लिटिल एन्जल्स को शिक्षक रहेछन । अलि समय पछी अर्को सोलो ट्रेकर पनि आइ पुगे, उनको नाम रोशन थियो जो लार्के पास गर्ने दिन सम्म लगभग संगै रहे हामी सँग ।&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;पाँचौ दिन&lt;/strong&gt; (नाम्रुंग – ल्हो -श्याला – सामा गाउँ )&lt;/p&gt;
&lt;p&gt;चौरी, घोडा र खच्चड हिंडेर हिलिएको बाटो मा हाम्रो पाचौ दिन को यात्रा सुरु भयो । आज देखि चाहिँ पासा र म मात्रै थियौं किन कि सुबी हरुले फर्किने निर्णय गरिसकेको थिए। बाटो भरी लटरम्म फलेका स्याउ र त्यो उच्च भेगमा देखिएको लहलाउदो धान खेतले मनै आनन्दित हुन्थ्यो। त्यहि माथी मौसम पनि सफा थियो र बेलाबेलामा मनास्लु हिमालको चुचुरो पनि देख्न पाइन्थ्यो।&lt;/p&gt;
&lt;figure class="post-figure"&gt;
&lt;img src="https://www.yuvraj.com.np/wp-content/uploads/2020/05/lho.jpg" alt="Lho" loading="lazy"&gt;
&lt;/figure&gt;
&lt;p&gt;तस्बिर: नाम्रुंग बाट ल्हो जाने बाटोमा देखिने मनोरम फाँट&lt;/p&gt;
&lt;p&gt;झन्डै ११ बजे तिर हामि ल्हो भन्ने ठाउँ पुग्यौं, जहाँ एउटा ठुलै बस्ती देख्न पाइन्छ। र यदि तपाइँ संग पैसा सकिदै छ भने कुमारी बैंकको शाखा रहित बैंकिग सेवा पनि छ यहाँ। यहाँ बाट पैसा झिक्न लाई तपाईले कुमारी बैंकको कुनै खातामा पैसा पठाउन लाउनु पर्ने हुन्छ अनि यहाँ रहेका व्यक्ति (छिरिंग लामा) ले तपाईलाई नगद उपलब्ध गराउने छन् । हिजो नाम्रुंगमा भेट भएको दिदि को होटेल भएको ले हाम्ले फोन बाटै खाना अर्डर गरिसकेको थियौं।खाना खाएर आराम गरे पछी हामी ल्हो बाट स्याला को लागी हिड्यौं। ल्हो कट्ने बित्तिकै हाम्ले बाटो बिरायौं र एउटा गुम्बा पुगेउं। ४ बर्ष अगाडीको भूकम्पले भत्काएको गुम्बा को मर्मत भैराखेको रैछ । बाटो बिराएर लामो बाटो लागे पनि हामी सही दिशामा रैछौं । यति बेला सम्म पानी पनि पर्न थालेको थियो। पानी मा रुझ्दै खोला नाला तर्दै हामी २ बजे स्याला पुग्यौं ।&lt;/p&gt;
&lt;p&gt;हामी श्याला पुग्दा हामी संग नाम्रुंगमा भेट भएको साथी रोशन पहिल्यै पुगिसकेको रहेछ । त्यो दिन झरी मात्रै परिरहेको भएर रोशन चिया खाँदै थियो , हामी भने भिजेको लुगा विश्राम गरेरै उतार्ने सोच ले नरोकिइ कन सामागाउँ तिर लाग्यौं। सामागाउँ पुग्नु भन्दा धेरै पर देखि नै सामा गाउँ देखिन्छ। पानी निरन्तर परिरहे पनि हेली हरु आइ रहेको देखिन्थ्यो, बाटो तेर्सो थियो तर पानी परिरहेको ले धेरै ठाउँ मा चिप्लो, हिलो थियो। पासा त एक ठाउँमा मज्जाले लर्कियो पनि। पानीमा रुझ्दै र चिप्लिदै हामी साँढे ३ बजे सामा गाउँ पुग्यौं। मनास्लु ट्रेकिंग रुटमा माछा खोला बाट हिडे पछी सबै भन्दा ठुलो बस्ती भनेकै सामा गाउँ हो। मनास्लु हिमाल चढ्ने र चढेर झरेका हरुको ठुलो समुह देख्न र भेट्न पाइन्छ सामा गाउँमा। हिमाल चढ्ने र ट्रेकिंग को पनि राम्रो समय भएको भएर होला, हाम्लाई कोठा पाउन हम्मे हम्मे पर्यो। पछि रोशन पनि आइपुग्यो , उसले पनि कोठा नपाएको भएर हामीले लिएको कोठा नै शेयर गरेर बसौं भनेर निर्णय गर्यौं। रोशन हामी संगै बस्ने भए पछी हाम्रो अलि खुलेर परिचय भयो, राजधानी कै एउटा IT कम्पनी मा बिजनेस एनालिस्ट भएर काम गरेर भर्खरै निस्केको रहेछ। त्यो दिन सामा गाउँ नजिकै रहेको एउटा मन्दिर पुगेर हामी कोठा मै फर्क्यौं। साँझ पर्ने लाग्दा यारु मा भेटिएका भाई हरु पनि आई पुगे। उनीहरुले हामी बसेको होटेल को नजिकै अर्को एउटा होटेलमा कोठा पाएर त्यहीं बसे।&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;छैठौ दिन&lt;/strong&gt; (सामा गाउँ – मनास्लु बेस क्याम्प – वीरेन्द्र ताल – सामा गाउँ)&lt;/p&gt;
&lt;figure class="post-figure"&gt;
&lt;img src="https://www.yuvraj.com.np/wp-content/uploads/2021/08/mt_manaslu.jpg" alt="mt-manaslu" loading="lazy"&gt;
&lt;figcaption&gt;तस्वीर: मनास्लु हिमाल&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;यो दिन बिहान सम्म हाम्रो योजना मनास्लु बेसक्याम्प पुगेर फर्केर आएर अलि अगाडी सम्म को यात्रा तय गर्ने थियो। तर बेसक्याम्प गए पछी हामी फर्किदा विरेन्द्र ताल जाने र आज सामागाउँ मै बस्ने मनसाय बनाएर ढिला ढिला फर्क्यौं। दिन एकदम गज्जबको थियो , सुर्योदय का किरण हरु मनास्लुमा टलक्क टल्किएका थिए। हामी चिया , बिस्कुट खाएर ६:१५ तिर मनास्लु बेसक्याम्प को लागि हिड्यौं। हेर्दा नजिकै देखिएर पनि पुग्न एकदम समय लाग्ने बाटो हो सामागाउँ देखि बेसक्याम्प सम्मको यात्रा। सामागाउँबाट बाट हिंडे पछी बेसक्याम्प जाने उकालोको मध्य भाग तिर एउटा चिया घर छ। हामीले पनि त्यहाँ पुगेर चाउचाउ र चिया बिस्कुट खाएर फेरी उकालो तिरको यात्रा सुरु गर्यौं। हामी बेसक्याम्प पुग्दा सम्म चाहिं बिहान प्रस्ट देखिएको मनास्लु हामी संग लजाएर बादलु भित्र लुकामारी खेल्दै थियो। मौसम सफा हुँदा बेसक्याम्प बाट हिमाल चढ्ने हरुको क्याम्प १ र क्याम्प २ पनि देख्न सकिन्छ। हिमाल चढेका र झरेका हरु र उनीहरुका सहायकहरुको क्याम्प र बाटो भरि नै घुइंचो थियो। कलिलो उमेरका युवा युवति देखि वृद्ध वृद्धा हरु पनि गह्रौं गह्रौं भारी बोकेर उकाली ओराली गर्दै थिए&lt;/p&gt;
&lt;p&gt;। बेसक्याम्प मा बस्दा हिंउपहिरा खसिरहेको देख्न र सुन्न पाइन्थ्यो। घाम गैसकेको र चिसो बढ्दै गएको हुनाले हामी झन्डै १ घण्टा मात्र बसेर बेसक्याम्प बाट ओराली लाग्यौं। फर्किने बेला मा अघिकै झुपडी नजिकै एकजना दाईले आफ्नो गोठ मा चौरी ल्याउनु भएको रैछ। दाइको मा गएर एक लिटर चौरीको दुध रु. २०० तिरेर लिएर आएर त्यहि झुपडीमा तताएर खाएम। राजेन्द्र र रोशन ले एक एक कप खाए, मैले एक कप भन्दा अलि बढी खाएँ। हामी चौरीको दुध खाएर निस्किदा झन्डै साँढे एक बजेको थियो।&lt;/p&gt;
&lt;figure class="post-figure"&gt;
&lt;img src="https://www.yuvraj.com.np/wp-content/uploads/2021/08/IMG_20191003_111951.jpg" alt="तस्वीर: मनास्लु बेसक्याम्पमा म, फोटो: पासा" loading="lazy"&gt;
&lt;figcaption&gt;तस्वीर: मनास्लु बेसक्याम्पमा म, फोटो: पासा&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;त्यो सानो चिया पसल बाट ओरालो लाग्दै गर्दा बाटो मा एक दुई हुल नेपाली भेटिए। यसो कुरा गर्दै जाँदा त सुरथ गिरि भन्ने ब्लगर रैछन्। म २०७१ सालमा रारा ताल ट्रेकिंग जाने बेलामा यिनकै ब्लग पढेर त्यसैको सहायताले गएको थिएँ। त्यो कुरा उनलाई सुनाउँदा खुशी नै भए होलान् भनम। हामी सामा गाउँ जाने बाटो कै बिच बाट विरेन्द्र ताल तिर बरलियौ। बाटो नदेखे पनि ताल हेर्दै हेर्दै, भिड र झाडी छिचोल्दै हामी साँढे २ बजे विरेन्द्र ताल पुग्यौं। मनास्लु र आसपास का हिमाल हरु को सिधै मुनि विरेन्द्र ताल रहेको छ। यो तालको अरु ताल भन्दा विशेषता चाहीं के छ भने, अरु ताल जस्तो छेउ छेउमा गहिराइ कम छैन यो तालमा। तालको छेउमै पनि एकदमै गहिरो छ विरेन्द्र ताल। तालको छेउमा हल्का फोटो सेसन गरेर हामी तालबाट निस्केको पानी, जुन पछि अरु सँग मिस्सिदै बुढी गण्डकी नदि बन्छ, हुँदै सामागाउँ तिर लाग्यौं। हाम्ले बाटो नभेटेर भन्दा पनि खोलै खोला हिंड्दै जाउँ भनेर त्यसरी तिरै तिर हिडेका थियौं।कति पय ठाउँमा खोलाले कटान गरेको भएर हिड्ने बाटो नभएर अप्ठ्यारो पनि पर्यो हाम्लाई। घरि खोला वारी र घरि खोला पारी गर्दै हामी ४ बजे सामागाउँ पुग्यौं।&lt;/p&gt;
&lt;figure class="post-figure"&gt;
&lt;img src="https://www.yuvraj.com.np/wp-content/uploads/2021/08/BirendraTal.jpg" alt="तस्विर: मनास्लु बेसक्याम्प नजिकै बाट देखिने वीरेन्द्रताल र पछाडीरहेको सामागाउँ" loading="lazy"&gt;
&lt;figcaption&gt;तस्विर: मनास्लु बेसक्याम्प नजिकै बाट देखिने वीरेन्द्रताल र पछाडीरहेको सामागाउँ&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;&lt;strong&gt;सातौ दिन&lt;/strong&gt; (सामा गाउँ – साम्दो – धर्मशाला)&lt;/p&gt;
&lt;p&gt;सामागाउँ बाट धर्मशाला (४४०० मिटर ) को लागि ६:३० तीर नै हिड्यौं हामी। आजको दिन हिड्नु पर्ने दुरी धेरै नभए पनि चाडो नै निस्कियौं। लगभग २ घण्टा सिधा सिधा बाटो हिंडे पछि हामि ८:३० मा साम्दो भन्ने ठाउँ पुग्यौं। साम्दोमा चिया खाएर हामी त्यहाँ बाट अगाडी बढ्यौं। झन्डै आधा घण्टा पछी लार्के बजार पुगिन्छ। बजार भनिए पनि यहाँ बजार छैन, यो खर्क जस्तो ठाउँ हो। लार्के बजार बाट दायाँ तिर लाग्यो भने तिब्बत को सिगात्से पुगिन्छ। यो उत्तरी भेगका समुदाय लाई सर सामान किन्न लाई सबै भन्दा नजिकैको ठाउँ भनेकै सिगात्से हो। लार्के बजार बाट झन्डै २/३ घण्टा हिंडे पछि सिगात्से पुगिन्छ। हामी चाहिं बायाँ लाग्यौं , जुन धर्मशाला तिर जाने बाटो हो। लार्के बजारबाट धर्म शाला लाग्दै गर्दा चाहीं, हामी हिमाल को ठ्याक्कै अगाडी अगाडी हिंडी रहेको अनुभव हुन्छ। सायद त्यो पांगपोचे हिमाल हो जुन हामी हिंड्दै गर्दा हाम्रो पछाडी पट्टि पर्छ।&lt;/p&gt;
&lt;p&gt;हामि पौने बाह्र बजे धर्मशाला पुग्यौं , जुन लार्के पास गर्नु पहिलाको अन्तिम बास बस्ने ठाउँ हो। भिरालो जमिन, सानो खोलाको नजिकै रहेको, समुद्री सतह देखि ४४०० मिटरमा रहेको धर्मशालामा धेरै होटेल हरु पनि छैनन् । दिन पुरै बाँकी भए पनि र लार्के पास गर्न समय भए पनि, १२ बजे पछि एकदम धेरै हावा चल्ने हुनाले हामी पनि धर्मशालामै बस्यौं। १२ बजे खानको लागि चाउचाउको सुप मात्र थियो होटेलमा र हामी त्यहि खाएर पसिनाले भिजेका लुगा, मोजा सुकायौँ। अलि बेर आराम गरेर हामी अलिकति उचाई लिउँ भनेर धर्मशाला माथी को डाँडा तिर उकालो लाग्यौं। हेर्दा खेरि अब त्यहाँ पुगे पछि त क्षितिज सकिन्छ भन्ने लाग्छ, तर जति उकालो काट्दै गयो, उति अर्को क्षितिज देखिन्थ्यो। तै पनि झन्डै दुई घण्टा जति माथी चढ्यौं हामी र एक छिन त्यहाँ बसे पछि, ५ बजे तिर फर्केर कोठामै बस्यौं।&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;आठौं दिन&lt;/strong&gt; (धर्मशाला – लार्के पास- भिमथांग – याक खर्क – सुर्की – तिल्जे )&lt;/p&gt;
&lt;figure class="post-figure"&gt;
&lt;img src="https://www.yuvraj.com.np/wp-content/uploads/2021/08/larkepass.jpg" alt="तस्वीर: लार्के पास" loading="lazy"&gt;
&lt;figcaption&gt;तस्वीर: लार्के पास&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;दशैंको फूलपाती को दिन। सबै भन्दा धेरै हिंडेको दिन । सायद सबै ट्रेक हरुमै सबै भन्दा धेरै हिंडेको दिन पनि होला। बिहान ३ बजे उठेर, नित्य कर्म सकाएर, चिया खाएर रोशन , म , र पासा ४:१० मा धर्मशालाबाट टर्च लाइट र मोबाइलको भरमा लाग्यौं लार्के पास गर्न लाई। झन्डै ६ नबज्ने बेला सम्म बाटोको दायाँ बायाँ केहि पनि देखिदैनथ्यो, तर पनि हिडेको बाटो ढुङ्गै ढुंगाको बिचमा भएको चाहिँ थाहा हुन्थ्यो। ६ बजे पछि बिस्तारै ग्लेसियर हरु देखिन थाले, अनि अलि पर सम्मको दृश्य पनि। आज दुई वर्ष पछि ब्लग लेख्दै गर्दा पनि ति अदभुत दृश्यहरु झल्झली याद आउँछ। आहा, सायद स्वर्ग तेस्तै छ होला ! उज्यालोमा मनोरम दृश्य हरुको आनन्द लिदै हामी साँढे सात (७:३०) बजे लार्के पास पुग्यौँ। लार्के पास समुद्री सतह देखि ५१०६ मि. उचाई मा रहेको छ। यहाँ बाट ४५ मिनेट को लार्के पासको बसाई पछि हामी लार्के फेदी तर्फ लाग्यौं। लार्के पास पछि आधा घण्टा भन्दा बढी सिधा सिधै अथवा अलिकति उकालो हिडे पछि बल्ल ओरालो झर्ने बाटो आउँछ। यहाँ बाट तल झर्दै गए पछी लार्के पास आउंछ। यहाँ भर्खरै खुलेका केही होटेल हरु थिए।लार्के फेदीमा चाउचाउ, चिया खाएर हाम्ले रोशन लाई कुरेर बस्यौं। लार्के पास पछि रोशन अलि बिस्तारै आउदै थियो। यसै पनि रोशनको यात्रा उसले बनाएको योजना भन्दा अगाडी भएको भएर उसलाई आज धेरै हिड्नु पर्ने वाध्यता थिएन। रोशनलाई भेटेर पासा र म अलि अगाडी सम्मै जाने बिचारले त्यहाँ बाट छुट्टियौं।&lt;/p&gt;
&lt;p&gt;लार्के फेदीबाट ओराली झरेको १:१५ घण्टा पछि हामि झन्डै १२ बजे भिम्थाङ्ग पुग्यौँ। दशैंमा घर पुग्नु नपर्ने भएको भए भिम्थाङ्गमा २/४ दिन बस्न मन थियो। उस्तै आकार र डिजाइनले बनाइएका, समथर भेग, छेऊमा शान्त भावमा बगेको खोला र त्यहाँ बाट देखिने दृश्य अत्यन्त मनोरम छ। हामी चाहिं त्यहाँ धेरै समय नबिताई कन मर्स्याङ्ग्दि खोलाका मूल खोला हरु हुँदै ओरालो झर्यौं। भोली गाडी चढ्न भ्याउने गरि हामि हिंडिरहेको थिएम, त्यसैले जुन ठाउँमा खाना पाकिरहेको छ त्यहीँ खाने विचारले हामि निरन्तर हिड्यौं। पौने दुइ बजे हामी याकखर्क पुग्यौँ र त्यहीँ खाना अर्डर गरेर खाएम। साग र भात तात्तातो खाइयो, दाल बिहानै पकाएको थियो। खानाको लागि रोकेको एक घण्टामा खाना खाएर निस्केको पहिलो पटक होला हामी , २ :४५ मा हामी याकखर्क बाट हिड्यौं।&lt;/p&gt;
&lt;p&gt;बिहान ४ बजे देखिको थकानले ज्यान थाक्दै थियो , तर याकखर्क बाट अगाडी लागे पछि तिल्जे को एक जना गुरुङ बाजे भेट हुनु भो। उहाँ सँग गफ गर्दै उहाँकै गतिमा हिंड्न थालेम हामी। ३:४५ मा सुर्की र ५:४५ मा तिल्जे पुग्यौँ हामी। बाजे नभेटिएको भए सायद हामी तिल्जे पुग्थेनौं अथवा अलि अध्यारो हुन सक्थ्यो। तिल्जे पुगे पछि उहाँ बाजेकै एक जना नातेदारको होटेलमा बस्ने भयौं। त्यहाँ पुग्ने बित्तिकै पासा र मैले थकित जिउको लागी तात्तातो पेय पदार्थ लिएम। साँझ पनि टन्नै भात दाबेर सुतियो।&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;नवौं दिन&lt;/strong&gt; (तिल्जे – वेशीसहर – पोखरा )&lt;/p&gt;
&lt;p&gt;बिहानै उठेर अगिल्लो दिनको बिल तिरे पछि हामी जिप भेट्न लाई तिल्जे बाट धारापानी झर्यौं। धारापानी देखि बेशी शहर पुग्न झन्डै ४ घण्टा लाग्छ। नौ बजे तिर धारापानी बाट हाम्रो जिप हिड्यो। हाम्रो जिपमा दुई जना अस्ट्रेलियन र उनीहरुका गाइड पनि थिए। खै गाइड र पर्यटकको के कुरा मिलेको रैनछ, उनीहरु हाम्लाई सोध्दै थिए, अनि गाइडले चाहिँ नबोल्नुस भन्दै थियो। मर्स्याङ्ग्दि तिरै तिर अनि भिरै भिर, कति ठाउँमा कहाली लाग्दो बाटो हुँदै र ताल गाउँ, बाहुनडाँडा, अनि नेपालकै पहिलो सुरुङ्गमार्ग हुँदै हामी १ बजे तिर वेशिशहर पुग्यौं। वेशिशहर पुग्ना साथ् एउटा साधारण होटेलमा खाना खाएर हामी काठमान्डौ जाने माइक्रोमा चढ्यौं। आबु खैरेनी पुगे पछि, म झरेर एउटा स्कोर्पियोमा पोखरा लागें भने पासा त्यहि माइक्रोमा काठमान्डौ तिर लाग्यो। यसरी नवौ दिनमा एउटा बब्बाल ट्रेक सक्काएर अष्टमीको दिन घर आइपुगियो।&lt;/p&gt;
&lt;p&gt;समग्रमा, हाम्रो यात्रा को समयावधि यस्तो रह्यो :&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;दिन&lt;/th&gt;
&lt;th&gt;यात्रा&lt;/th&gt;
&lt;th&gt;समय&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;पहिलो&lt;/td&gt;
&lt;td&gt;मलेखु – आरुघाट – सोतिखोला&lt;/td&gt;
&lt;td&gt;सवारी साधन (~ ६ घण्टा )&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;दोश्रो&lt;/td&gt;
&lt;td&gt;सोती खोला – मछाखोला – दोभान – यारुफांट&lt;/td&gt;
&lt;td&gt;११ घण्टा&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;तेश्रो&lt;/td&gt;
&lt;td&gt;यारुफाँट – जगत – सल्लेरी -न्यक – पेवा – डेंग&lt;/td&gt;
&lt;td&gt;१० घण्टा&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;चौथो&lt;/td&gt;
&lt;td&gt;डेंग – बिहि फेदी – ग्याप – फरेस्ट लज – नाम्रुंग&lt;/td&gt;
&lt;td&gt;१० घण्टा&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;पाँचौ&lt;/td&gt;
&lt;td&gt;नाम्रुंग – ल्ही – श्याला – ल्हो – श्याला – सामागाउँ&lt;/td&gt;
&lt;td&gt;८ घण्टा&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;छैठौँ&lt;/td&gt;
&lt;td&gt;सामागाउँ – वेसक्याम्प – वीरेन्द्र ताल – वेसक्याम्प&lt;/td&gt;
&lt;td&gt;१० घण्टा&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;सातौँ&lt;/td&gt;
&lt;td&gt;सामागाउँ – साम्दो – धर्मशाला&lt;/td&gt;
&lt;td&gt;५ घण्टा ३० मिनेट&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;आठौँ&lt;/td&gt;
&lt;td&gt;धर्मशाला – लार्के पास – लार्के फेदी – भिम्थाङ्ग -सुर्की -तिल्जे&lt;/td&gt;
&lt;td&gt;१३ घण्टा ३० मिनेट&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;नवौं&lt;/td&gt;
&lt;td&gt;तिल्जे – धारापानी – वेशिशहर&lt;/td&gt;
&lt;td&gt;१ घण्टा पैदल + ४ घण्टा जीप&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;blockquote&gt;
&lt;p&gt;धन्यवाद&lt;/p&gt;
&lt;p&gt;मेरो ब्लग सम्म आएर, यो ब्लग पढ़दिनु भएकोमा धन्यवाद। तपाईलाई कस्तो लाग्यो कृपया कमेन्ट गर्नु होला।&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>View List of Stored Procedures In Postgresql</title><link>https://www.yuvraj.com.np/2019/01/17/view-list-of-stored-procedures-in-postgresql/</link><pubDate>Thu, 17 Jan 2019 20:21:12 +0000</pubDate><guid>https://www.yuvraj.com.np/2019/01/17/view-list-of-stored-procedures-in-postgresql/</guid><description>
&lt;p&gt;For someone like me who moved to Postgresql from Oracle or Microsoft SQL Server, Stored procedure was most sought after feature in Postgres. There are many benefits of Stored procedure over function.&lt;/p&gt;
&lt;p&gt;Starting Postgress 11, Postgres now supports creation and execution of stored procedure. As developers continue to unleash the power of stored procedure they will certainly be thankful to Postgres and Postgres community. On this post, we’ll see how to list all the created stored procedures in your database.&lt;/p&gt;
&lt;p&gt;Just like functions, we can query the list of stored procedures from information_schema.routines view. Below is the query to view list of stored procedures.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;SELECT
specific_catalog,
routine_schema,
routine_name
FROM
information_schema.routines
WHERE
routine_type='PROCEDURE';
&lt;/code&gt;&lt;/pre&gt;</description></item><item><title>Badimalika Trek (बडिमालिका)</title><link>https://www.yuvraj.com.np/2019/01/01/badimalika-trek-%E0%A4%AC%E0%A4%A1%E0%A4%BF%E0%A4%AE%E0%A4%BE%E0%A4%B2%E0%A4%BF%E0%A4%95%E0%A4%BE/</link><pubDate>Tue, 01 Jan 2019 23:56:32 +0000</pubDate><guid>https://www.yuvraj.com.np/2019/01/01/badimalika-trek-%E0%A4%AC%E0%A4%A1%E0%A4%BF%E0%A4%AE%E0%A4%BE%E0%A4%B2%E0%A4%BF%E0%A4%95%E0%A4%BE/</guid><description>
&lt;p&gt;First thing when I get new office calendar is to look at the holidays and see how they are aligned with Weekends. I search for holidays that are around weekends and immediately mark them. The reason being, I can plan for the trekking trips. I don’t need to really search about destinations, because we have so many places in Nepal that I know of and that one should reach in their lifetime. The problem for me however, is to choose among all those destinations. Considering the difficulty of the trekking route and from past experiences, I was strict on forming the group this time. Sanjog, Bigyan, Rajendra and Me. Sanjog cancelled his Tour The Lumbini plan, Bigyan was yet again willing to go around basecamps, and Rajendra gave up many of the things to join the plan.&lt;/p&gt;
&lt;p&gt;Badimalika was late inclusion in our plan. I had heard it once somewhere in internet and we did a quick youtube about it. Sanjog insisted that we trek to Badimalika, Bigyan, however, was not sure about that. Ultimately though, we all concluded to go to Badimalika.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Day 1:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;We took Nepal’s longest domestic flight (KTM-DHI), scheduled for 7:00 in the morning, got delayed and flew at 7:45. Weather wasn’t clear, we were above cloud for most of the time. When we landed at Dhangadhi Airport in a hour or so, It was totally different feeling and environment. Sun wasn’t that bright but temperature was very hot. As soon as we landed, Sanjog ran towards toilet, not that he works on toilet (wink), but his stomach wasn’t happy from couple of days. We didn’t want to go for lunch or anything until we buy Bus ticket for Bajura, so we took Auto-rickshaw from airport to Dhangadhi Bus-park. We were aware of the strike announced by different transport committees against government’s action against syndicate. We were few days ahead of transport committees’ 1-week long action strike. But, bus owners and local committees had already started the free queue system. There were no vehicles available at Dhangadhi airport that would go to Bajura. Some of the bus drivers, who were going up to Achham, suggested us that we take bus to Achham and take jeep and hospital ambulances next day from Achham, I wasn’t going after any of the ideas though. We didn’t want to make any decision on empty stomach, so we headed for a restaurant near Buspark. In the hotel, we had a contact with Bus-owner, whose bus was travelling to Bajura, but from Attariya. We booked ticket for four of us with 900 each. We still had some time after lunch, so we headed to Dhangadhi Park, and we played Ludo there.&lt;/p&gt;
&lt;figure class="post-figure"&gt;
&lt;div class="img-missing" role="img" aria-label="Same Ludo Game, but at different place this time. (not available yet)"&gt;
&lt;span&gt;📷&lt;/span&gt;
&lt;span&gt;Photo coming back soon&lt;/span&gt;
&lt;/div&gt;
&lt;figcaption&gt;Same Ludo Game, but at different place this time.&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;After spending an hour or two on Dhangadhi Park, we returned to Buspark to catch our bus. This bus was supposed to take us to Attariya only and another bus would pick us from there. We enjoyed &lt;em&gt;Kafal&lt;/em&gt; and street food on Attariya. Bus, leaving for Bamka, was a narrow-body and uncomfortable one. Bigyan and me were on the sit side by Pole. It was so narrow that we had to do a poll dance every time getting on and off of the sit. We started our journey in night bus with just 4 strange faces, rest of the passengers were coming from family function in Tikapur and were returning their home back to Achham. Our journey to Bamka was uncomfortable yet, pleasant one.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Day 2:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I woke up around 5 a.m. where Bus was stopped and I thought we were already on Bamka Bazar. But, bus was there on Safebagar, Achham and I forgot what it was waiting for. We left from Safebagar to Bamka on same bus around 7 a.m., only to be dropped off on Buda Bazar. We waited for another bus that would take us up-to Bamka. This was a comfortable and Deluxe Bus coming from Kathmandu. There was no enough space to move inside bus, so we opted to enjoy rest of the trip on hoot in a narrow hilly road.&lt;/p&gt;
&lt;figure class="post-figure"&gt;
&lt;div class="img-missing" role="img" aria-label="Getting off from bus on Bamka Bazar, Bajura (not available yet)"&gt;
&lt;span&gt;📷&lt;/span&gt;
&lt;span&gt;Photo coming back soon&lt;/span&gt;
&lt;/div&gt;
&lt;figcaption&gt;Getting off from bus on Bamka Bazar, Bajura&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;We finally reached Bamka bazar on 9:15 A.M. Because of dispute of locals, regular jeep from Bamka to KailashMandu were not available. To keep the hope of catching jeep alive, we crossed Budi Ganga river. We were told that we should wait at least an hour for jeep, so we decided to ascend towards Kailashmandu village on own foots. In trekking route, it’s never a pleasure to walk through the road. We saw jeep coming after 1 and half hour of ascending, and we took jeep for remainder of the road up to Kailashmandu. We were in regular phone contact with Man Bahadur Dai, who was in Achham for buying buffalo. In Kailashmandu, we asked for a lunch and chicken to be prepared on Man Bahadur Dai’s relative’s home. It took us more than two hours to have lunch and get ready to walk. Around 2:45 PM, we started our real trekking from Kailashmandu. We were off track right after we left Kailashmandu village. Thankfully, it was still a day and we managed to get to the main trail before dawn. We reached Nateshwori Temple, not far from the village, in 4:00 P.M. After some time of rest and visiting temple, we started to walk again. We were targeting to reach BishnuPani and stay in one of the huts or setup a tent there. All of the sudden, It started to get dark and started raining with heavy storms. Thankfully, there was one hut below the trail and we ran towards that hut. It was a narrow, built of stones, 2-story hut. On ground floor, there were some buffaloes and on the upper one there was a place for One old couple to stay. We asked if we could stay there for a night and share their food. The old man was kind enough to give us a shelter there.&lt;/p&gt;
&lt;p&gt;We started chit-chat with old man. It was raining outside and getting cold on the evening. He was kind enough to help us with Ginger-Milk tea in that cold weather. After drinking tea, he prepared &lt;em&gt;Sukka Roti&lt;/em&gt; with the help of bottle and plate. We were already happy with Roti only, but he also offered a sweet curd. I still remember that curd was far superior to &lt;em&gt;Juju Dhau&lt;/em&gt;. We offered him and his wife chicken that we packed from Kailashmandu. In that narrow space, we still managed to play few Ludo games before laying down on our sleeping bags. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Day 3:&lt;/strong&gt; Though we didn’t have a comfortable sleep, night wasn’t fully sleepless. I woke up on 4:30; it was a full moon night. There was no toilet or bathroom for a morning ritual. We managed to do it in old man’s field. While all of us were fresh, old man woke up and prepared tea for us. We were very happy and offered him some financial help. We gave that amount while leaving his hut 5:45 in the morning. We walked about an hour to reach small stream and fill our bottles with water. We tried to ascend as much as we can before the sun was above our head so, we didn’t take much break except one for having &lt;em&gt;Sattu&lt;/em&gt; (Prepared with toasted ground barley grains, salt and other food) and water. About 12 in noon, we were already in alpine zone. Everyone else was so tired that they decided to take a nap at that point. The nap was supposed to be for 10 minutes but got extended for 30 minutes.&lt;/p&gt;
&lt;figure class="post-figure"&gt;
&lt;div class="img-missing" role="img" aria-label="Photo (not available yet)"&gt;
&lt;span&gt;📷&lt;/span&gt;
&lt;span&gt;Photo coming back soon&lt;/span&gt;
&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;We were at the point where there were no trees except some rhododendron ones, we could hear bird’s twitter, see eagles and Danphe (Himalayan monal). Ahead of us were big mountains and we could’ve gone to any direction. We were guessing probably this mountain has Badimalika or that mountain has Badimalika, etc. Remember, there are no road signs on this trail, no tea shops, and no good source of water. We continued walking ahead of us. Our direction was mostly guided by plastic cover of Biscuit, Noodles and Gutkha. At some point, it would take 15/20 minutes of walk to see one of that and to confirm that we are heading in right track. Since there were no tea houses and nothing for lunch, our energy was on coming from Snicker and Sattu. Around 2 in the noon, we were already lethargic but we had very long way to go. We hadn’t seen or known for sure on which mountain do Badimalika lie. Rain caught us while we were ascending the uphill. It followed with big-big rain-storms heating our head. We had no choice as there was no tree or hut or any safe place that could prevent us from those rain-storms. After raining, it started to look dark. Since we weren’t sure on how far our destination lies, I decided to walk in one way and check if we could see the temple. If rain and rainstorm wasn’t enough, it also started to snow. It was very difficult to walk, but I walked about 40 minutes up, where there was no clear way but still there was this threadlike trail that we could walk. After not seeing anything clearly, I returned back to where guys were waiting. From that point we descended further which had taken us more than an hour to ascend.  There was an old, stinky, and unmaintained small loafing shed on the bottom of the mountain where we decided to spend night. We collected some woods from nearby and used them to make our door along with the help of our sticks and plastic raincoats. We were not decided which way to head next morning. After few minutes of discussion, we decided that we will start next day as early as possible and ascend the same mountain that we returned from. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Day 4:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;We needed to wake up and start our trekking as early as possible as this was our verdict day. We all got up around 4:00 A.M., did morning rituals, packed bags and started ascending stiff mountain before dawn. We were short off water, so I was tasked of collecting and carrying water. There was small amount of water in stream because of last night’s rain, I collected water in two of our bottles. Rajendra and Sanjog were leading the way while Bigyan was in medium pace. I was catching them with water bottles in bag and in two hands. As soon as we reached the point where I alone reached yesterday, it looked like there’s still a way to go; forget where though. Bigyan was already feeling high altitude and was barely walking. We took Oreo, and I was assigned a duty to walk with Bigyan; recalling that moment now, that was a penalty for me. I was so irritated by Bigyan’s inability to walk; he would walk slowly for 2 minutes but take 10 minutes of rest. I tried everything, pushing from behind, motivating from upfront, scolding, and what not. We were already in distance with Rajendra and Sanjog.&lt;/p&gt;
&lt;p&gt;As we were climbing top, we were afraid of how to return through the same way. It’s easier to climb high as you don’t usually see what’s ahead of you. But, when you need to descend such a stiff mountain, you need to have a strong heart. More we climb, more snow was there. There wasn’t very clear trail at all though. If there was any, that was all covered by snow and rainstorms. Around 9:30 a.m. in the morning, we saw step stones. It was unbelievable at that height of 4,000+ meters to see step stones considering that there was no clear trail up to that point.  Those step stone already gave us a vibe that we were nearing Badimalika temple. After 5/10 minutes of walk on step stone, we finally reached Badimalika temple before 10:00 in the morning. What a relief, what a happiness, and what an achievement considering we were almost about return without reaching there. We were all tired and it was a windy day. But, we visited around the temple, saw the beautiful landscapes all around. The landscape view was out of our imagination. The only problem though was to figure out which side was the Triveni. We kept on guessing, took photo, worshiped Badimalika Mai, asked for whatever everyone wanted, and had &lt;em&gt;Shatu&lt;/em&gt; and Cashew. It was 1:30 when we started our walk for Triveni. We were told by Manbahadur dai that there’s a water tank in mountain near temple on the way to Triveni. We saw that water tank, but there was no way of reaching there. The only way to reach water tank was fully covered by snow and the snow was such that you’ll sleep off for sure and die. So, we didn’t risk going there.&lt;/p&gt;
&lt;figure class="post-figure"&gt;
&lt;div class="img-missing" role="img" aria-label="This was the way to water tank. The ice covered area in far corner is the water tank. (not available yet)"&gt;
&lt;span&gt;📷&lt;/span&gt;
&lt;span&gt;Photo coming back soon&lt;/span&gt;
&lt;/div&gt;
&lt;figcaption&gt;This was the way to water tank. The ice covered area in far corner is the water tank.&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;After half an hour of walk downwards, we decided to collect water from snow. It was 2:00 in the noon, sun was bright and snow was melting making us easy to collect water. We drank icy water, filled in our bottles and made couple of Jeevn-Jals as well. Then again, we started walking but it was very difficult trail. The trail is pretty narrow just enough for one person to walk, there were some landslides, and to make things worse, all trail was covered by snow. We walked with 4 feet some. At some point I lost hope on me and on all of the boys as well. I was afraid someone will go down. Once you are down on that trail, there’s no way that you’ll be found dead or alive again.&lt;/p&gt;
&lt;p&gt;We kept on pushing our legs, believed on sticks and believed on Badimalika and kept on walking. At some places, we were confused which side to take because there are no signs, nobody to ask and no house, hut, animals or anything on vision span. In same situation, cloud will cover you all and separate 4 of you from one other. The visibility was rarely a step ahead at some point. Yet, we turned out lucky, took right turn and were on the right track. It was getting cold now, there was no sign of Triveni, any river, or anything to be seen, so we also had to think about night. Luckily, we saw stone hut, and we rushed towards that. There was no body and no animals. But, it was near the small stream, was stronger than the one we stayed last night and was spacious as well. There were some firewoods as well. We were in mood of cooking noodles. So, covered a plate with mud, brought a water from stream and we boiled water on that. Turn by turn, each of us got one plate of hot water, mixed our noodle and had a semi-cooked food after 3 day. We rewarded ourselves for doing what appeared to be an insurmountable thing. It was wonderful stay on hut on this day. The cloud would fill up everything and will clear in a minute again. We were in island of land.&lt;/p&gt;
&lt;h4 data-hextra-search-id="day-5"&gt;Day 5:&lt;span class="hx:absolute hx:-mt-20" id="day-5"&gt;&lt;/span&gt;
&lt;a href="#day-5" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h4&gt;&lt;p&gt;All of us had a pretty good and warm sleep. As usual, we woke up early, did morning rituals, packed our bags, sleeping bag and mat, filled up bottles with water and started walking. It was bitterly cold and sun hadn’t risen yet. We reached in Triveni, there are 3 creeks coming from different directions of the mountain and the water was ice-cold and we were hardly able to touch it. I went past the streams to check if we could see some villages, but it was only prairie that we could see. We spent about an hour around the triveni, worshiped at temple there, had our &lt;em&gt;Satu&lt;/em&gt; and started our walk back to Badimalika temple. We were considering returning through some other route and checked if GPS was working properly. But, neither GPS was working properly, nor we had clear offline map, nor was there any direction mark. We could have taken a challenge but Bigyan was not feeling well and if we got lost for 2 days, we would be without food. So, we didn’t want to take that risk and took another risk of returning through that difficult mountain again. We decided to do Bigyan’s speed check. From one point, Rajendra and I walked non-stop for 20 minutes and asked Sanjog and Bigyan to follow us. It took Bigyan and Sanjog 55 minutes (35 more minutes) to walk the same distance. The day wasn’t clear, visibility was rarely up to your next step. But, some time nature would clear and show little glimpse of the Badimalika temple from far. In about 4 and half hours (Bigyan’s speed), we reached Badimalika temple from Triveni around 12:45 p.m. We didn’t spend much time their except stopping there for timelapse and some snacks. We started descending from Badimalika top around 2 p.m. As they did most of the time, Rajendra and Sanjog walked ahead and left me to walk in Bigayn’s slow pace. But, Bigyan was feeling good and was getting better at walking this time. We descended that huge mountain pretty fast. In 3 hours, around 5 p.m., we reached in a place called Dharma Chhinna and the squad took rest their for a while. A jungle starts from Dharmachhinna and it was getting dark as well. But, trail was pretty straight and wide enough to walk being carefree. We didn’t set ourselves a target and wanted to walk as long as we all are not tired or as long as there’s light. We further walked for 2.5 hours and reached a place called Motipani. While we were ascending to Badimalika 2 days ago, there was a man in the hut with his dog and lambs. We expected him to be there and had thought of staying there. Even though he wasn’t there, we decided to stay there in his hut which was full of bugs and fleas. We fired a wood, had our regular Satu I belive and slept there. We had a fear of Tiger or Beer attacking us while sleeping and as far as I remember everyone was semi-awake after 2 a.m. We got off on 5, did riturals, I did in the base of a tree. We decided to leave the biscuit and noodle we had on the same hut where we stayed so that the old man gets happy. We just hope he returned there in time. We were getting frequent call of Man Bahadur Dai and he was offering us to have lunch in his home. Which, we were also happy about. He sent his uncle to receive us on Kailashmandu who guided us until Man Bahadur Dai’s home. He and Bal Bahadur dai have a beautiful home in Kailashmandu with wonderful view of Bamka bazar and surrounding mountains and I think one of the best house in that area. Everyone rushed for charging mobile. We were offered a tea and we had it with biscuit. After few time, lunch was ready and it was awesome as hell with Dudh, Mohi, and Ghiu. Man dai was asking us to stay and was offering Local Bhale (look at the picture below for what we missed). But, we wanted to move on and travel other places. We descended from Kailashmandu to Bamka Bazar. The road was almost empty. The travel person’s strike was still on and there were very few vehicles available to travel.&lt;/p&gt;
&lt;figure class="post-figure"&gt;
&lt;div class="img-missing" role="img" aria-label="Photo (not available yet)"&gt;
&lt;span&gt;📷&lt;/span&gt;
&lt;span&gt;Photo coming back soon&lt;/span&gt;
&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;We waited long on Bamka Bazar for Bus. While waiting, we had local chow-mien, Local Kakro and what not. Luckily, we got a bus to stand and two seats I believe around 4 pm. It was called for full strike the next day, so, bus was on full speed and dropped us next morning 5 am on Attariya.&lt;/p&gt;
&lt;h4 data-hextra-search-id="day-6"&gt;Day 6:\&lt;span class="hx:absolute hx:-mt-20" id="day-6"&gt;&lt;/span&gt;
&lt;a href="#day-6" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h4&gt;&lt;p&gt;After getting off from Bus, we moved to the other side of the road on the way to Mahendranagar. There were some trucks coming but they were refusing to take us or they were not reaching Mahendranagar. Even though it was early morning, we were kissed here and there by mosquitoes. After a long wait, a gyp arrived with a poster of “PRESS” on it. We requested and they’re ready to lift us along with some 20 others in that small gyp. We were sitting there like a sack of cement is carried in truck. It was one of the riskiest travel of my life. Regardless, we reached Mahendranagar safely and took Rickshaw to take us up to Dodhara Chandni. We had many vegetable curries and foods in a restaurant in Dodhara chandni.&lt;/p&gt;</description></item><item><title>PowerShell: Working with large files performance comparison</title><link>https://www.yuvraj.com.np/2017/02/15/powershell-working-with-large-files-performance-comparison/</link><pubDate>Wed, 15 Feb 2017 14:45:57 +0000</pubDate><guid>https://www.yuvraj.com.np/2017/02/15/powershell-working-with-large-files-performance-comparison/</guid><description>
&lt;p&gt;Ever since I started using PowerShell (back in 2012) for automating boring tasks or automating complex tasks, I always thought PowerShell Command-lets provided in powershell were the best to use not only for the ease of use but also for the performance. I always thought PowerShell Cmdlet provide high performance than any other alternatives available. However, when I needed to work with large text files (we still have to work on text files and they are very large), I needed to wait for result longer than usual.&lt;/p&gt;
&lt;p&gt;Before looking at the script and comparing the performance, let’s look at the requirement:&lt;/p&gt;
&lt;p&gt;I needed to take around 10% of the lines from the file that had 260 Million lines and that was 22 GB large. To be precise, I needed to take 29,331,402 lines out of the 259 Million lines. As always, I used simple powershell script to do this. It took more than half an hour and I just cancelled the script in between. I’d never seen powershell script taking that long time for any large tasks before. So, I decided to try some other alternatives and benchmark the output. I hope this will be beneficial to you as well.&lt;/p&gt;
&lt;p&gt;To Benchmark this process, I took smaller file with 2405 MB File size and 29.33 Million lines. The test I performed on is Dell Latitude E7450 with i7-5600 2.6 GHz CPU, 16 GB Ram and Solid-state drive.  Then, I’m trying to take First 1 Million lines from this text file and write to newer one.&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;Measure-Command{
Get-Content “D:\largefile.txt” -TotalCount 1000000 | out-file d:\largefile1m.txt -Encoding ascii
}&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Execution Time: 6 Minute(s) 41 Second(s) 479 Milliseconds.&lt;/p&gt;
&lt;p&gt;Not quiet impressive right?&lt;/p&gt;
&lt;p&gt;Let’s try another alternative, again through Powershell Script.&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-powershell" data-lang="powershell"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;Measure&lt;/span&gt;&lt;span class="err"&gt;–&lt;/span&gt;&lt;span class="n"&gt;Command&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nv"&gt;$file&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="no"&gt;IO.File&lt;/span&gt;&lt;span class="p"&gt;]::&lt;/span&gt;&lt;span class="n"&gt;OpenText&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="err"&gt;“&lt;/span&gt;&lt;span class="n"&gt;D:&lt;/span&gt;&lt;span class="p"&gt;\&lt;/span&gt;&lt;span class="n"&gt;largefile&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;txt&lt;/span&gt;&lt;span class="err"&gt;”&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nv"&gt;$output&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="n"&gt;New&lt;/span&gt;&lt;span class="err"&gt;–&lt;/span&gt;&lt;span class="n"&gt;Object&lt;/span&gt; &lt;span class="n"&gt;System&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="py"&gt;IO&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="py"&gt;StreamWriter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="err"&gt;“&lt;/span&gt;&lt;span class="n"&gt;D:&lt;/span&gt;&lt;span class="p"&gt;\&lt;/span&gt;&lt;span class="n"&gt;largefile1m&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;txt&lt;/span&gt;&lt;span class="err"&gt;”&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nv"&gt;$count&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="mf"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;while&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$count&lt;/span&gt;&lt;span class="p"&gt;++&lt;/span&gt; &lt;span class="err"&gt;–&lt;/span&gt;&lt;span class="n"&gt;lt&lt;/span&gt; &lt;span class="mf"&gt;1000000&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nv"&gt;$line&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;$file&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="py"&gt;ReadLine&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nv"&gt;$output&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="py"&gt;WriteLine&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$line&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nv"&gt;$count&lt;/span&gt;&lt;span class="p"&gt;++;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nv"&gt;$file&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="py"&gt;Dispose&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nv"&gt;$output&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="py"&gt;Close&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Execution Time: 22 Second(s) 445 Millisecond(s)&lt;/p&gt;
&lt;p&gt;In the above script, I used .Net Framework’s IO classes through Powershell to read and write files. We can see the second script is 18 times faster than first one.&lt;/p&gt;
&lt;p&gt;Why not we try simple C# console application that does all of this and benchmark this.&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-csharp" data-lang="csharp"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kd"&gt;static&lt;/span&gt; &lt;span class="k"&gt;void&lt;/span&gt; &lt;span class="n"&gt;Main&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;[]&lt;/span&gt; &lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;Stopwatch&lt;/span&gt; &lt;span class="n"&gt;sw&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="n"&gt;Stopwatch&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;sw&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Start&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;StreamReader&lt;/span&gt; &lt;span class="n"&gt;fileReader&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="n"&gt;StreamReader&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="err"&gt;@”&lt;/span&gt;&lt;span class="n"&gt;D&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;largefile&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;txt&lt;/span&gt;&lt;span class="err"&gt;”&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;StreamWriter&lt;/span&gt; &lt;span class="n"&gt;fileWriter&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="n"&gt;StreamWriter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="err"&gt;@”&lt;/span&gt;&lt;span class="n"&gt;D&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;largefile1m&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;txt&lt;/span&gt;&lt;span class="err"&gt;”&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="n"&gt;line&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="k"&gt;while&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;line&lt;/span&gt;&lt;span class="p"&gt;++&lt;/span&gt; &lt;span class="p"&gt;&amp;lt;&lt;/span&gt; &lt;span class="m"&gt;1000000&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;fileWriter&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;WriteLine&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;fileReader&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ReadLine&lt;/span&gt;&lt;span class="p"&gt;());&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;fileWriter&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Flush&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;fileWriter&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Close&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;fileReader&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Close&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;sw&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Stop&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;Console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;WriteLine&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="err"&gt;“&lt;/span&gt;&lt;span class="n"&gt;Total&lt;/span&gt; &lt;span class="n"&gt;Time&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="n"&gt;Minutes&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="n"&gt;Seconds&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="m"&gt;2&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="n"&gt;Milliseconds&lt;/span&gt;&lt;span class="err"&gt;”&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;sw&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Elapsed&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Minutes&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;sw&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Elapsed&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Seconds&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;sw&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Elapsed&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Milliseconds&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Execution Time:  0 Minute(s) 2 Second(s) 816 Milliseconds.&lt;/p&gt;
&lt;p&gt;I was surprised this time again, With .Net completing this all in just 3 seconds and giving the same output. If writing a simple console application and compiling with .Net framework gives 133 times performance why not to use Visual Code and write simple code?&lt;/p&gt;
&lt;p&gt;If you’ve made until this point, why don’t you give some feedback to me.&lt;/p&gt;</description></item><item><title>Rara : A trek to heaven</title><link>https://www.yuvraj.com.np/2016/04/06/rara-a-trek-to-heaven/</link><pubDate>Wed, 06 Apr 2016 10:59:46 +0000</pubDate><guid>https://www.yuvraj.com.np/2016/04/06/rara-a-trek-to-heaven/</guid><description>
&lt;p&gt;Thanks a lot to Kali Dai for bringing me the idea of Rara trek although we couldn’t make it together. This was going to be my second trek of year 2072 and I was already excited. Long vacation from regular duty, visiting Rara Lake and walking around Karnali zone- a less developed region, were on my bucket at the same time. First step towards the trekking is to form a group. I asked Mohan, who was always interested on trekking and we became two from one. Manjul was interested too but his leave was not approved. However, I was positive about Manjul joining us. With Manjul, Binay was also joining us and we were to be 4. I talked with my brothers from Jumla, Bhairab Budha (Junior to me during my overseer on Pokhara) and Prabesh Acharya (Junior to me during my B.E. on Cosmos) to collect more knowledge about locality and trekking routes. We decided to start our trekking on 19th March. We had long discussion and took few days to decide on trekking route and transportation. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Day 0 – Shopping and Packing&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;We had already bought the ticket for first flight of Saturday from Kathmandu to Nepalgunj. It was day before trek, but evening shift on office means I had to stay on office till 10:00 p.m. So, I bought Snickers, Pistachio, Oatmeal, Noodles and Chewing gums for trekking before going office. After returning home from Office at 10:30 p.m, I started packing my bags. I almost scratched my cheek while shaving at midnight. It was 12 by the time I finished my preparation.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Day 1 – Kathmandu – Nepalgunj – Surkhet – Patalkhola&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Manjul, me and Binay reached airport around 7:15. It was 7:30 when Mohan arrived. It was first flight of Mohan’s life which got 15 minutes delayed, allowing him some more time to get comfortable. We landed Nepalgunj Airport around 9:20. We took Auto-rickshaw from airport to Buspark. We enjoyed the rickshaw ride on hot day with cool air except that my bag’s strap holder was broken. As soon as we got off from rickshaw, we booked micro bus for Surkhet and took lunch nearby Buspark. We couldn’t find replacement for my bag’s strap holder so I made a knot. We travelled from Nepalgunj to Surkhet on FORCE. It was an amazing travel with all of us getting to know each other more.&lt;/p&gt;
&lt;p&gt;We reached Surkhet around 2:30 p.m. We asked local for available transport service up to Nangma, Jumla. One easy option for us to reject was, to take private van costing us 32,000. Other option was public bus service. One bus was leaving at 4:30 p.m. on same day but seats were not available and another on 6 a.m. next day. We asked Bus driver and staff to check if they could manage 4 seats for us. They interchanged other seats and provided us tickets for B 1,2,3,4. A huge thanks to them. After purchasing ticket for Nangma, we had some *Samosa, Selroti and Chop. *Mohan and I bought Beer for us and started our journey with Tuborg. Cheers ! ! ! After 3 hours of travel on narrow road, with some fear and on loud music, we reached Patalkhola on Dailekh district. We came to know that, because of the narrow and tough road, bus are not allowed to travel at night time. So, our first day’s travel was going to end on Patalkhola. Lunch and dinner were getting tastier as we were travelling up. We walked on moon light on road until we scared ourselves by talking about Tiger and Bear we could encounter while trekking. After returning, we slept on room which was available for free with dinner. On first day, we had travelled 4 districts, Kathmandu, Banke, Surkhet and Dailekh.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Day 2 – Patalkhola – Nangma – Manma – Gothijyula&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;We woke up at 4:30 and completed our daily routines. We left Patalkhola around 5:15 a.m. and continued our travel on same Bus on Karnali Highway. On the way, we had Samosa, Pakoda and Fish from Karnali. Mohan and I had lunch on Dailekh, while Manjul and Binay decided not to have. We were travelling on one side of Karnali river and other side was Achham district. I decided to enjoy the scene and went on to replace *Khalasi * for 2 hours.&lt;/p&gt;
&lt;figure class="post-figure"&gt;
&lt;div class="img-missing" role="img" aria-label="Karnali River (not available yet)"&gt;
&lt;span&gt;📷&lt;/span&gt;
&lt;span&gt;Photo coming back soon&lt;/span&gt;
&lt;/div&gt;
&lt;figcaption&gt;Karnali River&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;Soon, we crossed Dailekh and road touched Kalikot district. Start of the Kalikot means start of the dangerous road! Looking at the road and surrounding, we reached Manma Bazar, headquarter of Kalikot district around 1 p.m. Our bus stopped at Manma for some minutes, held by one passenger who went to bank to deposit money for his brother. We called our home and informed we safely reached Manma. The road ahead from Manma bazar was looking scarier. We talked with bus owner how the road ahead was. He told us that it’ll be like helicopter view if we look outside from Bus. Mohan exchanged side with me to avoid the scary scene seen from his side. The view there was really scary because of the height and curves. Manjul and I checked on every turning hoping scary road to end soon. But we were seeing the similar road for long distance. Asked bus owner, how long the scary road was, he answered 3 hours. Then, Manjul exchanged the seats with Binay. Binay and I were on Driver’s side and Mohan and Manjul on Conductor’s side. The scariest of all is when driver speed up Bus on such breathtaking road. Having traveled many mountain districts and many roads, this road from Manma to Bali was 100 times stunning and breathtaking. Hearing the briefing of various accidents occurred on same highway, we reached Nangma Bazar, Jumla. Our original plan was to stay on Nangma and start trekking next day. But, locals suggested us to take bus up to Gothijyula. That means, our original plan started changing. We called Narendra dai on Gothijyula, whose contact number was provided to me by Prabesh, and asked him to arrange hotel and dinner for us. We reached Gothijyula around 8:30 p.m. Warmed our hands and body on woodfire. We asked best route to walk through with Narendra Dai. We took dinner there around 9:00 p.m. Our wish of recharging our electronic gadgets was not fulfilled as hotel only had solar power and charge was almost gone. Before going to bed on wooden house, we all agreed to wake up early and start trekking tomorrow.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Day 3 – Gothijyula – LumKandh – Chuchumara Lek –  Murmu Rara&lt;/strong&gt;&lt;/p&gt;
&lt;figure class="post-figure"&gt;
&lt;div class="img-missing" role="img" aria-label="Before starting trek at Gothijyula (not available yet)"&gt;
&lt;span&gt;📷&lt;/span&gt;
&lt;span&gt;Photo coming back soon&lt;/span&gt;
&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;3rd day of our trip was our 1st day of trekking. Our initial plan was to walk from Nangma to Gothijyula on this day, but now we were going to hike from Gothijyula instead, so we were 1 day ahead of the initial plan. We wanted to start trek at 6 a.m. but it was 6:40 by the time last man, Mohan woke up. We divided Snickers and noodles that I was carrying.  After taking organic tea at hotel, it was 8:15. Locals said that they usually reach Rara on 5 hours and assumed us to reach Rara on the same day as well even we started late. First hour of the trek was easier one. Side by the brook, straight way, and we all agreed on taking 10 minutes break every other hour. After 45 minutes of walk, we were introduced with straight and upward trek. We started searching local trekking pole. On the way, Mohan asked one sister if he could take the stick from her home, she responded on local ancient “&lt;em&gt;Leeu&lt;/em&gt;“. And, Mohan was &lt;em&gt;twaaa&lt;/em&gt;.  We understood her response after some time and told Mohan that he can take that. Later on, Manjul talked with her and she brought one of the finest trekking pole from home and gave it to Manjul.&lt;/p&gt;
&lt;figure class="post-figure"&gt;
&lt;div class="img-missing" role="img" aria-label="Manjul forgot his sleeping bag on this way. (not available yet)"&gt;
&lt;span&gt;📷&lt;/span&gt;
&lt;span&gt;Photo coming back soon&lt;/span&gt;
&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;We then started vertical walk which would go up to Lum Kandh Lek. I knew, our plan of 10 minutes break on hour of walk was not going to work. I think we took 5 minutes break on every 5 minutes of walk somewhere. To lengthen the walk, Manjul forgot his sleeping bag on one of the stop. Thank God, it was just 10 minutes far. Sooner, Binay’s water bottle could not resist against gravity and was dropped around 100 meter below on the trekking route whose alignment we assumed to be almost 90 degree. There were no footsteps and no trekking route on that mountain, four of us walked on four different ways. Mohan was walking from other side of the mountain. When we almost climbed the mountain, we saw that there was walkable route nearby us which we missed before climbing the mountain. Thank God that none of us fell down.&lt;/p&gt;
&lt;p&gt;It was 1:30 by the time we reached Lum Kandh Lek. I called Narendra dai from Lum Kandh Lek and ensured that we were on right place. However, none of us were sure on which way to take from there. Somewhere very far from Lumkandh, we saw herd grazing together. Because it was very far, we couldn’t ensure if there were shepherd too. Assuming that we’ll meet some shepherd there, we decided that I will walk little ahead, meet someone there and asked the way from there. The main trekking route form lumkandh was entirely covered by snow and we made our own footpath on jungle. When I reached closer to the flocks, I shouted loudly and asked if there is someone around. I heard response from a man who was asking me to come where his sheep were grazing. I took rest there for some time waiting Mohan, Binay and Manjul. When I saw Mohan and Binay after few minutes, they were calling Manjul’s name. I thought all three were coming together. They kept on calling out Manjul. There was no response from Manjul. Not at all. Our first guess was he might have caught stomach problem and is on the way. Manjul rarely gets angry. But when he is angry, he is terrible. So, I thought he was angry with us for not waiting him and he stayed somewhere on the trail. Since there was no response from Manjul for a long time, we decided that Binay and I will go back to search and Mohan will stay there to look after our bags. We were afraid he might had altitude sickness or slipped down. We kept on calling him out and looked at the ground with the fear he might have slipped. It was relief when Manjul responded after couple of minutes. He was returning to us. Our guess was right, he had slipped to the snow and wet. Thank God, he was not severely injured. He had some pain on his body which restricted him from walking on our pace later on. We all talked with shepherd that I called out earlier and asked for the detail path up to Rara Lake from that point. It really was a big relief for us to meet him there. We shared some &lt;em&gt;Shivabuti&lt;/em&gt; that we had with him and gave him some money for helping us. There was an hour of trail which was easier. Then, we should climb another mountain called Chuchumare lek. There are no hotels, home or any shelter on the route that we chose. So, we were eating only Snickers and Noodles. Our water bottles were already empty and we had very less energy left with us. Binay and I were walking some distance ahead of Mohan and Manjul. Binay and my plan was to have camping at Chuchumare top. We were planning to melt snow and cook noodles on that and spend the night on Chuchumare top. We were already eating snow to quench our thirst. Our wish was to see some snow on the path with clear weather. God gave us more than what we asked him. We had a perfect sunny day, and snow everywhere. When we reached top of Chuchumare lek, it was 5:15. It was 5:45 by the time Manjul reached there. The wind at the top was unbearable. All you could see around was snow. We took some warm clothes, put gloves on and decided to walk up to Majighatta as it was not favorable for us to camp there.&lt;/p&gt;
&lt;figure class="post-figure"&gt;
&lt;div class="img-missing" role="img" aria-label="Chuchumare Top and the way we walked (not available yet)"&gt;
&lt;span&gt;📷&lt;/span&gt;
&lt;span&gt;Photo coming back soon&lt;/span&gt;
&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;There was so much of snow around us and entire trekking path was covered by snow of around 1 meter thick. We had very less energy left with us and nobody thought about playing with snow. We just kept on walking over the thick layer of snow and captured some snaps there. It was dark by the time we started walking downhill from Chuchumare top to Majighatta on snow trail inside Jungle. Thank that it was a day before full moon. I’d taken contact number of Army person on Rara National park. I called him and asked how long would it take for us to reach Majighatta, village near by Rara lake. His response was 2 hours. I thought we’d take 4 hours at least with heavy bags, low visibility, and tired body and without rice from last 24 hours. Manjul was good on walking downhill. So, Manjul and I walked ahead with brighter light with the responsibility of identifying the trail. Many times, we thanked Mother Nature for that snow on our trail as footsteps on snow helped us decide the path. No noise, no-one around, no lights around, no sign of living around, we just kept on walking on jungle on night. I beg pardon to Mohan for not taking enough rest on this trail. I think his leg was cramped. I am sorry Mohan. After an hours of walk, we reached an area where there were very few trees. As soon as we thought we completed jungle and are close to the village, trail lead us to another jungle. We just kept on walking on night. We were giving rating to each trekking day. When asked what would be the rating for this day, everyone said it would depend on whether we’ll get some rice or not. There was no doubt for all the rating to be 10/10 if we’d get a chance for dinner. Binay was on 9.5 I believe. We all became happy when we heard a dog barking from long distance. I had never valued a dog barking like this in my entire life. Many times this happened: something that looked like rooftop from distance was just a snow when we reached close. After many such confusion with snow layer, we saw some light around 9:00 P.M from a hut. I went there and talked with people there. They said that we were close to hotel. What a happiness, what a relief! We walked sometime and saw small cottages. Again, asking guys to rest on the way, I rushed to check if there was anyone. Knocked all the doors, shouted “Dai”, “Didi”. As there was no response from two of the houses there, we were upset again. As soon as we decided to move ahead, I heard a female voice coming. I asked her if she could cook for us. Though she’d already slept, she agreed to cook for us. We all sat around fire stove when our food was being prepared. Dinner was yummy. Mohan and I had 3 plates of rice. We were not in the mood of camping on this day either because of tiredness. She showed us a room nearby the kitchen which also had a charging box! One of the happiness on trekking is to get a chance to charge your gadgets. I put my mobile and Camera on charge. I massaged my body with Ajwain oil. Just like other days, plan for tomorrow was to wake up early. This was one of the best day of the trekking where we had so many hell of experience.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Day 4 – Murmu Rara – Rara – Rara&lt;/strong&gt;&lt;/p&gt;
&lt;figure class="post-figure"&gt;
&lt;div class="img-missing" role="img" aria-label="Beautiful Rara (not available yet)"&gt;
&lt;span&gt;📷&lt;/span&gt;
&lt;span&gt;Photo coming back soon&lt;/span&gt;
&lt;/div&gt;
&lt;figcaption&gt;Beautiful Rara&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;One thing I learned on this trek is, waking up others is really a tough job. Throughout the trek, I always woke up first. Manjul and Binay were ahead of 4th placed die-hard Arsenal fan Mohan :). After we woke up, we took double cup of herbal tea each. Best thing about Karnali is herbal tea. It is tastier than herbal tea we take on cities. At 8:00 a.m., we started chasing Rara. After walking for half an hour, we reached where were destined to. Having visited Phewa Lake and Begnas Lake many times, I thought Rara is also like them but bigger one. But, no, Rara is completely different! What a beauty! What a place! I was completely amazed and speechless. As soon as we reached closer to the lake, we put our bag aside, rushed to touch the purest Rara. We then took snaps, videos and enjoyed the beauty of beautiful Rara. There is a walking path around Rake to reach up to Danphe hotel, only hotel closer to the lake. We were in no mood of going far from Rara, so we walked along shoreline for 15 more minutes. As soon as we reached hotel, we ordered 4 lunch sets. Some of the seniors visiting from Kathmandu suggested us to take boat before lunch. Normally boating is allowed in 9-12 on morning in Rara. After 12, waves on Rara are strong and it can be risky to boat. Officer on National park wrote letter to Nepal Army requesting them to provide boating service to us. There is only one boat that Nepal Army row and take you for 10 minutes trip on Rara for free of service. After boating, we returned to hotel for lunch. We decided to setup tent as it might be late and dark when we return after taking full round of Rara. So, we started setting up tent. Binay engineered tent setup and we worked on. As soon as, tent was setup, I entered inside the tent. I still remember that view from tent’s side wall towards beautiful Rara. I wish my house was right there where we setup tent. I bet you’ll wish the same. Waking up with Rara and sleeping with Rara. Just imagine! While I was lost on imagination, I heard someone talking with us outside. He was the same person that we wondered couple of minutes ago. We were wondering because he was around fifty and in simple dress but was carrying Canon 70D. He introduced himself as journalist of Nepal Television and was asking if anyone of us can talk bit about Rara. I was inside tent, Mohan, Manjul and Binay were suggesting each other’s names before they suggested my name. I agreed and came out of the tent. I didn’t really believe he was NTV journalist.&lt;/p&gt;
&lt;figure class="post-figure"&gt;
&lt;div class="img-missing" role="img" aria-label="Speaking for NTV News (not available yet)"&gt;
&lt;span&gt;📷&lt;/span&gt;
&lt;span&gt;Photo coming back soon&lt;/span&gt;
&lt;/div&gt;
&lt;figcaption&gt;Speaking for NTV News&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;He asked me to hold dummy NTV mic and told that, everything will be managed from his 70D. Though I didn’t really believe it will be broadcasted on NTV, I explained something about Rara. I don’t know what I spoke. At last, he told that footage shall be broadcasted on following day’s NTV news.&lt;/p&gt;
&lt;p&gt;After setting up tent, we planned to take a round visit of Rara after a short rest. It was a Sunny day and we were feeling lazy to start walking, although our inner desire was to view RARA from every angle. We ordered Tea and discussed about taking porter on return trek. While everyone else agreed, I really didn’t like this idea. I thought, it might not feel like real trekking without trekking bag on back. Anyway, I agreed on hiring porter. I asked if we can stay one more day on Rara. Manjul and Binay agreed while Mohan didn’t. I tried to convince Mohan but couldn’t. Then, we started walking shoreline around Rara. We were mesmerized on every steps, on every single scene we see of Rara. After walking for half an hour, I felt like walking on beach of some ocean. There were waves from Rara and I liked how they touched me and returned back to Rara! We played with waves for a while. Everyone took snaps and video. Later, we decided not to walk from shoreline but walk faster on regular path if we were to complete the round around Rara. On every step, you want to stay there and watch Rara, but, we kept on walking on as our target to complete one round to Rara (around 16k.m.) on same day. There was snow on many places of the walking trail. At one place, Mohan and I had a racing competition over snow without slipper/shoes, which I easily won. Because it was sunny while we started, all of us were on half pants and T-shirt. After 3, we started regretting on coming on half pants and T-shirts. As we kept on walking, Strong and cold wind was hitting us. Rara is bigger than what you just see with your eyes. You realize it only when you walk around. An area of lake that appears 5 minutes to you take 15 to 20 minutes to reach there. Regardless of wind and cold weather, we kept on walking looking at the beautiful Rara. We finally completed round of Rara around 6:30 p.m. It took us more than 5 hour to round Rara walking on faster pace. After having one full round of Rara, only thing I have to say is, Rara is beautiful from every angle. You’d love every step you walk around Rara.&lt;/p&gt;
&lt;figure class="post-figure"&gt;
&lt;div class="img-missing" role="img" aria-label="Beauty of Rara (not available yet)"&gt;
&lt;span&gt;📷&lt;/span&gt;
&lt;span&gt;Photo coming back soon&lt;/span&gt;
&lt;/div&gt;
&lt;figcaption&gt;Beauty of Rara&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;We were happy walkers when we reached hotel around 7:00 p.m. There were new guests who arrived from Kathmandu on hotel with whom we shared some information on trekking route. We listened to classical Nepali and Hindi songs from my playlist enjoying full moon and beautiful Rara. Mohan couldn’t enjoy this one as much as we did. I wished, CDMA phone was off so that Mohan would also be with us there all the time. We had dinner around 9:00 p.m. We had planned to taste local apple wine but because Mohan and I were already knocked out with something stronger, we decided not to take that one. It was an awesome evening; Rara, full moon, clear sky, classical songs, good friends, Manjul singing songs for us and we somewhat *jhyap. *We had everything that we wished on this day.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Day 5 – Rara – Jhyari Lek – Ghuchchhi Lek – Bhulbhule – Chautha&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;My First stay under tent and sleep inside sleeping bag was a nice experience. Rara on side by tent was making it more awesome. As soon as we woke up, we looked at Rara and started walking around Rara again. We were waiting to see sunrise on Rara Lake. Every moment of day and night, Rara is different, beautiful and gives peace and relaxation to your mind. After watching Rara’s beauty and capturing some sunshine on Rara, we returned back to hotel. Porters we hired were promised to be on hotel by 6:30 a.m. But, they were not there until it was 8:00. At one time, we had thought on our mind that we’ll have to carry our bag, tent and sleeping bag once again. Hotel staff was going towards village, we asked him to send our porters to hotel or find new one. When he was leaving, two men were coming towards us, they were our porters there. Everyone happy, including me. We needed to bargain with our porters for the money that was agreed yesterday. They even refused to go at one moment. We needed them and we hiked the payment that was agreed upon. Our planned time of walking earlier on the day changed and we decided to take lunch there. It was 10:30 by the time we left hotel. Walking on side of Rara, we were bidding farewell to Rara.&lt;/p&gt;
&lt;figure class="post-figure"&gt;
&lt;div class="img-missing" role="img" aria-label="Our porters (not available yet)"&gt;
&lt;span&gt;📷&lt;/span&gt;
&lt;span&gt;Photo coming back soon&lt;/span&gt;
&lt;/div&gt;
&lt;figcaption&gt;Our porters&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;Rara was looking even more beautiful than we saw her over last 24 hours and all we could do is just mesmerize. As we were walking towards our destination, we were slowly leaving Rara. We were deeply attached with the beauty and calmness of Rara in 24 hours. We all started singing many songs like we were getting departed with the loved one. After walking 1 hour around Rara, it was time to finally bid farewell to Rara. We all promised to come back again and stay more time with Rara. We increased our pace and kept on walking looking at the mountain and forests. Mohan was scared by Dog where Mohan’s response was, “&lt;em&gt;Oh! Wait! It’s not me you are targeting!&lt;/em&gt;” Porters were way ahead of us and we were following them. We were taking less rest and were walking on pace than Day 3. It is straight upward from Jhyari Pina village to Ghuchchhi Lek on a dense pine jungle. It was 4:30 when we reached top of Ghuchchhi. We were told that Chautha is not so far from there. We started walking downward from Ghuchchi. Nearby Ghuchchhi is Bhulbhule where there is Army camp. Army inquired us and then provided us water to drink.&lt;/p&gt;
&lt;figure class="post-figure"&gt;
&lt;div class="img-missing" role="img" aria-label="Jumla-Gamgadhi Road at BhulBhule (not available yet)"&gt;
&lt;span&gt;📷&lt;/span&gt;
&lt;span&gt;Photo coming back soon&lt;/span&gt;
&lt;/div&gt;
&lt;figcaption&gt;Jumla-Gamgadhi Road at BhulBhule&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;After walking two more hours from Bhulbhule, we reached Chautha around 7:30 p.m. Chautha is a small village consisting of 10-12 houselholds. Chautha has its own hydropower which also supplies electricity to nearby villages. Porters and I were 15 minutes ahead of other guys. We walked faster so that guys behind us also could walk faster. At one home cum hotel, we asked if they would provide us shelter. They were cooking nettle (&lt;em&gt;sisno&lt;/em&gt;) for dinner. We put our bags on room, became fresh and plugged our devices on charge. We went down to the kitchen to get warm from wood fire. GOSH! there was television there with DishHome. Manjul quickly searched for sports channel if there were any game of our interest were being telecasted. Santosh, son of that house told, ‘*Suddo le sports channel sab faank pardiyo’. *He was angry with his dad for removing sports channel and only recharging cable for home package.&lt;/p&gt;
&lt;p&gt;We were feeling like watching TV after years. We read the scrolling news on all the channel. After reading scrolling news, we started watching Nepal Television. Sooner after we started watching NTV, GOSH! There was reporting of Rara Lake. Camera man had captured us while we were setting up tent, while we were carrying our bags and all. And, ultimately my interview about Rara lake as well. I don’t really know what I spoke about Rara. I was actually excited to see myself on NTV. Everyone agreed that carrying tent and sleeping bag was worthwhile after that coverage on NTV 8:00 P.M. news. We were told that, Kabiraj Karki, that old man who captured our moments was one of the powerful journalist around Mugu and Karnali. We didn’t believe yesterday that he was really sending that footage to NTV and today, we were seeing ourselves on NTV. Anyway, this was really exciting.&lt;/p&gt;
&lt;p&gt;The night on Chautha was getting really good and entertaining. Santosh was talking more and more. He likes to call himself ‘Bale’ of NTV’s popular comedy serial ‘Bhadragol’. Santosh is really a funny guy and clever one as well. He brought a fruit that we’d never seen and asked us to guess its name. It looked like taro (पिंडालु), it often looked like potato, and sometimes like sweet potato. Dinner on Chautha was one of the best food we had on our Rara trek. There were more varieties as well. Santosh gave that potato like fruit too. It was really tasty, we all asked to give us some more. Later we knew that its name was ‘Ground Apple’. On Chautha dinner, we got a chance to taste two new things on our life, nettle and ground apple. Santosh’s talk continued even after dinner, we kept on listening to him. Another awesome day on trekking and we went to bed.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Day 6 – Chautha – Neurighat – Khali – Danphe Lagna – Chyare – Khalanga&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I woke up at 5:30, went bathroom and then woke up Manjul and Binay. I warned them to keep singing on while on restroom as there was no lock from inside in restroom. We paid our bill which was 1,210, bought 3 kg of Ground apple to take home and started walking at 6:30 without even having a tea. Our target was to have tea and breakfast at Neurighat. We reached Neurighat at 9:00 a.m. We ordered tea and cookies there. Our porters only had single cup of tea. Binay had two cup. Manjul, Mohan and I had 11 cup of tea together. The Danphe Lagna height, our walk from Neurighat was the most awaited and most talked walk of the Rara trek by locals. We didn’t find this as difficult and as hard as Chuchumare Lek, maybe because we were not carrying our bags. We reached Danphe Lagna top around mid-day. Most of the walking road was covered by snow and water that was just starting to melt from snow. We took another cheaper and tasty lunch at Danphe Lagna. For 6 of us, it cost us only around 700! I really did not like the rate charged by people on Karnali. It is too less than what they should be charging. I think, they must be develop some business skills in order to improve their living standard. Karnali is not developed as compared to other hilly region of Nepal and people here must work hard to earn their living. After lunch and rest at Danphe lagna, we started walking again. We were now chasing Khalanga. After half an hour of walk, we saw an amazing view of Khalanga valley. Khalanga was too far from us but it was looking awesome. Binay actually liked it as much as he liked Rara. We were on top of the mountain and we had to reach Khalanga bazar through Chyare. Chyare is very big ground on the way from Danphe Lagna to Khalanga. Main attraction of this top of Chyare, especially for those who are returning from Rara is, there is mobile network! Everyone including me got engaged on phone for long time calling near and dear ones. My biggest fear before the trek was my ankle injury which I had got during futsal game. Thankfully, that didn’t reoccur. But, yes during walk from Chyare to Khalanga, I had my ankle twisted 3 times.&lt;/p&gt;
&lt;p&gt;Before Sunset, we reached Jumla Khalanga, also known as Chandan Nath. Khalanga was bigger and more developed than what I had imagined. I think, Jumla is as much or more developed than Parbat district, where I was raised. Jumla khalanga is bigger and developed than Kushma, headquarter of Parbat district. When we reached Khalanga, we booked air-ticket for next day’s flight to Nepalgunj. They said flight time is not fixed from Jumla to Nepalgunjg as it depends on weather of other Karnali district and Jumla itself. There is a single plane and its flight turn of Jumla-Nepalgunj comes only after Nepalgunj-Humla, Nepalgunj-Dolpa and Nepalgunj-Mugu flights. After recent plane crashes, single engine plane were banned and there were only two choice from Jumla to Nepalgung; Tara Air and Nepal Airlines. Only Tara Air provides daily flight to Nepalgunj from Jumla. After booking ticket, Mohan confirmed Shrestha Hotel near by airport, which was suggested by his friends on Pulchowk. Our porters also stayed with us there and were returning tomorrow morning to their home. At hotel, all of us took first bath of the trek. We had last chance of testing local apple brandy wine and asked if hotel had one. Because it has 41% alcohol, it wasn’t wine and we decided not to drink. All of our remaining foods were divided and we packed the bag.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Day 7 – Khalanga – Nepalgunj – Kathmandu&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;We all woke up in no hurry this day. Around 8, we left hotel to visit Khalanga bazar. Last night’s dinner on hotel wasn’t good one so, we decided to have lunch on other restaurant. We visited Chandan Nath Temple and Bhairab Nath Temple at first. Then, we searched hotel for lunch. We ordered 3 lunch for us and sat for breakfast on hotel nearby Chandan Nath mandir. At first, we ordered a plate of *Aalu Chop *and tea for us. Aalu chop was really tasty and I think, we ordered 4 more times. After breakfast, we went for lunch. It was somewhat better than yesterday’s dinner. Manjul had fruit platter.&lt;/p&gt;
&lt;p&gt;After lunch, we returned to hotel room and waited for plane. After a long wait, finally we saw plane coming to Khalanga airport around 2 p.m. It wasn’t hard for us to guess that this was the plane we’ll return to Nepalgunj. After 10 minutes of plane’s landing, check-in started and we got into the plane. Plane’s seat were not so comfortable. Manjul had grabbed a first seat behind one pilot. I got seat behind another pilot. Manjul and I were wondering looking at all those control box. Pilots started the plane, we tried to observe every activities our pilot was doing. I remembered god as soon as plane left the ground. As plane was taking height, our heartbeat was taking height too. Probably airhostess noticed that Manjul and I were looking at cockpit, she closed the curtain behind the pilot. I never imagined to see cockpit view from so close. Our heartbeat was stopped for a while when the visibility was none outside the plane. I was afraid when I saw pilot reading Himalayan Time’s TGIF edition on such a less visibility. After 35 minutes of adventures flight, which was like a mountain flight, we safely landed to Nepalgunj airport. We took the autorickshaw from airport to Buspark. When we saw Bus that we had booked from phone, we wanted to cancel that. We were surrounded by so many bus staffs that kept us on confusion and dilemma on choosing right bus to Kathmandu. After long talk and bargain, we decided to return on Sundar A/C Bus. Our Bus was leaving at 6:00 p.m. and we had 2 hours until then. We wanted to have some Mo:Mo and Chowmien, so we went to Hotel Siddhartha on rickshaw. We had Mo:Mo and various delicious foods there. We waited our bus outside Siddhartha hotel. Within 10 minutes, our bus arrived and we got into bus. Seats were comfortable and we enjoyed the return trip to Kathmandu.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Day 8 – Kathmandu&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Rest, Rest and more Rest.&lt;/p&gt;
&lt;p&gt;At last, it is not possible to describe the beauty of Rara on words or Photo. I suggest you to visit Rara at least once in your life. The trekking route we chose was the most difficult one and there are many easier way to reach Rara. We chose to follow the difficult one, you shouldn’t. Rara national park has allocated area for camping if you want. Danphe hotel is capable of handling enough guests so you shouldn’t really worry about carrying your own tent and sleeping bags. In case hotel is pack, there are enough homestay and hotels just 20 minutes away from Rara at Murmurara and Majighatta. I’ll write all the possible routes that lead up to Rara on my next blog. Once is not enough, I will again visit Rara with my family.&lt;/p&gt;</description></item><item><title>Creating Memory-Optimized Database And Table</title><link>https://www.yuvraj.com.np/2014/09/04/creating-memory-optimized-database-and-table/</link><pubDate>Thu, 04 Sep 2014 13:02:27 +0000</pubDate><guid>https://www.yuvraj.com.np/2014/09/04/creating-memory-optimized-database-and-table/</guid><description>
&lt;p&gt;Hello All,&lt;/p&gt;
&lt;p&gt;I hope you read my previous blog &lt;a href="https://www.yuvraj.com.np/sql-server-in-memory-oltp/"&gt;In-Memory OLTP&lt;/a&gt; . This is my second blog in In-Memory OLTP Series. As of now, you should have known what Sql Server In-Memory OLTP is. Giving you a quick recap, this new feature of Sql Server allows you to store your data entirely in memory giving you up to 100 times performance benefit. In real time, you can expect up to 40 times performance improvement. The coolest of all is your application doesn’t require any changes if you have your table in memory.&lt;/p&gt;
&lt;p&gt;In this blog, I will specially focus on how do we create memory-optimized table. You will use same T-SQL code that you are using till date to create table except few addition. To fit your table in memory, you should have memory-optimized database. You can create new database as memory-optimized or you can change existing database to contain memory-optimized file group. You can store both memory-optimized and disk-based tables in memory-optimized database.&lt;/p&gt;
&lt;p&gt;The process below is same for existing database and for new databases as well.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;*&lt;em&gt;T-SQL:*&lt;/em&gt;
After you have executed Create Database statement, issue the following command :&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sql" data-lang="sql"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;ALTER&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;DATABASE&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;IMOLTP&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;ADD&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;filegroup&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;IMOLTP_MOD2&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;CONTAINS&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;MEMORY_OPTIMIZED_DATA&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;ALTER&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;DATABASE&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;IMOLTP&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;ADD&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;FILE&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;NAME&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;imoltp_mod2&amp;#39;&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;filename&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;D:\Data\imoltp_mod2&amp;#39;&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;TO&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;filegroup&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;imoltp_mod2&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;GO&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Don’t forget to replace ‘IMOLTP’ by your database name. Also, make sure that the path provided in file name exists. In this case, D:\Data should already exist. What we are doing here is simply adding Memory Optimized File group to our database. This file group is needed for Memory Optimized tables.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;SSMS&lt;/strong&gt;:&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Another way to add Memory-Optimized File group to your table is to go through Sql Server Management Studio. Here are the steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;If you are migrating existing database, Select database and click on properties and go to Filegroups tab. If you are creating new database then also go to Filegroups tab.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;There is section called Memory Optimized Data there. Add your memory optimized file group name and it’s done.&lt;/p&gt;
&lt;figure class="post-figure"&gt;
&lt;div class="img-missing" role="img" aria-label="Memory Optimized FileGroup (not available yet)"&gt;
&lt;span&gt;📷&lt;/span&gt;
&lt;span&gt;Photo coming back soon&lt;/span&gt;
&lt;/div&gt;
&lt;figcaption&gt;Memory Optimized FileGroup&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Now, we have database with memory optimized Filegroup so we can add memory-optimized table in this database.&lt;/p&gt;
&lt;p&gt;Below is the query to create memory-optimized table in your database.&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sql" data-lang="sql"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;CREATE&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;TABLE&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;ShoppingCart&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;ShoppingCartId&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb"&gt;BIGINT&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;NOT&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;NULL&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;PRIMARY&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;KEY&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;NONCLUSTERED&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;HASH&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;WITH&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;BUCKET_COUNT&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;2000000&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;,[&lt;/span&gt;&lt;span class="n"&gt;UserId&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb"&gt;INT&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;NOT&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;NULL&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;,[&lt;/span&gt;&lt;span class="n"&gt;CreatedDate&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;DATETIME2&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;NOT&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;NULL&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;INDEX&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Ix_CreatedDate&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;NONCLUSTERED&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;,[&lt;/span&gt;&lt;span class="n"&gt;TotalPrice&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;MONEY&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;WITH&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;MEMORY_OPTIMIZED&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;ON&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;DURABILITY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;SCHEMA_AND_DATA&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;GO&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;This query should look familiar to you but, there are lots of things to note on this create statement.&lt;/p&gt;
&lt;p&gt;Option MEMORY_OPTIMIZED=ON is compulsory for the table to be Memory Optimized Table. DURABILITY=SCHEMA_AND_DATA is optional. If you don’t provide, durability will be SCHEMA_AND_DATA. This means, your data is not lost with power loss or Serer shutdown. I will discuss in detail about this on upcoming blog. Another option is SCHEMA_ONLY. In this option, your data is in memory only till your server is up. Server goes off, you lose data.&lt;/p&gt;
&lt;p&gt;Another thing you need to understand is HASH WITH (BUCKET_COUNT = 2000000). This is hash index we are creating in in-memory OLTP. What is that number 2 with few zeros? This is the way you create hash index in in-memory tables. The Number BUCKET_COUNT should always be 1-2 times of number of unique rows a column can have. Over sizing is okay.&lt;/p&gt;
&lt;p&gt;Now, you have created memory optimized database and table. Now we will create natively-compiled stored procedure. I won’t explain lot about natively compiled stored procedure in this blog as this piece of text is getting longer and i am afraid you won’t read anything of this.&lt;/p&gt;
&lt;p&gt;Execute the following code to create natively compiled stored procedure :&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sql" data-lang="sql"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;IF&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;OBJECT_ID&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;usp_insertSampleCarts&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;IS&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;NOT&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;NULL&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;DROP&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;PROCEDURE&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;usp_insertSampleCarts&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;GO&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;CREATE&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;PROCEDURE&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;dbo&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Usp_InsertSampleCarts&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;@&lt;/span&gt;&lt;span class="n"&gt;startId&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb"&gt;INT&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="o"&gt;@&lt;/span&gt;&lt;span class="n"&gt;insertCount&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb"&gt;INT&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;WITH&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;NATIVE_COMPILATION&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;SCHEMABINDING&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="k"&gt;EXECUTE&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;AS&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;OWNER&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;AS&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;BEGIN&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;ATOMIC&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;WITH&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;TRANSACTION&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;ISOLATION&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;LEVEL&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;SNAPSHOT&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="k"&gt;LANGUAGE&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;N&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;us_english&amp;#39;&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;DECLARE&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;@&lt;/span&gt;&lt;span class="n"&gt;shoppingcartId&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb"&gt;BIGINT&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;@&lt;/span&gt;&lt;span class="n"&gt;startid&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;WHILE&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;@&lt;/span&gt;&lt;span class="n"&gt;shoppingcartId&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;@&lt;/span&gt;&lt;span class="n"&gt;startId&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;@&lt;/span&gt;&lt;span class="n"&gt;insertCount&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;BEGIN&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;INSERT&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;INTO&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;dbo&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ShoppingCart&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;VALUES&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;@&lt;/span&gt;&lt;span class="n"&gt;shoppingcartId&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;10000&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;@&lt;/span&gt;&lt;span class="n"&gt;shoppingcartId&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;dateadd&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;day&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;@&lt;/span&gt;&lt;span class="n"&gt;shoppingcartId&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;10000&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;RAND&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;2014-07-01T00:00:00&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;100000&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;RAND&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;SET&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;@&lt;/span&gt;&lt;span class="n"&gt;shoppingcartId&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;+=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;END&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;END&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;GO&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Now call the stored procedure as below to insert rows in in-memory oltp table.&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sql" data-lang="sql"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;SET&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;STATISTICS&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;TIME&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;OFF&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;SET&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;NOCOUNT&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;ON&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;EXEC&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;usp_insertSampleCarts&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;400000&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;GO&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Observe the time taken to insert 400,000 rows in in-memory table. It should be completed within 1-2 seconds while in disk-based table it would take ~2-3 Minutes.&lt;/p&gt;</description></item><item><title>Introduction to WCF</title><link>https://www.yuvraj.com.np/2014/09/04/introduction-to-wcf/</link><pubDate>Thu, 04 Sep 2014 08:11:29 +0000</pubDate><guid>https://www.yuvraj.com.np/2014/09/04/introduction-to-wcf/</guid><description>
&lt;p&gt;I planned of learning all about WCF (Windows communication foundation) from last one year and i was never close to manage the time. This time, i think i start and will continue. Throughout the period I am learning it, I will try to write down the basics and my understandings. Hope this will help you if you are also just starting WCF.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Connected System:&lt;/strong&gt; An application that is distributed across multiple computer nodes with the strong emphasis on communication protocol.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Building connected systems on windows&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Back in the day, there was DCOM and COM+. There was a wrapper called Enterprise Services to ship DCOM/COM+. Very component-oriented architecture and very RPC in nature. One of this technology was Distributed transaction. In order to take advantage, it required user to have the DCOM infrastructure available in every node that will take part in that style of communication.&lt;/p&gt;
&lt;p&gt;.Net Remoting was introduced wit the release of .Net. It was very similar to DCOM in many ways. It was a solution for Managed code i.e. components will execute completely in managed environment within the .NEt CLR, as a result .Net remoting turned out to be very simple and extensible. But, still depended on .Net CLR.&lt;/p&gt;
&lt;p&gt;Unlike DCOM and .Net Remoting, MSMQ is purely focused on Messaging. It allows user to take a message and transfer between two nodes in a connected system in an asynchronous, durable, reliable methods. It still requires MSMQ infrastructure on every machine that participate on communication.&lt;/p&gt;
&lt;p&gt;Each framework comes with a unique programming model and each of these framework restricts user to windows only.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The move towards “services”&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Demand for technology freedom and interoperability is common now and this is accomplished with the use of Services. Services expose units of functionality via messaging. The way to achieve interoperability is to use standard protocols and message formats. Http is common standard protocol and XML is common message format.&lt;/p&gt;</description></item><item><title>Useful Tips</title><link>https://www.yuvraj.com.np/2014/08/31/useful-tips/</link><pubDate>Sun, 31 Aug 2014 13:15:44 +0000</pubDate><guid>https://www.yuvraj.com.np/2014/08/31/useful-tips/</guid><description>
&lt;p&gt;I am trying to list some useful commands, tips that are rarely needed and need to search on the web. Please add your tips on comment so that i can update this page continuously.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;*&lt;em&gt;Get Dos Path for Folders*&lt;/em&gt;
This is useful when you need to work on Dos environment and work with long directory. To get the dos name of the long folder use dir /x command on dos. For example to get DOS name of the  “C:\long folder name\more longer folder name”. from dos use the command &lt;strong&gt;dir “C:\long folder name” /x&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>SQL Server In-Memory OLTP</title><link>https://www.yuvraj.com.np/2014/08/30/sql-server-in-memory-oltp/</link><pubDate>Sat, 30 Aug 2014 14:24:21 +0000</pubDate><guid>https://www.yuvraj.com.np/2014/08/30/sql-server-in-memory-oltp/</guid><description>
&lt;p&gt;In my next few blogs, I would attempt to explain you about SQL Server’s In-Memory OLTP (Hekaton). Let me know how am I doing with it by giving your valuable comments. In-Memory OLTP is the new feature introduced with the latest version of Sql Server i.e SQL Server  2014.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What is In-Memory Computing?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Kirill Sheynkman describes In-Memory Computing as “In-Memory Computing is based on a memory-first principle utilizing high-performance, integrated, distributed main memory systems to compute and transact on large-scale data sets in real-time – orders of magnitude faster than traditional disk-based systems.”&lt;/p&gt;
&lt;p&gt;Memory-first principle refers to an optimizations one can take advantage of when data is stored mainly in RAM (Yes in Ram, Not in disks).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What is In-Memory OLTP?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You may have imagined what is In-Memory OLTP after knowing what is In-Memory computing. You are right, In-Memory OLTP is the data processing technique that works with the data stored in memory of the server. In-Memory OLTP is a new feature introduced in Sql Server 2014 that stores, retrieves and performs query with data in memory.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Why data are stored in Memory? What is the Cost? What happens when Server shuts down?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Not only RAM is ~1000 times faster than physical mediums, it completely eliminates the traditional overhead of block-level devices including marshaling, paging, buffering, memory-mapping, possible networking, OS I/O, and I/O controller. So, when data is stored in memory, all the time spent on Lock, paging, I/O is saved allowing you to perform your transactions faster and without locks.&lt;/p&gt;
&lt;p&gt;There were the days when computer memory was too expensive and was available in smaller size only. Now, RAM costs less than $10 for GB and we have up to &lt;a href="http://www-03.ibm.com/systems/x/hardware/enterprise/x3950x6/specs.html" target="_blank" rel="noopener"&gt;12TB&lt;/a&gt; of Ram as of writing this blog. Now, what happens when the server goes off? Obviously you know, When the server is shut down, everything stored in RAM is flushed. And what about data? When Server is up again, your data is back on Memory. SQL Server uses Data and Delta files in Memory Filegroup and regular log files to store information about your data so that in case of server shutdown or any other failure, data is reloaded into memory. Always remember one thing, data is always stored in Memory and Logging is always done on disk.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How to install In-Memory OLTP?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In-Memory OLTP is available only with 64 bit of Sql Server 2014. Also, it is only available for Enterprise Edition. You should select In-Memory OLTP feature during an installation of SQL Server 2014.&lt;/p&gt;
&lt;p&gt;In my Next article, I will post on creating Memory Optimized database and tables.&lt;/p&gt;</description></item><item><title>WCF Services</title><link>https://www.yuvraj.com.np/2014/04/02/wcf-services/</link><pubDate>Wed, 02 Apr 2014 13:13:56 +0000</pubDate><guid>https://www.yuvraj.com.np/2014/04/02/wcf-services/</guid><description>
&lt;p&gt;Service design Philosophies are :&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;SOAP :&lt;/strong&gt; It relies on XML Information Set for its message format, and usually relies on other Application Layer protocols, most notably Hypertext Transfer Protocol (HTTP) or Simple Mail Transfer Protocol (SMTP), for message negotiation and transmission. It is transfer neutral Commonly used in a scenario where you have a more controlled environment.&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-xml" data-lang="xml"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;&amp;lt;soap:Envelope&lt;/span&gt; &lt;span class="na"&gt;xmlns:soap=&lt;/span&gt;&lt;span class="s"&gt;&amp;#34;...&amp;#34;&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;&amp;lt;soap:Header&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c"&gt;&amp;lt;!-- additional xml based headers
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c"&gt;securit, rm, tx --&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;&amp;lt;/soap:Header&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;&amp;lt;soap:Body&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nt"&gt;&amp;lt;Invoice&amp;gt;&lt;/span&gt;.. &lt;span class="nt"&gt;&amp;lt;/Invoice&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;&amp;lt;/soap:Body&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;&amp;lt;/soap:Envelope&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;REST:&lt;/strong&gt;  REST don’t attempt to achieve transport neutrality but, RESTful services typically embrace HTTP, the “Web” transport. In REST, services are modeled as an “resources” and they are given an unique identifier (URI). They are communicated via a standard service contract (GET, POST,PUT,DELETE,HEAD). Resources can be represented as XML,RSS,JSON,etc. Commonly used in public facing web-service scenarios.&lt;/p&gt;</description></item><item><title>Converting New Visual Studio Solution File to Previous One</title><link>https://www.yuvraj.com.np/2013/11/13/converting-new-visual-studio-solution-file-to-previous-one/</link><pubDate>Wed, 13 Nov 2013 11:17:22 +0000</pubDate><guid>https://www.yuvraj.com.np/2013/11/13/converting-new-visual-studio-solution-file-to-previous-one/</guid><description>
&lt;p&gt;&lt;strong&gt;Problem:&lt;/strong&gt; When we go on web for solution of some problem, and people on internet can provide us with the whole project or solution.  Not every developer uses the same version of Visual studio IDE.  Situation could be something like that, you are using visual studio 2010 and solution provided on web is on Visual studio 2008. In this scenario, you can easily convert solution in 2008 from 2010. But, actual problem arrises when solution is provided in Visual Studio 2012 and you have Visual Studio 2008 or 2010 on your machine. Visual studio doesn’t support backward compatibility on its solution files. It will give you an error message.&lt;/p&gt;
&lt;p&gt;But, this problem can be easily solved with very little effort. Here is what i did to convert visual studio 2012 solution to visual studio 2008 format&lt;/p&gt;
&lt;p&gt;1. Open solution file(.sln) file with notepad++ or your favourite text editor(notepad can also open this file).&lt;/p&gt;
&lt;p&gt;2. Replace the following first two lines&lt;/p&gt;
&lt;p&gt;Microsoft Visual Studio Solution File, Format Version 12.00&lt;br&gt;
# Visual Studio 2012&lt;/p&gt;
&lt;p&gt;by,&lt;/p&gt;
&lt;p&gt;Microsoft Visual Studio Solution File, Format Version 10.00&lt;br&gt;
# Visual Studio 2008&lt;/p&gt;
&lt;p&gt;3. Save the edited file and now you can simply open visual studio 2012 solution in visual studio 2008.&lt;/p&gt;
&lt;p&gt;4. If you need to convert from Visual Studio 2012 to Visual studio 2010, you can simply replace by the following:&lt;/p&gt;
&lt;p&gt;Microsoft Visual Studio Solution File, Format Version 11.00&lt;br&gt;
# Visual Studio 2010&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Csharp projects (.csproj) and VB Projects (.vbproj) are backward compatible already and can be opened by any version of visual studio.&lt;/p&gt;</description></item></channel></rss>