ones twos and
【文献阅读】Optimization and perform criteria of a Stokes polarimeter based on two variable retarders
minimize the noise transmitted through the matrix 主要用三个参数衡量 indicator the condition number (CN) the Equally Weighted Variance (EWV) the error associat ......
CF1848C Vika and Price Tags 题解
每组 $(a_i,b_i)$ 之间相互独立,于是我们只需要考虑一对数 $(a,b)$。 首先 $(0,0)$ 的情况是平凡的。考虑我们需要的状态 $(0,b)$,它的变化过程是这样的:$(0,b)\to(b,b)\to(b,0)\to(0,b)$,所以是三轮一个循环,且除了 $(0,b)$ 之外另外 ......
CF512D Fox And Travelling 题解--zhengjun
计数好题。 首先对于每个连通块独立考虑,最后合并答案。 发现 点数超过 1 的强连通分量一定删不掉。 - 若连通块中存在 点数超过 1 的强连通分量 - tarjan 缩点之后,称这些点数超过 1 的强连通分量为关键点; - 那么两关键点之间的点也不能删; - 于是对于剩下的点直接 dp 即可,由于 ......
python: thead and processing
线程: # encoding: utf-8 # 版权所有 2023 涂聚文有限公司 # 许可信息查看: # 描述: # Author : geovindu,Geovin Du 涂聚文. # IDE : PyCharm 2023.1 python 311 # Datetime : 2023/7/16 ......
题解 CF1842H【Tenzing and Random Real Numbers】
看了题解。好难受,想用积分求概率,算了半天。发现没啥规律,不是不能算,就是太可怕了。 ## Problem 有 $n$ 个 $[0,1]$ 范围内的均匀随机变量 $x_{1\cdots n}$ 和 $m$ 条限制,每条限制形如 $x_i+x_j\le 1$ 或 $x_i+x_j\ge 1$。请你求出 ......
6194: jump and jump 深搜/广搜/动态规划
描述 寒假在家里无聊极了,小w看到地上的瓷砖,想出了一个游戏。这个游戏是这样子的,一共有n个格子,刚开始在起点的时候可以跳到第1个到第k个格子中的一个上面,之后在每个格子上只能向前跳相对应的长度。请问至少需要多少步可以恰好跳到最后一个格子呢? 输入 第一行输入两个整数n和k(1<=n<=100000 ......
Linux /etc/passwd and /etc/shadow All In One
Linux /etc/passwd and /etc/shadow All In One
Linux 用户管理
Linux 用户权限管理
Raspberry Pi
......
flex and bison usage in PostgreSQL
# flex/bison usage in pgsql In regular bison usage, we call `yyparse()` to get an AST. So, I searched for `yyparse` in PostgreSQL source code, which e ......
Lakehouse: A New Generation of Open Platforms that Unify Data Warehousing and Advanced Analytics
在Delta Lake官网上提到的一篇新一代湖仓架构的论文.  and...】
# DockerDeskTop安装完成后,无法启动 报错信息如下: > Please try shutting WSL down (wsl --shutdown) and/or rebooting your computer. If not sufficient, WSL may need to b ......
cpp class constructor initialize list and override cout
//book.h#pragma once #include <iostream> class book { public: int idx; std::uint64_t id; std::string author; std::string content; std::string comment; ......
Codeforces 1495E - Qingshan and Daniel
假设 $1$ 号队伍机器人总牌数比 $2$ 号队伍多,那么显然最终 $2$ 号队伍中的牌都会走光。 如果 $1$ 号机器人属于 $1$ 号队伍那么我们暴力模拟第一轮即可。下面只讨论 $1$ 号机器人属于 $2$ 号队伍的情况。 由于我们走牌顺序一定是 $212121212\cdots 21$ 直到没 ......
基于SAM的one-shot提取特定目标
项目地址:https://github.com/ZrrSkywalker/Personalize-SAM 实现功能:仅给定一张带有参考mask的图像,PerSAM 无需任何训练即可在其他图像或视频中分割特定的目标,例如您的宠物狗。也提供了微调,但是只训练了2个参数 论文中图片介绍: 根据demo地址 ......
mybatis-plus QueryWrapper and or 连用组成查询条件
* 我的代码片段 ``` String numberCode = (String) params.get("numberCode"); if(StringUtils.isNotBlank(numberCode)){ wrapper.and(qw -> qw.eq("number", numberCo ......
【图论,网络流】CF1525F Goblins And Gnomes
[Problem Link](https://codeforces.com/problemset/problem/1525/F) 你在打怪。你有一个 $n$ 个点 $m$ 条边的 DAG,接下来会有 $k$ 波怪来袭,第 $i$ 波怪有 $i$ 个,它们会各自选择走一条路径,要求它们所选的路径点不相 ......
CF1846D Rudolph and Christmas Tree 题解
## _Decription_ 一颗圣诞树由 $n$ 个底边为 $d$,高度为 $h$ 的等腰三角形组成,每个三角形以 $y$ 轴为对称轴,底边均平行于 $x$ 轴,三角形有可能重叠。 给出 $n,d,h$ 以及每个三角形底边与 $x$ 轴的距离,求该圣诞树的面积。 ## _Solution_ ![ ......
Capture One 23-RAW图像编辑软件mac/win版
Capture One 23是一款专业的RAW图像编辑软件,广泛应用于摄影行业。它提供了丰富而强大的工具和功能,帮助摄影师优化、处理和管理他们的原始图像。 →→↓↓载Capture One 23 mac/win版 RAW文件支持:Capture One 23支持超过500种不同相机的原始RAW文件, ......
document.createComment All In One
document.createComment All In One
XML / HTML
......
k8s集群node NotReady处理流程-->kubelet状态error,并伴有报错:kubelet.service has more than one ExecStart=setting,which is only allowed for Type=oneshot services.Refusing
## k8s集群node NotReady处理流程-->kubelet状态error > //20230712 集群有节点NotReady kubelet状态error,并伴有报错:```kubelet.service has more than one ExecStart=setting,whic ......
Shiro characteristic and attack
# Characteristic If `RememberMe=deleteMe ` at Cookie, So It is Shiro. # Shiro Key You get the key and to mix a vulnerability will get the servers shel ......
IUP Text Format State test and enhancement
## 功能 - 测试IUP Text 控件 格式(Formating)在交互中的跟随性; - 尝试提升格式跟随性。 ## 涉及点 - Text的回调顺序关联; - 撤销(undo)操作还原到的状态——上次手动改变光标时的状态; - 输入时的状态(中文输入时涉及IME); - k_any的C; Cap ......
[VLDBJ 2022]Privacy and efficiency guaranteed social subgraph matching
# Privacy and efficiency guaranteed social subgraph matching ## 动机 目标是在不影响查询处理的同时保护隐私 ## 其中的子图匹配算法PGP  [CF 传送门](https://codeforces.com/problemset/problem/1525/F "CF 传送门") 套路地,将 DAG 的最小不交路径覆盖转化为点数 ......
[SIGMOD 2022]Lightweight and Accurate Cardinality Estimation by Neural Network Gaussian Process
# Lightweight and Accurate Cardinality Estimation by Neural Network Gaussian Process ## 总结 用无限宽度神经网络和高斯过程来等价贝叶斯过程,并利用主动学习提高精度,实现对某个SQL查询的cost估算 ## 动机 ......
Exploiting Noise as a Resource for Computation and Learning in Spiking Neural Networks
郑重声明:原文参见标题,如有侵权,请联系作者,将会撤销发布! https://arxiv.org/abs/2305.16044 Summary Keywords Introduction Results Noisy spiking neural network and noise-driven le ......
TabError: inconsistent use of tabs and spaces in indentation
001、python程序报错如下: 002、报错原因(看着缩进是一样的,实际上是不一样的) 003、解决方法 将缩进统一调整为tab键, 对齐即可。 参考:https://blog.51cto.com/yunyaniu/4724938 。 ......
ptyhon: remame file using Prefix and suffix
# 创建测试文件 #for i in range(0, 10): #f = open('test/' + str(i) + '.txt', 'a+') #f.close() path = input("请输入路径:") print("该文件夹中的所有文件有:") temp_file_name = [ ......
AT_agc062_b [AGC062B] Split and Insert 对自己的警告--zhengjun
做题时想出来的东西: - 时光倒流 做题时的思维定式: - 按照操作顺序,挨个算出拿几个数到最后 - 没有想到在原序列上进行区间 dp。 - 反复只想到从小到大划分区间,每个区间计算贡献,具有一定局限性 > 需要发现,在考虑不同的值的时候,选择哪些操作顺序是独立的 ### 代码 ```cpp #in ......
《ReAct: SYNERGIZING REASONING AND ACTING IN LANGUAGE MODELS》论文学习
一、论文主要思想 本文首先认为,到目前为止,LLM 在语言理解方面令人印象深刻,它们已被用来生成 CoT(思想链)来解决一些问题,它们也被用于执行和计划生成。 尽管这两者是分开研究的,但本文旨在以交错的方式将推理和行动结合起来,以提高LLM的表现。 这个想法背后的原因是,如果你考虑一下作为一个人,你 ......