这里所有算子均只适用于pairRDD。pairRDD的数据类型是(k,v)形式的键值对; PartitionBy(Partitioner) 对pairRDD进行分区操作,如果原有的partioner和现有的partioer是一致的话就不进行分区, 否则会生成ShuffleRDD,即会产生shuffl ...
分类:
其他好文 时间:
2020-02-24 19:02:26
阅读次数:
96
PBA基于《商业分析实践指南》,是PMI基本标准的一个补充,提供有关如何将有效的商业分析实践应用于项目集和项目的指导,以实现成功的商业成果。对商业分析学科感兴趣并致力于实践的组织和从业者提供了以下指导:1.了解商业分析技术,由经验丰富的商业分析专家和从业人员定义和解释。2.描述了这些技术和实践如何使用,并包括许多具体的实例。3.思考哪些实践和技术适用于自己的组织。4.思考在不影响他们所支持的商业分
分类:
其他好文 时间:
2020-02-24 19:02:53
阅读次数:
93
一、React生命周期 React 生命周期分为三种状态 1. 初始化 2.更新 3.销毁 初始化 1、getDefaultProps() 设置默认的props,也可以用dufaultProps设置组件的默认属性. 2、getInitialState() 在使用es6的class语法时是没有这个钩子 ...
分类:
其他好文 时间:
2020-02-24 19:03:11
阅读次数:
83
前两天给 Ice 加了 call/cc, 为此还重构了一波, 实现 call/cc 还是因为看了轮子哥的大专系列( 里边说提供 continuation 语言实现 Coroutine 起来很轻松, 后来又查了一些资料, 都说 continuation 表达能力很强, 就实现了一手, 调用方式完全等同 ...
分类:
其他好文 时间:
2020-02-24 19:03:27
阅读次数:
74
linux软件包或系统镜像从国内下载速度通常比国外的快,找到一些下载的链接,记录在此,备忘。 GNU官方(https://www.gnu.org/prep/ftp.html)推荐的高校服务器: China https://mirrors.ustc.edu.cn/gnu/ http://mirrors ...
分类:
其他好文 时间:
2020-02-24 19:03:42
阅读次数:
113
水题。 #include<iostream> using namespace std; int main() { int t,k,n1,b,tt,n2; cin>>t>>k; for(int i = 0; i < k; ++i) { cin>>n1>>b>>tt>>n2; if(tt > t) { ...
分类:
其他好文 时间:
2020-02-24 19:04:17
阅读次数:
71
一、tcpdump常用选项 参考:https://www.cnblogs.com/maifengqiang/p/3863168.html 1、tcpdump关键字 第一种是关于类型的关键字,主要包括host,net,port, 例如 host 210.27.48.2,指明 210.27.48.2是一 ...
分类:
其他好文 时间:
2020-02-24 20:09:33
阅读次数:
95
Git 远程仓库(Github) 什么是 Github? github是一个基于git的代码托管平台,付费用户可以建私人仓库,我们一般的免费用户只能使用公共仓库,也就是代码要公开。 注册账户以及创建仓库 要想使用github第一步当然是注册github账号了, github官网地址:https:// ...
分类:
其他好文 时间:
2020-02-24 20:09:47
阅读次数:
76
```cpp #include #include #include //智能指针总结: /* */ void sharedPtrNotice(); class Parent; typedef std::shared_ptr ParentPtr; typedef std::weak_ptr WeakP... ...
分类:
编程语言 时间:
2020-02-24 20:10:34
阅读次数:
106
这是一道 模板题。直接背步骤,写代码。。。。 #include<iostream> #include<algorithm> using namespace std; const int maxn = 100010; struct Node { //第一步:定义静态链表 int address,nex ...
分类:
其他好文 时间:
2020-02-24 20:10:52
阅读次数:
55
tf.nn.l2_loss()与tf.contrib.layers.l2_regularizerd()都是TensorFlow中的L2正则化函数,tf.contrib.layers.l2_regularizerd()函数在tf 2.x版本中被弃用了。 两者都能用来L2正则化处理,但运算有一点不同。 ...
分类:
其他好文 时间:
2020-02-24 20:11:23
阅读次数:
387
1 选择文件(OpenFileDialog) OpenFileDialog dialog = new OpenFileDialog(); //dialog.Multiselect = true;//该值确定是否可以选择多个文件 // dialog.Title = "请选择文件"; //dialog. ...
摘自 b站尚硅谷JAVA视频教程 ...
分类:
编程语言 时间:
2020-02-24 20:12:20
阅读次数:
80
一、建立一个项目的目录 在目录命令行中 npm init -y会在目录中产生一个文件package.json 二、安装React,react.development.js npm i react --save (或yarn add react) 会在目录中有一个node_modules目录, 找到r ...
分类:
其他好文 时间:
2020-02-24 20:12:54
阅读次数:
79
'''1 while循环的基本语法while 条件: 子代码1 子代码2 子代码3count=0while count < 5: # 5 < 5 print(count) count+=1 # count=5print(' end ')2、死循环:循环永远不终止,称之为死循环count=0while ...
分类:
其他好文 时间:
2020-02-24 20:13:11
阅读次数:
83
概述 在使用Spring Boot的时候我们经常使用actuator,健康检查,bus中使用/refresh等。这里记录如何使用注解的方式自定义Endpoint。可用于满足一些服务状态监控,或者优雅停机等。 准备 Spring Boot项目,pom中加入: 编写自定义Endpoint 1.配置 2. ...
分类:
编程语言 时间:
2020-02-24 20:14:02
阅读次数:
219
```cpp #include #include #include //#include //c++ 98 static void vectorPart() { //vector 是c++98中引入的动态数组(dynamic array) //namespace std { //template> ... ...
分类:
编程语言 时间:
2020-02-24 20:14:20
阅读次数:
95
源代码: # coding=utf-8 import requests from lxml import etree class ChaxunSpdier: def __init__(self): self.start_url = 'http://111.40.232.237:9000/eoms35 ...
分类:
其他好文 时间:
2020-02-24 20:14:37
阅读次数:
105
listener.ora设置特定的网络地址:0.0.0.0,127.0.0.1(localhost),nic_ip1, nic_ip2 ... listener.ora设置特定的网络端口:肯定不是1521了 sqlnet.ora设置基本的黑白名单检查:tcp.validnode_checking=y ...
分类:
数据库 时间:
2020-02-24 20:15:00
阅读次数:
92
线性基是极小的能异或出任意元素异或出来的值的集合. 线性基可以合并,不是很可以支持删除,但看过相关的博客好像有神仙可以. 删除可以弄存活区间然后线段树. 设线性基中有i个元素,那么共有$2^i$种异或值,每种值出现了$2^{n i}$次. 异或值最大就从高位往低位贪心选取,如果当前答案没有这一位就异 ...
分类:
其他好文 时间:
2020-02-24 20:15:11
阅读次数:
68