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

Static Scoping vs Dynamic Scoping November 26, 2013

Filed under: C,C++ Programs,Coding,Compiler — whoami @ 12:33

Many C programmers might not have heard the term ‘Static Scoping’ and ‘Dynamic Scoping’. Since C only supports Static Scoping. Static Scoping is also called Lexical/Text Scoping.

Read the following article to understand what these two scoping mean in Computer Science.

1.  Article 1

2. Article 2

3. Article 3

The above things might confuse since this dynamic scoping is not supported in many languages including C and hence you might not be able to test the same. But the point is to understand it. What Dynamic Scoping means.






Shortcut icon problem in Windows7 and fix November 22, 2013

Filed under: Uncategorized — whoami @ 18:39
Tags: , ,

Shortcut icon problem in Windows7 and fix

Today, on my laptop with Windows7 found a weird problem.

I was trying to run any program. The windows7 asked on how/from which program to open it. I clicked wrongly ‘wireshark’ and forgot to uncheck the ‘Always use the selected program to open this kind of file‘ and suddenly all the shortcut and startmenu icons changed to of type ‘wireshark’. So my mozilla firefox icon was of wirehsark, notepad start menu icon was of type wireshark and so on…..When i tried opening mozilla firefox it couldn’t. This was a big headache for me. I Started trying many things by searching web what is the problem and solution but nothing helped. Some sight suggested to delete old iconcache.db and recreate it using explorer.exe, but it didn’t help.

After almost wasting 2-3 Hrs, finally raised IT case to my department.

But when i came to home, again started searching for any solution, since it’s Friday today and IT case will come into action on Monday. And yeah guess what , finally one of the web browsing resolved my issue 🙂

Here is the solution.

In the above line, 2nd part of solution helped me. It was a registry related program that i downloaded and ran and it may have modified registry to make everything working 🙂

Issue resolved before it could be read be read by IT guy. So Relaxed Now ( Since i was fearing this issue might lead to reinstalling windows and then reinstalling and reconfiguring many essential programs )

Thanks to Aibek ! who posted that solution.

Please be careful while selecting any program to open a file/program and check/uncheck to apply.


Problem snaps


This was the real culprit – i forgot to uncheck it