Tuesday, April 26, 2011

List of MAC OSX Command Line

I just find a very useful site which contains a list of MAC OSX command line. Check out [ here ].


Command Line Interface
Terminal is a useful utility, which allows advanced users to work with command line interface (CLI). A lot of programmers prefer this mode due to its flexibility to customize things.

Even for semi-advanced users, Terminal looks scary. One of the problems is that you don't know the command name and their syntax. Documentation is long and some time hard to read. But for sure, it require a lot of effort to comb through the documentation to get what you do using CLI. So a lot of users just give up using CLI.


List of MAC OSX Command Line

I just find a very useful site which contains a list of MAC OSX command line. Check out [ here ].


Command Line Interface


Terminal is a useful utility, which allows advanced users to work with command line interface (CLI). A lot of programmers prefer this mode due to its flexibility to customize things.

Even for semi-advanced users, Terminal looks scary. One of the problems is that you don't know the command name and their syntax. Documentation is long and some time hard to read. But for sure, it require a lot of effort to comb through the documentation to get what you do using CLI. So a lot of users just give up using CLI.

SS64

Recently, I find a useful site, which lists the most frequently used commands for various platforms, e.g., OSX, Oracle, Windows. The list is not too long and is accompanied with short description. In my opinion, it is a very good reference site. Check out [ here ].

My Personal Use: Copy file content to clipboard. 

Let me give you an example use. Do you know that OSX has a command "pbcopy"? To me, I would like to copy the content in a text file to the clipboard. Here is what I do:

  1. Type "less myfile.txt | pbcopy" at the command prompt.
  2. Press Command + V on the application that I would like to paste the content (Note: in Windows, press Ctrl + V).
Pretty cool isnt' it?

Tuesday, April 19, 2011

[Book] Why is Facebook successful? What exactly is Facebook?

“We’re utility. We’re trying to increase the efficiency to which people can understand their world. We’re not trying to maximize the time spent on our site. We’re trying to help people have a good experience and get the maximum amount out of that time.”--Mark Zuckerberg
Facebook Key Differentiation Factor: Real Identity
What differentiate Facebook from other online social networking website is the true identity. That does not mean you have to use your real name. But you get little benefit from Facebook if you use a fake name. 
Facebook mimics this property from the real society. You wouldn't be friends with those you don't know. You tend to make friends through your friends. In Facebook, you would friend people up if you know that person (or you know friends of that person) in the real world. 

Monday, April 4, 2011

[Book Review] The Facebook Effect by David Kirkpatrick

Rating: 4/5
Genre: Non-fiction

Book Review


It is clear from the title that this book is about FACEBOOK. The most widely-used social networking website in the world. Out of curiosity, I read this book after watching the movie “Social Networks”, which is about Facebook. In my opinion, the movie is not based on this book. But based on another book “The Accidental Billionaires: The Founding of Facebook, A Tale of Sex, Money, Genius, and Betrayal” by  Ben Mezrich. So this book presents another point of view for Facebook, and unquestionably Mark Zuckerberg.

Friday, April 1, 2011

[Book Review] The Drunkard's Walk: How Randomness Rules Our Lives by Leonard Mlodinow




Rating: 4
/5
Genre: Non-fiction

Book Review

If you think that mathematics mainly for academic, this book might change your view. The book talks very little about basic probability principles. Rather, it focuses on how the principles were discovered, what it meant in the old time and the present time, and the fallacy associated to them.

I am quite familiar with probability. So, I find myself reading this book enjoyably. As a student, I was wondering why should study difficult and boring mathematics. If you are like me, you might find this book quite interesting. This book gives the readers the reasons why mathematics matters to, say for example, engineers, statisticians, or even lawyers.

Another interesting part of this book is the  history. There are stories of great mathematician and scientists such as Gerolamo Cardano, Galileo Galilei, Blaise Pascal, Jacob Bernoulli, Thomas Bayes, Laplace, Carl Friedrich Gauss. Who would have know that Thomas Bayes was a minister. Pascal suffered from his illness when he did too much thinking.

The book is interesting. It looks at aspects that I usually overlook. It keeps me engaged for most of the content. Overall, I like this book.