<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/fancyerII</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; fancyerII]]></copyright><item><title><![CDATA[ActiveMQ C++ tutorial]]></title><link>https://blog.youkuaiyun.com/fancyerII/article/details/19169103</link><guid>https://blog.youkuaiyun.com/fancyerII/article/details/19169103</guid><author>fancyerII</author><pubDate>Thu, 13 Feb 2014 17:57:48 +0800</pubDate><description><![CDATA[说明[编辑]
 本文会结合一个例子简要的说明activemq的c++客户端的使用方法


Apache ActiveMQ简介[编辑]
 Apache ActiveMQ是一个开源的消息服务器，实现了JMS规范，支持多语言客户端和协议。


ActiveMQ-CPP[编辑]
 ActiveMQ-CPP是c++客户端，目前支持 OpenWire and Stomp协议，两者都可以通过TCP]]></description><category></category></item><item><title><![CDATA[ubuntu 11.10 upgrade to 12.04]]></title><link>https://blog.youkuaiyun.com/fancyerII/article/details/18812861</link><guid>https://blog.youkuaiyun.com/fancyerII/article/details/18812861</guid><author>fancyerII</author><pubDate>Mon, 27 Jan 2014 13:48:11 +0800</pubDate><description><![CDATA[Authenticating the upgrade failed

使用update-manager -d发现：
gpg: can't open `/etc/apt/trusted.gpg'


sudo chmod 644 /etc/apt/trusted.gpg


http://askubuntu.com/questions/138712/unable-to-upgrad]]></description><category></category></item><item><title><![CDATA[xp下vs2010(express)无法智能提示的问题]]></title><link>https://blog.youkuaiyun.com/fancyerII/article/details/17465707</link><guid>https://blog.youkuaiyun.com/fancyerII/article/details/17465707</guid><author>fancyerII</author><pubDate>Sat, 21 Dec 2013 14:17:09 +0800</pubDate><description><![CDATA[下载 http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=35735
参考
http://stackoverflow.com/questions/10571472/adding-a-library-to-visual-studio-2010-express

http://c]]></description><category></category></item><item><title><![CDATA[语言的标签——语言的生态系统]]></title><link>https://blog.youkuaiyun.com/fancyerII/article/details/16911787</link><guid>https://blog.youkuaiyun.com/fancyerII/article/details/16911787</guid><author>fancyerII</author><pubDate>Sun, 24 Nov 2013 00:32:51 +0800</pubDate><description><![CDATA[开发语言的生态系统比较]]></description><category></category></item><item><title><![CDATA[netbeans remote c++ 开发的一些注意事项]]></title><link>https://blog.youkuaiyun.com/fancyerII/article/details/8588093</link><guid>https://blog.youkuaiyun.com/fancyerII/article/details/8588093</guid><author>fancyerII</author><pubDate>Mon, 18 Feb 2013 15:25:19 +0800</pubDate><description><![CDATA[1. 如果是run的话，需要把console type变成standard output
2. 如果是远程debug的话，console type变成external output]]></description><category></category></item><item><title><![CDATA[查看gcc编译后的汇编代码的网站]]></title><link>https://blog.youkuaiyun.com/fancyerII/article/details/8568945</link><guid>https://blog.youkuaiyun.com/fancyerII/article/details/8568945</guid><author>fancyerII</author><pubDate>Mon, 04 Feb 2013 14:45:06 +0800</pubDate><description><![CDATA[http://gcc.godbolt.org/#%7B%22version%22%3A3%2C%22filterAsm%22%3A%7B%22labels%22%3Atrue%2C%22directives%22%3Atrue%2C%22commentOnly%22%3Atrue%7D%2C%22compilers%22%3A%5B%7B%22source%22%3A%22%23include%2]]></description><category></category></item><item><title><![CDATA[std::string的Copy-on-Write：不如想象中美好]]></title><link>https://blog.youkuaiyun.com/fancyerII/article/details/8510015</link><guid>https://blog.youkuaiyun.com/fancyerII/article/details/8510015</guid><author>fancyerII</author><pubDate>Wed, 16 Jan 2013 16:28:03 +0800</pubDate><description><![CDATA[http://www.cnblogs.com/promise6522/archive/2012/03/22/2412686.html]]></description><category></category></item><item><title><![CDATA[cygwin使用boost]]></title><link>https://blog.youkuaiyun.com/fancyerII/article/details/8509083</link><guid>https://blog.youkuaiyun.com/fancyerII/article/details/8509083</guid><author>fancyerII</author><pubDate>Wed, 16 Jan 2013 13:58:39 +0800</pubDate><description><![CDATA[1. 下载boost
    我下载的最新boost 1.52.0。下载tar.gz或者tar.bz2的，这些文件是\n换行的，zip是windows的\r\n
