了解RDD之前,必读UCB的论文,个人认为这是最好的资料,没有之一。http://www.cs.berkeley.edu/~matei/papers/2012/nsdi_spark.pdf A Resilient Distributed Dataset (RDD), the basic abstra...
分类:
其他好文 时间:
2015-01-23 06:12:04
阅读次数:
448
0、前言
最近项目的流程逐渐清晰,但是很多关键性的技术没有掌握,也只能一步一步摸索。
由于要做基于数据流分析的静态代码分析,所以前端的工作如:词法分析、语法分析必不可少。Yacc和Lex什么的就不再考虑了,查了一天的资料,发现两款比较适合,一款是Java下的ANTLR,另一款是专门做PHP AST生成的PHP-Parser。
ANTLR是编译原理领域比较著名的工具了,相对于Yacc和Lex,...
分类:
Web程序 时间:
2015-01-22 23:24:55
阅读次数:
2784
错误 Parser Error Message: The base class includes the field 'rvEquipment', but its type (Microsoft.Reporting.WebForms.ReportViewer) is not compatible w...
分类:
其他好文 时间:
2015-01-22 10:46:55
阅读次数:
328
1、到斯坦福官方网站http://nlp.stanford.edu/software/lex-parser.shtml下载软件包,解压。
2、在eclipse中新建一个java project,把解压得到根目录下的stanford-parser.jar和stanford-parser-3.*.*-models.jar两个包导入项目到项目引用包中,
然后把解压得到根目录下的ParserD...
分类:
其他好文 时间:
2015-01-21 22:35:37
阅读次数:
380
运行Stanford Parser demo时出现错误:
Unsupported major.minor version 52.0 error
出现问题原因:
JDK的问题:在eclipse中开发的项目有个java build path中可以配置的jdk,还有个java compiler中可以配置compiler level{eclipse>windows>preferenc...
分类:
其他好文 时间:
2015-01-21 11:35:14
阅读次数:
149
简介Ganglia是UC Berkeley发起的一个开源集群监视项目,设计用于测量数以千计的节点。Ganglia的核心包含gmond、gmetad以及一个Web前端。主要是用来监控系统性能,如:cpu 、mem、硬盘利用率, I/O负载、网络流量情况等,通过曲线很容易见到每个节点的工作状态,对合理调...
分类:
其他好文 时间:
2015-01-20 21:54:15
阅读次数:
307
查看当前系统版本号[root@localhost~]#less/etc/redhat-release检查系统已安装的组件包中是否已存在Redhat的自带的yum系列组件包[root@localhost~]#rpm-qa|grepyumyum-metadata-parser-1.0-8.fc6yum-3.0.1-5.el5yum-updatesd-3.0.1-5.el5yum-rhn-plugin-0.4.3-1.el5如果存在请..
分类:
其他好文 时间:
2015-01-20 18:35:14
阅读次数:
163
所有的内容基于《两周自制脚本语言》。原文中使用Java编写。鉴于本人不怎么会写Java(书里面有好奇怪的语法,不懂(逃)),便用C#写了一个简单的parser。代码输入格式:1: i=2+3*3/(4-2)2: i=1; if(i) { i=2; } 3: i=4; sum=0; while(i.....
分类:
其他好文 时间:
2015-01-20 15:04:03
阅读次数:
86
A tick is an event that occurs for everyNlow-level tickable statements executed by the parser within thedeclareblock. The value forNis specified using...
分类:
Web程序 时间:
2015-01-19 18:34:25
阅读次数:
225
#!/usr/bin/python
# -*- coding: utf-8 -*-
from libnmap.process import NmapProcess
from libnmap.parser import NmapParser
import requests
x=90
while x < 255:
print "\033[1;31mstart 118.192.%s.0/24\033...
分类:
编程语言 时间:
2015-01-19 10:56:44
阅读次数:
535