运斤成风
ldbjakyo · 共 213 篇文章
查看当前执行语句
SELECTR.SCHEDULER_ID , STATUS , R.SESSION_ID AS SPID, R.BLOCKING_SESSION_ID AS BLKBY, SUBSTRING( LTRIM(Q.TEXT), R.STATEMENT_START_OFFSET/2+1, (CASE WHEN R.STATEMENT_END_OFFSET = -1 THEN LEN(CONVERT(NVARCHAR(MAX), Q.TEXT)) * 2 ELSE R.STATEMENT_END_OFFSET END - R.STATEMENT_START_OFFSET)/2) AS [T-SQL]…
2013-01-25 15:52 · SqlServer · 评论(0)
大规模高并发Web系统架构及开发书籍推荐
以下书籍内容涵盖大型网站开发中几个关键点: 高可用 、 高性能 、 分布式 、 易扩展 。如果想对 大规模高并发Web系统架构及开发 有很系统的学习,可以阅读以下书籍,欢迎补充! 一、《Linux企业集群—用商用硬件和免费软件构件高可用集群》 深入分析了LVS, HeartBeat等,是构建Linux集群不可多得的资料。 二、《构建高性能Web站点》 重点介绍如何构建一个高性能的Web系统,国内为数不多的值得一读的技术书籍。 三、《大规模Web服务开发技术》 对大型网站涉及到的技术及相关知识点做了介绍。 四、《构建可扩展的Web站点》 Flicker的经验之谈,重点讲述如何构建一个可扩展的W…
Javascript 关于apply和call的区别小例子
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title> New Document </title> <meta name="Generator" content="EditPlus"> <meta name="Author" content="lidongbo"> <meta name="Keywords" content=""> <meta name="Description" content=""> </head> <script language="JavaScript">…
2012-11-13 13:44 · JavaScript · 评论(0)
Artificial-Intelligence Professor Makes a Search App to Outsmart Siri
Siri, Google Voice Actions and other mobile speech assistant tools have promise, but they often fail to do what we ask them. And so we find ourselves scrolling one-fingered through mountains of messages looking for the right one, or painstakingly copy-pasting addresses into mobile maps. Nick Cassim…
2012-11-09 09:46 · 生活学习 · 评论(0)
Parsing XML... backwards?
http://www.oreillynet.com/xml/blog/2007/03/parsing_xml_backwards.html Okay, I’ve heard jokes about people parsing XML files backwards, starting at the end of the file and reporting SAX events in reverse document order, but it seems that someone has actually gone and done it . The justification soun…
2012-11-08 16:27 · XML · 评论(0)
require.js & signals.js 、Meteor JS框架
http://lovelymessag.es/ 1. signals.js 官方地址: http://millermedeiros.github.com/js-signals/ 观察者模式 2. require.js 官方地址: http://requirejs.org/ JavaScript 文件和模块加载器 3. Meteor JS 自1996年至今,网站的工作方式普遍是由服务器端向浏览器传送整个渲染好的 HTML文件,下载和刷新需要较长的等待时间。在2012年的今天它迎来了新曙光,这套古老的模式将可能一去不复返了。简单说,新的模式是服务器和浏览器初始化之后只进行纯数据的对话,由浏览器决…
2012-10-26 10:10 · JavaScript · 评论(0)
关于cookie
原文地址:http://yhz61010.iteye.com/blog/708377 关于什么是first-party cookie(第一方cookie)及third-party cookie(第三方cookie),在这里不是我主要想介绍的,因为关于这方面的资料网上有很多。如果有不太清楚的读者,可以参看下面的地址: ・ 推荐:第一方cookie及第三方cookie的介绍(中文版) http://www.chinawebanalytics.cn/%E6%8D%8D%E5%8D%ABcookie%E2%80%94%E2%80%94%E6%B2%A1%E6%9C%89cookie%EF%BC%8C…
2012-10-26 10:04 · JavaScript · 评论(0)
JavaScript Array Remove 最好的删除数组元素的方法
原文地址: http://ejohn.org/blog/javascript-array-remove/ 作者详细的讲解了为什么要这样写,以及这些写的好处,和其它的删除方法相比它的优势是什么。所以感兴趣的读者可以仔细的看下原文。 该方法不同于网上常见的删除方法(国内搜索的结果太令人......),用原作者的话讲,该方法更加的简洁,优雅,快速,高效。 网上常见的方法如下: Javascript代码 array = array.slice(0,i).concat( array.slice(i+1) ); 由于上述方法开销大(两次 slice),而且效率不是十分高(concat 的速度还不够快) …
2012-10-26 10:02 · JavaScript · 评论(0)
Java调用VBA XLS转换XLS
Rem http://msdn.microsoft.com/en-us/library/microsoft.office.interop.excel.xlfileformat.aspx Set objArgs = WScript.Arguments FullName = objArgs(0) FileName = Left(FullName, InstrRev(FullName, ".")-1) Set objExcel = CreateObject("Excel.application") objExcel.application.visible=false objExcel.applic…
2012-10-15 20:22 · 生活学习 · 评论(0)
云计算平台管理的三大利器Nagios、Ganglia和Splunk
原文链接: http://www.programmer.com.cn/11477/ 文 / 杨俊华 综合利用Nagios、Ganglia和Splunk搭建起的云计算平台监控体系,具备错误报警、性能调优、问题追踪和自动生成运维报表的功能。有了这套系统,就可轻松管理Hadoop/HBase云计算平台。 云计算早已不是停留在概念阶段了,各大公司都购买了大量的机器,开始正式的部署和运营。而动辄上百台的性能强劲的服务器,为运营管理带来了巨大的挑战。 如果没有方便的监控报警平台,对于管理员而言犹如噩梦,每天都将如救火队员一样,飞快地敲击键盘,用原始的Unix命令在多台机器中疲于奔命。 如果没有好的日志管…
2012-08-30 13:20 · Hadoop · 评论(0)
Why ths days are numbered for Hadoop as we know it
For better or worse, Hadoop has become synonymous with big data. In just a few years it has gone from a fringe technology to the de facto standard. But is the enterprise buying into a technology whose best day has already passed? Hadoop is everywhere. For better or worse, it has become synonymous w…
Apache Drill Could Power Faster Through Data
The proposed “Drill” project could help speed up Apache Hadoop. Actual drills aren’t very useful when it comes to data analysis. But the Drill under proposal could help speed things up. Given the burgeoning interest in Hadoop and data analytics in general, it’s unsurprising that IT vendors and deve…
New Apache Project 'Drill' Aims to Speed Up Hadoop Queries
New Apache Project 'Drill' Aims to Speed Up Hadoop Queries Led by Hadoop vendor MapR Technologies, the open-source effort will seek innovative ways to push Hadoop data queries through more quickly for users. Finding much faster ways to complete Hadoop queries for enterprise users is the aim of "Dri…
Let's pay attention & join the Drill Project
Drill Project Incubation Status This page tracks the project status, incubator-wise. For more general project status, look on the project website. Description Drill is a distributed system for interactive analysis of large-scale datasets, inspired by Google's Dremel. News 2012-09-11 Project enters …