Search within Lanny's blog:


Leave me comments so I know people are actually reading my blogs! Thanks!

Tuesday, October 30, 2018

Rest In Peace, Mr. Jin Yong

My beloved author, Mr. Jin Yong, the author of The Smiling Proud Wanderer, just passed away today at the age of 94. It is a sad day for all his fans around the world.

Thank you Mr. Jin Yong for the wonderful Wuxia worlds you created for us that not only entertained billions but also taught many about gallantry and virtue. Wish you peace in heaven where there's probably no hatred, no revenge, and no heroes.


Pen name Jin Yong (金庸), real name Zha Liangyong (查良镛), English name Louis Cha, 1924-2018.

https://en.wikipedia.org/wiki/Jin_Yong

As a tribute to Mr. Jin Yong, I will be resuming my translation of The Smiling Proud Wanderer today.

http://www.lannyland.com/wanderer/wanderer.shtml




My collection of the complete works of Jin Yong and Gu Long

Saturday, January 06, 2018

Heading to CES next week

Hey guys, for any of you that still reads my blog, I am heading to CES next week. If you happen to go there too and might want to chat, let me know.

Tuesday, March 07, 2017

I am in Vienna

I am in Vienna attending the Human-Robot Interaction conference. Just wondering if any of my readers are from Vienna or are in Vienna right now?

Tuesday, January 31, 2017

New year new beginning and new resolutions

Man, I can't believe it has been almost four years since I last posted any blogs. Time really flies!

First let me quickly summarize what I have been doing for the last three years and 8 months:
  • The first year or so was eventful and also a year of harvest. During this year: 
    • I turned 40.
    • I also had two surgeries (never had surgeries before, correlation or causation?).
    • I received two Black Belts, one in Taekwondo, and one in Hapkido.
    • I successfully defended my thesis and officially became Permanently Head Damaged! It is worth mentioning that I actually completed and got my dissertation approved on New Years Eve inside a hotel right next to Disneyland. Then as a celebration, I took my kids to Disneyland that night and enjoyed the new year count down party and watched the new year fireworks show.
    • I found a job I love after many rounds of traveling and interviews.
    • I bought a bigger house and moved in.
  • Then the next three years or so, I focused on building two "intelligent" entities:
    • Sky, the intelligent smart home assistant for my work, and
    • Philip, my dumb personal home butler. Philip is really just my house, and also has a second name Jane. The name Philip came from a great Chinese Sci-Fi/Wuxia novel by Maoni, which I am also translating from Chinese into English. The name Jane came from Orson Scott Card's Ender's Game Series.
And because I was so busy with life and the above, I didn't really
  • Translate, or 
  • Blog, or
  • Sleep much.
But since now that Sky and Philip are both in relatively better shapes, I am hoping to be able to get back to the two things I enjoy very much: translate and blog. As it is the Chinese New Year right now, I figured that I'll make a list of my new year resolutions:
  • I will try to sleep more and have better sleep quality. This is my top priority.
  • I'd like to get back into routine translating. After all, it is another one of my life goal: to win (kind of) the Nebula Award with my translation.
  • I'd like to blog more. Blog about technology, AI, machine learning, robots, etc. In the past I tried to write too much and keep the bar high for each blog. This time I am going to just go with the flow. Hopefully a short summary of my thoughts on things I read can still be good reading resources for others and inspire them to be creative. If you haven't noticed, Lannyland is the land of imagination and creativity.
  • I'd like to read more on latest advancements on AI and machine learning. Hopefully this also results in more blogging.
  • I'd like to also get back into routine exercising. I am a black belt! I should stay a black belt!
  • I'd like to also find some time to play the piano once a while. 
So Happy Chinese New Year to your all, wish you all a very productive new year, and wish myself good luck adhering to my new year resolutions!!






It's never too late to follow your passion and love.



Wednesday, May 22, 2013

10 Famous Thought Experiments That Just Boggle Your Mind Part 7

Read Part 6: Galileo's Gravity Experiment

4. Monkeys and Typewriters

You probably have heard about the thing about monkeys and typewriters, it is called the “infinite monkey theorem,” also known as the “monkeys and typewriters” experiment. the theorem states that "a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type a given text, such as the complete works of William Shakespeare."

Sounds absurd? Counter-intuitive? That's for sure. But this is all about probability and infinity. The key idea is that even though the probability of such a thing happening is very, very tiny, the probability still exists.

In 2003, science students at a zoo in the U.K. “tested” the infinite monkey theorem when they put a computer and a keyboard in a primate enclosure. Unfortunately, the monkeys never got around to composing any sonnets. According to researchers, all they managed to produce was five pages consisting almost entirely of the letter “s.” Then the lead male began bashing the keyboard with a stone followed by other monkeys urinating and defecating on it.



The monkeys were supposed to be "random generators". And there's the possibility that randomly generated things might turn out to be good things. In Artificial Intelligence and Machine Learning research, genetic algorithms and evolution algorithms are important tools/methods to try to find good solutions in vast state spaces where an exhaustive search is not possible. Such algorithms do need a little bit of "luck" and some extended time to compute, although they are not completely random, but use the help of fit functions to try to go toward the right direction of the solution. They also follow the greedy approach where any step that moves toward the direction of the goal is a good step (this is, however, not necessarily true for the optimal solution). So in a sense, we are systematically generating lots of digital "monkeys" to try to find that piece of wonderful work of Shakespeare. The idea behind this is that maybe given the limited time, we won't be able to achieve Shakespeare, but even if we can get something comparable to a 3rd-Grade level composition, it's a great success, because the creation of such work had no human involvement, it all came from AI.

Interestingly enough, some music writers and composers are prone to the idea of using computer software applications to randomly generate small pieces of music and help these random creations might give them ideas or inspirations of creating their own quality work. Of course the software-generated music were first filtered using AI to get rid of most of the obviously meaningless or bad sequences.


It is worth mentioning that one of the projects I've always want to complete is a Rap Lyric Generator. The idea is that given a music sequence (e.g., Twinkle Little Star music) and a topic (e.g., Robots are awesome), the program would automatically find words, sentences on the Internet that matches the given topic and also rhyme with each other, and then automatically generate lyrics and sing the lyrics using Rap style autonomously. Can you see that this also uses the idea of "digital monkeys" and "invisible typewriters"? However, just like many of my other great ideas, someone will probably beat me to it before I ever find time to work on it.


Read Part 8: The Chinese Room


Video of the Day:

Can monkeys make good coffee?


BTW: The easiest way to remember my blog address is http://lanny.lannyland.com