How to Install MySQL on CentOS 7

1. Download the Installation Package sudo wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm 2. Start Installation sudo yum -y install mysql57-community-release-el7-10.noarch.rpm 3. Install the Server sudo yum -y install mysql-community-server If the above error occurs during installation (errors may vary depending on the environment), please refer to the following solutions: Error 1 Error: Package: akonadi-mysql-1.9.2-4.el7.x86_64 (@anaconda) requires: mariadb-server Removing: 1:mariadb-server-5.5.68-1.el7.x86_64 (@anaconda) mariadb-server = 1:5.5.68-1.el7 Obsoleted By: mysql-community-server-5.7.41-1.el7.x86_64 (mysql57-community) Not found You could try using --skip-broken to work around the problem ...

March 22, 2026 · 3 min · 541 words · siyou · 
MySQL

OsgEarth Library Compilation Tutorial

前言 基于现有研发需求,查阅相关资料并实地验证编译方法可行性,遂以本教程记录技术实施过程,本教程目的是为编译Windows x64环境下进行地图引擎库的开发,适用于QT + VisualStudio的IDE集成开发环境。 ...

March 3, 2026 · 16 min · 7758 words · siyou · 
Earth

Open Source Algorithm Library (Link)

Recently, I’ve been doing research in algorithms and found it difficult to locate a comprehensive and high-quality scientific computing algorithm library. However, I did find a few, which I’m recording here for future reference. I might even write my own someday to integrate all of these. Library Name Link Status Description GSL http://www.gnu.org/software/gsl/ ✅ Valid The GNU Scientific Library, a fairly comprehensive resource. It includes commonly used special mathematical functions, random distributions, differentiation and integration, least-squares fitting, root-finding, and optimization. However, it has some shortcomings; for example, its optimization module lacks genetic algorithms and particle swarm optimization, and its integration performance is inferior to the Cuba library mentioned below. dlib http://dlib.net/ ✅ Valid An algorithm library primarily serving deep learning, containing deep-learning-related optimization algorithms and some image processing tools, mainly to support deep learning implementations. Cuba https://feynarts.de/cuba/ ✅ Valid A library offering four integration methods, including three Monte Carlo integration techniques and one deterministic integration method. These methods outperform the Monte Carlo integrators provided by GSL. GAlib http://web.mit.edu/galib/www/GAlib.html ✅ Valid A genetic algorithm library that includes four types of genetic algorithms. MRPT https://www.mrpt.org/ ✅ Valid A robotics programming library, primarily featuring algorithms for robot localization, computer vision, image processing, and motion planning. KFilter http://kalman.sourceforge.net/ ✅ Valid An open-source algorithm library for Kalman filters. C++ Wavelet Libraries http://wavelet2d.sourceforge.net/ ✅ Valid A wavelet transform algorithm library. libfgen https://sourceforge.net/projects/libfgen/ ✅ Valid A genetic algorithm library that also includes a particle swarm optimization algorithm. libGeneiAL http://www.geneial.org/ ✅ Valid An open-source genetic algorithm library. FFTW http://www.fftw.org/ ✅ Valid A library for the Discrete Fourier Transform, supporting complex numbers and multi-dimensional transforms. Matrix Template Library (MTL) https://github.com/simunova/mtl4 ✅ Valid A basic linear algebra library, similar to BLAS or LAPACK. Eigen https://eigen.tuxfamily.org/index.php?title=Main_Page ✅ Valid A linear algebra and related algorithms library, similar to MTL. Boost https://www.boost.org/ ✅ Valid Boost is actually a collection of libraries akin to the C++ standard library, which also includes libraries relevant to scientific computing, such as Math, Odeint, and uBLAS. OpenCV https://opencv.org/ ✅ Valid A computer vision library containing many machine vision algorithms and underlying matrix operations, such as image comparison and edge detection. Ceres http://ceres-solver.org/ ✅ Valid A Google C++ library for solving large-scale optimization problems, designed for constrained non-linear least squares problems and general unconstrained optimization. NLopt https://nlopt.readthedocs.io ✅ Valid An open-source library for nonlinear optimization. Ipopt https://coin-or.github.io/Ipopt/ ✅ Valid A very powerful open-source interior-point method optimization library capable of quickly solving constrained nonlinear optimization problems. cernlib https://cernlib.web.cern.ch/cernlib/ ✅ Valid A suite of scientific computing libraries developed by CERN for physics research, covering mathematics, data analysis, detector simulation, data processing, and more. It is quite comprehensive. This list will be updated periodically and irregularly.

March 2, 2026 · 3 min · 444 words · siyou · 
Eigen Doctor

Tutorial on Configuring Code Formatting in Qt Creator

Preface Code style is not just about aesthetics; it is a crucial component of code quality. A good code style enhances readability and reduces the likelihood of errors, thereby improving the overall quality of the software. Specifically, a consistent code style helps in the following ways: Improved Readability: Consistent formatting rules make the code easier for other developers to understand, which is especially important in collaborative projects. Reduced Errors: Standardized code style can prevent common programming mistakes, such as mismatched brackets, thus increasing code stability. Enhanced Team Collaboration: When team members adhere to the same code style, the code review process becomes more efficient. It minimizes communication barriers caused by stylistic differences, leading to smoother and more harmonious teamwork. In summary, using a third-party plugin to unify code style not only improves code quality but also strengthens team cohesion and facilitates the smooth progress of a project. ...

February 24, 2026 · 2 min · 418 words · siyou · 
Configuring the astyle plugin in Qt