做exploratory data
annalysis的作业,差点被虐死了,R从头开始,边做边学,最后搞到一点多才弄完,还有一个图怎么画都不对,最后发现是数据读取的时候有问题。用来画图的数据来自:http://archive.ics.uci.edu/ml/datasets/Individual+ho...
分类:
其他好文 时间:
2014-05-16 07:54:41
阅读次数:
406
注意:当使用 fork 函数加载独立进程的时候,你必须总是在 fork 后面调用 exec
或者类似的函数。 基于 Core Foundation、Cocao 或者 Core Data 框架(无论显式还是隐式关联)的应用程序随后调用 exec
函数或者类似的函数都会导出不确定的结果。分叉函数编辑头文...
分类:
其他好文 时间:
2014-05-16 06:26:39
阅读次数:
285
题目: Design and implement a data structure for Least
Recently Used (LRU) cache. It should support the following operations:getandset.
get(key)- Get ...
分类:
其他好文 时间:
2014-05-16 05:42:29
阅读次数:
280
startActivityForResult(Intent intent, int
requestCode)onActivityResult(int requestCode, int resultCode, Intent
data)setResult(int resultCode, Intent d...
分类:
移动开发 时间:
2014-05-15 15:48:49
阅读次数:
372
首先,本篇文章只讲 “默认构造函数”,即如你所知,默认构造函数是不带参数的构造函数。
编译器会在 适当的时候 为class合成一个默认构造函数 ~~
先问以下两个问题:
编译器会为任何没有声明构造函数的class,合成默认构造函数?? 错!!!
合成的默认构造函数会显示设定class内的每一个data member的默认值?? 错!!!
class Base
{
public:
...
分类:
编程语言 时间:
2014-05-15 06:25:02
阅读次数:
270
一、 创建表
在官方的wiki里,example是这样的:
Sql代码
CREATE [EXTERNAL] TABLE [IF NOT EXISTS] table_name [(col_name data_type [COMMENT col_comment], ...)] [COMMENT table_comment] [PARTITION...
分类:
数据库 时间:
2014-05-14 14:50:27
阅读次数:
463
mysql5.6.14配置my.cnf多实例,mysql_install_db初始化不读取my.cnf配置文件
[ERROR] InnoDB: auto-extending data file ./ibdata1 is of a differentsize 768 pages (rounded down to MB) than specified in the .cnf file: initial65536 pages, max 0 (relevant if non-zero) pages!
2014-0...
分类:
数据库 时间:
2014-05-14 14:20:48
阅读次数:
412
using System;using System.Data;using
System.Configuration;using System.Web;using System.Web.Security;using
System.Web.UI;using System.Web.UI.WebContro...
分类:
Web程序 时间:
2014-05-14 13:33:33
阅读次数:
510
//doc_anonymous_mutex_shared_data.hpp#include
struct shared_memory_log{ enum { NumItems = 100 }; enum { LineSize = 100 };
shared_memory_log()...
分类:
其他好文 时间:
2014-05-14 10:38:00
阅读次数:
343
在android开发中,
在一些编辑个人信息的时候,经常会有头像这么一个东西,就两个方面,调用系统相机拍照,调用系统图库获取图片.但是往往会遇到各种问题:1.oom2.图片方向不对3.activity
result 的时候data == null4.调用图库的时候没找到软件嘿嘿..开代码:首先是.....
分类:
移动开发 时间:
2014-05-14 10:28:42
阅读次数:
538