Verilog implements SPI protocol
There are many tutorials about SPI. Here is a summary of my study of SPI protocol.
What is SPI?
SPI is the abbreviation of Serial Peripheral Interface Bus, which means serial peripheral interface. It is a synchronous serial communication interface standard for short distance communication, mainly used in embedded system. This in ...
Posted by rane500 on Thu, 25 Jun 2020 05:54:50 +0200
java multithreaded Callable -- segment a large list and merge the results
Code reference http://bbs.csdn.net/topics/391070227?page=1
Here is the posted Code:
public void dealListWithMutiThread(){
List<Object> list = new ArrayList<Object>(10000);
int index = 0;
ExecutorService ex = Executors.newFixedThreadPool(5);
int dealSize = 2000;
List&l ...
Posted by l9pt5 on Wed, 24 Jun 2020 07:20:34 +0200
LeNet-5 migration case of convolution neural network
Abstract: LeNet-5 is a convolutional neural network designed by Yann LeCun in 1998 for handwritten digit recognition. Most American banks used it to recognize handwritten digits on cheques. It is one of the most representative experimental systems in the early convolutional neural network. It can be said that LeNet-5 is equivalent to "H ...
Posted by lauriedunsire on Wed, 24 Jun 2020 05:54:39 +0200
With all due respect, you may not really be able to java Article 6: Stream performance is poor?Don't make a cloud out of a cloud
1. Feedback from fans
Q: stream is five times slower than for loops. What is the reason for this?
Answer: The Internet is a time when news is flooding. Three people become tigers when something is false and real happens.As a technology developer, you have to do it yourself. Don't let the world go by.
Indeed, I've read this article by this fan, ...
Posted by amites on Wed, 24 Jun 2020 02:51:30 +0200
27 - how many ways to implement a single example? What are their advantages and disadvantages?
Singleton pattern is one of the simplest design patterns in Java. It means that a class always has only one instance during its running. We call it singleton pattern. It is not only used in practical work, but also one of the most frequently tested questions in interview. Through the singleton mode, we ...
Posted by vbracknell on Tue, 23 Jun 2020 10:58:01 +0200
Istio 1.6.3 release - new features and quick installation
Istio 1.6.3 released. Istio is an open source project jointly developed by Google, IBM and Lyft, aiming to provide a unified way of microservice connection, security, management and monitoring. Specifically, istio is an open source services grid platform, which ensures that microservices are interconnected in a specified way when they handle ...
Posted by Sephirangel on Tue, 23 Jun 2020 10:15:27 +0200
Let's write a small program timer management library
Author: attapulgite - Anthology
background
Attaman is a small program developer, he wants to implement the countdown of seconds in small programs. Without thinking about it, he wrote the following code:
Page({
init: function () {
clearInterval(this.timer)
this.timer = setInterval(() => {
// Countdown calculation logic
c ...
Posted by edspace on Tue, 23 Jun 2020 09:17:17 +0200
Apache Hadoop deployment: HDFS/YARN/MR configuration
Catalog
Hadoop configuration (non-HA)
To configure
Hadoop-env.sh
Hdfs
Yarn
MapReduce
Worker File
Startup and Validation
problem
Hadoop configuration (non-HA)
Hadoop is a distributed, highly available batch processing framework. Hadoop for CDH comes with other components such as Hbase, H ...
Posted by kwilameiya on Tue, 23 Jun 2020 03:53:38 +0200
Introduction to color screen display: color setting and text display | ESP32 learning tour - Arduino version
Contents of this series of historical articles:
ESP32 overview and Arduino software preparation
Introduction to the programming of ESP32 GPIO interface
Bluetooth pager (PPT controller)
Novel coronavirus pneumonia epidemic data real-time display
Fan counter of station B
Siri voice recognition control LED
Getting sensor data from Siri speech rec ...
Posted by PhilVaz on Mon, 22 Jun 2020 06:19:44 +0200
Data structure stack
catalog
Article catalog
catalog
Stack
The characteristics and structure of stack
Operation set of stack
Pseudo code example
Declaration stack structure
Define stack operation function
Application example
Bracket matching problem:
Reference documents
Stack
First of all, we need to explain t ...
Posted by simon71 on Mon, 22 Jun 2020 05:13:22 +0200