'\n'.join(' '.join(cols[i] + ':' + str(a[i]) for i in range(len(cols)-1)) for a in rows) + '\n' + str(len(rows)) + ' records found!\n' ...
分类:
其他好文 时间:
2018-10-07 21:29:53
阅读次数:
225
mugo是一个开源围棋程序开源地址https://github.com/brilee/MuGo下载代码之后安装依赖注意安装gtp要使用命令pipinstallpygtp不是pipinstallgtp否则后来会报错显示没有engine然后下载棋谱https://u-go.net/gamerecords/下载下来之后放到一个目录执行pythonmain.pypreprocessdata这个data就是
分类:
其他好文 时间:
2018-09-30 13:02:29
阅读次数:
502
1. 核心概念 StreamingContext Create StreamingContext StreamingContext的构造函数 batch interval 可以根据你的应用程序需求的延迟要求以及集群可用的资源状况来设置 创建StreamingContext可以做什么? 1. Defi ...
分类:
其他好文 时间:
2018-09-23 13:50:25
阅读次数:
168
NAME time - This module provides various functions to manipulate time values. DESCRIPTION There are two standard representations of time. One is the n ...
分类:
其他好文 时间:
2018-09-13 14:00:48
阅读次数:
169
本文主要是想聊聊flink与kafka结合。当然,单纯的介绍flink与kafka的结合呢,比较单调,也没有可对比性,所以的准备顺便帮大家简单回顾一下Spark Streaming与kafka的结合。 看懂本文的前提是首先要熟悉kafka,然后了解spark Streaming的运行原理及与kafk ...
分类:
其他好文 时间:
2018-09-11 14:03:58
阅读次数:
188
1. kafka介绍 1.1. 主要功能 根据官网的介绍,ApacheKafka®是一个分布式流媒体平台,它主要有3种功能: 1:It lets you publish and subscribe to streams of records.发布和订阅消息流,这个功能类似于消息队列,这也是kafka ...
分类:
其他好文 时间:
2018-09-06 16:15:10
阅读次数:
212
添加主键mysql>altertableinfoaddprimarykey(id);QueryOK,0rowsaffected(0.07sec)Records:0Duplicates:0Warnings:0mysql>descinfo;#查看主键+--------+--------------+------+-----+---------+-------+|Field|Type|Nul
分类:
数据库 时间:
2018-09-02 20:53:54
阅读次数:
204
手册中的基本命令: CONFIGURE TOOLING Configure user information for all local repositories Sets the name you want attached to your commit transactions Sets the ...
分类:
其他好文 时间:
2018-09-02 20:18:20
阅读次数:
163
有些词可能共用一些缩写。带星号的缩写或词来源于PeopleSoft标准。 The following standard word abbreviations should be used in naming records, fields, and SQRs: ...
分类:
其他好文 时间:
2018-09-01 12:20:28
阅读次数:
176
1. 去掉cxGrid中台头的Box 解决:在tableview1的optionsview的groupbybox=false; 2.统计功能 解决:(1) tableview 1. tableview1的optionsviewfooter=ture 2.然后在cxGRid1的customize..中 ...
分类:
其他好文 时间:
2018-08-29 17:59:12
阅读次数:
179