A Review on Question Generation from Natural Language Text

Abstract In this investigation, we attempt to classify the question generation task more comprehensively from three different perspectives, namely the type of input context text, the target answer, and the generated question. We conduct an in-depth study of existing models from different dimensions to analyze their basic ideas, main design principles, and training strategies, and […]

Research on the principle of clearing the last frame of the camera using TextureView

Recently, I encountered an interesting problem while assisting a camera-related project. I will record it here. The original problem is probably that when using TextureView to preview the camera, after closing the camera, the last frame will remain on the screen, and it needs to be cleared. The method I used at the beginning was […]

Front-end code review, understand it all at once!

Front-end code review mainly focuses on the following aspects: ? 1. “Code Quality”: Whether the code is concise, easy to read, and easy to maintain. Whether consistent coding styles and specifications are followed, such as ESLint, Prettier, etc.2. “Function Implementation”: Whether the code achieves the expected functions and whether there are potential bugs or logic […]

Vue implements reading local model files and previewing its animation online

demo address 1. Demand background The company used to need its own internal model library and the function of model preview, so it found a model preview plug-in, but found that the animation could not be previewed, so it specially solved this problem. Disadvantages: After developing this function, I feel that it is redundant because […]

[Review] Experience and lessons learned in the construction of interface automation testing framework!

Why did you choose this topic? First, we find that many “part-time workers” will ask questions related to automated testing during the confused period of transformation. It can be said that automated testing is the only way for “part-time workers” to upgrade; second, if you Google interface automation testing, you will find a lot of […]

DevChatIntelligent Programming Assistant – Usage Review

Written in front: The blogger is a “little mountain pig” who has devoted himself to training after practical development experience. His nickname is taken from “Peng Peng” in the cartoon “The Lion King”. He always treats the surrounding people with an optimistic and positive attitude. thing. My technical route has been from Java full-stack engineer […]

Review of incorrect and error-prone questions in four assignments from 2023.10.08 to 2023.10.14

一.2023-10-08_Compilation and linking, etc. Wrong question: 1. The swich statement is as follows: #include<stdio.h> int main() { switch (a) { case 1: break; default: } return 0; } Correct answer: A (wrong choice D) Objective analysis: When the content of the variable expression is equal to the constant after a certain case, the statement under […]

Java file segmented upload, download, preview interface

Multiple upload private Map<String, List<File>> chunksMap = new ConcurrentHashMap<>(); public void upload(PartFile fileInfo, MultipartFile chunk) {<!– –> // int currentChunk = fileInfo.getCurrentChunk(); int totalChunks = fileInfo.getTotalChunks(); String fileName = fileInfo.getFileName(); String chunkName = chunk.getOriginalFilename() + ‘.’ + currentChunk; File chunkFile = new File(uploadCachePath, chunkName); try (BufferedInputStream bis = new BufferedInputStream(chunk.getInputStream()); BufferedOutputStream bos = new BufferedOutputStream(new […]

Review of RabbitMQ congestion problem

Remember the congestion problem of online RabbitMQ 1. Background RabbitMQ synchronizes waybills from other provinces and cities to this system 2. Question One morning when I went to work, I found that many companies in the operation and maintenance group had reported that their latest waybills could not be found in the system. At that […]