39 mount block error

k8s 部分节点 nodelocaldns [ERROR] Failed to read node-cache coreFile /etc/coredns/Corefile.base

部分K8S节点nodelocaldns CrashLoopBackOff状态报错,报错信息如下: # kubectl logs nodelocaldns-w9mgz -n kube-system 2023/08/07 03:18:33 [INFO] Using Corefile /etc/cored ......

FileNotFoundError: Could not find module 'xxx.dll'. Try using the full path with constructor syntax. 调用ctypes库中dll报错问题解决、以及winerr 126找不到指定模块

首先看看报错信息 我的python版本是3.8版本,试了网上加各种办法后 发现不行。 然后怀疑是系统本身的问题,就下载了visual studio ,用其中的dumpbin 一查,发现果然少了一个dll文件。 详细步骤: 1.下载并安装visual studio 2.找到开发者命令工具,并打开 3. ......

無法將檔案 "obj\Debug\xxx.exe" 複製到 "bin\Debug\xxx.exe"。由於另一個處理序正在使用檔案 'bin\Debug\xxx.exe',所以無法存取該檔案

解决方案: 暂时不清楚为什么关闭debug后再次发起debug会出现这种情况,但是这种方法可解决上述错误 ......
quot Debug exe xxx bin

Ceres简单应用-求解(Powell's Function)鲍威尔函数最小值

# Ceres 求解 Powell’s function 的最小化 $\quad$现在考虑一个稍微复杂一点的例子—鲍威尔函数的最小化。 $\quad{}$ $x=[x_1,x_2,x_3,x_4]$ 并且 $$ \begin{array}{l} f_{1}(x)=x_{1}+10 x_{2} \\ ......
函数 Function Powell Ceres 39

AttributeError: 'RelatedManager' object has no attribute 'name'的解决办法

## 原因 1. 关联的表中没有查询对象关联的数据; 2. 注意关联的数据是多条还是单条。 ## 解决办法 1. 给查询对象关联的表中增加该对象关联的数据; 2. 单条直接`.name`(点用法),多条先`.all()`再逐条`.name` ......

mysql突然断电,无法启动问题, redo log 无法恢复 mysqld启动不了 Plugin 'InnoDB' init function returned error 找到redo log 删除或是备份 再重启尝试修复

环境:CentOS 7.x、MySQL 5.7 其实造成这种问题的原因有很多种,但是不管是什么问题,最终的原因一般是 redo log 造成的问题。 为什么说是 redo log 造成的呢,因为 redo log 对应的文件就是两个 ib_logfile 开头的文件:ib_logfile0、ib_l ......
redo 备份 log function returned

vue ssr express.js 报错:TypeError: Cannot read properties of null (reading 'records')

在vue ssr时,java后端返回的对象是内嵌对象的那种: package com.davidhu.shopguide.api.bean.extend; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; impor ......
properties TypeError express reading records

error: ‘strdup’ was not declared in this scope; did you mean ‘StrDup’ fileno

{ https://news.68idc.cn/buildlang/20150627387345.html } { 函数名: strdup; 功能: 将串拷贝到新建的位置处; 用法: char *strdup(char *str); strdup属于GNU C++的函数, 不是标准(std)C++的 ......
declared StrDup strdup fileno error

error log1

error log1 # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f6dfd313cb0, pid=47650, tid=47655 # # JRE ......
error log1 log

Vue 报错error:0308010C:digital envelope routines::unsupported

package.json增加配置 "scripts": { "serve": "set NODE_OPTIONS openssl-legacy-provider && vue-cli-service serve", "build": "vue-cli-service build" }, 原文链接:h ......

Vite build errors All In One

# Vite build errors All In One 1. 默认入口文件 `index.html` > Could not resolve entry module "index.html". error during build: RollupError: Could not resolv ......
errors build Vite All One

Codeforces Global Round 24 D. Doremy's Pegging Game

首先我们可以假设最后一个删除的peg编号是x,那么可以发现每个编号结尾的方案数是一样的,可以只专注计算最后删1号peg的方案数,然后乘一下就好 然对于1来说,我们需要找到一个(x, y) 的组合,x和y之间允许剩pegs,但是1到x,以及y到1之间的pegs都被移除,这个状态在此时依然没有触碰blu ......
Codeforces Pegging Global Doremy Round

P5029 T'ill It's Over

> 一个序列 $d\{n\} = \{1\}$,有 $m$ 种操作,每种操作都有一个操作次数的最大限制,且可以分为 $4$ 类: 1. 将任意一个满足 $d_i = a$ 的 $d_i$ 改为 $b$; 2. 将任意一个满足 $d_i \in [a1, a2]$ 的 $d_i$ 改为 $b$; 3. ......
P5029 5029 39 Over ill

Exercise: Errors

Go的接口+Error使用练习,正好里面还引入了一个小知识点,不要在Error()实现里面用Sprint一个实现了Error()的类型,因为Sprint里面会调用类型的Error(),无限循环。主要代码如下: 1 type ErrNegativeSqrt float64 2 3 func (e Er ......
Exercise Errors

新的 Anaconda Web UI 安装程序可能会随 Fedora 工作站 39 一同推出

导读 新的 Anaconda Web UI 安装程序可能会随 Fedora 工作站 39 一同推出。 长期以来,Fedora 的安装体验一直未曾改变。 然而,这个新的 Web UI 安装程序已经开发了一年多的时间,现在离正式实现的目标更近了。 为什么现在是时候了? 在我们上次 了解 即将到来的 An ......
工作站 Anaconda 程序 Fedora Web

JAVA执行Linux命令报错Cannot run program error=2 , No such file or directory

JAVA执行Linux命令报错Cannot run program error=2 , No such file or directory 酒香不怕巷深 IP属地: 河北 2019.04.22 14:00:00字数 411阅读 6,648 JAVA使用ProcessBuilder运行Linux命令报 ......
directory 命令 program Cannot Linux

P9369 [ICPC2022 Xi'an R] Tree

我们可以发现每个点集要么是一个链,要么是不同子树中的许多点。 那么显然,如果我们想要取一个链作为集合,那么只有把这个链一直取到叶子才是最优的。 那么我们考虑把这棵树做长链剖分,假设我们得到了 p 条长链,每条长链的长度为 lp_i。 假设我们一开始全都用第二类集合来划分,那么答案显然是整棵树最大的深 ......
P9369 9369 2022 ICPC Tree

【Azure K8S|AKS】进入AKS的POD中查看文件,例如PVC Volume Mounts使用情况

问题描述 在昨天的文章中,创建了 Disk + PV + PVC + POD 方案(https://www.cnblogs.com/lulight/p/17604441.html),那么如何进入到POD之中去查看文件呢? 如PVC Volume Mounts中文件? 问题解答 第一步:进入POD内部 ......
AKS 情况 文件 Mounts Volume

[maven]java.lang.NoSuchMethodError: org.apache.maven.model.validation.DefaultModelValidator: method 'void <init>()' not found

# Maven异常 #### 环境 idea版本: 2020.1.3 maven版本: 3.8.5 #### 问题描述 在idea中加入maven配置时,idea一直报出java.lang.NoSuchMethodError: org.apache.maven.model.validation.De ......

安全学习之路Day39

![](https://img2023.cnblogs.com/blog/3073714/202308/3073714-20230804165747072-317927668.png) ![](https://img2023.cnblogs.com/blog/3073714/202308/30737 ......
Day 39

#轮廓线dp#HDU 1400 Mondriaan's Dream

[题目传送门](https://acm.hdu.edu.cn/showproblem.php?pid=1400) # 分析 状压dp会TLE,考虑用轮廓线dp, 设 $dp[i][j][S]$ 表示现在处理到 $(i,j)$ 这个位置轮廓线上状态为 $S$ 的情况 二进制位为1表示左边或者上方有骨牌 ......
轮廓 Mondriaan Dream 1400 HDU

「GYM103470G」Paimon's Tree

树上区间dp。 由于dp转移跟左右端点有关,考虑怎样转移端点。 左右端点只有被染色了才能被转移,那就多记个两维,表示左右端点是否已经被染色就好了。 $dp_{u,v,t,0/1,0/1}$ 表示左右端点 $u$,$v$ 当前已经染了 $t$ 个点,左右端点染色四种情况的路径长度。 ```cpp #i ......
103470G 103470 Paimon Tree GYM

mongodb 连接后报错 error: MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017

error: MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017这个错误通常表示 MongoDB 服务器没有启动或者无法连接到 MongoDB 服务器。请确保你已经启动了 MongoDB 服务器,并且检查你的连接字符串是否正确。你可以尝试使 ......

POJ 1041 John's trip

## [$POJ$ $1041$ $John's$ $trip$](http://poj.org/problem?id=1041) ### 一、题目大意 多组数据,输入$x,y,z$,表示结点$x$和结点$y$之间有一条序号为$z$的边,如果这个 **无向图** 中存在欧拉回路,就 **输出字典序最 ......
1041 John trip POJ 39

Uncaught SyntaxError: Identifier 'originalPrompt' has already been declared

![](https://img2023.cnblogs.com/blog/1232210/202308/1232210-20230804102520004-1269016387.png) 控制台报错: Uncaught SyntaxError: Identifier 'originalPrompt' ......

Don't be clever

![](https://img2023.cnblogs.com/blog/474029/202308/474029-20230803214759188-444633570.png) ![](https://img2023.cnblogs.com/blog/474029/202308/474029-2 ......
clever Don 39 be

[async]子线程内开启协程 RuntimeError: There is no current event loop in thread 'Thread-2'

在子线程内直接获取事件循环会报错:RuntimeError: There is no current event loop in thread 'Thread-2',此时的代码为: loop = asyncio.get_event_loop()loop.run_until_complete(协程函数 ......
线程 RuntimeError current Thread thread

pip安装error:There was a problem confirming the ssl certificate

``` Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=44 ......
certificate confirming problem error There

Vue3+ setup语法中报错 'defineProps' is not defined(eslint[no-undef])

## 1. 问题 ### 1.1 场景 使用**Vue3 + setup**语法,使用`defineProps`时出现Eslint错误: ![](https://img2023.cnblogs.com/blog/2240374/202308/2240374-20230803101840773-197 ......
中报 defineProps 语法 no-undef defined