yourmagicsearchengine.blogspot.com
Yichuan Cai 's technique blog: 二月 2007
http://yourmagicsearchengine.blogspot.com/2007_02_01_archive.html
Yichuan Cai 's technique blog. Let's waste time, chasing dream. Eclipse 开发环境的调试功能总结(ZZ). 转载自 http:/ www.javaeye.com/article/799. Yichuan Cai's home page. 是一个开源Java 实现的搜索引擎。它提供了我们运行自己的搜索引擎所需的全部工具。可以为什么我们需要建立自己的搜索引擎呢?毕竟我们已经有google可以使用。这里我列出3点原因:. 是开放源代码的,因此任何人都可以查看他的排序算法是如何工作的。商业的搜索引擎排序算法都是保密的,我们无法知道为什么搜索出来的排序结果是如何算出来的。更进一步,一些搜索引擎允许竞价排名,比如百度,这样的索引结果并不是和站点内容相关的。因此 Nutch. 对学术搜索和政府类站点的搜索来说,是个好选择。因为一个公平的排序结果是非常重要的。 对搜索引擎的理解:我们并没有google的源代码,因此学习搜索引擎 Nutch. 的过程中,从学院派和工业派借鉴了很多知识:比如: Nutch. 65311;最简单的回答是:如果...
yourmagicsearchengine.blogspot.com
Yichuan Cai 's technique blog: see all running process in Linux
http://yourmagicsearchengine.blogspot.com/2010/07/see-all-running-process-in-linux.html
Yichuan Cai 's technique blog. Let's waste time, chasing dream. See all running process in Linux. Ow do I see all running process in Linux? Type the following ps command. To display all running process:. A: select all processes. A: select all processes on a terminal, including those of other users. X: select processes without controlling ttys. Task: see every process on the system. Yichuan Cai's home page. 订阅: 帖子评论 (Atom). 欢迎使用MSN spaces朋友圈挖掘软件(1。0 Beta版). Please input your name or nick name.
yourmagicsearchengine.blogspot.com
Yichuan Cai 's technique blog: 七月 2009
http://yourmagicsearchengine.blogspot.com/2009_07_01_archive.html
Yichuan Cai 's technique blog. Let's waste time, chasing dream. MinPath =m.subList(0, 0);. Java' s List class even can not initialize with the templete, feeling weird about it. Yichuan Cai's home page. My sql database population. 1 add bar as the database or table name. Yichuan Cai's home page. 订阅: 帖子 (Atom). 欢迎使用MSN spaces朋友圈挖掘软件(1。0 Beta版). Please input your name or nick name. 推荐大家使用firefox吧, 比IE更安全,快捷. My sql database population. Yichuan Cai's home page.
yourmagicsearchengine.blogspot.com
Yichuan Cai 's technique blog: 四月 2007
http://yourmagicsearchengine.blogspot.com/2007_04_01_archive.html
Yichuan Cai 's technique blog. Let's waste time, chasing dream. 谈谈Web Mining研究者掌握动态脚本语言的必要性发信站: 水木社区 (Fri Mar 23 17:58:30 2007),. 站内自己平时很喜欢在闲暇时学习一些新的计算机语言,它使我对计算机的兴趣不至于在书写各种申报材料和论文中完全泯灭。特别是在我把工作平台转向Linux后,学习各种开源语言更成为自己掌握在Linux下工作的一种必然选择,除了C/C 、JAVA、C#这些主流开发语言外,我尤其对Perl、Python和Ruby这样的动态脚本语言情有独衷,这里特别谈谈自己在学习它们的过程中的一些体会。 第一次接触Perl语言是自己在作WebMining研究时从CMU大学的著名网页数据集Web-KB开始的,它的代码里有一些Perl语言脚本,往往几行代码就能完成JAVA这样的开发语言几十行代码才能完成的任务...所有开源的第三方软件包分门别类地集中存储,如果你愿意,也可以把自己开发的觉的有价值的软件包与全世界共享。JAVA虽然有J...我认为学习像perl这样的脚本语言对...
yourmagicsearchengine.blogspot.com
Yichuan Cai 's technique blog: 大数阶乘
http://yourmagicsearchengine.blogspot.com/2010/07/blog-post.html
Yichuan Cai 's technique blog. Let's waste time, chasing dream. 大数的操作问题,用基本的数据类型都有溢出的风险。在此,介绍一种比较好的思路,来计算大数的阶乘,比如。100! Int fac[1000];/ 暂且先设定是1000位,我称之为“结果数组”. Int add[1000];/ 我称之为“进位数组”. 比如说,一个数5的阶乘是120,那么我就用这个数组存储它:. 现在明白了数组 fac的作用了吧。用这样的数组我们可以放阶乘后结果是1000位的数。 2在介绍add[1000]之前,我介绍一下算法的思想,就以 6!为例:. 就在5!的基础上来计算6!,演示如下:. 3 现在就用到了我们的:“进位数组”add[1000]. 先得说明一下:add[i]就是在第2步中用算出的结果中,第i位向第i 1位的进位数值。还是接上例:. Add[1]=1; / 计算过程:就是 (fac[1] add[0]) / 10=1. Add[2]=0; / 计算过程:就是 (fac[2] add[1]) /10=0. Using namespace std;.
yourmagicsearchengine.blogspot.com
Yichuan Cai 's technique blog: Abstract Class in Java (reproduced)
http://yourmagicsearchengine.blogspot.com/2010/07/abstract-class-in-java-reproduced.html
Yichuan Cai 's technique blog. Let's waste time, chasing dream. Abstract Class in Java (reproduced). Abstract Methods and Classes. Is a class that is declared. 8212;it may or may not include abstract methods. Abstract classes cannot be instantiated, but they can be subclassed. Is a method that is declared without an implementation (without braces, and followed by a semicolon), like this:. Abstract void moveTo(double deltaX, double deltaY);. If a class includes abstract methods, the class itself must.
yourmagicsearchengine.blogspot.com
Yichuan Cai 's technique blog: 五月 2007
http://yourmagicsearchengine.blogspot.com/2007_05_01_archive.html
Yichuan Cai 's technique blog. Let's waste time, chasing dream. 12289;创建C# 类库 (Dll). 以前在VC 中创建一个dll文件不能说简单,但在Visual C# 中,这将同样是轻而易举的事情。下面的介绍分成两部分:1、创建DLL,2、在客户端测试dll。 首先创建一个空的类库工程。在VS.NET集成环境(IDE)中选择“文件- 新建- 工程文件- Visual C# 工程- 类库”,点击Browse(浏览)按钮选择工程文件名和相应的目录,再点击 OK。 接着看看工程和它的相关文件。Solution Explorer(解决方案探测器)向工程中增加两个C# 类,第一个是 AssemblyInfo.cs ,第二个是Class1.cs。我们不讨论AssemblyInfo,重点介绍 Class1.cs。 双击Class1.cs,就能看到一个名称空间mcMath。我们将在客户机引用这个名称空间以使用这个类库:. Summary description for Class1. TODO: Add Constructor Logic here.
yourmagicsearchengine.blogspot.com
Yichuan Cai 's technique blog: Multi-threaded Debugging Techniques By Shameem Akhter and Jason Roberts, April 23, 2007
http://yourmagicsearchengine.blogspot.com/2010/07/multi-threaded-debugging-techniques-by.html
Yichuan Cai 's technique blog. Let's waste time, chasing dream. Multi-threaded Debugging Techniques By Shameem Akhter and Jason Roberts, April 23, 2007. Debugging multi-threaded applications can be a challenging task. Regardless of which library or platform that you are developing on, several general principles can be applied to debugging multi-threaded software applications. How often have you, as a software developer, experienced the following situation? Use established parallel programming patterns...
yourmagicsearchengine.blogspot.com
Yichuan Cai 's technique blog: C++ interview questions
http://yourmagicsearchengine.blogspot.com/2010/06/c-interview-questions.html
Yichuan Cai 's technique blog. Let's waste time, chasing dream. C/C Programming interview questions and answers. By Satish Shetty, July 14th, 2004. Containing and hiding information about an object, such as internal data structures and code. Encapsulation isolates the internal complexity of an object's operation from the rest of the application. For example, a client component asking for net revenue from a business object need not know the data's origin. What is constructor or ctor? Constructor which ini...