react learn road the

C# 使用EPPlus 操作excel The given key '8' was not present in the dictionary.

使用EPPlus 删除excel中某一个sheet中的几列的时候,出现了The given key '8' was not present in the dictionary.的报错; 最开始的写法,是从前往后删除,出现错误//ExcelWorksheet sheet = package.Workb ......
dictionary present EPPlus excel given

安装 MySQL for Windows 时报错 The configuration for MySQL Server 8.0.34 has failed. You can find more information about the failures in the 'Log' tab. 解决方法

今天在安装 MySQL for Windows 时报错 ```txt The configuration for MySQL Server 8.0.34 has failed. You can find more information about the failures in the 'Log' ......
MySQL configuration information for the

解决./composer.json" does not match the expected JSON schema

如果执行composer install的时候报错 "./composer.json" does not match the expected JSON schema: - name : Does not match the regex pattern ^[a-z0-9]([_.-]?[a-z0-9 ......
composer expected schema match JSON

CF1083F The Fair Nut and Amusing Xor

#### 简要题意: 给你两个序列 $a,b$,一次操作可以将 $a$ 的某一个长度为 $k$ 的子区间全部异或上任意值,$f(a,b)$ 为使得 $a$ 和 $b$ 相同的最少的操作数量。 支持单点修改 $a,b$,并在开头和每次修改后输出 $f(a,b)$ 的值。 $n,k,q\le 2\tim ......
Amusing 1083F 1083 Fair The

CF1361E James and the Chase

#### Description 给定一个有 $n$ 个点 $m$ 条边的**有向强连通图**。称一个点是**好的**当且仅当它到其他点都有且只有一条**简单路径**。如果好的点至少有 $20\%$ 则输出所有好的点,否则输出 `-1`。 $\sum n\leq 10^5,\sum m\leq 2\ ......
1361E James Chase 1361 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 ......
题解 Catniverse Version 1152F Large

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 ......
Calculate records based value same

React的坑

1. react中没有computed属性,没有watch 这个很伤,简单的使用ES6 class的get属性,根本不能解决问题,setState之后,级联属性不能自动刷新视图 不用mobx,只能自己去setState依赖属性,而且依赖属性如果使用,state.属性名,去读取属性 则不能再setSt ......
React

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即可解决。 ......

machine learning-2023-07-19

questions【链接】 │ │──math │ │──线性回归 │ │──逻辑回归 │ └──梯度下降 │ │──python │ │──numpy(科学计算库) │ │──pandas(数据分析处理库) │ │──matplotlib(数据可视化库) │ └──scikit-learn(机器学 ......
learning machine 2023 07 19

react菜鸟教程笔记

https://www.runoob.com/react/react-state.html 1、状态和变量的使用 class Clock extends React.Component { // 变量存放--固定写法 constructor() { super(); this.state = {sh ......
菜鸟教程 笔记 教程 react

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 ......
stream underlying cleanly closed before

Learn about some useful truck diagnostic scanner tools

Have you ever experienced the frustration of unexpected breakdowns with your truck? Or maybe you’re tired of paying expensive diagnostic fees at your ......
diagnostic scanner useful Learn about

升级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。一运行程序出错了。 ![img](https://img2023.cnblogs.com/blog ......

Learning hard C#学习笔记——读书笔记 07

## 1.值类型和引用类型 ### 1.1 什么是值类型和引用类型 * 值类型:包括简单类型,枚举类型,结构体类型等,值类型通常被分配在线程的堆栈上,变量保存的内容就是实例数据本身 * 引用类型:引用类型实例则被分配在托管堆上,变量保存的是实例数据的内存地址,引用类型主要包括类类型、接口类型、委托类 ......
笔记 Learning hard 07

Linux系统Apache添加监听端口后无法启动服务并报错:Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xeu httpd.service" for details.

导言:这是SE Linux安全机制导致的。 解决方法: 1.查看当前httpd端口 # semanage port -l|grep http 2.将对应端口加入SE Linux,以8068为例 # semanage port -a -t http_port_t -p tcp 8068 3.再次查看 ......
service quot httpd 端口 journalctl

大语言模型的预训练4:指示学习Instruction Learning详解以及和Prompt Learning,In-content Learning区别

# 大语言模型的预训练[4]:指示学习Instruction Learning:Entailment-oriented、PLM oriented、human-oriented详解以及和Prompt Learning,In-content Learning区别 # 1.指示学习的定义 Instruct ......

大语言模型的预训练[5]:语境学习、上下文学习In-Context Learning:精调LLM、Prompt设计和打分函数设计以及ICL底层机制等原理详解

大语言模型的预训练[5]:语境学习、上下文学习In-Context Learning:精调LLM、Prompt设计和打分函数设计以及ICL底层机制等原理详解 ......
上下文 语境 底层 In-Context 函数

react-native 调用手机自带分享

实现效果 import Share from 'react-native-share' import ViewShot from 'react-native-view-shot' const shotRef = useRef<ViewShot>(null) const getTime = () => ......
react-native native 手机 react

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 ......
LOADING dataset loading memory Redis

Learning hard C#学习笔记——读书笔记 06

本文介绍了 C# 中委托的定义、使用、为什么引入委托以及委托的本质。同时,还介绍了委托链的使用,即将多个委托链接在一起,提高程序的可扩展性。 ......
笔记 Learning hard 06

[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 ......
Beautiful LeetCode Subsets Number 2597

《DeepChain: Auditable and Privacy-Preserving Deep Learning with Blockchain-based Incentive》论文笔记

本文的研究背景: 在各种机器学习任务中,深度学习可以实现比传统机器学习算法更高的精度。最近,保护隐私的深度学习引起了信息安全界的极大关注,其中训练数据和训练模型都不会被暴露。联合学习是一种流行的学习机制,其中多方将局部梯度上传到服务器,服务器使用收集的梯度更新模型参数。然而,在联合学习中存在许多被忽 ......

大语言模型的预训练[3]之Prompt Learning:Prompt Engineering、Answer engineering、Multi-prompt learning、Training strategy详解

大语言模型的预训练[3]之Prompt Learning:Prompt Engineering、Answer engineering、Multi-prompt learning、Training strategy详解 ......

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. 表明此时上传/处理的文件不符合标准。 ......
Shapefile extension supported provider file

[AAAI 2023]Self-Supervised Bidirectional Learning for Graph Matching

# Self-Supervised Bidirectional Learning for Graph Matching ## 动机 Graph Matching(GM)是个NP难问题。随着机器学习的兴起,该问题也有望被更高效地解决。然而,现有的监督学习仍然需要为了训练去计算大量的ground tru ......

Learning hard C#学习笔记——读书笔记 05

本文介绍了C#编译成IL语言(Intermediate Language)的过程,以及使用ILDasm.exe工具查看IL代码的方法。文章通过一个Hello World程序,在ILDasm.exe工具中展示了MANIFEST清单和IL代码。 ......
笔记 Learning hard 05