========================================================= -------- DEVSOURCE -------- ========================================================= October 6, 2004 =========================================================
IN THIS ISSUE: --And the Winner Is... --An Error Has Occurred... --Your App's Security Hole Isn't Where You Think It Is --Implementing a Graphics Undo Command with the Stack Class --Reviewed: GPS.NET --Longhorn Changes May Affect Microsoft's Tools Strategy --The Contest Answers ========================================================= The dust is settling. The urgency is over. I've just picked the winners from last month's programming trivia contest, and there's now one VERY excited developer, Margarita Inklin, waiting for the delivery of her bright red Ferrari notebook computer. Only about 3% of the people who entered the sweepstakes got the required 8-out-of-10 correct, so I wasn't kidding about this being a hard quiz. I'll paste the correct answers at the bottom of the newsletter. If you want to discuss them, you're welcome to do so in the DevSource discussion forum. --Esther Schindler, DevSource editor http://eletters.ziffdavis.com/zd1/cts?d=69-86-11-98-2611-1279-1 ========================================================= An Error Has Occurred... Make your error messages understandable. Please. We beg of you. Here's a whole bunch of ways NOT to go about it. http://eletters.ziffdavis.com/zd1/cts?d=69-86-11-98-2611-1282-1 ========================================================= Your App's Security Hole Isn't Where You Think It Is Development and QA teams have to address security issues early in the process, but that's a hard sell to management. Here's one statistic that may make a difference: according to Gartner, 75% of hacks happen at the application level. http://eletters.ziffdavis.com/zd1/cts?d=69-86-11-98-2611-1285-1 ========================================================= Implementing a Graphics Undo Command with the Stack Class Make it possible for your application's users to say "Oops!" With the .NET framework, it's not that hard to include an Undo feature in your programs. http://eletters.ziffdavis.com/zd1/cts?d=69-86-11-98-2611-1288-1 ========================================================= Reviewed: GPS.NET You might want your applications to take advantage of GPS, but where in the world do you go to get started? This SDK makes the task a heck of a lot easier. http://eletters.ziffdavis.com/zd1/cts?d=69-86-11-98-2611-1291-1 ========================================================= Longhorn Changes May Affect Microsoft's Tools Strategy The Longhorn time frame is putting in question two significant development efforts. http://eletters.ziffdavis.com/zd1/cts?d=69-86-11-98-2611-1294-1 ========================================================= The Contest Answers 1. Edsger Dijkstra is best known for: Goto Considered Harmful. 2. A single XOR instruction (on Intel architectures) cannot be used to accomplish the following: Multiply by a power of two. 3. The Overloads keyword is required in VB when overloading two methods: It depends on the situation. 4. In C++, is it legal to convert an enum type to int? Enum types and enumerators are implicitly converted to int, so the code is valid. 5. Which of the following design patterns would you choose when classes must work together, but have incompatible interfaces: Adaptor pattern. 6. What was the standard sorting technique in electromechanical tabulating equipment? radix sort. 7. Identify the first manufacturer (other than IBM) to sell a computer supporting the EBCDIC character set? Burroughs. 8. Theoretically, which operation can be computed fastest in a computer? Multiplication. 9. The ?: operator in C++ is: the only operator to require three operands. 10. In C++, is it legal to use the subscript notation on a pointer? The code is legal, period. ========================================================= eNewsletter Information ========================================================= You are subscribed to the DevSource newsletter with the e-mail address [EMAIL PROTECTED] To change your HTML/text preferences, change your e-mail address or subscribe to other eNewsletters from Ziff Davis Media, click here: http://eletters.ziffdavis.com/zd1/cts?d=69-86-11-98-2611-1297-1 To unsubscribe, click here: http://www.pcmag.com/unsubscribe_newsletter/0,4225,,00.asp?n=87&type=u&sh=y&[EMAIL PROTECTED] Copyright 2004 Ziff Davis Media Inc. All Rights Reserved. Ziff Davis Media Inc., 28 East 28th Street, New York, NY 10016
