Solution to unexpected termination of 0X1A in reading file

In the integrated development environment of Windows (Qt, VC, VS all have this problem), write the C/C + + program about file reading. When it reads 0X1A, it ends unexpectedly. After debugging and checking, it is found that 0X1A is processed as 0XFF (EOF (- 1)) after reading, but there is no such problem of parsing erro ...

Posted by silas101 on Mon, 30 Mar 2020 22:14:17 -0700

PyQt5 Case Summary (Full Version)

start PyQt5 Is a set of application frameworks bound to Qt5.He is available in Python 2.x and 3.x.This tutorial uses Python 3.x. The Qt library is the most useful set of GUI libraries. PyQt5 is implemented as a set of Python modules.He has more than 620 classes and 6000 functions and methods.He is a multiplatform component running on all major ...

Posted by webdogjcn on Fri, 27 Mar 2020 02:08:13 -0700

04 use docker container

Docker container docker container is another core concept. Container is a running instance of image. The difference is that the image is a static read-only file, the container has a writable layer required by the runtime, and the application process in the container is running.Virtual machine is to simulate a whole set of operating system. doc ...

Posted by plutoplanet on Sat, 07 Mar 2020 00:32:51 -0800

Foster RCNN trains its own dataset - build a python environment

1, Anoconda building environment name: Foster 1.1 build a virtual environment Create a virtual environment called foster, in which all future operations will be performed. This can avoid mutual interference between different versions of python or frameworks. python = allows you to specify the version ...

Posted by qadeer_ahmad on Fri, 28 Feb 2020 03:14:20 -0800

Using TMPFS to speed up websites

Preparation 1. Backup the nginx root directory 2. View system version $ cat /etc/issue Ubuntu 18.04.4 LTS \n \l step 1. Create a directory, such as / ramdisk, and then use the tmpfs command to mount part of the memory as a hard disk mount -t tmpfs -o size=256M tmpfs /ramdisk Here, I mount the maxi ...

Posted by eideticmnemonic on Thu, 27 Feb 2020 18:23:27 -0800

The most detailed Ubuntu 18 configuration Px4 ﹣ ROS ﹣ gazebo simulation

This tutorial will install ros, px4 toolchain, and gazebo simulation environment in Ubuntu 18 Refer to this tutorial to install ros, px4 toolchain, and gazebo simulation environment in Ubuntu 16 First of all, let's take a look at the corresponding gazebo relationship of Ubuntu versions. Gazebo 9.0 has b ...

Posted by gloveny on Wed, 26 Feb 2020 22:03:03 -0800

Ubuntu 18 replace software source

In Centos/RHEL system, the file to configure the yum warehouse is the. Repo file under the directory / etc/yum.repo.d /. In Ubuntu system, it is the / etc/apt/sources.list file The first element of configuring system files is to back up files. Generally, system files are kb level files, which don't oc ...

Posted by iPixel on Tue, 11 Feb 2020 07:46:19 -0800

The Process of Mingo linux Kernel

process Processes are also called tasks in linux. For user space, a process is an instance of program execution.A process can be compared to a human individual: there is only one parent process and there can be multiple child processes; there are more or less valid lives; it takes on certain functi ...

Posted by parthatel on Mon, 10 Feb 2020 21:10:26 -0800

Android source compilation

Android source compilation Before compiling the source code, you need to do some preparation operations. The detailed steps are as follows: 1. Install JDK. Google requires JDK 1.8 to compile the latest version of source code 1) . download JDK1.6 at: http://download.oracle.com/otn/java/jdk/6u45-b06/jdk-6u45-linux-x64.b ...

Posted by joeywoodbury on Sun, 09 Feb 2020 08:49:09 -0800

Total s panoramic camera of ubuntu system is transformed by ROS image

Total s panoramic camera of ubuntu system is transformed by ROS image Following a blog post, after the Theta S camera was connected to the ROS system, the image matrix was published on the / image_raw topic. Let's start the file libuvc_camera.launch in the previous blog. At this time, the image has be ...

Posted by Jove on Sat, 08 Feb 2020 00:36:02 -0800