题目描述 4X概念体系,是指在PC战略游戏中一种相当普及和成熟的系统概念,得名自4个同样以“EX”为开头的英语单词。 eXplore(探索) eXpand(拓张与发展) eXploit(经营与开发) eXterminate(征服) ——维基百科 今次我们着重考虑exploit部分,并将其模型简化: ...
分类:
其他好文 时间:
2017-09-19 00:13:07
阅读次数:
162
(1)、maxHttpHeaderSize=”8192” 此选项用于配置:来自于客户端请求的Request和Response的HTTP header 的最大长度,以字节计算。如果不设置,该属性为4096(4K)。 (2)、maxThreads="512" Connector创建的请求处理线程的最大值 ...
分类:
其他好文 时间:
2017-09-18 14:47:07
阅读次数:
195
Python实现文件的操作: 读写一个文件之前需要打开它: fileobj = open(filename, mode) open()调用参数的解释: * fileobj是open()返回的文件对象; * filename是该文件的字符串名; * mode是指明文件类型和操作的字符串 mode : ...
分类:
编程语言 时间:
2017-09-18 00:29:22
阅读次数:
219
K-DSN 深度堆叠网络 Random Features for Large-Scale Kernel Machines To accelerate the training of kernel machines, we propose to map the input data to a rand ...
分类:
其他好文 时间:
2017-09-18 00:24:58
阅读次数:
215
Given an array consisting of n integers, find the contiguous subarray of given length k that has the maximum average value. And you need to output the ...
分类:
其他好文 时间:
2017-09-17 16:27:05
阅读次数:
116
You are given an integer array sorted in ascending order (may contain duplicates), you need to split them into several subsequences, where each subseq ...
分类:
编程语言 时间:
2017-09-15 13:33:12
阅读次数:
708
前些天拿到一个表,将近有4000w数据,没有任何索引,主键。(建这表的绝对是个人才) 这是一个日志表,记录了游戏中物品的产出与消耗,原先有一个后台对这个表进行统计。。。。。(这要用超级计算机才能统计得出来吧),只能帮前人填坑了。。。。 数据太大,决定用分区来重构。 如果你发现是empty,说明你的m ...
分类:
数据库 时间:
2017-09-14 16:41:17
阅读次数:
188
$or与索引关系: 对leftT集合的timestamp创建索引 执行$or语句:db.leftT.find({$or: [{ "timestamp" : 5},{"age": 10}]}).explain(true),发现没有使用任何索引 对age再创建索引 重新再次查看查询计划: 索引被使用了。 ...
分类:
数据库 时间:
2017-09-13 23:11:24
阅读次数:
284
一:标签分类 标签分为两类:块级标签和行内标签 常用行内标签:a,span,select等 常用块级标签:div,h1,p等 二:各种标签 1)各种符号 比如 > < 要想空格大于两个以上,可以使用 http://www.cnblogs.com/web-d/arc ...
分类:
Web程序 时间:
2017-09-13 22:09:04
阅读次数:
305