1 简介Amoeba(变形虫)项目是一个开源框架,于2008年开始发布一款 Amoeba for
Mysql软件;这个软件致力于MySQL的分布式数据库前端代理层,它主要在应用层访问MySQL的时候充当SQL路由功能,专注于分布式数据库代理层(Database
Proxy)开发;位于 Client、...
分类:
数据库 时间:
2014-05-27 02:03:19
阅读次数:
346
std::fill 在[first, last)范围内填充值#include #include
#include int main(){ std::vector v; v.resize(10); std::fill(v.begin(), v.end(),
100); retu...
分类:
编程语言 时间:
2014-05-24 05:15:36
阅读次数:
320
策略模式
定义策略模式定义了算法族,分别封装起来,让他们之间可以相互转换,此模式让算法的变化独立于使用算法的客户。实例上面的定义看起来说的不太清楚,记定义无意义,理解策略模式还是要看书中的鸭子例子。假设设计一个模拟鸭子的游戏,鸭子的种类有很多,有红头鸭、绿头鸭等等,鸭子可以划水,可以呱嘎叫。在这个模...
分类:
其他好文 时间:
2014-05-20 07:44:04
阅读次数:
233
发生错误的代码:/*** 获取下载列表中的视频名称, * 若果存在添加的视频与它相同 *
则提示用户该视频已经添加到下载列表 * 备注:添加的视频超过3时,程序会崩溃 * 抛出错误: android.dat...
分类:
移动开发 时间:
2014-05-19 16:49:38
阅读次数:
2657
http://searchoracle.techtarget.com/answer/Recover-database-using-backup-controlfile-until-cancel
What is checked or what happens when we "run recover ...
分类:
数据库 时间:
2014-05-19 16:32:56
阅读次数:
475
我们先写一个简单的脚本,执行以后再解释各个变量的意义# touch variable# vi
variable脚本内容如下:#!/bin/shecho "number:$#"echo "scname:$0"echo "first :$1"echo
"second:$2"echo "argume:$@...
分类:
系统相关 时间:
2014-05-19 16:17:05
阅读次数:
398
Jump Game IGiven an array of non-negative
integers, you are initially positioned at the first index of the array.Each
element in the array represents ...
分类:
其他好文 时间:
2014-05-19 15:16:57
阅读次数:
373
Human Action Recognition Using APJ3D and Random
Forests方法概述:First, we extract the 3D skeletal jointlocations from depth images.
The APJ3D computed fro...
分类:
其他好文 时间:
2014-05-19 14:59:47
阅读次数:
371
最近写代码,无意中发现了一个坑,关于自定义比较函数的stl
sort函数的坑,于是记录下来。先贴代码: 1 #include 2 #include 3 #include 4 5 struct finder 6 { 7
bool operator()(int first, in...
分类:
其他好文 时间:
2014-05-19 14:47:48
阅读次数:
319
迭代器模式和组合模式混用前言
园子里说设计模式的文章算得上是海量了,所以本篇文章所用到的迭代器设计模式和组合模式不提供原理解析,有兴趣的朋友可以到一些前辈的设计模式文章上学学,很多很有意思的。在Head
First 设计模式这本书中,也有说迭代和组合模式混用的方法,但是使用的语言是JAVA,实现起....
分类:
其他好文 时间:
2014-05-19 13:37:27
阅读次数:
409