Safari3.1
Firefox3.0
Opera9.52
Google Chrome:78
Safari:75
Firefox:69
Opera:83
Chrome和Safari和一样的内核,但是竟然比Safari的得分还高,看来在标准化上还是做了一些工作的啊!
Safari3.1
Firefox3.0
Opera9.52
Google Chrome:78
Safari:75
Firefox:69
Opera:83
Chrome和Safari和一样的内核,但是竟然比Safari的得分还高,看来在标准化上还是做了一些工作的啊!
官方网站:http://www.google.com/chrome
官方简介:
在谷歌,我们每天绝大部份时间里都是通过网页浏览器来工作的。我们用浏览器搜索,聊天,收发Email和协同工作。和大家一样,工作之余我们会用浏览器进行网上购物,使用电子银行,阅读网络新闻以及和朋友保持联系。人们将越来越多的时间用来上网,如今的网络应用是15年前互联网刚刚出现时无法想象的。
因为我们将大量时间都花在了网络上,于是我们开始认真思考什么样的浏览器是最合适的,特别是当众多的优秀应用都是构建在浏览器的基础上。我们认识到网络已经从简单的文本页面进化到富媒体和互动应用广泛普及的新时代。我们应该彻底地重新认识浏览器。我们需要的不仅仅是一个”浏览”器,而是一个现代化的平台,可以浏览网页,使用网络应用,并支持那些我们刚刚开始着手的功能。
所以今天,我们发布了一个崭新的开源浏览器:谷歌浏览器测试版。
从界面来看,我们设计了一个简单而高效的浏览器窗口。对大多数人来说,浏览器本身并不重要,它只是一个能够运行互联网网页、网站和网络应用等重要程序的工具。正如谷歌的经典主页,谷歌浏览器延续了简洁、快速的设计理念,帮助用户快速准确地到达目的地。
从根本上讲,我们提供了一个能更好地支持各种复杂网络应用的浏览器基础平台。通过让每一个标签相互独立开来,从而避免了两个标签页产生冲突的可能,同时对来自恶意网站的攻击我们提供了更好的保护。我们提高了浏览器整体上的速度和响应度。我们还建立了一个更强大的JavaScript引擎V8,以便为下一代网络应用技术提供支持,这些网络应用在目前的浏览器上几乎不可能实现。
一切都刚刚开始,谷歌浏览器也刚刚起步。我们将这个测试版发布在Windows操作平台上,以便大家展开更广泛的讨论,希望能尽快地听到大家的建议。目前,谷歌还在努力开发应用于Mac和Linux的谷歌浏览器,我们会不断改进,使它更快、更稳定。
我们对很多开发开源项目的人心存感激,我们承诺会沿着前人的路继续前行。我们借鉴了一些源自Apple WebKit和 Mozilla Firefox的技术,怀着同样开源的精神,谷歌浏览器所有的代码全部开源。我们希望能与整个业界合作从而促进互联网的健康发展。
伴随着众多选择和不断创新,互联网会越来越好。谷歌浏览器就是一个很好的选择,我们希望它能为互联网的发展做出贡献。
谷歌浏览器揭秘
借助于谷歌浏览器所包含的众多功能,网站管理员可向最终用户提供更好的使用体验。谷歌浏览器内置了 Gears,能让网站管理员充分利用离线存储等 API 功能。另外,用户还可以选择以极简用户界面模式启用谷歌浏览器 - 在该模式中,除标题栏之外,别无他物,这样在谷歌浏览器中就能像使用“桌面”应用程序那样使用网络应用程序。
谷歌浏览器还使用了全新的 JavaScript 引擎 (V8),新引擎的运行速度远高于现在的 JavaScript 解释器。也就是说,您可以突破以往速度与处理能力的限制,生成更复杂且内容更丰富的 AJAX 应用程序。最后一点,谷歌浏览器是建立在 WebKit 的基础上,所以当推出 CSS3 功能时,谷歌浏览器用户即可受益于添加到 WebKit 的这些 CSS3 功能。
谷歌浏览器的用户代理字符串是:
Mozilla/5.0(Windows;U;Windows NT 5.1;en-US)AppleWebKit/525.13(KHTML,如 Gecko)Chrome/0.X.Y.Z Safari/525.13。
谷歌浏览器与 Apple 的 Safari 等其他浏览器一样,使用 WebKit 呈现引擎。网页在谷歌浏览器中的外观应与在其他以 WebKit 为基础的浏览器中相同。要找出这些浏览器,可在用户代理字符串中查找 webkit ,而不是使用具体浏览器名称(如谷歌浏览器或 Safari)。
在 Windows 平台上,只有 Internet Explorer(以及以 Internet Explorer 为基础建立的浏览器)支持 ActiveX。谷歌浏览器、Mozilla Firefox、Apple Safari 与其他浏览器都不支持 ActiveX。这些浏览器使用 Netscape 插件应用程序编程界面(Netscape Plugin Application Programming Interface,NPAPI)。
主要功能:
下列信息均来自官方介绍
整体看来Google Chrome属于一款比较简单使用的浏览器,附件功能不多,都是一些简单实用的功能,最显著的一个功能就是浏览器的任务管理器:
使用户了解每个页面对内存,CPU和网络的使用情况,如果出现问题,可以终止单个页面.
还有就是Gears,对离线预览有很好的支持.
应用程序快捷方式对我来说,感觉没有什么太大用处,就是建立个快捷方式而已.
还有就是使用Webkit内核了,据说性能很是不错,具体数字,我没有发现,等广大用户使用后便知分晓.
我感觉Chrome对一个一个普通用户来说并没有什么吸引人的性能,也很难走入寻常百姓家,即使受到这么大的关注度.
对于开发人员,我想在Firefox下有那么强大的Firebug,还有现在强大的IE8,Chrome也不会吸引太多开发者的眼球啊!
Chrome使用的是webkit内核,和Apple的Safari呈现应该基本一直,因此在制作网页时,也就不用考虑在Chrome上的呈现了.
Chrome能走多远,还是个未知数啊!
Enterprise Java developers must achieve broader, deeper test coverage, going beyond unit testing to implement functional and integration testing with systematic acceptance. Next Generation Java™ Testing introduces breakthrough Java testing techniques and TestNG, a powerful open source Java testing platform.
Cédric Beust, TestNG’s creator, and leading Java developer Hani Suleiman, present powerful, flexible testing patterns that will work with virtually any testing tool, framework, or language. They show how to leverage key Java platform improvements designed to facilitate effective testing, such as dependency injection and mock objects. They also thoroughly introduce TestNG, demonstrating how it overcomes the limitations of older frameworks and enables new techniques, making it far easier to test today’s complex software systems.
Pragmatic and results-focused, Next Generation Java™ Testing will help Java developers build more robust code for today’s mission-critical environments.
This book
Whether you use TestNG, JUnit, or another testing framework, the testing design patterns presented in this book will show you how to improve your tests by giving you concrete advice on how to make your code and your design more testable.
Next Generation Java Testing TestNG and Advanced Concepts Downloading
===============================================================================
Publisher: Packt Publishing
Release date: June 2008
Pages: 138
Format: PDF
ISBN 1847192955
ISBN 13 978-1-847192-95-0
===============================================================================
Introduction
Learn to load-test your website, test its functional behaviour, and measure its performance by implementing the features of JMeter.
In Detail
A bad response time on a website can drive away visitors and prospective customers. To measure what a website can handle, there should be a way to simulate and analyze different load scenarios—this is where a load-testing tool like JMeter comes in. JMeter is a powerful desktop performance tool from the Apache Jakarta project, written in Java, for load-testing web pages, web applications, and other static and dynamic resources including databases, files, Servlets, Perl scripts, Java Objects, FTP Servers, and more.
JMeter works by acting as the “client side” of an application, and measures response time. As such, it’s one half of the testing arsenal; the other half consists of a tool to watch metrics on the server side, such as thread counts, CPU loads, resource usage, and memory usage. Although it can’t behave like a browser to measure rich client-side logic such as JavaScripts or Applets, JMeter certainly measures the performance of the target server from the client’s point of view. JMeter is able to capture test results that help you make informed decisions and benchmark your application.
This book introduces you to JMeter (version 2.3) and test automation, providing a step-by-step guide to testing with JMeter. You will learn how to measure the performance of a website using JMeter.
While it discusses test automation generally, the bulk of this book gives specific, vivid, and easy-to-understand walkthroughs of JMeter’s testing tools showing what they can do, and when and how to use them.
===============================================================================
What you will learn from this book
===============================================================================
Approach
This book is focussed on learning and understanding JMeter. It starts with a basic introduction and installation, followed by using JMeter to test web applications. It proceeds to show how to use JMeter to perform load testing and also to test the functional behavior of the target web application. The discussion continues to include testing servers other than web application servers, and demonstrates the use of some of JMeter’s built-in functions. This book aims to give readers an introductory view of JMeter, and gives a brief and realistic overview to those researching for an ideal testing tool to use in testing projects.
The book is written in a straightforward, clear way, with plenty of step-by-step instructions and illustrative screenshots.
Who this book is written for
The ideal readers or users of this book are experienced or novice testers who have been testing manually and now would like to automate their tests. Those testers who are already automating their testing using other tools or testing software may also want to use this book as they look for alternatives. This book would also be a good point for test Managers/Leaders to start doing research on the test automation tool that may best suit their testing needs and of course, their budget
JMeter’s target audience is the testing community, which is generally not the hangout of developers or technical people. Almost anything one would like to do in HTTP testing will be supported by JMeter without requiring any programming.
The user need not have much technical knowledge to work with JMeter. It has a simple-to-use and intuitive drag-and-drop style GUI that helps any non-technical user to get started.
最先发现Feed广告是在FeedSky上,但是不知道为什么就是显示不出来,估计仅仅是测试,还没有完全完成.
最近发现Google Adsense也推出了Feed广告.
不过需要FeedBurner帐户,并使用FeedBurner的Feed输入,我是使用的是FeedSky,所以就不能使用这项功能了
FeedBurner的Feed在国内经常被封,现在好像还在被封,所以在国内使用FeedBurner输出的人已经很少了.国内Blog用户大多使用FeedSky输出,我相信它的Feed广告也会很快推出的
标签: Adsense, Feed, FeedBurner, FeedSky, Google
在众人的期待中搜狗团队终于推出了五笔输入法,在这个里感谢他们给我们提供这个好用的工具.不过我是使用拼音,我什么朋友大多使用的是五笔.
搜狗输入法自从推出就在用户占有了极高的使用率,很多不错的功能让我们使用起来非常爽!
这次推出五笔输入笔,继承了搜狗的一贯风格,拼音输入法的图标是红色,五笔输入法是绿色
五笔输入法官方主页的界面和拼音输入法基本一致
官方功能介绍
1.1 包括五笔-拼音,纯五笔,纯拼音三种输入模式
1.2 多种输入习惯的设置
1.3 加入多种热门新词
1.4 支持在线同步词库以及配置
1.5 支持自造词
1.6 支持调频,需手动开启
1.7 支持所有拼音输入法的皮肤
目前是这是1.0版本
搜狗拼音输入法现在已经出到了3.5奥运版.
这里截个图给大家看一下,和拼音输入法界面基本一样.
1.页面居中对齐
如果想做个固定宽度的网页并且想让网页水平居中的话,通常是这样:
#content { width: 700px; margin: 0 auto }
你会使用
来围上所有元素。这很简单,但不够好,IE6之前版本会显示不出这种效果。改CSS如下:
body { text-align: center } #content { text-align: left; width: 700px; margin: 0 auto }
这会把网页内容都居中,所以在Content中又加入了
text-align: left
2.CSS字体属性简写规则
一般用CSS设定字体属性是这样做的:
font-weight:bold;
font-style:italic;
font-varient:small-caps;
font-size:1em;
line-height:1.5em;
font-family:verdana,sans-serif;
但也可以把它们全部写到一行上去:
font: bold italic small-caps 1em/1.5em verdana,sans-serif;
真不错!只有一点要提醒的:这种简写方法只有在同时指定font-size和font-family属性时才起作用。而且,如果你没有设定font-weight, font-style, 以及 font-varient ,他们会使用缺省值,这点要记上。
3.同时使用两个类
一般只能给一个元素设定一个类(Class),但这并不意味着不能用两个。事实上,你可以这样:
<p class=”text side”>…</p>
同时给P元素两个类,中间用空格格开,这样所有text和side两个类的属性都会加到P元素上来。如果它们两个类中的属性有冲突的话,后设置的起作用,即在CSS文件中放在后面的类的属性起作用。
补充:对于一个ID,不能这样写
<p id=”text side”>…</p>
4.关于clearfix的使用
摘自Blueprint CSS Framework,在这个项目中我们使用了这个框架,关于clearfix的一些细节,可以从网上查到,或者从下面的网址中查看,不过是英文.
/* Clearing floats without extra markup
Based on How To Clear Floats Without Structural Markup by PiE
[http://www.positioniseverything.net/easyclearing.html] */
.clearfix:after, .container:after {
content: “.”;
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.clearfix, .container {display: inline-block;}
* html .clearfix,
* html .container {height: 1%;}
.clearfix, .container {display: block;}
/* Regular clearing
apply to column that should drop below previous ones. */
.clear { clear:both; }
最近发现,用户可以无需安装专用软件即在YouTube上传大于100MB的视频,YouTube开始支持Gears来上传影片。最新版本的Gears有了一些新的功能,对于操作大型文件来说变得更容易了。
使用Gears可以使得上传大型文件变得更加简单容易,用户可以断点续传大型视频,提高传输成功率,并且未来可能还会出现基于Gears的桌面上传工具。
YouTube支持多个视频同时上传,如果你想要上传一些大于100MB的影片,那么这个功能就很有用,因为YouTube会限制每部影片最多只能有10分钟的长度,并且要小于1GB的容量,如果上传大型视频文件,通常情况下至少需要30分钟或者更多的时间,这些大视频文件才能出现在用户的视频页面上。
最近发现越来越多的应用开始支持Gears,我使用的Wordpress也开始支持Gears,还有java中NB的AJAX框架ExtJS也都开始支持Gears,随叫是Google的东西呢?没有办法啊!值得关注的一个好东东!
今天在使用hibernate时,出现了Could not instantiate cache implementation的错误,我是在使用HIbernate tools时报的错误,应该运行时也会出现这样的错误,异常堆栈:
org.hibernate.HibernateException: Could not instantiate cache implementation
at org.hibernate.cache.CacheFactory.createCache(CacheFactory.java:64)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:214)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
at org.hibernate.console.ConsoleConfiguration$3.execute(ConsoleConfiguration.java:357)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:65)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:88)
at org.hibernate.console.ConsoleConfiguration.buildSessionFactory(ConsoleConfiguration.java:352)
at org.hibernate.eclipse.console.workbench.LazySessionFactoryAdapter.getChildren(LazySessionFactoryAdapter.java:41)
at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:97)
at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:103)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:196)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
at org.hibernate.cache.NoCacheProvider.buildCache(NoCacheProvider.java:21)
at org.hibernate.cache.CacheFactory.createCache(CacheFactory.java:61)
… 11 more
大概意思是二级缓存不可用,但是项目在开发阶段不需要启动缓存,所以就没有配置。
最后发现问题就是在这里,因为在Hibernate的bean的hbm配置文件中配置了缓存,而在hibernate的配置中没有配置提供的缓存机制,在早起的hibernate的早起版本中默认是提供ehcache的,但是在最近的版本中已经不提供默认配置了。所以必须自己手工配置。在hibernate的配置中加入如下片段即可
<property name="hibernate.cache.provider_class">org.hibernate.cache.EhCacheProvider</property> <property name="hibernate.cache.use_second_level_cache">false</property> <property name="hibernate.cache.use_query_cache">false</property>
本次仅对google.cn的首页的iGoogle进行了改版,你会发现从“我的帐户”进入iGoogle和www.google.cn进入iGoogle几面是不同的,我的帐户中的iGoogle还是原来的版本,只有打开www.google.cn的首页的“个性化首页”才可以进入。
首页的导航分为了“首页”,“娱乐”,“财经”,“生活”,“资讯”。
在每个页面的各个模块中都保持了iGoogle的原有风格,可以随意的修改,移动,体现人性化的页面。
并且把iGoogle的默认主题设置为了奥运主题
感觉还不错,挺漂亮,色彩也很鲜亮!