. Money And Warez

Monday, January 29, 2007

Create data structures with JavaScript arrays

Takeaway: The JavaScript array object provides powerful support for assigning multiple data values to one variable, but you can also use it to utilize stack and queue data structures in an application. Get more information about JavaScript stacks and queues.

While JavaScript has many similarities to more robust languages like Java and C, it does have many features that are less than intuitive. JavaScript arrays are one such design element that provides some obscure features that developers often overlook. This article examines some of these features by using JavaScript arrays to build stack and queue data structures.

Going beyond arrays

You can use the JavaScript Array object to store a set of values with a single variable name. The JavaScript in Listing A creates an array with five elements (assigned Web site addresses) and loops through the array, displaying each value in an alert dialog box.

JavaScript doesn't necessarily support multi-dimensional arrays, but you can have arrays of arrays. The JavaScript Array object provides more than just basic array support; it can also be used to provide queue and stack functionality.

Queue up

A queue is a data structure utilizing the first in, first out (FIFO) approach to storing and handling data. It is analogous to people in line at a bank, where they are served sequentially. New items added to a queue are added to the back or end of the list.

The JavaScript Array object provides two methods for using a queue in your code:

  • shift: removes and returns the first element of an array.
  • push: allows you to add one or more elements to the end of an array. It returns the new length of the array.

Both methods affect the length of the array, with push adding one and shift subtracting one to/from the length of the array. The code in Listing B shows the two methods used to build a queue of numbers and retrieve the first queue element.

The following output is generated:

1

2

It is a simple example that adds two integers to the array (1 and 2) via the push method. Next, the shift method returns the first element from the array (1) and two more values are added to the array (3 and 4); the first element is retrieved (2) and displayed.

Another available method is unshift, which allows you to insert one or more elements at the beginning of an array unlike the pop method, which adds item to the end. The unshift method returns the new length. In Listing C, I altered the previous example to use the unshift method.

You'll notice the output generated changes since everything is now added to the beginning of the array. The following values are displayed when the script is run via the button of the page:

2

4

While a queue focuses on the first element in the data structure, a stack is more interested in the last item added.

Stacked

A stack is a data structure that utilizes the last in, first out (LIFO) approach to handling data. Or, you can think of it as a push down list, where new items are pushed down on the existing items in the list, so the last one added is the first one in the list.

The push method is used with the array object's pop method to provide stack functionality. The pop method is used to remove and return the last element of an array. Basically, it pops off the last element added to the array. This method affects the length of an array (subtracting one for the item removed). The sample in Listing D uses both the pop and push methods to utilize a stack data structure.

The following output is generated:

2

4

3

The functionality of these methods kind of overlaps because you could utilize a stack data structure using the shift/unshift methods as well. The code in Listing E rewrites the previous stack example using the shift and unshift methods.

You can rewrite the previous queue example by using unshift and pop array methods as the example in Listing F demonstrates.

More options

Like every other development language, JavaScript has its own set of quirks. A good example is the multiple uses of the array object, which allows you to easily utilize stack and queue data structures. These data structures are just one more development feature to have at your disposal when building Web applications.

--------------------oOo--------------------

HQ photos from telescope Hubble

Click on the photo to see the large images

Hubble



Image




Download it Here
Only 28 Mb (29311 KB)
HQ photos from telescope Hubble
16 jpg | HQ 1900 x 1200

Labels: , ,

--------------------oOo--------------------

DVDFab Platinum v3.0.7.0

Features Highlight
A. DVD to DVD
  1. 5 DVD to DVD copy mode available: Full Disc, Main Movie, Split, Customize and Clone.
  2. Full Disc: All movies, menus and trailers, is copied to a DVD with just one click.
  3. Main Movie: Just copy the movie, with specific audio/subpicture.
  4. Split: Copy a DVD-9 onto two DVD-5 discs with 100% quality, and preserve original menus on both discs. Ideal for episodic/season DVD movies, TV series, etc.
  5. Customize: Personalize your DVDs! Want to make a DVD with only your favorite titles? How about cutting out those annoying commercials? Or selecting specific audio/subpicture? No problem! You can select just your favorite titles, specify the title playback order, with or without original menus, to create a DVD with only the stuff you want!
  6. Clone: Make perfect 1:1 bit-to-bit copy of DVDs:
    • Make perfect dual layer DVD copy by using the original layer break position.
    • Copy data DVD disc, like PS2 DVD.
  7. Very fast copying speed, normally it's about 10 - 20 minutes.
  8. Burn to any blank DVD Disc (DVD+R/RW, DVD-R/RW, DVD+R DL, DVD-R DL).
B. DVD to Mobile
  1. 3 DVD to Mobile copy mode available: Generic, iPod and PSP. More devices support can be added manually.
  2. Generic: Convert DVD title to PC MPEG-4/DivX/XVID/H.264 AVI/MP4 file.
  3. iPod: Convert DVD title to Apple iPod MPEG-4/H.264 MP4 file.
  4. PSP: Convert DVD title to Sony PSP MPEG-4/H.264 MP4 file.
