EMT4J – Java version migration detection tool

Recently, I have studied emt4j due to work needs, and I will write an article to record it here. Non-professional Java er, if you have different opinions, please share them in the comment area. Table of Contents What is EMT4J? how to use? Command-line Java Agent Simple source code analysis Directory analysis Rule analysis References […]

Django migration file computer cannot access mysql on the virtual machine [django.db.utils.OperationalError: (2003, “Can’t connect to MySQL server …

(env) D:\python_learn\meiduo_project\meiduo_mall>python manage.py makemigrations Traceback (most recent call last): File “manage.py”, line 22, in execute_from_command_line(sys.argv) File “D:\python_learn\meiduo_project\env\lib\site-packages\django\core\management\__init__.py”, line 401, in execute_from_command_line utility.execute() File “D:\python_learn\meiduo_project\env\lib\site-packages\django\core\management\__init__.py”, line 377, in execute django.setup() File “D:\python_learn\meiduo_project\env\lib\site-packages\django\__init__.py”, line 24, in setup apps.populate(settings.INSTALLED_APPS) File “D:\python_learn\meiduo_project\env\lib\site-packages\django\apps\registry.py”, line 114, in populate app_config.import_models() File “D:\python_learn\meiduo_project\env\lib\site-packages\django\apps\config.py”, line 211, in import_models self.models_module = import_module(models_module_name) File “D:\Python\Python38\lib\importlib\__init__.py”, line […]

022-Third generation software development-QCustomPlot core migration

Third generation software development-QCustomPlot core migration Article directory Third generation software development-QCustomPlot core migration Project Introduction Let’s talk about GitHub Copilot first. QCustomPlot core migration QQuickPaintedItem XXX_QCustomChart Keywords: Qt、 Qml、 QCustomPlot、 GitHub Copilo、 Keyword 5 Project introduction Welcome to our QML & C++ project! This project combines the power of QML (Qt Meta-Object Language) and […]

Gitlab upgrade, data migration

Since the Gitlab version used is relatively old, we plan to upgrade and migrate to a new server. Upgraded from 11.7.0 to version 16.4.1. 1. Upgrade 1.1 Determine the upgrade path Gitlab upgrade cannot span major versions, and should be operated according to the official upgrade path. I installed Gitlab through docker, so only the […]

Hand in hand with Mybatis-Plus data migration to TDSQL

Environment introduction technology stack springboot + mybatis-plus + druid + baomidou + mysql + oracle software Version mysql 8 IDEA IntelliJ IDEA 2022.2.1 JDK 1.8 Spring Boot 2.7.13 mybatis 2.3.1 Navicat test connection TDSQL Enable access to external network IDEA environment construction pom.xml required dependencies <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.5.3.2</version> </dependency> […]

Offline reasoning project migrated to mindspore (3) – code migration

Offline reasoning project migrated to mindspore (3) – code migration Links: Previous article: Offline inference project migrated to mindspore (2) – model loading 5 Code migration In the previous article, the model migration part has been completed. Of course, the entire migration project is not over yet. This article mainly focuses on migrating the code […]

Wagtail project multi-environment migrations management solution

Wagtail project multi-environment migrations management solution 1. Introduction to project framework background Wagtail is a CMS application framework developed based on Django. Its data interaction relies on the Django ORM method, which requires developers to make database changes take effect through the makemigrations and migrate instructions in sequence every time a database change occurs. The […]

Chrome Extensions v3 migration checklist

1. Prerequisite questions 1.1 Why do you need to migrate v3? Chrome plans to completely stop maintaining the v2 version. Subsequent v2 versions will not be available on the Google plug-in store. In addition, new versions of Chrome will have increasing restrictions on v2 version plug-ins in the future. For example, security restrictions restrict iframe […]

The practice of auto-incrementing primary keys in MySQL migration to Oracle scenarios

This article verifies and summarizes two methods of implementing auto-incrementing primary keys in OB Oracle. Author: Zhao Liming, a member of the MySQL DBA team of Aikesheng. He is familiar with databases such as Oracle and MySQL. He is good at diagnosing database performance problems and analyzing transaction and lock problems. He is responsible for […]