Codeguru Update eNewsletter - April 10th, 2007

==========================================================
CodeGuru Newsletter
April 10, 2007
http://www.CodeGuru.com

This newsletter is part of the Developer.com, EarthWeb, and internet.com networks.
Jupitermedia Corporation

___________________________ Sponsors ________________________________
Jupiterimages
_____________________________________________________________________
==========================================================

TOPICS:

--> Editorial - Developers can be power-greedy monsters.

--> New on CodeGuru: 
        ==> IE Programming
                - TIP: IE URL History Tool (Yet Another) 
        ==> Datagrid
                - Creating a Data-Bound Grid in C# with ADO.NET
        ==> Desktop Applications
                - Simple FTP Demo Application Using C#.NET 2.0
        ==> Windows Vista
                - Integrate Ink into Your Application with Windows Vista
        ==> Thread Processes
                - Why Too Many Threads Hurts Performance, and What to Do About It
        ==> ASP.NET Controls
                - TIP: Masked Textbox
        ==> C++/MFC Files
                - How to Read a MS Outlook (.msg) File Using ATL and MFC
        ==> .NET
                - Integrating .NET and SAP 101
        ==> .NET Tips and Tricks
                - [Updated] Developing For Windows Vista

--> Discussion Groups -- HOT Threads 
        - printing only unduplicated array members (Java)
        - MFC: How do I receive WM_KEYDOWN message in a complicated dialog? (C++)
        - How I Can caste panel to form? (C#)

--> Highlighted new articles on Developer.com
        1. Packaging EJB 3 Applications
        2. Latest JSRs Released by the JCP
        3. Java Language Integrity & Security: Fine Tuning Bytecodes

/-------------------------------------------------------------------
Jupiterimages - your search ends here
Jupiterimages offers online subscriptions and single image
downloads for clipart, Web graphics, photos, footage and music
(including flash versions) via a comprehensive network of
design-oriented Web sites for industry professionals and
individual consumers.
See what you're missing.
Go to:
http://nl.internet.com/ct.html?rtr=on&s=1,33uc,1,dh1n,3138,jorm,i5r0
--------------------------------------------------------------adv.-/

==========================================================
Comments from the Editor
==========================================================

Developers can be power-greedy monsters.

Although I was going to use a more adult word than "monsters," having recently watched Sesame Street, I decided that the word monster works too. For those who don't live in a country that shows Sesame Street, it is a kid's educational show, and I have two twin two year olds, so I get to see lots of Sesame Street. It includes a number of friendly monsters. Once such monster is Cookie Monster. He often is seen trying to respect cookies and not eat them. In the end, he has to completely devour them in full effort.

I've been working on an article and presentation regarding processor speed and dual cores. I can't quote the source, but  in something I recently read, the writer touched on multicore processors. More specifically, he stated that application developers might use four to eight cores before the cost of parallelism outweighs the benefits in most applications. If you add the operating systems and other processes to this, a system would never really need a 100-core processor.

When I initially thought about a 100-core processor, my thought was similar in that the average developer would never need that much parallel processing in a system based on today's applications. Most people can't even program for single threaded applications, so the complexity of designing for large numbers of cores is unimaginable.

A fraction of a quantum second later, I couldn't help but think that it was roughly two decades ago when it was stated that a developer would never need to use 640 KB of memory. Today, 640 KB is laughable. Most of us throw away memory sticks with 50 times more memory than that. I have 128 MB memory cards that I've removed from my computers because the cards just don't have enough memory.

If you apply the lessons learned in using memory to that of getting power out of processor cores, it raises an interesting question -- just how many cores will you be exploiting a decade from now? It would be interesting to see the betting odds on this one!

As developers, I'm guessing as our machines get more cores, we will learn to devour them in a similar manner as what Cookie Monster does with cookies.

Until next week,

Brad!
Today's newsletter is brought to you by the letter 'I' and the numbers 4 and 8.
---------------------------
Bradley L. Jones
www.CodeGuru.com
---------------------------

=========================================================
New & Updated Articles on CodeGuru
==========================================================

Following are short descriptions of new articles on CodeGuru. If you are interested in submitting your own article for inclusion on the site, then you will find guidelines located at

http://nl.internet.com/ct.html?rtr=on&s=1,33uc,1,fka1,909i,jorm,i5r0

This week's CodeGuru posts:

==> IE Programming

- TIP: IE URL History Tool (Yet Another)
By arkadi
Discover a command line tool and tutorial to manage Internet Explorer's history. It is solely based on the CUrlHistory object.
http://nl.internet.com/ct.html?rtr=on&s=1,33uc,1,7agp,deae,jorm,i5r0

==> Datagrid

- Creating a Data-Bound Grid in C# with ADO.NET
    By Irina Medvinskaya
Learn the basics of using ADO.NET in C# applications and utilizing a Data Grid control to display the data returned by the query.
http://nl.internet.com/ct.html?rtr=on&s=1,33uc,1,emrj,ll2z,jorm,i5r0

==> Desktop Applications

- Simple FTP Demo Application Using C#.NET 2.0
    By Mohammed Habeeb
Learn about common FTP functionalities using C#.NET 2.0.
http://nl.internet.com/ct.html?rtr=on&s=1,33uc,1,a8y5,jk1n,jorm,i5r0

==> Windows Vista

- Integrate Ink into Your Application with Windows Vista
    By Nick Wienholt
Windows Vista brings tablet-style development to the mainstream by incorporating ink functionality directly into the core operating system. The greater availability of operating system support for ink is complemented by new Vista drivers from digitizer OEMs that provide the same functionality as a full TabletPC device, greatly increasing the potential client-base for ink enabled applications. This article will look at how an existing application can work with new forms of input without a major re-design.
http://nl.internet.com/ct.html?rtr=on&s=1,33uc,1,7bi4,95r8,jorm,i5r0

==> Thread Processes

- Why Too Many Threads Hurts Performance, and What to Do About It
    By Arch Robison
Learn why threading, which is the current method of choice for extracting performance from multi-core chips, isn't always the best choice for good performance.
http://nl.internet.com/ct.html?rtr=on&s=1,33uc,1,jrtl,m9ux,jorm,i5r0

==> ASP.NET Controls

- TIP: Masked Textbox
    By saifi hasan
Learn how to create a masked textbox.
http://nl.internet.com/ct.html?rtr=on&s=1,33uc,1,hij7,cjde,jorm,i5r0

==> C++/MFC Files

- How to Read a MS Outlook (.msg) File Using ATL and MFC
    By Mufti Mohammed
Learn about the structure of the MS Outlook .msg file format and how a VC++ application can extract data from this file.
http://nl.internet.com/ct.html?rtr=on&s=1,33uc,1,6pjx,fvdy,jorm,i5r0

==> .NET

- Integrating .NET and SAP 101
    By Paul Kimmel
SAP integration with Windows is possible and basic operations aren't too difficult but can be challenging. Here you will find an opener for VB.NET programmers who might be working on an SAP implementation and integration with non-SAP systems.
http://nl.internet.com/ct.html?rtr=on&s=1,33uc,1,jslm,l981,jorm,i5r0

==> .NET Tips and Tricks

- [Updated] Developing For Windows Vista
    By Bradley Jones
There's a lot more to Vista than the .NET 3.0 framework. The new OS offers interesting and useful new features for developers-and DevX has rounded them up for you.
http://nl.internet.com/ct.html?rtr=on&s=1,33uc,1,3rbh,2tb5,jorm,i5r0

==========================================================
Discussion Groups
==========================================================

Check out the CodeGuru discussion forums at:

http://nl.internet.com/ct.html?rtr=on&s=1,33uc,1,bcr8,cx5j,jorm,i5r0

Forums include Visual C++, General C++, Visual Basic, Java, General Technology, C#, ASP.NET, XML, Help Wanted, and much, much, more!

... HOT THREADS ...

Some of the current threads with the most activity are:

==> Printing only unduplicated array members (Java)
        http://nl.internet.com/ct.html?rtr=on&s=1,33uc,1,56rl,a3ux,jorm,i5r0

==> MFC: How do I receive WM_KEYDOWN message in a complicated dialog? (C++)
        http://nl.internet.com/ct.html?rtr=on&s=1,33uc,1,5lil,hym4,jorm,i5r0

==> How I Can caste panel to form? (C#)
        http://nl.internet.com/ct.html?rtr=on&s=1,33uc,1,gnri,lbm2,jorm,i5r0

==========================================================
New Articles on Developer.com
==========================================================

Below are some of the new articles that have been posted to Developer.com (http://www.developer.com).

1. Packaging EJB 3 Applications
    By Debu Panda, Reza Rahman, Derek Lane -
The real success of Java EE applications lies in assembly and deployment, as this is the key to delivering on Java's promise of write once, run anywhere (WORA).
http://nl.internet.com/ct.html?rtr=on&s=1,33uc,1,h69x,dsl7,jorm,i5r0

2. Latest JSRs Released by the JCP
    By Rosemarie Graham -
Here you can find out about the latest Java Specification Requests (JSRs) released by the Java Community Process (JCP).
http://nl.internet.com/ct.html?rtr=on&s=1,33uc,1,i1nk,47v8,jorm,i5r0

3. Java Language Integrity & Security: Fine Tuning Bytecodes
    By Matt Weisfeld -
Explore how you can process the bytecodes produced by the compiler to help you improve performance, security, intellectual property protection, and readability issues.
http://nl.internet.com/ct.html?rtr=on&s=1,33uc,1,6g6k,78ed,jorm,i5r0

==========================================================



About the Author

Bradley L. Jones

bjones@jupitermedia.com

Comments

  • There are no comments yet. Be the first to comment!

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Entire organizations suffer when their networks can't keep up and new opportunities are put on hold. Waiting on service providers isn't good business. In these examples, learn how to simplify network management so that your organization can better manage costs, adapt quickly to business demands, and seize market opportunities when they arise.

  • Today's enterprise datacenter can be one of the most complex business environments with dozens (for smaller business), hundreds (for larger and midsize business), even thousands (for hyperscale businesses) of servers that must be managed and monitored. At this level, just managing the cords can be challenging — let alone keeping up with the growing need for more agility and scalability within the datacenter. Simply put, companies are aggressively looking for less complexity and more agility from their …

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date