learning summary second the
已解决 DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop workingfrom collections import Iterable
场景描述 E:/worksp_py/hardwary/100day/twentyfive/itertor.py:4: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collect ......
[Fullstack] Learning note for Fullstack developer - FrontendMaster
Command Line 1. Navigate to your home directory cd ~ 2. Make a directory call "temp" mkdir temp 3. Move into temp cd temp 4. List the idrectory conten ......
【每日一题】Problem 44E. Anfisa the Monkey
[原题](https://codeforces.com/problemset/problem/44/E) #### 解决思路 由题意可得 $ak \le size \le bk$,因此当条件不符合该要求时即可退出 因为 $size \le bk$,因此,我们可以假设每行都是 $b$ 长度来满足条件二 ......
The XOR Largest Pair
```cpp #include #include #include #include #include using namespace std; int bit[32]; int n, num[5211314]; struct Trie { int trie[5211314][2], tot = 1 ......
git问题:remote: [session-584b73b2] Access denied... The requ ested URL returned error: 403
error 403是服务器拒绝了终端的访问,是账户密码的问题,是因为git客户端缓存了错误的密码。 我是原来有个git账户,使用https方式,密码永久保存的方式,在操作另一个git账户时可能更新了缓存密码。 方法: 使用git clone http://username:password@gite ......
Jmeter:"An error occurred: Can't connect to X11 window server using 'lacalhost:12.0' as the value of the display variable." 解决办法
做各种不同项目的性能测试,都需要在项目本地压测服务器配置jmeter,需要时还要调出jmeter图形化界面来调试jmeter脚本。 标题中的问题遇过多次,这次做个记录。 1. 启动jmeter报错 在配置好jmeter环境变量的linux系统执行jmeter命令,报错如下: [root@localh ......
default-scheduler running PreBind plugin "VolumeBinding": binding volumes: timed out waiting for the condition
看openebs-localpv-provisioner 和kube-scheduler-minikube 和kube-controller-manager-minikube的报错信息,就发现了问题 volumeClaimTemplates: - metadata: name: proxysql-d ......
关于flume Closing file: hdfs://PATH/1686250555721.gz.tmp failed. Will retry again in 180 seconds.的问题记录
问题描述:flume每到半夜总是一直报错,关闭某个文件失败,虽然不影响其他日志传输,但是一直有错误日志也很难受,有一种如芒在背的感觉。 部分报错日志: 09 六月 2023 02:55:55,730 INFO [SinkRunner-PollingRunner-DefaultSinkProcesso ......
English Learning Articles 2022-06-11 Your teen wants to get in shape this summer? What to say and when to worry
Your teen wants to get in shape this summer? What to say and when to worry | CNN If your children say they want to start exercising or working out mor ......
UVA1401 Remember the Word
## 思路 首先有一个比较朴素的 DP 就是记 $f_i$ 为 $s$ 的从第 $i$ 个字符开始到字符串结尾的划分方案数,记模板串的集合为 $T$,$s$ 从第 $i$ 个字符开始到字符串结尾的子串为 $s(i)$,那么不难写出方程: $$ f_i = \sum f_{i + \operatorn ......
定冠词the的习惯用法
①某家人或某夫妇一般用the+复数。如:the Smiths。 ②表示整个民族或族人一般加the。如 the Chinese/English。 ③少数山脉群岛也不用the。如Mount Tai。如名词中有of短语则一般有the.如:the Mountain of seven sighs. ④中国的湖 ......
【每日一题】Problem 331C1. The Great Julya Calendar
[原题](https://codeforces.com/problemset/problem/331/C1) #### 解决思路 寻求减到 0 所需的最小次数,即 $Num(n) \Rightarrow Num(n-x)+1$ 当存在一个 x 使得 (n - x)% 10 = 0 时,那么(n - ......
算法刷题记录:P1518 [USACO2.4]两只塔姆沃斯牛 The Tamworth Two
###题目链接: https://www.luogu.com.cn/problem/P1518 ###题目分析 这道模拟题很典型了,给定了一个**固定的移动方式,去模拟即可**, 该题说:如果牛和农夫永远不会相遇输出0,我没想到很好的方法,不推荐我这样的写法。 算勉强AC吧。 ###AC代码 ``` ......
COMP9417 Machine Learning 机器学习
COMP9417 - Machine LearningHomework 1: Regularized Regression & NumericalOptimizationIntroduction In this homework we will explore some algorithms for ......
CF437E The Child and Polygon
# The Child and Polygon 题解 > 这世界这么大,遇到了这个奇奇怪怪的题。 这道题其实可以很自然的联想到卡特兰数。 在卡特兰数的计数中,有这么一个意义:$C_n$ 表示把有 $n+2$ 条边的凸多边形分成 $n$ 个三角形的方案数。 利用这个意义可以得到 $C_n$ 的另一个递 ......
会议主题:Federated Learning in Healthcare
主题: Federated Learning in Healthcare日期: 2023-06-07 08:47:33录制文件:https://meeting.tencent.com/v2/cloud-record/share?id=ec65d257-69ab-4807-b670-9312fb2a5 ......
The rocketMQTemplate does not exist TransactionListener
rocketmq-starter版本:2.2.1 发送的代码: @Test public void test1() throws Exception { // 事务id String transactionId = UUID.randomUUID().toString(); info(">>> 发送 ......
Vulnhub之Connect The Dots靶机详细测试过程
# Connect The Dots ## 识别目标主机IP地址 ```shell (kali㉿kali)-[~/Desktop/Vulnhub/Connect_the_dots] └─$ sudo netdiscover -i eth1 -r 192.168.56.0/24 Currently s ......
Retrieval of the RSA public key is not enabled for insecure connections.
入职新公司,办理入职、培训、看业务……终于到了跑代码阶段了。遇到一个问题.net Framework链接数据提示RSA 失败或者SSPI失败。 原因不赘述,解决方案两步, 第一使用Navicate链接数据库,选中特定用户,一般上你用哪一个账户选哪一个账户 然后双击用户,改为这个就可以 第二部修改.N ......
mybatis出现Type interface com.louis.dao.xxxMapper is not known to the MapperRegistry.
原因是资源文件没有读取到,在生成的target中没有对应的文件,解决办法: 1、在pom.xml文件中project中添加如下内容: <build> <resources> <resource> <directory>src/main/resources</directory> <includes> ......
Supervised Machine Learning Regression and Classification - Week 1
# 1. 机器学习定义 > Field of study that gives computers the ability to learn without being explicitly programmed. -- Arthur Samuel(1959) ![](https://img2023 ......
关于The JSON value could not be converted to System.DateTime的解决方案
如下json格式提交到后台后报: The JSON value could not be converted to System.DateTime. Path: $.beginTime | LineNumber: 3 | BytePositionInLine: 33. { "beginTime": ......
windows 10 wsl 环境 docker 无法正常启动 -The system cannot find the file specified
错误信息: error during connect: in the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect: Get "ht ......
Kettle连接MySQL报错:Driver class 'org.gjt.mm.mysql.Driver' could not be found, make sure the 'MySQL' driver (jar file) is installed
在Windows系统里面安装kettle后打算连接MySQL的时候突然报错 错误连接数据库 [wanghui] : org.pentaho.di.core.exception.KettleDatabaseException: Error occurred while trying to connec ......
English Learning Articles 2023-06-08 Multiple insomnia symptoms raise stroke risk in people under 50, study says
Multiple insomnia symptoms raise stroke risk in people under 50, study says If you have trouble falling asleep or staying asleep, wake up too early mo ......
The user specified as a definer (‘skip-grants user‘@‘skip-grants host‘) does not exist
该问题是由于导出数据库或备份数据库引起的函数所有者发生变化 解决办法 复制源函数创建语句 删除DEFINER 重新创建 ......
ubuntu 20 permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock:
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/con ......
The first attempt of a MnZn
Prove: If $a > 0$,then $\forall x\in \mathbb R, a(\mathrm e^x+a)-x> 2\ln a+\dfrac32$ Proof: Let $f(x) = a(\mathrm e^x+a)-x$, then $f'(x) = a\mathrm e^ ......
English Learning Articles 2023-06-07 Nonsurgical cat contraception could help curb overpopulation, study says
Nonsurgical cat contraception could help curb overpopulation, study says There are an estimated 600 million domestic cats in the world, and 80% of the ......
nature-deep learning
Title:Deep learning Authors:Yann LeCun Yoshua Bengio & Geoffrey Hinton doi:10.1038/nature14539 # 1. 概述 使用多处理层学习数据不同层次的抽象表示,在语音识别、视觉识别、目标检测,以及药物发明、基因学等 ......