desertification china of

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 ❌ ......
quot Raspberry usbmodem macOS find

Codeforces Gym 103931F - Forest of Magic(时间轴分块+线段树合并)

一个巨烦的时间轴分块做法,有点类似于 P2137 Gty的妹子树 先考虑静态的情况。看上去就一脸线段树合并对吧?一次修改的操作对一个点 $x$ 贡献可以写成 $k·dep_x+b$ 的形式,开两棵线段树合并维护一次项和零次项系数即可。 由于静态问题可做,因此考虑时间轴分块。设阈值 $B$,每 $B$ ......
线段 Codeforces 103931F 时间 103931

如何当个优秀的文档工程师?从 TC China 看技术文档工程师的自我修养

既然技术文档工程师传播的是技术内容,那么技术内容是如何进行传播呢?一名优秀的文档工程师又如何借助这种规律,让内容传播的更远,在其中他又可以借助什么工具来提升效率呢? ......
工程师 文档 工程 技术文档 修养

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位的随机字符串即 ......
secret IllegalArgumentException must key the

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 ......

报错:想用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 ......
Olympics Problem Future The the

adb 版本更新 Perhaps your adb version is out of date 版本需要1.38或者更高

1、版本为40 链接:https://pan.baidu.com/s/1zH6JL6ZTaw5Ff4cxSFN4Fw 提取码:s3tl 2、将下面三个文件替换 3、替换至下面文件中,路径看情况 4、模拟器中的也需要替换,路径看情况 ......
版本 adb Perhaps version 1.38

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:] ......
indices values array numpy top-K

华为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 ......
the maximum reached number sorry

A Philosophy of Software Design 软件设计哲学

《软件设计哲学》本书作者斯坦福教授 John Ousterhout,旨在告诫我们 复杂度是引发软件开发或维护bug的根本问题。 软件为何越来越难维护?甚至于不想去维护? 在软件迭代中,不关注软件系统结构,导致软件复杂度累加,软件缺乏系统设计,模块混乱,一旦需要增加、修改或优化,改变的代价无法评估,甚 ......
Philosophy Software 哲学 Design 软件

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 ......
Expression clause SELECT ORDER list

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) ......
Grand Tokyo Open Prix Cup

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 ......
container docker react app Gitlab

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方法可能是因为 ......
resetUpScroll TypeError property Cannot 39

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 ......
authenticity established 39 Linux host

CF(2E) Keshi in Search of AmShZ (图论,最短路,建边权值变形)

思路: 关键是操作2的性质: 随机找->找一个路径最长的点 操作1,阻止建边顾名思义, 发现和最短路很想, 从n到每一个点的权值嘛 改变权值更新方式, 边的权值为: val[i]+前面那个点是第几大的, (这里每一个出度的点都要算) ->满足题目要求 然后 这个第几大,利用出度来优化, 更新一个后就 ......
Search AmShZ Keshi CF 2E

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环境就可以了 ......

【题解】[SDOI/SXOI2022] 小 N 的独立集(dp of dp)

题目分析: 就借助这个题稍微说一下 $dp$ 套 $dp$。 对于 $dp$ 套 $dp$ 其解决的问题是:若给定某一具体情况则答案十分好求,现要求对于所有的情况的答案进行统计。 这类问题我们一般称解决这个具体情况的 $dp$ 为内层 $dp$,而对于所有情况进行统计的 $dp$ 为外层 $dp$。 ......
题解 SDOI 2022 SXOI of

java reflection exception--can not access a member of class XXX with modifiers "private"

If you try to visit the value of an object's private field using reflection, such as Field#get or Field#set, you should call Field#setAccessible ahead... ......
quot reflection exception modifiers private

注入了一个记录日志的接口,启动微服务工程的时候报错了:No qualifying bean of type 'com.cscecnf.common.log.SysOprLogDao'

【问题描述】 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'monitorAreaServiceImpl': Injection of resour ......

Memory Barrier 内存屏障 和 OUT OF ORDER EXECUTION OOOE OOE 乱序执行 幻读 脏读

问题 开发过程中,同一系统上,两个进程,使用了共享内存方式通信。为了追求性能,一个进程是生产者,一个进程是消费者;一个负责写,一个负责读,没有锁。写入完成后,再更新写的标识;读取数据并操作完成后,再更新读取标识,理论上没有问题,但是服务器上运行起来后,会读取到无意义的内容。 读取数据很大或者无效数据 ......
屏障 EXECUTION 内存 Barrier Memory

mysql报错 1140 - In aggregated query without GROUP BY, expression #1 of SELECT list contains nonaggregated column 'a.user_name'; this is incompatible with sql_mode=only_full_group_by

表结构如下: CREATE TABLE `user` ( `id` bigint NOT NULL, `user_name` varchar(255) DEFAULT NULL, `password` varchar(255) DEFAULT NULL, `create_time` datetime ......

pytest踩坑--运行报错DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3 ,and in 3.9 it will stop working

问题现象: 使用pytest运行用例时,用例执行完毕总会提示以下警告 警告意思:弃用警告:从collections中导入ABCs已被弃用,并在python3.9中将停止工作,可使用collections.abc代替它进行使用 但我代码中并未使用这个库,也没有导入这个库。就很纳闷 解决: 百度了一下解 ......