子敬正在创造自己的人生
需求有轻重缓急,功能有可控不可控。 需求有版本有截止(否则会无休无止),功能不可控变为可控。 集中兵力消灭敌人有生力量,集中优势兵力消灭敌人有生力量。
02 2014 档案
schema in oracle
摘要:the conception of schema is different in different db software.here i just refer to oracle schema。following is quote from "http://docs.oracle.com/cd/B19306_01/server.102/b14200/sql_elements007.htm"schema conception:Schema ObjectsAschemais a collection of logical structures of data, or sche 阅读全文
posted @ 2014-02-28 11:05 silentjesse 阅读(393) 评论(0) 推荐(0)
git命令
摘要:git remote add local_proj /opt/git/project.git 给项目添加新远程服务器地址git clone/opt/git/project.git local_proj一个本地项目与git相结合有两种情况:1、先有本地项目,然后再将项目push到git服务器上这种情况下,如果你要将项目push到git服务器上,那要怎么办?办法是:给项目添加远程服务器地址,这时就可以使用命令git remote add abbrname https://opt/git/project.git 这命令的意思是添加一个远程git服务器A,A的url为https://opt/git/p 阅读全文
posted @ 2014-02-25 14:47 silentjesse 阅读(2851) 评论(0) 推荐(0)
关于java之socket输入流输出流可否放在不同的线程里进行处理
摘要:2014年2月20日到叫(黑土)(人士)的公司去面试,一家新成立的公司。刚去公司是他们新聘请的猎头A来面试我的,A面试完之后是一个号称X总的年轻人来面试我,初一见此人有点邋遢,穿着西装。X:"你以前有做过地图?"(我简历上有写)我:"是的,在地图上做过增值"X:"你以前也做过socket,那你socket怎么样?"我:"还行"X:"如果100w的数据怎么发送?"当时我被他这么一问,问闷了。我也没多想就回答:"100w的话做长连接吧"X:"长连接很耗电?"我 阅读全文
posted @ 2014-02-23 22:19 silentjesse 阅读(4354) 评论(2) 推荐(0)
JavaScript 闭包
摘要://JavaScript闭包var array = [1, 2, 3];var funcs = new Array(3);for (var i in array) { var tmp = array[i]; funcs[i] = function () { return tmp; }} alert(funcs[0]());会输出3!原因是JavaScript中函数中的所有变量声明作用域都是在整个函数中的。因此这个tmp就是这个函数域中的全局变量,当for循环运行完毕后,tmp就是3了。funcs数组中的所有函数对象返回值都会是3。那么怎样解决JavaScript... 阅读全文
posted @ 2014-02-12 13:45 silentjesse 阅读(191) 评论(0) 推荐(0)
parameter "timeout" in socketchannel does not work
摘要:// Accept the connection and make it non-blocking SocketChannel socketChannel = serverSocketChannel.accept(); Socket socket = socketChannel.socket(); //socket.setSoTimeout(1000*10);//it will be timeout if idle more than 10s //after testing, i found the parameter in socket... 阅读全文
posted @ 2014-02-11 10:36 silentjesse 阅读(346) 评论(0) 推荐(0)