the series find sum

【Azure Durable Function】PowerShell Activity 函数遇见 Newtonsoft.Json.JsonReaderException: The reader's MaxDepth of 64 has been exceeded.

问题描述 创建PowerShell Azure Durable Function,执行大量的PowerShell脚本操作Azure Resource,遇见了一个非常非常奇怪的问题: Function 'Hello1 (Activity)' failed with an error. Reason: ......

The following perl modules required by RepeatModeler are missing from your system. Please install these first: JSON; JSON::PP; File::Which

001、问题 RepeatModeler 编译安装报错如下: 002、尝试逐个安装确实的perl模块; 也是各种问题; 最后不想折腾, 就大力出奇迹,全安装, 可一次解决所有报错; (base) [root@pc1 RepeatModeler-2.0.2a]# yum -y install perl ......

The solution of P5339

problem 容斥好题,结果题解里面一堆 \(\text{NTT}\)。 如果我们去掉有多少个人喜欢什么东西的条件,那么这个题就直接枚举有 \(i\) 组同学会一起讨论蔡徐坤。这一个问题十分容易。 使用容斥原理来做,然后容斥的系数是 \((-1)^i\) 想必这个东西对于大家来说是十分简单的。 如 ......
solution P5339 5339 The of

[CF1588F] Jumping Through the Array

不妨认为 \(n,q\) 同阶。 考虑根号重构。如果没有第 3 种操作的话,我们每 \(\mathcal O(\sqrt n)\) 操作整体更新一次,每个询问只需要考虑块内的修改所在置换环上有多少 \([l,r]\) 内的数。这个是容易 \(\mathcal O(n\sqrt n)\) 做的。 然后 ......
Jumping Through 1588F Array 1588

“Job for network.service failed because the control process exite”问题

[root@node3 ~]# service network restart Restarting network (via systemctl): Job for network.service failed because the control process exited with err ......
because control network service process

[Javascript] Prevent JavaScript Object Tampering with the SES Library harden Function

https://www.npmjs.com/package/ses Lockdown The lockdown() function also tames some objects including regular expressions, locale methods, and errors. ......

[LeetCode] 2609. Find the Longest Balanced Substring of a Binary String

You are given a binary string s consisting only of zeroes and ones. A substring of s is considered balanced if all zeroes are before ones and the numb ......
Substring LeetCode Balanced Longest Binary

The Solutions of Ocean Trash

10 Things You Can Do to Save the Ocean 1. Mind Your Carbon Footprint and Reduce Energy Consumption Reduce the effects of climate change on the ocean b ......
Solutions Ocean Trash The of

The Solutions of Ocean Trash

Everyone can do something to help solve the plastic pollution problem, and millions of people worldwide are already taking action to reduce their plas ......
Solutions Ocean Trash The of

Configuration failed to find one of freetype2 libpng libtiff-4 libjpeg.

001、问题,安装 devtools中遇到如下报错:Configuration failed to find one of freetype2 libpng libtiff-4 libjpeg. 002、解决方法: [root@pc1 ~]# yum install freetype-devel l ......

import torch_geometric报错Could not find module '...\torch_sparse\_convert_cpu.pyd' (or one of its dependencies). Try using the full path with constructor syntax.

按照官网步骤安装完torch-scatter、torch-sparse、torch-cluster和torch-spline-conv等依赖项,也成功安装了torch_geometric,但在导入的时候还是报错: 原因是没有C++环境,在该网址中https://visualstudio.micros ......

Uncaught SyntaxError: The requested module '/vue3-print/node_modules/.pnpm/dayjs@1.11.9/node_modules/dayjs/dayjs.min.js?v=b0e0e64f' does not provide an export named 'default' (at Upload.vue:10:8)

前提 在项目环境 vue3.3.4 + vite4.4.11 下,安装dayjs1.11.9 报错 Uncaught SyntaxError: The requested module '/vue3-print/node_modules/.pnpm/dayjs@1.11.9/node_modules ......
node_modules dayjs modules 39 node

[翻译]——How the MySQL Optimizer Calculates the Cost of a Query (Doc ID 1327497.1)

本文是对这篇文章How the MySQL Optimizer Calculates the Cost of a Query (Doc ID 1327497.1)的翻译,翻译如有不当的地方,敬请谅解,请尊重原创和翻译劳动成果,转载的时候请注明出处。谢谢! 适用于: MySQL 4.0 及后续更高的版 ......
Calculates 1327497.1 the Optimizer 1327497

并查集(Union Find Set)

1 基本介绍 并查集是一种用来判断两个元素之间是否有关系的集合。 它的基本思想为:对于两个元素,如果他们之间有关系,则将其连接,以此形成一颗树。 对于任意两个节点,如果它们有相同的根节点,则它们之间有关系。 2. 建立步骤 给定n个点,以及m个关系。 1. 初始状态 将每个节点的根节点都指向自己 f ......
Union Find Set

查询列表时参数有限制提示The server supports a maximum of 2100 parameters.

