<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[github_29989383的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/github_29989383</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; github_29989383]]></copyright><item><title><![CDATA[zookeeper 之配置管理]]></title><link>https://blog.youkuaiyun.com/github_29989383/article/details/78459682</link><guid>https://blog.youkuaiyun.com/github_29989383/article/details/78459682</guid><author>github_29989383</author><pubDate>Mon, 06 Nov 2017 17:14:21 +0800</pubDate><description><![CDATA[zookeeper 是apache下开源的分布式协调工具。
基于这个工具可以实现分布式锁，由于它是开源的，因此衍生很多其他的功能，如配置管理。
在一些项目中有许许多多的配置文件，且在分布式环境下管理很困难，维护成本高。因此采用
zookeeper作为配置集中管理的手段，就显得很有效果。


zookeeper之所以能用作配置管理，主要基于它两个特点：
一是它的数据结构znode，类似]]></description><category></category></item><item><title><![CDATA[leetcode之 Judge Route Circle]]></title><link>https://blog.youkuaiyun.com/github_29989383/article/details/78387039</link><guid>https://blog.youkuaiyun.com/github_29989383/article/details/78387039</guid><author>github_29989383</author><pubDate>Sun, 29 Oct 2017 18:53:50 +0800</pubDate><description><![CDATA[题目很简单：本质上就是判断上下左右的次数是否相等


class Solution {
public:
    bool judgeCircle(string moves) {
        int up_count =0;
        int dow_count =0;
        int r_count=0;
        int l_count=0;
    ]]></description><category></category></item><item><title><![CDATA[leetcode之 Array Partition I]]></title><link>https://blog.youkuaiyun.com/github_29989383/article/details/78105796</link><guid>https://blog.youkuaiyun.com/github_29989383/article/details/78105796</guid><author>github_29989383</author><pubDate>Tue, 26 Sep 2017 19:23:43 +0800</pubDate><description><![CDATA[Given an array of 2n integers, your task is to group these integers into n pairs of integer, say (a1,
 b1), (a2, b2),
 ..., (an, bn) which makes sum of min(ai,
 bi) for all i from 1 to n as large a]]></description><category></category></item><item><title><![CDATA[leetcode之Merge Two Binary Trees]]></title><link>https://blog.youkuaiyun.com/github_29989383/article/details/78092118</link><guid>https://blog.youkuaiyun.com/github_29989383/article/details/78092118</guid><author>github_29989383</author><pubDate>Tue, 26 Sep 2017 10:01:30 +0800</pubDate><description><![CDATA[Given two binary trees and imagine that when you put one of them to cover the other, some nodes of the two trees are overlapped while the others are not.

You need to merge them into a new binary tr]]></description><category></category></item><item><title><![CDATA[leetcode 之Remove Element]]></title><link>https://blog.youkuaiyun.com/github_29989383/article/details/78044574</link><guid>https://blog.youkuaiyun.com/github_29989383/article/details/78044574</guid><author>github_29989383</author><pubDate>Wed, 20 Sep 2017 19:36:59 +0800</pubDate><description><![CDATA[Given an array and a value, remove all instances of that value in place and return the new length.

Do not allocate extra space for another array, you must do this in place with constant memory.

]]></description><category></category></item><item><title><![CDATA[otlv4简介]]></title><link>https://blog.youkuaiyun.com/github_29989383/article/details/77868519</link><guid>https://blog.youkuaiyun.com/github_29989383/article/details/77868519</guid><author>github_29989383</author><pubDate>Wed, 06 Sep 2017 16:49:10 +0800</pubDate><description><![CDATA[OTL是一个轻量级的数据库操作工具；可以访问多种数据库（oracle，db2,mysql, sql server等等）
但是它只能用于c++。
otl_connect db  ; //数据库连接对象。

otl_stream;  //类似于io流操作。


#include 
#define OTL_ODBC_MYSQL //使用mysql数据库

