2015-08-22 刘太华
工厂类回收资源和夸线程回调时对象是否还存在判断 虽然大多数逻辑都在单线程里实现, 但是不能避免的是一些IO阻塞类型逻辑, 不得不放入子线程里执行,当IO完成后boost:bind(callback, arg1, arg2 ...) 放入主线程队列内执行callback, 但是问题是,假如callback指向的对象函数的对象, 已经销毁了, 这时候就无法判断对象是否还存在了,不判断就会core dump. 继续阅读 »
2017-02-15 Lu Huang
来源于 tensorflow.org,源码在 这里。这是为 TensorFlow 和机器学习初学者定制的 tutorial。 继续阅读 »
2014-06-26 Kun Ren
In recent years, non-relational data have attracted more and more attentions. Roughly speaking, all datasets that are hard to put into a rectangular table with rows and columns are non-relational datasets. 继续阅读 »
2015-12-16 Klaus Ma
Description: The target of this JIRA is to offer the allocation slack resources to the framework. Here're the key points of this design: 继续阅读 »
2016-12-14 Shawn Ng
window.location.href = "https://www.zybuluo.com/ShawnNg/note/579387" 继续阅读 »
2016-07-19 ruki
xmake will automatically detect the system environment and create the most appropriate configuration to compile project when building a program Usually we only need to run: bash $ xmake And it will not re-generate configuration if the project description has not changed. But we can also modify configuration manual 继续阅读 »
2017-06-05 Lu Huang
sge
做语音的人很多都会用到的 kaldi,而在 kaldi 里使用最多的并行计算环境是 Sun Grid Engine(SGE),本人也在自己的服务器上部署了 SGE 环境。 部署 SGE 在管理节点上 shell $ sudo apt-get install gridengine-master gridengine-client 增加管理员(am=add manager) $ sudo qconf -am 删除管理员(dm=delete manager) $ sudo qconf -dm 显示所有管理员(sm=show manager) $ sudo qconf -sm 在所有计算节点上(管理节点 继续阅读 »
2017-02-08 Lu Huang
昨天在用sudo apt-get install XXX安装软件包的时候出现了下面所示的错误。 shell E: Sub-process /usr/bin/dpkg returned an error code (1) 继续阅读 »
2017-02-07 Borg
Replication Why replication? high availability (when server failure occurs) durability scaling in some situations disaster recovery 继续阅读 »
2014-10-23 Xie Jingyi
鉴于U盘中Sublime的配置常常莫名其妙地消失,在此将其记录一下。 Code { "cmd": ["fpc", "-S2", "${file}", "-o${file_path}/${file_base_name}.exe"], "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", "working_dir": "${file_path}", "selector": "source.pascal", "variants": [ { "name": "Run", "c 继续阅读 »