// 创建thin pool
// 调用路径:NewDeviceSet->initDevmapper->createPool
1.1 func createPool(poolName string, dataFile, metadataFile *os.File, poolBlockSize uint32) error {
//通过task封装与libdevmapper的交互
task, er...
分类:
移动开发 时间:
2014-07-26 02:45:06
阅读次数:
297
权威专家对酵素的评论 他说:“每个人的一生所能制造的酵素总量是有限的,这就是“潜在酵素”,就像银行存款,只提取不存入,很快就会用完,而体内酵素被用完,生命也就将终结。” 爱德华·哈威尔 ——酵素营养学之父 新谷弘实 ——全球首席肠胃科医师、内窥镜发明人 减少浪费酵素的生活行为,增加酵...
分类:
其他好文 时间:
2014-07-26 00:00:06
阅读次数:
252
本文翻译自2007-To recognize shapes, first learn to generate images, Geoffrey Hinton.第五种策略的设计思想是使得高层的特征提取器能够和底层的进行通信, 同时可以很容易地使用随机二态神经元的分层网络来实现.这些神经元的激活概率是关...
分类:
其他好文 时间:
2014-07-25 16:41:21
阅读次数:
597
===== 为Xen虚拟机扩容根文件系统(LVM) =====1. 增加1个4G的映像文件# dd if=/dev/zero of=data.img bs=4k seek=1024k count=12. 更改虚拟机配置:disk = [ "tap:aio:/xen_images/xen_centos...
分类:
其他好文 时间:
2014-07-25 16:40:41
阅读次数:
536
// thin device数据结构
type DevInfo struct {
Hash string `json:"-"`
DeviceId int `json:"device_id"`
Size uint64 `json:"size"`
TransactionId uint64 `json:"tran...
分类:
移动开发 时间:
2014-07-25 11:02:35
阅读次数:
549
一直不知道差分约束是什么类型题目,最近在写最短路问题就顺带看了下,原来就是给出一些形如x-y,=k的标准形式注意点:1. 如果要求最大值想办法把每个不等式变为标准x-yx-y=k的标准形式,然后建立一条从y到x的k边,求出最长路径即可2.如果权值为正,用dj,spfa,bellman都可以,如果为负...
分类:
其他好文 时间:
2014-07-25 02:16:04
阅读次数:
195
You can use your robot to send real-time video images, and this could be a very interesting DIY robotic application. In this article, we make an overview of three possible ways for real-time streaming...
分类:
移动开发 时间:
2014-07-24 23:39:43
阅读次数:
634