Wordpress Theme hot lips

March 6th, 2010

Release my wordpress theme:

Theme Hot lips is the theme what you see here. You can download this theme and install in your blog for free.

Theme Name: Hot lips

Theme URI: http://blog.eood.cn/

Description: Hot lips WordPress theme.

Version: 1.0

Author: Bruce Dou

Tags: orange, fixed-width, two-columns

Download

经典算法书

March 5th, 2010

1. CLRS 算法导论
2. Algorithms 算法概论
3. Algorithm Design 算法设计
4. SICP 计算机程序的构造和解释
5. Concrete Mathematics 具体数学
6. Introduction to The Design and Analysis of Algorithms 算法设计与分析基础
7. 编程之美–微软技术面试心得
8. Fundamentals of Algorithmics 算法基础
9. How to solve it 怎样解题
10. Programming interviews exposed 程序员面试攻略
11. Programming Pearls 编程珠玑
12. 算法艺术与信息学竞赛
13. An Introduction to Probability Theory and Its Applications
14. Numerical Analysis by Richard L. Burden,J. Douglas Faires
数值分析,讨论各种数值算法,比如插值、拟合、积分、微分方程的求解、线性和非线性方程组求解等。
15. TAOCP  http://www-cs-faculty.stanford.edu/~uno/taocp.html

敏捷过程方法

March 5th, 2010

1.Sometimes it’s worth spending time finding the best possible approach. Sometimes it’s enough to find an approach that works.

2.不要过度折腾性能

3.总结现代model和patten并且广泛使用

4.松散的技术堆栈进行强约束,紧凑的技术堆栈进行弱约束

5.所有的开源软件都有bug,必须重新测试

优秀的养猪软件Winpig

March 5th, 2010

偶然在网上发现这个农业软件提供商AgroSoft。

使用Winpig软件,你可以输入和跟踪你养猪系统的所有信息。并且可以分析出养猪过程的问题。自从1995年,AgroSoft就持续改进这个软件,如今几乎包含了很多有用的功能。Winpig是一个熟悉现在养猪行业的团队开发维护的。这个系统集成了PDA和RFID技术进行数据采集。自上包含成因演化过程,自下包含猪肉加工和健康信息健康。横向和多种喂养系统、监控系统、质量保证系统集成。

Java程序优化过程及linux相关

March 5th, 2010

1.Jprofile找到程序性能的瓶颈
2.需要很长时间完成的过程由单线程转多线程或线程池。假如是IO之类的问题(普遍IO是系统的瓶颈),采用NIO即rector模式处理
3.大量小文件压缩后存入内存,定量写入硬盘。大量中间变量存入内存,或序列化压缩后存入内存,后解压反序列化调用
4.使用Queue进行不同过程的缓冲
5.Linux下普遍有打开文件个数限制,消除1024限制:ulimit -n 8192
6.JVM普遍内存限制,消除内存限制:增加运行参数 -Xms20m -Xmx200m

另:
1.如何执行jar中某个类的main方法: java -cp test.jar com.acosys.clawer.GetContent
2.如何让java程序在linux后台运行: nohup … &
3.如何查看linux后台运行的nohup程序列表: jobs
4.后台FTP上传下载工具: ncftpget ncftpput
5.如何查找linux后台程序列表 ps aux | grep …
6.强行终止linux程序: kill -9 …
7.查某文件夹下文件数目: ls -l |grep “^-”|wc -l
8.执行多个依赖库的java程序:java -cp nutch-1.0.jar:commons-logging-1.0.4.jar:hadoop-0.19.1-core.jar:xerces-2_6_2.jar org.apache.nutch.tools.DmozParser content.rdf.u8 > domz/urls