原创 [轉]java不同容器不同操作系統下中文問題解決方法
java不同容器不同操作系統下中文問題解決方法 -Ddefault.client.encoding=GBK -Dfile.encoding=GBK -Duser.language=Zh -Duser.region=CN 添加以上java虛
原创 MySQL 存儲 schema-less的數據
from timyang’s blog 綜合取捨,使用MySQL來存儲key/value(schema-less)數據,value中可以放: Python dict JSON object 實際friendfeed存放的是zli
原创 Python-- 有權重的隨機選擇, Weighted Random Choice
import random def windex(lst): '''an attempt to make a random.choose() function that makes weighted choices
原创 MyISAM比InnoDB快是誤傳
It’s an excellent idea to run a realistic load simulation on a test server and then literally pull the power plug. Th
原创 MySQL的內存表的侷限性
Although Memory tables are very fast, they often don’t work well as a general- purpose replacement for disk-based tab
原创 C++裏面的幾個生僻操作符
今天看一本算法書,發現C++竟然支持這樣幾個操作符:<?, <?=,>?,>?= 大概相遇max,min這種函數的作用,帶等號的可以賦值。
原创 用Javascript演示單純形算法
http://www.zweigmedia.com/RealWorld/simplex.html
原创 快速的表複製
mysql> CREATE TABLE innodb_table LIKE myisam_table; mysql> ALTER TABLE innodb_table ENGINE=InnoDB; mysql> INSERT I
原创 JOIN 還是 IN ; 一條還是多條
Join Decomposition Many high-performance web sites use join decomposition. You can decompose a join by running multip
原创 Sphinx將推出實時增量搜索引擎
And, while you're busy upgrading, we'll probably be busy building 1.x-alpha with incremental (real-time) updates for Ch
原创 如何快速的閱讀一本書的精華
網絡時代的新辦法: 在Goolge中輸入: 書名 “筆記” 尤其適合只想瞭解下書中幹活的情況。 例如:C陷阱與缺陷 “筆記”
原创 InnoDB的Primary Key不易過大
InnoDB tables are built on a clustered index, which we will cover in detail in Chapter 3. InnoDB’s index structures a
原创 發送Wave邀請
有8個wave邀請,需要的同學請留下Gmail地址
原创 MSRA的學術搜索挺不錯的
http://libra.msra.cn