06 2011 档案
Consistant Hash Algorithm ( 一致性哈希算法 )
摘要:(Ketama Algorithm) Below code referenced the post http://www.cnblogs.com/daizhj/archive/2010/08/24/1807324.html 问题有集合A {a1,a2,...} ,集合B {b1,b2,...}.将A的元素映射到B,如 a1->b1 ,a2->b1,a3->b1 ; a4->b2;a5->b2;a6... 阅读全文
posted @ 2011-06-30 15:36 netfuns 阅读(329) 评论(0) 推荐(0)
Parse CSV line
摘要:一种字符串处理 阅读全文
posted @ 2011-06-25 16:22 netfuns 阅读(299) 评论(0) 推荐(0)
design patterns : Factory ,abstract Factory, Simple Factory
摘要:http://www.cppblog.com/chefZ/archive/2008/12/05/68679.aspx http://www.bianceng.cn/Programming/net/201102/24226_7.htm 阅读全文
posted @ 2011-06-24 10:07 netfuns 阅读(141) 评论(0) 推荐(0)
Island ,Gaps problem ( sql 查询中的岛屿,缝隙问题 )
摘要:复杂查询 阅读全文
posted @ 2011-06-22 13:43 netfuns 阅读(225) 评论(0) 推荐(0)
High performance socket
摘要:http://msdn.microsoft.com/en-us/magazine/cc300760.aspx 阅读全文
posted @ 2011-06-22 11:00 netfuns 阅读(144) 评论(0) 推荐(0)
resume example
摘要:http://www.ofb.net/~niniane/resume_howto.html http://ofb.net/~niniane/resume.html 阅读全文
posted @ 2011-06-20 13:31 netfuns 阅读(146) 评论(0) 推荐(0)
track stored procedure change history
摘要:--drop trigger Admin_Backup_Objects ON DATABASE --drop table AdministratorLogcreate table AdministratorLog(databasename sysname, eventtype sysname,objectname sysname, objecttype sysname, sqlcommand nv... 阅读全文
posted @ 2011-06-16 18:26 netfuns 阅读(145) 评论(0) 推荐(0)
Simple definition of 1-2-3 normal form
摘要:1NF:Requiring existence of "the key"2NF:non-key attributes be dependent on "the whole key"3NF:non-key attributes be dependent on "nothing but the key" 阅读全文
posted @ 2011-06-16 14:01 netfuns 阅读(177) 评论(0) 推荐(0)