Minio related configuration and problem record

First of all, Minio has written clearly and in Chinese on its website. https://docs.min.io/cn/ In the project, the OSS function needs to be replaced and implemented. The code corresponding to the original public cloud implementation has been encapsulated into a tool class, and the factory method mode is adopted. As long as the mini interface a ...

Posted by friedice on Mon, 20 Apr 2020 03:58:05 -0700

Common application scenarios of front-end Promsie

This article will summarize the common application scenarios of Promise in our project development based on our own use of ES6 Promise. Of course, Promise may not be the only option, but as a qualified front-end developer, we need to understand it. Promsie.all Syntax: Promise.all (iterable) Parameter: an iterative object, such as Array. Re ...

Posted by akano on Sun, 19 Apr 2020 22:37:42 -0700

Summary of OkHttp source code interpretation (XIII) - > call server interceptor

Summary of OkHttp source code interpretation (XIII) - > call server interceptor Tags (space separated): learning notes of OkHttp source code Preface The following summary of relevant knowledge is based on the relevant learning and opinions of mooc.com. If you need to check the relevant teaching of mooc.com, you ...

Posted by seansd on Sun, 19 Apr 2020 08:15:11 -0700

Vue-based server-side rendering framework Nuxt.js case description

background To develop a new official website (education company), the website needs to consider drainage, promotion, keyword search ranking, so the website needs to do SEO.Vue.js is a framework for building client applications that, by default, can output Vue components in a browser for DOM generation and operationsDOM, like this client-side re ...

Posted by sledgeweb on Sun, 19 Apr 2020 00:51:45 -0700

Initial Artificial Intelligence: Machine Learning: sklearn Dataset

1. sklearn dataset 1.1 Dataset Partitioning Machine learning general datasets are divided into two parts:Training data: for training, building modelsTest data: Used during model validation to assess whether a model is valid SklearnDataset Partitioning API: sklearn.model_selection.train_test_split 1.2 Introduction to sklearn dataset interface In ...

Posted by heropage on Sat, 18 Apr 2020 20:04:34 -0700

K-means algorithm -- Application

1. Image compression using K-means algorithm Read a picture Observe image file size, memory occupied, image data structure, linearization Clustering image pixel colors with kmeans Get the color category of each pixel, and the color of each category Compressed image generation: replace the original pixel color with the middle gather in clusterin ...

Posted by troinfo on Sat, 18 Apr 2020 08:44:21 -0700

WebSocket learning summary

This article casually wrote about my own understanding of websocket communication protocol, Demo played on two frameworks, and then stepped on several pits and unfilled pits (welcome to comment and guide).   What is WebSocket? Why use WebSocket? WebSocket is a kind of network communication protocol. When it comes to network communication protoc ...

Posted by redmonkey on Fri, 17 Apr 2020 02:42:03 -0700

Convolution neural network in python

Code source: https://github.com/eriklindernoren/ML-From-Scratch The specific implementation of convolution layer Conv2D (with strip and padding) in convolution neural network: https://www.cnblogs.com/xiximayou/p/12706576.html Implementation of activation function (sigmoid, softmax, tanh, relu, leakyrelu, elu, selu, softplus): https://www.cnbl ...

Posted by nymall on Fri, 17 Apr 2020 02:25:05 -0700

Android HTTP mode request network

There are many ways to use Http to access the network, but the most common way is POST and GET. The project is just useful, so I wrote a tool class for later use. Generate a construction parameter with handler in HttpUtil class. The reason to generate a construction parameter with handler is that after Android 4.0, whe ...

Posted by devassocx on Thu, 16 Apr 2020 09:04:45 -0700

java docking seven cattle background content audit (yellow, sensitive, violent fear)

Introduction to the content audit of qiniu Find intelligent multimedia in the console of qiniu Next, find the intelligent content audit, and you can see some audit data, mainly including: Yellow River identification, violent terrorism, sensitive people In addition, see the API interface description: The view address is: https://developer.qini ...

Posted by tolli on Thu, 16 Apr 2020 02:10:23 -0700