<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[reesun的专栏]]></title><description><![CDATA[Great dreams make great man!]]></description><link>https://blog.youkuaiyun.com/reesun</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; reesun]]></copyright><item><title><![CDATA[configure: error: newly created file is older than distributed files!  错误处理]]></title><link>https://blog.youkuaiyun.com/reesun/article/details/8840792</link><guid>https://blog.youkuaiyun.com/reesun/article/details/8840792</guid><author>reesun</author><pubDate>Tue, 23 Apr 2013 17:12:15 +0800</pubDate><description><![CDATA[出现此编译错误，请检查你的系统时间是否设置有误。。。


修改系统时间命令：

# date -s 12-03-30         (2012年3月30号)

# date -s 10:30:30          （10点30分30秒）

# hwclock -w                 （将当前时间和日期写入BIOS，避免重启后失效）]]></description><category></category></item><item><title><![CDATA[[C++ primer 学习笔记][05]表达式和语句]]></title><link>https://blog.youkuaiyun.com/reesun/article/details/8649754</link><guid>https://blog.youkuaiyun.com/reesun/article/details/8649754</guid><author>reesun</author><pubDate>Fri, 08 Mar 2013 11:18:45 +0800</pubDate><description><![CDATA[表达式
1、箭头操作符、点操作符
     如果一个指向Sales_item对象的指针（或迭代器），则在使用点操作符前需要对该指针（或迭代器）进行解引用



     假设有一个指向类类型对象的指针（或迭代器），下面表述等价


2、优先级




3、强制类型转换

Cast-name为：static_cast、dynamic_cast、const_cast和r]]></description><category></category></item><item><title><![CDATA[[C++ primer 学习笔记][04]数组和指针]]></title><link>https://blog.youkuaiyun.com/reesun/article/details/8646763</link><guid>https://blog.youkuaiyun.com/reesun/article/details/8646763</guid><author>reesun</author><pubDate>Thu, 07 Mar 2013 15:21:05 +0800</pubDate><description><![CDATA[1、指针约束




2、指针和引用比较


 
3、c风格字符串
#include 
Cstring是string.h头文件的C++版本
操作：


 
4、动态数组
     创建：





      释放：
              delete []  释放指针所指向的数组空间]]></description><category></category></item><item><title><![CDATA[Hive metastore三种配置方式]]></title><link>https://blog.youkuaiyun.com/reesun/article/details/8556078</link><guid>https://blog.youkuaiyun.com/reesun/article/details/8556078</guid><author>reesun</author><pubDate>Wed, 30 Jan 2013 14:21:55 +0800</pubDate><description><![CDATA[Hive的meta数据支持以下三种存储方式，其中两种属于本地存储，一种为远端存储。远端存储比较适合生产环境。Hive官方wiki详细介绍了这三种方式，链接为：Hive Metastore。
 
一、本地derby
这种方式是最简单的存储方式，只需要在hive-site.xml做如下配置便可







  javax.jdo.option.ConnectionURL
  jdbc:de]]></description><category></category></item><item><title><![CDATA[Hadoop+hive+sqoop环境部署]]></title><link>https://blog.youkuaiyun.com/reesun/article/details/8538149</link><guid>https://blog.youkuaiyun.com/reesun/article/details/8538149</guid><author>reesun</author><pubDate>Thu, 24 Jan 2013 14:52:33 +0800</pubDate><description><![CDATA[Hadoop+hive+sqoop环境部署
 
1、 部署hadoop
版本号：0.20.203
a、解压hadoop压缩包到 /usr/local目录下
b、配置hadoop
conf/core-site.xml:

     
        fs.default.name
         hdfs://localhost:9000// 集群把localhost换成nam]]></description><category></category></item><item><title><![CDATA[Apache2.0模块开发基础]]></title><link>https://blog.youkuaiyun.com/reesun/article/details/8266357</link><guid>https://blog.youkuaiyun.com/reesun/article/details/8266357</guid><author>reesun</author><pubDate>Thu, 06 Dec 2012 18:19:49 +0800</pubDate><description><![CDATA[本博文是总结《Apache模块开发》中的第5章
