来自Nine Javascript Gotchas, 以下是JavaScript容易犯错的九个陷阱。虽然不是什么很高深的技术问题,但注意一下,会使您的编程轻松些,即所谓make life easier. 笔者对某些陷阱会混杂一些评点。 1、最后一个逗号 如这段代码,注意最后一个逗号,按语言学角度.....
分类:
编程语言 时间:
2014-11-04 12:59:52
阅读次数:
250
《生命的幻象》作者Ollie Johnston的动画笔记30条(全)(Ollie Johnston 和 Frank Thomas 合著了著名动画书籍《Illusion of Life》,译者注)作者:John Lasseter, Pixar公司编译:Luonaldo(又见到他了)“当我在Disney...
分类:
其他好文 时间:
2014-11-01 14:41:48
阅读次数:
236
裸题。输入一个无向图,输出最大密度子图(输出子图结点数和升序编号)。看了《最小割模型在信息学竞赛中的应用——胡伯涛》的一部分,感觉01分数规划问题又是个大坑。暂时还看不懂。参考http://blog.csdn.net/power721/article/details/6781518构图:把原图中的无...
分类:
其他好文 时间:
2014-10-31 09:54:46
阅读次数:
238
DescriptionIn our daily life we often use 233 to express our feelings. Actually, we may say 2333, 23333, or 233333 ... in the same meaning. And here i...
分类:
其他好文 时间:
2014-10-29 21:19:28
阅读次数:
171
循环用于重复执行一些程序块。for循环for循环需要预先设定好循环的次数(n),然后执行隶属于for的语句n次。基本构造是for 元素 in序列: statement举例:for a in [1,2,3,'life']: print a结果如下:>>> 123life>>> 这个循环就是每次...
分类:
其他好文 时间:
2014-10-28 19:27:19
阅读次数:
110
在网上看到这篇文章,老外写的,里面很多图片挺精致,顺带翻译过来给大家分享下,英语太次好多地方都翻不过来 ASP.NET application and page life cycle Download source code - 4.03 KB 目录 简介 两步处理法 创建ASP.NET环境 使用M...
分类:
Web程序 时间:
2014-10-27 19:03:24
阅读次数:
398
1.Primacyandrecency:Peoplemostrememberthefirstandlastthingstooccur,andbarelythemiddle.Whenschedulinganinterview,askwhattimestheemployerisinterviewingandtrytobefirstorlast.2.Ifyouworkinabarorincustomerserviceofanykind……Putamirrorbehindyouatthecounter.Thisw..
分类:
其他好文 时间:
2014-10-24 11:11:47
阅读次数:
374
Bill is developing a new mathematical theory for human emotions. His recent investigations are dedicated to studying how good or bad days influent people's memories about some period of life.
A new i...
分类:
其他好文 时间:
2014-10-17 21:59:29
阅读次数:
229
大意:告诉你一些关系a b 代表 a 和 b 是异性问这些关系中有没有错误的语句分析:有并查集维护其是否在同一个集合之中 在开一个num数组来维护对于根节点的偏移量在find的时候只需要递归到根节点返回的过程中把num数组进行维护就可以了在进行合并的时候我们需要考虑到把一个点的根节点并到另一个的根节...
分类:
其他好文 时间:
2014-10-17 16:51:17
阅读次数:
110
Java 开源博客 —— B3log Solo 0.6.7 正式版发布了!欢迎大家下载。
另外,欢迎观摩 B3log 团队的新项目:Wide,也非常欢迎大家参与进来 :-)...
分类:
编程语言 时间:
2014-10-17 00:27:43
阅读次数:
284