<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1869436392214269815</id><updated>2011-11-27T15:29:22.687-08:00</updated><category term='娱乐'/><category term='网络分析'/><category term='道德经'/><category term='数据仓库'/><category term='python'/><category term='虚拟化'/><category term='Linux'/><category term='security'/><title type='text'>天之道，利而不害；圣人之道，为而不争。</title><subtitle type='html'>「曲则全，枉则直，洼则盈，敝则新，少则得，多则惑。」是以圣人抱一为 天下式。不自见，故明；不自是，故彰；不自伐，故有功；不自矜，故长。夫唯 不争，故天下莫能与之争。古之所谓「曲则全」者，岂虚言哉！诚全而归之。</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://nizq.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://nizq.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>☯</name><uri>http://www.blogger.com/profile/14594178490029096587</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/__l9ejrrm7E0/SPfLCBrppzI/AAAAAAAAADM/J_lIOafomOU/S220/807605cee813f932b700c80c.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1869436392214269815.post-8531739943827795978</id><published>2010-01-14T17:49:00.000-08:00</published><updated>2010-01-15T00:24:48.345-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='娱乐'/><title type='text'>《大秦帝国》--一部脑残的魔幻传记</title><summary type='text'>这个魔幻传记的作者是崇尚黑暗的魔族云游诗人孙皓辉，此人法力高深，是一个时空云游诗人。据说，他为了完成这篇故事花费了几十年的时间，收集已经非常残缺不全的魔族资料，确实非常地辛苦。史称，魔族对外发动战争的军队是一个叫做秦的前人类种族组成的。秦族被魔族的第一代白袍巫师--商鞅，您没有看错，不是萨鲁曼，而是商鞅，改造成了魔族最强大的战士--强兽人，对人类发动百余年的战争，最终彻底征服了人类等其他种族。不过，魔族在彻底征服其它种族之后，魔族自己竟然莫名其妙地崩溃了。最令人震惊地是，魔族的皇族赢氏也神奇地消失了，而魔族的巫师们重新进入地下，伺机而动。来自中土东部的人族重新统治了中土。因此，此后的历史记载多对秦族以及其建立的帝国持否定态度。这无疑增加了魔族时空云游诗人孙皓辉编写故事的难度，因为他不愿意相信人类记载中有关魔族的描述。不过，幸好魔族时空云游诗人孙皓辉有时空穿越的法力，每当他看到不喜欢的史料</summary><link rel='replies' type='application/atom+xml' href='http://nizq.blogspot.com/feeds/8531739943827795978/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1869436392214269815&amp;postID=8531739943827795978' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/8531739943827795978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/8531739943827795978'/><link rel='alternate' type='text/html' href='http://nizq.blogspot.com/2010/01/blog-post.html' title='《大秦帝国》--一部脑残的魔幻传记'/><author><name>☯</name><uri>http://www.blogger.com/profile/14594178490029096587</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/__l9ejrrm7E0/SPfLCBrppzI/AAAAAAAAADM/J_lIOafomOU/S220/807605cee813f932b700c80c.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1869436392214269815.post-1174375632160034214</id><published>2009-04-12T15:13:00.000-07:00</published><updated>2009-04-12T16:28:45.353-07:00</updated><title type='text'>flare编译问题</title><summary type='text'>flare是一种创建数据可视化flash程序的actionscript库，采用apache-ant作为编译程序，具体操作见官方教程:http://flare.prefuse.org/tutorial。但是，由于flex-sdk的target-player参数设置问题，会造成在编译过程中提示以下错误：Error: 找不到类型，或者它不是编译时常数: Vector。或者 Type was not found or was not a compile-time constant: Vector.这是因为编译时，默认支持的Flash Player的版本是9.0.124。遇到这种错误时，需要修改flex-sdk/frameworks/flex-config.xml，将&lt;target-player&gt;9.0.124&lt;/target-player&gt;改为&lt;target-player&gt;10.0.12&lt;/</summary><link rel='replies' type='application/atom+xml' href='http://nizq.blogspot.com/feeds/1174375632160034214/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1869436392214269815&amp;postID=1174375632160034214' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/1174375632160034214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/1174375632160034214'/><link rel='alternate' type='text/html' href='http://nizq.blogspot.com/2009/04/flare.html' title='flare编译问题'/><author><name>☯</name><uri>http://www.blogger.com/profile/14594178490029096587</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/__l9ejrrm7E0/SPfLCBrppzI/AAAAAAAAADM/J_lIOafomOU/S220/807605cee813f932b700c80c.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1869436392214269815.post-2743959604205900237</id><published>2009-03-19T15:52:00.001-07:00</published><updated>2009-03-19T15:52:53.206-07:00</updated><title type='text'>picviz</title><summary type='text'> Picviz是一个平行坐标绘图程序。通过简单的脚本，picviz可以轻松将各种输入数据（tcpdump、syslog、iptables logs、apache logs,等等）形象化，用户可以从中发掘有意思的东西。另外，Picviz还可以帮助用户创建、理解平行坐标图。   Picviz的目标是通过将数据图形化的方式，帮助用户快速分析问题，发现各种因素的关联关系。在安全分析领域，这个程序具备非常好的扩展能力，能够处理百万级的数据。   Picviz使用专用的语言来描述图形，类似于graphviz的图形描述语言。通过一个引擎，能够生成平行坐标图像。另外，Picviz还提供了python语言绑定，用来收集计算过的数据、原始数据，并使用python和qt4实现了一个前端程序。 </summary><link rel='replies' type='application/atom+xml' href='http://nizq.blogspot.com/feeds/2743959604205900237/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1869436392214269815&amp;postID=2743959604205900237' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/2743959604205900237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/2743959604205900237'/><link rel='alternate' type='text/html' href='http://nizq.blogspot.com/2009/03/picviz.html' title='picviz'/><author><name>☯</name><uri>http://www.blogger.com/profile/14594178490029096587</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/__l9ejrrm7E0/SPfLCBrppzI/AAAAAAAAADM/J_lIOafomOU/S220/807605cee813f932b700c80c.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1869436392214269815.post-5354750519714418846</id><published>2009-03-10T17:11:00.001-07:00</published><updated>2009-03-10T17:11:53.974-07:00</updated><title type='text'>Bro支持的数据类型</title><summary type='text'>Bro ids的策略层分析和检测组件是由一种脚本语言实现的，这种脚本语言主要面向网络连接和流量的处理，支持特定的类型。Bro数据类型系统支持18种数据类型：  bool：二进制数据; count、int，和doublet：统称数字，可以进行数学、逻辑，和对比操作； enum：类似于C语言的枚举； string,、character：字符串和字符，可以进行对比和查询操作； pattern：定义用于模式匹配的正则表达式； time、interval：表示绝对时间和时间间隔； port：传输层的端口号； addr：IP地址； net：网络前缀； record：一组数据的集合（可能是不同类型）,每个数据都有自己的名字； table：联合数组； set： 标量元组的集合; file：一个被写入的硬盘文件； function：能够通过一组参数调用，并且有返回值； event：事件处理器，事件产生后，</summary><link rel='replies' type='application/atom+xml' href='http://nizq.blogspot.com/feeds/5354750519714418846/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1869436392214269815&amp;postID=5354750519714418846' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/5354750519714418846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/5354750519714418846'/><link rel='alternate' type='text/html' href='http://nizq.blogspot.com/2009/03/bro_10.html' title='Bro支持的数据类型'/><author><name>☯</name><uri>http://www.blogger.com/profile/14594178490029096587</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/__l9ejrrm7E0/SPfLCBrppzI/AAAAAAAAADM/J_lIOafomOU/S220/807605cee813f932b700c80c.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1869436392214269815.post-2592267977035904035</id><published>2009-03-09T00:49:00.001-07:00</published><updated>2009-04-20T06:02:25.322-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='security'/><title type='text'>bro的事件</title><summary type='text'>什么是事件  在Bro中，事件(event)用于反应特定网络行为。而事件处理引擎是Bro的核心。事件可以针对底层的网络协议，也可以针对应用层协议。  事件处理器  事件处理器从语法上非常接近于函数，两者的不同是事件处理器没有返回值，也不能被调用。事件处理器可以采用如下方式声明：  event ( argument*  )  例如：  local eh: event(attack_source: addr, severity: count)  声明了局部变量eh，eh是一个事件处理器类型，有两个参数：attack_source是地址(addr)类型；severity是计数(count)类型。   如果想声明一个有处理代码的事件处理器，语法是：  event handler  ( argument  )  { statement @code{}}  另外，</summary><link rel='replies' type='application/atom+xml' href='http://nizq.blogspot.com/feeds/2592267977035904035/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1869436392214269815&amp;postID=2592267977035904035' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/2592267977035904035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/2592267977035904035'/><link rel='alternate' type='text/html' href='http://nizq.blogspot.com/2009/03/bro.html' title='bro的事件'/><author><name>☯</name><uri>http://www.blogger.com/profile/14594178490029096587</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/__l9ejrrm7E0/SPfLCBrppzI/AAAAAAAAADM/J_lIOafomOU/S220/807605cee813f932b700c80c.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/__l9ejrrm7E0/SexyB2xToyI/AAAAAAAAAEM/SMltEMWSZh8/s72-c/arch.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1869436392214269815.post-202814470724772953</id><published>2009-03-06T04:32:00.000-08:00</published><updated>2009-03-06T04:42:21.051-08:00</updated><title type='text'>ossec的新功能－－预编译规则之三：对预处理规则的评价</title><summary type='text'>对预处理规则的评价  插件化是很多开源软件采取的，非常流行的扩展方式，例如：  apache：采用动态共享对象的方式，提供扩展；利用Apache扩展工具(apxs)，可以无需重新编译apache，即可加入apache插件； nessus：nessus自创了一种叫做nasl的脚本语言来实现差价的扩展，由于其功能的局限，这种语言较受争议； nmap：通过NSE(Nmap Script Engine，nmap脚本引擎)实现插件的扩展，使用目前非常流行的lua作为其寄生语言； snort：在snort3的代码中，也引入了lua作为扩展语言； bro-ids：采用了一种自定义的脚本语言，来扩展对网络流量的处理功能。  与上述开源产品相比，ossec的预处理规则显得非常粗糙，从技术上看，甚至有些画蛇添足，因为：  ossec的xml规则编写的难度比c语言编写的预处理规则更容易掌握； </summary><link rel='replies' type='application/atom+xml' href='http://nizq.blogspot.com/feeds/202814470724772953/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1869436392214269815&amp;postID=202814470724772953' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/202814470724772953'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/202814470724772953'/><link rel='alternate' type='text/html' href='http://nizq.blogspot.com/2009/03/ossec_06.html' title='ossec的新功能－－预编译规则之三：对预处理规则的评价'/><author><name>☯</name><uri>http://www.blogger.com/profile/14594178490029096587</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/__l9ejrrm7E0/SPfLCBrppzI/AAAAAAAAADM/J_lIOafomOU/S220/807605cee813f932b700c80c.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1869436392214269815.post-8598394078321491562</id><published>2009-03-05T19:13:00.000-08:00</published><updated>2009-03-05T19:14:05.277-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='security'/><title type='text'>ossec的新功能－－预编译规则之二：预编译规则</title><summary type='text'>      function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&amp;u='+escape(d.location.href)+'&amp;c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();}预编译规则  根据上面的介绍，我们知道</summary><link rel='replies' type='application/atom+xml' href='http://nizq.blogspot.com/feeds/8598394078321491562/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1869436392214269815&amp;postID=8598394078321491562' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/8598394078321491562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/8598394078321491562'/><link rel='alternate' type='text/html' href='http://nizq.blogspot.com/2009/03/ossec.html' title='ossec的新功能－－预编译规则之二：预编译规则'/><author><name>☯</name><uri>http://www.blogger.com/profile/14594178490029096587</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/__l9ejrrm7E0/SPfLCBrppzI/AAAAAAAAADM/J_lIOafomOU/S220/807605cee813f932b700c80c.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1869436392214269815.post-2948482164604968046</id><published>2009-03-04T14:31:00.000-08:00</published><updated>2009-03-04T16:45:36.831-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='security'/><title type='text'>ossec的新功能－－预编译规则之一：ossec的规则</title><summary type='text'>OSSEC的预编译规则（Compiled Rules）为了方便不喜欢编写xml格式规则的用户。利用这项功能，用户可以直接使用c语言来编写日志处理规则，在编译的时候，连接到 analysisd程序。并非一种动态的规则扩展机制。为了了解预编译规则，我们先看一下ossec的规则定义。1. ossec的规则 ossec的规则是XML格式的，主要有两种：解码规则：用于判断日志的种类和格式，所有的内容都在decode.xml文件中；   检测规则：依赖于检测规则，主要用于检测日志中记录的安全问题。1.1. 解码规则 根据decoder.xml的定义，ossec的日志分析程序会从被监控的日志中提取某些字段，根据这些字段判断日志的种类，例如：sshd日志、 web日志，然后在根据其中的某些字段，确定日志记录了那种信息，例如：sshd登录成功、失败。下面我们看一段linux sshd日志的片段(来源于</summary><link rel='replies' type='application/atom+xml' href='http://nizq.blogspot.com/feeds/2948482164604968046/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1869436392214269815&amp;postID=2948482164604968046' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/2948482164604968046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/2948482164604968046'/><link rel='alternate' type='text/html' href='http://nizq.blogspot.com/2009/03/ossecossec.html' title='ossec的新功能－－预编译规则之一：ossec的规则'/><author><name>☯</name><uri>http://www.blogger.com/profile/14594178490029096587</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/__l9ejrrm7E0/SPfLCBrppzI/AAAAAAAAADM/J_lIOafomOU/S220/807605cee813f932b700c80c.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1869436392214269815.post-503058682532126085</id><published>2009-02-19T12:26:00.000-08:00</published><updated>2009-02-19T18:06:50.985-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='网络分析'/><title type='text'>netmate在x86_64平台编译遇到的问题和解决方案。</title><summary type='text'>        在x86_64平台上编译netmate时，会遇到以下错误信息：  ...../../src/include/stdincpp.h:46:22: error: multimap.h: No such file or directory../../src/include/stdincpp.h:47:22: error: hash_map.h: No such file or directory../../src/include/stdincpp.h:58:21: error: iomanip.h: No such file or directory../../src/include/stdincpp.h:59:23: error: streambuf.h: No such file or directoryIn file included from ../../src/</summary><link rel='replies' type='application/atom+xml' href='http://nizq.blogspot.com/feeds/503058682532126085/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1869436392214269815&amp;postID=503058682532126085' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/503058682532126085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/503058682532126085'/><link rel='alternate' type='text/html' href='http://nizq.blogspot.com/2009/02/netmatex8664.html' title='netmate在x86_64平台编译遇到的问题和解决方案。'/><author><name>☯</name><uri>http://www.blogger.com/profile/14594178490029096587</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/__l9ejrrm7E0/SPfLCBrppzI/AAAAAAAAADM/J_lIOafomOU/S220/807605cee813f932b700c80c.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1869436392214269815.post-1962473368755298040</id><published>2008-12-10T13:11:00.000-08:00</published><updated>2008-12-11T00:58:14.984-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='道德经'/><title type='text'>“百姓”古今意义之别对阅读《道德经》造成的误解</title><summary type='text'>中国与西方在思维、表达方式存在巨大的差异。西方从很早就形成了严密的形式逻辑体系（在欧儿里得几何学中）。而中国从历史上就没有形成这方面的体系，走的是另外一条道路，就是观象取意，在思维上叫做像思维，以《易经》为代表。这种表达方式不对事物下定义，而是从不同角度取象来对事物来进行描述，因此周易中讲“观物取象、象以尽义”。“象思维”大致可以分为三个层次：具象、意象、体悟之象。作为古代经典之一的《道德经》也是采用这种描述，书中涉及治国、修身、谈兵、自然等很多的象，而几乎没有任何概念性的内容。采用这种描述方式的直接后果是，由于某些词在演变过程中发生了很大的变化，给后人造成了很大的误解，道德经中的“百姓”就是一例。下面我们来看这两段内容：第五章天地不仁，以万物为刍狗；圣人不仁，以百姓为刍狗。天地之间，其犹橐龠乎？虚而不屈，动而愈出。多闻数穷，不如守中。第四十九章圣人常无心，以百姓心为心。善者吾善之，</summary><link rel='replies' type='application/atom+xml' href='http://nizq.blogspot.com/feeds/1962473368755298040/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1869436392214269815&amp;postID=1962473368755298040' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/1962473368755298040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/1962473368755298040'/><link rel='alternate' type='text/html' href='http://nizq.blogspot.com/2008/12/blog-post_10.html' title='“百姓”古今意义之别对阅读《道德经》造成的误解'/><author><name>☯</name><uri>http://www.blogger.com/profile/14594178490029096587</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/__l9ejrrm7E0/SPfLCBrppzI/AAAAAAAAADM/J_lIOafomOU/S220/807605cee813f932b700c80c.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1869436392214269815.post-7726518440965083241</id><published>2008-12-05T04:56:00.000-08:00</published><updated>2008-12-05T05:25:40.345-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><title type='text'>ElementTree如何输出XML的版本</title><summary type='text'>默认的lxml.etree是用ascii编码，在输出的XML文件中没有，如果需要在输出的XML文件中包含，需要在tree.write()函数中设置参数。例如：import lxml.etree as ettree = et.parse('sample-ns.xml')tree = tree.write('test.xml', encoding='utf-8', xml_declaration=True)原始文件是：&lt;root xmlns='namespace'&gt;   &lt;element key='value'&gt;text&lt;/element&gt;   &lt;element&gt;text&lt;/element&gt;tail   &lt;empty-element/&gt;&lt;/root&gt;输出的文件是：&lt;?xml version='1.0' encoding='utf-8'?&gt;&lt;root xmlns="namespace"&gt;   </summary><link rel='replies' type='application/atom+xml' href='http://nizq.blogspot.com/feeds/7726518440965083241/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1869436392214269815&amp;postID=7726518440965083241' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/7726518440965083241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/7726518440965083241'/><link rel='alternate' type='text/html' href='http://nizq.blogspot.com/2008/12/elementtreexml.html' title='ElementTree如何输出XML的版本'/><author><name>☯</name><uri>http://www.blogger.com/profile/14594178490029096587</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/__l9ejrrm7E0/SPfLCBrppzI/AAAAAAAAADM/J_lIOafomOU/S220/807605cee813f932b700c80c.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1869436392214269815.post-3260802077666990471</id><published>2008-11-01T21:46:00.000-07:00</published><updated>2008-11-02T17:27:48.354-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Ubuntu8.10发布了</title><summary type='text'>经过半天多的下载，总算升级完成了。按照惯例，恐怕半个月之内会问题不断，平常自己弄的东西太多，所以升级出现了一些问题。不过慢慢会解决地。出现的最大问题是nvidia显卡的驱动，查了一些资料，发现推荐的nvidia-177-kernel-source存在问题，另外nvidia-xconfig也有一些问题，最后使用envyng安装nvidia-173-kernel-source，算是解决了问题。</summary><link rel='replies' type='application/atom+xml' href='http://nizq.blogspot.com/feeds/3260802077666990471/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1869436392214269815&amp;postID=3260802077666990471' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/3260802077666990471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/3260802077666990471'/><link rel='alternate' type='text/html' href='http://nizq.blogspot.com/2008/11/ubuntu810.html' title='Ubuntu8.10发布了'/><author><name>☯</name><uri>http://www.blogger.com/profile/14594178490029096587</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/__l9ejrrm7E0/SPfLCBrppzI/AAAAAAAAADM/J_lIOafomOU/S220/807605cee813f932b700c80c.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1869436392214269815.post-4459192309931494239</id><published>2008-10-29T21:10:00.001-07:00</published><updated>2008-10-29T21:11:43.145-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='数据仓库'/><title type='text'>利用开源技术建立数据仓库</title><summary type='text'>                    利用开源技术建立数据仓库 ¶  目录简介本文面向的读者 为什么要建立数据仓库 创建数据仓库设计一个纬度化的数据仓库提出问题 结构模型化 选择事实元素的粒度(fact grain) 添加纬度 构建数据仓库 使用Spoon设计转换一些准备工作 更新第一种纬度 更新第二种纬度表和事实表 聚合数据 将所有工作合到一起 使用数据仓库准备在线分析处理从关系化到纬度化 使用Mondrian做数据分析 执行多维查询 可视化和展示 附录A:技术简介Kettle Mondrian Jpivot 附录B:使用JavaScript生成日期纬度 附录C:Mondrian XML schema示例 参考 版本介绍  简介 ¶  本文的主要内容是建立数据仓库。数据仓库是一种计算机数据库系统，用于收集、整合和存储组织的数据，帮助生成准确的、时间性的管理信息，以及支持数据分析。</summary><link rel='replies' type='application/atom+xml' href='http://nizq.blogspot.com/feeds/4459192309931494239/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1869436392214269815&amp;postID=4459192309931494239' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/4459192309931494239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/4459192309931494239'/><link rel='alternate' type='text/html' href='http://nizq.blogspot.com/2008/10/blog-post_29.html' title='利用开源技术建立数据仓库'/><author><name>☯</name><uri>http://www.blogger.com/profile/14594178490029096587</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/__l9ejrrm7E0/SPfLCBrppzI/AAAAAAAAADM/J_lIOafomOU/S220/807605cee813f932b700c80c.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1869436392214269815.post-5694673686118602318</id><published>2008-10-16T16:27:00.000-07:00</published><updated>2008-10-16T16:35:50.623-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='虚拟化'/><title type='text'>虚拟化方案的不完全对比</title><summary type='text'>           厂商    qumranet    Citrix    Micro$oft    Vmware    SUN          名称    SolidICE、kvm    XenSource    Hyper-V    Vmware    xVM(原virtualbox)          操作系统    Linux    Linux    Windows2008    Windows、Linux    Windows、Linux          授权方式    开源    KVM内核模块(GPL)，已经是Linux的标准虚拟运算组件。    xen Hypervisor，曾经是Linux标准虚拟运算组件的有力竞争者，但是败给kvm，前景不明朗，即使有citrix撑腰。    无    无    目前还存在一个virtualbox的开源分支，叫做</summary><link rel='replies' type='application/atom+xml' href='http://nizq.blogspot.com/feeds/5694673686118602318/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1869436392214269815&amp;postID=5694673686118602318' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/5694673686118602318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/5694673686118602318'/><link rel='alternate' type='text/html' href='http://nizq.blogspot.com/2008/10/blog-post.html' title='虚拟化方案的不完全对比'/><author><name>☯</name><uri>http://www.blogger.com/profile/14594178490029096587</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/__l9ejrrm7E0/SPfLCBrppzI/AAAAAAAAADM/J_lIOafomOU/S220/807605cee813f932b700c80c.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1869436392214269815.post-3716064815648302890</id><published>2006-12-20T17:08:00.000-08:00</published><updated>2006-12-20T17:39:47.871-08:00</updated><title type='text'>fsf对vista宣战</title><summary type='text'>自由软件基金会fsf于12月15日建立了一个名为badvista 的网站，对vista宣战。这个网站好像是plone作的 :)</summary><link rel='replies' type='application/atom+xml' href='http://nizq.blogspot.com/feeds/3716064815648302890/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1869436392214269815&amp;postID=3716064815648302890' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/3716064815648302890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1869436392214269815/posts/default/3716064815648302890'/><link rel='alternate' type='text/html' href='http://nizq.blogspot.com/2006/12/fsfvista.html' title='fsf对vista宣战'/><author><name>☯</name><uri>http://www.blogger.com/profile/14594178490029096587</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/__l9ejrrm7E0/SPfLCBrppzI/AAAAAAAAADM/J_lIOafomOU/S220/807605cee813f932b700c80c.jpg'/></author><thr:total>0</thr:total></entry></feed>
