原创 notes on ibm:dw"5 things you didn't know about ... Command-line flags for the JVM"
article original address:http://www.ibm.com/developerworks/java/library/j-5things11/index.html DisableExplicitGC fl
原创 css: basics and text
three types of selector 1. directly apply to html element. p{ text-align: center; color: red;
原创 C++ styles
1. An entity (function, class, etc) only has one compact responsibility. design small class, and seperate incompact
原创 basis of javascript
Javascript and Java are alike each other, including control statements and String object. All control statements such a
原创 refresh iframe
code : html> <head> <title>hello iframe reload</title> </head> <mce:script language="JavaScript"><!-- function chan
原创 Notes:java comile flag
article original address:http://www.ibm.com/developerworks/java/library/j-5things11/index.html DisableExplicitGC fl
原创 Pure Virtual Functions and Abstract Classes
Original Link:http://msdn.microsoft.com/en-us/library/aa273534(v=vs.60).aspx C++ Specific —> An abstract class contai
原创 inline-block
place many blocks in one line. code: #left{ margin-left:20px; position: relative; top:20px; display: inline-b
原创 Use awk to do simple statistics job
Basic use Example: print requred fields awk -F "/t" '$2>30{print $3"/t"$4}' a.txt > b.txt This sentence means the sep
原创 Intuition of P-value
Let's use an example to demonstrate it. We suppose a coin flip is fair(null hypothesis: H: p=0.5). We begin to exper
原创 show , append enviroment variables
Show all enviroment variables Command:env Show local environment variables Command:set Append environment variables
原创 design a regress function whose coeficients satisfy certain conditions
Problem: Given n points (x_1, x_2, ...x_n) as independent variables, where x_i can be a value or a vector, and the d
原创 Using Interval Estimation to set prior value in Online Learning method
The below method is a common way to compute ctr: ctr = (baseClickNumber + clickNumber)/(ba
原创 多路歸併排序
將一個大文件分割爲小文件,對小文件進行內存排序,在對排序後的小文件做合併即可。關於合併,可以採用堆來實現,堆中存儲每個小文件中的最小值,以此從堆中取出最小值,輸入到結果文件,同時從最小值對應文件中取出下一個最小值,保持堆依然存儲每個小文件
原创 explanation of the summary of linear model
0: residuals distribution 1: coefficients 2. stdandard variance of coefficients 3: using t-test to test the signific