morning four the in
5-6 Generic Delegates in C#
1. What are Generic Delegates in C#? 2. Types of Generic Delegates in C#. 3. Why do we need the Generic Delegates? 用delegate的完整写法如下: using System; nam ......
Office Add-ins documentation
Office Add-ins documentation - Office Add-ins | Microsoft Learn Excel add-in tutorial - Office Add-ins | Microsoft Learn ......
IDEA : Cannot Save Setting ** must not contain source root **. The root already belongs to module **这类错误的解决方法
![](https://img2023.cnblogs.com/blog/3210904/202306/3210904-20230626092521794-1749976955.png) 今天突然碰到这个问题,具体原因是parant目录不能放src的code。 解决方法图片右侧的父project的S ......
[Javascript] Async await in Call stack
Once run in async await, the rest of the function body will be push to Microtask Queue console.log(3) Order: 2 3 4 1 ......
CF321C Ciel the Commander 题解 点分治
题目链接:[http://codeforces.com/problemset/problem/321/C](http://codeforces.com/problemset/problem/321/C) 解题思路: 点分治模板题。 每次找到重心给他分配一个字符,分治往下走的时候分配的字符ASCII码 ......
does not appear to have any patterns in it. If you see the 'urlpatterns' variable with valid patterns in the file then the issue is probably caused by a circular import.
django.core.exceptions.ImproperlyConfigured: The included URLconf '<module 'first_app.urls' from 'D:\\project\\first_project\\first_app\\urls.py'>' do ......
B+ tree implemented in Java
## B+树相关介绍 > B+树是一棵**多叉排序树**,即每个非叶子节点可以包含多个子节点,其整体结构呈扁平化,所以其非常适配于数据库和操作系统的文件系统中。且B+树能够保持数据的稳定有序,插入和删除都拥有较稳定的**对数时间复杂度**。 **B+树的特性**:以 m 阶为例,m 表示内部节点即非 ......
Invalid character found in the request target [/api/hsFile/download?filePath=E:\\%E4%B8%B4%E6%97%B6%E6%96%87%E4%BB%B6&fileName=aaaaa.xlsx]. The valid characters are defined in RFC 7230 and RFC 3986
java.lang.IllegalArgumentException: Invalid character found in the request target [/api/hsFile/download?filePath=E:\\%E4%B8%B4%E6%97%B6%E6%96%87%E4%BB ......
mysql8 执行聚合函数报错:Error 1140: In aggregated query without GROUP BY,sql_mode=only_full_group_by
解决办法: ``` set global sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'; SET GLOBAL log_bin ......
CF1400E Clear the Multiset
CF1400E Clear the Multiset 一道经典简单的分治 由贪心可知,对于一段区间[L,R],一共有两种处理方式 1.一个一个减,次数为l-r+1 2.先区间减,直到最小的减没了,在考虑最小值隔开的两个区间。如果有多个最小值,其实也不影响,再往下分的时候一定会分开。区间答案就是 $m ......
Course overview + the shell
虚拟机崩了,难受,不能即时玩……勉强试出来了几个Windows的指令,也还是蛮好玩的 但还是记一下linux的 date查看日期 echo打印,后可接$PATH打印所有路径 cd目录跳转 ..父目录 .子目录 ls显示文件 ls -l 显示文件的一些信息 mv 重命名 两个参数 cp 复制 两个参数 ......
《Transformer Quality in Linear Time》论文解读
会议/期刊: ICML 年份: 2022 # 1. Vanilla Transformer Block(MHSA+FFN) 原本的Transformer的Block遵循如下的设计范式:MHSA(多头自注意力)+ 一层或者两层的FFN(全连接层),如下图所示。我们只考虑FFN的话,其数学表达式如下:T ......
pycharm中的gihub copilot中报错Sign in failed. Reason: Request signInInitiate failed with message: getaddri无法使用问题
pycharm中的gihub copilot中报错Sign in failed. Reason: Request signInInitiate failed with message: getaddri无法使用问题 解决方法:idea打开我们的插件 settings-plugins-找到插件,点击h ......
Hack The Box-Starting Pointing-Redeemer
## 答案 1. 任务1:`6379` ![image](https://img2023.cnblogs.com/blog/1367845/202306/1367845-20230623221511350-1254846936.png) 2. 任务2:`redis` ![image](https:/ ......
Could not locate zlibwapi.dll. Please make sure it is in your library path
再跑CNN程序的时候报了这个错 ``` 2023-06-23 21:11:52.069321: I tensorflow/core/platform/cpu_feature_guard.cc:151] This TensorFlow binary is optimized with oneAPI D ......
mysql的IN查询优化
mysql的IN里面的数量太大,比如大于1千时,查询的性能就会差很多。 有以下的解决方法。 ### 解决方法一:拆分IN的数量 **IN 数量超过1千,就拆成多条 sql, 每条sql的IN数量不超过1千。** 用OR或者UNION进行SQL改写。 也可以使用 Java写代码,把 IN 数量进行拆分 ......
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system vari
系统是centos7.6 001、问题 -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system vari 002、解决方法 [root@PC1 cmake-3.27.0-rc3]# yum ......
论文阅读 | Soteria: Provable Defense against Privacy Leakage in Federated Learning from Representation Perspective
Soteria:基于表示的联邦学习中可证明的隐私泄露防御https://ieeexplore.ieee.org/document/9578192 # 3 FL隐私泄露的根本原因 ## 3.1 FL中的表示层信息泄露 **问题设置** 在FL中,有多个设备和一个中央服务器。服务器协调FL进程,其中每个 ......
【redis已解决】Warning: no config file specified, using the default config. In order to specify a config
1.启动redis:双击redis-server.exe。 报错:Warning: no config file specified, using the default config. In order to specify a config file use F:\liuf\Redis3\red ......
Hack The Box-Starting Pointing-Dancing
## 答案 1. 任务1:`Server Message Block` ![image](https://img2023.cnblogs.com/blog/1367845/202306/1367845-20230622203421894-44586413.png) 2. 任务2:`445` ![im ......
解决git出现fatal: detected dubious ownership in repository at XXXXX的错误
在window环境下,使用git命令时报错fatal: detected dubious ownership in repository at XXXXXX,图片如下 解决方法如下 添加一行代码 git config --global --add safe.directory "*"; ......
MYSQL中find_in_set函数用法详解
> 感谢参考:https://blog.csdn.net/carefree31441/article/details/119563685 # 1、官方涵义(MySQL手册中语法说明) FIND_IN_SET(str,strlist) : str 要查询的[字符串](https://so.csdn.n ......
Row size too large. The maximum row size for the used table type
> # 原文链接:https://blog.csdn.net/yyj108317/article/details/108756493 在一段自动创建mysql表的[sql语句](https://so.csdn.net/so/search?q=sql语句&spm=1001.2101.3001.7020 ......
VSCODE cannot find package "GOPROJECT/src/chapter1/model" in any of解决方法
环境: win10 go 1.20 问题描述: 在go项目中想要导入自己的其他包的方法或变量,保存后提示 cannot find package "GOPROJECT/src/chapter1/model" in any of: D:\VScode\language\Go\src\GOPROJECT ......
Probabilistic and Geometric Depth: Detecting Objects in Perspective(1)
作者认为单目3D目标检测可以简化为深度估计问题,深度估计不准确限制了检测的性能.已有的算法直接使用孤立实例或者像素估计深度,没有考虑目标之间的集合关系,因此提出了构建预测的目标之间的几何关系图,来促进深度预测. 将深度值划分成若干个区间,然后通过分布的期望来计算深度值,在精度和速度上都取得了不错的性 ......
A First course in FEM —— matlab代码实现求解传热问题(瞬态)
这一篇Blog是在A First course in FEM —— matlab代码实现求解传热问题(稳态) 基础上更进一步,求解瞬态传热问题。 两者的区别如下图所示: 1. 问题描述 求解下图图所示叶片的温度场在[0-1200s]时间段内的变化,初始条件:T(0)=25℃。 控制方程为: 2. 模 ......
「解题报告」CF1810G The Maximum Prefix
水篇题解。 最大值并不好考虑,我们尝试拆贡献,求最大值小于等于 $k$ 的概率,然后将概率差分一下即可得到恰好等于 $k$ 的概率,而最大值小于等于 $k$ 的概率是很容易通过一个 $O(n^2)$ DP 求出来的,但是这样我们还需要再枚举一个 $k$,复杂度 $O(n^3)$,难以接受。 那么我们 ......
Delete vector contents and free up memory in C++
Delete vector contents and free up memory in C++ This post will discuss how to delete the vector’s contents and free up the memory allocated by the ve ......
解决:Volo.Abp.AbpInitializationException: An error occurred during ConfigureServices phase of the module Volo.Abp.Data.AbpDataModule, Volo.Abp.Data,
问题复现说明: 问题说明: 手动搭建AbpVnext框架,就搭了Web层,配置好WebModule和Program,运行就一直报:An error occurred during ConfigureServices phase of the module Volo.Abp.Data.AbpDataM ......
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock:
001、问题 [liujiaxin01@PC1 ~]$ docker search omicsclass permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.s ......