Amount of digital voice broadcasting

Recently, we are working on a voice broadcasting function, which started with Speech. It feels good. It can be transferred directly from text to voice, and then broadcasted. But after testing the machine, we found that English was playing. After searching, we found that voice support was needed. There may also be some systems where the entire v ...

Posted by matchew on Mon, 16 Sep 2019 19:50:57 -0700

Four basic algorithms of php

Four basic algorithms of phpMany people say that the algorithm is the core of the program, a program is better than bad, the key is the quality of the program algorithm. As a phper, it has little exposure to algorithmic aspects. But for the four basic algorithms of bubble sort, insert sort, select sort and quick sort, I think we still need to m ...

Posted by chowwiie on Mon, 16 Sep 2019 02:13:32 -0700

Splay tree extension tree:

Example 1: P3369 [Template] General Balance Tree: Title Description You need to write a data structure (referable title) to maintain some numbers, which need to provide the following operations: 1. Insertion of x numbers 2. Delete the number x (if th ...

Posted by Addos on Sun, 15 Sep 2019 06:57:41 -0700

Analysis of connection pool of golng mysql Library

Analysis of connection pool of golng mysql Library 0x1 background Goang's protocol is useful, but sometimes the bottleneck is not in the language, but in the data sources behind it, such as mysql, redis, etc. When a backend serves many requests, the language can hold, but mysql produces errors, such as too many connections, too many time_wait, ...

Posted by Dathremar on Sun, 15 Sep 2019 01:04:35 -0700

Bluetooth MCU development journey: Dialog OTA scheme combing and package transfer transformation

Dialog 14585 OTA uses a dual backup scheme, and the external interface is embedded in the user's application as a separate Service (0xF5FE) without using their mobile app for OTA, or as their own defined UUID. In the following figure, the entire ...

Posted by Hieroglyphics on Sun, 15 Sep 2019 00:13:29 -0700

30 classic cases of Shell Scripting

Contents of this article Download files from FTP server 22. Continuous input of 5 numbers less than 100, statistic sum, minimum and maximum 23. Assign the results to variables, respectively 24. Batch modification of file names 25. Statistics of the total number of files in the current directory ending with. html 26. Scanning host port sta ...

Posted by mihomes on Fri, 13 Sep 2019 23:01:12 -0700

1 Depth First Search (DFS)

September 2019 PAT - Practice Notes - 8.1 The following page numbers are labeled with the actual page number in the reader, not the self-printed page number of the book itself. Chapter 8 Improvement (2) - Search Theme 8.1 Deep First Search (DFS) ...

Posted by joshmmo on Fri, 13 Sep 2019 20:00:45 -0700

py concurrent programming (threads, processes, coroutines)

I. Operating System Operating system is a system program used to coordinate, manage and control computer hardware and software resources. It is located between hardware and application. Programs are software running on the system with certain functions, such as browsers, music players and so on. The definition of the operating system's kernel: ...

Posted by iyia12co on Thu, 12 Sep 2019 02:04:50 -0700

Summary of Load Balancing Algorithms

Summary of Load Balancing Algorithms Stochastic algorithm Firstly, the server is put into an array or a list, and a subscript within the valid range of the array is obtained through the random algorithm of JDK. According to the random subscript, the corresponding server is accessed. From the theory of probability and statistics, we can know tha ...

Posted by cdc5205 on Wed, 11 Sep 2019 21:08:11 -0700

Portable Notes for AWTK WEB Edition - Base

Compiling a hello world written in C into a web version is easy, and there are many examples on the web.Writing such an example is necessary to get us started quickly, but the actual project is much more complex. Here we will introduce some basic knowledge of emscripten and highlight the problems encountered during the migration of AWTK, in the ...

Posted by dreams4000 on Wed, 11 Sep 2019 16:50:02 -0700