2015年8月15日

个人收藏

摘要: 关于算法http://www.cnblogs.com/yangecnu/category/548373.htmlscalahttp://www.scala-lang.org/documentation/FCM 算法FCM算法的全称是模糊C均值聚类算法,和K-means算法同属于聚类算法http://... 阅读全文

posted @ 2015-08-15 18:45 Eric.He.yeah 阅读(103) 评论(0) 推荐(0) 编辑

2015年6月11日

Thrift 和 Protocol Buffer

摘要: 先占个位,明天再写。 阅读全文

posted @ 2015-06-11 20:31 Eric.He.yeah 阅读(214) 评论(0) 推荐(0) 编辑

构造函数私有化

摘要: 构造函数私有化。在单例模式中将构造函数私有化,可以保证只能被当前类实例,控制实例个数。 阅读全文

posted @ 2015-06-11 20:30 Eric.He.yeah 阅读(149) 评论(0) 推荐(0) 编辑

do while(0) 的几种用法

摘要: do while(0) 的三种用法一、和break一起使用。避免使用goto语句来减少代码冗余。二、在宏定义中,do while中的大括号可以将do 后面的语句限定到一个域内,避免宏使用时的编译错误。三、声明一个空宏。今天太累了,改天具体补充。 阅读全文

posted @ 2015-06-11 20:29 Eric.He.yeah 阅读(521) 评论(0) 推荐(0) 编辑

2013年5月13日

Ubuntu 12.10+ns-2.34安装

摘要: 之前装了N个版本的ns2,cygwin+ns2.35,fedora+ns2.35,cygwin+ns2.28,cygwin+ns2.30,安装都很顺利,但是运行例程wireless-dsdv-newnode.tcl时都显示一个错误: num_nodes is set 50 (_o16 cmd li... 阅读全文

posted @ 2013-05-13 14:08 Eric.He.yeah 阅读(487) 评论(0) 推荐(0) 编辑

安装Ubuntu后

摘要: Ubuntu wiki:http://wiki.ubuntu.org.cn/%E6%BA%90%E5%88%97%E8%A1%A8关于更新源(source.list_backup_2013_5_13):#deb cdrom:[Ubuntu 12.10 _Quantal Quetzal_ - Release i386 (20121017.2)]/ quantal main restricted# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to# newer versions of the distri 阅读全文

posted @ 2013-05-13 13:56 Eric.He.yeah 阅读(193) 评论(0) 推荐(0) 编辑

2011年11月28日

linux内核启动过程

摘要: 今天去图书馆待了一晚,在一本书上看到了PC的启动过程的讲解。 首先,电脑加电后cpu开始自身初始化,然后从某个固定位置(一般为0xFFFFFFF0)取指令开始执行,此指令为跳转指令,跳转到BIOS代码首部。BIOS开始加电自检进行POSIX(power on self test),此阶段完成系统硬件... 阅读全文

posted @ 2011-11-28 21:58 Eric.He.yeah 阅读(846) 评论(0) 推荐(1) 编辑

2011年11月22日

vimrc.local 备份

摘要: vim 配置文件 阅读全文

posted @ 2011-11-22 12:26 Eric.He.yeah 阅读(281) 评论(0) 推荐(0) 编辑

2011年11月9日

linux 内核加载问题

摘要: 有关linux内核加载中模块调用的问题 阅读全文

posted @ 2011-11-09 13:34 Eric.He.yeah 阅读(651) 评论(1) 推荐(1) 编辑

导航