下面是 August, 2007的汇总

未来3到5年存储技术五大变化

Thursday, August 30th, 2007

转载一篇

上次,我说应该重新划分数据类型为OLTP数据和Web数据。这次,我想谈谈未来3到5年内,我认为存储技术将要发生的五大变化。

一、多数情况下将不再使用离线存储

网络带宽的单位成本和硬盘成本都在下降,多站点容灾恢复(DR)、重复数据删除,还有更多其他技术的发展将推动在线存储的普及。因此,我有充足的理由认为,这个变化正在发生,而且在未来几年内还将加速发展。当然,这个转变是需要时间的。

二、flash(闪存)将成为可行的一级存储选项
(more…)

小猪猪又有重大进步

Thursday, August 30th, 2007

昨天小猪猪又有重大进步,自己可以独立穿鞋了,而且是两只哦

以前每次出门的时候,小猪猪已经知道要找到自己的鞋子拿来让爸妈帮他传,昨天妈妈在忙别的事情,他居然自己找出来鞋子,并且传上了,值得表扬啊。

另外,小猪猪好像一直有运动天赋,除了足球之外,最近学会了羽毛球,昨天下班回家,发现他一手拿球拍,一手拿球,嘴里还念念有词–打

继续发掘小家伙的潜力。

测试知识问与答(第五期)

Wednesday, August 29th, 2007

Q: What if there isn’t enough time for thorough testing?

* Which functionality has the largest safety impact?
* Which functionality has the largest financial impact on users?
* Which aspects of the application are most important to the customer?
* Which aspects of the application can be tested early in the development cycle?
* Which parts of the code are most complex and thus most subject to errors?
* Which parts of the application were developed in rush or panic mode?
* Which aspects of similar/related previous projects caused problems?
* Which aspects of similar/related previous projects had large maintenance expenses?
* Which parts of the requirements and design are unclear or poorly thought out?
* What do the developers think are the highest-risk aspects of the application?
* What kinds of problems would cause the worst publicity?
* What kinds of problems would cause the most customer service complaints?
* What kinds of tests could easily cover multiple functionalities?
* Which tests will have the best high-risk-coverage to time-required ratio?

Q: What if the project isn’t big enough to justify extensive testing?
(more…)

利用sed批量替换一批文件

Tuesday, August 21st, 2007

在需要对一个文件进行替换的时候,利用sed这个工具非常有用,比如

sed ’s/abc/efg/g’ file

今天遇到一目录的文件需要批量进行替换,这样就比较麻烦了。以前还没有这样做过。man了一下sed的帮助,又从网上查找了一下,发现了一个比较好的解决方案,用参数-in-place。

在Linux平台上,利用如下命令即可达成:

sed -in-place -e ’s/abc/cba/g’ *

不过好像Solaris平台不支持-in-place这个参数,只能用一个小小的程序实现了。

for f in `ls *.html`
do
cat $f | sed s#/style.css#/blog/styles_zh-cn.css#g > tmp.txt
mv -f tmp.txt $f
done

本文参考了车东的一片帖子

如何理解LoadRunner中的关联

Saturday, August 18th, 2007

说关联之前先说说正则表达式吧(也叫规则表达式,其实说的是一个东西)

在脚本语言中,给定一个复杂的字符串,如果要取其中符合一定模式的字符或者字符串,就需要进行模式匹配,这个时候正则表达式就是最好的解决方案了。下面举个简单的例子说说。

给定一个字符串org:

“Value=/wEPDwUKLTY4MzkwMjI5MA9kFgJmD2QWAg==”, ENDITEM,

假如我们要匹配Value=/后面的这个很大的值,那么用正则表达式改怎么写呢?
下面给出一种Tcl语言的正则表达式写法(写法不止一种),

set org “Value=/wEPDwUKLTY4MzkwMjI5MA9kFgJmD2QWAg==”

if [regexp -all {Value=/(.*)==} $org match value] {
puts $value
}

这里用到了两个参考,前面的边界和后面的边界,前面的边界是:\”Value=/, 后面的边界是:==\” 利用这两个边界,左边界和右边界,我们就可以准确的定位和匹配这个需要的字符串。

说了这么多,现在步入正题,LoadRunner中的关联。其实前面介绍了正则表达式,明白点的朋友可能已经知道我想说什么了–这就是我理解的LoadRunner中关联的内部实现,当然可能实际的实现比这个要复杂的多。

那个字符串org就是我从一段脚本中摘录过来的,是一个web page的源代码中的一句话,LoadRunner通过web_reg_save_param函数在内部利用正则表达式把这个值匹配下来,然后存起来,以备后面使用。

web_reg_save_param函数有两个很重要的参数,就是LB和RB,这就是我前面正则表达式里面用的左边界和右边界。这个值是在调用之前提前取出来的,所以web_reg_save_param这个方法一定要写在使用调用或者打开页面的前面。

抛砖引玉,希望对加深大家对LoadRunner中关联的理解有帮助。

测试知识问答第四期

Wednesday, August 15th, 2007

Q: What makes a good QA engineer?

A: The same qualities a good test engineer has are useful for a QA engineer. Additionally, Rob Davis understands the entire software development process and how it fits into the business approach and the goals of the organization. Rob Davis’ communication skills and the ability to understand various sides of issues are important. Good QA engineers understand the entire software development process and how it fits into the business approach and the goals of the organization. Communication skills and the ability to understand various sides of issues are important.

Q: What makes a good QA/Test Manager?
(more…)

甲骨文将超微软成全球最大软件公司

Wednesday, August 15th, 2007

据说这是我们老板一直以来的一个梦想,呵呵

甲骨文CEO:将超微软成全球最大软件公司

据国外媒体报道,甲骨文CEO拉里·艾里森(Larry Ellison)日前表示,甲骨文将超越微软,成为全球第一大软件厂商。
艾里森说,甲骨文能否超越微软成为全球最大软件厂商取决于两个问题:甲骨文的增长速度和微软的下降速度。
当然,艾里森并不是憎恨微软,只是想比微软更强大。艾里森说,他的任务就是使甲骨文成为No.1。目前,甲骨文是全球第二大软件厂商。今年5月份,埃里森曾表示,通过并购,甲骨文已经不再是当初的甲骨文了。

在过去两年多的时间内,甲骨文并购了30多家企业。其中包括仁科、Siebel、iFlex和Agile等。通过并购,甲骨文已经发展成为一家市值约100亿美元的企业。艾里森也表示,将来甲骨文会继续走并购路线。

Oracle Database 11g提供下载

Monday, August 13th, 2007

官方版的Oracle database 11g Rease1已经提供下载,地址请参考oracle公司官方网址,如下

下载地址

目前只有Linux版本,正式的文档也出来了,地址如下

文档地址
大小373M,可以整个下载到本地,方便查阅。


Close
E-mail It