<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[ufwt的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/ufwt</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; ufwt]]></copyright><item><title><![CDATA[proxycap不错]]></title><link>https://blog.csdn.net/ufwt/article/details/6990667</link><guid>https://blog.csdn.net/ufwt/article/details/6990667</guid><author>ufwt</author><pubDate>Sat, 19 Nov 2011 12:49:57 +0800</pubDate><description><![CDATA[http://www.proxycap.com/


如果要访问远端的localhost，是不行的，最好换一个name，就可以了！]]></description><category></category></item><item><title><![CDATA[python 开发的目录结构]]></title><link>https://blog.csdn.net/ufwt/article/details/1867956</link><guid>https://blog.csdn.net/ufwt/article/details/1867956</guid><author>ufwt</author><pubDate>Mon, 05 Nov 2007 17:01:00 +0800</pubDate><description><![CDATA[目录python  开发的目录结构 Tips python开发的目录结构学hachoir的xxx/有setup.py packet1 packet2... test放拿呢?? ---放到packet中,并且在setup.py的时候不安装test有2中,一种是testcase,一种是doctest,可以在xx]]></description><category></category></item><item><title><![CDATA[一个python bytecode decompiler]]></title><link>https://blog.csdn.net/ufwt/article/details/1765220</link><guid>https://blog.csdn.net/ufwt/article/details/1765220</guid><author>ufwt</author><pubDate>Thu, 30 Aug 2007 12:50:00 +0800</pubDate><description><![CDATA[http://www.depython.net/ DePython是什么? DePython是用来反编译经过python编译的后缀名为pyc或pyo的字节码文件的.  如果你找不到你写的python源代码，Depython可以帮助你通过pyc/pyo文件来找回这些源代码。 经DePython反编译得出的python源代码，和你原来的代码文件几乎完全一样。 DePython支持那些版本的]]></description><category></category></item><item><title><![CDATA[动态语言中的unittest的重要性]]></title><link>https://blog.csdn.net/ufwt/article/details/1706688</link><guid>https://blog.csdn.net/ufwt/article/details/1706688</guid><author>ufwt</author><pubDate>Wed, 25 Jul 2007 09:19:00 +0800</pubDate><description><![CDATA[最近学习python，发现如果不写unitest，这个代码的质量没有办法保证，可能程序的语法也是错误的因为它不是编译性的但是用了unittest后，就可以保证代码的覆盖率，保证质量]]></description><category></category></item><item><title><![CDATA[2个程序(一个用glue,一个直接连接xpcom)用了NS_GetServiceManager全部死掉,SIGSEGV的原因]]></title><link>https://blog.csdn.net/ufwt/article/details/1642526</link><guid>https://blog.csdn.net/ufwt/article/details/1642526</guid><author>ufwt</author><pubDate>Thu, 07 Jun 2007 15:50:00 +0800</pubDate><description><![CDATA[个程序(一个用glue,一个直接连接xpcom)用了NS_GetServiceManager全部死掉,SIGSEGVgluetest 错误的原因是因为gluetest和libxpcomglue.a编译选项不一致,使得gluetest和libxpcomglue.a中的 getter_AddRefs(nsCOMPtr&)代码不一致(调用方式也不一致),然后执行的时候libxpcomglue.a]]></description><category></category></item><item><title><![CDATA[用glue库写了一个main还是，调用一个com成功]]></title><link>https://blog.csdn.net/ufwt/article/details/1637732</link><guid>https://blog.csdn.net/ufwt/article/details/1637732</guid><author>ufwt</author><pubDate>Mon, 04 Jun 2007 15:52:00 +0800</pubDate><description><![CDATA[在main中直接用nsComPtr,并且最后shutdown是有问题的，使得程序死掉原因是nsComPtr在shutdown时还没有析构 ]]></description><category></category></item><item><title><![CDATA[用mozilla的xpcom来维护库]]></title><link>https://blog.csdn.net/ufwt/article/details/1634440</link><guid>https://blog.csdn.net/ufwt/article/details/1634440</guid><author>ufwt</author><pubDate>Fri, 01 Jun 2007 17:02:00 +0800</pubDate><description><![CDATA[现在我们已经实现了好的库，也可以用，但是有几个问题1.相互依赖问题，使得接口一修改，就比较麻烦2.不是动态load是否有这个可能，把我们的库变成xpcom的对象，程序直接调用。研究中。。。]]></description><category></category></item><item><title><![CDATA[SMP 的thread safe 安全]]></title><link>https://blog.csdn.net/ufwt/article/details/1618776</link><guid>https://blog.csdn.net/ufwt/article/details/1618776</guid><author>ufwt</author><pubDate>Mon, 21 May 2007 10:02:00 +0800</pubDate><description><![CDATA[最近用一个网上开源的c++库， 里面多object做引用计数，实现代码为 int count;addRef(){    count++;}relaseRef(){  if (--count ==0){    delete this; }}在多cpu的情况下，这个代码是有问题的，因为++，ii不一定是thread safe的修改方法： 在x86中用asm的lock解决可以参考ACE的aotimc_O]]></description><category></category></item><item><title><![CDATA[dejagnu expect 打看太多的/dev/ptmx问题]]></title><link>https://blog.csdn.net/ufwt/article/details/1581104</link><guid>https://blog.csdn.net/ufwt/article/details/1581104</guid><author>ufwt</author><pubDate>Tue, 24 Apr 2007 16:42:00 +0800</pubDate><description><![CDATA[把程序在emt64运行的时候,runtest不能运行网上找了好多,有这个现象,没有办法解决,后来在每一个spawn的后面加catch { wait }catch { close -i $spawn_id }可以解决问题,但是可能会出现wait的时候永远等,把wait 修改成加 -nowait就可以了问题:    如果spawn调用程序,必须在程序 输出expect的内容前调]]></description><category></category></item><item><title><![CDATA[opennms 的event的处理流程]]></title><link>https://blog.csdn.net/ufwt/article/details/1558698</link><guid>https://blog.csdn.net/ufwt/article/details/1558698</guid><author>ufwt</author><pubDate>Tue, 10 Apr 2007 10:56:00 +0800</pubDate><description><![CDATA[event结构是一个标准的MVC结构用NEW_SUSPECT_INTERFACE_EVENT_UEI为例子        Capsd服务注册关心的event    BroadcastEventProcessor调用EventIpcManagerFactory.getInstance().getManager().addEventListener(this, ueiList)]]></description><category></category></item><item><title><![CDATA[opennms的主要服务]]></title><link>https://blog.csdn.net/ufwt/article/details/1557644</link><guid>https://blog.csdn.net/ufwt/article/details/1557644</guid><author>ufwt</author><pubDate>Mon, 09 Apr 2007 14:46:00 +0800</pubDate><description><![CDATA[org.opennms.netmgt.vmmgr.Manager是主程序,读service-configuration.xml文件系统不同的service每一个service是一个managerbean,是用了JMX的方法        Eventd    Eventd listens for events from the discovery, capsd, trapd ]]></description><category></category></item><item><title><![CDATA[g++ 中的stl allocator]]></title><link>https://blog.csdn.net/ufwt/article/details/1517279</link><guid>https://blog.csdn.net/ufwt/article/details/1517279</guid><author>ufwt</author><pubDate>Wed, 28 Feb 2007 17:08:00 +0800</pubDate><description><![CDATA[stl中的allcator实现的是memory pool,只有到进程内存不够的时候,会返回系统,如一个程序,他用stl,你们这个程序会一直增加内存(在top中),但是在一定的时候,就会把内存free实现 gcc 3.2.3/usr/include/c++/3.2.3/bits/stl_alloc.hstd::vector用]]></description><category></category></item><item><title><![CDATA[如何做Web的功能性测试]]></title><link>https://blog.csdn.net/ufwt/article/details/1426252</link><guid>https://blog.csdn.net/ufwt/article/details/1426252</guid><author>ufwt</author><pubDate>Sat, 02 Dec 2006 11:15:00 +0800</pubDate><description><![CDATA[如何做Web的功能性测试web的测试工具有perl,java, perl有HTTP-WebTest, java有htmlunit,Latka,Canoo WebTesthtmlunit是从xunit来的,对与程序员自己的单元测试有用(白盒),对于(黑盒)没有什么用, Latka可以用来做(黑盒)功能性(functional)测试,HTTP-WebTest与可能与La]]></description><category></category></item><item><title><![CDATA[HeartBeat源代码学习]]></title><link>https://blog.csdn.net/ufwt/article/details/1426249</link><guid>https://blog.csdn.net/ufwt/article/details/1426249</guid><author>ufwt</author><pubDate>Sat, 02 Dec 2006 11:14:00 +0800</pubDate><description><![CDATA[HeartBeat源代码学习 用kill(pid,0) >= 0 || errno != ESRCH 可以判断是不是存在个processinit_procinfo－－用来保存一个全系统的变量（进程之间用）可以定义一些宏，然后让这些宏由configure指定，就可以定义出程序要用的文件的信息！#ifndef HA_PLUGIN_D#define]]></description><category></category></item><item><title><![CDATA[用xsl分类的方法]]></title><link>https://blog.csdn.net/ufwt/article/details/1426247</link><guid>https://blog.csdn.net/ufwt/article/details/1426247</guid><author>ufwt</author><pubDate>Sat, 02 Dec 2006 11:13:00 +0800</pubDate><description><![CDATA[XSL  2.0可以用for-each-group	 	原理: 	  	1。找到分类的接口	  	2。对与分类的集合做一遍		方法：	 	一。								  									 	二。Muenchian Method 	 									  								 ]]></description><category></category></item><item><title><![CDATA[A byte order mark (BOM)]]></title><link>https://blog.csdn.net/ufwt/article/details/1426244</link><guid>https://blog.csdn.net/ufwt/article/details/1426244</guid><author>ufwt</author><pubDate>Sat, 02 Dec 2006 11:13:00 +0800</pubDate><description><![CDATA[A byte order mark (BOM) consists of the character code U+FEFF at the beginning of a data stream, where it can be used as a signature defining the byte order and encoding form Bytes Encoding Form ]]></description><category></category></item><item><title><![CDATA[用arp0c来进行测试]]></title><link>https://blog.csdn.net/ufwt/article/details/1426223</link><guid>https://blog.csdn.net/ufwt/article/details/1426223</guid><author>ufwt</author><pubDate>Sat, 02 Dec 2006 11:01:00 +0800</pubDate><description><![CDATA[用arp0c来进行测试可以用他来模拟n台机器,用来测试!  ]]></description><category></category></item><item><title><![CDATA[net-snmp]]></title><link>https://blog.csdn.net/ufwt/article/details/1426220</link><guid>https://blog.csdn.net/ufwt/article/details/1426220</guid><author>ufwt</author><pubDate>Sat, 02 Dec 2006 10:59:00 +0800</pubDate><description><![CDATA[net-snmp安装先uninstall net-snmp rpm,然后自己安装一个命令使用                        Snmptranslate    % snmptranslate .1.3.6.1.2.1.1.3.0    SNMPv2-MIB::sysUp]]></description><category></category></item><item><title><![CDATA[一个简单的firewall的配置]]></title><link>https://blog.csdn.net/ufwt/article/details/1426219</link><guid>https://blog.csdn.net/ufwt/article/details/1426219</guid><author>ufwt</author><pubDate>Sat, 02 Dec 2006 10:59:00 +0800</pubDate><description><![CDATA[一个简单的firewall的配置 例 11.8. 一个简单的firewall的配置           #!/bin/bash#Our complete stateful firewall script.  This firewall can be customized for#a laptop, workstation, router ]]></description><category></category></item><item><title><![CDATA[Bash使用]]></title><link>https://blog.csdn.net/ufwt/article/details/1426217</link><guid>https://blog.csdn.net/ufwt/article/details/1426217</guid><author>ufwt</author><pubDate>Sat, 02 Dec 2006 10:57:00 +0800</pubDate><description><![CDATA[Bash使用                                    重要                                        用bashdb来调试bash的脚本， 可以在emacs中用命令bashdb直接调试， 我的.emacs已经做了初始化工作了                 ]]></description><category></category></item></channel></rss>