2. 使用cygwin解压
3. 安装
   $ cd $BOOST_HOME
   $ ./bootstrap.sh --prefix=/usr/local
   $ ./b2 install
   最后一步很慢，慢慢等吧]]></description><category></category></item><item><title><![CDATA[jadeclipse在eclipse juno上的安装]]></title><link>https://blog.youkuaiyun.com/fancyerII/article/details/8464124</link><guid>https://blog.youkuaiyun.com/fancyerII/article/details/8464124</guid><author>fancyerII</author><pubDate>Fri, 04 Jan 2013 13:15:51 +0800</pubDate><description><![CDATA[http://stackoverflow.com/questions/11620324/configuring-eclipse-to-use-jad
注意：一定要下载jadeclipse3.3，不能使用update网站上最新的3.4 preview。否则会找不到JadClipse Class File Viewer]]></description><category></category></item><item><title><![CDATA[jvm整数和Integer.MAX_VALUE比较的bug]]></title><link>https://blog.youkuaiyun.com/fancyerII/article/details/8212913</link><guid>https://blog.youkuaiyun.com/fancyerII/article/details/8212913</guid><author>fancyerII</author><pubDate>Thu, 22 Nov 2012 16:16:34 +0800</pubDate><description><![CDATA[int max=Integer.MAX_VALUE;
try{
     max=Integer.valueOf(args[0]);
}catch(Exception e){}
while(readLine){
     line++;
     if(line > Integer.MAX_VALUE) break;
}

上面这段代码从参数获取最大的读取行数，为了防止参数错误，初始化为最大整数]]></description><category></category></item><item><title><![CDATA[hadoop输入和输出的gbk编码的问题]]></title><link>https://blog.youkuaiyun.com/fancyerII/article/details/8129471</link><guid>https://blog.youkuaiyun.com/fancyerII/article/details/8129471</guid><author>fancyerII</author><pubDate>Tue, 30 Oct 2012 17:36:58 +0800</pubDate><description><![CDATA[http://avalon.plzbite.me/post/4183391882/hadoop-map-reduce-gbk-utf-8
http://www.alidata.org/archives/244


【2013-1-10补充】
如果只是想输出gbk，不要使用上面方法，因为它直接修改了getRecordWriter方法，导致你如果想多路输出，比如使用MultipleTextO]]></description><category></category></item><item><title><![CDATA[Build OpenCV 2.4 on Ubuntu 12.04]]></title><link>https://blog.youkuaiyun.com/fancyerII/article/details/8023665</link><guid>https://blog.youkuaiyun.com/fancyerII/article/details/8023665</guid><author>fancyerII</author><pubDate>Thu, 27 Sep 2012 09:40:51 +0800</pubDate><description><![CDATA[http://karytech.blogspot.com/2012/05/opencv-24-on-ubuntu-1204.html]]></description><category></category></item><item><title><![CDATA[ubuntu下mysql workbench 没响应的解决办法]]></title><link>https://blog.youkuaiyun.com/fancyerII/article/details/8009245</link><guid>https://blog.youkuaiyun.com/fancyerII/article/details/8009245</guid><author>fancyerII</author><pubDate>Sun, 23 Sep 2012 10:59:53 +0800</pubDate><description><![CDATA[alt+f4 (注意需要那个启动画面是焦点时候按它们，否则你会把别的GUI程序关了)
http://mysqlworkbench.org/?p=1217]]></description><category></category></item><item><title><![CDATA[线程安全的统计工具(计数器)]]></title><link>https://blog.youkuaiyun.com/fancyerII/article/details/7954957</link><guid>https://blog.youkuaiyun.com/fancyerII/article/details/7954957</guid><author>fancyerII</author><pubDate>Fri, 07 Sep 2012 14:26:19 +0800</pubDate><description><![CDATA[问题描述
    我们需要一个统计工具来统计诸如查询次数，最短和最长的查询时间，另外还需要按类别来统计，比如按城市统计查询数量等等。
    我们需要它是线程安全的，因为我们会有很多线程同时更新统计数据。
