The count-and-say sequence is the sequence of integers beginning as follows:
1, 11, 21, 1211, 111221, ...
1 is read off as "one
1" or 11.
11 is read off as "two
1s" or 21.
21 is read off as ...
分类:
其他好文 时间:
2015-01-12 09:20:44
阅读次数:
137
本文详细讲解Shuffle Read的整个过程,包括如何获得Block的元数据信息,进行网络,本地读取。通过一个整体的流程架构图,详细大家可以对整个过程有一个更加深刻的把握...
分类:
其他好文 时间:
2015-01-12 09:19:08
阅读次数:
197
虚拟文件系统(virtual file system),别名虚拟文件系统开关,是linux中的一个软件层,向用户空间提供文件系统操作接口。 VFS包含的系统调用包括open(2)、stat(2)、read(2)、write(2)、chmod(2)等等,这些系统调用在进程环境中执行。下面几个重要...
分类:
系统相关 时间:
2015-01-11 12:11:26
阅读次数:
267
fastcgi调优(配合PHP引擎动态服务)fastcgi_connect_timeout300;#指定连接到后端FastCGI的超时时间fastcgi_send_timeout300;#向FastCGI传送请求的超时时间,这个值是指已经完成两次握手后向FastCGI传送请求的超时时间。fastcgi_read_timeout300;#指定接收FastCGI应答的超时时..
分类:
Web程序 时间:
2015-01-11 09:48:04
阅读次数:
164
今天服务器上传大文件,服务器php一直没有响应,响应为0KB,经排查发现是lighttpd的超时设置问题server.max-keep-alive-idle = 5server.max-read-idle = 60server.read-timeout = 0server.max-connectio...
分类:
Web程序 时间:
2015-01-10 13:50:18
阅读次数:
175
条件语句 1 #!/bin/bash 2 3 read -p "input your name:" name 4 #第一种判断 5 if [ "$name" == "Mike" ]; then #注意这里用 [... ]比较两个字符串时,变量 $name 加引号,并且 "==" 两边有空格;"[.....
分类:
系统相关 时间:
2015-01-10 12:25:48
阅读次数:
290
目录什么是静态常量(Const)和动态常量(Readonly)静态常量(Const)和动态常量(Readonly)之间的区别动态常量(Readonly)被赋值后不可以改变总结什么是静态常量(Const)和动态常量(Readonly) 先解释下什么是静态常量(Const)以及什么是动态常量(Read....
错误提示:“Unable to check out the current file. The file may be read-only or locked, or you may need to check out the file manually.”解决方案:run Visual Studi...
分类:
其他好文 时间:
2015-01-09 19:09:49
阅读次数:
187
Hibernate understands both the Java and JDBC representations of application data. The ability to read and write object data to a database is called ma...
分类:
Web程序 时间:
2015-01-09 17:06:06
阅读次数:
868
这是本人在研究leetcode中Median of Two Sorted Arrays一题目的时候看到一篇文章,觉得非常好,其中对快速排序重新实现。
文章来源于http://www.geeksforgeeks.org/这个网站。
We recommend to read following post as a prerequisite of this post.
K’th Sma...
分类:
其他好文 时间:
2015-01-09 10:45:54
阅读次数:
189