Archive for August, 2006

Fun facts about my visitors from Google Analytics

Aug 20, 2006 in Tips, Mumblings

Here are some information I got from my Google Analytics. What the hell is Google Analytics? Basically it gives you statistic and information about visitors to your website… but you have to include a JavaScript for it to work.

Executive Overview
This screenshot above shows where my visitors come from. There are lots of information to get from Google Analytics, I will write out some statistic I got about my visitors below for the past 7 days….

  • 54% uses Firefox. 38% uses Internet Explorer. You should switch too!
  • 87% uses Windows, 7% uses Linux while Mac stands at 4%
  • 49% have a screen resolution of 1024×768. Resolution 1280×1024 at 20%. I guess it’s time for you to upgrade? :)
  • 85% have beautiful 32-bit color and surprisingly there’s a 6% using ancient 16-bit color.
  • 74% are using Cable/DSL
  • This week most of the visitors were looking for the wonderful JDrama: Taiyou no Uta
  • Most people uses Google to search for information.

Wanna host a blog or website with Google Analytics setup? Service available! Drop me a line. =)

Taiyou no uta guitar chord

Aug 19, 2006 in Mumblings, JDorama, taiyou no uta

It has been a couple of years I think… since I last touch the guitar. Recently, I took out my RM150 classical guitar with steel string from my dusty guitar bag and just play a few chords… geezz.. I suck. hahaha and most of the string are rusted. I think it’s about time I change them.


What made me took the guitar out? Well, watching taiyou no uta made me miss her a little. In episode 4, at around 30 minutes… Kaoru Amane just finish writing her new song.. “Taiyou no uta”… and played it to Kouji Fujishiro…. before she could play the chorus, she lost some control of her fingers. She was singing and playing the guitar… clean….so I manage to work out some of the chords in the verse … i think there is a bridge as well.. . :p


*25 Aug 2006* Update from Episode 6
Taiyou no uta
=================
G C G C
G D Em C
Em D Em C
Am D C B7

Chorus
C D G Em C B Em E
C D G Em Am B7
C D G Em C B Em E
C D G Em Am B

Update:Sawajiri Erika will be making her debut as Kaoru Amane. I also found a music video of this song… Taiyou no uta at Yahoo! music Japan. Unfortunately it only supports Internet Explorer.

*Update 1st November 2006*
A more complete version from bendert9000 :

Taiyou no Uta - Moon Child

intro
|G C |G C |G C |

verse
|G D |Em C |G D |Em C |
|Am D |Am B7 |

chorus
|C D G Em |C B Em E |
|C D G Em |Am B7 |
|C D G Em |C D G |

verse2
|G D |Em C |G D |Em C |
|Am D |Am B7 |

chorus2
|C D G Em |C B Em E |
|C D G Em |Am B7 |
|C D G Em |C D G |

bridge
|Am C |Em G |
|Am Em |C D B|

chorus3
|C D G Em |C B Em E |
|C D G Em |Am B7 |

|C D G Em |C B Em E |
|C D G Em |Am B7 |

outro
|C D G Em |C D G |
|C D G Em |C D G |

My belated 24th birthday party post

Aug 14, 2006 in Friends, Funny, Fun, Party

This is a long due post as I have just recently got hold of the photos. My gf organized a surprised birthday party for me. She really caught me 200%. I thought I was attending someone else party with lotsa chicks…. only to realise it was MY party. Since it was a surprise party orgranized by my gf, there are some close friends who didn’t know about it. Therefore, I would like to apologies to them!! It’s not because I forgotten about you guys ok? Of course, it wasn’t her fault as well. ^^


We had a BBQ party beside my half football field swimming pool and 10,000 square feet garden….. (ermm… actually it’s at my apartment. hehehehe). After the BBQ some people left and those who stayed had a drinking session at my place. Below is a Flickr Badge of the happenings that nite…. for those who missed it. :D

I am having some problems displaying JavaScript in a post atm, so u will have to click on the link to see the flickr Badge…

www.flickr.com

This is a Flickr badge showing photos in a set called Blake’s Birthday Party 2006. Make your own badge here.

CakePHP: Running bake.php on Windows command line

Aug 12, 2006 in PHP, CakePHP

I have been wondering why my bake.php is not working like it is suppose to be. After some debugging with the help of exit() and die(), I found out that PHP (v4.4.2) is not reading the arguments on the command line. After a quick google-ing, I found out that there’s a php.exe for CLI. It is different then the one on the PHP root directory. You can find out if the php.exe you are running from the command line is a PHP for CGI or PHP for CLI by: >php -v.

To run bake.php correctly on windows, you have to use PHP for CLI not PHP for CGI. On my system, PHP for CLI is residing in the PHP_ROOT\cli directory. So, what I did was renaming the php.exe in the CLI subdirectory to php-cli.exe, then add PHP_ROOT\cli into my PATH. Now, I can run bake.php with:

**>php-cli bake.php -h** this should display bake help file.

I hope the above information is helpful.

Free templates for CakePHP

