摘要:
Apache CouchDB ™ is a database that uses JSON for documents, JavaScript for MapReduce queries, and regular HTTP for an API CouchDB ... 阅读全文
摘要:
当习惯于Linux或者Windows命令行后,再使用MAC OS X的shell则有些不习惯 命令别名可以帮我们降低这种不适感 示例 编辑文件 # vi ~/.bash_profile 添加如下内容(根据自己习惯修改) alias dir='ls -l' alias ll='ls -l' al... 阅读全文
摘要:
1) nvwa(寓意女娲补天,从sourceforge下载),直接将其代码编译到工程中,发现有泄露后程序即终止; nvwa能够检测到内存泄露问题,但是试用后感觉不稳定 2) leaks命令,能确认到底是哪个类的使用存在泄露 直接执行 leaks pid 具体结果输出到控制台,内容多时可执行l... 阅读全文
摘要:
Pointer to class member function: static: return_type (*member_func_ptr_var)(parameter_list) = &class_name::member_func normal_func: declare: re... 阅读全文
摘要:
项目中使用boost::asio,其中的异步调用往往会有一个handler参数,这个参数一般使用动态内存申请的对象和其成员函数构建。 因此如果在asio线程和对象管理线程中间没有适当的同步机制,则很容易造成内存访问错误,如pure virtual method called等。这时候可以使用bo... 阅读全文
摘要:
Tom is an independent consultant, the author of C++ Programming Style (Addison-Wesley, 1992), and a columnist for C++ Report. This article is based ... 阅读全文
摘要:
Summary "Pure virtual function called" is the dying message of the occasional crashed C++ program. What does it mean? You can find a couple of simp... 阅读全文
摘要:
关系数据库大行其道, 提供丰富灵活的查询功能. 同时吸纳对象数据库和XML数据库的优点. 近些年,关系数据库也备受质疑,并演化为NoSQL运动. NoSQL首先是在1998年提出用于指代忽略SQL的关系数据库. 2009年,这一术语又被重新拿出来指代非关系数据库. 而使其为大家所熟知的则是R... 阅读全文
摘要:
I need to turn to you, knowledgeable readers, for help in answering some questions. In a followup to yesterday's announcement by Red Hat about its v... 阅读全文
摘要:
零型(Type Zero)虚拟机监控程序的兴起 By Will Keegan, Technical Specialist, LynuxWorks, Inc. This post is also available in: 繁体中文, 英语 虚拟技术为嵌入式设计带来了巨大的好处,比如可... 阅读全文