摘要: 随着大数据与预测分析的成熟,开源作为底层技术授权解决方案的最大贡献者的优势越来越明显。如今,从小型初创企业到行业巨头,各种规模的供应商都在使用开源来处理大数据和运行预测分析。借助开源与云计算技术,新兴公司甚至在很多方面都可以与大厂商抗衡。以下是一些大数据方面的顶级开源工具,分为四个领域:数据存储、开... 阅读全文
posted @ 2014-04-21 10:52 fastparse 阅读(221) 评论(0) 推荐(0)
摘要: 表结构:+----------------+--------------+| time | num |+----------------+--------------+| 1256278360 | 10000000 || 1256278370 | 10000000 || 1256278380 | 10000000 || 1256278390 | 10000000 || 1256278480 | 10000000 || 1256278490 | 10000000 || 1256278580 | 10000000 || 1256278590 | 10000000 || 12562786... 阅读全文
posted @ 2014-03-10 14:59 fastparse 阅读(236) 评论(0) 推荐(0)
摘要: //通过反射获取泛型的参数类型信息Type type = this.getClass().getGenericSuperclass();ParameterizedType pt = (ParameterizedType)type;Type argType = pt.getActualTypeArguments()[0];entityClass = (Class)argType;this.entityName = entityClass.getName(); 阅读全文
posted @ 2013-12-31 01:18 fastparse 阅读(251) 评论(0) 推荐(0)
摘要: http://xlambda.com/gevent-tutorial/ 阅读全文
posted @ 2013-12-26 10:39 fastparse 阅读(218) 评论(0) 推荐(0)
摘要: php安装pear和phpunithttp://hi.baidu.com/zjutxujie/item/7b08761f922df7476926bb2c安装pear下载go-pear.phar,放到phproot/pear目录下,地址http://pear.php.net/go-pear.phar。管理员身份运行cmd,打开phproot,运行php-dphar.require_hash=0PEAR/go-pear.phar。选择local->yes->Enter->Y。php.ini中会自动添加include_path=".;phproot\pear"。 阅读全文
posted @ 2013-12-26 10:38 fastparse 阅读(463) 评论(0) 推荐(0)
摘要: 来源:http://dozview.com/blog/an-implementation-of-openvpn-system-based-on-userpass-authentication-bandwidth-control前一阵子,弄到了一个非常便宜的VPS服务器,位置在美国亚利桑那州的凤凰 城,线路可以,速度不错,于是乎在上面架起了OpenVPN服务器,以便在“特殊条件”下“更加安全地访问网络”。由于每个月1TB的流量无论如何是用不 完的,打算把它分享给朋友们一起用。为了防止被滥用,需要实现OpenVPN系统的用户认证和流量控制。考虑到方便性,需要UDP、TCP协议同时支持。 经过一番研 阅读全文
posted @ 2013-12-25 14:17 fastparse 阅读(1088) 评论(0) 推荐(0)
摘要: 查看SELinux状态:1、/usr/sbin/sestatus -v ##如果SELinux status参数为enabled即为开启状态SELinux status: enabled2、getenforce ##也可以用这个命令检查关闭SELinux:1、临时关闭(不用重启机器):setenforce 0 ##设置SELinux 成为permissive模式 ##setenforce 1 设置SELinux 成为enforcing模式2、修改配置文件需要重启机器:修改/etc/selinux/config 文件... 阅读全文
posted @ 2013-12-25 11:40 fastparse 阅读(248) 评论(0) 推荐(0)
摘要: MaxentMature Java package for training and using maximum entropy models.OpenNLP CCG LibraryA collection of natural language processing components and tools which provide support for parsing and realization with Combinatory Categorial Grammar (CCG). This project is an off-shoot ofGrok.OpenNLP ToolsA 阅读全文
posted @ 2013-12-24 17:13 fastparse 阅读(247) 评论(0) 推荐(0)