A repository of my thoughts, a blog, a source to get insight, know-hows, my views on Software Development and everything else in between......
Thursday, April 30, 2009
Tips & insights for programmers
Microsoft’s Vine = Facebook + Twitter
As per the post, Microsoft planning to provide Vine to Emergency Management Officials, which helps them to broadcast & receive information during a disaster or other major event.
See some of the screen shots of the site below.

Tuesday, April 28, 2009
Validating HTML Text Area for HTML tags using Javascript RegEx
Tuesday, April 21, 2009
Many-Core Shift & the Next Era of Computing
I have been observing the developments in Processor Technologies, and now I am really excited with the Future of Computing with the shift from single core to many core processor technologies.

As you all know, Moore’s Law tells us that, the number of transistors on an integrated circuits (IC) doubles every two years. Now the so-called “many core shift” is happening. It’s not a thing of the future, it is here already and it will change our developers’ life as we know it today.
What’s the many core shift?
This evolution of doubling the number of transistors on an IC has reached its physical limits (clock speed, power consumption, etc.). Instead of building faster and more complex CPUs, the manufacturers started placing more CPUs, read cores, on a chip.
It all started 2006 with Intel’s dual cores, today you won’t find a single core desktop machine anymore. 
High end consumer machines come with quad cores, and servers with 16 cores (packed as 4 quad cores). Starting 2006 with 2 cores, five to six years from now we will have between 32 and 128 cores machines.
What does it mean?
Well, it probably means that today’s software runs a bit faster. Not much, certainly not the 32 times faster a 64 core machine is supposed to be compared to dual core. Have a look at the following task manager of a 16 core machine:
Now look at your own desktop and count the open applications. Outlook, Word, PowerPoint, Internet Explorer, Acrobat Reader, Firefox, Visual Studio etc. All the applications utilize 1 to two cores and Most of today’s applications simply are not capable of utilizing these cores appropriately. Consequence: In order to utilize these cores we have to change the way we write our software!
You may ask, do we actually need that kind of processing power? And if so, how do we use it?
For the first question the answer is yes, it is needed for Games, Video Conversion, File Compression, Graphics etc.
And for second question we need to know that there is a concept called Multithreading.
And “Most developers have avoided multithreading altogether. And those who did do work on multithreading probably did it just for optimizations.” So, now is the time we need to have multithreading in the mainstream of application development.
And with that in mind Microsoft is developing Visual Studio 2010. And I believe it will open up new possibilities.
I am really excited to work on Visual Studio 2010 and want to utilize the multi-core.
Let me know what you think about all this.
Reference:
- http://www.intel.com/products/processor/index.htm
- http://www.digital-daily.com/cpu/new_core_conroe/index1.htm
- http://www.intel.com/products/desktop/processors/index.htm?iid=processors_body+dt_core
Monday, April 13, 2009
Want to know how to pronounce certain words?
Thursday, April 09, 2009
Using Winnovative HTML to PDF Converter in C# to generate PDF File
1. Add wnvhtmlconvert.dll to Project Reference under Visual Studio
2. Import it into your code behind file "using Winnovative.WnvHtmlConvert;"
3. Add your PdfConverterKey into Web.Config
<add key="PdfConverterKey" value="your key here"/>
Wednesday, April 08, 2009
Sunday, April 05, 2009
India Advises the World at G20
During G20 Summit Indian Prime Minister Dr. Manmohan Singh, advised the G20 Nations with 4 ways to tackle the Economic downturn.
So now ICICI Bank has "mortgage paper", which is an asset. They can sell the mortgage to anyone they wish. Raj will then be required to pay the purchaser, who will get the benefit of the 6% interest. It's an investment which may (or may not) make more money in the future. A good idea if ICICI needs money immediately.
But old Raj doesn't have the money to pay this mortgage. At the same time, the house value has greatly reduced to Rs 150,000. Raj still owes Rs 199,000.
If Raj defaults on this, ICICI Bank will only be able to recover a portion of their money back. The mortgage paper has now become illiquid (the house can't pay the mortgage). ICICI Bank is now unable to sell it. Why would somebody pay for an asset that guarantees you will lose money?
That mortgage has become a "toxic asset".]
Pakistan diverts attention from Mumbai Attack Investigations
Saturday, April 04, 2009
Thursday, April 02, 2009
Saturday, March 28, 2009
Strenght & Weakness
Now i am trying to find out whether it is same with every body else or not.
Let me know about yours.
Friday, March 27, 2009
Wednesday, March 25, 2009
How to: Check login name availability in ASP.NET MVC using jQuery Validation plug-in
< input type="text" name="txtUserName" id="txtUserName" class="textBoxes" />
$(document).ready(function() {$("#frmSelfRegister").validate({rules: {txtUserName:{required: true,remote: { type: "post",url: "Register/IsLoginAvailable" }},messages:{txtUserName: { required: "User Name is Required.",remote: jQuery.format("{0} is not available.")}}});});
[AcceptVerbs(HttpVerbs.Post)]public JsonResult IsLoginAvailable(FormCollection collection){JsonResult result = new JsonResult();try{ilogIn.Text = this.GetLoginByUsername(collection.Get("txtUserName").ToString().Trim());}catch (Exception ex){Helper.ErrLogger(ex.Message);}if (ilogIn.Text == collection.Get("txtUserName").ToString()){result.Data = false;}else{result.Data = true;}return result;}
Interface Inheritance Naming Conflicts
public interface IA{string Name { get; set; }String Adress { get; set; }}
public interface IB{string Name { get; set; }}
public interface IC : IA, IB{int Id { get; set; }}
class Test{public void GetSomething(){IC objIc = new IC();Textbox1.Text = objIc.Name();}}
class Test{public void GetSomething(){IC objIc = new IC();Textbox1.Text = ((IA)objIc).Name();}}
Monday, March 23, 2009
23 March 1931
Today would mark 78 years of the sacrifice three young men gave for the nation. Bhagat Singh- Raj Guru- Sukh Dev.
So today no one in news would talk about Bhagat Singh, Sukh Dev and Raj Guru the three young men who were hanged on this day near Ferozpur near the present India-Pakistan border. These men never cared about religion and fought for the freedom of the nation.
Indians seem to have forgotten the sacrifice and keep remembering Gandhi. It is definitely an unfortunate thing that people who were not in congress and worked for India's freedom never got the credit they deserve.Bhagat Singh, Sukhdev and Rajguru shall remain in my heart till I die. These are the people whom the young generation should have as idols. Their sacrifice, their patriotism & their principles, we should never forget them.
Fix Google Chrome (Crash) Error, The application failed to initialize properly (0xc00005)








