morning four the in

WASI support in Go

原文在这里。 由 Johan Brandhorst-Satzkorn, Julien Fabre, Damian Gryski, Evan Phoenix, and Achille Roussel 发布于 2023年9月13日 Go 1.21添加了一个新的端口,通过新的GOOS值wasip1来定位W ......
support WASI Go in

Learn Git in 30 days——第 18 天:修正 commit 过的版本历史记录 Part 1

写的非常好的一个Git系列文章,强烈推荐 原文链接:https://github.com/doggy8088/Learn-Git-in-30-days/tree/master/zh-cn 当你使用 Git 进行版本控制时,我们会利用 git commit 建立许多版本,由于 Git 属分布式版本控制 ......
版本 commit 历史 Learn days

《The 2023 Guangdong Provincial Collegiate Programming Contest》vp记录

队伍配置: \(Shui\_dream\) \(gaosichensb\) 和我这个菜鸡。 膜拜另外两个大佬 赛况: \(PS:\) 看高二的在那边打感觉挺有趣的我们也跑过来打了。 首先我把 \(A\) 签到题给签了,然后去看 \(D\) , \(gsc\) 去看 \(C\) ,这时候 \(lyq\ ......

Replacing gcc and g++ with GNU version in macOS

After we install Xcode Command Line Tools, we will get gcc and g++ in /Library/Developer/CommandLineTools/usr/bin and the same contents in /usr/bin. B ......
Replacing version macOS with GNU

CF914F Substrings in a String

知识点:bitset,SAM,根号分治 Link:https://codeforces.com/problemset/problem/914/F 一种在字符集较小情况下的多轮字符串匹配暴力的优化。 好久没写过单题的题解了格式都忘了、、、 简述 给定一仅包含小写字母的字符串 \(s\),给定 \(q\ ......
Substrings String 914F 914 CF

UnicodeEncodeError: 'gbk' codec can't encode character '\ufffd' in position 2494: illegal multibyte sequence

写入文件报错UnicodeEncodeError: 'gbk' codec can't encode character '\ufffd' in position 2494: illegal multibyte sequence 解决方法 with open('./abc.html', 'w', e ......

解决错误 org.apache.ibatis.type.TypeException: The alias xxx is already mapped to the value xxxxx

具体错误信息如下:其实就是此类名和其他包有冲突 那么解决办法就是声明一个别名就好了:使用注解 解決办法 ......
TypeException 错误 already apache ibatis

How to fix Fetch TypeError in Node.js All In One

How to fix Fetch TypeError in Node.js All In One TypeError: terminated at Fetch.onAborted (node:internal/deps/undici/undici:11000:53) ......
TypeError Fetch Node How All

How to fix macOS Finder not support semicolon symbol in filename error All In One

How to fix macOS Finder not support semicolon symbol in filename error All In One macOS Finder 不支持文件名中包含 : 分号 bug ❌ ......
semicolon filename support Finder symbol

linux 系統 提示: File "/usr/lib/python3.8/multiprocessing/connection.py", line 527, in Pipe OSError: [Errno 24] Too many open files

Exception in thread Thread-4:Traceback (most recent call last): File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner File "/usr/lib/p ......

CF840E In a Trap

想了一会并不是很会,主要是信息利用率实在太不牛。 考虑树分块,我们取块长 \(B=2^8\),这个块长很有深意。注意这里的树分块只是形式分块,并不是树上关键点之类。 定义 \(f_{x,i}\) 表示 \(x\) 是第 \(i\) 个块的开头,询问深度为 \(dep_x+Bi\) 的块内最优解。那么 ......
840E Trap 840 CF In

The server is temporarily unable to service your request due to maintenance

访问不了 就是这个路径没有通 有几下几点 最重要的就是 看一下你的路径有没有错 主要就是看一下你服务器的端口号是不是变更了 或者就是你的ip、 第二点 就是看一下你的服务器有没有启动 这两点是最主要的 ......

ERROR OGG-01224 Oracle GoldenGate Capture for Oracle, p_lion.prm: Address already in use.

我的ogg版本 Oracle GoldenGate Command Interpreter for Oracle Version 12.3.0.1.4 OGGCORE_12.3.0.1.0_PLATFORMS_180415.0359_FBO Linux, x64, 64bit (optimized) ......
Oracle GoldenGate Capture Address already

ES2023 Array new features All In One

ES2023 Array new features All In One change Array by copy ......
features Array 2023 All new

How to use Node.js rename files in folder All In One

How to use Node.js rename files in folder All In One fs.rename fs.renameSync fsPromises.rename ......
folder rename files Node How

报错:go: go.mod file not found in current directory or any parent directory; see 'go help modules'

报错:go: go.mod file not found in current directory or any parent directory; see 'go help modules' 知识补充: ......
directory go current modules parent

The 2021 ICPC Asia Macau Regional Contest

目录写在前面AKFCGI写在最后 写在前面 比赛地址:https://codeforces.com/gym/104373 当了一场口胡选手。 我是彩笔。 以下按个人向难度排序。 A 随便找条路径,检查路径是否满足条件,满足则直接输出,否则倒序输出。 Code by YRMrSu: #include< ......
Regional Contest Macau 2021 ICPC

多主架构:VLDB技术论文《Taurus MM: bringing multi-master to the cloud》解读

华为《Taurus MM: bringing multi-master to the cloud》论文被国际数据库顶会VLDB 2023录用,这篇论文里讲述了符合云原生数据库特点的超燃技术。 ......

Operating system error number 23 in a file operation

参考:https://ask.csdn.net/questions/687101 参考2:https://blog.csdn.net/qq_16557863/article/details/130686453 ......
Operating operation system number error

(Windows Hadoop环境配置)IDEA:ERROR util.Shell: Failed to locate the winutils binary in the hadoop binary path

ERROR util.Shell: Failed to locate the winutils binary in the hadoop binary path 出错原因:还没有在windows上配置hadoop环境变量。 解决:在windows上配置hadoop环境变量 参考:windows下缺少 ......
binary the winutils Windows 环境

Node.js multi threads All In One

Node.js multi threads All In One Node.js 多线程 worker_threads Worker threads 工作线程 child_process 子进程 Cluster 集群 ......
threads multi Node All One

[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

How to delete a file in Node.js All In One

How to delete a file in Node.js All In One fs.unlink fsPromises.unlink fs.unlinkSync ......
delete Node file How All

How to fix Tailwind CSS colors not work in Next.js All In One

How to fix Tailwind CSS colors not work in Next.js All In One Tailwind CSS & Next.js 13 ......
Tailwind colors Next work How

Update 1.82.1: The update addresses this security issue.

August 2023 (version 1.82) 更新后显示发行说明 Update 1.82.1: The update addresses this security issue. Welcome to the August 2023 release of Visual Studio Code ......
addresses security Update update issue

Learn Git in 30 days——第 17 天:关于合并的基本观念与使用方式

写的非常好的一个Git系列文章,强烈推荐 原文链接:https://github.com/doggy8088/Learn-Git-in-30-days/tree/master/zh-cn 我曾在【第 08 天:关于分支的基本观念与使用方式】提过关于「分支」的基本观念与用法,现在则要来讲「合并」如何进 ......
观念 方式 Learn days Git

xencenter中的虚拟机死机,无法强制关机,并提示:内部错误: VM not in expected power state after completing operation

uuid 查看选中虚拟机,常规中显示uuid 运行命令xe vm-reset-powerstate --force uuid=your-vm-uuid 即可强制关机 参考:https://www.incredigeek.com/home/vm-not-in-expected-power-state- ......

Fixed Autel IM608 II “The device is locked. Error code 106” Issue

Problem: When I was trying to use Autel IM608 II Key Programmer to read the 2016 BMW engine ECU ISN, it kept saying the prompt: “Abnormally detected. ......
device locked Fixed Autel Error

CF1332E Height All the Same

原题 翻译 首先看到这题首先可以想到应该和奇偶性相关…… 然后就没有一点思路了,遂看题解 首先,可以观察到结果和实际的高度无关,之和高度的奇偶性有关。 这个很好理解,因为我们可以用操作\(2\)使得在同奇偶性的数域内变化。 因此我们只考虑操作\(1\) 这里要知道一个结论:如果\(a_{i,j}\) ......
Height 1332E 1332 Same All

Node.js child_process spawn All In One

Node.js child_process spawn All In One Node.js 多线程 How to run Python script code in Node.js? 如何在 Node.js 中运行 Python 脚本代码? sys.stdout.flush() ......
child_process process child spawn Node