« 2010年05月4日的文章归档

Eclipse 3.6 M7 发布

查看该版本值得注意的改进: http://download.eclipse.org/eclipse/downloads/drops/S-3.6M7-201004291549/eclipse-news-M7.html Update via p2 repository http://download.eclipse.org/eclipse/updates/3.6milestones/ 下载地址: http://download.eclipse.org/eclipse/downloads/drops/S-3.6M7-201004291549/index.php Equinox http://download.eclipse.org/equinox/drops/S-3.6M7-201004291549/index.php
阅读更多……

Array.prototype.slice

slice 可以用来获取数组片段,它返回新数组,不会修改原数组。 除了正常用法,slice 经常用来将 array-like 对象转换为 true array. 名词解释:array-like object – 拥有 length 属性的对象,比如 { 0: ‘foo’, length: 1 }, 甚至 { length: ‘bar’ }. 最常见的 array-like 对象是 arguments 和 NodeList. 查看 V8 引擎 array.js 的源码,可以将 slice 的内部实现简化为: javascript function slice start , end var len = ToUint32 this . length , result = ; for var i = start ; i lt ; end ; i ++ result. push this i ; return result ; 可以看出,slice 并不需要 this 为 array 类型,只需要有 length 属性即可。并且 length 属性可以不为 number 类型,当不能转换为数值…
阅读更多……

Oracle 10g发布10.2.0.5补丁集 – 重量级更新

近日(大约是在2010年4月30日),Oracle发布了可能是Oracle10g的最后一个补丁集 10.2.0.5。 该补丁的Patch号是:8202632,可以从Metalink上下载到。目前发布了 Linux版本,整个补丁大小大约是1.2G . Oracle 10.2的相关补丁可以参考Metalink Note: 316900.1 10.2.0.5的Bug List还没有看到,先下载了一个回来,此前有很多用户在10.2.0.3和10.2.0.4之间犹豫,那么现在看来,完全可以等一下10.2.0.5的完整发布,考虑将10.2升级到这个可能的终极版本上。 顺便说一句的是,2010 年的 Oracle Open World 排程已经出来,开始召集参会中: http://www.oracle.com/us/openworld/index.htm 今年是9月19日~9月23日,据说国内也将有一次OOW,期待这些日子的到来。 相关文章|Related Articles RAC 安装维护的 Metalink 必读文档 关注一下Oracle的CPU (Critical Patch Updates)…
阅读更多……

mysql 删除完全重复记录的数据

新建一个临时表 create   table   tmp   as   select   *   from   youtable   group   by   name 删除原来的表 drop   table   youtable 重命名表 alter   table   tmp   rename   youtable
阅读更多……

mysql order by优化

mysql下,一个数据库查询优化 关键字: mysql数据库优化 对查询 Java代码 1. select distinct product0_.id as id62_.. 2. from 3.     t_product product0_, t_product_catagory productcat1_ 4. where 5.     product0_.catagory_id=productcat1_.id 6.     and product0_.site_id=54586546898098098 7.     and product0_.state=1 and productcat1_.publish=1 8. order by product0_.modifyTime desc limit 0, 30; select distinct product0_.id as id62_.. from t_product product0_, t_product_catagory productcat1_ where product0_.catagory_id=productcat1…
阅读更多……

Monster for Chrome

Monster是Alipay UED推出的网站代码分析、质量检测及评分的浏览器扩展,它能智能分析CSS、JS、HTML内容并生动形象展示网页得分情况(类似YSlow)。它是一个开源项目,您可以在GoogleCode中心检出 MonsterForChrome 项目源代码。不久会推出Firefox版扩展。 下载及演示 下载Monster 视频演示 Monster主要检测规则: 检测是否有重复ID的标签; 检测是否使用内联标签嵌套块级标签,如a嵌套div; 检测https协议页面,是否使用了http协议的图片、JS、CSS等; 检测compatMode、doctype是否出错; 检测是否使用了HTML5不再支持的标记,如font,s,u等; 检测标签是否正确关闭; 检测CSS、JS、background-image文件是否为404; 检测CSS、JS文件是否重复调用; 检测是否引用过多外部JS、CSS文件; 检测CSS、JS、HTML是否压缩; 检测CSS样式表是否使用了CSS expression; 检测Cookie是否超过30KB; 检测是否有form标签嵌套form标签; 检测是否直接…
阅读更多……

FireFox页面加载速度分析

Page Speed What is Page Speed? Page Speed is an open-source Firefox/Firebug Add-on. Webmasters and web developers can use Page Speed to evaluate the performance of their web pages and to get suggestions on how to improve them. How does Page Speed work? Page Speed performs several tests on a sites web server configuration and front-end code. These tests are based on a set of best practices known to enhance web page performance. Webmasters who run Page Speed on their pages get a set of scores for …
阅读更多……

RGraph: Canvas based graphing library

here are a few graphing libraries out there. The latest that we have been shown is RGraph by Richard Heyes: RGraph is a graphing/charting software component for websites. It uses HTML5 technologies (the new Canvas tag) which is already present in most modern web browsers to create and show graphs/charts. The graphs are created inside the web browser, removing the burden from the webserver (just as rendering HTML works) and so it can alleviate some of the burden from a web server. It supports a w…
阅读更多……

组件分享,浏览器并发数,HTTP监视-site-perf.com

当Web站点实施了组件分享后,你可以使用HttpWatch等浏览器监视程序来观察你的站点,你会发现不同域名下的组件下载过程互不影响,整体上提高了浏览器下载速度。HttpWatch目前只支持IE和FireFox浏览器,如果你希望使用其他浏览器来测试组件分享带来的浏览器下载速度提升,可以试试一个在线工具 . 丰富选项: 测试结果: 它的地址是: http://site-perf.com
阅读更多……

nmon analyser——生成 AIX 性能报告的免费工具

您正在寻找一种简单的方法来创建高质量的图形吗,而这些图形可以显示、发布到 Web 或剪切并粘贴到性能报告中?不用再找了。nmon_analyser 工具以 NMON 性能工具生成的文件作为输入,然后将它们转换为 Microsoft Excel 电子表格,并自动地生成相应的图形。 用法说明: nmon_analyser 工具并未受到正式的支持。没有提供或隐含任何保证,并且您无法从 IBM 获取相关的帮助。 该工具目前以 Microsoft® Excel™ 2000 或更高版本的电子表格的形式提供。 nmon_analyser 工具设计用于最新版本的 nmon,但出于向后兼容性的考虑,也使用旧版本对其进行了测试。每当在对 nmon 进行更新时,同时也将对该工具进行更新,另外,还可以不定期地更新该工具以获得新的功能。要将您的名字放入到请求更新的电子邮件列表中,请与 Stephen Atkins 联系。 该工具的作用 nmon_analyser 工具可以帮助对通过 nmon 性能工具 捕获的性能数据进行分析。它允许性能专家完成下列任务: 以电子表格的形式查看相应的数据 消除‘错误的’数据 生成…
阅读更多……
浙ICP备08010023号