ergodicity liouville theorem and

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 ......
PostgreSQL bison usage flex and

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; ......
constructor initialize override class cout

Codeforces 1495E - Qingshan and Daniel

假设 $1$ 号队伍机器人总牌数比 $2$ 号队伍多,那么显然最终 $2$ 号队伍中的牌都会走光。 如果 $1$ 号机器人属于 $1$ 号队伍那么我们暴力模拟第一轮即可。下面只讨论 $1$ 号机器人属于 $2$ 号队伍的情况。 由于我们走牌顺序一定是 $212121212\cdots 21$ 直到没 ......
Codeforces Qingshan Daniel 1495E 1495

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$ 个,它们会各自选择走一条路径,要求它们所选的路径点不相 ......
Goblins Gnomes 1525F 网络 1525

CF1846D Rudolph and Christmas Tree 题解

## _Decription_ 一颗圣诞树由 $n$ 个底边为 $d$,高度为 $h$ 的等腰三角形组成,每个三角形以 $y$ 轴为对称轴,底边均平行于 $x$ 轴,三角形有可能重叠。 给出 $n,d,h$ 以及每个三角形底边与 $x$ 轴的距离,求该圣诞树的面积。 ## _Solution_ ![ ......
题解 Christmas Rudolph 1846D 1846

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 ......
characteristic attack Shiro and

IUP Text Format State test and enhancement

## 功能 - 测试IUP Text 控件 格式(Formating)在交互中的跟随性; - 尝试提升格式跟随性。 ## 涉及点 - Text的回调顺序关联; - 撤销(undo)操作还原到的状态——上次手动改变光标时的状态; - 输入时的状态(中文输入时涉及IME); - k_any的C; Cap ......
enhancement Format State Text test

[VLDBJ 2022]Privacy and efficiency guaranteed social subgraph matching

# Privacy and efficiency guaranteed social subgraph matching ## 动机 目标是在不影响查询处理的同时保护隐私 ## 其中的子图匹配算法PGP ![img](https://img2023.cnblogs.com/blog/2988279/ ......

CodeForces 1525F Goblins And Gnomes

[洛谷传送门](https://www.luogu.com.cn/problem/CF1525F "洛谷传送门") [CF 传送门](https://codeforces.com/problemset/problem/1525/F "CF 传送门") 套路地,将 DAG 的最小不交路径覆盖转化为点数 ......
CodeForces Goblins Gnomes 1525F 1525

[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 = [ ......
ptyhon Prefix remame suffix using

AT_agc062_b [AGC062B] Split and Insert 对自己的警告--zhengjun

做题时想出来的东西: - 时光倒流 做题时的思维定式: - 按照操作顺序,挨个算出拿几个数到最后 - 没有想到在原序列上进行区间 dp。 - 反复只想到从小到大划分区间,每个区间计算贡献,具有一定局限性 > 需要发现,在考虑不同的值的时候,选择哪些操作顺序是独立的 ### 代码 ```cpp #in ......
062 zhengjun AT_agc Insert Split

《ReAct: SYNERGIZING REASONING AND ACTING IN LANGUAGE MODELS》论文学习

一、论文主要思想 本文首先认为,到目前为止,LLM 在语言理解方面令人印象深刻,它们已被用来生成 CoT(思想链)来解决一些问题,它们也被用于执行和计划生成。 尽管这两者是分开研究的,但本文旨在以交错的方式将推理和行动结合起来,以提高LLM的表现。 这个想法背后的原因是,如果你考虑一下作为一个人,你 ......
SYNERGIZING REASONING LANGUAGE ACTING MODELS

Django Templates: Built-In Tags and Filters

https://realpython.com/tutorials/django/ Table of Contents Creating a Django Project Getting Ready to Use Django Templates Compiling and Rendering Dja ......
Templates Built-In Filters Django Built

J J BOND and超比组合 剪刀石头布

const int MAX=10; srand(time(0)); int m,n,countm,countn; countm=countn=0; for(int i;i<MAX;i++){ m=rand()%3+1; cout<<"You are J J BOND,come on!"<<endl; ......
剪刀 石头 BOND and

ctfshow 菜狗杯--You and me

1、下载题目附件 进行解压 解压后发现两张图片,两张一样的图片,但是命名不同,我们可以想到这是一道盲水印题目。 2、解题步骤 这道题目需要用到python分离盲水印的脚本,推荐大家去GitHub上去下载源码 源码地址:https://github.com/chishaxie/BlindWaterMa ......
ctfshow You and me

Codeforces 1305G Kuroni and Antihype

考虑若 $a_u\operatorname{bitand} a_v = 0$,则连 $(u, v, a_u), (v, u, a_v)$ 两条单向边,答案即为外向森林边权和最大值。 发现这是个森林,那考虑增加一个虚点 $a_{n + 1} = 0$,这样就变成了一个树,然后能发现 $1\sim n$ ......
Codeforces Antihype Kuroni 1305G 1305

springcloud -stream消息驱动(去差异化 >>目前只支持rabbitmq and kafka) 此处使用rabbitmq用作实例子

生产者 核心依赖 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-stream-rabbit</artifactId> </dependency> yml配置文件 s ......
rabbitmq springcloud 实例 差异 消息

python: generate and decode QrCode

# encoding: utf-8 #-*- coding: UTF-8 -*- # 版权所有 2023 ©涂聚文有限公司 # 许可信息查看: # 描述: # Author : geovindu,Geovin Du 涂聚文. # IDE : PyCharm 2023.1 python 311 # D ......
generate python QrCode decode and

汇编-AND逻辑与

......
逻辑 AND

CF455D Serega and Fun

## Problem 给定长度为 $n(1\le n\le 10^5)$ 的序列($1\le a_i\le n$),共有 $q(1\le q\le 10^5)$ 个询问,支持两种操作: `1 l r` 将区间 $[l,r]$ 依次向右移动一位,其中 $a_r$ 移动到 $a_l$。 `2 l r k ......
Serega 455D 455 Fun and

CF1842E Tenzing and Triangle - 线段树优化 dp -

题目链接:https://codeforces.com/contest/1842/problem/E 题解: 首先,如果两个等腰三角形相交了,那答案肯定不会更优。因此不会相交。 先考虑一个 $n^2$ 的 dp: 设 $dp_i$ 表示考虑到 $x=i$ 时的最小代价,首先可以先都加一个 $\sum ......
线段 Triangle Tenzing 1842E 1842

git出现Your branch and ‘origin/master‘ have diverged解决方法

https://blog.csdn.net/raoxiaoya/article/details/121785190 https://blog.csdn.net/d6619309/article/details/52711035 ......
diverged 方法 branch origin master

vba批量合并and拆分多个Excel文件

1、拆分:一个文件按照某一列的类型,拆分成多个文件: Private Sub SplitDataByColumn() '学习代码 Dim sourceWorkbook As Workbook Dim sourceWorksheet As Worksheet Dim lastRow As Long D ......
多个 文件 Excel vba and