hit counter

Timeline

My development logbook

Innovation

Video

The art of innovation by Guy Kawasaki

Our approach to innovation is dead wrong by Diana Kander

The New Rules of Innovation by Carl Bass

Do schools kill creativity? by Sir Ken Robinson

(In a kids’ nativity play) The three boys came in, four-year-olds with tea towels on their heads, and they put these boxes down, and the first boy said, “I bring you gold.” And the second boy said, “I bring you myrrh.” And the third boy said, “Frank sent this.”

Actually, do you know that old philosophical thing, if a tree falls in a forest and nobody hears it, did it happen? Remember that old chestnut? I saw a great t-shirt recently, which said, “If a man speaks his mind in a forest, and no woman hears him, is he still wrong?”

Full transcript

Your elusive creative genius by Elizabeth Gilbert

Fear based questions

The Face of Innovation by JR Reagan

Freshpaper

Switching to Zsh

I have been searching the internet for a while to understand this expression ${0:h}. Finally here is an answer:

 info -f zsh -n Modifiers

My Toastmaster Speech 3

Remark

The original cut (as shown in following) is considerably longer than what I have delivered finally. It is because, after timing myself, the text takes about 8 min to finish. So I have trimmed off part of the speech. The paradox: when I finally delivered it in front of the audience, it took 9 seconds short of 6 minutes. I have talked a lot faster during the speech.

Feedback

  • Vocal variation

  • The opening can be better

  • What I have done right: the speech provided a vivid imagery.

Text

Memory. I want to talk to you about memory today.

I have watched a seminar by an American World Memory Championship champion Chester Santos just a month ago. I would love to share his insight and tip with you.

But before I continue, let’s me give you a little challenge. Let me give a list of random words and see if you can remember it. OK? Here it is:

Monkey, Iron, Rope, Kite, House, Paper, Shoe, Worm, Envelope, Pencil, River, Rock, Tree, Coin

Did you get them all? Do you think you can recite the list both forward and backward? I will tell you how later in the talk.

But first let me tell you about some common misunderstandings about memory.

The first common one is: our memory get worse when we get older. It is easy to understand why we have this misconception. When we were young and studying in schools, we have to remember tons of information and get quizzed from time to time. After we leave school and get our first job, we again need to absorb massive amount of new information in order to do our job well. However it is typical that in later stage of our lives, when we settle into our roles, we do not need to learn and recall the same amount of new information anymore. Since we do not use our brain for memorisation, its ability to retain and recall data becomes worse. It is just like any muscle system in our body: lack of exercise will make them weak. But we usually draw a wrong conclusion: we think our memory deteriorated because we are getting old. It is simply not true. It is more a result of our life style. As a good counter example, in a World Memory Championship some years ago, there was a contestant from Malaysia who is in his 60s. Despite his age, he managed to remember all entries in an oxford dictionary AND the words position on a page AND the associated page numbers.

Another misunderstanding is: it takes a special brain to memorise massive amount of data. Actually use of appropriate memory techniques will go a long way. Every one of us can master the techniques.

We have actually a lot of untapped memory capacity such as visual and olfactory memory. Visual memory is extremely powerful: for example, we can remember faces we have come across years ago. If we can enlist the visual memory, we can store a lot of information in our brain. The key is that the images have to be exaggerated, crazy and unusual.

It is very easy to understand why: lets say, out of nowhere, a big pink elephant break through those wall (points to far end), run across this room and then break this wall (points behind me) and escaped. I am sure 30 years from now, all of us will still recall every details of the episode and cannot stop talking about it.

Do you still remember the list I throw at you at the beginning of this speech? It is actually an example used by the World Memory Championship Champion Chester Santos in his demonstration. So let do this visual memory exercise together!

First imagine a monkey who is happily running around and making some monkey sound. For some reason it finds a giant iron and he starts to dance around with the iron in his hand. On one end of iron it is attached to a rope. You can feel the rope and it feels rough. You look up the rope and you can see it is attached to a kite. Somehow the kite starts to fall and hit a house. The house is very special and is all covered by paper. Out of nowhere a shoe appears and it walks on the papers and leave footprints all over the place.

Then you notice there is a worm in the shoe. Try picture this. You want to take a closer look but the worn jumps out and get inside an envelope. Now a pencil appears and write all over the envelope. The pencil then jumps into a river and makes a big splash. The river is crashing up a rock. Near the rock there is a tree. And there is cheese growing up on the tree. Coins are shooting out from the cheese.

Now you have a story. Now you have a picture. You can now easily recite the list of words: Monkey, Iron, Rope, Kite, House, Paper, Shoe, Worm, Envelope, Pencil, River, Rock, Tree, Coin. And you can go backward too. Do you try to it with me? Coin, Tree, Rock, River, Pencil, Envelope, Worm, Shoe, Paper, House, Kite, Rope, Iron, Monkey! Yes, you did it!

In conclusion: 1) Your memory does not get worse because you get old. It gets worse because you do not use it enough. 2) Our brain does not hold as much data as you wish because you do not know how to tape into your visual memory.

Thank You.

Don’t Let Private and Public Key Sit in the Same Folder When Vagrant Up

The problem is this:

vagrant failed to provision a box after it is successfully created in aws ec2.

It reported:

     INFO ssh: SSH not up: #<Vagrant::Errors::SSHAuthenticationFailed: SSH authentication failed! This is typically caused by the public/private
     keypair for the SSH user not being properly set on the guest VM. Please
     verify that the guest VM is setup with the proper public key, and that
     the private key path for Vagrant is setup properly as well.>

But if I do vagrant ssh I can login to the box with no problem.

I have tried everything to get it to work. I have removed rvm, I have reinstalled chefdk, I have downgraded vagrant… None of them work.

I studied the log message a bit closer and I found these lines:

     769 D, [2015-02-19T15:05:43.563478 #14537] DEBUG -- net.ssh.authentication.session[851208b0]: allowed methods: publickey
     770 D, [2015-02-19T15:05:43.563564 #14537] DEBUG -- net.ssh.authentication.methods.none[85125400]: none failed
     771 D, [2015-02-19T15:05:43.563650 #14537] DEBUG -- net.ssh.authentication.session[851208b0]: trying publickey
     772 E, [2015-02-19T15:05:43.564057 #14537] ERROR -- net.ssh.authentication.key_manager[851256d0]: could not load public key file `/Users/antkong/dev/project/aws/aws-ami.pem': Net::SSH::Exception (public key at /Users/antkong/dev/project/aws/aws-ami.pem.pub is not valid)

Apparently for some reason the key manager picked the public key file to connect to the server: I have specified a private key file in the Vagrantfile. The key manager added ‘.pub’ to the file name and pick the file up.

Removing the public key file solved the issue.

Lesson: Don’t put the public key along with the private key.

Chsh

Unable to switch to zsh which is installed from brew

    $ chsh -s `which zsh`
    Changing shell for demo.
    Password for demo:
    chsh: /usr/local/bin/zsh: non-standard shell

Solution:

Add /usr/local/bin/zsh to /etc/shells