Set up Racket for Vim and mac Terminal

Racket is fairly great:), though the setting up procedure is kind of twisted. There is a .dmg installation file in the official website, which makes it quite straightforward to install in the Application folder. And, of course, the DrRacket app is awesome when I accidentally put mouse in one of the variables in the code, and then all its dependencies reveal via arrows.

Tail recusive function in Python

    The issue came from my question in stackoverflow. Basically, it was a misplaced question, because the reason why my program would hit the “RuntimeError: maximum recursion depth exceeded” was that I just passed the sorted array by the first scenario to the second scenario. This caused the second one hit the “worse case” and exceed the “maximum recursion depth”. Well… it was embarrassing to admit that I forgot dereferencing the variable…

Install opencv in mac osx

The most straightforward way is via homebrew.

Valve handbook

  • Would I want this person to be my boss?
  • Would I learn a significant amount from him or her?
  • What if this person went to work for our competition?

General posts about Lisp

Lots of people talking about LISP

Progress at Humming Identification and SICP

Humming Identification.

Install MIT/Scheme with Vim

After wondering around for a while, I finally found this was quite foolproof…

Random Reading digest

My plan for 2012: do things that children do

Summary of 2011 and Resolution of 2012

这是一篇想了很久的日志。过去的一年,发生了很多叵测的事情,我学到了很多,也付出了不小的代价。接下来的这一年,也许会有很多重要的事情发生。无论如何,对于经历的2011,把感想趁着鲜活的时候写下来,也算是对自己的一个交代。