was before is

执行kubeadm 出现 FATAL: the ConfigMap "kubeadm-config" in the kube-system namespace used for getting configuration information was not found

现象: [upgrade/config] Making sure the configuration is correct:[upgrade/config] Reading configuration from the cluster...[upgrade/config] FYI: You can ......

Being stupid is hard.

$n$ 个元素分成 $m$ 份,每份不能为空,在 $n - 1$ 个空中插入 $m - 1$ 个板子,方案数$C_{n - 1} ^ {m - 1}$。 为空则加上 $m$ 个元素来垫着,就转化为上一个,然后就是 $C_{m - n + 1} ^ {m - 1}$。所以为什么我之前不会插板?我是傻逼 ......
stupid Being hard is

python 解决Could not import the lzma module. Your installed Python is incomplete问题

python 安装好pandas后import报错 如下图: ![image](https://img2023.cnblogs.com/blog/2865005/202308/2865005-20230815114944834-59637183.png) >原因分析 在执行./configure和m ......
incomplete installed python import Python

[LeetCode] 2369. Check if There is a Valid Partition For The Array

You are given a 0-indexed integer array nums. You have to partition the array into one or more contiguous subarrays. We call a partition of the array  ......
Partition LeetCode Check Array There

local variable referenced before assignment

在函数内部更改全局变量就会出现此错误。 对于全局变量的修改 如果全局变量是int或者str,那么如果想要在函数中对函数变量进行修改,则需要先在函数内,声明其为global,再进行修改 如果是list或者dict则可以直接修改 摘选:https://blog.csdn.net/weixin_48419 ......
assignment referenced variable before local

使用swagger时出现Unable to infer base url. This is common when using dynamic servlet registra

在使用Swagger的时候访问地址后出现了错误,`http://localhost:8001/swagger-ui.html` 一直在弹窗提示,还取消不了 ![image-20230813164309945](https://img2023.cnblogs.com/blog/2446184/2023 ......
registra swagger dynamic servlet Unable

org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException

## 一、报错信息 org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.l ......

WARNING: Use of this script to execute namenode is deprecated. WARNING: Attempting to execute replacement "hdfs namenode" instead.问题的解决

# 问题描述 在我使用这个命令进行hdfs初始化时: ``` hadoop-daemon.sh start namenode ``` 爆出了这样的警告 # 问题解决 发现是这个命令现在已经有一点过时,需要换成这个命令才行: ``` hdfs namenode ``` ......
namenode WARNING execute quot replacement

python 判空 is None 和 if not None 对比

Thanks for comments. I have tested the perform between these: ``` import timeit def using_is_none(variable): return variable is None def using_if_not_ ......
None python not is if

The selected directory is not a validhome for Go SDK

安装IDE集成开发工具配置 IDE版本:goland-2020.2.3_Protable 错误:下边指定go的sdk错误解决 报“The selected directory is not a validhome for Go SDK”报错解决方法 出现这个错误的原因是 idea 的Go-plugi ......
directory validhome selected The SDK

kettle 调用ssl异常javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate

javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate 调用kettle发送邮件的时候 本地没问题 服务器报异常 查看很 ......

[SCTF2019]Who is he

## [SCTF2019]Who is he 打开文件夹发现是个unity程序,先运行下看 ![image-20230802105219027](https://img2023.cnblogs.com/blog/2957075/202308/2957075-20230802120529480-393 ......
SCTF 2019 Who is he

The MySQL server is running with the LOCK_WRITE_GROWTH option so it cannot execute this statement

然后百度 参考:The MySQL server is running with the LOCK_WRITE_GROWTH option so it cannot execute this statement_冰尘s1的博客-CSDN博客 mysql报错The MySQL server is ru ......

Python错误:This error originates from a subprocess, and is likely not a problem with pip.

问题描述: 最近把Python升级到了3.11,重新下载了一些模块,但下载安装pymssql的时候发生了如下报错: 解决办法: 原因分析:之前下载pymssql的时候是没有发生如上情况的,但当时用的Python版本是3.7、3.10,所以猜想是版本不兼容的问题。输入 pip install pyms ......
originates subprocess 错误 problem Python

WebMvcConfigurerAdapter is deprecated 两种解决方式 / 拦截器,静态资源映射,跨域

WebMvcConfigurerAdapter类被弃用后的两种选择 介绍 在本文中,将介绍将spring 4.xx(或者更低)版本升级到Spring 5.xx以及将Spring Boot 1.xx版本升级到Spring Boot 2.xx版本后会报的一个严重警告:“Warning:The type ......

使用:required="true"时,el-form 表单验证出现xxx is required

原来的代码: <el-row> <el-col :span=24> <el-form-item :required="true" label="产品图片:" prop="productPicList" ref="upload-element"> <file-upload ref="productPi ......
required quot 表单 el-form form

What is success?

What is success? A:We know success is a permenent topic. Everyone would like to be successful. what is success? Different people have different opinio ......
success What is

NOTE: mbedtls 2.28 is required for TLS support!

NOTE: mbedtls 2.28 is required for TLS support!" 这个提示表示您需要安装版本为 2.28 或更高版本的 mbedtls 库,以便为您正在构建或使用的软件启用 TLS(传输层安全)支持。TLS 用于在网络上建立安全通信,通常在 HTTPS 连接中使用。 ......
required mbedtls support NOTE 2.28

CUDA11.3编译pytorch2.0.1报错:error: ‘nvmlProcessInfo_v1_t’ was not declared in this scope

问题如题: CUDA11.3编译pytorch2.0.1报错:error: ‘nvmlProcessInfo_v1_t’ was not declared in this scope 解决方法参考: https://github.com/pytorch/pytorch/issues/100618 简 ......

sudo: a terminal is required to read the password; either use..... 问题解决方法

转载自:sudo: a terminal is required to read the password; either use ……问题解决方法_akaiziyou的博客-CSDN博客 问题 sudo: a terminal is required to read the password; e ......
required password terminal 方法 either

RuntimeError: DataLoader worker (pid 7978) is killed by signal: Aborted.

报错信息显示 pytorch 的 DataLoader 无法正确加载。 造成这个报错的原因不尽相同,但是猜测,大体上都是程序不知为何无法开启新的线程,导致线程被系统终止。当线程数设为 0 时正常(`num_worker`=0) 对于我来说,发现问题出现在**使用 vscode 调试 pytorch ......

大连人工智能计算平台——华为昇腾AI平台——高性能计算HPC的pytorch环境报错——torch.cuda.is_available()显示false——NVIDIA显卡驱动版本过低导致pytorch无法使用cuda

在使用这个HPC平台的时候发现了这么一个问题,那就是编译好的pytorch-cuda和anaconda官方安装的pytorch-cuda均不能调用cuda计算,这个现象十分的诡异,经过长时间的调查发现了问题所在——NVIDIA驱动版本过低。 给出该HPC的显卡驱动版本: ......

TypeError: fs.existsSync is not a function | import { ipcRenderer } from 'electron'

在electron的渲染进程中导包会发生TypeError: fs.existsSync is not a function node_modules/electron/index.js:6 ``` var pathFile = path.join(__dirname, 'path.txt') if ......

instance must be started before calling this method

解决方法 检查zk的连接数; 端口号; 数据库连接配置; zk的连接配置; 如果都没有问题,就重启容器。 ......
instance calling started before method

安装unity2022后启动工程提示“Unity is running as administrator.”

问题背景:如题,最近项目更新到unity2022.3.6f1版本,在部分机器发现会不停提示“Unity is running as administrator.” 解决方案: 同网上大多数方案雷同,采用调整uac安全级别来避免。 1.搜索栏直接搜控制面板,或者win+r键入control,打开控制面 ......
administrator running 工程 unity Unity

vue3 'alex' is defined but never used

解决方法 在package.json中的rules下加入 "no-unused-vars":"off" 即可 ......
defined never vue3 39 alex

You are using the runtime-only build of Vue where the template compiler is not available ,页面自定义带template内容的组件无法渲染,控制台报错

使用vue-cli搭建的项目,页面自定义带template内容的组件无法渲染,控制台报错,页面不展示组件内容,代码如下: <template> <div class="hello"> my-component:<my-component></my-component> </div> </templa ......
template 控制台 runtime-only 组件 the

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

【kruskal重构树,倍增】2021 ICPC Asia Shanghai - H. Life is a Game

# 【kruskal重构树,倍增】2021 ICPC Asia Shanghai - H. Life is a Game 题目链接:[Problem - H - Codeforces 问题 - H - Codeforces](https://codeforces.com/gym/103446/pro ......
Shanghai kruskal 2021 ICPC Asia