cynorr

Learn what I touched.

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2015年4月27日

摘要: ###一.搭建LAMP框架---1.编译安装libxml2```# yum install libxml2* -y```2.编译安装apache``` httpd-2.2.6.tar.gz 文末附github打包链接# tar -zxvf httpd-2.2.6.tar.gz # cd http... 阅读全文
posted @ 2015-04-27 20:29 cynorr 阅读(652) 评论(0) 推荐(0) 编辑

2015年4月26日

摘要: ###参考http://blog.csdn.net/hualichenxi123/article/details/7709547http://blog.csdn.net/huoyunshen88/article/details/19083299http://www.linuxdiyf.com/bbs... 阅读全文
posted @ 2015-04-26 19:44 cynorr 阅读(191) 评论(0) 推荐(0) 编辑

2015年4月25日

摘要: #配置JDK---**1.下载JDK文件**从oracle下载JDK8: [Click Here](http://www.oracle.com/technetwork/java/javase/downloads/index.html)选择压缩包形式,即以 " .tar.gz" 结尾的文件。例如:jd... 阅读全文
posted @ 2015-04-25 10:01 cynorr 阅读(223) 评论(0) 推荐(0) 编辑

2015年4月24日

摘要: #简介---github是备份工作记录的优秀工具,工作机制比较复杂,但是使用却非常简单。github相当于文件备份的云,其上传操作和云的同步功能类似,下载和普通下载类似。上传工作原理如下图。![](http://7xjfxk.com1.z0.glb.clouddn.com/github.png)> ... 阅读全文
posted @ 2015-04-24 10:19 cynorr 阅读(1461) 评论(0) 推荐(0) 编辑

摘要: Add 'GB18030' to gedit---As we all known, we just can see the wrong types when we open some Chinese files, whose coding is GB18030. GB18030 is the cod... 阅读全文
posted @ 2015-04-24 10:18 cynorr 阅读(255) 评论(0) 推荐(0) 编辑

2015年4月23日

摘要: 五个输出文件:---* model-final.towords每个topic下面的words和words分布,并按分布排序:```1Topic 0th: bill 0.005843543826578699 lai 0.003958529688972668 seventh 0.002073515551... 阅读全文
posted @ 2015-04-23 21:17 cynorr 阅读(210) 评论(0) 推荐(0) 编辑

摘要: ### 1.偏文、偏理的故事---某学校高一年级有6个班级,每个班级各有一定数量的学生,3班有几个同学数学成绩很好,拿过省奥赛奖。现在教育局要来该校听数学课,学校应该安排听课老师听哪个班的课?显然是3班,因为3班有几个数学特别厉害的同学,所以3班数学强一点,至少看起来数学强一点.这里,我们把... 阅读全文
posted @ 2015-04-23 21:16 cynorr 阅读(659) 评论(0) 推荐(0) 编辑

摘要: ##Introduce ---PolyLDA is the shorthand of Polylingual LDA . PolyLDA assumes that a single document has words in multiple languages , but each documen... 阅读全文
posted @ 2015-04-23 21:15 cynorr 阅读(295) 评论(0) 推荐(0) 编辑

摘要: ###摘要--- 1、STL的map底层是用红黑树实现的,查找时间复杂度是log(n); 2、STL的hash_map底层是用hash表存储的,查询时间复杂度是O(1); 3、什么时候用map,什么时候用hash_map? 这个要看具体的应用,不一定常数级别的hash_map... 阅读全文
posted @ 2015-04-23 21:14 cynorr 阅读(256) 评论(0) 推荐(0) 编辑

摘要: ### Map can't be sorted by valueMap can't be sorted by value , so that we can change map to *List* and then sort the list .###Collections.sort( List l... 阅读全文
posted @ 2015-04-23 21:03 cynorr 阅读(188) 评论(0) 推荐(0) 编辑