Don't know how to improve code quality?Take a look at these design patterns!
Purpose of improving code quality
Programming apes do their job of writing code. Writing high-quality code should be our pursuit and our own requirement because:
High quality code often means fewer BUG s, better modularity, and is the basis for our scalability and reusability
High quality code also means better writing, better naming, ...
Posted by kcorless on Fri, 05 Jun 2020 17:20:40 -0700
Deep learning of spring boot source code -- spring factorysloader
preface
if you want to learn the source code in depth, you must first learn to understand its notes, after all, it is first-hand knowledge. We all know what an excellent framework spring boot is. It has brought great convenience to Java developers, and there is no need to integrate SSM, so we w ...
Posted by TheVoice on Thu, 04 Jun 2020 23:31:33 -0700
Detectron benchmark 12
By Facebook research
Compile Flin
Source: Github
Benchmarking
Here, we benchmark the training speed of Mask R-CNN in detectron 2 based on some other popular open source implementations of Mask R-CNN.
set up
Hardware: 8 NVIDIA V100 with NVLink.
Software: Python 3.7, CUDA 10.0, cuDNN 7.6.4, PyTorch 1.3.0 (link( https://download.pytorch.org/ ...
Posted by johnkelly on Tue, 02 Jun 2020 21:27:10 -0700
Introduction to antagonistic training - trying to deceive a model
Author: Zhi Guangda
When we are actually deploying a machine learning system, one of the most important things is the robustness of the system. We hope that the system will not only be effective for most cases, but also be truly reliable, such as being able to recognize attacks from others (deceiving your classification model).Therefore, the to ...
Posted by deadlyp99 on Tue, 02 Jun 2020 05:01:50 -0700
Qt Open Source Works 25-Battery Power Control
1. Preface
In this era, smartphones should not be too popular, they are everywhere, even people of grandparents'level will use smartphones. The control to be written this time is the battery power indicator control in smartphones, which can be drawn by pure painter. In fact, you can also use maps. I guess most mobile phones use the form of maps ...
Posted by dellwoodbu on Mon, 01 Jun 2020 19:35:41 -0700
Forty-one Three.js Advanced geometry THREE.ConvexGeometry
brief introduction
adopt THREE.ConvexGeometry , we can create a bump around a set of points. The so-called convex hull is the smallest figure surrounding this group of points. That is to say, all the points are in the body of the current model, and the current drawing is the smallest model.
Simple case
First, you need to have an array of ve ...
Posted by BLeez on Sun, 31 May 2020 09:13:58 -0700
Asp.Net MVC based on Fleck's development of multi person web chat room
1, Core description of the project
1. Fleck is a relatively simple third-party component to implement websocket, which does not need to install additional containers. There are also several interfaces available.
2. The project is based on. net framework 4.7.2, developed on vs2019, and has not tried to run on the lower version. However, the new ...
Posted by Chris92 on Sun, 31 May 2020 04:15:54 -0700
Vertically scrolling ViewPager--VerticalViewPager
VerticalViewPager a vertical scrolling ViewPager
Inherited from ViewPager, it has the same usage as ViewPager, including adapter, listening, but the sliding direction is different.
Occasionally, we will find that viewpager wants to slide vertically, but the official doesn't provide a method. We found this on stack overflow, which can perfectl ...
Posted by hush2 on Sun, 31 May 2020 00:55:56 -0700
Data analysis | accurate data management based on smart tags
Source code: GitHub point here || GitEE point here
1, Scenario analysis
1. Scenario case
Friends in the Internet industry must have known or heard of the following scenarios:
Ali: thousands of thousands of faces, meaning different users use Ali related products feel different, for example, the recommended content of Alipay home page, and other ...
Posted by michaelnorth on Fri, 29 May 2020 19:00:49 -0700
The interaction demo between ajax and the background
This demo mainly demonstrates the simple interaction between ajax and tomcat server!
Idea: enter the user name in the input box. If the user name is blank, "please enter the user name"; if the user name already exists, the picture of "wrong number" will be displayed; if there is no same user name ...
Posted by jpadie on Fri, 29 May 2020 09:21:31 -0700