C. Benefits
  1. Remove all DVD copy protections, like CSS, RC, RCE, APS, UOPs, ARccOS, RipGuard, FluxDVD, CORE X2, etc.
  2. Constantly updated to support latest DVD copy protections.
  3. Backup scratched/dirty disc:
    • Even if some information (IFO) cannot be read, you can still copy Main Movie or Customize.
    • Recovery from DVD reading (VOB) error.
  4. Constantly updated to support latest DVD burners and blank DVD discs.
  5. Constantly updated to support more mobile devices.
  6. FREE lifetime upgrade.
  7. FREE lifetime support via e-mail, worldwide.

Screenshot


Click On the thumbnail to get the images




Image




Image
System Requirements
  • Windows Vista/XP/2000/98/ME
  • Pentium II 500 MHz
  • 256 MB of RAM
  • 10 GB of Free Hard Disk Space
  • A DVD-R(W) or DVD+R(W) Drive
Download it Here only 5300 KB

Labels: , ,

--------------------oOo--------------------

Student 2007 with Encarta premium 2007

This

Teachers, Parents and Students Give Software an A+
New homework software helps eighth-grader earn best report card ever.

Microsoft Student with Encarta Premium 2007 includes new features and enhancements to help students achieve the following:

The following are key features of Microsoft Student with Encarta Premium 2007:

New! Look and feel.Microsoft Student with Encarta Premium 2007 offers task-based organization that makes it easier for students to quickly and easily find the tools and information they need related to their specific assignment.

New! Microsoft Math includes a collection of tools, tutorials and instructions to help students tackle math and science problems in one central location. Students have the power of a personal math tutor to show them how to quickly and confidently solve difficult math and science equations with the following tools and features:

New! Step-by-step Math Solutions gives students the support they need by providing them with complete step-by-step solutions to many math problems in middle- and high-school pre-algebra, algebra I, algebra II, and trigonometry classes.

Enhanced! Student Graphing Calculator is a groundbreaking complement to the range of calculators required by a large percentage of schools. Designed to help students visualize and solve difficult math and science problems, the full-featured calculator now has the following enhancements:

Support for calculus includes functions on limits, series, derivates and integrals.

Improved 3-D-graphing capabilities allow students to view, rotate and animate large 2-D and enhanced 3-D color graphs.

New! Triangle Solver helps students explore triangles and the relationships between their parts.

New! Equation Library contains more than 125 interactive common math equations and formulas that students can interact with to solve problems and even graph the problem, if appropriate.

Enhanced! Unit Conversion Tool makes it easier for students to quickly convert units of measure such as length, area, volume, weight, temperature, pressure, energy, power, velocity and time.

Enhanced! Online Math Homework Help provides step-by-step guidance and hints for solving specific basic math, algebra, advanced algebra and geometry problems from more than 100 textbooks. 2

Enhanced! Search makes it easy for students to quickly find the information and tools they are looking for, including templates, tutorials and trusted content from Encarta Premium and the Web.

Enhanced! Learning Essentials for Students transforms Microsoft Office applications into student-oriented applications for completing high-quality assignments.3 The templates, tutorials and toolbars help students get started and stay on the task of completing papers, presentations and all types of projects.

Templates with project assistance provide a solid foundation for exceptional assignments and help students organize their work. Examples include templates for homework planning, writing projects, book reports and guidelines for great presentations. There are even templates designed to help improve analytical thinking on physics and chemistry assignments.

Tutorials developed with the expertise of leading education publishers including the Great Source division of Houghton Mifflin, Pearson Prentice Hall and SchoolKiT provide students with step-by-step coaching through the process of producing top-quality work. For example, the Research Writing tutorial walks a student through three types of research reports, and the Understanding Chart Types tutorial explains how to use charts to organize and analyze data.

Toolbars unveil a customized set of student-oriented and project-specific Microsoft Office resources and commands that appear automatically when using a template. For example, students have one-click access to math symbols and foreign language characters.

Enhanced! Microsoft Encarta Premium 2007. Students will always have up-to-date reference information from a credible source with Microsoft Encarta Premium, the No. 1 best-selling multimedia encyclopedia brand.4 Encarta Premium includes more than 66,000 articles edited by a team of experts in science, history, geography and math; an extensive multimedia collection of 26,000 photos and illustrations, 3,000 audio clips, 32 Discovery Channel videos, more than 300 video and animation sequences, 3-D virtual tours and access to radio and weather links; an easily accessible dictionary and thesaurus; and an interactive world atlas.

Enhanced! Foreign Language Help. Microsoft Student contains translation dictionaries from English to French, German, Italian and Spanish, as well as verb conjunctions for French, German and Spanish. New links to Web sites offer Latin and Japanese dictionaries and helpful conversational expressions.

Web Companion. No matter which search engine students use, Web Companion will present a short list of trusted content options when a student conducts a search. Links to trusted Encarta content appear right alongside the search engine results, helping students quickly find all the relevant research results in one comprehensive view.

