configure for packages distro

mysql报错ERROR 1062 (23000): Duplicate entry '0' for key 'PRIMARY'

创建表语句: ```sql CREATE TABLE `mytable` ( `id` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT, `col` varchar(50) NOT NULL DEFAULT '未知', `col1` int(11) NOT N ......
39 Duplicate PRIMARY mysql ERROR

Vue(十二):列表渲染—— v-for

1.基础使用 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>基本列表</title> <script type="text/javascript" src="../js/vue.js"></script> </head> <! ......
v-for Vue for

nvm for windows

[TOC] # nvm for windows 基础设置 ## 淘宝镜像 > nvm npm_mirror https://npmmirror.com/mirrors/npm/ > nvm node_mirror https://npmmirror.com/mirrors/node/ ## 默认安装 ......
windows nvm for

KingbaseES数据库导入数据invalid byte sequence for encoding

## 一、适用版本: KingbaseES数据库所有版本。 ## 二、问题现象: 使用备份的数据进行还原,还原过程中发生异常。 日志信息: ``` sys_restore: connecting to database for restore sys_restore: creating TABLE ......
数据 KingbaseES encoding sequence invalid

VMware:Package vim is not available, but is referred to by another package.

出错语句 在ubuntu中输入sudo apt-get install vim安装vim时出现如下错误语句 Reading package lists... Done Building dependency tree Reading state information... Done Package ......
available referred Package another package

Educational Codeforces Round 151 (Rated for Div. 2) D. Rating System

贪心 由题可得,对于k的选择一定是单调递增的,对于前面选定的k后面选的k必须大于之前选的才会发生新的变化,因此k的选择其实是一个单调栈,由前缀和组成 我们要想最后的结果最大,则k值一定要尽可能的高,例如当选中i为k值时,如果从i后面某个原本的前缀和要大于选k之后所得到的前缀和的话,说明k不是最优的 ......
Educational Codeforces Rating System Round

ML-for-AGV-Dispatching:Center.py逐段解读

