Just installed RVM.

Message from RVM after installation:

  * To start using RVM you need to run `source /Users/antkong/.rvm/scripts/rvm`
    in all your open shell windows, in rare cases you need to reopen all shell windows.

Note to self

iPhone sync backup can be found in this location:

~Library/Application Support/MobileSync

In light of the NSA PRISM scandal, I recommend these two videos from ‘Conversation with History’ series:

Interview with Glenn Greenwald

‘Deep State’ - Interview with Professor Peter Dale Scott

Weird error message of say in 10.8.4

$ say tony
MTBEAudioUnitSoundOutput::PropagateProperty Error -10851
MTBEAudioUnitSoundOutput::PropagateProperty Error -10851

OSX terminal and .bashrc

When I create a new tab in Terminal, the new bash shell does not automatically execute the .bashrc file.

I added this to my .bash_profile to fix the problem:

[[ -s ~/.bashrc ]] && source ~/.bashrc

-s here means if the file exists and not of size 0

Morgan Stanley uses (AFS)[http://en.wikipedia.org/wiki/Andrew_File_System] for application deployment with good results.

The core of lisp

The core of lisp is just 7 functions:

  • (quote x)
  • (atom x)
  • (eq x y)
  • (cons x y)
  • (cond (x y) (w z) (t q))
  • (car x)
  • (cdr x)

Trying to understand how NSDocument works with First Responder model in OSX app. This SO articule seems helpful: http://stackoverflow.com/questions/4892705/connecting-menu-items-in-document-based-applications

Useful OSX API to find home and temp directory

NSHomeDirectory

NSTemporaryDirectory

Health system of USA is odd. For example, Oregon uses a lottery based system to allocate health care coverage - a scarce resource - to its citizens.

From Wikipedia:

New enrollment in the program was closed from mid-2004 until early 
2008, when a lottery-based system was introduced. Tens of thousands 
of Oregonians signed up, competing for 3,000 new spots in the plan.

It is basically saying that the policy makers have given up on trying to design and implement a system to allocate the resource based on any meaningful and measurable metrics.