-
Recent Posts
Archives
- July 2016
- June 2016
- May 2016
- March 2016
- January 2016
- November 2015
- October 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- October 2013
- September 2013
- August 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- April 2011
- March 2011
- February 2011
Categories
My Tags
My Profile
Senior Software Engineer At Actuate
Meta
Monthly Archives: June 2012
How to use web worker to send soap request and get soap response
web worker is new feature of html 5. web worker povide api for spawning background scripts in your web application. Web Workers allow you to do things like fire up long-running scripts to handle computationally intensive tasks, but without blocking … Continue reading
what’s the usage of header guard?
When you create header file in Code::Block, you would always see something like this : #ifndef LEFTROTATION_H_INCLUDED#define LEFTROTATION_H_INCLUDED .. #endif why these header guard should be there? Suppose you have a header file named a.h, then in multiple file, let’s … Continue reading
Binary Search Tree and Double-linked List
Question: Convert a binary search tree to a sorted double-linked list. We can only change the target of pointers, but cannot create any new nodes.For example, if we input a binary search tree as shown on the left side of … Continue reading
How to get sum(n)
In the forum, I see a very interest post question: get the sum from 1 to n (n is integer and n >=1). requirements : can not use *, /, bit operator, if-else, while, for, switch, ? , ternary operator, … Continue reading
how to config vim 7.3
I have used vim for long time since version 7.1. Today I installed the latest version of 7.3. As usual, when I go to the $vim ( vim installation path) to change the _vimrc file, I always get error of … Continue reading