<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>

<channel>
	<title>Blog天空</title>
	<atom:link href="http://skysbird.bsdchina.org/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://skysbird.bsdchina.org</link>
	<description>记录了skysbird成长中的生活，工作，学习各个方面的事情</description>
	<pubDate>Tue, 08 Jun 2010 15:58:38 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>杂</title>
		<link>http://skysbird.bsdchina.org/?p=182</link>
		<comments>http://skysbird.bsdchina.org/?p=182#comments</comments>
		<pubDate>Sun, 06 Jun 2010 10:19:07 +0000</pubDate>
		<dc:creator>skysbird</dc:creator>
		
		<category><![CDATA[生活]]></category>

		<guid isPermaLink="false">http://skysbird.bsdchina.org/?p=182</guid>
		<description><![CDATA[grep -rnI &#8211;include=*py personal_order_pick *
http://tinyurl.com/2elrv23
]]></description>
		<wfw:commentRss>http://skysbird.bsdchina.org/?feed=rss2&amp;p=182</wfw:commentRss>
		</item>
		<item>
		<title>vim笔记</title>
		<link>http://skysbird.bsdchina.org/?p=181</link>
		<comments>http://skysbird.bsdchina.org/?p=181#comments</comments>
		<pubDate>Thu, 27 May 2010 09:23:37 +0000</pubDate>
		<dc:creator>skysbird</dc:creator>
		
		<category><![CDATA[生活]]></category>

		<guid isPermaLink="false">http://skysbird.bsdchina.org/?p=181</guid>
		<description><![CDATA[
跳转到函数、变量定义处：
[+ctrl+i 跳转到函数、变量和#define
[+ctrl+d 跳转到#define处
ctrl+i 向前跳到前几次光标位置
ctrl+o 向后跳到后几次光标位置
函数体跳转：
[[
]]
[]
][
{}
2009-07-07 17:31 补充
如何选中括号中的内容 进行：
将光标移至括号内，按shift+v进入行选模式，然后
i｛ － 选小括号中内容，不包括小括号
a｛ － 选小括号中内容，包括小括号
ib － 选中括号中内容，不包括括号
ab － 选中括号中内容，包括括号
i｛ － 选大括号中内容，不包括大括号
a｛ － 选大括号中内容，包括大括号
:h text-objects
下面还有些相关的tips，未全部验证：
vi{ 选中{}中间的内容,不包括{}
va{ 选中{}中间内容，包括{}
vi( 选中()中间内容
vi< 选中中间内容
vi[ 选中[]中间内容
vit 选中中间的内容
vi” 选中”&#8221;中间内容
vi’ 选中”中间的内容
vis 选中一个句子
vib 选中一个block
viw选中一个单词
vip 选中一个段落 
]]></description>
		<wfw:commentRss>http://skysbird.bsdchina.org/?feed=rss2&amp;p=181</wfw:commentRss>
		</item>
		<item>
		<title>http://www.msfn.org/board/topic/139298-winpe-30-wds-problems/</title>
		<link>http://skysbird.bsdchina.org/?p=179</link>
		<comments>http://skysbird.bsdchina.org/?p=179#comments</comments>
		<pubDate>Wed, 07 Apr 2010 14:48:37 +0000</pubDate>
		<dc:creator>skysbird</dc:creator>
		
		<category><![CDATA[生活]]></category>

		<guid isPermaLink="false">http://skysbird.bsdchina.org/?p=179</guid>
		<description><![CDATA[http://www.msfn.org/board/topic/139298-winpe-30-wds-problems/
]]></description>
		<wfw:commentRss>http://skysbird.bsdchina.org/?feed=rss2&amp;p=179</wfw:commentRss>
		</item>
		<item>
		<title>笔记</title>
		<link>http://skysbird.bsdchina.org/?p=175</link>
		<comments>http://skysbird.bsdchina.org/?p=175#comments</comments>
		<pubDate>Tue, 06 Apr 2010 09:29:53 +0000</pubDate>
		<dc:creator>skysbird</dc:creator>
		
		<category><![CDATA[生活]]></category>

		<guid isPermaLink="false">http://skysbird.bsdchina.org/?p=175</guid>
		<description><![CDATA[Hello,
 
I think you can try putting the following  entries in front of the &#8220;\sources\setup.exe /wds /wdsdiscover  /WdsServer:wds-server.ddpo.local&#8221; line:
 
Ping &#60;IP address&#62;
Pause
Ping &#60;IP address&#62;
Pause
…
 
You need to interactive with the commands in  Windows PE in this scenario. If you want the process to be achieved more  automatically, you can try the [...]]]></description>
		<wfw:commentRss>http://skysbird.bsdchina.org/?feed=rss2&amp;p=175</wfw:commentRss>
		</item>
		<item>
		<title>Something about Soaplib 0.8.1 problem</title>
		<link>http://skysbird.bsdchina.org/?p=171</link>
		<comments>http://skysbird.bsdchina.org/?p=171#comments</comments>
		<pubDate>Thu, 11 Mar 2010 05:42:49 +0000</pubDate>
		<dc:creator>skysbird</dc:creator>
		
		<category><![CDATA[学习]]></category>

		<category><![CDATA[工作]]></category>

		<guid isPermaLink="false">http://skysbird.bsdchina.org/?p=171</guid>
		<description><![CDATA[in soaplib/wsgi_soap.py
there are somethings like
if payload:
and this will cause a futurewarning
FutureWarning: The behavior of this method will change in future versions. Use specific &#8216;len(elem)&#8217; or &#8216;elem is not None&#8217; test instead.
and the invoke from java client with axis 1.4 will be failed,so we need to change it as it describes:
change
if payload:
to
if payload is not None:
then [...]]]></description>
		<wfw:commentRss>http://skysbird.bsdchina.org/?feed=rss2&amp;p=171</wfw:commentRss>
		</item>
		<item>
		<title>Patch of soaplib in Python For .Net Invoke</title>
		<link>http://skysbird.bsdchina.org/?p=165</link>
		<comments>http://skysbird.bsdchina.org/?p=165#comments</comments>
		<pubDate>Tue, 02 Mar 2010 06:11:22 +0000</pubDate>
		<dc:creator>skysbird</dc:creator>
		
		<category><![CDATA[生活]]></category>

		<guid isPermaLink="false">http://skysbird.bsdchina.org/?p=165</guid>
		<description><![CDATA[On Sat, Aug 29, 2009 at 10:33 AM, Maksymus007&#60;maksymus...@gmail.com&#62; wrote:
&#62; On Sat, Aug 29, 2009 at 5:40 AM, Wombatpm&#60;bruce.brombe...@gmail.com&#62; wrote:
&#62;&#62;
&#62;&#62; For the record.  SOAPLIB 0.8.1 has a bug in generating the WSDL file
&#62;&#62; for Arrays.
&#62;&#62;
&#62;&#62;&#62; &#60;xs:complexType name="stringArray"&#62;
&#62;&#62;&#62; -
&#62;&#62;&#62; &#60;xs:sequence&#62;
&#62;&#62;&#62; &#60;xs:element minOccurs="0" maxOccurs="unbounded" type="tns:string"
&#62;&#62;&#62; name="string"/&#62;
&#62;&#62;&#62; &#60;/xs:sequence&#62;
&#62;&#62;&#62; &#60;/xs:complexType&#62;
&#62;&#62;
&#62;&#62; the type declaration should be type="xs:string"
&#62;&#62;
&#62;&#62;
&#62;&#62; The unicode issue [...]]]></description>
		<wfw:commentRss>http://skysbird.bsdchina.org/?feed=rss2&amp;p=165</wfw:commentRss>
		</item>
		<item>
		<title>django静态url</title>
		<link>http://skysbird.bsdchina.org/?p=163</link>
		<comments>http://skysbird.bsdchina.org/?p=163#comments</comments>
		<pubDate>Mon, 15 Jun 2009 08:12:43 +0000</pubDate>
		<dc:creator>skysbird</dc:creator>
		
		<category><![CDATA[工作]]></category>

		<guid isPermaLink="false">http://skysbird.bsdchina.org/?p=163</guid>
		<description><![CDATA[urlpatterns.append(
    url(r'^$', 'django.views.static.serve', dict(document_root='static', path='index.html')))
]]></description>
		<wfw:commentRss>http://skysbird.bsdchina.org/?feed=rss2&amp;p=163</wfw:commentRss>
		</item>
		<item>
		<title>关于twisted输出log时候的unicode编码异常问题</title>
		<link>http://skysbird.bsdchina.org/?p=160</link>
		<comments>http://skysbird.bsdchina.org/?p=160#comments</comments>
		<pubDate>Sun, 17 May 2009 14:08:01 +0000</pubDate>
		<dc:creator>skysbird</dc:creator>
		
		<category><![CDATA[学习]]></category>

		<guid isPermaLink="false">http://skysbird.bsdchina.org/?p=160</guid>
		<description><![CDATA[在使用twisted的application模式编程的时候，往往会用到twisted的log系统。该系统会将stdout重载，加入自己的机制，然而该机制对于unicode字符串的编码有一些问题。
比如在程序中print了一条string
s = u&#8217;中文&#8217;
print s
也许会很惊奇的得到下面这个异常
exceptions.UnicodeEncodeError: 'ascii' codec can't encode character u'\xe8' in
position 60: ordinal not in range(128)

这个异常是因为

当将一个unicode对象传给print时，在内部会将该unicode对象进行一次转换，转换成本地的默认编码（这仅是个人猜测）。
在python中str和unicode在编码和解码过程中，如果将一个str直接编码成另一种编码，会先把str解码成unicode，采用的编码为默认编码，一般默认编码是anscii，所以在上面示例代码中第一次转换的时候会出错，当设定当前默认编码为'gbk'后，就不会出错了。

在程序的入口处，设置默认python编码，方法如下：
import sys
reload(sys)
sys.setdefaultencoding('gbk')



]]></description>
		<wfw:commentRss>http://skysbird.bsdchina.org/?feed=rss2&amp;p=160</wfw:commentRss>
		</item>
		<item>
		<title>[转]傻B式的Vista，折磨人的操作系统收藏（写出了我的心声）</title>
		<link>http://skysbird.bsdchina.org/?p=159</link>
		<comments>http://skysbird.bsdchina.org/?p=159#comments</comments>
		<pubDate>Sun, 26 Apr 2009 03:40:15 +0000</pubDate>
		<dc:creator>skysbird</dc:creator>
		
		<category><![CDATA[生活]]></category>

		<guid isPermaLink="false">http://skysbird.bsdchina.org/?p=159</guid>
		<description><![CDATA[出自：http://blog.csdn.net/magicbreaker/archive/2008/03/09/2159289.aspx
傻B式的Vista，折磨人的操作系统收藏
    用了2个月VISTA之后，我坚定的把它给卸载了。虽然还是正版的business。我一直觉得微软很人性化，98到2000，2000到XP，每次升级我都是很高兴的，可这次升级我实在太痛苦了。首先是该死的UAC，我启动一个程序它给我跳出来耀武扬威一番，刚装上系统这个功能就被我和谐了。另外启动慢，任务管理器里乱七八糟我都不认识，没启动过的程序横七竖八的在里面躺着。速度慢，打补丁时间长，对硬件要求高，兼容性差都不说啥了，你把我们已经熟悉的管理配置工具搞得面目全非算什么呢？
另外还有其他朋友总结出来的：
1、注册表变得更加臃肿了
注册表对于系统速度的影响，有点说不清道不明。微软设计注册表，给应用程序一个统一存放配置信息的地方，因为注册表在系统启动时加载，所以应用程序在启动时，使用注册表项比使用外部配置文件要快。但是如果注册表太大的话，将消耗很多的系统资源，为什么有那么多注册表清理软件存在，因为注册表垃圾太多了，不光是应用软件制造注册表垃圾，Windows自己也制造注册表垃圾。在制造注册表垃圾的软件当上，微软的软件应该是名列前矛，像Office、.NET Framework，都是写注册表达数量巨大的软件。Windows Vista的注册表，据估计至少比Windows XP臃肿一倍。
2、预装了更多的字体
Windows XP/2003只预装了60种左右的TrueType字体，到了Windows Vista，居然达到了190种之多，数量翻了三倍还多，大家应该知道，系统安装的字体越多，越影响速度。根据这篇文章的测试，安装100种字体，系统延迟增加5.33秒，Windows Vista预装190多种字体，那么系统启动速度将会增加延迟近10秒。而且问题是，这些字体我们需要吗?我们需要用这些字体写文档吗?需要用它们来做设计吗?基本上是不需要的。微软推出什么所谓的雅黑字体，号称花费上亿美元，一个字100美元，抄袭Mac OSX，也只是东施效颦而已，Windows Vista的界面，还是那么丑陋，和Mac OSX根本没法比。而且更搞笑的是，居然传出Windows Vista某个字体有缺字的情况。
3、捆绑了不止一个的.NET运行环境
这个东西是个速度杀手，而且是一般用户所不需要的。搞软件开发的都知道，.NET用来做Web应用还好，但是如果用来做桌面应用，是不好的，它实在太慢了，用户不能忍受一个启动时慢吞吞的，处理工作时延迟太久。所以到目前为止，用.NET开发的桌面应用软件仍然是少之又少，就像微软，也不敢用它来做Office的主要开发工具，最多只是在一些小功能上用到.NET。.NET的可恶之处，在于它与系统紧密结合，所以十分影响操作系统的速度。首先它在安装的时候写了太多的注册表项，至少几万条。第二点就是它在Windows启动时就加载了许多DLL，微软为了造成.NET速度快的假像，于是就在Windows启动时预先加载.NET的DLL(手法如同Office)。而且，Windows Vista还不止预装一个.NET运行环境。不信你去C:WINDOWSMicrosoft.NETFramework这个目录看一下，看有几个以版本号命名的目录。相比之下，.NET的对手Java就不是这样，在Windows平台上，它只注册了很少的DLL，而且并不在系统启动时加载。在非Windows平台上，Java还可以是绿色软件。
4、使用了更加复杂、花哨的界面技术
Windows Vista使用了所谓的Aero、Flip 3D界面技术，可惜这些东西并不能给用户带来方便，而且外观设计并不优秀，甚至比较丑陋。最可恶的一点是，它们消耗极大的系统资源。微软的界面技术，又是东施效颦，越效越恶心。没想到微软这种保守的跟屁虫公司居然敢把任务栏和标题栏做成黑色调，菜单栏做成青色，控制按钮搞得大小不一，而且尺寸加大，变成扁平状，这种设计好像很大胆，很有创意，但是不难发现，这种设计十分丑陋。如果说Mac OSX就像水晶一样美丽的话，那么Windows Vista看起来就像劣质的塑料和破麻布一般丑陋，要知道Mac OSX的界面那是6年前的设计呢。微软东施效颦算是效到底了，这回把图标也搞大了，可是那些图标除了带来系统垃圾以外，有什么用呢，谁要用你的大图标啊，再看看shell32.dll里面，新图标旧图标夹在一块，就是那么的不协调。什么Aero、Flip 3D，不仅是视觉垃圾，更是系统垃圾。
]]></description>
		<wfw:commentRss>http://skysbird.bsdchina.org/?feed=rss2&amp;p=159</wfw:commentRss>
		</item>
		<item>
		<title>转一篇草稿将来集群方案可能会用得到。</title>
		<link>http://skysbird.bsdchina.org/?p=156</link>
		<comments>http://skysbird.bsdchina.org/?p=156#comments</comments>
		<pubDate>Fri, 24 Apr 2009 08:53:44 +0000</pubDate>
		<dc:creator>skysbird</dc:creator>
		
		<category><![CDATA[学习]]></category>

		<guid isPermaLink="false">http://skysbird.bsdchina.org/?p=156</guid>
		<description><![CDATA[出自：http://app.arat.us/blog/?p=112
Writing an AMQP connector with Python, Twisted, Trial and txAMQP
Published on April 24th, 2009 by Dan Reverri in apparatus Tools:
In this article we’ll be writing an AMQP connector that we can re-use in future AMQP based projects. We’ll be using the Twisted testing component Trial to test our code as we develop it. To start [...]]]></description>
		<wfw:commentRss>http://skysbird.bsdchina.org/?feed=rss2&amp;p=156</wfw:commentRss>
		</item>
	</channel>
</rss>
