Ben Chuanlong Du's Blog

And let it direct your passion with reason.

Cygwin Portable

** Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement! **

Cygwin Portable

  1. The portable versions has some problems

    • Vim, edit mode, backspace doesn't work sometimes (identation related)
  2. Cygwin portable scroll doesn't work after Vim is opened and then closed. but if …

An IO Bug in R

I encountered an input/output bug in R in Linux system. The symptom is that input and output are not displayed in the terminal and the warning message "An unusual circumstance has arisen in the nesting of readline input. Please report using bug.report()" is shown. I found that though …

A Bug in Mathematica

Mathematica is a very intelligent and powerful math software. I use it in my study and research a lot. Mathematica's ability to take derivative and to calculate limit is obvious powerful–way much beyond many mathematician's ability. Mathematica's ability to calculate integral is also powerful. There are many integrals than …

Some Terminologies in Business Investment

Stock Ticker

A stock ticker is a report of the price for certain securities, updated continuously throughout the trading session by the various stock exchanges. A "tick" is any change in price, whether that movement is up or down. A stock ticker automatically displays these ticks, along with other relevant …

First 10-digit Prime in Consecutive Digits of Euler Constant?

One day my friend Ru He asked me a question.

What is the first 10-digit prime found in consecutive digits of e?

This is an easy problem with the help of Mathematica. The following is the Mathematica code I wrote to solve this question. It actually solves the general problem …

Set Line Space in LaTeX

  1. The parskip command makes a skip between paragraphs. The length of skip can be set using the command \setlength, e.g.,

    \setlength{\parskip}{15pt plus 1pt minus 1pt}
    
  2. The command \itemsep sets the space between items in lists, e.g.,

    \begin{itemize}
    \itemsep = 0.8cm
    \item 
    \end{itemize}
    
  3. The …