Jump to content

AWS

FPCH Admin
  • Posts

    27,570
  • Joined

  • Last visited

  • Days Won

    73

Everything posted by AWS

  1. Welcome to the community. I don't know of any learning groups, but, I'm sure your questions will be answered here when you have them.
  2. Up to this point we have mostly talked about improved JavaScript performance in Internet Explorer 9 but we haven&rsquot said much about any new or changed language features in the &ldquoChakra&rdquo engine. Now, with the third Platform Preview, we can tell you about JavaScript feature enhancements which you can try for yourself. As context, the industry standard that defines the JavaScript language is ECMA-262: ECMAScript Language Specification developed and published by Ecma International. Prior to last year, it had been a decade since the introduction of the Third Edition of ECMA-262 in December 1999. In December 2009 Ecma approved the Fifth Edition of ECMA-262 as the successor to the Third Edition (a Fourth Edition was never published), and last year we debuted elements of ECMAscript 5 (ES5) support when we added native JSON support in IE8. Beyond JSON, though, ES5 standardizes many significant enhancements to the JavaScript language. New ES5 Features in the IE9 Platform Preview There are many important ES5 features implemented in IE9 Standards Document mode: New Array Methods. There are nine new methods that operate upon arrays. Two of them, indexOf and lastIndexOf, support searching an array for a particular value. They are similar in concept to the functions with the same names that operate upon strings. The other seven new Array methods allow arrays to be manipulated using a functional programming style. For example, the following snippet uses the new filter method to collect the elements of an array that meet a specific condition: //a function that tests whether menu item object is enabled or disabled function enabled(menuItem) {return menuItem.status==="enabled"} //Assume that individual menu items have a status property and //that a menu object has a items property which is an array. //Create an new array containing just the enabled menu items var enabledItems=myMenu.items.filter(enabled) These methods support various forms of array processing without having to explicitly code for loops. In addition, they are all generic, which means that they can be applied to any object with numerically indexed properties and not just objects created using the Array constructor. You can explore demos using these methods on the IE9 Test Drive site and they are summarized in the following table: Array method Description indexOf Search an array for the first occurrence of some value lastIndexOf Search an array for the last occurrence of some value forEach Apply a function to each element of an array every Determine if some condition is true for every element of an array some Determine if some condition is true for at least one element of an array map Apply a function to each element of an array and produce a new array containing the results filter Collect into a new array all the elements of an array for which some condition is true. reduce Accumulate a single value based upon all elements of an array. reduceRight Accumulate a single value based upon all elements of an array, processing them in reverse order. Enhanced Object Model. The most important new feature in this area is accessor properties. These are also sometimes called &ldquogetter/setter&rdquo properties because they allow JavaScript programmers to control what happens when the program gets or sets the property value. ES5&rsquos enhanced object model also allows programmers to control whether individual properties can have their value changed, are enumerated by for-in statements, and whether or not the property can be deleted or redefined. It also allows the programmer to control whether new properties can be added to an object. ES5 also enables JavaScript programmers to more easily create objects that inherit from specific prototype object and to inspect and manipulate the property definitions of object. All of these enhanced object model capabilities are accessible via new function properties of the Object constructor. However, note that the current release of the IE9 platform preview does not yet fully support use of these methods with DOM objects. Object function Description Object.defineProperty Create or modify a property definition. The property can be defined as either a data or an accessor property and its writable, enumerable, and configurable property attributes can be set. Object.defineProperties Create or modify multiple property definitions in a single operation. Object.create Create a new object with a specified prototype and optionally a set of specified properties. Object.getPrototypeOf Retrieve the prototype object of the argument object. Object.getOwnPropertyDescriptor Return a complete description of the attributes of a property of an object. Object.getOwnPropertyDescriptor Return an array containing the names of all of an object&rsquos non-inherited properties. Object.keys Return an array containing the names of all of an object&rsquos non-inherited properties that would be iterated by the for-in statement. Object.seal Disallow adding any additional properties to the argument object and disallow deletion or redefinition of any existing properties. Individual property values may still be modified if their writable attribute have the value true. Object.freeze Disallow adding any additional properties to the argument object and disallow deletion or redefinition of any existing properties. In addition the values of existing property may not be modified. Object.isSealed Test whether an object is has been sealed using Object.seal. Object.isFrozen Test whether an object is has been frozen using Object.freeze. Object.preventExtensions Disallow adding any additional properties to an object. Object.isExtensible Test whether new properties may be added to an object. Other Computational Methods and Functions. In addition to the new Array and Object methods, ES5 adds or enhances several additional methods that perform useful computational operations. Method or Function Description String trim Removes &ldquowhite space&rdquo from the beginning and end of a string. Date toISOString Convert a Date to a string format that all ES5 implementations must support. Date.parse Existing function enhance to recognize the format create by toISOString. Date.now Return a numeric timestamp Array.isArray Reliably test whether an object is an Array Function bind Preset some of the arguments of a function to fixed values. ES5 also includes a number of other minor changes and technical corrections to the language. Many have no impact on most JavaScript programmers because they simply standardize minor features that have always been supported by browsers. An example of such a feature is line continuations within string literals. One minor change is of more interest. Reserved names such as if, super, and public can now be used as property names within object literals and for property access following a dot. With this change, programmers no longer need to worry about a long and arbitrary list of words that they can&rsquot easily use as property names. &ldquoSame Script, Same Markup&rdquo Updating IE9&rsquos JavaScript implementation isn&rsquot just about supporting new ES5 features. It&rsquos also about ensuring that web developers can use the same markup and script within IE9 that they use in other browsers. Earlier this year we released documents that describe in detail how JavaScript as implemented in IE8 differs from the ECMAScript, Third Edition Specification. In IE9 standards mode, we looked closely at these differences and made changes to ensure that IE9 can execute the same script as other browsers.
  3. Being all in with HTML5 means being committed to enabling developers to use the Same Markup on the Web, and that includes the same JavaScript code. The Chakra JavaScript engine in the latest Platform Preview release of Internet Explorer 9 includes significantly improved support for the ECMAScript (ECMA-262) standard, including features new to the recently finalized ECMAScript Fifth Edition (often called ES5 for short). This also includes complete support for JavaScript tests in Bucket 6 of the Acid3 test suite. Microsoft has been a key contributor to the ES5 effort. During the drafting of ES5, Microsoft was the first to provide a private reference implementation of the specification along with conformance tests to the ECMA Technical Committee 39 (TC-39). Having the same markup work correctly across the web requires comprehensive tests that all browsers can rely on to deliver interoperable implementations. Microsoft has worked with the W3C to provide definitive test suite specifications for HTML, CSS, SVG, and other web standards. In recent months, we&rsquove contributed nearly 200 new tests to the W3C for these standards. Unlike specifications governed by W3C, JavaScript does not have a definitive test suite owned and sponsored by ECMA. In the absence of such a suite, browser vendors and others have tried to fill the gap. We have published a suite of tests for new features in ECMAScript 5 through Codeplex, and will soon publish them on the Internet Explorer Testing Center. Other browser vendors have their own test suites. While all these tests are useful, they also have inconsistencies: different coverage of standards, different test harnesses, and implementation issues. Many in the industry have questioned whether we should have a more consistent way to test ECMAScript by working together. That&rsquos why Microsoft is now working with other browser vendors and other members of TC-39 to create an official test suite for ECMAScript sponsored by ECMA. We plan to help build this test suite, and contribute tests to it. We also welcome other browser vendors&rsquo contributions to this effort. Ensuring the same script works everywhere is vital to web developers. We look forward to hearing your feedback as we can continue to work on making this a reality. Thanks, Shanku Niyogi General Manager, JavaScript Team View the full article
  4. Have you tried using system restore to roll back to a dat before you got the update? Try doing that and then installing your drivers to see if that fixes the problem.
  5. Welcome to our little piece of the web Chris.
  6. If you downloaded the ISO then download it again. Burn at slow speed and try the install again. This is the result of a bad ISO or bad burn.
  7. Welcome to the community Dave.
  8. Test the memory on the server. It looks like you have a bad stick that is randomly causing the problem.
  9. Bulletin Severity Rating:Important - This security update resolves a publicly disclosed vulnerability in Microsoft .NET Framework. The vulnerability could allow data tampering of signed XML content without being detected. In custom applications, the security impact depends on how the signed content is used in the specific application. Scenarios in which signed XML messages are transmitted over a secure channel (such as SSL) are not affected by this vulnerability. View the full article
  10. Bulletin Severity Rating:Important - This security update resolves a privately reported vulnerability in Internet Information Services (IIS). The vulnerability could allow remote code execution if a user received a specially crafted HTTP request. An attacker who successfully exploited this vulnerability could take complete control of an affected system. View the full article
  11. Bulletin Severity Rating:Important - This security update resolves one publicly disclosed and two privately reported vulnerabilities in Microsoft SharePoint. The most severe vulnerability could allow elevation of privilege if an attacker convinced a user of a targeted SharePoint site to click on a specially crafted link. View the full article
  12. Bulletin Severity Rating:Important - This security update resolves fourteen privately reported vulnerabilities in Microsoft Office. The more severe vulnerabilities could allow remote code execution if a user opens a specially crafted Excel file. An attacker who successfully exploited any of these vulnerabilities could gain the same user rights as the local user. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights. View the full article
  13. Bulletin Severity Rating:Important - This security update resolves a privately reported vulnerability in the Windows OpenType Compact Font Format (CFF) driver. The vulnerability could allow elevation of privilege if a user views content rendered in a specially crafted CFF font. An attacker must have valid logon credentials and be able to log on locally to exploit this vulnerability. The vulnerability could not be exploited remotely or by anonymous users. View the full article
  14. Bulletin Severity Rating:Important - This security update resolves a privately reported vulnerability in COM validation in Microsoft Office. The vulnerability could allow remote code execution if a user opens a specially crafted Excel, Word, Visio, Publisher, or PowerPoint file with an affected version of Microsoft Office. The vulnerability cannot be exploited automatically through e-mail. For an attack to be successful a user must open an attachment that is sent in an e-mail message. View the full article
  15. You could have a corrupt ISO. Try downloading it again or try burning it 1x speed.
  16. You could have a corrupt ISO. Try downloading it again or try burning it 1x speed.
  17. I have had this happen a few times to me. In all cases the nic was bad and after replacing it the problem was fixed. In a couple cases these were onboard nics and adding a card fixed the problem.
  18. Hey Guys, Have had a good look through the outlook 2010 options but can't find anywhere the option you had in previous outlook versions to set always reply using HTML format email as your default reply type. You can open the email and go to the "Format Text" tab and Select "HTML" but I was looking for a permenant way of setting HTML. Thanks for any help you can give, Thomas View this thread
  19. You can use partition magic to create the partitions. You could also use disk manager.
  20. Welcome to the community maxi.
  21. Hello and welcome to the community.
  22. Welcome to the community. We look forward to getting to know you.
  23. Set up sub domains and use host headers in IIS to use multiple sites with 1 or 2 IP's.
×
×
  • Create New...