<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_引刀成一快</title><subtitle type="text"/><id>http://feed.cnblogs.com/blog/u/1092/rss</id><updated>2006-04-22T17:51:00Z</updated><author><name>tsbob</name><uri>http://www.cnblogs.com/tsbob/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/tsbob/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/1092/rss"/><entry><id>http://www.cnblogs.com/tsbob/archive/2006/04/23/382502.html</id><title type="text">blog搬家了</title><summary type="text">再见了,cnblog.终于决定把blog搬到一个独立的空间:网址http://www.tsbob.net这一年来也比较懒,没有写过几篇,但是总算有些开头,在blogcn的第一片文章现在骨灰都找不到了:(主机租用dreamhost的空间,很便宜,7.9美元租一年,20G空间,120G/月流量,送一个域名.当然缺点是比较慢,但是比现在cnblog还是要快点,cnblog负载太大,白天要编辑文章,打开慢...</summary><published>2006-04-22T17:49:00Z</published><updated>2006-04-22T17:49:00Z</updated><author><name>tsbob</name><uri>http://www.cnblogs.com/tsbob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/tsbob/archive/2006/04/23/382502.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/tsbob/archive/2006/04/23/382502.html"/></entry><entry><id>http://www.cnblogs.com/tsbob/archive/2006/04/01/364334.html</id><title type="text">一个Gtalk的简单客户端</title><summary type="text">一个python脚本程序,基于jabber.py(http://jabberpy.sourceforge.net/)Gtalk采用了xmpp协议，文本聊天基本上是xmpp的一个子集，同时在连接采用了TLS来作为安全措施。但是gtalk对标准的jabberd通讯协议做了一些修改.代码在附件里面,使用方法from GtalkClient importJabberConnectionjbc =Jabbe...</summary><published>2006-04-01T08:54:00Z</published><updated>2006-04-01T08:54:00Z</updated><author><name>tsbob</name><uri>http://www.cnblogs.com/tsbob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/tsbob/archive/2006/04/01/364334.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/tsbob/archive/2006/04/01/364334.html"/></entry><entry><id>http://www.cnblogs.com/tsbob/archive/2006/02/14/330727.html</id><title type="text">.net连接mysql中文乱码问题的解决</title><summary type="text">这个东西折腾了一晚上。立此存照，希望对遇到同样问题的人有用.我是安装的easyphp自带的MySQL 4.1.9-max ，用mysql connector net 1.07连接解决步骤：1.打开mysql安装目录的my.ini,分别在[client]和[mysqld]中都加入default-character-set= gb23122.新建你所需要的表。推荐使用EMS 的mysql manage...</summary><published>2006-02-14T14:47:00Z</published><updated>2006-02-14T14:47:00Z</updated><author><name>tsbob</name><uri>http://www.cnblogs.com/tsbob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/tsbob/archive/2006/02/14/330727.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/tsbob/archive/2006/02/14/330727.html"/></entry><entry><id>http://www.cnblogs.com/tsbob/archive/2006/02/02/324859.html</id><title type="text">下载cctv节目表的小工具</title><summary type="text">2年前随便写的，今天翻出来改了点小bug. 当时我父亲从网上down了一个下载电视节目表的软件，他不会用，让我帮忙看看。我看了看，vb写的，不太实用，就用delphi 随手写了一个。 原理是，cctv会把下周的节目单放在http://www.cctv.com.cn/download/showtime.zip这里，下载，打开就是。 源代码编译需要的控件：ziptv,jedi 可以运行文件/Files...</summary><published>2006-02-02T09:36:00Z</published><updated>2006-02-02T09:36:00Z</updated><author><name>tsbob</name><uri>http://www.cnblogs.com/tsbob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/tsbob/archive/2006/02/02/324859.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/tsbob/archive/2006/02/02/324859.html"/></entry><entry><id>http://www.cnblogs.com/tsbob/archive/2005/12/29/307083.html</id><title type="text">Python中的单元测试</title><summary type="text">我用过的testunit有Nunit,Pyunit,Dunit,从易用性来说Pyunit&amp;gt;Nunit&amp;gt;Dunit,这个是由语言特性决定的.PyUnit有不同的实现,python标准库中有一个自带的.不过说回来,脚本语言unittest的重要性并没有这么大,因为在每个程序文件中随手定义一些测试函数,直接运行就是.这里unittest 模块存在的意义在于能够打印一些profile信息.  ...</summary><published>2005-12-29T01:25:00Z</published><updated>2005-12-29T01:25:00Z</updated><author><name>tsbob</name><uri>http://www.cnblogs.com/tsbob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/tsbob/archive/2005/12/29/307083.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/tsbob/archive/2005/12/29/307083.html"/></entry><entry><id>http://www.cnblogs.com/tsbob/archive/2005/12/25/304272.html</id><title type="text">TCP网络程序的基本框架</title><summary type="text">这段时间看了不少网络程序的代码,也动手写了几个server/client.总结一下,大部分网络程序使用的是tcp,用udp只有3个理由,1.允许一定的包丢失 2.需要做nat穿透3.节省资源,如socket句柄. 而大多数应用层通讯协议,特别是数据量传输比较大的,为了效率和可靠性都会采用tcp.而TCP是流结构,应此要考虑2种情况: 1.发送数据被阻塞 2.接受包不完整或者多余. 虽然tcp是st...</summary><published>2005-12-25T08:13:00Z</published><updated>2005-12-25T08:13:00Z</updated><author><name>tsbob</name><uri>http://www.cnblogs.com/tsbob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/tsbob/archive/2005/12/25/304272.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/tsbob/archive/2005/12/25/304272.html"/></entry><entry><id>http://www.cnblogs.com/tsbob/archive/2005/11/16/277354.html</id><title type="text">sourceforge.net改版了</title><summary type="text">漂亮了很多，这些年得益了它不少。cnblog大部分用户应该是windows程序员，不过也请多关注开源社区，有空多上去翻翻，有趣的东西不少。纯水一篇，最近事多，twisted翻来覆去看了不少遍，有空写点东西。</summary><published>2005-11-15T18:21:00Z</published><updated>2005-11-15T18:21:00Z</updated><author><name>tsbob</name><uri>http://www.cnblogs.com/tsbob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/tsbob/archive/2005/11/16/277354.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/tsbob/archive/2005/11/16/277354.html"/></entry><entry><id>http://www.cnblogs.com/tsbob/archive/2005/11/02/266781.html</id><title type="text">图片批处理</title><summary type="text">国庆出去玩，拍了一些相片，要寄给别人。打开文件夹一看，200M，不知道要传到什么时候，所以必须的缩小一些。一两张还可以用ps改改，100多张？！花了5分钟写了一段程序来处理，立即搞定，前提是计算机上要装有python和Python Imaging Library (PIL) 。程序很简单1fromos.pathimportisdir,join,basename2fromosimportmkdir3...</summary><published>2005-11-01T18:53:00Z</published><updated>2005-11-01T18:53:00Z</updated><author><name>tsbob</name><uri>http://www.cnblogs.com/tsbob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/tsbob/archive/2005/11/02/266781.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/tsbob/archive/2005/11/02/266781.html"/></entry><entry><id>http://www.cnblogs.com/tsbob/archive/2005/10/15/255661.html</id><title type="text">大家都来用Python吧</title><summary type="text">我想说的是python是这个星球最美的编程语言。据说有些schema语言用起来很cool，在我学会它们之前我保留我的看法。 Python能作什么呢？www.python.org能够找到答案，其实基本上你可以问python不能作什么。我还是先告诉大家我用python作什么1.计算器 python的shell是个很好的命令行计算器，支持各种复杂的计算式，用了它之后，我的心算能力急剧下降。 2.处理各种...</summary><published>2005-10-15T15:13:00Z</published><updated>2005-10-15T15:13:00Z</updated><author><name>tsbob</name><uri>http://www.cnblogs.com/tsbob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/tsbob/archive/2005/10/15/255661.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/tsbob/archive/2005/10/15/255661.html"/></entry><entry><id>http://www.cnblogs.com/tsbob/archive/2005/10/15/255148.html</id><title type="text">看了一下jabberd1.4的代码</title><summary type="text">因为google talk使用xmpp协议的原因，jabberd在国内进一步的提高了知名度。网站在http://www.jabber.org/。xmpp简单说就是用xml定义了一些IM消息包的格式，jabberd是其server端最早的一个实现，有两个版本一个是1.4一个是2.0，前者使用文件系统存储数据，后者可以用数据库。02年的时候，国内就有人用jabberd做服务器端。我所知道的，uume（...</summary><published>2005-10-14T16:54:00Z</published><updated>2005-10-14T16:54:00Z</updated><author><name>tsbob</name><uri>http://www.cnblogs.com/tsbob/</uri></author><link rel="alternate" href="http://www.cnblogs.com/tsbob/archive/2005/10/15/255148.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/tsbob/archive/2005/10/15/255148.html"/></entry></feed>
