Tag:Time meeting

  • Description method [dead loop]


    #import “MaTsonga .h” @implementation MaTsonga -(NSString *)description{ return [NSString stringWithFormat:@”{name:%@,age:%i}”,self.name,self.age]; } @end #import “MaTsonga .h” int main(int argc, const char * argv[]) { MaTsonga *ma=[[MaTsonga alloc]init]; ma.name= @”Is it like being silly”; ma.age=24; Nslog (@ “% @”, MA); // the object description method will be called to return the corresponding description information return 0; } […]

  • Install mmdetection


    Mmdetection is a deep learning and object detection code base based on python. It contains fast RCNN, Yolo, SSD and other mainstream object detection algorithm codes and trained models. It is convenient for us to study the object detection algorithm. The installation steps of mmdetection are as follows: 1. Create a CONDA environment and activate […]

  • [10 MINS/DAY] CSS Transition


    CSS transitionsProvides a way to control animation speed when changing CSS properties. It can make property change a process that lasts for a period of time, rather than taking effect immediately. For example, changing the color of an element from white to black usually takes effect immediately. After using CSS transitions, the color of the […]

  • React render is rendered twice, one is the original state data, and the other is the newly acquired data


    There is a problem in the project. After the dispath action, the render will render the data of the state twice, one is the original state, and the other is the newly acquired state, as shown in the figure belowThis is because the react rendering mechanism causes the original state data to be automatically obtained […]

  • Notes on flutter (33) — gesture recognition of gesturedetector


    If you need to reprint, please indicate the source:Notes on flutter (33) — gesture recognition of gesturedetector This essay mainly records the learning content of gesturedetector gesture recognition, including recognition of click, double-click, long press, component drag and zoom processing. Click, double-click and long press Let’s take a look at demo. It’s very simple. Gesturedetector […]

  • Mongodb shut down abnormally, start again and report error


    Mongodb exits abnormally. An error will be reported at the next startup. Some people say that they will mongod.lock Just delete the file.If mongod.lock Can’t solve the problem first, then delete the file ./bin/mongod –repair –dbpath /…/data/–repairpath /home/test/bakdata /Home / test / bakdata is the directory to store backup data /Data / is the directory […]

  • Running time of debugging task card is long


    When running, it will get stuckRunning ‘gradle assembleDebugBecause gradle’s Maven warehouse is abroad, you can use the image address of Alibaba cloud 1 open project: buildscript { ext.kotlin\_version = ‘1.3.50’ repositories { //This is modified to use the agent of domestic Ali // google() // jcenter() maven { url ‘https://maven.aliyun.com/repository/google’ } maven { url ‘https://maven.aliyun.com/repository/jcenter’ […]

  • AtomicStampedReference


    brief introduction This is used to store the main version number of the Atomica and its internal version to solve the problem. ABA problem CAS operations may existABAIn other words, if a value turns out to be a, B, and a, then CAS will find that its value has not changed, but it has actually […]

  • Research and understanding of routing


    In the practice of react, it is useful to use routing. Routing is very simple and effective, but it does not think about what routing is.So the research began, First of all, there are two kinds of routes: hash and history 1.hashRouterThe XXX part after the URL in the anchor browser is ignored when HTTP […]

  • Talk about Flink’s networkbufferpool


    order This paper mainly studies the network bufferpool of Flink BufferPoolFactory flink-release-1.7.2/flink-runtime/src/main/java/org/apache/flink/runtime/io/network/buffer/BufferPoolFactory.java public interface BufferPoolFactory { /** * Tries to create a buffer pool, which is guaranteed to provide at least the number of required * buffers. * * <p>The buffer pool is of dynamic size with at least <tt>numRequiredBuffers</tt> buffers. * * @param numRequiredBuffers […]

  • Invalid options in vue.config.js: “baseUrl” is not allowed


    In the process of running the vue-cli3 project, the console reports an error The reason for the error is that the baseURL is used in the vue.config.js file created by yourself, but the vue-cli version applicable to the baseURL is before 3.2.0, so the error will be reported when the code is running. Change the […]

  • Android.mk file local? SDK? Version option


    Api classification internal apiTranslated into internal API, understood as the API for internal use of SDK.This kind of interface was originally intended to be private. hide api See the method or class marked with @ hide in the source code, that is, hide.This kind of interface is intended to be public, but the current stage […]