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".]