How to generate random number sevens
Next we want to introduce you to a function that can generate random numbers, but also to avascript written this function is only used a little trick.And this technique in most of the compiler (compiler), the largest true (or similar) to calculate the random number to the.I believe avascript Finally, it should also produce a similar approach to this method, if it would provide such functionality, the following is the result of this function:
Programming
JavaScript tips (sevens)
PHP Group: Google PHP acceleration techniques to provide the site is really nonsense
Google Group to accelerate its Web site last week to share tips Daquan, including some PHP performance techniques.However, the performance of these skills in PHP PHP caused a community uproar, PHP team immediately wrote an open letter to these performance skills "bug."Proposals related to Google, 51CTO the past few days finishing done to make the article, "acceleration, speed, and then accelerate: speed up the skills from the Google site Daquan."The second half of the fourth page is specifically about the performance of PHP-related skills before reading this article may be familiar with it.
Excellent open-source PHP program abroad Jianzhan List
A large number of PHP open source (Open Source / Open Source) application changed the world, change the Internet, we conclude the following from the database to the shopping, blog and many other types of open-source PHP software for web developers as a reference.
Java socket connection for multiple concurrent programming
Multiple clients simultaneously connected Java server, used in real life than more.Perform multiple tasks simultaneously, the first thought, of course, a multi-threaded.The following multiple threads to achieve concurrency with multiple connections.
PKU testing software test engineers to push the first Excellent Course
To meet the needs of the domestic software enterprises, recently BTEST (PKU test) introduced the first domestic software test engineer "Excellent Course" system.It is reported that, BTEST (PKU test), "Courses" with international standards, the main focus on the real task of the working environment and the actual start, case studies and project training through the project, to cultivate the students of professional software testing skills.
Typical test error (a) - tests the role of
It''s easy to make mistakes when testing software or planning a testing effort. Some mistakes are made so often, so repeatedly, by so many different people, that they deserve the label Classic Mistake.
SQL Server Agent task through code execution
1. Through the SMO (SQL Server Management Object Model)
2. Through stored procedures
Java + Oracle Application Development in several classical problems
Since you can run Java in the database after, Oracle's most exciting new features are played to the maximum Java, but the associated problems often plague developers, this case out of the three most common problems in the hope of aThis troubled friends help.
Test encounter Bug, please think twice
If you want to be a failure of the product manager, in the face of bug, please fix it immediately hands.If the bug can be repaired immediately, why further delay? PM should be a "performer" rather than always on paper of "thinkers."When problems arise, you must get it the first time.Of course, this may waste a lot of time, may also be distracting, but this is the best time for a PM distribution, is not it?
Link button JavaScript to use the changing
Avascript the link button with the changing
Button is the web page often to see the kind of stuff.But do use the link button may not have seen you.Teach you today, this method can be used not only to create the link button, but also changing the link button display.Effect is very nice and can save page space, really serve two purposes, up it a try!
Flash special effects used in the source code for big run
For example there are many attributes to build an array of simple to do so:
The following is quoted fragment:
Object-oriented software testing
An Introduction (Introduction)
Low quality of the software users in the operation will produce a variety of problems, may bring serious consequences of varying degrees, the light of the system to work properly, causing severe accidents, loss of lives and property.Software quality software testing is to ensure that the most important means.What is software testing?IEEE 1983 is defined as: use of manual or automated means or measuring a system to run the process, the aim was to examine whether it meets specified requirements or expected results and actual results to ascertain the difference between.
Decompilation of Java
java was born in 1995, is a relatively young language.It is the platform independence, security, object oriented, distributed, key characteristics such as strong to win the favor of many programmers.In particular, it simple object-oriented language style, leaving many people love it.But people in the use of java in the process, you will find it has several fatal weaknesses: slow, user inconvenience, source code protection mechanism is not safe enough.Particularly in terms of protecting the source code, java is based on the interpretation of bytecode called java code to run in the middle of its procedures, and jvm than the computer's microprocessor to be simpler, the document is very complete, resulting in its objectivesprogram is easy to be decompiled, but the original code from the code and its very similar, even identical, readability is very good.This is to protect the java code adversely.But to achieve the protection of java programs, not impossible, the research and concluded, at least three implementations: 1. Obfuscator; 2. An important class of network load; 3, an important class of encryption.
Utility library java.util (1)
Java utility library java.util package, Java provides a number of practical methods and data structures.For example, Java provides the date (Data) class, the calendar (Calendar) class to generate and obtain the date and time, providing a random number (Random) classes types of random number generation, but also provides a stack (Stack), vector (Vector), bit set (Bitset) and the hash table (Hashtable), and the like to represent the corresponding data structure.
Software Testing - Notes on the submit bug
The so-called bug is, to a certain input, the software output is wrong or not what we expect results.bug is a bug in the English meaning.In previous large-scale machine, often some bug damage to the system's hardware architecture, leading to problems with the hardware to run, or even collapse.A long time, bug meant to be interpreted as wrong, what went wrong, say what is wrong bug.
Cabir mobile phone virus source code (caribe)
The author explains that he chose Bluetooth (rather than the other way, such as MMS) is due to spread of the virus mobile phone users do not want to waste money:)
Official declared: Windows 7 has confirmed that support for VB6 run
Although the VB6 IDE has been the end of the life cycle of Microsoft, recently said a statement of support, and the server version of Microsoft's Windows 7 will continue to run VB6 included by default.
Defect measurement and analysis: Test Process Improvement
? The definition of leakage test
The so-called leakage testing, is a software product defects were not discovered missing the test group to the user, where it was eventually discovered by the user.If the product is there a problem in the user, the consequences are very serious.In the software development process, defects are found earlier, and resolve deficiencies found in the cost spent on the smaller.If the defect is found in the test group of test users, rather than being found, then the cost will be less spent.If the defect is in the development process of the development team discovered, then the price will be smaller flowers.Therefore, the leakage measurement and analysis, leakage prevention measure, prompting defects early in the development process as possible is found, it is very meaningful, and it helps reduce the cost of software products to improve software product quality.
Test methods and test tools solutions (3)
2.White-box tools - NuMega DevPartner Studio
This is a group of white box testing tool, mainly for code development phase, check the application reliability and stability.It provides advanced error checking and debugging solutions, full development team to improve productivity and quality of software development.NuMega product line is a comprehensive SmartDebugging toolkit automatically check with enterprise-level or multi-language Internet-level components and applications created by software errors occur and performance issues, and can quickly solve them.
JavaScript code generated by JSP form validation
Main program is called ErrorCheck.java, with this ErrorCheck the Bean, we no longer have to form validation that a lot of annoying to write JavaScript code.ErrorCheck class has helped us generate almost all of you will use the validation methods, such as whether the number, the length of the check, whether the legitimate email, etc., you'll need the appropriate jsp page to call functions on it.
PHP and MySQL development skills 8
LAMP-based Web site, I've focused mostly installation / configuration, and about the development of relatively small, because they are less engaged in the development.
C + + to determine the file (folder) the existence of the code
This is a file or folder to determine the existence of the code, the code is not very long, all serious look, bool FileExists (LPCTSTR lpszFileName, bool bIsDirCheck)
Written in assembler under DOS memory-resident program (1)
Preface
Memory-resident and interrupt 0.1
English memory-resident program called Terminate and Stay Resident Program, abbreviated as TSR. These programs loaded into memory, after the implementation to reside in memory, when they meet conditions, transferred to the front to perform.
QQ latest variety of free floating space code
LOVE HOME: javascript: window.top.space_addItem (16,23212,330,80,600,600,0);
FLASH snow pendant: javascript: window.top.space_addItem (16,23232,50,80,620,350,0);
The principles of test case development
To test the test case to include the functions, enter data and expected output.Should use a small amount of test data, test data and efficient as possible complete the test; basic objective is: to design a set of certain types of errors found an error or test data, test cases should cover the areas: