Art

Worst Captcha

Monday, March 17th, 2008 -- By ET

Captcha has been around for a while.

 

It is used to make sure that the reader is indeed a human. Although there are some algorithms to crack captcha, none of them is working well.

 

Here are some examples:

 

ob-ab313_captch_20060524170113.gif

 

The worst one I saw (or should I say the “best one”?) is the following:

 

capcha.jpg

 

If you can get it right, you are not only human, but also a rare human. :-)

Piano Diary (5) Comptine D’un Autre Eté

Wednesday, March 5th, 2008 -- By ET

I started to play the above piano piece. It is called “Comptine d’un autre été L’après midi” by Yann Tiersen.

Basically, my biggest problem is that I don’t have time to practice. So I took a lot of short cuts. For example, for this piece, it does not require a lot of changes on the left hand. I only have from 10 to 30 minutes each day to play with the piano. Usually at noon time when I go back from work. I’d play for a while before lunch. After lunch, Ashley would be sleeping. In the afternoon, maybe I can get less than 10 minutes to play before dinner. Then it will be Alantha’s turn to play.

Note I used “play with piano” to describe my role. I just can not call this “practicing”. As soon as I can play with both hands, I started to try some difficult pieces, this turbe boosted my progress. It would take months of hard practicing if not years for others to even dare to try pieces like this. But since I do not want to be a piano master, I just want to have some fun. This approach works perfectly.

Recent Photos from Gu Lang Yu

Wednesday, December 12th, 2007 -- By ET

IMG_5212

IMG_5238

IMG_5300

IMG_5404

IMG_5417

IMG_5527

IMG_5557

IMG_5590

IMG_5556.jpg

IMG_5261.jpg

IMG_5304.jpg

IMG_5433.jpg

Read Your Mind

Tuesday, November 20th, 2007 -- By ET

CrystalballThis is interesting. The old man can read your mind. Just click on the picture and follow the instructions.

Basically, it will ask you to look at one number and sum up the two digits, and subtract the sum from the number. If you have 31 in mind, the sum is 4, so the final number is 27. Now just click on the ball, it will show the symbol represented by number 27.

This only works when you really think hard, the man can either capture your brainwave or track the direction of your eye sight to figure out the number in your mind.

If you can figure out what is happening, leave a comment. :-)

Updated Photo Album

Wednesday, October 31st, 2007 -- By ET

Sick in bed, so had some time to organize photos.

Basically, the album is organized first by 4 categories: Us, XX, WW, Scenes. Then in each category, all photos are grouped by time.

Clicking the photos below will take you to the corresponding albums:

IMG_1590IMG_3347

ÝæÝæ-1

IMG_4893IMG_1873

IMG_1247IMG_3085

Spinning Dancer

Thursday, September 27th, 2007 -- By ET

If you  see the dancer to be moving clock-wise, then you are a logical person.  If count-clock-wise, you are an artistic person. Trust me, I see it spinning both ways.   spinning.gif

Piano Diary (4) Practicing

Saturday, September 22nd, 2007 -- By ET

Due to my busy schedule in the summer. I did not get enough chances to practice.

But I managed to learn to play a few simple songs (oh, far beyond “twinkle twinkle little star”, “silent night” and “money isn’t everything”, these three appear in almost all introductory books, I could play them on the second day when I touched the piano).

I tried to practice with Czerny’s 599. I started from #11, reached the #20 in two days. They are quite easy if you use your knowledge in chords to play the left hand (my guitar experience got me some millage here).

Then I switched to play some songs I know, by adding simple left-hand rhythms. They sound amazingly nice! For example, “Everything I do, I do it for you” involves C, G, Dm, Fm. In the simplest case, pressing the 3 keys together once with the left hand in every measure gives nice sound, of course, right hand needs to play the melody, which is not hard for this song.

The next step is to practice the separation of the left and right hand. This is quite difficult for adults, because we are not trained (no other tasks need us) to use the two hands differently, especially when the keys are not hit in the same rhythm. There are two ways to deal with this: (1) play very slowly, but make it right (2) play both hands till you don’t have to think about the keys, then put them together. I found (1) is quite useful to me. (2) can be combined with (1).

Once I can play one song without any problem (usually in C), I experiment to play it in D and G. This way, I learn how to introduce the black keys, and be familiar with the sharps and flats. I’ll wait till I can play better in C to move on to add more sharps and flats.

I’ll try to put up some videos, but I simply don’t have to process a video now. To many things are going on, and there are at least 5 things reaching the deadline on Oct 3. So I’ll have to wait a little bit.

Piano Diary (3) Theory

Saturday, September 22nd, 2007 -- By ET

During summer, I was traveling extensively.  From HK to Chicago, San Diego, LA, to Singapore, to Beijing, to Shanghai, to Boston, Minneapolis.  There wasn’t time to practice.

I used the time to read some music theory.  Basically, I think the following points need to be understood

  1. chords, how they are formed
  2. how chord inversion works
  3. key signatures, scales
  4. music notations, especially rhythm

I used to play guitar, so chords are not difficult to me, I found the chords in piano is much easier than in guitar. :-)

Chord inversion helps to reduce the hand movement, it can be very useful when you have to change the chord frequently.

An understanding of key signatures is useful, it is not that urgent to practice everyone of them, when there is a need, I can quickly start

There are some software packages to help people with the rhythm, I tried EarMaster, the exercise asks you to hit the space key on your computer keyboard to produce rhythms shown in the software.  It is useful, especially when you want to try a new song that you never heard.

To learn key signatures, a map called “the Circle of Fifth” is extremely useful:

circleoffifths.png

So starting from C, moving clockwise, each new key is the 5th of the old key, each adds a new sharp (#).  So when we reach F#, we have 6 sharps.  This happens to be the same as Gb, which has 6 flats.

The small a below C means that a-minor uses the same key signature as C-major.

This would have been so difficult for kids, but for adults, this is not that hard to understand.

How I Saved my iPod from Drowning

Saturday, September 22nd, 2007 -- By ET

ipodblack.jpeg Jade has been very absent-minded recently. I guess it has something to do with her working too much with Excel and PowerPoint till 1am sometimes.

Last week, I scheduled a lunch meeting with Sean, and she insisted to join. I was a few minutes late, when I arrived, she was jumping with my new ipod in one hand, and the the environmentally friends Harvard bag in her other hand. She did not check the lid before she put her drinking bottle into the bag, and the water leaked in the bag. The iPod in her hand is totally soaked. I can see water flowing in the screen, which still shows the “Now Playing” song.

She told me the iPod was off, and I do see the lock was on, so it must be the water that triggered up the iPod. I have heard many dreadful stories of getting iPod wet (or anything electronic device, for that matter), just search for “ipod, water” in google to see how common this issue is.

That was a less-than-one-month new iPod, so I did not want to buy another one. Before I want to take it to Apple service to try my luck (in Hong Kong, it would be a big hassle), I thought about ways to save this one.

The first thing I did was to put it facing down, so the screen and the buttons face the table cloth. This way, the water can flow out rather than diffuse within that metal back cover.

Then after lunch, I asked Jade to take it back and put it together with a dehumidifier in a closet. Jade did not do it, instead, she put it near a fan, and after a while, Nathalie turned off the fan. So when I came back home, the iPod was lying on the table.

dehumidifier.jpg I thought about cracking it open and drain the water, but I did not, this not only would devoid my warranty, but also might help the water to reach some sensitive parts in iPod. So I put it into the room with the dehumidifier.

It did not seem to work very well, as the dehumidifier only dehumidifies the atmosphere, even if the humidity is 0, the water would still be trapped inside. So I put the iPod near the vent of the dehumidifier. It blows out warm air. I switched the mode from “Dehumidify” to “Drying”, which was designed to dry cloths. It seems to be working, the next day, there was a box of water extracted by the dehumidifier, and the ipod feels warm, which can be helpful to evaporate the water.

After 2 days, I thought it was safe to turn on the iPod, so I did. It came up and showed a message saying “the iPod has little power left in the battery”. So I plugged it into my computer. The battery appeared to be charged.

But the problem came: after a few hours, the battery was still very low. And iTunes did not recognize the iPod.

appleadapter.jpeg So I unplugged the iPod, and put it into sleep. When I did so, I touched the power adapter of my laptop. It was very hot!

I guess the issue was still water, so I left the iPod on the hot adapter. After one day, I touched the iPod, it was very hot too. (The back cover is a piece of metal, no wonder!)

Then I plugged in the iPod again. This time, after charging the battery for a while, iTunes started to Syncronize. After I-don’t-remember-how-many hours, the battery indicates only got half charged. I did not want to charge too much, so I unplugged it, and started to listen to it. I think this has to do with the battery, and I want to manually calibrate it. So I left the iPod on till the battery is drained out of power.

Then I plugged in the iPod, and this time, it got fully charged.

I thus declare that I saved my iPod from drawning.

Something we can learn in the process:

  1. Do not crack open the ipod when it’s wet
  2. Just keep it warm for water to evaporate, do not use a hair blower (this one can destroy the LCD)
  3. Do not shake the iPod forcefully
  4. Be patient, be very patient, avoid to turn it on before you are 100% sure it is totally dry inside

Piano Diary (2) Programming for My iPod

Wednesday, August 29th, 2007 -- By ET

How to effectively use iPod to learn piano/guitar is an interesting question.

In iPod/iTunes, I can generally generate playlists and give star ratings to songs I like.  And those with high star ratings should be the ones I focus on learning and practicing.  The question is how can I systematically manage my mp3 library to achieve this goal.

First of all, it is nice to find lyrics and chords for the songs.  And there are many websites offering them for free.  Usually the songs will be listed and there are multiple pages of them.  I wrote a program to grab (1) song name (2) artist name (3) lyrics (4) chords, and store them in a mysql database.  The perl modules I used are LWP, DBD::MySQL (DBI).

Then I can generate a list and search in my mp3 tags for these songs, using MP3::Taghttp://www.ibm.com/developerworks/linux/library/l-cpmp31.html provides an excellent review of the functions to process mp3 files with perl.

Sometimes, the chord file is stored in .rar format.  I can use Archive::Rar to process these files.  First download the file with LWP::Simple’s mirror (’source url’,'newfilename’), then open and extract the content with this rar module.

What if I don’t have the song?  This is a good question, as if a song has a guitar chord, it usually means it is a good song, and I should get it. After matching with my mp3 library, I generate a list of songs to look for (now I have the title and the artist information from the chord library).  I simply search CDDB database to find out the album, and put it on to my wishlist on Amazon, all automatically processed (thanks to the API offered by Amazon).
Since I have thousands of songs, the process described here saves me huge amount of time.  It’s a lot fun to program these too.  The life is so much easier with so many of  ready-to-use perl modules.


BlogTimer
You are visitor number several since September 1, 2001

Copyright Xiaoquan (Michael) Zhang, 2004-2007. All rights reserved.
All trademarks property of their owners.