approximation theory method and
linux SSH client and terminal termius
介绍一款SSH终端神器,termius 优美的界面,高效的性能,免费版本足够我们使用。支持 mac , windows 双平台! 官网:https://www.termius.com/ 下载地址:https://termius.com/download/ 主界面: ![image](https:// ......
[AGC045D] Lamps and Buttons 题解
# [AGC045D] Lamps and Buttons 题解 首先,由于排列生成随机,所以最优决策就是不决策(反正你也不知道),也就是,让 Snuke 从左往右依次按。 那么,什么情况下 Snuke 会输呢?我们可以把每个 $p_i$ 向 $i$ 连边,我们发现,如果灭着的灯里面存在自环,也就是 ......
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:// ......
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不包含边 ......
"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 ......
c++ map erase start location and specified count items
// main.cpp #include <algorithm> #include <chrono> #include <ctime> #include <fstream> #include <iomanip> #include <iostream> #include <map> #include ......
CodeForces 1848E Vika and Stone Skipping
[洛谷传送门](https://www.luogu.com.cn/problem/CF1848E "洛谷传送门") [CF 传送门](https://codeforces.com/problemset/problem/1848/E "CF 传送门") 感觉比这场的 F 简单。 发现我们要进行 $x$ ......
checking whether to use .ctors/.dtors header and trailer... configure: error: missing __attribute__ ((constructor)) support??
001、问题:checking whether to use .ctors/.dtors header and trailer... configure: error: missing __attribute__ ((constructor)) support?? [root@PC1 build]# ......
A. Vika and Her Friends
A. Vika and Her Friends Vika and her friends went shopping in a mall, which can be represented as a rectangular grid of rooms with sides of length $n$ ......
idea报错 java: You aren't using a compiler supported by lombok, so lombok will not work and has been dis
转‘’: idea较新版本识别不了lombok生成的方法 在这增加参数: -Djps.track.ap.dependencies=false ......
【文献阅读】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官网上提到的一篇新一代湖仓架构的论文. ![image.png](https://cdn.nlark.com/yuque/0/2023/png/492896/1689406041936-82416672-e4d8-46db-9742-19b4a283b7f4.png#avera ......
lovesickness,twilight-and-stars
相思,黄昏和星星 Created: 2023-06-27T09:26+08:00 Published: 2023-07-15T19:29+08:00 Categories: Fragment Tags: Diary [toc] # 成长中忽然意识到的事 昨天拜访亲戚,想起自己在某一天忽然意识到,所有 ......
DockerDeskTop系列---【启动DockerDeskTop时报错:Please try shutting WSL down (wsl --shutdown) 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$ 直到没 ......
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$ 个,它们会各自选择走一条路径,要求它们所选的路径点不相 ......