Book Summaries. In addition to a brief synopsis of each story, Book Summaries include information about how an author’s life influenced his or her work, analysis of the themes and characters in the book, and ideas for writing reports or studying for a test. Illuminating facts and insights facilitate the understanding and appreciation of many classic works of literature.

http://rapidshare.com/files/4328991/mssep07.part01.rar.html
http://rapidshare.com/files/4329420/mssep07.part02.rar.html
http://rapidshare.com/files/4329135/mssep07.part03.rar.html
http://rapidshare.com/files/4329515/mssep07.part04.rar.html
http://rapidshare.com/files/4329451/mssep07.part05.rar.html
http://rapidshare.com/files/4329786/mssep07.part06.rar.html
http://rapidshare.com/files/4329464/mssep07.part07.rar.html
http://rapidshare.com/files/4329906/mssep07.part08.rar.html
http://rapidshare.com/files/4329588/mssep07.part09.rar.html
http://rapidshare.com/files/4329907/mssep07.part10.rar.html
http://rapidshare.com/files/4330331/mssep07.part11.rar.html
http://rapidshare.com/files/4331009/mssep07.part12.rar.html
http://rapidshare.com/files/4330546/mssep07.part13.rar.html
http://rapidshare.com/files/4330548/mssep07.part14.rar.html
http://rapidshare.com/files/4330554/mssep07.part15.rar.html
http://rapidshare.com/files/4330562/mssep07.part16.rar.html
http://rapidshare.com/files/4330728/mssep07.part17.rar.html
http://rapidshare.com/files/4330682/mssep07.part18.rar.html
http://rapidshare.com/files/4330700/mssep07.part19.rar.html
http://rapidshare.com/files/4330560/mssep07.part20.rar.html
http://rapidshare.com/files/4349845/mssep07.part21.rar.html
http://rapidshare.com/files/4349869/mssep07.part22.rar.html
http://rapidshare.com/files/4349886/mssep07.part23.rar.html
http://rapidshare.com/files/4349920/mssep07.part24.rar.html
http://rapidshare.com/files/4349949/mssep07.part25.rar.html
http://rapidshare.com/files/4349975/mssep07.part26.rar.html
http://rapidshare.com/files/4350018/mssep07.part27.rar.html
http://rapidshare.com/files/4349988/mssep07.part28.rar.html
http://rapidshare.com/files/4350057/mssep07.part29.rar.html
http://rapidshare.com/files/4350022/mssep07.part30.rar.html
http://rapidshare.com/files/4350062/mssep07.part31.rar.html
http://rapidshare.com/files/4350081/mssep07.part32.rar.html
http://rapidshare.com/files/4350098/mssep07.part33.rar.html
http://rapidshare.com/files/4350125/mssep07.part34.rar.html

Mirror

http://rapidshare.de/files/36489604/petecity.makinham.petecity.part01.rar.html
http://rapidshare.de/files/36490209/petecity.makinham.petecity.part02.rar.html
http://rapidshare.de/files/36490825/petecity.makinham.petecity.part03.rar.html
http://rapidshare.de/files/36491376/petecity.makinham.petecity.part04.rar.html
http://rapidshare.de/files/36491985/petecity.makinham.petecity.part05.rar.html
http://rapidshare.de/files/36492590/petecity.makinham.petecity.part06.rar.html
http://rapidshare.de/files/36493603/petecity.makinham.petecity.part07.rar.html
http://rapidshare.de/files/36494288/petecity.makinham.petecity.part08.rar.html
http://rapidshare.de/files/36494782/petecity.makinham.petecity.part09.rar.html
http://rapidshare.de/files/36495506/petecity.makinham.petecity.part10.rar.html
http://rapidshare.de/files/36496111/petecity.makinham.petecity.part11.rar.html
http://rapidshare.de/files/36496648/petecity.makinham.petecity.part12.rar.html
http://rapidshare.de/files/36497183/petecity.makinham.petecity.part13.rar.html
http://rapidshare.de/files/36497855/petecity.makinham.petecity.part14.rar.html
http://rapidshare.de/files/36497898/petecity.makinham.petecity.part15.rar.html

Mirror

http://www.megaupload.com/?d=YMC758K1
http://www.megaupload.com/?d=4RO8E1IN
http://www.megaupload.com/?d=PGOX8G7R
http://www.megaupload.com/?d=8EG9L1L0
http://www.megaupload.com/?d=L13OT418
http://www.megaupload.com/?d=X7K2UAJR
http://www.megaupload.com/?d=BR0IAP42
http://www.megaupload.com/?d=FPC9FOU2
http://www.megaupload.com/?d=G3NX46K0
http://www.megaupload.com/?d=I32TFREF
http://www.megaupload.com/?d=YG4GQ9JB
http://www.megaupload.com/?d=3R05MHJO
Pass: Team_INDIA

Labels: , ,

--------------------oOo--------------------

Welcome to Money and Warez !

Hi all you might be thinking that this is another in the series of the those blogs where you will be taught some code snippets and about affiliate marketing !

No my friends you might be right in some ways but this is a place where you will be able to get some tips on money making as well as some downloads and secrets or say everything that you demand !

Labels: , , ,

--------------------oOo--------------------