<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_the road of dotnet</title><subtitle type="text"/><id>http://feed.cnblogs.com/blog/u/29757/rss</id><updated>2008-03-22T05:51:05Z</updated><author><name>Humtong</name><uri>http://www.cnblogs.com/humtong/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/humtong/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/29757/rss"/><entry><id>http://www.cnblogs.com/humtong/archive/2008/03/22/1117601.html</id><title type="text">观察者设计模式-猫和老鼠</title><summary type="text">问题:猫一叫喊 所有的老鼠都逃跑要点：1. 联动效果，运行代码只要执行Cat.Cryed()方法。2. 对老鼠和主人进行抽象 评分标准: &amp;lt;1&amp;gt;.构造出Cat、Mouse、Master三个类，并能使程序运行(2分) &amp;lt;2&amp;gt;从Mouse和Master中提取抽象（5分） &amp;lt;3&amp;gt;联动效应，只要执行Cat.Cryed()就可以使老鼠逃跑，主人惊醒。(3分) public...</summary><published>2008-03-22T05:51:00Z</published><updated>2008-03-22T05:51:00Z</updated><author><name>Humtong</name><uri>http://www.cnblogs.com/humtong/</uri></author><link rel="alternate" href="http://www.cnblogs.com/humtong/archive/2008/03/22/1117601.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/humtong/archive/2008/03/22/1117601.html"/></entry><entry><id>http://www.cnblogs.com/humtong/archive/2008/03/12/1101866.html</id><title type="text">如何实现字母全排列</title><summary type="text">字母全排列，即给一个fat得到fat fta atf aft tfa taf 所有排列&#xD;&#xD;首先可以看出,全排列其实就是阶乘，3个字母会有3阶乘种表现，4字母会有4阶乘种&#xD;上面fat的变化是有规律的 ，我们要得到全排列的做法是：</summary><published>2008-03-12T04:02:00Z</published><updated>2008-03-12T04:02:00Z</updated><author><name>Humtong</name><uri>http://www.cnblogs.com/humtong/</uri></author><link rel="alternate" href="http://www.cnblogs.com/humtong/archive/2008/03/12/1101866.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/humtong/archive/2008/03/12/1101866.html"/></entry><entry><id>http://www.cnblogs.com/humtong/archive/2008/03/12/1101825.html</id><title type="text">做软件 先做人</title><summary type="text">  我一直在寻找答案，寻找自己是否真实的喜欢做软件开发这个事，是否真的最终能从中实现自我。也许某一天有个做生意的大好机会，我就受利益所趋跑去做生意了，从此不再问津软件行业。可能一般人都会对故人故事有所留恋有所依赖，但我是那种时刻放得下的人，就是后怕自己会是这样的人，这并不同于所谓的拿得起放得下，这是残酷般的抛弃，有时候对自己的这种心态很失望。就像以前很多次玩游戏的时候也是这样，练了一个暑假的游戏，突然有一天觉得有点不适，之后就再也没登陆去过。这种行为差点延续到这篇文章，一种突然死亡……  但还是往下</summary><published>2008-03-12T03:38:00Z</published><updated>2008-03-12T03:38:00Z</updated><author><name>Humtong</name><uri>http://www.cnblogs.com/humtong/</uri></author><link rel="alternate" href="http://www.cnblogs.com/humtong/archive/2008/03/12/1101825.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/humtong/archive/2008/03/12/1101825.html"/></entry><entry><id>http://www.cnblogs.com/humtong/archive/2008/03/12/1101349.html</id><title type="text">电信网通网速突破脚本-迅雷加速</title><summary type="text">之前一直发现有时候用迅雷下载歌曲会突然变1MB的速度,(我是1M电信 通常110kB/s)，应该是交换机上限制了速度&#xD;但该1MB速度并不是虚假的 歌曲确实是如实下了一大段 &#xD;&#xD;现在做个试验当在迅雷 工具-&gt;配置-&gt;速度地方限制速度为80的时候&#xD;歌曲下载被限制到了80kB &#xD;&#xD;此时如果去掉限制速度 马上又反弹会了300KB 但2秒后就又回到了80KB&#xD;&#xD;于是对于挂机下载而言 可以使用 按键精灵 不断重复的用脚本设置限速和去掉限速 使得速度能得到一定反弹时候提升&#xD;其实早就想搞个脚本这样做 网上没找到（可能我孤陋寡闻了） 就自己录制了一个 让我录制的冲动是 在下uboutu的时候&#xD;突然到了7.9MB/s的速度 -- &#xD;</summary><published>2008-03-11T17:28:00Z</published><updated>2008-03-11T17:28:00Z</updated><author><name>Humtong</name><uri>http://www.cnblogs.com/humtong/</uri></author><link rel="alternate" href="http://www.cnblogs.com/humtong/archive/2008/03/12/1101349.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/humtong/archive/2008/03/12/1101349.html"/></entry><entry><id>http://www.cnblogs.com/humtong/archive/2008/03/01/1086779.html</id><title type="text">斯特瑞克的博客-华裔少年伊拉克战地日记</title><summary type="text">http://profile.myspace.cn/index.cfm?fuseaction=user.viewprofile&amp;amp;friendid=1304163741故事很真实~~ 值得一看！！</summary><published>2008-02-29T16:12:00Z</published><updated>2008-02-29T16:12:00Z</updated><author><name>Humtong</name><uri>http://www.cnblogs.com/humtong/</uri></author><link rel="alternate" href="http://www.cnblogs.com/humtong/archive/2008/03/01/1086779.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/humtong/archive/2008/03/01/1086779.html"/></entry><entry><id>http://www.cnblogs.com/humtong/archive/2008/02/28/1085203.html</id><title type="text">复习的线索二叉树C#</title><summary type="text">删除结点的时候考虑情况分三种 叶子节点 有一个子结点 有两个子节点</summary><published>2008-02-28T09:41:00Z</published><updated>2008-02-28T09:41:00Z</updated><author><name>Humtong</name><uri>http://www.cnblogs.com/humtong/</uri></author><link rel="alternate" href="http://www.cnblogs.com/humtong/archive/2008/02/28/1085203.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/humtong/archive/2008/02/28/1085203.html"/></entry><entry><id>http://www.cnblogs.com/humtong/archive/2008/02/26/1082840.html</id><title type="text">模仿word格式对齐(left,right,center,justify)</title><summary type="text">在word和html中 可以进行格式对齐 左对齐 居中 右对齐 自动&#xD;&#xD;wo就模仿这些对齐方式编写一段代码 对字符串进行格式对齐&#xD;</summary><published>2008-02-26T13:20:00Z</published><updated>2008-02-26T13:20:00Z</updated><author><name>Humtong</name><uri>http://www.cnblogs.com/humtong/</uri></author><link rel="alternate" href="http://www.cnblogs.com/humtong/archive/2008/02/26/1082840.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/humtong/archive/2008/02/26/1082840.html"/></entry><entry><id>http://www.cnblogs.com/humtong/archive/2008/02/24/1079757.html</id><title type="text">识别被挤压的数字图像（蛮有趣）</title><summary type="text">算式以类似下面的形式给出：&#xD;&#xD;@ @@@ @@@ @ @ @@@  @  @@@ @@@ @@@ @@@ @@@&#xD;@   @   @ @ @ @    @  @     @ @ @ @ @ @ @&#xD;@ @@@ @@@ @@@ @@@ @@@ @@@   @ @@@ @@@ @ @&#xD;@ @     @   @   @  @  @ @   @ @ @   @ @ @&#xD;@ @@@ @@@   @ @@@  @  @@@   @ @@@ @@@ @@@&#xD;&#xD;数字和+号的位置大小比例以及笔画长短粗细间距都是可变的。例如上面的算式也可以是这样：&#xD;&#xD;         @@@@&#xD;@@  @@@  @@@@     @@@          @@@ @@@ @@@          @@@@@&#xD;@@  @@@    @@     @       @@@    @ @ @ @ @          @@@@@&#xD;@@    @  @@@@ @ @ @    @  @      @ @ @ @ @      </summary><published>2008-02-24T13:18:00Z</published><updated>2008-02-24T13:18:00Z</updated><author><name>Humtong</name><uri>http://www.cnblogs.com/humtong/</uri></author><link rel="alternate" href="http://www.cnblogs.com/humtong/archive/2008/02/24/1079757.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/humtong/archive/2008/02/24/1079757.html"/></entry><entry><id>http://www.cnblogs.com/humtong/archive/2008/02/24/1079432.html</id><title type="text">求三个数的最小公倍数的方法</title><summary type="text">求三个数的最小公倍数的方法&#xD;通常会使用下面的hcf函数做 但效率低&#xD;greatestCommonDivisor是另一种方法&#xD;例如&#xD;210 % 27  = 21&#xD;27 % 21 =6&#xD;21 % 6 = 3&#xD;6%3=0;&#xD;当余数为0的前一步就是他们的最小公倍数&#xD;&#xD;</summary><published>2008-02-24T06:26:00Z</published><updated>2008-02-24T06:26:00Z</updated><author><name>Humtong</name><uri>http://www.cnblogs.com/humtong/</uri></author><link rel="alternate" href="http://www.cnblogs.com/humtong/archive/2008/02/24/1079432.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/humtong/archive/2008/02/24/1079432.html"/></entry><entry><id>http://www.cnblogs.com/humtong/archive/2008/02/24/1079415.html</id><title type="text">抛硬币两种序列</title><summary type="text">考虑一个事件，它有两种概率均等的结果。比如掷硬币，出现正面和反面的机会是相等的。现在我们希望知道，如果我不断抛掷硬币，需要多长时间才能得到一个特定的序列。&#xD;&#xD;序列一：反面、正面、反面&#xD;序列二：反面、正面、正面&#xD;&#xD;    首先，我反复抛掷硬币，直到最近的三次抛掷结果形成序列一，然后我记下这次我抛掷了多少次才得到了我要的序列。重复执行这个过程，我可以算出得到序列一平均需要的抛掷次数。同样地，反复抛掷硬币直到序列二产生，它所需要的次数也有一个平均值。你认为这两个平均值哪一个大哪一个小？换句话说，出现序列一平均所需的抛掷次数少还是出现序列二平均需要的次数少？&#xD;&#xD;</summary><published>2008-02-24T06:06:00Z</published><updated>2008-02-24T06:06:00Z</updated><author><name>Humtong</name><uri>http://www.cnblogs.com/humtong/</uri></author><link rel="alternate" href="http://www.cnblogs.com/humtong/archive/2008/02/24/1079415.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/humtong/archive/2008/02/24/1079415.html"/></entry></feed>
