Skip to main content

Ivan Teoh

Something personal yet public

Recently I am addicted to JavaScript. After seeing cool stuff in Chrome Experiments, I begin to learn JQuery by John Resig. His processing visualization language JavaScript porting, Processing.js, recently got a new web site. I believe it is a very cool library. It is an open programming language for people who want to program images, animation, and interactions for the web without using Flash or Java applets. I decided to take a look and change my web site header to animated canvas.

References

Recently I start using Gravatar (an abbreviation for globally recognized avatar). It is a free service for providing globally-unique avatars which was created by Tom Werner for blogs and web forums. I want to embedded it in my WordPress 2.7 template. So I try to insert the additional code as below in comments.php and it works. I set my icon size to 50x50. Others might like 40x40. It's depend on personal preference.

49-comments.php (Source)

<?php if(function_exists('get_avatar')) { echo get_avatar($comment, '50'); } ?>

Original comments.php

49-comments-before.php (Source)

<li <?php echo $oddcomment; ?>id="comment-<?php comment_ID() ?>">
<cite><?php comment_author_link() ?></cite> Says:
<?php if ($comment->comment_approved == '0') : ?>
<em>Your comment is awaiting moderation.</em>
<?php endif; ?>
<br />

New comments.php

49-comments-after.php (Source)

<li <?php echo $oddcomment; ?>id="comment-<?php comment_ID() ?>">
<?php if(function_exists('get_avatar')) { echo get_avatar($comment, '50'); } ?>
<cite><?php comment_author_link() ?></cite> Says:
<?php if ($comment->comment_approved == '0') : ?>
<em>Your comment is awaiting moderation.</em>
<?php endif; ?>
<br />

Yesterday April 22 is Earth Day. A day designed to inspire awareness and appreciation for the Earth's environment. Here I would like to share an application that I have been using to care our mother earth by monitoring energy efficiency in my computers. It is Edison by Verdiem. It is free but only available for Windows XP or Windows Vista platform. It might support more platform in the future. Currently my estimated annual savings is $71.62 with 693.31 kWh energy and 9.44.98 pounds CO2. I hope you will like it. Let's be green.

I found it very interesting and useful especially in this global economic downturn. One of my co worker just lost his job because of the software that he is working now does not bring revenue to the company even though he is one of the senior software developer in the company. Are you software developer? If yes, I would like to share this presentation to you.

Is this blog dead? What’s been happening to Ivan? Not many updates for the past two to three months. Actually I have been busy and would like to share some of the interesting events in my life over the past three months.

I helped one of my friends with the development of a simple inventory and sale application. It is an open source. I am hosting the code in Google code. I will create a new page here containing all my hobbyist applications.

I know my communication skills are very poor and have therefore joined Toastmasters. Through this organisation, I hope I can improve my public speaking skills.

I bought a PS3 games console along with LittleBigPlanet (Asia version), which was first launched in Malaysia. I also bought an extra controller. A special promotion allowed me to get two selected games free. I chose "Resistance: Fall of Man" and "Soulcalibur IV".

In an effort to improve my English skills I have registered for the IELTS exam. I want to know my English level. 13 Dec was the exam day. After the exam, I felt I did not do well in the writing and speaking sections. I don’t have the confidence to score band 7. The result will be out on 26 Dec. Following the exam I am aware of my weakness in writing skills. I will post more in this blog and strive to improve my English writing skills.

Now my life is back to its usual routine! I will post any updates.

This morning one of my colleagues asked me about creating own personal web site and web hosting stuff. For web hosting, of course, I will recommend DreamHost. I believe they have a good service. I also want to encourage all my colleagues and friends to explore more on Internet and play around with it. In order to encourage them more, I come out with DreamHost promotion code "MAXWAIVED" to get maximum waived if the web site is hosted in DreamHost.

With this code, you will get one time deal $51 waived for monthly pre-pay or $97 waived for yearly pre-pay on top of whatever price they given for a new customer.

May be some of you guys just want to take the half of the promotion and give me another half as reward. Then you guys can pick "50WAIVED" promotion code. You will get one time deal $50 waived on top of whatever price they given for a new customer. Plus, did I mention DreamHost is a green hosting.