基本说明
mod_helloworld是一个非常简单的模块，仅仅完成内容展示工作。但是它却可以展示编写Apache模块的基本框架。

基本开发环境及说明
我的开发环境是ubuntu 10.04 amd64 server，apache版本是2.2.15
1、源码安装apache 
解压
tar zvxf httpd-2.2.15.tar]]></description><category></category></item><item><title><![CDATA[lucene多个域排序]]></title><link>https://blog.youkuaiyun.com/reesun/article/details/8191970</link><guid>https://blog.youkuaiyun.com/reesun/article/details/8191970</guid><author>reesun</author><pubDate>Fri, 16 Nov 2012 18:47:39 +0800</pubDate><description><![CDATA[lucene的sort类实现多个域排序，常见一个 SortField数据，将需要排序的域名字加入到这个数组中。
需要注意到是增加顺序，排序结果先按照第一个域排序，然后第二个域作为次要关键字排序。


// 常见一个排序域的数组
SortField[] sortArray;
sortArray = new SortField[] {new SortField("order", SortFie]]></description><category></category></item><item><title><![CDATA[How to be an Excellent Programmer for Many Years]]></title><link>https://blog.youkuaiyun.com/reesun/article/details/8109715</link><guid>https://blog.youkuaiyun.com/reesun/article/details/8109715</guid><author>reesun</author><pubDate>Thu, 25 Oct 2012 10:38:39 +0800</pubDate><description><![CDATA[How to be an Excellent Programmer for Many Years
http://news.ycombinator.com/item?id=4626515


(Excellent==Successful. Money & fame are more difficult to control.)
1. Choose a small subset of ava]]></description><category></category></item><item><title><![CDATA[eclipse环境下使用jetty调试solr]]></title><link>https://blog.youkuaiyun.com/reesun/article/details/8100736</link><guid>https://blog.youkuaiyun.com/reesun/article/details/8100736</guid><author>reesun</author><pubDate>Mon, 22 Oct 2012 22:16:47 +0800</pubDate><description><![CDATA[1、下载solr源码并使用ant构建eclipse环境

cd 
ant eclipse
2、在eclipse中创建solr项目



3、Open Type找到StartSolrJetty 这个类，修改main方法里面的参数。比如：
SocketConnector connector = new SocketConnector();
// Set some timeout opt]]></description><category></category></item><item><title><![CDATA[WordPress.Com Serves 70,000 Req/Sec And Over 15 Gbit/Sec Of Traffic Using NGINX]]></title><link>https://blog.youkuaiyun.com/reesun/article/details/8023660</link><guid>https://blog.youkuaiyun.com/reesun/article/details/8023660</guid><author>reesun</author><pubDate>Thu, 27 Sep 2012 09:40:18 +0800</pubDate><description><![CDATA[This is a guest post of an anonymous sort that may cause a reaction from those overly sensitive to PR, but I think it has a lot of interesting details that are useful enough to pass on...
WordPress.c]]></description><category></category></item><item><title><![CDATA[htmlcleaner使用及xpath语法初探]]></title><link>https://blog.youkuaiyun.com/reesun/article/details/8021201</link><guid>https://blog.youkuaiyun.com/reesun/article/details/8021201</guid><author>reesun</author><pubDate>Wed, 26 Sep 2012 15:59:59 +0800</pubDate><description><![CDATA[一、HtmlCleaner使用：
1、HtmlCleaner
HtmlCleaner是一个开源的Java语言的Html文档解析器。HtmlCleaner能够重新整理HTML文档的每个元素并生成结构良好(Well-Formed)的 HTML 文档。默认它遵循的规则是类似于大部份web浏览器为创文档对象模型所使用的规则。然而，用户可以提供自定义tag和规则组来进行过滤和匹配。
主页地址：http]]></description><category></category></item><item><title><![CDATA[Apache Prefork和Worker模式的性能比较测试]]></title><link>https://blog.youkuaiyun.com/reesun/article/details/8011761</link><guid>https://blog.youkuaiyun.com/reesun/article/details/8011761</guid><author>reesun</author><pubDate>Mon, 24 Sep 2012 10:19:28 +0800</pubDate><description><![CDATA[一、prefork
prefork采用预派生子进程方式，用单独的子进程来处理不同的请求。进程之间彼此独立，每个进程只含有一个线程。在"conf/extra/httpd-mpm.conf”中是如下定义的：


    StartServers         	 5
    MinSpareServers      	 5
    MaxSpareServers      	10
    Ma]]></description><category></category></item><item><title><![CDATA[Solr索引复制(Index Replication)]]></title><link>https://blog.youkuaiyun.com/reesun/article/details/7965844</link><guid>https://blog.youkuaiyun.com/reesun/article/details/7965844</guid><author>reesun</author><pubDate>Tue, 11 Sep 2012 09:58:28 +0800</pubDate><description><![CDATA[索引复制这种分布式方式，是由一个主索引和多个从索引构成，从索引从主索引复制索引。主索引负责更新索引，从索引复制同步索引和查询。一个主索引可以复制索引到多个多个从索引库






