monocarp and set the
git pull时,提示Your local changes to the following files would be overwritten by merge
问题描述: 本地修改了代码后,执行“git pull”命令时,无法更新代码,并报错提示:“Your local changes to the following files would be overwritten by merge” 问题原因: 是因为本地修改的代码与git服务器的代码冲突导致。如 ......
每日学习记录20230406_bert_and_torch
20230407:tensorflow transformer tf.name_scope: 这个函数会规定对象和操作属于那个范围,但是不会对“对象”的“作用域”产生任何影响,也就是不是全局变和局部变量的概念. 这个东西有很多种用法: with tf.name_scope("loss"): #这个名 ......
每日学习记录20230220_tibble gseDO and limma
20230220:tibble gseDO and limma R的tibble格式数据需要转成dataframe才能去除格式,得到某一列纯粹的数据 gseDO是DOSE包里面的函数,用于 Disease Ontology (DO) 分析和富集分析 Q:为什么将FPKM转换为TPM去做转录组差异分析 ......
「Solution Set」4.10 小记
省流:我是废物,别看了,退出去吧。 [ABC275Ex] Monster 我们发现如果要减一次,那么最好是点 $i$ 左右两边能延伸到的最远处都减一下,反正多减不亏。 于是我们建立一棵以下标为顺序的笛卡尔树。 笛卡尔树是以权值建立的大根堆。 笛卡尔树的 $O(n)$ 建立: 用一个栈维护笛卡尔树一直 ......
Solution Set - APIO2013
目录 A.机器人 B.道路费用 C.出题人 A 机器人 key: 点击查看代码 B 道路费用 key: 点击查看代码 C 出题人 提交答案题。 key: 点击查看代码 ......
[已解决] 记录一次排查错误Invalid character found in the HTTP protocol
环境 Tomcat 8.x 报错 Invalid character found in the HTTP protocol [HTTP/1.1 Connection:] 分析 查看localhost_access_log.txt发现: HEAD / 400 都是HEAD 请求,且返回都是400,毕竟 ......
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: ......
Ubuntu开机进入grub界面后,使用set、notmal方法无法进入系统的另一种解决方式
网上流传交广的是一种 ls (hdx,xxx) 根据有回馈目录的进行设置 set root=(hdX,xxx) set prefix=(hdX,xxx)/boot/grub insmod normal normal 但是这次的虚拟机没有成功,于是换了另一种方式 加载Ubuntu系统pe盘,开机选择u ......
Codeforces Round 864 (Div. 2) E. Li Hua and Array
Codeforces Round 864 (Div. 2E. Li Hua and Array)(暴力修改线段树+lca和数论的结合) Example input 5 4 8 1 6 3 7 2 1 5 2 3 4 1 1 3 2 3 4 output 10 2 1 Solution 首先你得知道什 ......
nacos 启动DataSource Set解决办法
通过查看config-fatal.log 日志文件发现 报错:com.mysql.cj.exceptions.CJException: Public Key Retrieval is not allowed 经调查资料得知,此原因跟 mySql版本有关,最核心的原因是mysql 8.0.13开始, ......
C# System.lnvalidOperationException:"A second operation started on this context before a previousoperation completed. This is usually caused by different threads using the same instance...
项目中使用了依赖注入,这个错误在我项目中的原因:在async修饰的异步方法中,调用执行数据库操作的方法时,没有使用await关键字调用,因为没有等待该调用,所以在调用完成之前将继续执行该方法。因此,已处理了注入的依赖项。 ......
Check SID and SQL query associated with OS Process ID(PID) in Oracle
check Session id from OS process id in Oracle SELECT b.spid, a.sid, a.serial#, a.username, a.osuser FROM v$session a, v$process b WHERE a.paddr = b.ad ......
Inventory of the five significant mechanisms of nephrotoxic drug effects
The kidney is the main organ for the metabolism and excretion of various drugs, from minor to common anti-cold drugs, antibiotics, antivirals, and sig... ......
springboot 打包后的端口 jar and war
WAR包发布项目:端口号是目标发布服务器tomcat的默认端口号(8080)或在tomcat的配置文件(server.xml)中设置的端口号。 JAR包发布项目:端口号是application.yml或application.properties里配置的端口号,也就是这些文件配置了内嵌服务器tomc ......
B. Plus and Multiply
B. Plus and Multiply 手模拟了一下 发现式子是: $a^x + by = n $ 由于$a^x$是指数增长,直接枚举它的幂次即可,注意对$a=1$的情况特判 // AC one more times #include <bits/stdc++.h> using namespace ......
E - Kth Takoyaki Set
E - Kth Takoyaki Set https://atcoder.jp/contests/abc297/tasks/abc297_e 思路 使用优先队列,从0 开始, 对所有可能的扩展,计算累加和, 添加到队列, 每次从队列取出最小值,直到取出第k个。 Code #include <ioma ......
B. Phoenix and Beauty
B. Phoenix and Beauty 要求所有长度为$k$的子数组之和相同,观察样例可以发现,当原数组中不同的元素个数小于等于$k$时可以满足条件,同时输出的数组长度$m$很大,可以从这里入手 构造一个有所有元素的数组,当这个数组长度不足时,补其他元素进去,答案即为 $\frac{10000} ......
语义通信论文阅读(2):Semantic Communications: Overview, Open Issues, and Future Research Directions
(语义通信论文阅读:Semantic Communications: Overview, Open Issues, and Future Research Directions) 语义通信:概述、开放问题和未来研究方向 文章刊源:IEEE Wireless Communication(1区,IF=1 ......
CF1797E Li Hua and Array
个人思路: 线性筛求出来 $\phi(x)$,然后 $x$ 成为 $\phi(x)$ 的儿子,建树。 然后接下来就和 $\phi$ 没关系了,令第 $i$ 个数初始直接对应点在 $a_i$ 上。 1 操作相当于区间跳到父亲 2 操作相当于求区间内所有点到 LCA 的距离之和。 1 暴力删就行了,维护 ......
nohup: ignoring input and redirecting stderr to stdout
把后面的 “&” 改成 “2>&1 &”,把启动命令改成如下: nohup java -jar eureka-server.jar > ../logs/eureka-server.out 2>&1 & 再次执行,问题解决。 解释如下: 2>表示把标准错误(stderr)重定向,标准输出(stdout ......
golang 编译碰到问题 Package python-2.7 was not found in the pkg-config search path.
golang 运行单测或者编译程序时提示需要配置 PKG_CONFIG_PATH 环境变量,原因是在程序里使用了 go-python 包,要求运行环境有 python2.7,并设置 PKG_CONFIG_PATH 环境变量,解决方案如下: # pkg-config --cflags -- pytho ......
Do you know the bitwise sum sample demonstrated in "Neural Networks and Deep Learning" by autor Michael Nielsen?
Do you know the bitwise sum sample demonstrated in "Neural Networks and Deep Learning" by autor Michael Nielsen? Yes, I am familiar with the bitwise s ......
hack the box responder
使用 IP 地址访问 Web 服务时,我们要重定向到的域是什么? 服务器上使用哪种脚本语言来生成网页? 抓取返回包判断 用于加载网页不同语言版本的 URL 参数的名称是什么? 根据提示,切换语言,可以发现答案是page “page”参数的以下哪一个值是利用本地文件包含 (LFI) 漏洞的示例:“法语 ......
语义通信论文阅读(1):Beyond Transmitting Bits: Context, Semantics, and Task-Oriented Communications
@(语义通信论文阅读:Beyond Transmitting Bits: Context, Semantics, and Task-Oriented Communications) 
使用windows版本的nginx启动时遇到(1113: No mapping for the Unicode character exists in the target multi-byte code page)这个错误。 后来查阅发现是因为解压的路径里面包含有中文的缘故,只要把解压后的文件剪切 ......
macOS Wi-Fi Scanner and Analyzer All In One
macOS Wi-Fi Scanner and Analyzer All In One
macOS Wi-Fi 扫描仪和分析仪
......
__set_name__魔法方法
介绍 __set_name__ 方法是 Python 3.6 中引入的一种特殊方法,它可以在类属性被赋值时自动调用。这个方法可以用来处理类属性的名称绑定问题,例如将类属性与其所在的类进行绑定。 具体来说,当一个类定义了一个描述符(descriptor)并将其作为类属性时,Python 将在该类定义完 ......
Graduation-Project,Willow-Flowers-and-Love-Letter
毕设、柳花和情书 Datetime: 2023-04-04T17:56+08:00 Categories: Fragment Tags: Diary 发现自己没法记住纯音乐,有歌词的歌比较容易记忆,音节会构成旋律,但是纯音乐不一样,听了就忘,有点为此沮丧。 但是有两首可以记得的,一首是永远同在,一首 ......