Aug 10, 2006 in PHP, CakePHP

A blogger residing in Japan… maybe a Japanese, I dunno… converted Contented Designs templates into CakePHP Templates. Feel free to use those “open-source” design!

More here..

PHP can scale

Aug 10, 2006 in Software Engineering, PHP

I will keep this post short. I found a presentation about Flickr’s architecture from John Lim’s blog while google-ing for “smarty with yahoo ui”. John Lim btw, is the developer for ADOdb, a PHP database abstraction library…. and it is one of the BEST one out there IMHO. And I am proud that he is a Malaysian. =D



After looking at the 41 slides on Flickr’s architecture… it has made me rethink the way I design web applications. I used to normalize my database design all the way… (thx to uni lectures) but doing that would sacrifice performance as “JOIN” are expensive operations. I might wanna start exploring database session instead of using web server’s session. Replication sounds great as well. 1 master database server for insert/update/delete and a farm of replicated database servers for ’select’, since almost 50% of database transactions are select statements. Anyway, I am just repeating what is written in the presentation, so download and read about it yourself. ^_^



*p.s. but try not to over-engineer… a habit which I do often.

Ubuntu on my Dell 700m laptop

Aug 08, 2006 in Linux, Ubuntu

I just installed Ubuntu 6.06 LTS into my Dell 700m laptop and I am blogging with it now =). So did it went smooth? Well, it was way better than RedHat… in terms of usability.

Ubuntu on Dell 700m

But I did meet up with some problems. One of the main problem is WIFI using WPA. Somehow, the NetworkManager did not have support for anything else but WEP. I am using WPA Personal at home since WEP encrpytion has already been broken. So how to enable WPA support? You will have to go through some time consuming patches… and the steps looks harder than it is. Just follow the step-by-step guide at: http://ubuntuforums.org/showthread.php?t=125150, and you will get your WIFI running with full WPA support! Depending on your Internet connections, it might take you a full day.


I also have to sacrifice using the super USEFUL RoboForm, a Windows only password manager. This is really sad. Because there is no way I will remember password like this: !@FTgbWr1. If Google for “Roboform Linux”, you might get some alternative solution…. but still nothing beats RoboForm as password manager.


The 3rd thing is my built-in SD-Card reader is not working. Ubuntu DOES support SD-Card reader like this, but somehow it is not working for Dell. There are people who are using Compaq laptops and successfully utilize SD-Card right after installing Ubuntu… no patch required. My digicam uses SD card, so I always transfer photos by using my laptop SD Card reader. Now, I have to live with a external card reader instead.

So, that sums up my problems with Ubuntu *Dapper* on my Dell 700m. Just 3. 1 solvable…. another have to find alternative solution, and the final problem…. that we have to wait for some hacker out there to fix it. So far… I like it. Both Eclipse and Intellij IDEA works without problems on Ubuntu. I just need to retrieve my work from Subversion (running on my desktop) and voila! I can start development immediately.

Now I can safely use my laptop… even without a Virus/Spyware Scanner. =)

61 years ago in Japan

Aug 06, 2006 in Philosophy

Exactly 61 years ago, the world’s first atomic bomb was drop into the city of Hiroshima.

Atomic Bomb Dome

After that, warfare is never the same again.

I visited Hiroshima back in year 2000 during my youth exchange program sponsored by the Lions Club. I saw the Atomic Bomb Dome (picture above), visited the museum which showcase the aftermath of the atomic bomb and sneaked out with some mates at night to see the night life. The photos in the museum are vastly different then the photos those Japanese pimps pass to us during our night out. I very much prefer the photos from the pimps. But let us not forget the horrors nuclear weapons will bring and remind ourselves that war isn’t an option during a conflict.



*”I am become death, the destroyer of worlds.” - J. Robert Oppenheimer (father of atomic bomb)*

MindValley in Malaysia

Aug 06, 2006 in Philosophy, Fun

Ok, it’s 5:33 am but I have to blog this before I hit the bed.

I was surfing like usual and this caught my attention…. not for a couple of minutes, but for the pass 3 hours I think.







This company looks fun and have an International team. I never thought I would write a cover letter ever again… but I got this feeling that… I will learn something very useful at MindValley. How often can you find an American IT start-up right here in Malaysia? not often… down right rare. I think the first question I would ask them is… why Malaysia? why not…. India? or China? I think Malaysian would appreciate the answer.

Patent… evil or good?

Aug 04, 2006 in Philosophy

I was thinking to develop a social network site for quite some time now and for the pass few weeks I was debugging… fixing… a social network site for a client. I didnt develop it ground up, just took over it from a loser who didn’t finish what he started. While doing my research on social networking, I came across news about Friendster’s Social Network patent! It looks like just about anything can be patent….

IMHO, patent is… EVIL. It really limits innovation. The patent was granted by the U.S patent office, can Friendster sue me if I am residing in Malaysia? =) Are there any way to be innovative without restrictions? Patent on software especially, should be abolished. hmm… I am writing funny… maybe it’s something to do with the time being 5am….