Toggle navigation
Yao's blog
Home
Archive
Categories
Tags
Archive
100 ways to do it wrong.
2021
February
February 24, 2021
»
Python: asyncio
February 19, 2021
»
Terminology Recap: Preemptive / Cooperative / Multitasking / Multithreading / Race Condition
February 11, 2021
»
Python: super()
February 4, 2021
»
Modulo / Congruence
January
January 27, 2021
»
SICP: Recursion vs Iteration
January 3, 2021
»
Single Dispatch in Java and Python
2020
December
December 30, 2020
»
《Python黑魔法手册》摘抄
December 5, 2020
»
Variable / Bound Variable / Free Variable / Scope / Closure
August
August 3, 2020
»
Comparing Time Complexity
May
May 26, 2020
»
Subarray / Substring / Subsequence
April
April 27, 2020
»
Permutation Groups / Permutation Notations / Order of A Permutation / Transpositions
April 23, 2020
»
LeetCode: Stock Problems
April 22, 2020
»
Python:
enumerate()
April 1, 2020
»
Python: Be cautious when using generators/iterators in nested loops
March
March 31, 2020
»
Python: It's safe to slice a list with index out of range
March 23, 2020
»
Python: calling static methods within the same class / recursive static methods
February
February 24, 2020
»
Python:
sorted()
vs
list.sort()
February 21, 2020
»
LeetCode: Min Sub and Max Sub Problems
February 20, 2020
»
Python: set / dict / Counter / OrderedDict / defaultdict
February 19, 2020
»
Python: Quick Sort Revisited / Relation To BST / Lomuto Partition Scheme / Hoare Partition Scheme
February 18, 2020
»
Python: Heaps
February 18, 2020
»
Python: Heap Select / Quick Select
February 11, 2020
»
Python:
itertools.groupby()
and
pd.DataFrame.groupby()
are different!
February 10, 2020
»
Python: Vanilla $k$-way Merge Implementation & Lexical Order
February 6, 2020
»
Python:
and/or
Operators on Objects
2019
December
December 24, 2019
»
Python: Bitwise Inverse Operator vs Complements vs Nagatives
November
November 6, 2019
»
What does effect size mean in GWAS?
June
June 21, 2019
»
Cross Entropy vs Cross Entropy Loss
June 12, 2019
»
Tensorflow 2.0 Autograph and Tracing: an example
June 12, 2019
»
Python: Ellipsis (...) / Numpy:
axis=-1
/
np.newaxis
June 12, 2019
»
Huber loss /
np.where
May
May 20, 2019
»
Convolution is convolution; it's NOT dot product
April
April 13, 2019
»
Terminology Recap: Method of Least Squares (and its relationship with MLE)
April 11, 2019
»
Terminology Recap: Generative Models / Discriminative Models / Frequentist Machine Learning / Bayesian Machine Learning / Supervised Learning / Unsupervised Learning / Linear Regression / Naive Bayes Classifier
March
March 6, 2019
»
Install Oracle JDK 8 and switch between JDKs in Ubuntu 18.04
February
February 26, 2019
»
Terminology Recap: Sampling / Sample / Sample Space / Experiment / Statistical Model / Statistic / Estimator / Empirical Distribution / Resampling / CV / Jackknife / Bootstrap / Bagging / Likelihood / Estimation and Machine Learning
February 26, 2019
»
Ring / Ring of sets
February 26, 2019
»
Terminology Recap: Random Variable / Distribution / PMF / PDF / Independence / Marginal Distribution / Joint Distribution / Conditional Random Variable
February 15, 2019
»
Pandas: one-column Boolean DataFrame vs Boolean Series
February 12, 2019
»
Quick facts on SNAP / Node2vec cannot handle multi-graphs
February 6, 2019
»
Python: pass-by-reference
January
January 22, 2019
»
PCA: my interpretation
January 21, 2019
»
Matrix Rank / Row Linear Dependence / λ = 0 / |A| = 0 / Size of Nullspace (Kernel)
January 15, 2019
»
Terminology Recap: DNase / DHS / Dnase-seq
January 15, 2019
»
Terminology Recap: ChIP / ChIP-on-chip (ChIP-chip) / ChIP-seq
2018
November
November 30, 2018
»
R: Quasiquotation
November 30, 2018
»
R: dive into types
November 29, 2018
»
Digest of
R for Data Science
November 7, 2018
»
Terminology Recap: SNP / SNV / LD / GWAS / eQTL / DNA Microarray (DNA chip)
November 6, 2018
»
Terminology Recap: Pre-transcriptional Gene Regulation / Transcription / Translation / mRNA / TF / TFBS / Promoter / Enhancer / Silencer / Insulator / Exon / Intron / Codon / Alternative Splicing / Gene Isoform / Protein Isoform / ORF
November 5, 2018
»
Terminology Recap: Genome / Chromosome / Nucleosome / Chromatin / Chromatid / DNA / Double Strands / Coordinates System / Upstream & Downstream / TSS Distance
November 5, 2018
»
Terminology Recap: Gene / Allele & Dominance & Zygosity / Haplotype / Genotype / Phenotype / Trait
October
October 24, 2018
»
Promoter-Enhancer Interactions: Resources
October 23, 2018
»
Alias Sampling
October 17, 2018
»
Python: global declaration not needed in main
October 15, 2018
»
Pandas: How to check if two DataFrames are equal
October 8, 2018
»
Scaling / Normalization / Standardization
October 7, 2018
»
Isometry
October 7, 2018
»
Homeomorphism / Open Map / Close Map / Embedding
October 6, 2018
»
Terminology Recap: Functions
September
September 26, 2018
»
PyTorch: Computational Graphs
September 13, 2018
»
SVD: Singular Value Decomposition
September 13, 2018
»
Eigenbasis / Eigenspace
September 10, 2018
»
Eigen-decomposition
September 6, 2018
»
Hadamard Product / Diagonal Matrix / Orthogonal Matrix
September 4, 2018
»
Tensor
September 1, 2018
»
Minimum vs Minimal w.r.t. generalized inequality
August
August 30, 2018
»
Linear Independence / Affine Independence / Non-singular Square Matrix / Definite Square Symmetric Matrix
July
July 26, 2018
»
Digest of Terence Tao Analysis
July 24, 2018
»
Infinite Cartesian Products
July 18, 2018
»
Topology Induced by Metric / Equivalence of Metrics
July 16, 2018
»
Topology / Topological Space / Redefine Neighborhood, Limit Point, Interior Point and Exterior Point
June
June 28, 2018
»
Neighborhood / Open Set / Continuity / Limit Points / Closure / Interior / Exterior / Boundary
June 11, 2018
»
Laplacian Matrix
June 11, 2018
»
Divergence / Gradient / Laplace Operator
June 7, 2018
»
Gradient Field
June 6, 2018
»
Scalar Field / Vector Field
June 6, 2018
»
Is vector space a field? And what are: Groups / Rings / Fields / Vector Spaces?
June 5, 2018
»
Harmonic Function / Laplace's equation
June 5, 2018
»
Closed-Form Solution
June 4, 2018
»
Jekyll: Liquid cannot handle numeric tags
June 4, 2018
»
G. Polya’s generalized problem solving approach
May
May 15, 2018
»
RBF (Radial Basis Function) Kernel
May 15, 2018
»
Hypothesis Space / Underfitting / Overfitting / Bias / Variance
May 9, 2018
»
Radial Function / Radial Basis Function / Base / Exponent / Power
May 9, 2018
»
Kernel in Linear Algebra / Inner Product Space / Hyperplane / SVM / Kernel Function / Normed vector space / Metric Space
May 4, 2018
»
R: implicit return values / return value of an assignment
April
April 10, 2018
»
Convex Functions / Jensen's Inequality / Jensen's Inequality on Expectations / Gibbs' Inequality / Entropy
April 5, 2018
»
Expectation Maximization Algorithm Intuition
April 4, 2018
»
Gradient and Directional Derivative
April 4, 2018
»
Generative Models
March
March 22, 2018
»
Python: Yes, you can unpack a generator!
March 22, 2018
»
Python: Generator Expressions / joblib.Parallel
March 15, 2018
»
PR Curve
March 15, 2018
»
ggplot2: use
geom_line()
carefully when your x-axis data are descending
February
February 26, 2018
»
ROC Curve: my interpretation
February 21, 2018
»
Python: How to pip-install packages in virtualenv
February 2, 2018
»
scikit-learn: init your estimator lightly and fit heavily
January
January 31, 2018
»
scipy: pdist indexing
January 25, 2018
»
scikit-learn: A walk through of
GroupKFold.split()
January 23, 2018
»
Pandas: split a DataFrame into chunks
January 23, 2018
»
Check the header of Columbia Eigen tab delimited files
2017
December
December 24, 2017
»
R: Graphics Tricks
November
November 8, 2017
»
SQL: Autocommit does not guarantee immediate committing
November 8, 2017
»
Python:
pprint.pformat
can be a good friend of
__str__
October
October 5, 2017
»
Digest of
Essential SQLAlchemy
October 4, 2017
»
Python: Use
datatime
instead of
time
for local clocks
October 4, 2017
»
Python: Binary Search / Bisection / Binary Search Tree (BST)
October 4, 2017
»
Python:
__all__
October 4, 2017
»
pdb: Your interactive python debugger
September
September 30, 2017
»
Python: 3 ways to use metaclasses
September 28, 2017
»
Python: Referencing and assignment in inner functions
September 28, 2017
»
Python:
for-else
with
break
September 28, 2017
»
Python: Diamond Inheritance and
super
September 28, 2017
»
Python 3: Keyword-Only Arguments
September 25, 2017
»
Pandas: Accessing the index of a row in an
apply
function
September 6, 2017
»
SemiBoost
September 3, 2017
»
Python GIL: Global Interpreter Lock
August
August 31, 2017
»
Python: Put simply, generators are special coroutines
August 29, 2017
»
Python: Yes, coroutines are complicated, but they can be used as simply as generators
August 29, 2017
»
Python: IDLE won't display anything for an expression evaluated to None
August 28, 2017
»
Python:
raise
/ 3 key elements of an exception
August 28, 2017
»
Python:
except
August 25, 2017
»
Python:
with
-statement / variable scope in
with
-statement
August 25, 2017
»
Python:
try-except-else-finally
August 18, 2017
»
Python: Variable scope in
if
-statement
August 18, 2017
»
Python: Query reference sequences using
rpy2
and
BSgenome
August 18, 2017
»
Python: List multiplication is actually repetition
August 18, 2017
»
Python: Iterating a file by every 2 lines
August 4, 2017
»
Handy Python Profiler:
line_profiler
+
kernprof
August 3, 2017
»
Binary Encoding vs One hot Encoding
July
July 12, 2017
»
Learn Design Patterns: Resources
April
April 12, 2017
»
Digest of
Information Theory, Inference, and Learning Algorithms
March
March 20, 2017
»
CPU bound vs IO bound
February
February 5, 2017
»
PWM (PSSM) / Sequence Logo
2016
November
November 17, 2016
»
Digest of
Essence of Linear Algebra
October
October 12, 2016
»
Building GWAVA environment on Ubuntu 16.04
September
September 29, 2016
»
Python: Zip
September 29, 2016
»
Python: Signature
September 25, 2016
»
Python: *expression
September 16, 2016
»
Digest of
Fluent Python
September 15, 2016
»
scikit-learn: Pipeline
September 15, 2016
»
Python: Mixin
August
August 23, 2016
»
ML Terminology
August 3, 2016
»
Python: MySQLdb
July
July 21, 2016
»
How to rename MySQL databases or tables?
July 18, 2016
»
Homology, Conserved Sequence and Conservation Scores
July 17, 2016
»
Digest of
Working Effectively with Legacy Code
July 13, 2016
»
Python: sequences of booleans
June
June 29, 2016
»
Linking, Loading and Library
June 22, 2016
»
How to import data to MySQL? / How to change MySQL data directory?
June 17, 2016
»
Applied Nonparametric and Modern Statistics
June 15, 2016
»
Smoothing
June 14, 2016
»
Digest of
ggplot2
May
May 15, 2016
»
Big-O vs Little-O notation
April
April 4, 2016
»
Advanced Algorithms
March
March 30, 2016
»
Computational Complexity Review
February
February 21, 2016
»
MathJax 血泪史
January
January 9, 2016
»
Basic Graph Algorithms
January 8, 2016
»
Statistical Data Types
2015
December
December 16, 2015
»
Lab Memo: Use Cases for Pipeline Refactoring
October
October 14, 2015
»
Install Scientific Environment in Ubuntu 14.04 With Python 3.4
September
September 30, 2015
»
Digest of
Dive into Python 3
September 17, 2015
»
Scripting Experience
September 8, 2015
»
DSA setting at SSH client end
September 7, 2015
»
What is the epigenome?
July
July 30, 2015
»
Eukaryotic Cell Structure
July 29, 2015
»
Cell Cycle
July 28, 2015
»
Taxonomic Ranks
July 27, 2015
»
Digest of
Molecular Biology for Computer Scientists
July 22, 2015
»
Rcpp: inline 生成的临时文件举例以及 exception 相关的宏
July 17, 2015
»
Rcpp Hierarchy
July 8, 2015
»
Digest of
Advanced R
(亟待更新)
June
June 20, 2015
»
Parametric vs. non-parametric tests
June 20, 2015
»
Parametric vs. non-parametric models
June 19, 2015
»
t-tests introduction
June 16, 2015
»
McNemar Test
June 9, 2015
»
Shapiro-Wilk Test for Normality
June 9, 2015
»
Fisher's Exact Test for Independence
June 9, 2015
»
Chi-Square Test for Independence
June 6, 2015
»
Digest of
Seamless R and C++ Integration with Rcpp
(待修改)
June 6, 2015
»
Digest of
R in Action
May
May 19, 2015
»
Digest of
Effective C++
May 18, 2015
»
C++11: inline namespace
May 17, 2015
»
C++: Standard Type Transformation Templates
May 17, 2015
»
C++: noexcept
May 15, 2015
»
C++: type conversion operator
May 15, 2015
»
C++:
override
May 15, 2015
»
C++: final
May 13, 2015
»
C++: The Rule of Three/Five
May 13, 2015
»
C++: move constructor & move assignment operator / lvalue & rvalue / reference qualifier
May 7, 2015
»
C++11 Smart Pointer:
auto_ptr
is deprecated. Use
unique_ptr
instead. Here also come
shared_ptr
and
weak_ptr
.
May 6, 2015
»
C++11: bind1st() and bind2nd() are deprecated. Use bind() instead.
May 5, 2015
»
C++ Lambda Expression
May 4, 2015
»
C++ Primitive Built-in Types
May 3, 2015
»
C++: 6 things you must know about functions
May 3, 2015
»
C++:
=default
&
=delete
May 2, 2015
»
C++ range for: To get item by value or by reference?
May 2, 2015
»
C++: initializer_list
May 1, 2015
»
C++: typedef & alias declaration (using)
May 1, 2015
»
C++ Type Specifiers: auto / decltype
May 1, 2015
»
C++: constexpr
April
April 30, 2015
»
C++: Specifiers / Literal Prefix & Suffix
April 30, 2015
»
C++: Null Pointer
April 26, 2015
»
C++:
static
inside functions
April 26, 2015
»
C++ double dispatch: 函数参数并不支持多态
April 26, 2015
»
C++: A quick view of design pattern
April 24, 2015
»
C++: Virtual Inheritance
April 24, 2015
»
C++: typeid
April 24, 2015
»
C++: Interface Class
April 24, 2015
»
C++: Generic Containers
April 22, 2015
»
C++: Iterator Types
April 22, 2015
»
C++: A quick view of STL algorithms
April 21, 2015
»
C++: Generic Algorithm Examples
April 21, 2015
»
C++: function object
April 20, 2015
»
C++: Template Trait
April 17, 2015
»
C++:
typename
&
template
April 17, 2015
»
C++: template specialization
April 15, 2015
»
C++: operator void*
April 15, 2015
»
C++: Introduction to iostream
April 14, 2015
»
C++ String
April 13, 2015
»
C++: Turning off asserts
April 13, 2015
»
C++ Exception Handling / auto_ptr
April 12, 2015
»
C++: local scope
April 11, 2015
»
C++: Introduction to Templates
April 8, 2015
»
C++: Inheritance / virtual
April 7, 2015
»
C++: 在子类中 override 或 overload 父类方法会屏蔽对 overloaded 方法的访问. This is different from Java!
April 6, 2015
»
C++: overloading
new
&
delete
April 6, 2015
»
C++:
new T
and
new T()
are different!
April 5, 2015
»
C++: Automatic type conversion / explicit
April 4, 2015
»
C++ overloading `operator=`: shallow copy vs. deep copy / reference counting / copy on write
April 4, 2015
»
C++: Operator Overloading
April 3, 2015
»
C++: Simple object assignment means copying. This is different from Java!
April 3, 2015
»
C++: pointer to class members
April 3, 2015
»
C++: Complex copy-construction & How to prevent copy-construction (thus preventing pass-by-value)
April 2, 2015
»
C++: static member funcion
April 2, 2015
»
C++: Rules of static member initialization
April 2, 2015
»
C++: pointer reference
April 2, 2015
»
C++: Copy-constructor & the return value on the stack
March
March 31, 2015
»
C++: Namespace
March 30, 2015
»
C++: inline function
March 29, 2015
»
C++: const object / const member & const member function / mutable
March 28, 2015
»
C++: Const Reference
March 26, 2015
»
C++: Temporary Objects, are you Rvalues?
March 26, 2015
»
C++: More on const
March 26, 2015
»
C++: Const Pointer
March 24, 2015
»
C++: union 也有春天
March 24, 2015
»
C++: Overloading on return values is NOT allowed (neither in java)
March 24, 2015
»
C++: new & delete
March 24, 2015
»
C++: Default function arguments & Placeholder arguments
March 24, 2015
»
C++: constructors and destructors
March 24, 2015
»
C++: Aggregate initialization
March 22, 2015
»
C++: friend
March 21, 2015
»
C++: Using struct like a class / Nested struct / Global scope resolution inside struct
March 21, 2015
»
C++: The multiple-declaration problem / Never put
using
in headers
March 20, 2015
»
C++: Setting the debugging flags / assert
March 20, 2015
»
C++: array in argument list
March 20, 2015
»
C: Pointer Arithmetic
March 20, 2015
»
C: function pointers
March 20, 2015
»
C: Advanced Preprocessor Features
March 19, 2015
»
C++: typedef sees
int*
and
int&
as new types
March 19, 2015
»
C++: enum
March 19, 2015
»
C: struct
March 18, 2015
»
C++ Explicit Operators
March 18, 2015
»
C++ explicit cast operator: static_cast / const_cast / reinterpret_cast / dynamic_cast
March 18, 2015
»
C++: auto / register / static / const / volatile / linkage / scope
March 18, 2015
»
C: sizeof is an operator
March 17, 2015
»
C++: dereference
March 16, 2015
»
C++: There are void pointers but no void references
March 16, 2015
»
C++: pass-by-value / pass-by-pointer / pass-by-reference
March 16, 2015
»
C++: A syntax constraint when defining variables in the statements of
if
,
while
and
switch
March 15, 2015
»
C++: declarations vs. definitions / extern
March 14, 2015
»
C++: Including headers
March 13, 2015
»
The compilation process
February
February 8, 2015
»
R Dates
February 7, 2015
»
R: Generating All Pairwise Combinations of Strings
January
January 30, 2015
»
R %any% operator
January 30, 2015
»
R:
commandArgs(trailingOnly)
and
--args
January 16, 2015
»
Introduction to Linear Discriminant Analysis
January 2, 2015
»
The MEME algorithm
2014
December
December 29, 2014
»
EM method for identifying motifs in unaligned biopolymer sequences
December 28, 2014
»
Expectation-Maximization Algorithm
December 25, 2014
»
Signal Peptide & Protein Targeting
December 25, 2014
»
Naive Bayes classifier
December 22, 2014
»
Ensemble Methods in Machine Learning
December 11, 2014
»
Structured Output Support Vector Machines
December 10, 2014
»
Soft Margin Intuition
December 6, 2014
»
WD kernel with shifts
December 5, 2014
»
Support Vector Machines and Kernels
December 4, 2014
»
Lagrange duality
December 3, 2014
»
Hidden Markov Models
October
October 19, 2014
»
Simplex
October 17, 2014
»
A Little on Topic Model
October 9, 2014
»
ISL: Unsupervised Learning
October 8, 2014
»
ISL: Support Vector Machines
October 6, 2014
»
ISL: Tree Based Methods
October 5, 2014
»
ISL: Moving Beyond Linearity
October 3, 2014
»
ISL: Linear Model Selection and Regularization - Part 2
October 2, 2014
»
Bayesian Interpretation for Ridge Regression and the Lasso + Exercise 7
September
September 29, 2014
»
RSS, MSE, RMSE, RSE, TSS, R
2
and Adjusted R
2
September 28, 2014
»
ISL: Linear Model Selection and Regularization - Part 1
September 27, 2014
»
ISL: Resampling Methods
September 25, 2014
»
ISL: Classification
September 25, 2014
»
ISL: Classification - Conceptual Exercises
September 21, 2014
»
ISL: Linear Regression - Part 2
September 21, 2014
»
ISL: Linear Regression - Part 1
September 20, 2014
»
Statistic, Statistical Hypothesis Test(ing), Test Statistic, t-test and p-value
September 20, 2014
»
ISL: Statistical Learning
September 18, 2014
»
Equation Numbering and Referencing in MathJax
September 10, 2014
»
Expectation Operator Rules, Covariance and Standard Error of the Mean
September 10, 2014
»
Asymptotics: The Law of Large Numbers and The Central Limit Theorem
September 9, 2014
»
R PCA Example
September 9, 2014
»
Bernoulli vs Multinoulli (Categorical) vs Binomial vs Multinomial / Gaussian / Poisson Distributions
September 8, 2014
»
Conditional Probability
September 7, 2014
»
Probability
September 6, 2014
»
Machine Learning: Dimensionality Reduction
September 6, 2014
»
Covariance and Correlation
September 4, 2014
»
Moment, Expectation, Variance, Skewness and Kurtosis
August
August 28, 2014
»
R Exploratory Data Analysis: Air Pollution Case Study
August 12, 2014
»
R: Saving, Loading and Removing in-memory Data
August 2, 2014
»
R: Getting and Cleaning Data
August 1, 2014
»
What are Confounding Factors and How do they Affect Studies?
July
July 31, 2014
»
What are the differences among different study designs, and what are the relative advantages of each?
July 31, 2014
»
An Example of Experimental Design
July 29, 2014
»
Types of Data Science Questions
July 26, 2014
»
R console theme
July 26, 2014
»
Octave: fmincg and Anonymous Functions
July 8, 2014
»
R Generating Random Numbers and Random Sampling
July 8, 2014
»
R Debugging
July 6, 2014
»
Derivative and Partial Derivative
July 5, 2014
»
Slope, Intercept and Distance
June
June 29, 2014
»
R profiling
June 27, 2014
»
R <<- operator
June 27, 2014
»
R apply family
June 24, 2014
»
Digest of
Agile Software Development: Principles, Patterns, and Practices
June 19, 2014
»
R Scoping Rules
June 14, 2014
»
R Data Types - Part 3: Missing Values, Data Frames & Names
June 14, 2014
»
R Data Types - Part 2: Factors
June 14, 2014
»
R Data Types - Part 1: Basis, Vectors, Matrices & Lists
June 4, 2014
»
Digest of
Effective Java
June 3, 2014
»
《分布式 Java 应用:基础与实践》第四章总结其二:并发工具类
June 3, 2014
»
《分布式 Java 应用:基础与实践》第四章总结其一:集合类
June 3, 2014
»
《分布式 Java 应用:基础与实践》第三章总结其一:理解 JVM(未完待续)
June 3, 2014
»
《分布式 Java 应用:基础与实践》第二章总结:SOA 扫盲
June 3, 2014
»
《分布式 Java 应用:基础与实践》第一章总结:分布式 Java 应用的系统间通信的种类
May
May 24, 2014
»
调教 GitHub Pages 与 jekyll bootstrap 时遇到的一些问题
May 20, 2014
»
Algorithm Quizzes
May 18, 2014
»
局部内部类、匿名内部类对外部变量的访问权限 + 闭包
March
March 22, 2014
»
goagent/server/uploader.bat 失败的解决办法
2013
October
October 12, 2013
»
Ant target 的 unless 含义
October 12, 2013
»
Unified EL implicit objects are vulnerable to XSS attack
October 12, 2013
»
<%@ page contentType%> 注意事项两则
October 12, 2013
»
Sqlmap Namespace
October 12, 2013
»
Spring 小技巧
October 12, 2013
»
SO_TIMEOUT and CONNECTION_TIMEOUT
October 12, 2013
»
Service Locator Pattern
October 12, 2013
»
MySQL dump, replace and insert-on-duplicate-update
October 12, 2013
»
Locate Bugs by Replaying
October 12, 2013
»
JSON conversion
October 12, 2013
»
How to use @link, @see and @code in JavaDoc
October 12, 2013
»
自定义 ServletContextListener 的写法举例
October 12, 2013
»
直接访问测试机 ip 地址是无法获取 cookie 的
October 12, 2013
»
a weird problem caused by encoding
October 11, 2013
»
@Transactional throws "no matching editors or conversion strategy found"
October 11, 2013
»
@Autowired not working 的问题
October 10, 2013
»
ibatis 小问题集合
October 9, 2013
»
JavaScript: window 注意事项
October 9, 2013
»
JavaScript: sleep
October 9, 2013
»
JavaScript: onclick 注意事项
October 9, 2013
»
JavaScript: enable & disable
October 9, 2013
»
JavaScript: ajax 注意事项
October 9, 2013
»
常见 HTTP Status Code 及场景
October 9, 2013
»
IE 下的奇葩注意事项
September
September 1, 2013
»
Three-way Handshake
September 1, 2013
»
Subnet Mask
September 1, 2013
»
GET 与 POST 的区别
September 1, 2013
»
Network Protocols
September 1, 2013
»
一个 http 请求的详细过程
July
July 29, 2013
»
Digest of
Short introduction to log4j
July 22, 2013
»
SimpleDateFormat 不是线程安全的
July 22, 2013
»
primitive type 可以为 null
July 22, 2013
»
ScheduledExecutorService.scheduleAtFixedRate() 注意事项两则
May
May 25, 2013
»
有关设计的一些事后诸葛亮
May 25, 2013
»
关于表字段数量与对象字段数量的思考
May 25, 2013
»
设计 Service 的一些经验
May 25, 2013
»
设计 PO 的一些经验
May 25, 2013
»
设计 Controller 的一些经验
May 25, 2013
»
Deploy carefully!
May 25, 2013
»
2 most important questions when an old project is assigned to you
May 8, 2013
»
Digest of
Test Driven Development
April
April 18, 2013
»
Every servlet, controller, service, DAO, etc is Singleton in a SpringMVC application context
April 16, 2013
»
slab, page and chunk in memcached
April 9, 2013
»
visibility symbol in UML
March
March 21, 2013
»
JSP: use ${fn:escapeXml()} to escape double quotes
2012
November
November 14, 2012
»
MySQL 使用和优化基础
August
August 15, 2012
»
Digest of
Mocks Aren't Stubs
June
June 4, 2012
»
Velocity Config in Spring
May
May 25, 2012
»
never fake a <input type=file>
2011
November
November 21, 2011
»
struts2 interceptor config
November 1, 2011
»
shallow copy v.s. deep clone
October
October 18, 2011
»
阻止 form submit 的方法
October 18, 2011
»
<form><input name=?>
October 12, 2011
»
url-patttern
September
September 2, 2011
»
static 属性的注入必须使用非 static 的 setter
August
August 17, 2011
»
"Could not resolve placeholder" 解决方案
July
July 11, 2011
»
MySQL 5.5 版本下 my.ini 内 [mysqld] 项中不能再写 default-character-set=utf8
2010
October
October 10, 2010
»
有关 Java 的 main 方法
October 5, 2010
»
Java 多线程:synchronized
October 4, 2010
»
Java 多线程:Runnable 接口 v.s. Thread 类
October 4, 2010
»
Java 多线程:终止线程的方法
September
September 1, 2010
»
多线程示意和 thread.join() 用法示意
August
August 28, 2010
»
hibernate 延迟加载的错误
August 11, 2010
»
Spring TestContext 测试框架中 @BeforeClass 方法无法使用 @ContextConfiguration 初始化的 bean
August 8, 2010
»
callback 释义
August 2, 2010
»
Spring AOP 学习(四):简单 XML 配置
August 2, 2010
»
Spring AOP 学习(三):例子与基本概念
July
July 29, 2010
»
jBPM-4.3 流程定义 zip 包中的所有文件都是资源
July 29, 2010
»
jBPM-4.3 <process> 标签 name 属性中的短横线会变成下划线赋给 key 属性
July 29, 2010
»
jBPM-4.3 中 deploymentId 和definitionId 应该是一对一的关系
July 28, 2010
»
Spring AOP 学习(二):动态代理
July 28, 2010
»
Spring AOP 学习(一):组合对比继承的优势
July 4, 2010
»
Java 的值传递
May
May 27, 2010
»
org.apache.cxf.interceptor.Fault: Could not send Message
May 5, 2010
»
UML 类图之关联、聚合、组合、依赖
April
April 3, 2010
»
Join
March
March 4, 2010
»
Ant 中的 fork="true"
March 2, 2010
»
Ant 路径之 **
February
February 23, 2010
»
clover 测试 servlet,提示找不到类 com_cenqua_clover/CoverageRecorder 的解决方法
2009
December
December 26, 2009
»
简单 SQL 语句的逻辑顺序
December 25, 2009
»
MySQL REGEXP
December 25, 2009
»
Isolation
December 11, 2009
»
Simple Form Handling Example
December 5, 2009
»
Pointer Swizzling
December 4, 2009
»
page(页面)
December 4, 2009
»
Disk Drive(磁盘驱动器)
November
November 29, 2009
»
Spring MVC example anatomy
November 17, 2009
»
依赖、依赖注入(DI)以及控制反转(IoC)
November 14, 2009
»
jbpm 4.3 variable 的 name 和 mapped-name
November 1, 2009
»
IR 经典模型之向量模型
November 1, 2009
»
IR 经典模型之布尔模型
October
October 31, 2009
»
当接口方法有声明 throws Exception 时,实现方法可以选择不 throws
October 31, 2009
»
a simple delegation example
October 25, 2009
»
windows 下查看端口是否被占用的方法
October 25, 2009
»
Ant 中 javac 假死的解决办法
October 25, 2009
»
jBPM 4.3 自动保存 TaskInstance 至数据库的机制
October 3, 2009
»
Tomcat 6.0 环境变量和 Tomcat Manager Account
September
September 4, 2009
»
class loading: further discussion involving steps of instance creation
August
August 13, 2009
»
the proxy parameter of the invoke() method
August 4, 2009
»
throw 的屏蔽作用
August 4, 2009
»
涉及继承的异常声明及捕捉
August 3, 2009
»
finally 总是会被执行
July
July 31, 2009
»
first catch
July 30, 2009
»
foreach 与 iterable
July 28, 2009
»
Arrays.asList()
April
April 7, 2009
»
proxy
April 7, 2009
»
关于继承的新认识:导出类调用基类方法其实是向上转型
April 7, 2009
»
对内部类的继承
April 5, 2009
»
static inner class
April 5, 2009
»
局部内部类 (local inner class)
April 5, 2009
»
内部类:对外部类的访问及 .this 和 .new
April 5, 2009
»
匿名内部类 (anonymous inner class):简化形式及自动向上转型
April 3, 2009
»
entends interface
April 2, 2009
»
interface
April 2, 2009
»
关于覆写方法的访问权限
April 2, 2009
»
abstract
March
March 27, 2009
»
warning: 在构造器中请谨慎使用被覆写方法
March 27, 2009
»
关于覆写方法的 return type
March 27, 2009
»
多态
March 27, 2009
»
有关向下转型的必要性和动态绑定的细节
March 25, 2009
»
final
March 25, 2009
»
class loading: an example
March 23, 2009
»
private、package 权限字段不可继承 + 向上转型的新理解
March 23, 2009
»
overload and override: 重载与覆写
March 19, 2009
»
initializer
March 19, 2009
»
关于 class 和 class member 的访问权限
March 18, 2009
»
static
March 18, 2009
»
array reference and initialization
2008
September
September 1, 2008
»
Java Identifier
June
June 18, 2008
»
ARM7 学习笔记