certificate chain trust of

nuxt 项目 certificate has expired 或 nuxt unable to verify the first certificate

plugins/axios.js const https = require('https') export default function ({ $axios}){ $axios.create({ httpsAgent: new https.Agent({ rejectUnauthorized: ......
certificate nuxt expired 项目 unable

使用 sudo apt-get update 命令时出现 Certificate verification failed: The certificate is NOT trusted.

命令: sudo apt-get update 问题:Certificate verification failed: The certificate is NOT trusted. Try installing ca-certificates. 忽略:1 https://professional- ......

HBase-Hbase启动异常java.lang.IllegalArgumentException: object is not an instance of declaring class

1、问题描述 HBase启动时异常如下: java.lang.IllegalArgumentException: object is not an instance of declaring class at sun.reflect.NativeMethodAccessorImpl.invoke0( ......

KingbaseES V8R6 集群运维系列 -- trusted_server

案例说明: 在KingbaseES V8R3及V8R6早期的版本,对于读写分离的集群如果网关地址无法连通,将会导致整个集群关闭,数据库服务无法访问。在后期版本的改进中,降低了对网关的依赖性,当网关地址不通时,会影响集群的部分高可用功能比如failover切换,但集群可以正常对外提供数据库访问服务。如 ......

每日一题:如何判断是否是数组,一个既简单又复杂的问题。(不要再用Object.prototype.toString.call、instance of判断了!!!)

1、不要使用Object.prototype.toString.call() 正常情况下: const arr = [1,2,3,4,5] const obj = {} console.log(Object.prototype.toString.call(arr))//[Object,Array] ......
数组 prototype instance toString Object

[879] Run stand-alone scripts of arcpy

Ref: Run stand-alone scripts plain paste in Windows: shift+ctrl+V How do I run a stand-alone script? In other ArcGIS products, a Python script is run ......
stand-alone scripts stand alone arcpy

[878] Records of LandInsight

1. Arcpy: (1) Table To Excel arcpy.conversion.TableToExcel( Input_Table=r"S:\TRAINING\Bingnan\Default.gdb\LI_CLR_VIC", Output_Excel_File=r"D:\OneDrive ......
LandInsight Records 878 of

Road To Reality(The roots of science)

Road To Reality(The roots of science) The Good, the True, and the Beautiful ......
Reality science roots Road The

Meta-Reinforcement Learning of Structured Exploration Strategies

郑重声明:原文参见标题,如有侵权,请联系作者,将会撤销发布! NeurIPS 2018 ......

CF359D Pair of Numbers

原题 翻译 感谢\(xjk\)提供,%%% 先说一个带\(\log\)的做法 首先,区间满足条件的要求即为\(\min_{i=l}^{r}{a_i} = gcd_{i=l}^{r}{a_i}\),这是显然的(我甚至想错了QwQ) 我们考虑固定住这个区间的最小值\(x\),我们发现假如一个区间\([L ......
Numbers 359D Pair 359 CF

Selenium启动chrome谷歌浏览器报错 session not created: This version of ChromeDriver only supports Chrome version 114

Selenium启动chrome谷歌浏览器报错 session not created: This version of ChromeDriver only supports Chrome version 114 ......

rv1126 sdk 升级时遇到的证书问题(ERROR: cannot verify python.org's certificate, issued by 'CN=GlobalSign Atla)

ERROR: cannot verify python.org's certificate, issued by 'CN=GlobalSign Atla 解决方式 : 在wget 里加上--no-check-certificate ......
certificate GlobalSign 证书 cannot python

【错误异常】The content of element type "mapper" must match "(cache-ref|cache|resultMap*|parameterMap*|sql*|insert*|update*|delete*|select*)+".

The content of element type "mapper" must match "(cache-ref|cache|resultMap*|parameterMap*|sql*|insert*|update*|delete*|select*)+". 服务启动异常 排查mapper.xm ......
quot cache parameterMap cache-ref resultMap

自定义对象的of生成操作

自定义对象的of生成逻辑 依赖于lombok的注解 @RequiredArgsConstructor(staticName = "of") 写法 @Accessors(chain = true) @Setter @Getter @RequiredArgsConstructor(staticName ......
对象

Learning Heterogeneous Temporal Patterns of User Preference for Timely Recommendation

目录概符号说明TimelyRecMulti-aspect Time Encoder (MATE)Time-aware History Encoder (TAHE)Prediction代码 Cho J., Hyun D., Kang S. and Yu H. Learning heterogeneou ......

ubuntu vscode cannot open source file "stddef.h" (dependency of "chrono"). Please run the 'Select IntelliSense Configuration...' command to locate your system headers.C/C++(1696)

cannot open source file "stddef.h" (dependency of "chrono"). Please run the 'Select IntelliSense Configuration...' command to locate your system heade ......

CF671C Ultimate Weirdness of an Array

区间 max gcd 计数显然没有任何性质,考虑倒序枚举,转化为计算 \(\sum_i\sum_{l,r}[f(l,r)\ge i]\)。 考虑用一个线段树维护这个东西。\(x\) 节点上存最小的满足 \(f(x,r)<i\) 的 \(r\)。那么一次操作只需要全局求和。 我们考虑 \(i+1\to ......
Weirdness Ultimate Array 671C 671

Vue项目报TypeError: Cannot read properties of undefined (reading '_wrapper')

前情 最近在做一个营销活动的时候,我选择了Vue技术栈来开发。 坑位 项目看似一切都正常,但当我在绑定的js事件中去修改当前组件的data上的值时会报错:TypeError: Cannot read properties of undefined (reading '_wrapper')。 报错信息 ......

doris建表报错 errCode = 2, detailMessage = Scale of decimal must between 0 and 9. Scale was set to: 10

doris建表报错 问题背景 当我从Mpp库向doris库中导数据时,需要先创建对应的数据表,将Mpp库中表的建表语句略作修改后,在doris服务器上运行 CREATE TABLE opt_connect_box_v8 ( CNT_BOX_ID char(72) NOT NULL, CNT_BOX_ ......
表报 Scale detailMessage decimal between

[LeetCode] 1352. Product of the Last K Numbers 最后 K 个数的乘积

Design an algorithm that accepts a stream of integers and retrieves the product of the last k integers of the stream. Implement the ProductOfNumbers c ......
乘积 个数 LeetCode Product Numbers

ORA-01775: looping chain of synonyms

检查其他表、视图、函数等有无重复定义过同义词 select * from all_synonyms where table_owner = 'HD40' and synonym_name not like '%/%' and SYNONYM_name LIKE '%VENDORAPPLY%' and ......
synonyms looping 01775 chain ORA

Eclipse中出现Java compiler level does not match the version of the installed java project facet问题

问题描述同样的项目copy到另外一个package中报错 解决方法1. 右键项目 properties --> Java compiler 查看选择的版本 2. 到项目的路径下,使用文本编辑器打开org.eclipse.wst.common.project.facet.core.xml 3.把版本和 ......
installed the compiler Eclipse project

PULSE: Self-Supervised Photo Upsampling via Latent Space Exploration of Generative Models

PULSE: Self-Supervised Photo Upsampling via Latent Space Exploration of Generative Models 阅读笔记(11.2) 摘要:优化MSE指标通常会导致模糊,特别是在高方差(详细)区域。我们提出了一种基于创建正确降尺度的 ......

pyinstaller 时碰到 struct.error argument out of range

使用 PyInstaller 来打包 Python 程序, ``` pyinstaller -F --version-file file_version_info.txt aaa.py ``` 并且在运行打包后的程序时遇到了这个错误: > struct.error argument out of r ......
pyinstaller argument struct error range

for in 与 for of的用法

for in与for of的区别 使用for of遍历的内容必须要有迭代器 for in一般用于遍历对象也可以遍历数组,遍历的是对象的属性或者数组的下标,for of一般用于遍历数组,map,set等,它不能遍历对象 因为对象身上没有迭代器 for in一般遍历的是key,for of一般遍历的是v ......
for in

PostCSS received undefined instead of CSS string

问题 npm run serve启动项目后,报错Syntax Error: Error: PostCSS received undefined instead of CSS string 解决 node-sass 版本兼容问题导致,按照应用使用的node-sass版本 切换(可使用nvm)到对应的n ......
undefined received PostCSS instead string

SpringBoot项目启动报错:An incompatible version [1.1.22] of the Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14]

问题解释: “安装了不兼容的Apache Tomcat原生库版本[1.1.22],而Tomcat需要版本[1.2.14]” 解决方法: ① 打开网页 http://archive.apache.org/dist/tomcat/tomcat-connectors/native/ ② ③ ④ ⑤ 复制到 ......

[题解]AT_arc116_b [ARC116B] Products of Min-Max

思路 我们容易可以得到一个朴素的做法,首先对 \(a\) 数组排序,然后枚举最大值和最小值 \(a_i,a_j\),那么对于中间的元素都有选与不选两种情况,得到答案: \[\sum_{i = 1}^{n}(a_i \times a_i + (\sum_{j = i + 1}^{n}a_i \time ......
题解 116 Products Min-Max AT_arc

Spring Boot - Parameter 0 of constructor in com.example.iocdi.controller.UserController required a single bean, but 2 were found

问题描述 如上图所示,在加入了 @MapperScan 注解之后就出现了这个问题。 file:[src/java/config/MybatisConfig.java] @Configuration @MapperScan("com.example.iocdi") public class Mybat ......

Redis - 出现ERROR:WRONGTYPE Operation against a key holding the wrong kind of value

原因:用的方法与redis服务器中存储数据的类型存在冲突。 比如:有一个key的数据存储的是list类型的,但使用redis执行数据操作的时候却使用了非list的操作方法。 对一个Redis键执行不兼容的操作,这个错误通常发生在以下情况: 1、类型不匹配:试图执行的操作与键存储的数据类型不匹配。例如 ......
Operation WRONGTYPE against holding Redis