QA Official

2, Ajax and Java interact through POST

https://qaofficial.com/post/2019/04/02/68565-2-ajax-and-java-interact-through-post.html 2019-04-02
1. Steps for Ajax Interaction 1.1 Get xmlhttprequest 1.2 Set onreadystatechange Response Event for xmlhttprequest 1.3 Prepare to get ajax request XMLHttp.open (" POST", " AJAX ServerLet", true); 1.4 Set the message header as a form and submit XMLHttp.setRequestHeader (" Content-Type", " Application/X-WWW-Form-UrlenCoded") imitating the POSt of the form; 1.5 Send ajax request XMLHttp.send (" Age = 18 & NAME = Zhang");//Ajax POST request, parameters are carried through xmlhttp.send ()

BP Network-Detection with 2001PKU MCM B Gene

https://qaofficial.com/post/2019/04/02/68580-bp-network-detection-with-2001pku-mcm-b-gene.html 2019-04-02
In order to test the written BP network, I found out the antique test data, Question B of PKU Mathematical Modeling Contest in 2001. See (http://mcm.ustc.edu.cn/wangjie/other/pku2001.htm) for detailed topic data. At first, it was not successful. The total number did not converge. After changing some parameters, it was found that the number of neurons in the hidden layer needed to be very small. It felt a bit like reduction. It

Form Submission-form Submission and ajax Submission

https://qaofficial.com/post/2019/04/02/68538-form-submission-form-submission-and-ajax-submission.html 2019-04-02
1, usage scenario: Security is the same, it is the http protocol sent.Security is related to the business processing (format detection, injection prevention) of submitted documents, but not to the submission method. In general, login is submitted by form. Click submit to trigger submit event, which will cause page jump. The control of page jump and other behaviors is usually at the back end, which controls page jump and data

How to Design Complex Multitasking Programs

https://qaofficial.com/post/2019/04/02/68397-how-to-design-complex-multitasking-programs.html 2019-04-02
How to Design Complex Multitasking ProgramsAt the beginning stage, we are generally faced with a single simple task in design. The flow chart can be shown in Figure 1. Usually, step cycle delay is used to meet the needs of the task.In the face of multitasking and slightly complicated programming, following the idea of Figure 1, we will make the program shown in Figure 2. We will add tasks continuously in the large loop body, usually with delay to meet the beat of specific tasks.

How to Write Batches in python

https://qaofficial.com/post/2019/04/02/68486-how-to-write-batches-in-python.html 2019-04-02
bat cannot be used to write batch processing. bat command is too complex. What should I do?Python can be used instead of bat write batch processing 1. Why Batch Processing Is Required I have a video band fusion console applet Fusion.exe on hand, which needs to open cmd and then input in cmd 融合程序路径 影像宽度w 影像高度h 波

Normalization of Matlab Images

https://qaofficial.com/post/2019/04/02/68480-normalization-of-matlab-images.html 2019-04-02
1, why normalization? 1. Basically, the idea of normalization is to find a set of parameters by using the invariant moments of the image so that it can eliminate the influence of other transformation functions on image transformation.In other words, it is converted to a unique standard form to resist affine transformation. Image normalization enables images to resist attacks of geometric transformation. It can find those invariants in images, thus knowing that these images are originally one or a series.

OpenCV Learning Notes (1)-Resize Function Realizes Image Size Normalization

https://qaofficial.com/post/2019/04/02/68464-opencv-learning-notes-1-resize-function-realizes-image-size-normalization.html 2019-04-02
in the process of image processing, sometimes need to adjust the image to the same size, easy to process, then need to use image resize () original function void resize(InputArray src, OutputArray dst, Size dsize, double fx=0, double fy=0, int interpolation=INTER_LINEAR ) The first two parameters are input and output images respectively.Dsize indicates the size of the output image, if 0, then dsize和fx

Operating System

https://qaofficial.com/post/2019/04/02/68399-operating-system.html 2019-04-02
Operating System 中间商, 翻译官 Application --> Operation System --> Hardware command line 快速回到行首: ctrl + A 快速回到行尾: ctrl + E action 向上: 为 应用程序 提供支持 向下: 控制/ 管理/ 调度 硬件 truncation 截断: 从文件

Three Ways for Front End to Send get and post Requests

https://qaofficial.com/post/2019/04/02/68540-three-ways-for-front-end-to-send-get-and-post-requests.html 2019-04-02
1. Send request with XMLHttpRequest object (1)get request var xmlhttp; if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("div").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","forwifestudy/testforget.php?info=123",true); xmlhttp.send(); Note: Any browser except IE5 and IE6 can create an XHR object. In IE, XHR is implemented as an ActiveX object. In IE, the object is

Understanding and Use of Python Multithreading (1) Understanding of join () Function in Threading

https://qaofficial.com/post/2019/04/02/68387-understanding-and-use-of-python-multithreading-1-understanding-of-join-function-in-threading.html 2019-04-02
1. The concept of multithreading Multithreading is similar to executing multiple different programs at the same time. Multithreading has the following advantages: Using threads can put tasks in programs that occupy a long time into the background for processing. The user interface can be more attractive. For example, if the user clicks a button to trigger the processing of certain events, a progress bar can pop up to show the