certificate chain trust of
[LeetCode] 2300. Successful Pairs of Spells and Potions
You are given two positive integer arrays spells and potions, of length n and m respectively, where spells[i] represents the strength of the ith spell ......
文献阅读——Understanding the Role of Mixup in Knowledge Distillation: An Empirical Study
Hongjun Choi, Eun Som Jeon, Ankita Shukla, Pavan Turaga; Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), 2023 ......
nested exception is java.lang.IllegalStateException: org.apache.tomcat.util.http.fileupload.impl.FileSizeLimitExceededException: The field file exceeds its maximum permitted size of 1048576 bytes.
一、问题背景 利用springboot上传大文件 二、报错截图如下 2023-04-02 16:04:18,681 ERROR [http-nio-63050-exec-6][GlobalExceptionHandler.java:58] - 系统异常:Maximum upload size exc ......
【webpack】TypeError: Cannot read property 'tap' of undefined
前言 项目里使用webpack的代码混淆工具 webpack-obfuscator,当打包代码时,出现如下报错: TypeError: Cannot read property 'tap' of undefined 原因 项目的webpack版是4.x ,而 webpack-obfuscator 的 ......
ADS "is an instance of undefined model"仿真报错
前情提要 我遇到的问题如下所示: 原理图上直接拖了工艺库里的东西来搭,之后报错如下。 解决办法 我内网外网搜了很多,都说要加一个include的控件。但是他们举的例子几乎都是同一个,而且我用的这个工艺库也没有很明显的带有include字样的元件,而我的工艺是老师发给我的,不是网上可以下载到的,所以我 ......
How to find the "usbmodem" of Raspberry Pi Pico on macOS All In One
How to find the "usbmodem" of Raspberry Pi Pico on macOS All In One
/dev/tty.usbmodem0000000000001 not exist bug ❌
......
Codeforces Gym 103931F - Forest of Magic(时间轴分块+线段树合并)
一个巨烦的时间轴分块做法,有点类似于 P2137 Gty的妹子树 先考虑静态的情况。看上去就一脸线段树合并对吧?一次修改的操作对一个点 $x$ 贡献可以写成 $k·dep_x+b$ 的形式,开两棵线段树合并维护一次项和零次项系数即可。 由于静态问题可做,因此考虑时间轴分块。设阈值 $B$,每 $B$ ......
Mac 上启动nacos 出现异常java.lang.IllegalArgumentException: the length of secret key must great than or equal 32 bytes; And the secret key must be encoded by base64.
这个异常提示是因为 Nacos 的配置中加密相关的参数未正确填写所导致的。 我们只需要找到nacos/conf/application.properties文件,然后给nacos.core.auth.plugin.nacos.token.secret.key 这个属性配置一个大于32位的随机字符串即 ......
fontawesome-webfont.woff:1 Failed to load resource: the server responded with a status of 404 ()
fontawesome-webfont.woff2:1 Failed to load resource: the server responded with a status of 404 ()fontawesome-webfont.woff:1 Failed to load resource: t ......
Windows 10 专业版下推送docker镜像到harbor报错:x509: certificate relies on legacy Common Name field, use SANs instead
harbor是公司私有镜像仓库,在Windows 10 专业版上安装上docker DeskTop,客户端成功开启之后,就是推送镜像啦。 记得先登录, docker login --username=admin xxx.harbor.com:10443,这个不能忘记!! 在实际推送中遇到了几个问题, ......
报错:想用echarts但是报错Error in mounted hook: “TypeError: Cannot read properties of undefined (reading ‘init‘)“
解决方案: 1.版本问题,main.js文件中, 5.0以下版本写:import echarts from 'echarts ' 5.0以上版本写: import * as echarts from ‘echarts 都要写:Vue.prototype.$echarts = echarts 2.删掉 ......
Problem Z: The Future of the Olympics
Background The International Olympic Committee (IOC) is facing a decreasing number of bids to host the Olympics – both Summer and Winter Games[1]. In ......
hdu3980 Paint Chain SG函数+SG定理+记忆化搜索
liyishui今天学习博弈,因为liyishui今天写树链剖分写得有点理智-- 题意: 有一个圆,上面有n个豆子,每次要挑出连续m个没染色的豆子进行染色,不能移动时输掉游戏 问先手必胜还是后手必胜,其中n、m<=1000 题解: 会很朴素地想到如果第一个人拿走了m个,那么剩下的就是一条链的问题。 ......
adb 版本更新 Perhaps your adb version is out of date 版本需要1.38或者更高
1、版本为40 链接:https://pan.baidu.com/s/1zH6JL6ZTaw5Ff4cxSFN4Fw 提取码:s3tl 2、将下面三个文件替换 3、替换至下面文件中,路径看情况 4、模拟器中的也需要替换,路径看情况 ......
mysqldump: Couldn't execute 'SELECT COLUMN_NAME, JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"')
mysqldump 远程导数据库表结构的时候,报错: Warning: A partial dump from a server that has GTIDs will by default include the GTIDs of all transactions, even those that ......
How to get indices of top-K values from a numpy array
How to get indices of top-K values from a numpy array np.argpartition(probs,-5)[-5:] ......
华为RH5885 V3 登录kvm 显示 sorry,but the number of user reached the maximum
华为RH5885 V3 登录kvm 显示 sorry,but the number of user reached the maximum 通过独占模式和共享模式均无法登录,提示用户超过最大限制 ssh登录带外管理地址后,使用命令行重启IPM,清除登录信息 iMana:/->ipmcset -d r ......
A Philosophy of Software Design 软件设计哲学
《软件设计哲学》本书作者斯坦福教授 John Ousterhout,旨在告诫我们 复杂度是引发软件开发或维护bug的根本问题。 软件为何越来越难维护?甚至于不想去维护? 在软件迭代中,不关注软件系统结构,导致软件复杂度累加,软件缺乏系统设计,模块混乱,一旦需要增加、修改或优化,改变的代价无法评估,甚 ......
Expression #1 of ORDER BY clause is not in SELECT list
mysql问题 Code:3065,SQL State:HY000,Expression #1 of ORDER BY clause is not in SELECT list, references column 'name' which is not in SELECT list; this i ......
nodejs连接mysql报错:throw err; // Rethrow non-MySQL errors TypeError: Cannot read property 'query' of undefined
该问题的解决方案如下: win+R 输入cmd mysql -u root -p 输入密码进入到mysql 3.执行sql语句,将密码改成123456(自己可以记住的密码即可) alter user 'root'@'localhost' identified with mysql_native_pa ......
XX Open Cup, Grand Prix of Tokyo
Little Vegetable Chickens in Shandong ~~二队~~: donghanwen, do_while_true Accepted:E(dwt)F(donghanwen)H(donghanwen) H $t=10^9$,构造出四个点分别为 $(-t+1,0),(0,t) ......
Gitlab CI/CD of react app in docker container 用gitlab CI/CD部署docker container react app
1.0 Download project git clone http://oauth2:{token}@{host}/{user}/{project} {dir_folder} download project to target server 2.0 Install gitlab runner ......
vue3 报错 Uncaught TypeError: Cannot read properties of undefined (reading ‘deep‘)
报错信息 Uncaught TypeError: Cannot read properties of undefined (reading 'deep') at withDirectives (runtime-core.esm-bundler.js:2774:17) at Proxy._sfc_re ......
TypeError: Cannot read property 'resetUpScroll' of null
在onshow中使用mescroll-body组件this.mescroll.resetUpScroll()方法会报错,延迟50秒会正常 这个报错通常是由于在onShow生命周期中访问某些组件的属性或方法时,这些组件尚未完全初始化所导致的。 延迟50毫秒后调用resetUpScroll方法可能是因为 ......
SpringBoot报错:Error resolving template [index], template might not exist or might not be accessible by any of the configured Template Resolvers
springboot项目正常启动,但是在访问页面的时候报错,错误信息如下: Whitelabel Error PageThis application has no explicit mapping for /error, so you are seeing this as a fallback. ......
Linux系列---【The authenticity of host 'node01 (192.168.1.200)' can't be established.】
#报错信息 我在设置免密登录的时候报了下面的错 /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/root/.ssh/id_rsa.pub" The authenticity of host 'node01 (192.16 ......
CF(2E) Keshi in Search of AmShZ (图论,最短路,建边权值变形)
思路: 关键是操作2的性质: 随机找->找一个路径最长的点 操作1,阻止建边顾名思义, 发现和最短路很想, 从n到每一个点的权值嘛 改变权值更新方式, 边的权值为: val[i]+前面那个点是第几大的, (这里每一个出度的点都要算) ->满足题目要求 然后 这个第几大,利用出度来优化, 更新一个后就 ......
npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues
npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the ......
解决报错Cause: java.lang.StringIndexOutOfBoundsException: String index out of range: 609
Cause: java.lang.StringIndexOutOfBoundsException: String index out of range: 609 这个原因是由于Mybatis 插入数据报错: org.mybatis.spring.MyBatisSystemException: nes ......
Unable to start the daemon process . This problem might be caused by incorrect configuration of the daemon. For example, an unrecognized jvm option is used.
创建springboot项目的时候报这个错 是因为你选择了Gradle环境 但是你本地没有这个Gradle环境 选择maven环境就可以了 ......