Huffman codes compress data very effectively: savings of 20% to 90% are typical, depending on the characteristics of the data being compressed. 功能:...
分类:
其他好文 时间:
2015-04-18 21:58:54
阅读次数:
124
Choose Your Tools with CareGiovanni AsproniMODERN APPLiCATiONS ARE VERY RARELY BUiLT FROM SCRATCH. They are assembled using existing tools—components, libraries, and frameworks— for a number of good re...
分类:
其他好文 时间:
2015-04-18 17:51:38
阅读次数:
102
Automate Your Coding StandardFilip van LaenenYOU’VE PROBABLY BEEN THERE, TOO. At the beginning of a project, every- body has lots of good intentions—call them “new project’s resolutions.” Quite often,...
分类:
其他好文 时间:
2015-04-18 16:15:43
阅读次数:
143
Beauty Is in SimplicityTHERE iS ONE qUOTE, from Plato, that I think is particularly good for all software developers to know and keep close to their hearts:
Beauty of style and harmony and grace and g...
分类:
其他好文 时间:
2015-04-18 16:15:05
阅读次数:
137
The Boy Scout RuleRobert C. Martin (Uncle Bob)THE BOY SCOUTS HAVE A RULE: “Always leave the campground cleaner than you found it.” If you find a mess on the ground, you clean it up regardless of who mi...
分类:
其他好文 时间:
2015-04-18 16:12:38
阅读次数:
174
转载自:http://www.cnblogs.com/tanglin_boy/archive/2010/01/18/1650871.html感谢原文作者的总结1. ActionContext在Struts2开发中,除了将请求参数自动设置到Action的字段中,我们往往也需要在Action里直接获取请...
分类:
其他好文 时间:
2015-04-18 16:03:24
阅读次数:
138
题目大意:给出n个正整数的序列,要求你找出符合sum(a1 + a2 + a3 + … + an) * min(a1,a2,…,an)的最大值,如果有多个符合条件的,输出最短序列解题思路:从输出中观察得到,输出的答案要有三个,最大值,左端点,右端点。
那就设两个数组,纪录已当前数位最小值所能覆盖的最大区间,然后枚举每个数,求出区间和再乘上当前数求得值再进行比较
设置左右区间时,可以递归比较,假设...
分类:
其他好文 时间:
2015-04-18 10:08:59
阅读次数:
100
We are coding. Are we engineers? Are we programmers? Are we coder? No, I want to be a hacker! Many good hacker are working under Linux or Mac, I only have a Windows and do not intend to move to anothe...
分类:
其他好文 时间:
2015-04-17 23:57:02
阅读次数:
311
Node.js has generally caused two reactions in people I've introduced it to. Basically people either "got it" right away, or they ended up being very c...
分类:
Web程序 时间:
2015-04-16 19:47:09
阅读次数:
211
git 作为开源项目首选版本管理软件,必然其优势不容小觑,下面总结一下初次解除用到的一些技能1. 基本命令介绍git help branch 查看branch帮助文档git branch -a 列出当前所有分支git branch good_proj 创建分支good_projgit ...
分类:
其他好文 时间:
2015-04-16 17:17:21
阅读次数:
108