平时格式化时间的时候一般都是用的yyyy-MM-dd ,年份都是小写y。最近看很多技术公众号上在发YYYY和yyyy的区别,特此总结一下: 上代码,一目了然 执行结果如下: 注意上面标出的部分,发现2019-12-31 转化之后竟然变为了 2020年。 查看SimpleDateFormat 的API ...
分类:
其他好文 时间:
2020-01-15 23:22:00
阅读次数:
86
报错明细: error: RPC failed; curl 18 transfer closed with outstanding read data remaining 方案一: 究其原因是因为curl的postBuffer的默认值太小,我们需要调整它的大小,在终端重新配置大小。 设置命令:git ...
分类:
Web程序 时间:
2020-01-12 20:14:09
阅读次数:
77
在python数据分析的学习和应用过程中,经常需要用到numpy的随机函数,由于随机函数random的功能比较多,经常会混淆或记不住,下面我们一起来汇总学习下。 import numpy as np 1 numpy.random.rand() numpy.random.rand(d0,d1,…,dn ...
分类:
其他好文 时间:
2020-01-11 15:26:32
阅读次数:
123
一、稠密矩阵分解 方法有PartialPivLU、FullPivLU、HouseholderQR、ColPivHouseholderQR、FullPivHouseholderQR、CompleteOrthogonalDecomposition、LLT、LDLT、BDCSVD、JacobiSVD、 以 ...
分类:
其他好文 时间:
2020-01-10 15:36:01
阅读次数:
83
什么时候需要调节Executor的堆外内存大小? 当出现一下异常时: shuffle file cannot find,executor lost、task lost,out of memory 出现这种问题的现象大致有这么两种情况: 上述情况下,就可以去考虑调节一下executor的堆外内存。也许 ...
分类:
其他好文 时间:
2020-01-10 12:34:38
阅读次数:
91
更多用于练习劈斩的矮人。哈! 简介 if cleave isReady ,(如果劈斩准备就绪了)那就使用它! else attack (否则攻击)最近的敌人! 默认代码 # 矮人正在攻击! # 攻击会有规律的一波波袭来。 # 可以的话,使用劈斩来清理大量敌人。 while True: enemy = ...
分类:
其他好文 时间:
2020-01-10 10:36:16
阅读次数:
86
Basic, Agile, Scrum, and CMMI The default processes differ mainly in the work item types (WITs) they provide for planning and tracking work. Basic is ...
分类:
其他好文 时间:
2020-01-09 10:40:48
阅读次数:
107
#include <bits/stdc++.h> #include<math.h> using namespace std; const int MAX_LEN = 100005; //const int MAX_D = 31; struct student{ int number; int fir ...
分类:
编程语言 时间:
2020-01-05 12:02:00
阅读次数:
72
Verilog 进击之路 - 夯实基础第一节之结构化设计 随着数字电路设计的复杂化和专业化,传统的电路设计逐渐没落,Verilog HDL逐渐走入历史舞台。好多人并不是不会Verilog,而是缺乏细致的了解。最近一直在看 A Guide to Digital Deisgn and Synthesis ...
分类:
其他好文 时间:
2020-01-04 12:53:02
阅读次数:
89
#include <iostream> using namespace std; int main(){ cout << "Hello World!" << endl; return 0;}/** * @brief command * 0:串口输出频率设置 * 1:串口波特率设置 * 2:模块地址设 ...
分类:
其他好文 时间:
2020-01-02 15:55:04
阅读次数:
88