Euler angles (roll angle, pitch angle, yaw angle), rotation matrix, quaternion conversion and solution to universal joint deadlock

1. Overview The description method of the pose (position and direction) of an object is generally represented by two coordinate systems. One is the world coordinate system or the ground coordinate system. Here I call it the ground coordinate system, which belongs to the reference coordinate system; the other is its own Coordinate system, it […]

Java’s IO/NIO/OKIO

BIO = blockingio AIO = Asynchronous IO Read from memory to write–output From external to memory — input OutputStream //The file will be automatically created if it does not exist. try { OutputStream outputStream = new FileOutputStream(“text.txt”); outputStream.write(‘a’); outputStream.write(‘b’); } catch (IOException e) { throw new RuntimeException(e); } Reading and writing actually open up space […]

(C++17) Variant usage compared with union

Article directory Preface and requirements union memory map C++11 union use ref example structure Ordinary structure Blanking emplace monostate access std::get std::holds_alternative Get pointer std::get_if Get the optional number std::variant_size END Foreword and requirements Union is a concept that has existed since the C language era. Mainly used in some scenarios with large memory limitations. […]

Kylin KYLINIOS software warehouse construction 03-add new version of software package to software warehouse

Original link: Kylin KYLINIOS software warehouse construction 03-adding new version of software package to software warehouse Hello, everyone, today I bring you article 03 on how to build a software warehouse for the Kirin desktop operating system – adding a new version of the software package to the software warehouse. This article mainly introduces how […]

Minio distributed cluster deployment (4 nodes 4 clusters)

Minio distributed cluster deployment (4 nodes 4 clusters) Centos7.6 Minio Minio distributed cluster deployment (4 nodes 4 clusters) 1.Environment preparation 2-Add new disk and mount it 3. Install minio cluster 4. Configure systemctl system service 5. Login page testing 1. Environment preparation 4 servers with multiple hard drives Node data directory (cannot be under /root) […]

What is the difference between BIO, NIO and AIO?

BIO, NIO, and AIO are all I/O models in Java. Their main differences and simple demos are described below. BIO (Blocking I/O) BIO is Java’s earliest I/O model, also known as synchronous blocking I/O. In BIO, each I/O operation blocks the current thread and does not continue executing the next statement until the operation is […]

Minio file upload

In today’s digital age, data storage has become a crucial task. As your business grows and data increases, it becomes increasingly important to choose a storage solution that is efficient, reliable, and easy to manage. Minio is an open source cloud storage tool with powerful functions and scalability, providing enterprises with reliable storage solutions. 1. […]

Why does Java NIO cause off-heap memory OOM?

Why does Java NIO cause off-heap memory OOM? Description One day, an alarm was issued: a service deployed on a certain machine was suddenly inaccessible. Remember to log in to the machine and check the logs as the first reaction, because the service is down, most likely due to OOM. At this time, the following […]