Application of MQTT communication protocol in Unity -- JS implementation

It has been studied in the industrial field for a long time. According to the requirements of digital twin, it is necessary to get through the network, from CLP to IOT to Dass to virtual factory (3D visualization). In order to get through the state of control and anti control, it is necessary to get through the network communication. For Unity ...

Posted by rhyspaterson on Thu, 09 Apr 2020 16:34:19 +0200

Flannel, CNI network plug-in of kubernetes

Operation and maintenance technology exchange group: 926402931, welcome to exchange. Catalog 1. Cluster architecture 1.1. Download software, decompress, and make soft link 1.2. Create directory 1.3. Copy certificate documents 1.4. Create configuration 1.5. Create startup script 1.6. Authorize and create log directory 1.7. Create supervisor c ...

Posted by frymaster on Mon, 06 Apr 2020 16:33:17 +0200

Linux file and directory management command base

1. Directory structure Everything starts from the root '/', which is the vertex of all directories 2. Relationship between partition and directory One by one correspondence between partition and directory in Windows Directories and partitions in Linux are separate. Different disks are represented by letters Different zones are represented by ...

Posted by jeevan_y21 on Mon, 06 Apr 2020 12:49:00 +0200

[Netty basic to entry] 1. Network programming IO mode BIO&NIO&AIO

IO model elaboration IO model is to use what kind of channel to send and receive data. Java supports three kinds of network programming IO modes: BIO, NIO, AIO BIO(Blocking IO) Synchronous blocking model, one client connection corresponds to one processing thread Disadvantages: 1. Read operation in IO code is blocking operation. If the c ...

Posted by digi24 on Mon, 06 Apr 2020 12:24:46 +0200

easyui's tabs are not displayed until they are fully rendered

If the initialization of tabs is written in good html, in the case of slow network speed, each tab page will be displayed before the tabs are rendered, and it looks like an ordinary div, with poor experience. There are two solutions: How to write the original tabs: <div class="easyui-layout" data-options="fit:true" id="costLayOut"> & ...

Posted by feifeifei on Mon, 06 Apr 2020 00:49:17 +0200

Improve the user experience and use java to process jpeg pictures into progressive pictures

JPEG files can be saved in two ways: Baseline JPEG (standard) and Progressive JPEG (progressive). The two formats have the same size and image data, and the extension is the same. The only difference is that they are displayed in different ways. 1. standard type This kind of image is scanned line by line. When the im ...

Posted by algy on Sat, 04 Apr 2020 19:09:03 +0200

Automatic switch of python wifi

demand At present, the network of a company's live broadcast is unstable, resulting in the live broadcast exception. The original solution is to manually find the exception, and then manually switch the network (4G hotspot), but it has a great impact on the business. The first solution is to upgrade the company's network (dif ...

Posted by mwalsh on Sat, 04 Apr 2020 18:05:14 +0200

CentOS 6.5 add nginx to system service

1. introduction After the installation of nginx source code, it will not be registered as system service by default, so you need to add system service script manually. Create a new nginx file in the / etc/init.d directory and change the permissions. 2. Create a new nginx file vim /etc/init.d/nginx Fill in the following (modify according ...

Posted by paul_20k on Sat, 04 Apr 2020 11:18:43 +0200

Step by step Android general framework (5)

At present, RecyclerView is used in more and more projects. In such a high-frequency use scenario, we should try to carry out secondary encapsulation, which will reduce our large amount of code. Demonstration: new anonymous internal method: rl_list.setAdapter(new BaseAdapter<String>(mContext, list, R ...

Posted by pyro3k on Sat, 04 Apr 2020 06:55:02 +0200

Introduction to TensorFlow (1) correction of some small mistakes

Recently, in-depth learning, I borrowed the TensorFlow practical Google in-depth learning framework from the library and looked at it curtly. Recently, Bi set needs to find a PDF version on the Internet and chew it carefully. I found that there are some errors in the code of this book, which need to be slightly modified. Otherwise, ...

Posted by deveed on Fri, 03 Apr 2020 22:09:01 +0200