在主服务中配置索引复制请求处理类



    
        
        optimize
        
        optimize -->
        
        2]]></description><category></category></item><item><title><![CDATA[[C++ primer 学习笔记][03]标准库类型]]></title><link>https://blog.youkuaiyun.com/reesun/article/details/6914908</link><guid>https://blog.youkuaiyun.com/reesun/article/details/6914908</guid><author>reesun</author><pubDate>Fri, 28 Oct 2011 16:58:53 +0800</pubDate><description><![CDATA[一、string
1、String：支持长度可变的字符串；vector：可用于保存一组指定类型的对象


2、string初始化

strings1;// 默认值为空串
strings2(s1);// 将s2初始化为s1的一个副本
strings3(“value”);// s3初始化为一个字符串的字面值副本
strings4(n, ‘c’);// 将s4初始化为字符c的n个副本]]></description><category></category></item><item><title><![CDATA[[C++ primer 学习笔记][02]变量和基本类型]]></title><link>https://blog.youkuaiyun.com/reesun/article/details/6911649</link><guid>https://blog.youkuaiyun.com/reesun/article/details/6911649</guid><author>reesun</author><pubDate>Thu, 27 Oct 2011 18:19:53 +0800</pubDate><description><![CDATA[1、转义字符


2、枚举就是常量集合
3、每个类都定义了一个接口（interface）和一个实现（implementation）
4、头文件用于声明而不是用于定义        

extern int ival = 10     // initializer, so it's a definition
double fica_rate;        // no extern,]]></description><category></category></item><item><title><![CDATA[[C++ primer 学习笔记][00]关于]]></title><link>https://blog.youkuaiyun.com/reesun/article/details/6911544</link><guid>https://blog.youkuaiyun.com/reesun/article/details/6911544</guid><author>reesun</author><pubDate>Thu, 27 Oct 2011 17:54:02 +0800</pubDate><description><![CDATA[【关于博客】
原来用chinaunix（CU）来着，但改版了有好多问题，先转到csdn。
应该自己弄个域名啥的，哈哈~不过，感觉csdn上的牛人还挺多，自己又没有牛到非得自己架个博客服务器，所以先用着csdn~
没啥时间打理博客，在CU上也只是黏贴点有用的东西，感觉好惭愧啊~
努力写点原创，对大家有用的东西~鸭梨好大


【关于C++ primer笔记】
最近突然用到c++不得不再]]></description><category></category></item><item><title><![CDATA[[C++ primer 学习笔记][01]刚开始]]></title><link>https://blog.youkuaiyun.com/reesun/article/details/6910404</link><guid>https://blog.youkuaiyun.com/reesun/article/details/6910404</guid><author>reesun</author><pubDate>Thu, 27 Oct 2011 13:54:11 +0800</pubDate><description><![CDATA[1、&是引用吗？

Sales_item operator+(const Sales_item&, const Sales_item&);

两个引用，省去参数名称而已。
&放在变量前面是引用，比如  int &r = I1;


2、够造函数加个冒号啥意思？

Sales_item(const std::string &book):
              isbn(bo]]></description><category></category></item></channel></rss>