21-day learning challenge java IO flow

1. Character stream1.1 Why does a character stream appear [Understanding] Introduction to character streams Since it is not particularly convenient to operate Chinese with byte streams, Java provides character streams Character stream = byte stream + code table Chinese byte storage method When copying a text file with a byte stream, the te ...

Posted by Xander756 on Fri, 18 Nov 2022 08:18:01 +0300

Kafka source code - execute IO events

Execute IO events As mentioned above, the user's message records are converted into memory records and stored in the flight window, and the request information is put into the Kafka channel and passed through OP_WRITE event to wake up IO, where IO logic is started in IO rotation training The core logic of calling the poll method of Netw ...

Posted by Atanu on Mon, 14 Nov 2022 22:02:12 +0300

[Akka] Akka concurrent programming design

1 Overview Reprinted: Akka concurrent programming design 2. Responsive system design Akka is known to be a reactive platform, more specifically, it is part of the Typesafe reactive platform. The Reactive Manifesto contains 4 principles or design goals: agility, scalability, fault tolerance, and event-driven design. Sensitivity Applicatio ...

Posted by MBK on Sun, 13 Nov 2022 12:52:20 +0300

[The ninth week of embedded system basics]--embedded real-time operating system uc/OS

1.CubeMX build project 1.1 Configure RCC (open external clock), SYS (select debug interface) 1.2 Configure GPIO (PC13 is used to light up LED lights) 1.3 Configure USART1 (serial port output) 1.4 Save, generate project file Since the above steps are relatively simple and not shown, if you forget, you can refer to my other articles: ht ...

Posted by dunnsearch on Sun, 13 Nov 2022 12:09:00 +0300

Docker packaging front-end and back-end project image deployment documents

illustrate This time, 6 ports are used to do a front-end and back-end docker image deployment 8080,8081 are the ports of the two backend services 8082,8083 are the ports for the two front ends The project uses nginx as a proxy to solve the cross-domain problem caused by different front-end and back-end ports, because I use both the front-end ...

Posted by knight on Sat, 05 Nov 2022 03:38:32 +0300

[Java Rehabilitation Guide 09] Full Solution to Project Exercises--Housing Rental System

A comprehensive exercise based on a text interface, mainly used for concatenating and recalling knowledge points, which is relatively simple Design styles of each interface main menu =============Home Rental System Menu============ 1 Add new listings 2 Find a house 3 delete house information 4 Modify housing information 5 house l ...

Posted by released on Thu, 03 Nov 2022 18:22:36 +0300

Java-Gurobi study notes

I ran into an interesting problem recently, similar to the coloring problem. There are 24 grids that can be colored for us. There are three types of coloring, namely: yellow, blue, and red. The number of grids occupied by each color is different for each color, respectively, yellow occupies 1 2 squares for blue and 4 for red. In addition, we ...

Posted by blogfisher on Mon, 24 Oct 2022 10:06:27 +0300

Spring project autowiring & collection injection

1. Automatic configuration 1.1 What is dependency autowiring? The process that the IoC container automatically finds and injects into the bean according to the resources the bean depends on is called autowiring 1.2 What are the automatic assembly methods? By Type (Common)by nameBy construction methodAutowiring is not enabled 1.3 Prepare th ...

Posted by renu on Mon, 24 Oct 2022 08:38:13 +0300

Java uses tool classes to improve the efficiency of writing reports

The tool class and demo code repository in this article Why use java code to write reports For report data, in most cases, the method of writing sql is used to provide data sources for large screens/reports, but in some complex cases, it cannot be achieved by using only sql, or when it is difficult to achieve, it will be adopted to implement ...

Posted by patrickcurl on Sun, 23 Oct 2022 01:29:01 +0300

A Java-based Accounting Management System Completed by Computer

Code + paper download link: http://106.55.47.97/host-pictures/java.png Overview The Java accounting management system is mainly used for financial personnel to judge the development direction of the company from the accounts. For individuals and families, future consumption plans can be formulated through bookkeeping, so as to draw a clear ...

Posted by dotnotwhat on Sat, 22 Oct 2022 22:56:11 +0300