#include   //o]]></description><category></category></item><item><title><![CDATA[goto的替换]]></title><link>https://blog.youkuaiyun.com/github_29989383/article/details/77510825</link><guid>https://blog.youkuaiyun.com/github_29989383/article/details/77510825</guid><author>github_29989383</author><pubDate>Wed, 23 Aug 2017 19:45:04 +0800</pubDate><description><![CDATA[在实际工作中goto这种无条件转移语句是不被提倡的，因它增加了阅读复杂度；
阅读代码的人需要跳来跳去。
但是有些场景下用goto这种逻辑又机器方便，因此工程师们找出了一中替代方案
do{
if()
{
.....
break; 

}
if()
{
.....
break;
} 
}while（0）
如此可以达到目的。]]></description><category></category></item><item><title><![CDATA[敏捷开发模式在项目实际开发过程中一些问题]]></title><link>https://blog.youkuaiyun.com/github_29989383/article/details/77005307</link><guid>https://blog.youkuaiyun.com/github_29989383/article/details/77005307</guid><author>github_29989383</author><pubDate>Wed, 09 Aug 2017 17:24:17 +0800</pubDate><description><![CDATA[一个敏捷团队还是可能按功能分为不同的小组，虽然pm想弱化“组”，但是实际操作起来很困难
在产品迭代过程中，底层框架接口有变动后，有时会使业务层代码发生大范围改动，这是业务层方面不希望发生的。
因此没有pm拍板的情况下，团队内部协商，面对面沟通往往会发生扯皮现象。
大家都不太愿意大范围改动自己的代码，因为无法保证改动后是否会影响使用，代价也比较大。
然而在敏捷开发过程，重构代码再所难免的。因]]></description><category></category></item><item><title><![CDATA[valgrind内存检测工具]]></title><link>https://blog.youkuaiyun.com/github_29989383/article/details/75646276</link><guid>https://blog.youkuaiyun.com/github_29989383/article/details/75646276</guid><author>github_29989383</author><pubDate>Fri, 21 Jul 2017 14:47:09 +0800</pubDate><description><![CDATA[c/c++程序开发过程，难免会主动申请和释放内存，因此在较大的应用程序中就会经常出现内存错误。所以我们就需要对代码进行内存调试，尽可能的避免内存错误。
valgrind是linux平台下一款功能丰富的内存调试以及性能分析的工具：
Memcheck : 检查程序中的内存问题，例如内存泄露，越界，非法指针等等。
Callgrind：检测程序代码覆盖，以及分析程序性能。
Cachegrind：分]]></description><category></category></item><item><title><![CDATA[libco协程学习]]></title><link>https://blog.youkuaiyun.com/github_29989383/article/details/75529624</link><guid>https://blog.youkuaiyun.com/github_29989383/article/details/75529624</guid><author>github_29989383</author><pubDate>Thu, 20 Jul 2017 15:03:48 +0800</pubDate><description><![CDATA[libco学习]]></description><category></category></item><item><title><![CDATA[C++ 委托 fastdelegate]]></title><link>https://blog.youkuaiyun.com/github_29989383/article/details/75517052</link><guid>https://blog.youkuaiyun.com/github_29989383/article/details/75517052</guid><author>github_29989383</author><pubDate>Thu, 20 Jul 2017 14:00:03 +0800</pubDate><description><![CDATA[c++委托之fastdelegate]]></description><category></category></item><item><title><![CDATA[C++开发]]></title><link>https://blog.youkuaiyun.com/github_29989383/article/details/66968471</link><guid>https://blog.youkuaiyun.com/github_29989383/article/details/66968471</guid><author>github_29989383</author><pubDate>Mon, 27 Mar 2017 10:09:36 +0800</pubDate><description><![CDATA[C++开发]]></description><category></category></item><item><title><![CDATA[libtool should recreate aclocalm4]]></title><link>https://blog.youkuaiyun.com/github_29989383/article/details/51886234</link><guid>https://blog.youkuaiyun.com/github_29989383/article/details/51886234</guid><author>github_29989383</author><pubDate>Tue, 12 Jul 2016 09:39:58 +0800</pubDate><description><![CDATA[libtool 和aclocalm4]]></description><category></category></item><item><title><![CDATA[va_start和va_end使用详解]]></title><link>https://blog.youkuaiyun.com/github_29989383/article/details/51833229</link><guid>https://blog.youkuaiyun.com/github_29989383/article/details/51833229</guid><author>github_29989383</author><pubDate>Tue, 05 Jul 2016 17:24:40 +0800</pubDate><description><![CDATA[va_start和va_end介绍，c语音处理位置参数做法]]></description><category></category></item><item><title><![CDATA[怎样用quilt管理debian包中的patches]]></title><link>https://blog.youkuaiyun.com/github_29989383/article/details/51321555</link><guid>https://blog.youkuaiyun.com/github_29989383/article/details/51321555</guid><author>github_29989383</author><pubDate>Thu, 05 May 2016 11:41:23 +0800</pubDate><description><![CDATA[quilt管理patches]]></description><category></category></item><item><title><![CDATA[strcat拼接两个字符指针后，释放内存崩溃问题]]></title><link>https://blog.youkuaiyun.com/github_29989383/article/details/50801389</link><guid>https://blog.youkuaiyun.com/github_29989383/article/details/50801389</guid><author>github_29989383</author><pubDate>Fri, 04 Mar 2016 11:47:27 +0800</pubDate><description><![CDATA[在实际开放中，我们可能会用到strcat拼接两个字符串，例如


char a[6] = "hello";
char b[6] = "world";

strcat(a,b);
free(a);
free(b);


此时会出现越界情况，由于a只有6个字符的空间，拼接后超出了本身空间大小，因此会报错，
所以需要用realloc重新给a分配足够的空间来存储新的字符串。

]]></description><category></category></item><item><title><![CDATA[调试工具gdb介绍]]></title><link>https://blog.youkuaiyun.com/github_29989383/article/details/50607920</link><guid>https://blog.youkuaiyun.com/github_29989383/article/details/50607920</guid><author>github_29989383</author><pubDate>Fri, 29 Jan 2016 16:07:46 +0800</pubDate><description><![CDATA[gdb是unix/linux下的一款非常实用的调试工具，我个人是如此觉得的。它是非图形化调试工具，功能上不逊色windows上那些可视化调试工具,如VC,VS等。

一般优麒麟自动gdb调试工具，如果没有，用命令sudo apt-get install gdb工具。
gdb使用方式gdb ./(可执行程序)，
　　　　
回车进入gdb模式


输入r/R,则程序会直接运行，如果输入]]></description><category></category></item></channel></rss>