being

解决小程序报错 getLocation:fail the api need to be declared in the requiredPrivateInfos field in app.json

一、unipp项目 打开uniapp项目的配置文件manifest.json,选择“源码视图”。 /* 小程序特有相关 */ "mp-weixin": { "appid": "你的开发者id", "setting": { "urlCheck": true, "es6": true, "postcss ......

背包问题 (to be continued)

# 背包问题 (to be continued) ## 0x01 01 背包 ### Problem 有 $N$ 件物品和一个容量为 $V$ 的背包. 第 $i$ 件物品的费用是 $v_i$ , 价值是 $w_i$ . 求 $\max \left\{ \left. \sum_{1\leq i\leq ......
背包 continued 问题 to be

spring注入bean错误-Bean named 'abc' is expected to be of type 'AAA' but was actually of type 'BBB'

@Resource注解有两个重要的属性:name和type。在一个使用@Resource来注入bean的声明语句中,@Resource优先是按name来解析bean的 ......
39 type actually expected 错误

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

Git常见报错:Your local changes to the following files would be overwritten by merge

### 1、报错原因 该报错在git pull时出现,一句话解释就是你在本地改动了代码但是还没有提交,此时再拉取最新代码,远程代码和你当前的本地代码发生冲突!(注意有冲突时才会提示,如果没有冲突,则git pull成功,因为git pull实质上就是一个远程分支merge到本地分支过程。 ### 2 ......
overwritten following changes local files

"Don't be shy. Speak English loudly and crazily!"

"Don't be shy. Speak English loudly and crazily!" 俞敏洪犀利点评马云、王石、刘强东、雷军英语水平 俞敏洪:马云8岁学英语,考上杭师范读专科,而我在北大读本科! 李阳、马云、俞敏洪,这三个中国最著名的英语老师,只有李阳仍坚守在一线。 是啊,当马云再次登 ......
quot English crazily loudly Speak

警告: 'xxx' should always be multi-word

## 警告:Component name "Login" should always be multi-word ![](https://img2023.cnblogs.com/blog/3257556/202308/3257556-20230813225026382-1729595752.png) ......
multi-word should always multi 39

PlacementList must be sorted by first 8 bits of display_id 问题

问题暂未解决 ``` [37484:0811/103448.115:ERROR:display_layout.cc(551)] PlacementList must be sorted by first 8 bits of display_id ``` ![](https://img2023.cnb ......

instance must be started before calling this method

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

uniapp获取位置时显示getLocation:fail the api need to be declared in the requiredPrivateInfos field in app.json/ext.json

uniapp获取位置时显示getLocation:fail the api need to be declared in the requiredPrivateInfos field in app.json/ext.json 解决方式:1.manifest.json文件 "mp-weixin" 中添 ......

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

Linux:user is not in the sudoers file. This incident will be reported 解决方法

学习自:user is not in the sudoers file. This incident will be reported 解决方法_一路奔跑94的博客-CSDN博客 1、原因 没有在权限文件中说明该用户具有sudo权限 2、解决步骤 1)以root身份去/etc/sudoers文件中, ......
incident reported sudoers 方法 Linux

异常FutureWarning: In the future `np.object` will be defined as the corresponding NumPy scalar.

AttributeError: module 'numpy' has no attribute 'object'. 原因:numpy版本问题,卸载重新安装对应的版本 方法 pip uninstall numpy==1.19.2(根据自己的版本需要,安装对应的版本) 操作如下: ......

报错:This generated password is for development use only. Your security configuration must be updated before running your application in production.

项目报错:This generated password is for development use only. Your security configuration must be updated before running your application in production. 导 ......

Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array

今天在安装attachments插件时后台提示Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array in 64,这个是用php8开发经常会碰到的一个错误,如何解决呢?随ytkah一起来看看 ......
TypeError Countable Uncaught Argument count

《莫生气》 外文名《Don't be angry》

人生就像一场戏,因为有缘才相聚。 相扶到老不容易,是否更该去珍惜。 为了小事发脾气,回头想想又何必。 别人生气我不气,气出病来无人替。 我若气死谁如意,况且伤神又费力。 邻居亲朋不要比,儿孙琐事由他去。 吃苦享乐在一起,神仙羡慕好伴侣。 中文名《莫生气》 外文名《Don't be angry》 启 ......
angry Don 39 be

Python报错 | ImportError: To be able to use evaluate-metric/seqeval, you need to install the following dependencies['seqeval'] using 'pip install seqeval' for instance'

**报错信息** 使用`metric = evaluate.load("seqeval")`的时候,报如下错误: ```python ImportError: To be able to use evaluate-metric/seqeval, you need to install the fol ......

Angular:error TS2717: Subsequent property declarations must have the same type. Property 'contentRect' mu st be of type 'DOMRectReadOnly', but here has type 'DOMRectReadOnly'.

# 解决方案 在`tsconfig.json`的`compilerOptions`选项中添加如下内容`"skipLibCheck": true`。 如下图所示 ![image](https://img2023.cnblogs.com/blog/1795938/202307/1795938-20230 ......

element-ui 日期选择器报错 Prop being mutated: "placement"

> 报错信息 ![](https://img2023.cnblogs.com/blog/2014047/202307/2014047-20230728152430758-288624872.png) > 解决方法,添加`placement="bottom-start"` ``` ``` ......
quot element-ui placement 日期 element

【Java异常】Variable used in lambda expression should be final or effectively final

https://blog.csdn.net/weixin_44299027/article/details/117333667 *lambda表达式中使用的变量应该是final或者有效的final*,也就是说,lambda 表达式只能引用标记了 final 的外层局部变量,这就是说不能在 lambd ......
final effectively expression Variable lambda

ERROR: database "server" is being accessed by other users DETAIL: There is 1 other session using the database.

根据错误消息,删除数据库 "server" 失败,原因是有其他用户的会话正在使用该数据库。在 PostgreSQL 中,如果有其他会话正在访问或连接到数据库,那么将无法删除该数据库。 为了成功删除数据库,需要确保没有其他会话正在使用该数据库。 以下是可能的解决方法: 1. 断开所有连接:在尝试删除数 ......
database other quot accessed session

ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).

# 报错 ``` ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm). ``` # 问题原因 在 `PyTorch` 中使用 `Data ......

APP - Appium-Inspector连接报错Failed to create session, The requested resource could not be found

APP - Appium-Inspector连接报错Failed to create session, The requested resource could not be found appium版本:Appium-Server-GUI-windows-1.22.3-4 Appium-Inspe ......

Unit network.service could not be found的解决方法

学习自:报错:Unit network.service could not be found.[已解决] 1)yum install network-scripts 2)下载完成后,查看network的运行状态 systemctl status network 此时的network处于关闭(inac ......
network service 方法 could found

CMake Error at CMakeLists.txt: No CMAKE_CXX_COMPILER could be found.

`系统环境:Ubuntu 22.04.1` ### 1. 问题发生 ``` -- The C compiler identification is GNU 11.3.0 -- The CXX compiler identification is unknown -- Detecting C comp ......

Navicat连接Mysql出现“plugin caching_sha_password cannot be loaded”错误

Navicat连接Mysql出现“plugin caching_sha_password cannot be loaded”错误 问题现场 ​​ **官方说明:**​https://dev.mysql.com/doc/refman/8.0/en/caching-sha2-pluggable-auth ......

arcgis注册postgresql失败。postgres be sure the databse client software is installed and configured correct

解决: 将PostgreSQL\9.1\bin目录下的Libpq.dll,Libeay32.dll, Libintl-8.dll, Ssleay32.dll复制一份放在ArcGIS Server安装目录的Server\bin***意:这里拷贝的文件需要都是64位的。 重启arcgis server服 ......

Doris-BE节点集体挂掉问题排查

背景 7月14版本上线,7月16日doris集群BE节点短时间内陆续挂掉,暂时重启解决,7月17日周一上班,BE节点开始反复挂掉影响使用 问题定位: 1、查看doris BE节点日志 be.out日志如下所示,由第7行(doris::PlanFragmentExecutor)可看出是因为sql执行引 ......
节点 Doris-BE 集体 问题 Doris

解决 Https 站点请求 Http 接口服务后报 the content must be served over HTTPS 错误的问题

之前将自己所有的 `Http` 站点全部更新为 `Https` 站点,但是在请求后台接口服务的时候还是 `Http` 请求,导致部署之后,直接在控制台报 `This request has been blocked; the content must be served over HTTPS;` 的... ......
接口 错误 content 站点 served

configure: WARNING: expat is missing or unusable; some features may be unavailable.

001、问题:configure: WARNING: expat is missing or unusable; some features may be unavailable. 002、解决方法 [root@PC1 gdb-13.2]# yum install expat-devel 003、验 ......