shadow the dog and
CF1152F2 Neko Rules the Catniverse (Large Version) 题解
发现挨位考虑填哪个不太现实,考虑值域。 令 $dp_{i,j,st}$ 表示考虑到 $i$,此时序列长度为 $j$,$i-m$ 到 $i-1$ 填空状态为 $st$ 的方案数,考虑选/不选数即可: $dp_{i,j,st}\times (\text{popcount}(st)+1)\to dp_{i ......
arcgis注册postgresql失败。postgres be sure the databse client software is installed and configured correct
解决: 将PostgreSQL\9.1\bin目录下的Libpq.dll,Libeay32.dll, Libintl-8.dll, Ssleay32.dll复制一份放在ArcGIS Server安装目录的Server\bin***意:这里拷贝的文件需要都是64位的。 重启arcgis server服 ......
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
###问题提示: ` NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and runn ......
【863】Calculate records based on the same value
Suppose we have a dataframe, it has a column of "country". It lists different names of country's names, and for one country maybe it has multiple reco ......
Codeforces 1621H - Trains and Airplanes
这能 3500? 对于一组在 $u$ 上的询问,考虑每种线路 $x$,假设 $1\to u$ 路径上线路 $x$ 的长度为 $len$,那么不难发现收罚款的次数只有两种可能:$\lfloor\dfrac{len}{T}\rfloor$ 或者 $\lfloor\dfrac{len}{T}\rfloor ......
Perkins Engines: Reliable Power in Harsh Environments and High-Strength Operations
Perkins Engines: Reliable Power in Harsh Environments and High-Strength OperationsHello everyone! Today I would like to share with you a powerful engi ......
发布-订阅(Publish-and-Subscribe)模型
发布-订阅(Publish-and-Subscribe)模型是一种消息传递模式,用于在软件系统中实现异步通信和解耦。它基于发布者(发布消息的实体)和订阅者(接收和处理消息的实体)之间的解耦原则。 在发布-订阅模型中,发布者和订阅者之间不直接交互,而是通过一个称为消息代理或消息中间件的组件来进行通信。 ......
CF1842G Tenzing and Random Operations 思考
借鉴了一下 namelessgugugu 的想法,妙妙题。 [link](https://www.luogu.com.cn/blog/namelessgugugu/solution-cf1842g) 这个神奇工具的构造确实挺妙的,非常好的思维题,在此记录一下 ### 代码 ```cpp #inclu ......
cpp generate uuid via rand() and test speed which is 4 times+ faster than libuuid
// main.cpp #include <algorithm> #include <chrono> #include <cstdio> #include <cstdlib> #include <cstdint> #include <ctime> #include <fstream> #includ ......
Linux系统Apache报错httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message
解决办法: 在配置文件中加一句ServerName localhost:端口号 # echo "ServerName localhost:8068" >> /etc/httpd/conf/httpd.conf 重启Apache即可解决。 ......
HTTP/2 stream 1 was not closed cleanly before end of the underlying stream解决
通过git clone 文件时报错 HTTP/2 stream 1 was not closed cleanly before end of the underlying stream 解决: git config --global http.versioin HTTP/1.1 重新git clon ......
Codeforces 1172F - Nauuo and Bug
是 Ynoi 捏。 建一棵线段树,线段树上每个节点维护一个长度为 $len$ 的 DP 数组 $f_i$ 表示 $v$ 最少需要多少才能使得从左往右将 $v$ 与区间中的数进行图中的相加操作后会减掉至少 $i$ 次 $p$。 如果我们能预处理出 $f_i$,那么查询是容易的,直接找到对应的区间然后 ......
升级EF7连接SQL server出错SqlException: A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - 证书链是由不受信任的颁发机构颁发的。)
今天把项目里的Microsoft.EntityFrameworkCore.SqlServer和Microsoft.EntityFrameworkCore.Tools从6.0.6升级到了最新的7.0.9。一运行程序出错了。 ,也就是,让 Snuke 从左往右依次按。 那么,什么情况下 Snuke 会输呢?我们可以把每个 $p_i$ 向 $i$ 连边,我们发现,如果灭着的灯里面存在自环,也就是 ......
LOADING Redis is loading the dataset in memory
MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. P ......
[LeetCode] 2597. The Number of Beautiful Subsets
You are given an array nums of positive integers and a positive integer k. A subset of nums is beautiful if it does not contain two integers with an a ......
MIT 6.S081 Multiprocessors and locking
why lock 防止多核并行运行下的 race condition 导致的错误。 内核中的数据是典型的 concurrently-accessed 的数据。 race condition and how the lock avoid it A race condition is a situati ......
《DeepChain: Auditable and Privacy-Preserving Deep Learning with Blockchain-based Incentive》论文笔记
本文的研究背景: 在各种机器学习任务中,深度学习可以实现比传统机器学习算法更高的精度。最近,保护隐私的深度学习引起了信息安全界的极大关注,其中训练数据和训练模型都不会被暴露。联合学习是一种流行的学习机制,其中多方将局部梯度上传到服务器,服务器使用收集的梯度更新模型参数。然而,在联合学习中存在许多被忽 ......
MIT6.s081/6.828 lectrue1:Introduction and examples
目前课程官网能够查到 2020,2021.2022 秋季的课程表,但是视频都是 2020 年录制的那一版 简单复习+回顾下自己的 OS 学习之旅 ## 参考资料: 官网:https://pdos.csail.mit.edu/6.828/2022/schedule.html 视频翻译:https:// ......
invalidate the cache in Spark by running 'REFRESH TABLE tableName' command in SQL or by recreating the Dataset/DataFrame involved
``` ... 1 more Caused by: java.io.FileNotFoundException: File does not exist: hdfs://ns1/user/hive/warehouse/dw.db/dw_uniswapv3_position_detail/pk_day ......
The file extension is not supported by Shapefile data provider.
后端返回:文件上传失败:The file extension is not supported by Shapefile data provider. 表明此时上传/处理的文件不符合标准。 ......
These are the list of external providers available to the application.
These are the list of external providers available to the application. https://github.com/davidfowl/TodoApi/blob/c209f6ae5c5f31f4808b0df85f358d4a572ea ......
Troubles in RunBase's Pack and Unpack Methods
### Trouble description: > When user processed the batch job after clearing the usage data, dialog's parameters will catch the current data from proce ......
cpp generate random array and then quick sort
#include <algorithm> #include <chrono> #include <ctime> #include <fstream> #include <iomanip> #include <iostream> #include <random> #include <sstream> ......
MySQL BETWEEN AND包含边界值
```SQL select count(1) from table_a where my_date between '20230715' and '20230717'; ``` 上面的SQL我们发现只统计了20230715、20230716的数据,没有17日的数据。难道BETWEEN AND不包含边 ......
解决 Https 站点请求 Http 接口服务后报 the content must be served over HTTPS 错误的问题
之前将自己所有的 `Http` 站点全部更新为 `Https` 站点,但是在请求后台接口服务的时候还是 `Http` 请求,导致部署之后,直接在控制台报 `This request has been blocked; the content must be served over HTTPS;` 的... ......
"Management" by Stephen P. Robbins and Mary Coulter现代管理科学理论
现代管理科学理论: **Major Approaches to Management** 3000 BC – 1776: Early Management 1911 – 1947 Late: Classical Approach 1700s – 1950s: Behavioral Approach ......