
Others
yang1vip
水瓶座+AB型+ENTJ
我来自中国最寒冷的地方,那里四季分明,每个人的幸福都写在脸上
展开
-
关于文档
文档应该包括两大部分,一部分是清晰的代码结构和注释,比如Concurrent API就是这样,还有一部分是文字文档,包括三个小部分:一是开发文档,应该讲架构和功能;二是索引文档,详细介绍功能和参数,三是用户文档,包括安装和使用说明 文档最困难的莫过于版本的一致性,当软件升级后,一些obsolete的内容和新的feature很难同步。要是架构发生了变化,那就更困难了。一般document te...2010-06-29 18:22:10 · 117 阅读 · 0 评论 -
多线程过桥的问题
题目:有一个南北向的桥,只能容纳一个人,现桥的两边分别有10人和12人,编制一个多线程序让这些人到达对岸,每个人用一个线程表示,桥为共享资源。在过桥的过程中显示谁在过桥及其走向。 [code="python"] import threading import time from collections import deque class Person(threading.Threa...2011-05-14 17:50:23 · 525 阅读 · 0 评论 -
How to install pgsql on Solaris 10
1) Check out the OS version and architecture, such as: bash-3.00# cat /etc/release Solaris 10 5/08 s10s_u5wos_10 SPARC bash-3.00# isainfo -b 64 2) Although it's not hard to build code from sc...2011-06-18 19:32:07 · 123 阅读 · 0 评论 -
Be careful about the snapshots
We are a global team with around 30 devs that generally focusing on the same product. And we have a mirror site of maven repo maintained using Nexus. The proxy server is placed in the US and when we s...2011-06-18 20:00:05 · 118 阅读 · 0 评论 -
Powerful LDAP client
Here is a brief introduction of the LDAP protocol, which is used extensively in large organizations: [url]http://quark.humbug.org.au/publications/ldap/ldap_tut.html[/url] Before integration progra...2011-06-18 20:58:55 · 131 阅读 · 0 评论 -
Predicted transactions
When you put something into a dynamic array, it won't grow by just 1 when reaching the limit. This is important because changing size is an expensive operation. For example if I have a job to ex...2014-05-03 15:41:26 · 193 阅读 · 0 评论