1 public ActionResult Export(SAPPRItemSearchVM searchvm) 2 { 3 searchvm.SetFilter(MyPRItemReader, this.GetWorkingUser(true)); 4 5 IList<SAPPRItemDTO> ......
parameters supports 参数 maximum server

【转载】The Beginner’s Guide to Creating and Selling Cheat Sheets

【from】https://medium.com/practice-in-public/the-beginners-guide-to-creating-and-selling-cheat-sheets-23756af06b12 This is 10x better than your 50-page ......
Beginner Creating Selling Sheets Guide

2023-11-06 Could not find any Electron packages in devDependencies ==》没有安装Electron 导致

推荐使用powershell终端来输入,如果你用的是vscode的终端会出现卡在加载中的情况,而前者则可以通过回车键来刷新加载状态 问题描述:electron项目安装好后,运行npm run start时报错。 解决方案: npm i electron --save-dev ......
Electron devDependencies packages Could 2023

libtorch+cuda12编译失败,Failed to find nvToolsExt

参考链接:Failed to find nvToolsExt - C++ - PyTorch Forums 即在安装了cuda12后再下载cuda11的安装包,并且只选择如图组件。 ......
nvToolsExt libtorch Failed cuda find

第五周阅读笔记|人月神话————胸有成竹(Calling the Shot)

这个章节标题是胸有成竹,而要做到胸有成竹就必须在项目计划阶段我们对项目的预测和估算都需要很准确。因此整个章节的内容就是在讲估算,而估算就涉及到预测和估算模型,估算要做到准确必须通过前期多个历史项目和版本的积累,同时通过历史版本和数据的积累来发现预测指标Y和相应的估算因子X之间的关系。这样建立出来的估 ......
胸有成竹 神话 Calling 笔记 Shot

P9821 [ICPC2020 Shanghai R] Sum of Log

原题链接 题意,求: \[\sum_{i=0}^{X}\sum_{j=[i=0]}^{Y}[i\&j=0]\lfloor\log_2(i+j)+1\rfloor \]为简洁,记 \(\lg(x)=\lfloor\log_2(x)\rfloor,n=\max(X,Y)\) 由于 \(i\&j=0\) ......
Shanghai P9821 9821 2020 ICPC

The Policy to Solve Air Pollution

One of the many specific measures and policies China has implemented to solve the problem of air pollution is to implement the Action Plan for the Pre ......
Pollution Policy Solve The Air

[LeetCode] 1535. Find the Winner of an Array Game

Given an integer array arr of distinct integers and an integer k. A game will be played between the first two elements of the array (i.e. arr[0] and a ......
LeetCode Winner Array 1535 Find

Store config in the environment

Store config in the environment https://12factor.net/config The twelve-factor app stores config in environment variables (often shortened to env vars ......
environment config Store the in

P1466 [USACO2.2] 集合 Subset Sums

P1466 USACO2.2 集合 Subset Sums 毫无思路 如果不告诉我这题是DP题,我一定会爆搜。 看了题解,很妙。 居然也能套背包板子。 定义F[i][j]为在前\(i\)个数中选择一些数其和为\(j\)的方案总数。 显然转移方程F[i][j] = F[i - 1][j] + F[i ......
USACO2 Subset P1466 USACO 1466

e1000e 0000:00:1f.6: The NVM Checksum Is Not Valid

Ubuntu20.04系统,遇到 I219 网卡不能用的问题,查看dmesg得到如下信息: 解决办法: 1. 下载Intel官方工具Boot Utility: 下载地址:https://www.intel.com/content/www/us/en/download/15755/intel-ethe ......
Checksum e1000e e1000 1000e Valid

shell find scp 命令

一、背景 有时我们需要把find找到的文件,scp到远程机器上。下面分享一下几个常见用法 二、解决方案 2.1 方案一 查询某个文件下 文件大小大于 10k 的文件 : find /home/user/dir -size +10k 查找大于4的文件,全部复制到另一目录: find /home/use ......
命令 shell find scp

prometheus Error on ingesting samples that are too old or a re too far into the future

目录prometheus Error on ingesting samples that are too old or a re too far into the future磁盘问题时间问题版本问题历史prometheus旧数据 prometheus Error on ingesting samp ......
prometheus ingesting too samples future

The sultion of P4959

problem & blog 首先我们看到 \(x,y\) 有可能为负数,所以我们先把它旋转到第一象限。 然后我们发现如果 \(x_a \ge x_b\) 且 \(y_a \ge y_b\) 那么 \(b\) 点就是无效的,应为他肯定可以被以左下角为 \((0,0)\),右上角为 \((x_a,y_ ......
sultion P4959 4959 The of

"none" is not exported by the List::Util module

001、make命令报错如下: "none" is not exported by the List::Util module 002、解决方法 。 ......
quot exported module none List

[934] Run the python file directly (ArcGIS Pro)

ref: The Edit with IDLE and Run with ArcGIS Pro options are not available in the context menu when right-clicking Python files Description In some ins ......
directly ArcGIS python file 934