class Center(object): def __init__(self, env, x, y, routRule, AGV_num, WS_num, AGV_disRuleV, AGV_disRuleW, Ledispatch = "None", Task = ["None", "None" ......

ML-for-AGV-Dispatching:run.py解读

import simpy from ShopFloor import Center import Learn as Le import numpy as np import pandas as pd import pickle import time Task = "None" #TestD, Te ......

ML-for-AGV-Dispatching:Learn.py逐段解读

import numpy as np import Routing import random as rd import tensorflow as tf import matplotlib.pyplot as plt import pandas as pd from sklearn import ......

ML-for-AGV-Dispatching:Dispatcher.py逐段解读

from ShopFloor import Vehicle, Job from Routing import ShortestPath as sp def VID(Controller, Vehicle, rule, routRule, Parameter): if Controller.job_n ......

ML-for-AGV-Dispatching:ShopFloor.py逐段解读

import simpy from Routing import ShortestPath as sp import tkinter as tk import Dispatcher as dp import numpy as np import Learn as Le import copy imp ......

ML-for-AGV-Dispatching:Routing.py逐段解读

# -*- coding: utf-8 -*- """ Created on Mon Nov 20 10:55:40 2017 @author: CIMlab徐孟維 """ ''' Alpha = 0.06 Beta = 0.03 Gamma = 0.01 Dist1 = 3 Dist2 = 7 ' ......

Python 引用问题 - ImportError: attempted relative import with no known parent package

## 问题描述 近日在尝试引用其他文件的代码时,遇到了错误: _ImportError: attempted relative import with no known parent package_. 问题大致是这样的:我想在 `code2.py` 中引用 `code1.py` 的函数,如 `fr ......

ML-for-Dispatching-Module解释

home unet View code on Github # U-Net This is an implementation of the U-Net model from the paper, U-Net: Convolutional Networks for Biomedical Image ......

Educational Codeforces Round 151 (Rated for Div. 2) C. Strong Password

题目翻译,给定t组数据,每组数据包含一个字符串s,两个长度为m的字符串l和r,要求判断是否存在一个长度为m的字符串res,满足l[i]<=res[i]<=r[i](i->0~m)且不是s的子序列 贪心 首先对于所有满足l<res<r的字符串,我们只需判断是否存在一个字符串不是子序列即可,那么我们让r ......
Educational Codeforces Password Strong Round

Grep for multiple patterns

The syntax is: Use extended regular expressions: grep -E 'pattern1|pattern2' *.py Try on older Unix shells/oses: grep -e pattern1 -e pattern2 *.pl Ano ......
multiple patterns Grep for

mac M2 多个 docker环境 colim 、docker for mac 、orbstack

#### 三个环境存在是会让 docker 命令混乱 #### colim * 真实的路径 ``` /opt/homebrew/bin/docker -> /opt/homebrew/Cellar/docker/24.0.2/bin/docker ``` * docker.sock ``` ~/.c ......
docker mac orbstack 多个 环境

Aras 入门笔记 - 可配置用户界面(Configurable User Interface)

Configurable User InterfaceCUI模型可配置用户界面 (CUI) 是 Aras 中的一种建模机制,它允许管理员定义客户端应用程序的布局(layout)和行为(behavior)。CUI 在 Aras11 的早期服务包中引入,最初旨在用于建模工具栏(toolbars)、菜单( ......

ubuntu pip is configured with locations that require TLS/SSL

使用 pip 时 出现 pip is configured with locations that require TLS/SSL 是因为在编译时候没有加上开启 SSL 的参数,现在大部分的网络链接为了安全,都开启了 SSL 加密,常见的有 HTTPS 。 加上 --with-openssl=/us ......
configured locations require ubuntu that

Oracle RAC 19.14 for linux 7.9 基于VSAN平台搭建

Oracle RAC 19.14 for linux 7.9 基于VSAN平台搭建一、虚拟机准备:1、vSAN内针对Oracle RAC的磁盘规划 2、开启虚机UUID参数在虚机“编辑设置”->“虚拟机选项”->高级->配置参数的“编辑配置”->添加以下信息:名称:disk.EnableUUID 值 ......
Oracle 19.14 linux 平台 VSAN

linux系统报错:系统自己弹出诸如 kernel:NMI watchdog: BUG: soft lockup - CPU#2 stuck for 26s [mysqld:2875]

1、 https://blog.csdn.net/weixin_41752389/article/details/120777145 内核软死锁(soft lockup)Soft lockup:这个bug没有让系统彻底死机,但是若干个进程(或者kernel thread)被锁死在了某个状态(一般在内 ......
系统 watchdog kernel lockup mysqld

apple sicion M2 mac docekr for mac 使用 x86-64 amd64

#### 使用环境变量 指定 docker for mac 适用 Rosetta * DOCKER_DEFAULT_PLATFORM=linux/amd64 * 指定后 docker for mac 使用 Rosetta2 ``` version: '3' services: mule-applic ......
mac sicion docekr apple 64

麒麟V10服务器安装MySQL报错file /etc/my.cnf from install of mysql-community-server-8.0.33-1.el7.x86_64 conflicts with file from package mariadb-common-3:10.3.9-9.p02.ky10.x86_64

1.问题描述 具体地说,"/etc/my.cnf" 文件与 "mysql-community-server-8.0.33-1.el7.x86_64" 包中的文件发生冲突,并与 "mariadb-common-3:10.3.9-9.p02.ky10.x86_64" 包中的文件相冲突。 这种冲突是由于系 ......

Multi-Modal Attention Network Learning for Semantic Source Code Retrieval 解读

# Multi-Modal Attention Network Learning for Semantic Source Code Retrieva Multi-Modal Attention Network Learning for Semantic Source Code Retrieval,题 ......

Why is 127.0.0.1 used for localhost?

Why is 127.0.0.1 used for localhost? Does anyone know why that number was chosen? Although it’s not documented anywhere (at least as far as I know), b ......
localhost used Why 127 for

CentOS grub引导损坏 Minimal BASH-like line editing is supported.For the first word.TAB lists possible command completions.Anywhere else TAB lists possible deyice or file completions.

这是 GRUB boot loader 的命令行提示。它可能出现在以下情况中: 系统没有正确引导 启动项配置不正确 硬盘分区有问题 GRUB 配置有误等 为了解决这个问题,你需要做的是恢复 GRUB。以下是一般步骤,适用于大多数 Linux 发行版(如 Ubuntu): 启动 Live CD - 首 ......
completions possible lists BASH-like TAB

Memory Augmented Graph Neural Networks for Sequential Recommendation

[TOC] > [Ma C., Ma L., Zhang Y., Sun J., Liu X. and Coates M. Memory augmented graph neural networks for sequential recommendation. AAAI, 2021.](http: ......

chrome浏览器添加xff头插件-X-Forwarded-For Header

## 下面情况下使用的(管理员账号只允许本地登录!) ![image](https://img2023.cnblogs.com/blog/1867165/202307/1867165-20230707003901425-1197733837.png) ## [X-Forwarded-For Head ......

FOSTER:Feature Boosting and Compression for Class-Incremental Learning论文阅读笔记

## 摘要 先前的类增量学习方法要么难以在稳定性-可塑性之间取得较好的平衡,要么会带来较大的计算/存储开销。受gradient boosting的启发,作者提出了一种新型的两阶段学习范式FOSTER,以逐步适应目标模型和先前的集合模型之间的残差,使得该模型能够自适应地学习新的类别。具体来说,作者首先 ......

TFS workspace clean for Dynamics 365 for Finance and Operations

Product: Dynamics 365 for Finance and Operations Purpose: The purpose of this blog is to explain how can we resolve the version control workspace issu ......
Operations workspace for Dynamics Finance