简单的方案
    最简单的方案是不保证线程安全，因为既然是统计数据，那么差一点点也许没有问题。
    其次比较简单的翻案就是用synchronized保护所有的数据，这是首先推荐的]]></description><category></category></item><item><title><![CDATA[build qt webkit with vs2008 in windows]]></title><link>https://blog.youkuaiyun.com/fancyerII/article/details/7854097</link><guid>https://blog.youkuaiyun.com/fancyerII/article/details/7854097</guid><author>fancyerII</author><pubDate>Sat, 11 Aug 2012 10:36:31 +0800</pubDate><description><![CDATA[http://rogeryi.wordpress.com/2011/06/08/qtwebkit-visual-studio-2008-compile-debug-env-setup-guide/]]></description><category></category></item><item><title><![CDATA[SQL事务的隔离级别]]></title><link>https://blog.youkuaiyun.com/fancyerII/article/details/7752430</link><guid>https://blog.youkuaiyun.com/fancyerII/article/details/7752430</guid><author>fancyerII</author><pubDate>Mon, 16 Jul 2012 17:28:35 +0800</pubDate><description><![CDATA[SQL4种隔离级别的定义
隔离级别的定义涉及到三种现象，读脏数据，不可重复读，幻读。定义来自postgresql的最新文档
dirty read  A transaction reads data written by a concurrent uncommitted transaction.
nonrepeatable read A transaction re-reads data it]]></description><category></category></item><item><title><![CDATA[pgAdmin在打开查询构造工具(Query Builder)时死掉的解决办法]]></title><link>https://blog.youkuaiyun.com/fancyerII/article/details/7733189</link><guid>https://blog.youkuaiyun.com/fancyerII/article/details/7733189</guid><author>fancyerII</author><pubDate>Tue, 10 Jul 2012 16:02:07 +0800</pubDate><description><![CDATA[pgAdmin每次打开Query Builder时都hang住，cpu100%，没有任何响应。
上网搜了一下，发现是它的一个bug，http://dba.stackexchange.com/questions/10572/postgres-pgadmin-iii-query-builder-crash
具体说就是要删除一个文件pgadmin_histoqueries.xml，windows的路]]></description><category></category></item><item><title><![CDATA[使用Java堆外内存(自己管理内存)的一些方法]]></title><link>https://blog.youkuaiyun.com/fancyerII/article/details/7655451</link><guid>https://blog.youkuaiyun.com/fancyerII/article/details/7655451</guid><author>fancyerII</author><pubDate>Tue, 12 Jun 2012 11:42:24 +0800</pubDate><description><![CDATA[背景
      使用Java的一大好处就是自动内存管理，程序员不用太关心内存的是否，JVM的Garbage Collector(GC)帮我们找到不被引用的垃圾对象并清除掉。但是有得必有失，我们也失去了自己管理内存的可能性。【个人观点：大多数程序员的内存管理水平都比不上JVM，虽然程序员可能更了解业务逻辑，知道某个对象已经死掉，可以回收。但是回收的内存什么时候应该compact，内存分配使用什么]]></description><category></category></item><item><title><![CDATA[Linux的swappiness的配置]]></title><link>https://blog.youkuaiyun.com/fancyerII/article/details/7655444</link><guid>https://blog.youkuaiyun.com/fancyerII/article/details/7655444</guid><author>fancyerII</author><pubDate>Tue, 12 Jun 2012 11:40:49 +0800</pubDate><description><![CDATA[如果你有一个非常重要的java程序，而且是线上服务，对delay要求很高。但是 偶 尔发现系统在负载很轻变化到负载较重的时候响应时间有点慢， 或者某些 冷 门 query比较慢。你用工具发现os有不少page fault，但是你知道机器有足 够的 内存 分配给JVM，那么可能需要调整一下swappiness了。

swappiness
http://en.wikipedia.org/wiki]]></description><category></category></item><item><title><![CDATA[Java的字符集和编码]]></title><link>https://blog.youkuaiyun.com/fancyerII/article/details/7420305</link><guid>https://blog.youkuaiyun.com/fancyerII/article/details/7420305</guid><author>fancyerII</author><pubDate>Sun, 01 Apr 2012 19:40:14 +0800</pubDate><description><![CDATA[本来以为自己对Java的字符集和编码有一定了解，不过昨天和shiweidong同学讨论了几个问题，还真把我问住了。所以抽空搜索和整理了一下，有什么问题请大家指正。
首先是一些基本概念和术语
字符集(character set)
顾名思义，字符集就是字符的集合。比如26个英文字母的集合，比如Ascii字符集，另外所有汉字的集合也是字符集【当然谁也不能说把包含所有汉字了，只能说包含常见汉字】]]></description><category></category></item></channel></rss>