11 2011 档案
摘要:首先看看这个帖子: JavaScript Integer math incorrect resultshttp://stackoverflow.com/questions/3428136/javascript-integer-math-incorrect-results这里,这位老兄试图使用119106029 * 1103515245这两个超大整数相乘,结果自然不言而喻,出错了。首先我们想到的都是:是不是overflow的呢?查看javascript官网的documentation,我了解到在javascript中最大整数用Number.MAX_VALUE 表示,我的机器是32位操作系统,在c
阅读全文
摘要:web2.0到处都是分离与聚合的思想:jquery实现了表现层的行为与内容的分离zendframework为首的mvc架构实现了逻辑架构的控制、模块、表现层的分离mysql为例的master-slave架构实现了服务与备份的分离hadoop为首的虚拟化架构实现了单点计算与群体计算的结合css实现内容和样式的完全分离
阅读全文
摘要:/**from SyntaxHighlighter plugin livewrite*/<?php if(!$config){ echo 'shit'; }?>
阅读全文
摘要:InPHPeverything’s a reference! I’ve heard it so many times in my practice. No, these words are too strong! Let’s see some examples.Some developers think that everything's passed by reference in PHP.Passing Parameters by ReferenceClearly when we pass parameters to a function it’s not by reference
阅读全文
浙公网安备 33010602011771号