fallible point in
No transaction aspect-managed TransactionStatus in scope
方法或内部方法未被事务覆盖或不在事务作用域里面或方法超时未处理 1、@Transactional(rollbackFor = RuntimeException.class) 增加异常回滚或增加try catch异常捕获 2、设置超时时间,对于报错的代码,也可以使用异步方法执行并加上@Transact ......
Export AX model from code in a specific AOT layer
Recently we have decided to merge two AX models sitting in different layers with overlapping objects as part of our code cleanup exercise, thus the re ......
diamond makedb --in CAZyDB.07312020.fa --db CAZyDB.07312020
这条语句是在使用 diamond 软件建立基于 cazydb.07312020.fasta 文件的数据库,该数据库将用于宏基因组分析中。cazydb 是一个专门用于碳水化合物活性酶的数据库。diamond 软件则是一款快速而准确的搜索工具,可用于比对大规模的 dna 或蛋白质序列数据。通过此命令建立 ......
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb0 in position 2198: invalid start byte
这个错误通常出现在使用 utf-8 编码解码包含非法字节(invalid byte sequence)的字符串时。 在 utf-8 编码中,每个字符的编码用一个或多个字节表示,如果字节序列不符合 utf-8 编码规则,则会引发 UnicodeDecodeError 异常。 要解决这个问题,可以尝试使 ......
科目一考试一次必过的踩坑笔记 All In One
科目一考试一次必过的踩坑笔记 All In One 驾校和考场都不给你说的考试秘密,在这里我完全免费的分享给大家了! 经验教训 考前刷题模拟考试题一定要达到90分以上,才有可能保证一次考过! 共100 题,考试时间 45 分钟,不要着急,仔细看清楚每一题的题目描述和选项描述,注意有些陷阱题(这种题出 ......
Thinking in UML大象
本书主要是讲一种如何以对象的思考方式将复杂化的业务用其的建模方法的方法形象的表达出来。整本书也是围绕UML 的语言概念展开,如定义其元素:用例,业务,包,关系,组件,节点。此书给我的思考就是关于业务边界和设计模型的思考。 ......
using in .NET
using 的使用并不少见,但是最近看到这种用法还是觉得有些奇怪: 1 static IEnumerable<int> LoadNumbers(string filePath) 2 { 3 using StreamReader reader = File.OpenText(filePath); 4 ......
PAT Advanced 1006. Sign In and Sign Out
PAT Advanced 1006. Sign In and Sign Out 1. Problem Description: At the beginning of every day, the first person who signs in the computer room will un ......
distcp同步数据时遇到 Operation category READ is not supported in state standby
所遇问题如标题 原因: 同步的目的集群IP处于standby状态。同步给到的目的集群在命令中填的是集群IP,由于配置了高可用,namenode出于其他原因切换到了另一台机器,所以该IP处于standby的状态,此时namenodeIP不是当前同步命令中的IP,更改使用中的namenode IP(ac ......
Built-in Functions
以为内置函数有很多呢 https://docs.python.org/3/library/functions.html ......
fix apt-get install wiringpi errors All In One
fix apt-get install wiringpi errors All In One
修复 E: 软件包 wiringpi:armhf 没有可安装候选 错误
C 语言版本 wiringpi
......
Linux shell command make All In One
Linux shell command make All In One
......
Ruby安装错误:in `encode': U+00CD to IBM437 in conversion from UTF-16LE to UTF-8 to IBM437 (Encoding::UndefinedConversionError)
解决方法: 去本地路径下修改编码,这么提示是因为编码不一致导致的。 修改registry 文件中的编码: 修改后就没有问题了。 来源:https://www.cnblogs.com/py-tiger/p/5372258.html ......
Linux command line editor nano All In One
Linux command line editor nano All In One
nano editor
Ctrl + X 退出窗口
Ctrl + G 打开帮助文档
......
flower in 5.3
上午模拟赛,但是没有打。感觉确实大多数时间都没有好好打模拟赛。正在尝试通过献祭模拟赛的方式获得一些看科技的时间,反正最近五场我只打了两场,好像有一场是点分治没调出来。不过可能在这个时间段进行这种活动确实不好。就凭我省选之后部分分能力极度下降来看,大概营三是个不可避免的结局。切题肯定是切不动的。 考前 ......
Linux shell script shebang env All In One
Linux shell script shebang env All In One
指定 shell script 的运行环境
#!/usr/bin/env
......
Linux shell script switch...case All In One
Linux shell script switch...case All In One
case...in...esac
......
Linux shell command ls sort by date All In One
Linux shell command ls sort by date All In One
ls 按时间排序,最新的排在最前面
$ ls -t
$ ls --time
# reverse
$ ls -tr
......
Oracle ORA-01033: ORACLE initialization or shutdown in progress(误删了DBF数据库文件导致)解决方法
先声明一下前期的一些手欠欠儿的操作导致oracl登录不进去了,起先是清理磁盘空间的时候误删除了orcle DBF数据文件后无法进入系统,plsql登录报错如下: 一般情况下,删除表空间的正确方法是:DROP TABLESPACE BDCDJ INCLUDING CONTENTS AND DATAFI ......
上拉电阻和下拉电阻 All In One
上拉电阻和下拉电阻 All In One demos https://youtu.be/74s5CpyG5ts?t=464 https://youtu.be/k_GAuSONCqo?t=8 --> (🐞 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https:/ ......
Open Source Mirror in China
阿里巴巴 腾讯 华为 清华大学 中国科技大学 上海交通大学 南京大学 南方科技大学 浙江大学 ......
上海市萝卜快跑无人驾驶出租车收费标准 All In One
上海市萝卜快跑无人驾驶出租车收费标准 All In One
无人驾驶出租车商业化运营
萝卜快跑计费规则图解
......
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none) ERROR: No matching distribution found f
命令行输入: pip install mediapipe 报错: Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple ERROR: Could not find a version that satisfies the requi ......
Codeforces 894D Ralph And His Tour in Binary Country
预处理出对于 $u$ 节点其子树内节点(包括 $u$)与 $u$ 的距离,从小到大排序得到 $ds_u$ 同时对 $ds_u$ 进行前缀和处理 $dh_{u, i} = \sum\limits_{j = 1}^{i} ds_{u, j}$ 这样设 $tot$ 为 $ds_u$ 二分得到的 $ds_{ ......
牛客 55994 2023牛客五一集训派对day3 D Points Construction Problem
D-Points Construction Problem_2023牛客五一集训派对day3 (nowcoder.com) 将图上恰好 $n$ 个点染成黑色,使得图上相邻的黑白点对数量恰好为 $m$ 考虑 $n$ 个黑点如果不相邻,则两个点的贡献互不影响 考虑相邻的情况,我们把相邻的点连边,则贡献为 ......
Elasticsearch专题精讲——What's new in 8.7?
What's new in 8.7? https://www.elastic.co/guide/en/elasticsearch/reference/8.7/release-highlights.html , orther versions:8.6 | 8.5 | 8.4 | 8.3 | 8.2 | ......
如何通过 API 查看 cnblogs 博客访问量和博客排名 All In One
如何通过 API 查看 cnblogs 博客访问量和博客排名 All In One
......