<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3744504317625119163</id><updated>2011-11-28T09:12:23.295+08:00</updated><category term='malaysia'/><category term='Hari Raya'/><category term='ruby on rails'/><category term='that&apos;s comedy'/><category term='css'/><category term='mysql'/><category term='thinking_sphinx'/><category term='cms'/><category term='os'/><category term='tips'/><category term='html'/><category term='web service'/><category term='bersih'/><category term='sphinx'/><category term='tag'/><category term='ubuntu'/><category term='informix'/><category term='politic'/><category term='general'/><category term='sql injection'/><category term='excalibur'/><category term='database'/><category term='life'/><title type='text'>Clarence's Blog</title><subtitle type='html'>A man with a few words</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default?start-index=101&amp;max-results=100'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>110</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-542818649758075932</id><published>2011-11-09T22:09:00.002+08:00</published><updated>2011-11-09T22:46:00.090+08:00</updated><title type='text'>It's November......</title><content type='html'>What would you do if you really love that someone ? but at the same time you are struggling trying to convince yourself that everything gonna be just fine ?..I understand that love is not about sleeping on a bed of roses all the time. Conflict happens..small misunderstanding leads to a big fight ..worst thing is when the relationship has to be end. Love can never be taught. You might learn the lesson, never the feelings. Love fails me many times. I don't understand why is it so difficult for me to give all my heart to someone special when I have so much love to give....Am i falling in love with a wrong person ? Am I not perfect enough ? I don't know exactly. Yesterday is just to hard for me to get through tomorrow....but I know..if i keep on believing..follow my instinct..it's never too late. Trying to understand, care about every little things..to love..to be loved..and be someone who can lead a way..always be there no matter good or bad times...you know..words are most of time easy to be said than done..a soft knock on the head, who am I to talk all about this?. I don't even know how to appreciate people. Who doesn't like to be appreciated for who you are, what you did and what you really mean to them ?..If I can appreciate someone, why is it so difficult for me to feel some appreciation in return ?.. I just need someone who can understand me, can change me..can love me..for who I am. Am I asking too much ??.....there were times when you feel down..but things happen for a reason..it just doesn't simply happen without any reason. It is normal not to talk to each other when your mood is down..but if the silence is being translated into a break up...i mean i can't stop people from thinking negatively..it's their rights to make a decision....I just don't know why make permanent decision on a temporary emotion...I hate to think all this..but i never blame anyone for what had happened. Perhaps it is just me that need a change, live up to people's expectations..trying even if it's hard..Well, yesterday was sweet..the smiles..the happiness..the craziness..the memories..the jokes..that dirty look..the tears...life's full of colors...When someone had written a beautiful melodies in your heart, you will never forget it the rest of your life. It hurts..memories are indeed hurt..but the present is not that bad at all..&lt;br /&gt;&lt;br /&gt;This would be my last post for 2011...See you guys next year!..Merry Christmas :)..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-542818649758075932?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/542818649758075932/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2011/11/its-november.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/542818649758075932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/542818649758075932'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2011/11/its-november.html' title='It&apos;s November......'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-9219358482271326654</id><published>2011-09-15T10:12:00.000+08:00</published><updated>2011-09-15T10:13:20.073+08:00</updated><title type='text'>A day to Remember</title><content type='html'>I'd like to take this oppurtinity to thank the British North Borneo through its Cobbold Commission for made it to be part of Malaysia 5 decades ago..I'm proud to be Malaysian..I may not be fully aware of what Sept 16 all about ..something that i know, it's more than a public holiday..it's a day to remember..and never stop questioning..if we were two steps smarter that time..who knows, perhaps, we are a same level as Singopore or Brunei today..Selamat hari Malaysia in advance !!..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-9219358482271326654?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/9219358482271326654/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2011/09/day-to-remember.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/9219358482271326654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/9219358482271326654'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2011/09/day-to-remember.html' title='A day to Remember'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-3273926647964015002</id><published>2011-08-10T12:41:00.004+08:00</published><updated>2011-08-10T14:03:36.472+08:00</updated><title type='text'>Retrieving email using PHP IMAP</title><content type='html'>Today, I'll show you how to retrieve emails using PHP IMAP. it is quite simple and usefull. For those who are planning to develop a Help Desk kind of system wherby you want each incoming email gets converted into tracebale ticket, stay tuned. However, I teach best by showing you a real working code so that you can play and twist at your own risk. Kidding..&lt;br /&gt;&lt;br /&gt;Here we go. Basically you will need to connect to your email server by using PHP IMAP library. I assumed you are familiar with some basic PHP array and you are good to go..&lt;br /&gt;&lt;br /&gt;Create a file name php_imap.php.&lt;br /&gt;&lt;br /&gt;copy and paste below code to your newly create php_imap.php file. &lt;br /&gt;&lt;code&gt;&lt;br /&gt;$mbox = imap_open("{mail.yourdomain.com:143}INBOX", "clay@domainname.com", "password");&lt;br /&gt;&lt;br /&gt;echo "&lt;p&gt;Mailboxes&lt;/p&gt;\n";&lt;br /&gt;$folders = imap_listmailbox($mbox, "{mail.yourdomian.com:143}", "*");&lt;br /&gt;&lt;br /&gt;if ($folders == false) {&lt;br /&gt;    echo "Call failed&lt;br /&gt;\n";&lt;br /&gt;} else {&lt;br /&gt;    foreach ($folders as $val) {&lt;br /&gt;        echo $val . "&lt;br /&gt;\n";&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;echo "&lt;p&gt;Headers in INBOX&lt;/p&gt;\n";&lt;br /&gt;$headers = imap_headers($mbox);&lt;br /&gt;&lt;br /&gt;if ($headers == false) {&lt;br /&gt;    echo "Call failed&lt;br /&gt;\n";&lt;br /&gt;} else {&lt;br /&gt;    foreach ($headers as $val) {&lt;br /&gt;        echo $val . "&lt;br /&gt;\n";&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;imap_close("{mail.yourdomain.com:143}INBOX", "clay@domainname.com", "password");&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Run your php_imap.php to see the result. &lt;br /&gt;&lt;br /&gt;And you are done. Feel free to ask me if you have any curiosities regarding this. Have a nice day!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-3273926647964015002?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/3273926647964015002/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2011/08/retrieving-email-using-php-imap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/3273926647964015002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/3273926647964015002'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2011/08/retrieving-email-using-php-imap.html' title='Retrieving email using PHP IMAP'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-6157431221783894154</id><published>2011-07-07T10:38:00.000+08:00</published><updated>2011-07-07T10:40:07.120+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='politic'/><category scheme='http://www.blogger.com/atom/ns#' term='bersih'/><category scheme='http://www.blogger.com/atom/ns#' term='malaysia'/><title type='text'>Malaysia Today</title><content type='html'>I don't think the government has been doing bad for the country so far. In fact, we are better compared to other developing countries. But,if the government more transparent, less corruption, the courage to make a change, respect the constitution, no double standard, I think we can improve a lot and Rakyat will be getting what supposed to be their rights. Do you think TV3 news gonna tell people who's the Malaysia 3 richest people ? Do you think police permits will be issued to BERSIH ? Do you think Ahmad Sarbani "sendiri jatuh" dari bangunan SPRM ?...don't speculate. Just treat this as a wake up call !!.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-6157431221783894154?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/6157431221783894154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2011/07/malaysia-today.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6157431221783894154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6157431221783894154'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2011/07/malaysia-today.html' title='Malaysia Today'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-7017413572416906351</id><published>2010-11-13T20:55:00.002+08:00</published><updated>2010-11-13T21:06:11.794+08:00</updated><title type='text'>November again!</title><content type='html'>Woww..My last post was five months ago. Thanks god I'm still alive. So what's up everybody ? I guess life has changed a lot since then. So am I. Whether it's a good transformation or the other way around, it's really a different story. Things happen for a reason, so don't think too much. Be happy instead.  &lt;br /&gt;&lt;br /&gt;Well, I don't know what am I going to write here. On the Programming side or IT related things, actually I have a lot of new cool things I wanted to share but I think not today. Yes, I'm not a real man. Real man walk the talk. Hehe...&lt;br /&gt;&lt;br /&gt;Oh my, don't remind me. I know it's November. Soon we will be celebrating Christmas. I can say it's just around the corner. But i guess my Christmas this year will not be the same as  last year. I think I'll be celebrating it alone or maybe with friends, with family, with someone special ? maybe yes, maybe no...But for sure, it's gonna be a meaningful Christmas celebration for me as I'll take that as a way to conclude everything that happened to me throughout the year of 2010. A lot of things. priceless memories. Nightmare. Friends. Career. Improvement. Love. Happiness and a lot more. &lt;br /&gt;&lt;br /&gt;To all my friends, thanks for being there when I need you the most. I still remember one day, when I was in trouble,  you guys helped me a lot. I really appreciate that. And not forgetting to the person who had teach me a lot of things. I will never forget that for the rest of my life. Thanks and sorry for everything.&lt;br /&gt;&lt;br /&gt;Officially, This will be my last post for this year. My few words, don't worry because of the mistakes you have done in the past. They will always trying to understand and forgive you. It's OK if things can never be reverted back. The most important thing is, we try to learn from mistake by not doing the same mistake again and again. Some people never learn and don't be that kind of person. &lt;br /&gt;&lt;br /&gt;Alright, see you guys next year!!..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-7017413572416906351?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/7017413572416906351/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2010/11/november-again.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/7017413572416906351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/7017413572416906351'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2010/11/november-again.html' title='November again!'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-5841323844259892694</id><published>2010-05-14T16:33:00.002+08:00</published><updated>2010-05-14T16:39:23.925+08:00</updated><title type='text'>What's up ?</title><content type='html'>So what's up?..Month of May already took place. Month of happiness, meaningful especially to all the dusun/kadazan in Sabah. I can feel the heat. Towards the end of this month, I'm sure there will be a lot of celebration here and there. People are busy doing preparation, relatives from far away going back to their hometown and ya..new chapter in life waiting to be created..wonderful isn't it ?&lt;br /&gt;&lt;br /&gt;Well, nothing much difference compared to last year..just that, this month, this year, a few of my friends are getting married. Congratulations to them. My words, welcome to the new chapter in life..always remember that, every second counts. People are changing over time. What sweet today might not be sweet forever..so before saying these two meaningful words 'I do'..make sure you really mean it..again, may all the happiness be with you guys..looking forward to rock the party!!...&lt;br /&gt;&lt;br /&gt;This 2 months remaining, I will be making a big decision which determine my career movement. I've made a decision and i hope i will be happy with it. I mean everyone has to make a decision..you don't want to stay at the same level. Right? ..I personally don't want to be a programmer for the rest of my life..enough with 4 or 5 years. People surrounding inspires me, and i'm going to take the challenge..&lt;br /&gt;&lt;br /&gt;Happy harvest festival!!..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-5841323844259892694?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/5841323844259892694/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2010/05/whats-up.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/5841323844259892694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/5841323844259892694'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2010/05/whats-up.html' title='What&apos;s up ?'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-1433908017197501904</id><published>2010-03-23T16:14:00.001+08:00</published><updated>2010-03-23T16:16:09.171+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>Just stopped by...</title><content type='html'>Well, since my last post, I haven't seen a drop of rain. Kota Kinabalu, previously used to be green, clean, fresh city but now turned yellow and surrounded by haze, fire burning everywhere. I wonder how long we have to wait before the rain come down and clean the earth.. &lt;br /&gt;&lt;br /&gt;Looking at my desk calender, another 8 days to go before month's end. Means we had just reached the first 4 months (1 out of 3) in this prosperous 2010. What does it mean to me ? it means nothing but something. Apart from getting older, enjoying life like there is no end of the day, this blog is getting obsolete. I have to realize that this is part of the human life cycle...ok enough said..I'll be back when I have something cool to share..good day people.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-1433908017197501904?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/1433908017197501904/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2010/03/just-stopped-by.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/1433908017197501904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/1433908017197501904'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2010/03/just-stopped-by.html' title='Just stopped by...'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-323399740179676050</id><published>2010-03-15T11:57:00.002+08:00</published><updated>2010-03-15T12:08:33.851+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>Well, nothing serious</title><content type='html'>Ohh..look at me...it's been 2 months since my last post. No update for few months, I guess that's terrible. Well, as we progress, as time goes, you'll learn a lot of things especially in everyday life. I used to write almost everything about Computer programming stuff here in my blog. No other purpose, but it's kind of sharing. When I learn new stuff, it's my pleasure to share it with others. &lt;br /&gt;&lt;br /&gt;Ohrait, enough said. Today post, i don't want to talk about it..(i don't even understand what I'm talking)..haha..lets talk about real life. Well, too many things happened in the past few months. Firstly, yeah everybody talks about this..complaining like there is no tomorrow..shit there shitt here..like we all don't know..the weather in town at the moment might reached 35 Celsius. Can you imagine how hot the weather is ? even SK II no more can protect your skin from sun burn..(kidding)..anyway, instead of keep complaining, lets thanks god for what He gave to us. In some countries, like Saudi Arabia, the temperature is about 50 degree Celsius..you have no idea how good our life here in Malaysia...(bila la hujan ni ahh..hehe)..&lt;br /&gt;&lt;br /&gt;Tips of the day:&lt;br /&gt;&lt;br /&gt;1.Let say you want to look for a definition of a word that you don't know it's meaning. Like for example; do you know the meaning of 'tontolou' ? If you really want to know, go to Google home page and type as follow;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;define tontolou&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;2. If you want to know the weather here in Kota Kinabalu, type as follow;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;weather kota kinabalu&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;3. If you want to know the current time, type as follow;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;time kota kinabalu&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;4. This one is cool, if you forgot to bring your calculator, don't worry. Go to Google hope page, and start calculating!! 500 * 12 = ?. In the search box, type as follow;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;500 * 12&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Cool!!!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;There are so much cool things you can do with Google. Love it. Live with it..hehe&lt;br /&gt;&lt;br /&gt;again, what's the meaning of tontolou again ?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-323399740179676050?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/323399740179676050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2010/03/well-nothing-serious.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/323399740179676050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/323399740179676050'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2010/03/well-nothing-serious.html' title='Well, nothing serious'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-3051705392336922268</id><published>2010-01-13T09:27:00.001+08:00</published><updated>2010-01-13T09:28:55.105+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><title type='text'>MYSQL:Select/display all years between two years</title><content type='html'>How one can select all of the years between two years?&lt;br /&gt;&lt;br /&gt;For example, given the start year 2007 and the end year 2010, I want to return:&lt;br /&gt;&lt;br /&gt;2007&lt;br /&gt;2008&lt;br /&gt;2009&lt;br /&gt;2010&lt;br /&gt;&lt;br /&gt;Yeah..in mysql, there are 2 steps of doing this;&lt;br /&gt;&lt;br /&gt;step 1: create a numbers table &lt;br /&gt;&lt;code&gt;&lt;br /&gt;CREATE TABLE numbers (n INTEGER NOT NULL PRIMARY KEY);&lt;br /&gt;INSERT INTO numbers (n) VALUES &lt;br /&gt; (0),(1),(2),(3),(4),(5),(6),(7),(8),(9),...;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;make sure there are as many numbers as you have for the largest gap of years&lt;br /&gt;&lt;br /&gt;step 2: your query&lt;br /&gt;&lt;code&gt;&lt;br /&gt;SELECT 2007 + n AS year&lt;br /&gt;    FROM numbers&lt;br /&gt; WHERE 2007 + n &lt;= 2010&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;..and you're done!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-3051705392336922268?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/3051705392336922268/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2010/01/mysqlselectdisplay-all-years-between.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/3051705392336922268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/3051705392336922268'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2010/01/mysqlselectdisplay-all-years-between.html' title='MYSQL:Select/display all years between two years'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-7222766735481884169</id><published>2009-12-03T14:51:00.003+08:00</published><updated>2009-12-03T14:56:02.076+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><title type='text'>Mysql Temporary table</title><content type='html'>Ok, It's been quite a while I have been idle from writing anything here. A lot of things went on and i almost forgot to drink my beer. Haha. Ok, So today we are going to get our hands dirty with one of the simple and significant mysql functions which is how do we create TEMPORARY table. In some situations, temporary table is the only solution to a problem. He were go;&lt;br /&gt;&lt;br /&gt;1. Creating a database;&lt;br /&gt;&lt;code&gt;mysql&gt;create database myproj;&lt;br /&gt;mysql&gt;use myproj;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;2. Creating a temporary table:&lt;br /&gt;&lt;code&gt;mysql&gt;CREATE TEMPORARY TABLE student(id int not null auto_increment, name varchar(100),unique (id));&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Ok done. Pretty simple huh ?? How about insert data into the newly created temporary table ? follow me..&lt;br /&gt;&lt;br /&gt;3. Insert data &lt;br /&gt;&lt;code&gt;mysql&gt;INSERT INTO student (name) values ('clarence');&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;and you are good to go. Just output the table;&lt;br /&gt;&lt;code&gt;mysql&gt;select * from student;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Whoa......mantapsiall!! have a nice day !!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-7222766735481884169?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/7222766735481884169/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/12/mysql-temporary-table.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/7222766735481884169'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/7222766735481884169'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/12/mysql-temporary-table.html' title='Mysql Temporary table'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-6202839151746393685</id><published>2009-11-02T10:38:00.002+08:00</published><updated>2009-11-02T10:56:12.818+08:00</updated><title type='text'>November Rain</title><content type='html'>Came into office today and my desk Calendar reminds me that it's now month of November. Another 2 months to go before the end of 2009. Now, the question is, Are we ready for 2010's resolution ?..people out there keeps talking about all those fancy new technologies, move out the old way of doing things and now thinking semantic-ly. Well, what I'm trying to say is, life is getting better and perfect as time goes by..we are no longer talking about performance, but productivity. We all knew that good performance leads to better productivity..but in real life, that convention is no longer applicable but still doable. No big deal. Now, it's useless when you have all those expertise under your belt but didn't fully utilize it. People dont ask question about what are you good at ? they'll ask you on what have you done..as 2010 is taking place soon,  lets get started!!&lt;br /&gt;&lt;br /&gt;It's time to be more opportunist, stay competitive and be more productive !! ..&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Joke for today&lt;br /&gt;Don't buy a car made on Monday especially cars manufactured in the US. Sebab kebanyakan engineer masih 'kogutan' lagi disebabkan enjoy all night long the night before. So the chances of doing mistakes are higher. Kerana mereka bekerja tidak 100 % waras.. hahaha..it's true ! In US, they knew about this..oh wait, so did I..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-6202839151746393685?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/6202839151746393685/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/11/november-rain.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6202839151746393685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6202839151746393685'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/11/november-rain.html' title='November Rain'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-430367411328861833</id><published>2009-10-30T10:44:00.003+08:00</published><updated>2009-10-30T11:03:43.493+08:00</updated><title type='text'>Worth some thought...</title><content type='html'>Recently, I have heard a lot of people involved in a car crash. More seriously, there are a few cases which causes injuries and death. Some people may still remember their past, losing their loved ones, because of involved in a car accident. This is something that we can't predict whenever we're on the road. Everything can happen in just a matter of seconds. Sometimes, we really drive our car carefully, but then still get hit by others. What the heck!! &lt;br /&gt;&lt;br /&gt;Well, especially guys out there, don't ever drink &amp; drive! Because when you're drunk, there is no way you can control your car very well. The worst case, you woke up and realized that you were in ICU, if you're lucky. Else, you'll find yourself in hell without had a chance to say good bye to someone you wish! &lt;br /&gt;&lt;br /&gt;So, let's together be a good driver. Though bad things can happen to good people, anytime, anywhere, but better &amp; always be careful while on the road. &lt;br /&gt;&lt;br /&gt;I guess you don't want your lovely car turns into ugly '100 pounds Gorilla' like below;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_s83-9MNxDbI/SupU1d3QLeI/AAAAAAAAALM/hEzMh7xuzQk/s1600-h/pic.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_s83-9MNxDbI/SupU1d3QLeI/AAAAAAAAALM/hEzMh7xuzQk/s320/pic.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5398220380883135970" /&gt;&lt;/a&gt;&lt;br /&gt;(Sekadar Gambar Hiasan)&lt;br /&gt;&lt;br /&gt;So, Love your body, remember your loved one !!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-430367411328861833?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/430367411328861833/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/10/worth-some-thought.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/430367411328861833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/430367411328861833'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/10/worth-some-thought.html' title='Worth some thought...'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_s83-9MNxDbI/SupU1d3QLeI/AAAAAAAAALM/hEzMh7xuzQk/s72-c/pic.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-8632188849310806417</id><published>2009-10-13T09:58:00.000+08:00</published><updated>2009-10-13T09:59:34.196+08:00</updated><title type='text'>Happy tuesday</title><content type='html'>The animals of a jungle have decided to hold a meeting. The lion has come, the tiger has come, the elephant has come, the monkey has come.. But The meeting hasn't started. Guess why ? Because the DONKEY!! is busy reading this blog ! &lt;br /&gt;&lt;br /&gt;hehehe..ok get back to work..nothing serious..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-8632188849310806417?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/8632188849310806417/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/10/happy-tuesday.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8632188849310806417'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8632188849310806417'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/10/happy-tuesday.html' title='Happy tuesday'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-4191771967040011234</id><published>2009-10-06T14:49:00.002+08:00</published><updated>2009-10-06T14:56:53.952+08:00</updated><title type='text'>Drink water while diving</title><content type='html'>You get RM5.00 (could be more) in just a couple of weeks ? wow..you did absolutely nothing but at the end of the day you get paid. That's amazing man! Who on earth gonna give you money for free ?, i don't and i bet you wont!. I was actually talking about an ads that can be attached in a website/blog. When visitors visit your blog and clicking on your ads (sometimes not necessary), you'll get paid based on their clicks. The more unique traffic goes to your website, will make it rank better. There are a few ways of getting traffic to your website the right way (not exactly the right way) everyday. One way is, force all of your friends to visit your website. There are a few active bloggers that I knew had started something to promote their blogs. Teruskan usaha !! &lt;br /&gt;&lt;br /&gt;For those of you who happened to be here, thanks for reading or just dropped by. Don't forget to leave some comments on my shout box. Just say something. Nothing serious. Life is too short to take everything so serious..hehe..get some fun!!&lt;br /&gt;&lt;br /&gt;Well, that is it for today. Have a nice day friends!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-4191771967040011234?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/4191771967040011234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/10/drink-water-while-diving.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/4191771967040011234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/4191771967040011234'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/10/drink-water-while-diving.html' title='Drink water while diving'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-1791763126366155064</id><published>2009-09-18T14:22:00.000+08:00</published><updated>2009-09-18T14:23:22.239+08:00</updated><title type='text'>Best wishes</title><content type='html'>Well, Hari Raya is just around the corner!! I want to take this opportunity to wish Happy Hari raya to all my Muslim friends on earth. Maaf zahir &amp; Batin !!&lt;br /&gt;&lt;br /&gt;Last but not least, if you guys have an open house invitation, don't fail to remember ring my mobile phone. Hehehe..&lt;br /&gt;&lt;br /&gt;Again, Selamat hari raya!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-1791763126366155064?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/1791763126366155064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/09/best-wishes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/1791763126366155064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/1791763126366155064'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/09/best-wishes.html' title='Best wishes'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-1998069359092955393</id><published>2009-09-11T11:17:00.003+08:00</published><updated>2009-09-11T11:26:19.204+08:00</updated><title type='text'>Heroku - Instant Ruby Platform</title><content type='html'>It's time to talk about cool thing in Heroku. I believe you guys especially Ruby on Rails programmer out there knew HEROKU!. It is all about cool place to deploy any of your cool web projects. It is free indeed. However, getting up your first project with Heroku is not really a straightforward process. You will get to know a few things. Let me just list them;&lt;br /&gt;&lt;br /&gt;1. Git&lt;br /&gt;Git is a free &amp; open source, distributed version control system  designed to handle everything from small to very large projects with speed and efficiency. Good enough ? OK let's move on..&lt;br /&gt;&lt;br /&gt;2. a PC running under Linux OS&lt;br /&gt;Yes, this is compulsory. Too bad. Meaning to say, I don't have a guide for windows OS users. Sorry. &lt;br /&gt;&lt;br /&gt;3. A working Rails application&lt;br /&gt;&lt;br /&gt;4. A glass of cold Tiger Beer..hahaha&lt;br /&gt;&lt;br /&gt;Before that, make sure that git is already installed on your system. If not, go to &lt;a href="http://git-scm.com/"&gt;git website&lt;/a&gt; and download the latest stable release of GIT.&lt;br /&gt;&lt;br /&gt;In your terminal, just type below command;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;$rails myapp&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;$cd myapp&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;$ git init&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;$ git add .&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;$ git commit -m "new app"&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;$ heroku create&lt;/code&gt;&lt;br /&gt;Enter your Heroku credentials.&lt;br /&gt;Email: joe@example.com&lt;br /&gt;Password: &lt;br /&gt;Git remote heroku added&lt;br /&gt;&lt;br /&gt;&lt;code&gt;$ git push heroku master&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;$ heroku rake db:migrate&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;And that's all!! Your application is now running live!!..so it's time to drink your beer!! enjoy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-1998069359092955393?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/1998069359092955393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/09/heroku-instant-ruby-platform.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/1998069359092955393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/1998069359092955393'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/09/heroku-instant-ruby-platform.html' title='Heroku - Instant Ruby Platform'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-889642993675865418</id><published>2009-09-08T16:42:00.001+08:00</published><updated>2009-09-08T16:51:24.058+08:00</updated><title type='text'>Happy Tuesday!</title><content type='html'>It's September!! reminds me of the song called wake me up, when September end. Well, gone through quite a busy life recently. My days were full with commitments. That's why you'll see my blog always on sleeping mode. Poor me!! Well, thinking back, it's been almost 2 years I have been living with this blog. I created this blog for the purpose of learning process. I learn best through reading and writing. And most of the time, sharing. Life as a programmer, you know it's not always fun. I get used to it and so far, life has been so great. But to be honest, I'm not impressed with the year of 2009. My progress was a bit slower compare to last year. Maybe it's because I have been forced to do things I don't really enjoy doing it..but who cares right ? well..the fact is, I'm happy..hehe..happy Tuesday people!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-889642993675865418?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/889642993675865418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/09/happy-tuesday.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/889642993675865418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/889642993675865418'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/09/happy-tuesday.html' title='Happy Tuesday!'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-6629357400481386865</id><published>2009-07-31T15:43:00.002+08:00</published><updated>2009-07-31T15:52:23.532+08:00</updated><title type='text'>Project A</title><content type='html'>Ok, have you guys ever thinking of doing some investment ? It could be money investment ? Project-based investment or you wiling to buy something with hope that after certain amount of time, you'll get something in return ? I personally would say yes since I've started something and we're positive about it. We have just started it but whenever I think about it, I'm just so excited. Let's just call it 'Project A'. For those who's in the group, you know what we going to do and hopefully by the end of this year, we could get it up and running. Remember, we are now left behind and I guess this is not what we want right ? So let's work as a team and achieve what we have planned.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-6629357400481386865?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/6629357400481386865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/07/project.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6629357400481386865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6629357400481386865'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/07/project.html' title='Project A'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-8981818278836635469</id><published>2009-07-30T14:15:00.000+08:00</published><updated>2009-07-30T14:16:22.643+08:00</updated><title type='text'>Computer Language.....</title><content type='html'>Husband: Good Evening Dear, I'm now logged in&lt;br /&gt;Wife: Have you got the grocery ?&lt;br /&gt;Husband: Bad command or filename&lt;br /&gt;Wife: But i told you in the morning&lt;br /&gt;Husband: Erroneous syntax . . Abort ?&lt;br /&gt;Wife: What about my new TV ?&lt;br /&gt;Husband: Variable not found . . .&lt;br /&gt;Wife: At least, give me your Credit Card. I want to do some shopping.&lt;br /&gt;Husband: Sharing Violation. Access denied . . .&lt;br /&gt;Wife: Do you love me or do you only love computers or are you just being funny.&lt;br /&gt;Husband: Too many parameters&lt;br /&gt;Wife: It was a great mistake that I married an idiot like you.&lt;br /&gt;Husband: Data type mismatch&lt;br /&gt;Wife: You are a useless nut.&lt;br /&gt;Husband: By default . . .&lt;br /&gt;Wife: What about your salary ?&lt;br /&gt;Husband: File in use . . . , Try after some time.&lt;br /&gt;Wife: Who was in the car this morning ?&lt;br /&gt;Husband: System is unstable. Press CTRL ALT DEL to reboot.&lt;br /&gt;Wife: What is the relation between U and your Receptionist ?&lt;br /&gt;Husband: Only user in my WRITE group.&lt;br /&gt;Wife: What is my value in the family ?&lt;br /&gt;Husband: Unknown virus.&lt;br /&gt;Wife: I will leave you forever.&lt;br /&gt;Husband: Close all programs &amp; log out for another user.&lt;br /&gt;Wife: It is worthless talking to you.&lt;br /&gt;Husband: Shut down.&lt;br /&gt;Wife: I'm now going.&lt;br /&gt;Husband: It's now safe to turn off your computer.&lt;br /&gt;&lt;br /&gt;Above conversation is just a joke. but inside, you'll learn something about a man. So don't marry a Computer programmer..or  a person who crazily in love with Computer. Hehe..happy Thursday!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-8981818278836635469?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/8981818278836635469/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/07/computer-language.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8981818278836635469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8981818278836635469'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/07/computer-language.html' title='Computer Language.....'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-2747844496699293154</id><published>2009-07-08T09:30:00.000+08:00</published><updated>2009-07-08T09:31:39.028+08:00</updated><title type='text'>Happy wednesday</title><content type='html'>I'm back! Since Google apps (Gmail) has finally out of beta version, I finally decided to create my very first Gmail account. Done, and ya, it was cool. I liked the interface and it's flexibility. I know Im a bit late into Gmail. It is because I already have my official yahoo mail and of course I dont like to manage more than 2 or three email account. But, from now on, I'll be using this new created gmail account as my secondary email. Should you have any enquiries regarding anything, be it a question or some sort of information, just send me an email. If it is a question, I'll try my best to answer where possible. So here is my email address;&lt;br /&gt;&lt;br /&gt;mrclarenceclay(at)gmail(dot)com&lt;br /&gt;&lt;br /&gt;Have a nice day !!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-2747844496699293154?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/2747844496699293154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/07/happy-wednesday.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/2747844496699293154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/2747844496699293154'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/07/happy-wednesday.html' title='Happy wednesday'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-115062386043113594</id><published>2009-07-07T17:14:00.001+08:00</published><updated>2009-07-07T17:16:32.437+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='that&apos;s comedy'/><title type='text'>Today's Joke</title><content type='html'>Wel...what a busy life!! so why don't we spend a moment to read something funny..hehe..(if you find it funny la)..enjoy reading!!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;A fellow decided to decorate his bedroom. He wasn't sure how many&lt;br /&gt;rolls of wallpaper he would need but he knew that the Irishman&lt;br /&gt;who lived next door had recently done the same job and the two&lt;br /&gt;rooms were identical in size.&lt;br /&gt;&lt;br /&gt;"Murphy," he asked, "How many rolls of wallpaper did you buy for&lt;br /&gt;your bedroom?"&lt;br /&gt;&lt;br /&gt;"Ten" said Murphy.&lt;br /&gt;&lt;br /&gt;So the fellow bought the ten rolls of paper and did the job. It&lt;br /&gt;looked wonderful, but he had 2 rolls of wallpaper left over.&lt;br /&gt;&lt;br /&gt;"Murphy," he said. "I bought ten rolls of wallpaper for the&lt;br /&gt;bedroom, but I've got 2 left over!"&lt;br /&gt;&lt;br /&gt;"Dat's funny," said Murphy. "So did I."&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-115062386043113594?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/115062386043113594/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/07/todays-joke.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/115062386043113594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/115062386043113594'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/07/todays-joke.html' title='Today&apos;s Joke'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-5311685467879651744</id><published>2009-06-11T09:41:00.001+08:00</published><updated>2009-06-11T09:45:23.590+08:00</updated><title type='text'>Ruby on Rails</title><content type='html'>Good day everyone! I love the weather today, Cloudy!. As for what Oiga has requested, he wants to know what is Ruby on Rails. I'm glad you're asking about that Oiga. Ok, Let me describe a bit more what is Ruby &amp; what is Rails. Ruby is a programming language. Means, It is a language which computer can understand. Rails is a web framework. So Ruby on Rails is a tool for creating a web-based applications. Dia lebih kurang macam PHP, cuma PHP dia guna scripting language so beza sikit ja la.  If your organization is planning to use Ruby On Rails, then I'm pretty sure you're going to develop a website. All you need is install the ruby and Rails and of course, programming skills are mandatory needed. Hope this helps and good luck OIGA.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-5311685467879651744?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/5311685467879651744/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/06/ruby-on-rails.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/5311685467879651744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/5311685467879651744'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/06/ruby-on-rails.html' title='Ruby on Rails'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-8641305235448610269</id><published>2009-05-28T08:47:00.001+08:00</published><updated>2009-05-28T08:49:15.916+08:00</updated><title type='text'>Streamyx new package with Fixed line</title><content type='html'>Good day everyone. I hope all of you are in a very good mood today. This beautiful Thursday morning, I've just received an email from CEO and it's all about this Streamyx new package. I feel like it is also better to share it in here. &lt;br /&gt;&lt;br /&gt;If you are using Streamyx package at home, please take note there is a new package which is cheaper and offer better facility&lt;br /&gt;&lt;br /&gt;1. Package RM44/ month with 512K- Limited  access&lt;br /&gt;2. Package RM66 / month with 512K- Unlimited access&lt;br /&gt;3. Package RM88 / month with 1MB.  Unlimited access&lt;br /&gt;&lt;br /&gt;On top of that, you can tag in your fix line telephone at RM10/month for unlimited Local and National call.&lt;br /&gt;&lt;br /&gt;Normal fixed line is RM38/month - for local call only, anything you call outstation it is chargeable.&lt;br /&gt;&lt;br /&gt;P/S: The package changing process is simple, just go to any TM branch nearest to you or you can go to TM at Sadong Jaya. It only take less than 15 minutes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-8641305235448610269?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/8641305235448610269/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/05/streamyx-new-package-with-fixed-line.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8641305235448610269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8641305235448610269'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/05/streamyx-new-package-with-fixed-line.html' title='Streamyx new package with Fixed line'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-4309995302498642941</id><published>2009-05-27T09:54:00.001+08:00</published><updated>2009-05-27T09:56:24.419+08:00</updated><title type='text'>Happy Wednesday</title><content type='html'>There was a time when I was a barMan. It was back to 5 years ago. You know, worked as a barman before is a great experience I've ever had. I went through with lots of wonderful moment and I'll never forget them. Don't get me wrong, I'm not an expert liqueur brandy drinker nor cocktail mixer man. At that time, mixing up tequila sunrise, long island, margarita, Singapore sling, bloody Mary, blue Hawaii, you name it..all those cocktails are under my belt. But now, i can't even remember any. You know la, I'm now too old to remember. But I love and miss to drink the Triple sec &amp; Cointreau. Sweet!!. The taste is just mar ve lous!!&lt;br /&gt;&lt;br /&gt;Now back to work..hehe..&lt;br /&gt;&lt;br /&gt;Happy Wednesday!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-4309995302498642941?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/4309995302498642941/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/05/happy-wednesday.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/4309995302498642941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/4309995302498642941'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/05/happy-wednesday.html' title='Happy Wednesday'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-3647099713461745180</id><published>2009-05-26T09:51:00.002+08:00</published><updated>2009-05-26T09:58:58.905+08:00</updated><title type='text'>Tips of the day</title><content type='html'>Some of you may already been practicing this while searching over the internet. Ya again I'm promoting Google. I want to be a Google hacker but &lt;a href="http://hackersforcharity.org/"&gt;johnny Long&lt;/a&gt; said don't!. Ok, 2 searching tips for today. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1. Using inurl&lt;/span&gt;&lt;br /&gt;Let say you want to search for the URL that contain the word clarenceclay. Or you might want to know whether I own a website or not, just Google below syntax;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;inurl:clarenceclay&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Let say you want to search for the url that contain the word clarenceclay and mention the word “beer” anywhere in the document, fire up below query;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;inurl:clarenceclay beer&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Now you know how to hack my blog..use it for good. Hehe.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2. Using intitle&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This one is pretty the same with inurl. But this one is for searching by website's title. Lets try search for..what ah...em..&lt;br /&gt;&lt;br /&gt;&lt;code&gt;intitle:facebook | clarence clay&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;OMG..I got Facebook!! &lt;br /&gt;&lt;br /&gt;Actually there are a lot more searching tips, but we learn one by one okay! Remember, Google hacking is using Google in creative ways to find information not hacking Google. So do not evil. Practice it, enjoy searching..bye!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-3647099713461745180?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/3647099713461745180/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/05/tips-of-day.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/3647099713461745180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/3647099713461745180'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/05/tips-of-day.html' title='Tips of the day'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-1788170182955168627</id><published>2009-05-21T16:29:00.002+08:00</published><updated>2009-05-21T16:38:06.465+08:00</updated><title type='text'>Learning &amp; Sharing</title><content type='html'>Initially, I started this blog to express everything what I've learned especially in a world of web development. In early day of blogging, I mostly shared a lot about Ruby on Rails. I know you might asking me what is Ruby on Rails all about? Ruby is an Object oriented programming language where it is similar to Python whereby Rails is a web framework build on top of Ruby. In the past 2 or 3 years, Rails has became popular and programmers from all around the world keeps talking about it. &lt;br /&gt;&lt;br /&gt;Although I'm a programmer, honestly speaking being a programmer in not only about reading &amp; writing codes. Most of the time, I am involved in a complete System development life cycle. It covers from what operating systems being used, Databases, Web Servers, Application servers, you name it. &lt;br /&gt;&lt;br /&gt;When it comes to system integration, we mostly talks about web services (blogspot uses web service to talk to other website). Now we are in web 2.0 technology where websites are fully integrated with AJAX requests and lots more powerful tools. It includes search capabilities and also reporting. When we talk about reporting, we are actually talking about BI (not Bahasa Inggeris). It's known as Business Intelligence. This BI is still new to me as I've just gone through with it and I'm still in a process of learning. &lt;br /&gt;&lt;br /&gt;OK enough said, What actually I'm trying to say  is "learning &amp; Sharing". Honestly speaking, I'd always love to share my knowledge whenever necessary. I might not be able to write a full A-Z tutorial on something that I can think of. But if you happen to read my blog, and you want me to share &amp; write about something you want to know. I'll make an effort towards that. In that way, we can learn together. In the meantime, I'll also blog about what's going on in my life as long as I'm still alive. Hehe. &lt;br /&gt;&lt;br /&gt;That's all for today. Thanks for reading.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-1788170182955168627?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/1788170182955168627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/05/learning-sharing.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/1788170182955168627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/1788170182955168627'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/05/learning-sharing.html' title='Learning &amp; Sharing'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-2616485035008852470</id><published>2009-05-20T10:11:00.000+08:00</published><updated>2009-05-20T10:13:15.879+08:00</updated><title type='text'>Life is uneasy..</title><content type='html'>A month have gone since my last post on this blog. It is enough to tell that I really have limited time to do blogging lately. I have to give full commitment to the non-web apps projects that I'm handling right now. Most of them are completed. But as what I always tell to myself, never be content with just getting something done. So I'm trying to Always strive for a better way to do things. (I learnt this from my senior). &lt;br /&gt;&lt;br /&gt;Ya, it's not easy being in a life nowadays. If we are not strong enough, don't even think of tomorrow. Sometimes, I spend a moment to think back whether I'm in a right direction or not. Few days ago, a friend of mine told me a story that did scared me a bit. He said he sold his car twice just to cover all his debt. He's a good and hard working person that I knew. I guess sometimes there is a situation when we work hard but get less in return. Well, that's life. That is what I meant by always strive for a better life. &lt;br /&gt;&lt;br /&gt;For me, life is like playing a chess. We keeps on thinking every moment. At the same time, we also running out of time. At the end of the day, only the strongest will survive.&lt;br /&gt;&lt;br /&gt;Not forget to mention, &lt;span style="font-weight:bold;"&gt;Happy Kaamatan&lt;/span&gt; to all who celebrating it!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-2616485035008852470?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/2616485035008852470/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/05/life-is-uneasy.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/2616485035008852470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/2616485035008852470'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/05/life-is-uneasy.html' title='Life is uneasy..'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-5388921868454627951</id><published>2009-04-16T15:46:00.000+08:00</published><updated>2009-04-16T15:49:56.984+08:00</updated><title type='text'>Proton Exora</title><content type='html'>As you probably already knew, Proton has just launched it's latest MPV car called Exora. The launching was done yesterday by our beloved prime minister. My first impression, The Proton Exora looks quite good. Its interior and exterior design was next to perfect. Well done Proton. The price for this Exora is below 70K which is reasonable price I guess. Feels like I want to change car. Haha. But since Im more to "need for speed" type of person, I canceled my plan. But overall, Siapa-siapa yang bercadang mahu beli Avanza, please think twice. Support our local products dengan membeli Kereta buatan Malaysia. Beli la Proton Exora.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-5388921868454627951?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/5388921868454627951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/04/proton-exora.html#comment-form' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/5388921868454627951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/5388921868454627951'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/04/proton-exora.html' title='Proton Exora'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-7415189237721508264</id><published>2009-04-15T11:53:00.001+08:00</published><updated>2009-04-15T11:57:27.321+08:00</updated><title type='text'>IT vacancy in Sabah</title><content type='html'>If you are a programmer who knows Apache, Mysql , and PHP and still looking for a job preferably in Sabah, there is a good company looking for a programmer in case you don't know yet. Just Check it out below link&lt;br /&gt;&lt;br /&gt;&lt;a href="http://my.jobstreet.com/jobs/2009/4/default/10/803572.htm?fr=J"&gt;Programmer&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And if you are familiar with Linux/Windows server infrastructure especially in network/server configurations and troubleshooting, I believe you are the one they are looking for. Just Check it out below link &lt;br /&gt;&lt;br /&gt;&lt;a href="http://my.jobstreet.com/jobs/2009/4/default/10/803538.htm?fr=c"&gt;Network/Systems Engineer&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Bah, apply saja!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-7415189237721508264?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/7415189237721508264/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/04/it-vacancy-in-sabah.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/7415189237721508264'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/7415189237721508264'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/04/it-vacancy-in-sabah.html' title='IT vacancy in Sabah'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-7662987667131691021</id><published>2009-04-03T17:03:00.000+08:00</published><updated>2009-04-03T17:08:30.839+08:00</updated><title type='text'>Happy Weekend !!</title><content type='html'>It's Friday again. So what's the big deal? haha! well, first week of April, time goes by very fast doesn't it ? That's it. From my side, so many things happened within the past couple of weeks. Life keeps changing towards better. Continuously.. But I don't know why I'm so lazy to blog lately. Start from next week, I'll be handling a part of a banking system that we have currently. Interesting part is, this project was just handed over to me. So I can say, I only know 60 % of the whole system. I really hate when it comes to reading and try to understand other people's code. Sometimes, very simple things become complicated. Why write this;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;   if params[:first_name].blank?&lt;br /&gt;     name = params[:last_name]&lt;br /&gt;   else&lt;br /&gt;     name = params[:first_name]&lt;br /&gt;   end &lt;br /&gt;&lt;/code&gt;&lt;br /&gt;if can do it in just 1 line only&lt;br /&gt;&lt;code&gt;&lt;br /&gt;name = params[:last_name] || params[:first_name]&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;So ya, forget about it, think about what's cool this weekend ? I think I'll go to the place that I never been before (Still inside Sabah la). Hey mansau-ansau oku..hahaha..&lt;br /&gt;&lt;br /&gt;Have a Nice weekend ok !!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-7662987667131691021?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/7662987667131691021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/04/happy-weekend.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/7662987667131691021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/7662987667131691021'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/04/happy-weekend.html' title='Happy Weekend !!'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-9005445381372434318</id><published>2009-03-26T08:47:00.002+08:00</published><updated>2009-03-26T08:54:24.210+08:00</updated><title type='text'>Apple products banned from the Gates household</title><content type='html'>The big man in Microsoft prevent their kids from using iPods and iPhones ? Haha! This is all about PC vs Mac wars. Interesting isn't it ? That's what is going on in computer industry nowadays. Personally, I would prefer go for Ubuntu since it is free. But windows is not bad what. Just that, When it comes to business point of view, you know la. Haha!&lt;br /&gt;&lt;br /&gt;Continue reading...&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blogs.zdnet.com/Apple/?p=3206"&gt;Apple products banned from the Gates household&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;&lt;a href="http://blogs.zdnet.com/carroll/?p=1863"&gt;Should Microsoft become more Apple-like?  &lt;/a&gt;&lt;br /&gt;&lt;a href="http://blogs.zdnet.com/Apple/?p=2953"&gt;&lt;br /&gt;Microsoft vs. Apple: Beware of your 'killer instinct'&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-9005445381372434318?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/9005445381372434318/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/03/apple-products-banned-from-gates.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/9005445381372434318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/9005445381372434318'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/03/apple-products-banned-from-gates.html' title='Apple products banned from the Gates household'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-3821849935162365176</id><published>2009-03-25T18:14:00.003+08:00</published><updated>2009-03-25T18:33:00.110+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>Empty Updates..</title><content type='html'>Nothing much to share in this post as I don't have useful information to post for today. This week, I'm away from my normal boring job because I'm attending the Microsoft Windows server 2003 active directory training. It was a good training and if you want to be a systems engineer, this is 1 of 7 courses you have to take. Different story, ya, this is my last day 'naik bas' going to work. hehe..I think for the past 2 weeks, sy naik bas saja pergi kerja and pulang rumah. I have to take 2 buses everyday for 2 weeks you know. Tapi bagus jugala..sepanjang naik bas pergi kerja, banyak benda2 baru yang saya jumpa everyday. Saya selalu terserampak dengan kawan lama, kawan baru tiap2 pagi time p keja..even kawan satu Universiti yg tidak pernah bertegur time di Uni dulu pun sekali terserempak di KK.."eh, macam kenal".....Pernah juga ada ni satu bas saya naik terlanggar dengan satu kereta..it was happened this morning..eh it doesn't mean that I've just bought a brand new car ah (how i wish)..cuma kereta lama diberi nafas baru saja..hahah..so that's all for today's story..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-3821849935162365176?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/3821849935162365176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/03/empty-updates.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/3821849935162365176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/3821849935162365176'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/03/empty-updates.html' title='Empty Updates..'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-6148254102877196002</id><published>2009-03-16T19:02:00.002+08:00</published><updated>2009-03-16T19:08:10.908+08:00</updated><title type='text'>Tips for job interview</title><content type='html'>I might sound like an expert on this matter but far from the sky, I’m not. Because I also failed in a few interviews I have had attended before. But, I think there is no wrong if I’m going to share some of the so-called 'interesting parts' when we go for job interview. Actually, most of the time, it's completely depends on what kind of job you're applying, what are the interviewer's expectations towards you and how much salary you willing to accept. Hence, let's look at below scenarios;&lt;br /&gt;&lt;br /&gt;1. Find your field of expertise&lt;br /&gt;It is always important for us to identify the areas that we expert at. So every time the interviewer asks you a questions, you should be able to answer confidently (like YB shows his/her janji manis during election campaign). When an interviewer ask you a question that is out of your mind (means you knew nothing about it), never pretend that you know and don’t start making bombastic words. Most of the time, it doesn't works. In large enterprise company like Petronas, or Maxis, they don’t really look for a person who can do multitasking. What they need is the person who expert in particular field of job. For small medium size of company, yes, they need a person who can perform multiple jobs.&lt;br /&gt;&lt;br /&gt;2. Think of something which can make your interviewer impressed not depressed&lt;br /&gt;This is a tricky part that we have to learn. There is an old saying that ‘First Impressions are Very Important '. How true is that? For me, the first word come out from your mouth is also matter. Imagine you are now staring and sitting next to a beautiful girl you never spoken before. Then she suddenly greets you with a word "30 bang". What do you think? I believe your feelings will drop drastically......So you know what I mean...&lt;br /&gt;&lt;br /&gt;3. Jual mahal&lt;br /&gt;Hahaha... is often applicable. Suppose you ask for a thousand in term of salary. That is the minimum salary you willing to sacrifice. In this case, don’t let the employer offer you a salary that is below your minimum expectation. Normally they will try to negotiate you with a very low salary at first. So don’t simply say yes. Otherwise you'll regret. You should be able to tell them why they worth to pay you with that particular amount of salary. &lt;br /&gt;&lt;br /&gt;There are lots more but I just can’t think of all of them at the moment. Actually all those been said are very basic stuff that sometimes we forgot to take care of. It is my pleasure to warmly remind all of us that to find a job with decent pay is not that difficult if we really know the real meaning of ‘the small fish in a big pond’&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-6148254102877196002?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/6148254102877196002/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/03/tips-for-job-interview.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6148254102877196002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6148254102877196002'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/03/tips-for-job-interview.html' title='Tips for job interview'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-5694092250526057785</id><published>2009-03-13T12:41:00.003+08:00</published><updated>2009-03-13T14:58:05.796+08:00</updated><title type='text'>Happy Friday</title><content type='html'>I guess this week is the most memorable week for those who just received their spm or stpm results. Some got unexpected result, some end up with tears, smiling, and so on. I personally impressed when I heard that there is a student got 20A's. What a happiest person on earth. Then I started to think, is today's generation is better/smarter than us ? or the level of difficulty in spm/stpm examination has gone down? or is this what we called 'zaman sudah berubah, dunia sudah maju' ?. Whatever it is, we should proud of them who have had good results. They deserved it. &lt;br /&gt;&lt;br /&gt;This month also becomes so busy for those students because they most probably in a middle of applying for entering University. I'm pretty sure they had been in a dilemma situation because of they don't really sure what course to choose. Too many choices.&lt;br /&gt;&lt;br /&gt;For science stream students who loves computer programming or anything related to IT, I recommend you to go for software engineering or networking. Frankly speaking, we don't have a good university which very good in teaching/producing an IT expert/engineer/programmer in Malaysia. Too Bad. So, please be smart when choosing the right course and the right university. It is in your hand. &lt;br /&gt;&lt;br /&gt;Happy Friday.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-5694092250526057785?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/5694092250526057785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/03/happy-friday.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/5694092250526057785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/5694092250526057785'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/03/happy-friday.html' title='Happy Friday'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-7800218302898681075</id><published>2009-03-10T18:14:00.002+08:00</published><updated>2009-03-10T18:18:34.316+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby on rails'/><title type='text'>Paperclip plugin</title><content type='html'>I know I'm a bit left behind on this but If you're just like me, still looking for a best file upload plugin that works with Rails, here it goes. I've been using the super old file_column plugin for a while but end up with finding another plugins. Just got my hands dirty with attachment_fu but I'm still not happy with it. At last I found this super simple and nice paperclip plugin. It's very simple to use and I very much like it. You just need to install imageMagic or Rmagic and you're ready to fly. &lt;br /&gt;&lt;br /&gt;You can install &amp; download Rmagick &lt;a href="http://rmagick.rubyforge.org/"&gt;here&lt;/a&gt; and &lt;a href="http://thoughtbot.com/projects/paperclip"&gt;here&lt;/a&gt; is the documentation to start with paperclip. Ryan also has a nice &lt;a href="http://railscasts.com/episodes/134-paperclip"&gt;screencast&lt;/a&gt; covering the beauty of paperclip. It's worth reading. Good Luck!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-7800218302898681075?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/7800218302898681075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/03/paperclip-plugin.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/7800218302898681075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/7800218302898681075'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/03/paperclip-plugin.html' title='Paperclip plugin'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-5136209070512730206</id><published>2009-03-04T12:28:00.005+08:00</published><updated>2009-03-04T12:49:56.730+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='sphinx'/><title type='text'>Searching through sphinxSE</title><content type='html'>It's been a fairy busy week here in my place lately, So today I'm going to show you how one can embed search functionality in their web application. I believe most of us are using Google as our primary searching tool. Hey, Google is one of the powerful search engine ever exist on earth you know. So, you should impress, at least.&lt;br /&gt;Don't ever tell me that you can easily implement search functionality in your apps by using below statement;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;SELECT * FROM users where full_name = 'clarence clay'&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Above sql statement looks OK, but when you're running above query on a table with billion or trillion records, don't even think you will get the results in very short time. You have been warned. So we came out with the full-text search solution. Meaning to say, you can search whatever you want. Be it a Phrase search, Boolean search or it can be any kind of search terms. So it's a right time for me to introduce this lovely Sphinx full-text search engine. For those who work as database administrator or expert, sphinx is definitely not a new thing for you.&lt;br /&gt;&lt;br /&gt;Enough said, you may want to read on &lt;a href="http://clarenceclay.blogspot.com/2008/12/mysql-installation-on-linux-based.html"&gt;how to install sphinxSE on MYSQL database&lt;/a&gt;. Make sure everything has been properly configured before we go to the next level. As I always said, make sure your brain is in gear mode. OK, Once you've gotten this far you're probably itching to go. But before that, I'd like to mention what are the basic principles (how full-text search works) that we have to at least have in mind. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1. Indexing&lt;/span&gt;&lt;br /&gt;You may be familiar with the word indexing. In every book you read, there is a section at the end of the page called index. it's purpose is to provide easy and faster way to search whole content of the book. Same thing goes to search engine. It's just a matter of converting the idea from manual to computerized system. In a couple of minutes, I'll show you how to index your database using sphinx.&lt;br /&gt;&lt;br /&gt;For your information, sphinx work well with PHP. So PHP folks out there, why wait, give Sphinx a try. Else, you will left far behind.&lt;br /&gt;&lt;br /&gt;OK, I'll go through with creating a simple mysql database in order to test the brilliant Sphinx. But before that, my apologize for not being loyal to windows OS because this tutorial is absolutely based on Linux OS. (Mac users used to laugh at windows users, but Linux folks used to laugh at both mac &amp; windows users -old joke).&lt;br /&gt;&lt;br /&gt;OK, open up your terminal and log in to mysql server &lt;br /&gt;&lt;br /&gt;You can use phpmyqdmin or query browser to go to the mysql server. It is up to you. But I prefer text-based, you know, command lover. OK, I'll create a database call sphinx and 2 tables call users and profiles.&lt;br /&gt;&lt;code&gt;&lt;br /&gt;[root@clarence.com.my ~]# /usr/local/mysql/bin/mysql -u&lt;user_name&gt; -p&lt;password&gt; &lt;br /&gt;&lt;br /&gt;Welcome to the MySQL monitor.  Commands end with ; or \g.&lt;br /&gt;Your MySQL connection id is 1401&lt;br /&gt;Server version: 5.0.51b Source distribution&lt;br /&gt;&lt;br /&gt;Type 'help;' or '\h' for help. Type '\c' to clear the buffer.&lt;br /&gt;&lt;br /&gt;mysql&gt; create database sphinx;&lt;br /&gt;Query OK, 1 row affected (0.03 sec)&lt;br /&gt;&lt;br /&gt;mysql&gt; use sphinx;&lt;br /&gt;Database changed&lt;br /&gt;mysql&gt; create table users( &lt;br /&gt;-&gt; id integer not null auto_increment, &lt;br /&gt;-&gt; login_name varchar(50), &lt;br /&gt;-&gt; password integer, &lt;br /&gt;-&gt; created_at datetime, &lt;br /&gt;-&gt; primary key (id)&lt;br /&gt;-&gt; );&lt;br /&gt;Query OK, 0 rows affected (0.02 sec)&lt;br /&gt;&lt;br /&gt;mysql&gt; create table profiles(&lt;br /&gt;    -&gt; user_id integer,&lt;br /&gt;    -&gt; full_name varchar(50),&lt;br /&gt;    -&gt; address varchar(500),&lt;br /&gt;    -&gt; email varchar(15));&lt;br /&gt;Query OK, 0 rows affected (0.00 sec)&lt;br /&gt;mysql&gt; &lt;br /&gt;&lt;/code&gt;&lt;br /&gt;OK, we have done with creating a database with two tables. Of course these tables are empty since there is no data inserted yet. But basically as you can see, these two tables are joined by parent-child relationship. Sometimes we need to know the information from both tables. So we join the two tables into one single sql statement. This statement will then be use for indexing the database later. &lt;br /&gt;&lt;br /&gt;To join the users &amp; profiles tables, we use sql join statement as shown below;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;SELECT login_name, full_name, address, email &lt;br /&gt;FROM users&lt;br /&gt;LEFT OUTER JOIN profiles on profiles.user_id = users.id&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;I wont explain further on the sql syntax I'm using above as I assumed you have enough knowledge in mysql database. So back to our Sphinx, it is time to index the database that we have created. go to the directory where sphinx has been installed. In my case, it installed under &lt;code&gt;/usr/local/sphinx directory&lt;/code&gt;.&lt;br /&gt;&lt;code&gt;&lt;br /&gt;[root@clarence.com.my ~]# cd /usr/local/sphinx/etc&lt;br /&gt;[root@clarence.com.my etc]# cp sphinx.conf.dist sphinx.conf&lt;br /&gt;[root@clarence.com.my etc]# nano sphinx.conf&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;edit it to look like below;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;source src1&lt;br /&gt;{&lt;br /&gt; type     = mysql&lt;br /&gt; sql_host    = localhost&lt;br /&gt; sql_user    = root&lt;br /&gt; sql_pass    =&lt;br /&gt; sql_db     = sphinx&lt;br /&gt; sql_port    = 3306&lt;br /&gt;    sql_query    = \&lt;br /&gt;  SELECT login_name, full_name, address, email \&lt;br /&gt;        FROM users LEFT OUTER JOIN profiles on profiles.user_id = users.id&lt;br /&gt; sql_attr_uint   = &lt;br /&gt; sql_attr_timestamp  = &lt;br /&gt; sql_query_info   = SELECT * FROM users WHERE id=$id&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;index myindex&lt;br /&gt;{&lt;br /&gt; source     = src1&lt;br /&gt; path     = /usr/local/sphinx/var/data/index1&lt;br /&gt; docinfo     = extern&lt;br /&gt; charset_type   = sbcs&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;indexer&lt;br /&gt;{&lt;br /&gt; mem_limit    = 32M&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;searchd&lt;br /&gt;{&lt;br /&gt; port     = 3312&lt;br /&gt; log      = /usr/local/sphinx/var/log/searchd.log&lt;br /&gt; query_log    = /usr/local/sphinx/var/log/query.log&lt;br /&gt; read_timeout   = 5&lt;br /&gt; max_children   = 30&lt;br /&gt; pid_file    = /usr/local/sphinx/var/log/searchd.pid&lt;br /&gt; max_matches    = 1000&lt;br /&gt; seamless_rotate   = 1&lt;br /&gt; preopen_indexes   = 0&lt;br /&gt; unlink_old    = 1&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;OK, save it. We have done with minimum sphinx configuration. Now go to &lt;br /&gt;&lt;code&gt;&lt;br /&gt;[root@clarence.com.my etc]# cd ..&lt;br /&gt;[root@clarence.com.my etc]# cd bin&lt;br /&gt;[root@clarence.com.my etc]# ./indexer --all&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;That's it. Pretty simple isn't it ? But how do we search the index ? We first create a table call sphinx_search.&lt;br /&gt;Execute below syntax to create that table;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;CREATE TABLE sphinx_search&lt;br /&gt;(&lt;br /&gt;    id          INTEGER NOT NULL,&lt;br /&gt;    weight      INTEGER NOT NULL,&lt;br /&gt;    query       VARCHAR(3072) NOT NULL,&lt;br /&gt;    group_id    INTEGER,&lt;br /&gt;    INDEX(query)&lt;br /&gt;) ENGINE=SPHINX CONNECTION="sphinx://localhost:3312/myindex";&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;We are now getting closer towards the end. You might wanna know how do we apply this full-text sphinx search ? Don't ask because it is damn easy. Just use below query statement;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;select users.id, login_name, full_name, address, email from users, sphinx_search &lt;br /&gt;left outer join profiles on profiles.user_id = users.id&lt;br /&gt;where users.id = sphinx_search.id&lt;br /&gt;and query = 'hello world'&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;And DONE!! you have successfully implemented full-text search in your application. Personally, I have been using sphinx a little while and I'm impressed with the performance. You'll consider using sphinx if you really need a solution for full-text searching or when you have a large collection of data in your databases. There are a lot of things about sphinx I didn't mentioned here, but treat this as a starting point not a destination. Life is just like that. You will need to learn more yourself. &lt;br /&gt;&lt;br /&gt;That's all for today. Happy learning !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-5136209070512730206?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/5136209070512730206/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/03/searching-through-sphinxse.html#comment-form' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/5136209070512730206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/5136209070512730206'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/03/searching-through-sphinxse.html' title='Searching through sphinxSE'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-6663531346270386267</id><published>2009-02-25T13:29:00.001+08:00</published><updated>2009-02-25T14:38:48.629+08:00</updated><title type='text'>Happy Wednesday</title><content type='html'>Hi, I'm writing something today just to say happy Wednesday to everyone. Being in a busy mode, it is never going to be an easy task for me to post another useful information here. I have a lot of other commitments especially with my current project. Having said that, life as a programmer always deal with something unexpected. Time is golden and you know that. I've been spending lots of my time working with something which required me to think beyond tomorrow. It's all about problem solving. Definitely, It's not a life related problems which I think even complicated than I ever thought. So, Happy Wednesday!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-6663531346270386267?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/6663531346270386267/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/02/happy-wednesday.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6663531346270386267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6663531346270386267'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/02/happy-wednesday.html' title='Happy Wednesday'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-4009951725581761541</id><published>2009-02-16T18:55:00.002+08:00</published><updated>2009-02-16T19:01:02.916+08:00</updated><title type='text'>An empty update..</title><content type='html'>V-day has gone. Are you guys happy ? (smiling face). Well, I guess you are. Tapi ada juga yang sedih2 time V-day kan..well, that's life..things are not always as what we wanted it to be..who knows maybe one day, the light of happiness would be yours..it could be. So,let the past be the past (pandai2 ja sy ckp kan)..hahah..&lt;br /&gt;&lt;br /&gt;For me, everything gone fine except for one thing, my current projects. I'm talking about my job. Well, currently, Me and my colleague are working on Pentaho (what the hell is this). It's a software for enterprise reporting and analysis. We are trying to integrate it into our current web Application. But It's been over a week now and everything seems to be not working properly. It is all java &amp; jsp based and I don't even have basic in that languages. What the heck Man..mo buka kitab pun nda sempat sudah..end of feb mesti mo siap..But, that's not a big problem at all..what matters is that, how we goin to solve the problem..I like this challenge, indeed.&lt;br /&gt;&lt;br /&gt;By the way, No rails related post for today. Just an empty update.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-4009951725581761541?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/4009951725581761541/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/02/empty-update.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/4009951725581761541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/4009951725581761541'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/02/empty-update.html' title='An empty update..'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-3016293644913712319</id><published>2009-02-13T18:37:00.003+08:00</published><updated>2009-02-13T18:54:47.599+08:00</updated><title type='text'>Happy Valentine's Day</title><content type='html'>She's the one who always think of me. She wants me to be happy and success in my life. There were some moments, when she cried because of me. No matter how bad I'm, she never stops loving me. I know I'm not a good person, far from perfect..but I promise, for the rest of my life, my generations..you will always in my mind. Sorry and thanks for everything Mum. I love you. Happy valentine's day!!&lt;br /&gt;&lt;br /&gt;Man out there, please don't forget to buy your special someone a flowers. This is the opportunity for you to show how romantic you are. Be a gentleman !!&lt;br /&gt;&lt;br /&gt;Love is in the air.....but my love is too far from the sky..what can i say..hahahah&lt;br /&gt;&lt;br /&gt;Again, happy Valentine's Day and Have a nice weekend.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-3016293644913712319?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/3016293644913712319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/02/happy-valentines-day.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/3016293644913712319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/3016293644913712319'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/02/happy-valentines-day.html' title='Happy Valentine&apos;s Day'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-1116886774052072096</id><published>2009-02-10T18:45:00.004+08:00</published><updated>2009-02-11T09:57:35.992+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cms'/><title type='text'>Joomla (PHP-based CMS)</title><content type='html'>Today post, I'm going to show you how to install joomla on windows-based operating system. Anyone who planning to use joomla or anyone who want to test joomla on their own pc, stay tune. You are in a right place. Continue reading. All the basic steps and configurations here are pretty similar to how joomla work in live production. So it's always a best practice to test your web application in a development environment before running it live on the Internet. At the end of This tutorial, you will have a better understanding on joomla in action. Before we begin, you will need to download some pieces of software;&lt;br /&gt;&lt;br /&gt;1. Php &lt;br /&gt;2. Mysql &lt;br /&gt;3. Apache &lt;br /&gt;&lt;br /&gt;You will probably spend about an hour or two just to download the software. So while waiting..why don't you get yourself a cup of hot Milo.....&lt;br /&gt;&lt;br /&gt;Oh stupid me..I don't like to make things so complicated. So we got an easy &amp; lazy option. Forget about the software I mentioned above. You only need to download this wamp server. Get it &lt;a href="http://www.wampserver.com/en/download.php"&gt;here&lt;/a&gt; . Wamp stands for windows, apache, mysql adn php. Meaning to say we don't need to waste a ton of time installing these 3 software. Wamp server will do all the job for you.&lt;br /&gt;&lt;br /&gt;I assumed that you have successfully installed the wamp server. At the bottom right of your pc, there is a small wamp icon &amp; click on it. Click on "put online". This is to run the wamp server. &lt;br /&gt;&lt;br /&gt;So far everything goes well ? if for some reasons you can't get everything up, stop and tell me what was the problem. else....&lt;br /&gt;&lt;br /&gt;go download joomla &lt;a href="http://www.joomla.org/download.html"&gt;here &lt;/a&gt;&lt;br /&gt;Unzip it. Copy the unziped joomla folder and paste it here C:\wamp\www&lt;br /&gt;Now open up your browser and point to http://localhost/joomla&lt;br /&gt;&lt;br /&gt;If you can see the joomla index page, then you are the man because you have just set up your very own joomla cms. &lt;br /&gt;&lt;br /&gt;Now it's time to start the joomla installation and configurations.&lt;br /&gt;&lt;br /&gt;1. Choose language &gt; choose your language preference. look for dusun if any..hahaha&lt;br /&gt;2. Pre-installation Check &gt; just go next...&lt;br /&gt;3. License &gt; just go next&lt;br /&gt;4. Database configuration &gt;&lt;br /&gt;   Database Type: mysql&lt;br /&gt;   Host Name:localhost&lt;br /&gt;   username: just leave it blank&lt;br /&gt;   password: just leave it blank&lt;br /&gt;   Database Name:joomla&lt;br /&gt;4. FTP Configuration &gt; leave it blank..just go next&lt;br /&gt;5. Main Configuration &gt;&lt;br /&gt;   Site Name: whatever you want it la..&lt;br /&gt;   Your E-mail: &lt;-- whatever you want it la..&lt;br /&gt;   Admin Password: &lt;-- whatever you want it la..&lt;br /&gt;   Confirm Admin Password: &lt;-- whatever you want it la..&lt;br /&gt;   Please choose --&gt; Install default sample data &lt;br /&gt;   and go next&lt;br /&gt;6. Go to C:\wamp\www\Joomla and look for installation folder. Rename it to installation.bak&lt;br /&gt; &lt;br /&gt;Finished!! Now you can start to explore joomla. go to here http://localhost/joomla/administrator/&lt;br /&gt;&lt;br /&gt;Play with it!....&lt;br /&gt;&lt;br /&gt;For the best cms, give &lt;a href="http://drupal.org/"&gt;drupal&lt;/a&gt; a try (the winner of the 2008 Overall Open Source CMS Award). &lt;br /&gt;&lt;br /&gt;Have Fun!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-1116886774052072096?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/1116886774052072096/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/02/joomla-php-based-cms.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/1116886774052072096'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/1116886774052072096'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/02/joomla-php-based-cms.html' title='Joomla (PHP-based CMS)'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-9135541053143492912</id><published>2009-02-06T18:47:00.002+08:00</published><updated>2009-02-11T09:57:57.756+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>Happy weekend</title><content type='html'>Last post before I'm goin to hibernate for two days. As usual, when it comes to weekend (saturday &amp; sunday), I mostly trying to get myself away from sitting in front of the computer. Cukup2 la tu 5 hari dalam seminggu menghabiskan masa di depan komputer. Biarla hujung minggu saya menghabiskan masa dengan dunia luar..(haha) To summarize everything what D hell happened this week, to be honest, I'm stressed..hahaha..I've been working with lots of new technologies which totally new to me. But ya, I do like it. You know what, kadang2 bagus lagi penat sebab berlari 100 meter daripada penat berfikir!! You know what I mean. &lt;br /&gt;&lt;br /&gt;Have a Nice weekend kawan-kawan!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-9135541053143492912?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/9135541053143492912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/02/happy-weekend.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/9135541053143492912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/9135541053143492912'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/02/happy-weekend.html' title='Happy weekend'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-8216318045479973539</id><published>2009-02-03T09:19:00.002+08:00</published><updated>2009-02-11T09:59:43.843+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>It's February babe</title><content type='html'>It's been quite a long time since my last post about Ruby on Rails. There was so many recent updates and rails 2.3 is almost ready for release. &lt;br /&gt;&lt;code&gt;&lt;br /&gt;You can install the release candidate with:&lt;br /&gt;gem install rails --source http://gems.rubyonrails.org&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;So rails programmers, let's together do thorough testing of this release candidate. Looks very promising! As for the time being, I'm still working with java-based search engine call Lucene. Damn it. It force me to learn java. I hope I can post something about this once everything set up. &lt;br /&gt;&lt;br /&gt;Not forget to mention, we are now in month of February..time goes lightning fast..hopefully you guys had a much better day today than yesterday..happy working and stay tuned !!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-8216318045479973539?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/8216318045479973539/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/02/its-february-babe.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8216318045479973539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8216318045479973539'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/02/its-february-babe.html' title='It&apos;s February babe'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-7915070967258563776</id><published>2009-02-02T12:49:00.003+08:00</published><updated>2009-02-11T09:58:23.060+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tag'/><title type='text'>6 random things about Me</title><content type='html'>&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Link to the person who tagged you&lt;br /&gt;Post the rules on your blog&lt;br /&gt;Write six random things about yourself&lt;br /&gt;Tag six people to your post and link to them&lt;br /&gt;Let each person know they’ve been tagged and leave a&lt;br /&gt;comment on their blog&lt;br /&gt;Let the tagger know when your entry is up&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I WAS TAGGED BY &lt;a href="http://honeybuzzhive.blogspot.com/"&gt;HoneyBUZZ&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;So here we go;&lt;br /&gt;1. I'm not married yet (smiling)&lt;br /&gt;2. Sometimes I'm talkative. Sometimes I'm a man who speaks only when necessary. Depends on who I'm talking to.&lt;br /&gt;3. Most of the time, I don't share my problems with others.&lt;br /&gt;4. I look 2 years older than my actual age (orang yang cakap, not me..huhu)&lt;br /&gt;5. Apart from programming, I'm good in mixing different types of liquer, whisky or brandy. (tapi lupa2 sudah la..haha)&lt;br /&gt;6. I'm not generally interested in fashion or particularly stylish. I enjoyed simple &amp; casual life.  &lt;br /&gt;7. Ni rashia saya sebenar..oppsss..hanya 6 saja pula dibenarkan..so canceled. kuangkuangkuang!!&lt;br /&gt;&lt;br /&gt;So, Who are the next 6 people I'm gonna give this lovely tag? I decided to tag the person who never &lt;span style="font-weight:bold;"&gt;SEE or MEET&lt;/span&gt; me in real. (Only friends on my bloglist)&lt;br /&gt;&lt;br /&gt;1. &lt;a href="http://ensabie.blogspot.com/"&gt;Mell&lt;/a&gt; &lt;br /&gt;2. &lt;a href="http://davelynnerampas.wordpress.com/"&gt;Davelynne&lt;/a&gt; &lt;br /&gt;3. &lt;a href="http://sumunie.blogspot.com/"&gt;Sumunie&lt;/a&gt; &lt;br /&gt;4. &lt;a href="http://kengkaru.blogspot.com/"&gt;Kengkaru&lt;/a&gt; &lt;br /&gt;5. &lt;a href="http://www.thehornbill.blogspot.com/"&gt;Hornbill&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;Only five of them..haha..good luck!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-7915070967258563776?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/7915070967258563776/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/02/6-random-things-about-me.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/7915070967258563776'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/7915070967258563776'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/02/6-random-things-about-me.html' title='6 random things about Me'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-437863513498344304</id><published>2009-01-30T15:35:00.004+08:00</published><updated>2009-02-11T09:59:15.984+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='html'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>Design your Web site using CSS</title><content type='html'>As you know, CSS found everywhere inside between head and /head tag in HTML. Some web designers are good in designing but they do not know how to transform the design into a code in a way that web browsers can read it. Actually, it's easy to style your webpage using CSS. I'll show you the basic of how to do this. Ok, open up your favorite text-editor or you can happily use Notepad for this. We going to follow below standard weblayout for this project.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_s83-9MNxDbI/SYKuEFlsngI/AAAAAAAAAJ8/LA0HkmjvKXM/s1600-h/layout.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 257px;" src="http://1.bp.blogspot.com/_s83-9MNxDbI/SYKuEFlsngI/AAAAAAAAAJ8/LA0HkmjvKXM/s320/layout.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5296987496984124930" /&gt;&lt;/a&gt;&lt;br /&gt;A standard web page layout has what we call body, whole page, header, navigation bar, sidebar and mainpage. It could be more. Below is the complete html code for this project. It's only take a few lines of code to do the design. You can easily do this by using drag &amp; drop tools such as Macromedia Dreamweaver but believe me, it's very hard to maintain the code. The generated code also take hundred or even thousand lines of code and it's very hard to read. That's why I dont like it. Copy &amp; paste the code into your Notepad and save it as myweb.html and open it to see what does it look like. Learn it, try it and have fun with it. &lt;br /&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot;&lt;br /&gt;       &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot; xml:lang=&amp;quot;en&amp;quot; lang=&amp;quot;en&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;  &amp;lt;meta http-equiv=&amp;quot;content-type&amp;quot; content=&amp;quot;text/html;charset=UTF-8&amp;quot; /&amp;gt;&lt;br /&gt;  &amp;lt;title&amp;gt;MyWebSite&amp;lt;/title&amp;gt;&lt;br /&gt;  &amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;  &lt;br /&gt;   body {&lt;br /&gt;    font-family: sans-serif;&lt;br /&gt;    background: yellow;&lt;br /&gt;    margin: 0;&lt;br /&gt;    text-align: center;&lt;br /&gt;  }&lt;br /&gt; p, ol, ul, li,td {&lt;br /&gt;    font-family: verdana, arial, helvetica, sans-serif;&lt;br /&gt;    color: yellow;&lt;br /&gt;    font-size:   13px;&lt;br /&gt;    line-height: 18px;&lt;br /&gt;    list-style-type: none;&lt;br /&gt;  }&lt;br /&gt; #whole_page {&lt;br /&gt;    width: 60em;&lt;br /&gt;    margin: auto;&lt;br /&gt;    padding: 0;&lt;br /&gt;    text-align: left;&lt;br /&gt;    border-color:  red;&lt;br /&gt;    border:  dashed;&lt;br /&gt;    height: 100%;&lt;br /&gt;  }&lt;br /&gt; #header {&lt;br /&gt;    color: white;&lt;br /&gt;    background: purple; &lt;br /&gt;    font-size: 24pt;&lt;br /&gt;    padding: 0.5em;&lt;br /&gt;    margin-bottom: 0;&lt;br /&gt;    height: 80px;&lt;br /&gt;  }&lt;br /&gt; #nav {&lt;br /&gt;    color: red;&lt;br /&gt;    font-size: 10pt;&lt;br /&gt;    font-weight: bold;&lt;br /&gt;    background: blue;&lt;br /&gt;    padding: 0.3em;&lt;br /&gt;  }&lt;br /&gt; #nav a, #nav a:visited  {&lt;br /&gt;    color: white;&lt;br /&gt;    text-decoration: none;&lt;br /&gt;  }&lt;br /&gt; #nav a:hover {&lt;br /&gt;    border-bottom: 2px dotted maroon;&lt;br /&gt;  }&lt;br /&gt; #content {&lt;br /&gt;    height: 350px;&lt;br /&gt;    background:  grey;&lt;br /&gt;    padding: 1em;&lt;br /&gt;  }&lt;br /&gt; #left_column {&lt;br /&gt;    float:  left;&lt;br /&gt;    width: 200px;&lt;br /&gt;    background-color:pink;&lt;br /&gt;    padding: 0;&lt;br /&gt;    border: 1px solid #aaa; &lt;br /&gt;    height: 300px;&lt;br /&gt;    text-decoration:underline;&lt;br /&gt;  }&lt;br /&gt; #main_content {&lt;br /&gt;    margin-left:  200px;&lt;br /&gt;    text-align: justify;&lt;br /&gt;    background-color:red;&lt;br /&gt;    border: 1px solid #aaa; &lt;br /&gt;    height: 300px;&lt;br /&gt;  }&lt;br /&gt;&amp;lt;/style&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt; &amp;lt;div id=&amp;quot;whole_page&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;  &amp;lt;div id=&amp;quot;header&amp;quot;&amp;gt;Welcome to mysite.com&amp;lt;/div&amp;gt;&lt;br /&gt;   &amp;lt;div id=&amp;quot;nav&amp;quot;&amp;gt;&lt;br /&gt;    &amp;lt;a href=&amp;quot;/#&amp;quot;&amp;gt;Home&amp;lt;/a&amp;gt; |&lt;br /&gt;    &amp;lt;a href=&amp;quot;/#&amp;quot;&amp;gt;About Us&amp;lt;/a&amp;gt; |&lt;br /&gt;    &amp;lt;a href=&amp;quot;/#&amp;quot;&amp;gt;Download&amp;lt;/a&amp;gt; |&lt;br /&gt;       &amp;lt;span style=&amp;quot;float: right&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;     &amp;lt;a href=&amp;quot;/#&amp;quot;&amp;gt;Login&amp;lt;/a&amp;gt; |&lt;br /&gt;        &amp;lt;a href=&amp;quot;/#&amp;quot;&amp;gt;Signup&amp;lt;/a&amp;gt; |&lt;br /&gt;       &amp;lt;/span&amp;gt;&lt;br /&gt;&lt;br /&gt;   &amp;lt;/div&amp;gt;&lt;br /&gt;   &lt;br /&gt;   &amp;lt;div id=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;    &amp;lt;p style=&amp;quot;color: green&amp;quot;&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;          &amp;lt;div id=&amp;quot;left_column&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;ul&amp;gt;&lt;br /&gt;&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;/#&amp;quot;&amp;gt;Home&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;/#&amp;quot;&amp;gt;About Us&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;/#&amp;quot;&amp;gt;Download&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;div id=&amp;quot;main_content&amp;quot;&amp;gt;&lt;br /&gt; &amp;lt;p&amp;gt;What is HTML? It is a special kind of text document that is used by Web browsers &lt;br /&gt; to present text and graphics. HTML documents are often refered to as &amp;quot;Web pages&amp;quot;. &lt;br /&gt; The browser retrieves Web pages from Web servers that thanks to the Internet, &lt;br /&gt; can be pretty much anywhere in World.&amp;lt;/p&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;   &amp;lt;/div&amp;gt;&lt;br /&gt; &amp;lt;/div&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;small&amp;gt;Copyright 2009. All rights reserved.&amp;lt;/small&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-437863513498344304?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/437863513498344304/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/01/design-your-web-site-using-css.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/437863513498344304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/437863513498344304'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/01/design-your-web-site-using-css.html' title='Design your Web site using CSS'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_s83-9MNxDbI/SYKuEFlsngI/AAAAAAAAAJ8/LA0HkmjvKXM/s72-c/layout.JPG' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-7587032895594247372</id><published>2009-01-23T17:38:00.004+08:00</published><updated>2009-02-11T10:00:13.453+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>Happy Chinese New Year 2009</title><content type='html'>Sempena tahun baru cina tahun 2009 ini, saya mengucapkan selamat tahun baru cina kepada seluruh warga cina, cino, dan rakyat malaysia umumnya. Semoga tahun ni 'fengsui' ada banyak bagus. Sempena tahun baru cina ini juga saya bercuti start dari esok sehingga la 28 Jan 2009. So, be happy, enjoy holiday and stay healthy!!&lt;br /&gt;&lt;br /&gt;Special wishes from&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_s83-9MNxDbI/SXmQyO1VplI/AAAAAAAAAJ0/OIUaf133EHM/s1600-h/clay2005.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 263px; height: 320px;" src="http://1.bp.blogspot.com/_s83-9MNxDbI/SXmQyO1VplI/AAAAAAAAAJ0/OIUaf133EHM/s320/clay2005.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5294422029600400978" /&gt;&lt;/a&gt;&lt;br /&gt;Clarence&lt;br /&gt;p/s: the picture taken 3years ago..hahaha.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-7587032895594247372?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/7587032895594247372/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/01/happy-chinese-new-year-2009.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/7587032895594247372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/7587032895594247372'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/01/happy-chinese-new-year-2009.html' title='Happy Chinese New Year 2009'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_s83-9MNxDbI/SXmQyO1VplI/AAAAAAAAAJ0/OIUaf133EHM/s72-c/clay2005.JPG' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-2940451679474276134</id><published>2009-01-20T09:38:00.003+08:00</published><updated>2009-02-11T10:00:39.222+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='html'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>HTML &amp; CSS</title><content type='html'>After done my blog walk to a few friend's site, I noticed that some of you are having problem with HTML or CSS. I must say that I'm proud of all of you. Because at least I know some of you are having hard time playing with HTML, CSS , or even JavaScript. Which is a good thing. I love to see more and more people who are good in HTML. So whenever you have free time, learn some basic HTML. &lt;a href="http://www.w3schools.com/"&gt;Here&lt;/a&gt; is a good website where you can start learning web stuff in no time. I used to learn from this website when I first started my programming. Honestly speaking, HTML &amp; CSS ain't hard to master. It's just a matter of time. With a basic knowledge in HTML &amp; CSS, you can do a lot of modification or enhancement to your blog. Another things I like to mention, if you're looking forward for a better &amp; faster web browser, give &lt;a href="http://www.google.com/chrome"&gt;this&lt;/a&gt; a try.&lt;br /&gt;&lt;br /&gt;p/s: Ohya, if you made HTML &amp; CSS changes to your blog, please always do backup or save a working copy of your html script. So that whenever you encountered a problem, you can always restore back to the previous working script.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-2940451679474276134?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/2940451679474276134/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/01/html-css.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/2940451679474276134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/2940451679474276134'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/01/html-css.html' title='HTML &amp; CSS'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-8125279411348608631</id><published>2009-01-19T18:25:00.003+08:00</published><updated>2009-02-11T10:01:04.009+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>An empty update..</title><content type='html'>Hi all..busy..busy..busy..itu la yang mampu saya katakan..sejak kebelakangan ni pun jarang ada masa untuk update blog. Masih ada hutang tag lagi ni..hehe..sorry la ya..nanti kalau ada masa I try k..kadang-kadang time di office saya tidak stress pun tiba2 jadi stress nampak colleague ke hulu ke hilir macam tu problem tidak pandai habis2..haha..anyway, thanks kawan2 sebab singgah2 di blog yang memboringkan ni..haha..stay cool, stay cute, and stay mantap ya!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-8125279411348608631?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/8125279411348608631/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/01/empty-update.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8125279411348608631'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8125279411348608631'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/01/empty-update.html' title='An empty update..'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-2861097735910479017</id><published>2009-01-15T17:15:00.002+08:00</published><updated>2009-02-11T10:01:41.911+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>Another searching tips</title><content type='html'>Type this in google search &lt;br /&gt;&lt;br /&gt;&lt;code&gt;*forgiv* drink*&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This query finds unforgivable drinking and forgiven drinkers. The query does not find unforgiving nondrinkers, since there is no * at the beginning of the clue word drink*.&lt;br /&gt;&lt;br /&gt;So you get the idea ? practice it, try it. Be a good searcher. Make google as your best friend but dont be a google hacker!! use it for good.&lt;br /&gt;&lt;br /&gt;Some dirty searches you might be interested. &lt;br /&gt;&lt;br /&gt;&lt;code&gt;"Active Webcam Page" inurl:8080&lt;/code&gt;&lt;br /&gt;&lt;code&gt;index.of.dcim&lt;/code&gt;&lt;br /&gt;&lt;code&gt;filetype:ctt "msn"&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;for more searching tips, &lt;a href="http://clarenceclay.blogspot.com/2008/11/searching-tips.html"&gt;read this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-2861097735910479017?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/2861097735910479017/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/01/another-searching-tips.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/2861097735910479017'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/2861097735910479017'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/01/another-searching-tips.html' title='Another searching tips'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-2437738059334425582</id><published>2009-01-13T17:18:00.002+08:00</published><updated>2009-01-13T17:26:37.425+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='informix'/><category scheme='http://www.blogger.com/atom/ns#' term='excalibur'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><title type='text'>Informix Search Engine</title><content type='html'>Today's post will be on Informix Database. Due to lack of documentations on the web, I decided to write a short tutorial on how to configure Informix database with Excalibur text search. It's all about search engine. If You have a need to implement a full text search in your web application, you are in the right place. Continue reading.&lt;br /&gt;&lt;br /&gt;Requirements&lt;br /&gt;1. Informix Dynamic Server 11.5&lt;br /&gt;2. Excalibur 1.3&lt;br /&gt;3. RedHat Linux Enterprise 4&lt;br /&gt;4. Terminal&lt;br /&gt;5. Knowledge in Informix database administrations (optional)&lt;br /&gt;&lt;br /&gt;Ok, I assumed that you have installed the IDS and Excalibur DataBlade modules.&lt;br /&gt;Well, installation part is not that difficult. But when it comes to configurations, make sure your brain is in gear 1. Otherwise, you will find your head banging against the wall. Next, if you have not created any dbspace or sbspace, you should create that first. To create a dbspace and sbspace, use the onconfig utilities;&lt;br /&gt;&lt;br /&gt;The following example creates a dbspace named dbsp1 with an initial offset of 0 and a size of 100 MB:&lt;br /&gt;&lt;code&gt;onspaces -c -d dbsp1 -p /Dbspace/dbsp1 -o 0 -s 100000&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The following example creates two sbspaces named sbsp1 with an initial offset of 0 and a size of 100 MB, and logging turned on: &lt;br /&gt;&lt;code&gt;onspaces -c -S sbsp1 -g 2 -p /SBspace/sbsp1 -o 0 -s 100000 -Df "LOGGING=ON" &lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Ok, done with db storage creation.&lt;br /&gt;&lt;br /&gt;Now, edit your ONCONFIG parameter. Look for SBSPACENAME and set the value to sbsp1 (the sbspace that we just created).&lt;br /&gt;&lt;br /&gt;Be sure to update the ONCONFIG file before start the database server.&lt;br /&gt;&lt;br /&gt;Now, it's time to initialize your database SERVER. You can do this by using oninit function;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;oninit -iv&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Now your database server is started and can now use the dbaccess to create, select and drop databases.&lt;br /&gt;&lt;br /&gt;OK, lets create a database call test. And create a table for this database call reports.&lt;br /&gt;&lt;code&gt;&lt;br /&gt;CREATE TABLE reports &lt;br /&gt;( &lt;br /&gt;doc_no INTEGER, &lt;br /&gt;author VARCHAR(60), &lt;br /&gt;title CHAR(255), &lt;br /&gt;);&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Before you can perform text search, you need to register the datablade modules first. Type&lt;br /&gt;&lt;br /&gt;&lt;code&gt;blademgr&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&gt;help&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;see the command on how to register the modules. It's pretty much straight forward.&lt;br /&gt;&lt;br /&gt;After the modules has been registered, you have to create an indexes. Each column you plan to search must be indexed.  &lt;br /&gt;&lt;br /&gt;The following example creates an etx index on the title column that is of type CHAR: &lt;br /&gt;&lt;br /&gt;&lt;code&gt;CREATE INDEX idx1 ON reports (title etx_char_ops) USING etx  IN sbsp1;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Now with indexes and excalibur set up, you can fire a query to perform a full text search;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;SELECT title FROM reports&lt;br /&gt;WHERE etx_contains(title, Row(’get ready’)&lt;br /&gt;);&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;And done ! That's all.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-2437738059334425582?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/2437738059334425582/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/01/informix-search-engine.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/2437738059334425582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/2437738059334425582'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/01/informix-search-engine.html' title='Informix Search Engine'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-8604426817718931254</id><published>2009-01-02T10:51:00.004+08:00</published><updated>2009-02-11T10:02:55.461+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby on rails'/><title type='text'>Rails Updates</title><content type='html'>It's been a while I haven't post anything about Ruby on Rails. I didn't code anything in rails for the last couple of weeks and goodness, there are already a lot of updates from the edge rails. Meaning to say I need to keep myself always up-to-date. I've gone through all the updates and here are the major changes. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Merb is being merged into Rails 3.0&lt;/span&gt;&lt;br /&gt;Rails 3.0 is not officially released yet but the main idea behind it is that Merb team is putting their efforts into bringing all of the key Merb ideas into Rails 3. For those who have no idea what's Merb all about, &lt;a href="http://merbivore.com/"&gt;check this out&lt;/a&gt;!.&lt;br /&gt;&lt;br /&gt;Anyway, Rails 2.3 is just around the corner and as soon as that’s done Rails 3 is going to kick ass. Seems like 2009 gonna kill me!! lol&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-8604426817718931254?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/8604426817718931254/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2009/01/rails-updates.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8604426817718931254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8604426817718931254'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2009/01/rails-updates.html' title='Rails Updates'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-8262310897479727427</id><published>2008-12-31T13:00:00.003+08:00</published><updated>2009-02-11T10:03:31.501+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>GOODBYE 2008 AND WELCOME TO 2009</title><content type='html'>&lt;span style="font-style:italic;"&gt;(New Year is about 11 hours to go (last time of 2008) at this time of writing. I do it on purpose)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Impressive year of 2008 has gone. It is all over now. What left is an unforgotten wonderful memories that happened throughout the years. We gonna miss it. Now, we are in year 2009 and I can feel there are so many challenges waiting out there. Another prosperous year has just begun. What are my resolutions for this lucky year of 2009? Life is just wonderful and I’m sure nobody wants to live life like “the big fish in a small fond” isn’t it? If you know what’s that mean. For me, of course I have a lot of things in mind what should be done and what are my target and maybe a tiny part of my life have to be changed. OK, I will just summarize what are the things need to be done this year and onwards.&lt;br /&gt;&lt;br /&gt;1. Further study&lt;br /&gt;I am thinking about further study. I’m planning to take a Master in Software engineering. Since I'm a full time programmer, I have no choice but to take a class in every weekend only. I have not decided which University to go. I will decide later.&lt;br /&gt;&lt;br /&gt;2. My job&lt;br /&gt;I must say this is a big challenge for me everyday. I have less than 2 years experience in programming especially in web development and that is still not enough to determine my future. So I think I will not change my job for the time being unless there is really good opportunity. I can say my life is all about gamble. There are only two probabilities. If or Else!!&lt;br /&gt;&lt;br /&gt;3. Myself on weight&lt;br /&gt;Apparently, I’m very observing with my weight. Weight keeps finding me whenever I’m trying to lose them. But never mind. I’m trying hard this year to lose about 10KG. That should be OK I guess.&lt;br /&gt;&lt;br /&gt;4. Myself on Love&lt;br /&gt;I’m not married yet anyway. But when the time comes, I must think about it. Who on earth doesn’t want to have own family? Love is not my first priority this year as I need to concentrate more on my career. It is just too complicated for me for the time being. Do I have gf? I should not talk about this here. It’s too personal or rather complicated. But honestly, I have no idea about this. Let fate decide which way to go. &lt;br /&gt;&lt;br /&gt;5. Myself on life&lt;br /&gt;I’m happy with my life now. I have a lot of good friends and really had a good time with them. I don’t know what they think about me, but I can’t tell how much I appreciate them. So in year 2009, I want nothing but a good friends, better environment, better life, good health and also good income. Seriously.&lt;br /&gt;&lt;br /&gt;I think that’s all about what should take place in 2009. Surely there are other things might happens as time goes. I just need to GETReady all the time. So I’m officially started my first blog post for this year. I’m looking forward to share more on programming (theory, tutorial or real-time example), and what’s going on in my life as well. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Lastly, Happy New Year 2009 and let’s started our brand new life style. Change to better!! Throw away all the bad things!! Start new life!! Love ourselves!!  And be happy always!!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To all who happen to read my post, two thumbs up!! I sing you a song. It sounds like this…..&lt;br /&gt;&lt;br /&gt;Don’t worry.. &lt;br /&gt;About a thing..&lt;br /&gt;Cause every little thing.. &lt;br /&gt;Gonna be all right..&lt;br /&gt;&lt;br /&gt;That’s all. Thank you very much and WELCOME TO 2009!! Keep rockin !!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-8262310897479727427?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/8262310897479727427/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/12/goodbye-2008-and-welcome-to-2009.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8262310897479727427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8262310897479727427'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/12/goodbye-2008-and-welcome-to-2009.html' title='GOODBYE 2008 AND WELCOME TO 2009'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-8174184347732352339</id><published>2008-12-10T18:19:00.006+08:00</published><updated>2009-02-11T10:04:05.166+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>I'll just summarize..</title><content type='html'>It’s December again. See how time flies. Feel like everything happens very fast. If I could summarize everything what happened in year 2008, there is only one phrase in my mind. It is ‘what a good start.’ I graduated with a degree in multimedia technology in late 2007. Believe it on not, I’ve never felt enjoy with my major. Been 3 years in University, I've learned almost nothing. I still remember one of my lecturers told me that I’ll find my way once I leave the University. I could not believe what he said is absolutely true. When I was in U, I hardly believe that one day I could find a job. Just a couple of weeks after graduation, I have been offered a job as a programmer in one of the IT Company in Sabah. I was lucky at that time because being a programmer is always my big dreams. I’m not saying that I have a good working experience prior to joining this company but with dedication and a strong feel to achieve high, I manage to put myself at a good level. I put priority in every aspect of my life and that’s a key to success, I believe. I’ve learned not to depend on someone to do a job. This is very important when you have to do something yourself. I gained lots of self-confident when dealing with critical situations. Have you ever heard of people say ‘don’t say you can do this if you don’t know how to do that’ or in very simple term ‘things are easier said than done’? Yup, it’s not true at all. If there is logic behind it, lots of things can be done. Simple as that and that is my principle. As I’ve been said before, if you never take risk, you’ll never learn and improve and will always remain the same. Through the year, I have changed a lot. I’m on my way to be an expert. How long it takes to be an expert, I don’t know. As I said before, this year is a good starting point for me. Things got done just the way I planned it. I must say I have started my long journey and will never stop. It is likely a destiny that never ends. I just hope next year will be better than this year. &lt;br /&gt;&lt;br /&gt;   To all my friends, I’m not the best person to advice but ya, enjoy every single moment in our life. Appreciate it. Never blame yourself for not being a better person and the most important thing is, try to appreciate people all around you. Without their support (physically or emotionally), you’ll never be as what you are, today. &lt;br /&gt;&lt;br /&gt;   Christmas is coming very soon. I always remind myself to take a moment and think back what I have done for the past few years. I might have hurt someone’s feelings, not being appreciative and many more things I couldn’t remember. All these things make me think deeply what does Christmas really mean to me. Rather than being happy and jingle all the way, there is still sorrow...that’s part of life..don’t know how to say. From the bottom of my heart, I would like to take this opportunity to say &lt;span style="font-weight:bold;"&gt;thank you and sorry for everything&lt;/span&gt;. &lt;br /&gt;I think this is my last post for this year. Friends, visitors, once again, I wish you a happy merry Christmas. If anyone’s plan an open house, don’t fail to remember inviting me! &lt;br /&gt;&lt;br /&gt;Again, &lt;span style="font-weight:bold;"&gt;MERRY CHRISTMAS AND HAPPY NEW YEAR 2009!&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-8174184347732352339?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/8174184347732352339/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/12/ill-just-summarize.html#comment-form' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8174184347732352339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8174184347732352339'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/12/ill-just-summarize.html' title='I&apos;ll just summarize..'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-9108258955026656071</id><published>2008-12-02T15:34:00.007+08:00</published><updated>2009-02-11T10:05:11.772+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby on rails'/><title type='text'>Learning Ruby On Rails</title><content type='html'>Newbie, beginner or anyone who want to learn web programming, I highly recommend You to take a deep look at this &lt;a href="http://media.rubyonrails.org/video/rails_blog_2.mov"&gt;new 15-minute blog video on Rails 2.2&lt;/a&gt;. You will learn webblog with comments, Ajax, ATOM feed, XML, JSON, and much more in just 15 minutes. Thanks to Ryan's. He is one of the great man in Ruby on Rails community.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-9108258955026656071?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/9108258955026656071/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/12/learning-ruby-on-rails.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/9108258955026656071'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/9108258955026656071'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/12/learning-ruby-on-rails.html' title='Learning Ruby On Rails'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-6842583606228253856</id><published>2008-12-02T10:21:00.002+08:00</published><updated>2009-02-11T10:05:51.896+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><category scheme='http://www.blogger.com/atom/ns#' term='sphinx'/><title type='text'>MySQL installation on Linux-based systems (with SphinxSE)</title><content type='html'>Installing MySQL on windows-based OS is a straight-forward process but not in Linux. If you want to install MySQL and SphinxSE on Linux OS, I assumed that you have basic knowledge of bash linux commands and mysql as well. Ok, here are the instructions. I will be compiling the current version of sphinx with mysql (5.0.51). Get the packages first; Just open up your terminal and type&lt;br /&gt;&lt;br /&gt;&lt;code&gt;wget http://www.sphinxsearch.com/downloads/sphinx-0.9.8.tar.gz&lt;/code&gt;&lt;br /&gt;&lt;code&gt;wget http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-5.0.51b.tar.gz/from/http://mysql.he.net/&lt;/code&gt;&lt;br /&gt;&lt;code&gt;tar -zxvf sphinx*&lt;/code&gt;&lt;br /&gt;&lt;code&gt;tar -zxvf mysql*&lt;/code&gt;&lt;br /&gt;&lt;code&gt;yum -y install bison patch automake libtool&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;If this is your first time installing mysql, make sure user "mysql" already exists. If not, create one&lt;br /&gt;&lt;br /&gt;&lt;code&gt;groupadd mysql&lt;/code&gt;&lt;br /&gt;&lt;code&gt;useradd -g mysql mysql&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Ok, continue with patching mysql source with sphinxSE&lt;br /&gt;&lt;br /&gt;&lt;code&gt;cd mysql*&lt;/code&gt;&lt;br /&gt;assumed that your mysql and sphinx installation folder are under root directory&lt;br /&gt;&lt;code&gt;patch -p1 &lt; /root/sphinx-0.9.8/mysqlse/sphinx.5.0.37.diff&lt;/code&gt;&lt;br /&gt;make sure everything ok without any error&lt;br /&gt;&lt;code&gt;BUILD/autorun.sh&lt;/code&gt;&lt;br /&gt;&lt;code&gt;mkdir sql/sphinx&lt;/code&gt;&lt;br /&gt;&lt;code&gt;cp /root/sphinx-0.9.8/mysqlse/* sql/sphinx&lt;/code&gt;&lt;br /&gt;&lt;code&gt;./configure --prefix=/usr/local/mysql --with-sphinx-storage-engine&lt;/code&gt;&lt;br /&gt;&lt;code&gt;make&lt;/code&gt;&lt;br /&gt;&lt;code&gt;make install&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Ok, once the installation process done, you need to configure mysql&lt;br /&gt;&lt;br /&gt;&lt;code&gt;cp support-files/my-small.cnf /etc/my.cnf&lt;/code&gt;&lt;br /&gt;&lt;code&gt;chown root /etc/my.cnf&lt;/code&gt;&lt;br /&gt;&lt;code&gt;chgrp root /etc/my.cnf&lt;/code&gt;&lt;br /&gt;&lt;code&gt;chmod 644 /etc/my.cnf&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Last, we need to edit the file&lt;br /&gt;&lt;br /&gt;&lt;code&gt;nano /etc/my.cnf&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Search for [mysqld] clause, and add immediately below it:&lt;br /&gt;&lt;code&gt;user = mysql&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;save all changes (ctr X)&lt;br /&gt;&lt;br /&gt;For the first time usage, MySQL needs a "mysql" database. To create this database, simply run:&lt;br /&gt;&lt;code&gt;/usr/local/mysql/bin/mysql_install_db&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Now, start the MySQL server for the first time&lt;br /&gt;&lt;code&gt;/usr/local/mysql/bin/mysqld_safe&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Connect to MySQL server:&lt;br /&gt;&lt;code&gt;/usr/local/mysql/bin/mysql -u root &lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Dont forget to set root user's password. You can do this by simply run &lt;br /&gt;&lt;code&gt;/usr/local/mysql/bin/mysql_secure_installation&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;or use following method&lt;br /&gt;&lt;br /&gt;&lt;code&gt;DELETE FROM mysql.user WHERE User = '';&lt;/code&gt;&lt;br /&gt;&lt;code&gt;FLUSH PRIVILEGES;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;SELECT Host, User FROM mysql.user; &lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Look for the record that has root in the User column and something other than localhost in the Host column. This is the host_name.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;SET PASSWORD FOR 'root'@'localhost' = PASSWORD('new_password');&lt;/code&gt;&lt;br /&gt;&lt;code&gt;SET PASSWORD FOR 'root'@'host_name' = PASSWORD('new_password');&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;After finished, exit MySQL: &lt;code&gt;exit&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;restart mysql server&lt;br /&gt;&lt;code&gt;/usr/local/mysql/bin/mysqladmin -u root -p shutdown&lt;/code&gt;&lt;br /&gt;&lt;code&gt;/usr/local/mysql/bin/mysqld_safe &lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Set up an automatic startup after each system reboot. cd to your mysql source installation tarball&lt;br /&gt;&lt;code&gt;cp support-files/mysql.server /etc/init.d/mysql&lt;/code&gt;&lt;br /&gt;&lt;code&gt;chmod 755 /etc/init.d/mysql&lt;/code&gt;&lt;br /&gt;&lt;code&gt;chkconfig --add mysql&lt;/code&gt;&lt;br /&gt;&lt;code&gt;chkconfig --level 35 mysql on &lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Ok, lets check it out if SphinxSE exist&lt;br /&gt;&lt;br /&gt;mysql &gt; show engines;&lt;br /&gt;&lt;br /&gt;you will see something like below&lt;br /&gt;&lt;br /&gt;*************************************&lt;br /&gt;Engine: SPHINX&lt;br /&gt;Support: YES&lt;br /&gt;Comment: Sphinx storage engine 0.9.8&lt;br /&gt;*************************************&lt;br /&gt;&lt;br /&gt;You are now ready to explore the power of SphinxSE. Just like the power of how google search engine works. The next part of this tutorial, I'll show you how to use SphinxSE. Now, time to drink beer.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-6842583606228253856?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/6842583606228253856/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/12/mysql-installation-on-linux-based.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6842583606228253856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6842583606228253856'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/12/mysql-installation-on-linux-based.html' title='MySQL installation on Linux-based systems (with SphinxSE)'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-6273000143191781815</id><published>2008-11-28T14:17:00.002+08:00</published><updated>2009-02-11T10:06:13.368+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>Simple as that</title><content type='html'>Most of us want to practice the things we're already good at, and avoid the things we suck at. We stay average or intermediate amateurs forever. &lt;br /&gt;&lt;br /&gt;Think about it..again, anyone willing to do what's required to keep getting better will get better&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-6273000143191781815?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/6273000143191781815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/simple-as-that.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6273000143191781815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6273000143191781815'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/simple-as-that.html' title='Simple as that'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-3646237287621344437</id><published>2008-11-26T08:38:00.002+08:00</published><updated>2009-02-11T10:06:47.433+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>Short post today</title><content type='html'>No rails related post for today as I've been busy with lots of new things need to be done. Yesterday I spent whole day just trying to get something to run. After hacking here and there, finally it's work. But im not going to post what it is, because im trying as much as i can to not make my readers feel headache. You know la. Ohya, for those whom I have mentioned before, there is a plan to develop a website (not decided yet). But for sure this gonna be a trademark once the project is completed. So for now, if anyone's interested, just buzz me ok.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-3646237287621344437?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/3646237287621344437/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/short-post-today.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/3646237287621344437'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/3646237287621344437'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/short-post-today.html' title='Short post today'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-3425289514699006653</id><published>2008-11-24T12:19:00.001+08:00</published><updated>2009-02-11T10:07:06.743+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby on rails'/><title type='text'>Rails 2.2 is done !</title><content type='html'>As you probably already know, Rails 2.2 is finally done. It has a number of new and improved features. I haven't had time to fully look into it yet but seems like I'll really enjoy the internationalization. Awesome, Congratulations on the release!&lt;br /&gt;&lt;br /&gt;As always, there are only 2 lines of code to get the latest and greatest Rails 2.2&lt;br /&gt;&lt;code&gt;gem update --system&lt;/code&gt;&lt;br /&gt;&lt;code&gt;gem install rails&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-3425289514699006653?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/3425289514699006653/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/rails-22-is-done.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/3425289514699006653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/3425289514699006653'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/rails-22-is-done.html' title='Rails 2.2 is done !'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-5355573481127400552</id><published>2008-11-18T18:22:00.004+08:00</published><updated>2009-02-11T10:07:20.372+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>Current mood:sleepy (6:21PM)</title><content type='html'>Just got back to my desk. As usual, completed day 2 of my Citrix training. Honestly speaking, I have a better understanding now on how does Citrix works. Basically, lets suppose you have installed Microsoft words on Windows server 2003 and you wanted to access that application on your own computer which doesn't have microsoft office installed. So in order to access that application, you must have Citrix installed on that server and have it properly configured. It is more like Client and Server communications. That's all about Citrix (it is actually more than that). The hardest part is how you gonna configure Citrix working together with Active Directory, Domain Control and so on. So far, everything is ok and Im looking forward to the next level. I mean tommorow. &lt;br /&gt;&lt;br /&gt;Tips of the day:&lt;br /&gt;Again, another searching tips. if you want to find a certain files or documents on the internet, always use &lt;span style="font-weight:bold;"&gt;filetype:pdf clarence&lt;/span&gt; or &lt;span style="font-weight:bold;"&gt;filetype:doc helloworld&lt;/span&gt; or whatever you want la..try it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-5355573481127400552?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/5355573481127400552/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/current-moodsleepy-621pm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/5355573481127400552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/5355573481127400552'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/current-moodsleepy-621pm.html' title='Current mood:sleepy (6:21PM)'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-1310969543281484584</id><published>2008-11-18T08:43:00.001+08:00</published><updated>2009-02-11T10:07:40.649+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>Happy tuesday</title><content type='html'>I think I still have time to write something here. Nothing much to say la..just wanna share sikit2 story about whats interesting on yesterday Citrix training. I was one of the yang ikut tu training la. Yang lain dari UMS KK dan UMS Labuan. Know what, this is the things that I cant believe. Can you imagine seorang &lt;span style="font-weight:bold;"&gt;PEGAWAI TEKNOLOGI MAKLUMAT&lt;/span&gt; have no idea bila kena tanya what is TCP/IP ? and lots of funy2 things happen la..haha..saya bukan la cakap saya ni tau semua pasal IT tapi kalau sudah jadi IT officer tu, takkan la basic pun nda tau kan ?? so..no comment la.. but ya, the training was very interesting. I was impressed!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-1310969543281484584?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/1310969543281484584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/happy-tuesday.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/1310969543281484584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/1310969543281484584'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/happy-tuesday.html' title='Happy tuesday'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-6897962410036369311</id><published>2008-11-14T18:34:00.002+08:00</published><updated>2009-02-11T10:08:00.991+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>Have a Nice weekend.</title><content type='html'>Starting from Monday next week, I'll be attending Citrix training for the whole week and will probably be not available to do any updates to this blog. So I'm gonna make sure to get enough rest this weekend. To all, have a nice weekend..&lt;span style="font-weight:bold;"&gt;stay cool..stay health..and don't forget to smile always !!&lt;/span&gt;..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-6897962410036369311?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/6897962410036369311/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/have-nice-weekend.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6897962410036369311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6897962410036369311'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/have-nice-weekend.html' title='Have a Nice weekend.'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-5147017402278429570</id><published>2008-11-14T07:56:00.002+08:00</published><updated>2009-02-11T10:08:35.252+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql injection'/><category scheme='http://www.blogger.com/atom/ns#' term='ruby on rails'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><title type='text'>SQL Injection</title><content type='html'>SQL injection is hardly a problem and common attack in web applications. It is important to understand how this SQL injection works. SQL injection attacks aim at influencing database queries by manipulating web application parameters. A major goal of SQL injection attacks is to bypass authorization. Another goal is to carry out data manipulation or reading arbitrary data. Here is an example of how not to use user input data in a query:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;Project.find(:all, :conditions =&gt; "name = '#{params[:name]}'")&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This could be in a search action and the user may enter a project's name that he wants to find. If a malicious user enters ' OR 1=1', the resulting SQL query will be:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;SELECT * FROM projects WHERE name = '' OR 1 --'&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The two dashes start a comment ignoring everything after it. So the query returns all records from the projects table including those blind to the user. This is because the condition is true for all records.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-5147017402278429570?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/5147017402278429570/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/sql-injection.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/5147017402278429570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/5147017402278429570'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/sql-injection.html' title='SQL Injection'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-6538646882522590676</id><published>2008-11-13T17:57:00.004+08:00</published><updated>2009-02-11T10:08:50.384+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tag'/><title type='text'>Was tagged by bossing..</title><content type='html'>First of all, bossing, boleh ka ni saya reject ko pya tag ? camera fon saya tiba2 temasuk sana gelas saya ba time minum cofee tadi..hahah..ba yalah, kena tagged suda pa blh buat..apa2pun check it out..&lt;br /&gt;&lt;br /&gt;Tag Instructions&lt;br /&gt;&lt;br /&gt;1. Take a recent picture of yourself or take a picture of yourself right NOW!.&lt;br /&gt;--&gt; OK Done. &lt;br /&gt;2. DON'T change your clothes, DON'T fix your hair... Just take a picture.&lt;br /&gt;--&gt; Manada sy change apa2 ni..&lt;br /&gt;3. Post that picture with NO editing.&lt;br /&gt;--&gt; Alala..ni tag ah kasi malu saya ja oo..ndapala..hahaha..&lt;br /&gt;4. Post these instruction with your picture.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_s83-9MNxDbI/SRv6s03dQrI/AAAAAAAAAHE/vvuWKovmaQc/s1600-h/CRIM0035.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 200px; height: 150px;" src="http://2.bp.blogspot.com/_s83-9MNxDbI/SRv6s03dQrI/AAAAAAAAAHE/vvuWKovmaQc/s200/CRIM0035.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5268079837152363186" /&gt;&lt;/a&gt;&lt;br /&gt;--&gt; Ni la jadinya. I just cant believe it's me..haha&lt;br /&gt;5. Tag 10 people to do this.&lt;br /&gt;--&gt;Nda mo la saya mentag orang ni..heheh..&lt;br /&gt;&lt;br /&gt;p/s : thank you bossing kerana sudi mentag saya. kalau ada lagi lain kali, I'd say no thanks la..hahaha&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-6538646882522590676?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/6538646882522590676/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/was-tagged-by-bossing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6538646882522590676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6538646882522590676'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/was-tagged-by-bossing.html' title='Was tagged by bossing..'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_s83-9MNxDbI/SRv6s03dQrI/AAAAAAAAAHE/vvuWKovmaQc/s72-c/CRIM0035.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-2565732235952099990</id><published>2008-11-13T11:51:00.004+08:00</published><updated>2009-02-11T10:09:06.881+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby on rails'/><title type='text'>Finding out who/how many people are logged on</title><content type='html'>If you are using restfull_authentication, add the following code in your login_controller; and dont forget to add before_filter in applicationController&lt;br /&gt;It would be something like this;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;def login&lt;br /&gt; if logged_in?&lt;br /&gt; current_user.update_attribute("updated_at",Time.now)&lt;br /&gt; #your code goes here&lt;br /&gt;end &lt;/code&gt;&lt;br /&gt;&lt;br /&gt;then simply put this in your view &lt;br /&gt;&lt;br /&gt; &lt;code&gt;&lt;% @user_online = User.find(:all, :conditions =&gt; ["updated_at &gt; ?",2.minutes.ago]) %&gt;&lt;br /&gt;&lt;% @user_online.each do |u| %&gt;&lt;br /&gt;&lt;%= u.login_name %&gt;&lt;br /&gt;&lt;% end %&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Just incase if you are not sure whats going on, If you're logged in to any website for the last 2 minutes, you're considered online.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-2565732235952099990?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/2565732235952099990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/finding-out-whohow-many-people-are.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/2565732235952099990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/2565732235952099990'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/finding-out-whohow-many-people-are.html' title='Finding out who/how many people are logged on'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-8041542206716999496</id><published>2008-11-13T09:21:00.009+08:00</published><updated>2009-02-11T10:09:21.270+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>Pictures inspire me today</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_s83-9MNxDbI/SRuB2n0SloI/AAAAAAAAAG0/aI6XaBVj0a0/s1600-h/userhierarchyofneeds.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 399px; height: 396px;" src="http://2.bp.blogspot.com/_s83-9MNxDbI/SRuB2n0SloI/AAAAAAAAAG0/aI6XaBVj0a0/s400/userhierarchyofneeds.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5267946964541150850" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_s83-9MNxDbI/SRuBzleW24I/AAAAAAAAAGs/iUrj1U-45b8/s1600-h/glibwin.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 333px; height: 400px;" src="http://2.bp.blogspot.com/_s83-9MNxDbI/SRuBzleW24I/AAAAAAAAAGs/iUrj1U-45b8/s400/glibwin.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5267946912372677506" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_s83-9MNxDbI/SRuBvuQLi-I/AAAAAAAAAGk/9x_ZtXEV-nY/s1600-h/dumbgroups2.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 368px;" src="http://3.bp.blogspot.com/_s83-9MNxDbI/SRuBvuQLi-I/AAAAAAAAAGk/9x_ZtXEV-nY/s400/dumbgroups2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5267946846009658338" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_s83-9MNxDbI/SRuBsas0huI/AAAAAAAAAGc/u5imNlqNutM/s1600-h/buythis.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 250px;" src="http://3.bp.blogspot.com/_s83-9MNxDbI/SRuBsas0huI/AAAAAAAAAGc/u5imNlqNutM/s400/buythis.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5267946789221467874" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_s83-9MNxDbI/SRuBpU8t-rI/AAAAAAAAAGU/e4o9aNX2QDc/s1600-h/buildingausercommunity.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 267px;" src="http://4.bp.blogspot.com/_s83-9MNxDbI/SRuBpU8t-rI/AAAAAAAAAGU/e4o9aNX2QDc/s400/buildingausercommunity.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5267946736137927346" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_s83-9MNxDbI/SRuBkmY7juI/AAAAAAAAAGM/ksZq-CpWSqQ/s1600-h/beginnings.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 149px;" src="http://3.bp.blogspot.com/_s83-9MNxDbI/SRuBkmY7juI/AAAAAAAAAGM/ksZq-CpWSqQ/s400/beginnings.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5267946654920314594" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-8041542206716999496?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/8041542206716999496/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/pictures-inspire-me-today.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8041542206716999496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8041542206716999496'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/pictures-inspire-me-today.html' title='Pictures inspire me today'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_s83-9MNxDbI/SRuB2n0SloI/AAAAAAAAAG0/aI6XaBVj0a0/s72-c/userhierarchyofneeds.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-3815865749994071586</id><published>2008-11-13T09:04:00.000+08:00</published><updated>2008-11-13T09:05:39.164+08:00</updated><title type='text'>Scaling Ruby Envycast</title><content type='html'>&lt;object width="400" height="302"&gt;&lt;param name="allowfullscreen" value="true" /&gt;&lt;param name="allowscriptaccess" value="always" /&gt;&lt;param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2164455&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=&amp;amp;fullscreen=1" /&gt;&lt;embed src="http://vimeo.com/moogaloop.swf?clip_id=2164455&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=&amp;amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="302"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;a href="http://vimeo.com/2164455"&gt;Scaling Ruby Envycast&lt;/a&gt; from &lt;a href="http://vimeo.com/user496766"&gt;EnvyAds&lt;/a&gt; on &lt;a href="http://vimeo.com"&gt;Vimeo&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-3815865749994071586?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/3815865749994071586/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/scaling-ruby-envycast.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/3815865749994071586'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/3815865749994071586'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/scaling-ruby-envycast.html' title='Scaling Ruby Envycast'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-6418714355108729622</id><published>2008-11-13T08:48:00.002+08:00</published><updated>2009-02-11T10:09:49.259+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby on rails'/><title type='text'>DB2 on Rails now available</title><content type='html'>The IBM API development team has released version 1.0 of the ibm_db gem, which includes both the Ruby driver, and the Rails adapter, for IBM’s databases. With Rails 2.2, which is about to be released, you can simply run&lt;br /&gt;&lt;br /&gt;&lt;code&gt;rails my_app -d ibm_db&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;You can install the &lt;a href="http://www-01.ibm.com/software/data/db2/express/download.html?S_CMP=ECDDWW01&amp;S_TACT=ACDB202"&gt;IBM DB2&lt;/a&gt; database as follows (on Linux)&lt;br /&gt;&lt;code&gt;&lt;br /&gt;$ . /home/db2inst1/sqllib/db2profile&lt;br /&gt;$ export IBM_DB_DIR=/home/db2inst1/sqllib&lt;br /&gt;$ export IBM_DB_LIB=/home/db2inst1/sqllib/lib&lt;br /&gt;$ gem update&lt;br /&gt;$ gem install ibm_db&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;On Windows, simply run:&lt;br /&gt;&lt;code&gt;gem install ibm_db&lt;code&gt;&lt;br /&gt;&lt;br /&gt;For more info, visit &lt;a href="http://db2onrails.com/2008/11/08/a-major-milestone-for-db2-on-rails/"&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-6418714355108729622?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/6418714355108729622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/db2-on-rails-now-available.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6418714355108729622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6418714355108729622'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/db2-on-rails-now-available.html' title='DB2 on Rails now available'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-337412589064598208</id><published>2008-11-12T18:45:00.008+08:00</published><updated>2009-02-11T10:10:05.167+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby on rails'/><title type='text'>Good code refactoring</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Before&lt;/span&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;if name.blank?&lt;br /&gt;       @users = User.paginate(&lt;br /&gt;           :per_page =&gt; 100,&lt;br /&gt;           :page =&gt; params[:page],&lt;br /&gt;           :conditions =&gt; conditions&lt;br /&gt;          )&lt;br /&gt;     else&lt;br /&gt;       @users = User.paginate(&lt;br /&gt;           User.find_by_name(name),&lt;br /&gt;           :per_page =&gt; 100,&lt;br /&gt;           :page =&gt; params[:page],&lt;br /&gt;           :conditions =&gt; conditions&lt;br /&gt;          )&lt;br /&gt;end&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;After&lt;/span&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;options = {:per_page =&gt; 100,&lt;br /&gt;           :page =&gt; params[:page],&lt;br /&gt;           :conditions =&gt; conditions&lt;br /&gt;          }&lt;br /&gt;@users = name.blank? ? User.paginate(options) : User.paginate(User.find_by_name(name), options) &lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Nice and perfect !!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-337412589064598208?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/337412589064598208/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/example-of-good-code-refactoring.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/337412589064598208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/337412589064598208'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/example-of-good-code-refactoring.html' title='Good code refactoring'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-4231833062688587759</id><published>2008-11-12T17:39:00.006+08:00</published><updated>2009-02-11T10:10:21.131+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>Searching Tips</title><content type='html'>Ok, So today I wanna share something about how to search something on the Internet. Yup I know you guys know how to search. But sometimes when you do search, the search results is not exactly what you are looking for. Actualy there are a few symbols that we can use to perform search. Remember, searching for specific words or phrases are two different things. &lt;br /&gt;&lt;br /&gt;Let's say you want to search for 'hello world'. YOu can use below operators;&lt;br /&gt;&lt;br /&gt;1. Using operator AND: type  &lt;code&gt;hello &amp; world&lt;/code&gt;&lt;br /&gt;2. Using operator OR: type  &lt;code&gt;hello | world&lt;/code&gt;&lt;br /&gt;3 Using operator NOT: type  &lt;code&gt;hello -world&lt;/code&gt;&lt;br /&gt;4 Using grouping: type  &lt;code&gt;(hello world)&lt;/code&gt;&lt;br /&gt;5 Using field search operator:type   &lt;code&gt;@title hello @body world&lt;/code&gt;&lt;br /&gt;6 Using phrase search operator: type  &lt;code&gt;"hello world"&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Applying above techniques while performing a search will return relevance search results. So try to play with it and you'll notice the difference. For a better search engine, always use google search because google is your best friend.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-4231833062688587759?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/4231833062688587759/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/searching-tips.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/4231833062688587759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/4231833062688587759'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/searching-tips.html' title='Searching Tips'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-2973808701591313911</id><published>2008-11-11T19:06:00.004+08:00</published><updated>2009-02-11T10:10:33.135+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>Book you must read</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_s83-9MNxDbI/SRloJUUdMeI/AAAAAAAAAGE/pWjr2FJwx5w/s1600-h/book_title.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 400px;" src="http://2.bp.blogspot.com/_s83-9MNxDbI/SRloJUUdMeI/AAAAAAAAAGE/pWjr2FJwx5w/s400/book_title.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5267355748469125602" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You can get it &lt;a href="http://www.amazon.com/Its-Not-How-Good-Want/dp/0714843377"&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-2973808701591313911?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/2973808701591313911/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/book-you-must-read.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/2973808701591313911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/2973808701591313911'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/book-you-must-read.html' title='Book you must read'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_s83-9MNxDbI/SRloJUUdMeI/AAAAAAAAAGE/pWjr2FJwx5w/s72-c/book_title.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-5015065204882469691</id><published>2008-11-11T18:08:00.004+08:00</published><updated>2009-02-11T10:10:53.134+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>life as a programmer...</title><content type='html'>Hmm..i spend most of my time concentrating on programming stuff which i noticed nobody really interested..hehe. Nevermind. For those whom keep reading my blog post, thank you very much. I guess you all hardly understand what the hell this blog all about. heheh. You know, life as a programmer is always boring..but honestly, I love my career and I love to solve a problem..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-5015065204882469691?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/5015065204882469691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/life-as-programmer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/5015065204882469691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/5015065204882469691'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/life-as-programmer.html' title='life as a programmer...'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-4689207611810674645</id><published>2008-11-11T13:37:00.001+08:00</published><updated>2009-02-11T10:11:04.460+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='database'/><title type='text'>DbVisualizer</title><content type='html'>DbVisualizer is a database tool for developers and database administrators, helping you with both the development and maintenance of your databases. It is the perfect solution since the same tool can be used on all major operating systems accessing a wide range of databases. Try it for free. Get it &lt;a href="http://www.dbvis.com/products/dbvis/?gclid=COuV3_Oz7JYCFRY6egodamVJrw"&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-4689207611810674645?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/4689207611810674645/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/dbvisualizer.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/4689207611810674645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/4689207611810674645'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/11/dbvisualizer.html' title='DbVisualizer'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-1817474739494553980</id><published>2008-10-31T17:24:00.006+08:00</published><updated>2009-02-11T10:11:30.321+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web service'/><title type='text'>Web Services</title><content type='html'>Everyone in my workplace keep talking about web service. What so special with this web services ? Actually, it's become important only when you need it. Talking about web giants such as google and yahoo, these websites has their own APIs thus make them a perfect apps with their own web services. &lt;br /&gt;&lt;br /&gt;Most web services are based on one of three architectures: &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Representational State Transfer&lt;/span&gt; (REST), &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Simple Object Access Protocol&lt;/span&gt; (SOAP), or &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Extensible Markup Language Remote Procedural Calls&lt;/span&gt; (XML-RPC)&lt;br /&gt;&lt;br /&gt;Frankly speaking, I only know and have little experience with REST. But Im eager to know how to build web service. That's fine and Im actually in luck. Building web service clients with Ruby on Rails requires only a few simple steps and involves just a few Ruby libraries. So, my next presentation would be "web services with Ruby on Rails".&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-1817474739494553980?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/1817474739494553980/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/web-services.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/1817474739494553980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/1817474739494553980'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/web-services.html' title='Web Services'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-6491835968147514188</id><published>2008-10-31T13:45:00.002+08:00</published><updated>2008-10-31T13:47:42.499+08:00</updated><title type='text'>Im off to a Halloween</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_s83-9MNxDbI/SQqb-BRQ0eI/AAAAAAAAAFc/IbDL28G0XzM/s1600-h/300_155055.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 300px; height: 225px;" src="http://1.bp.blogspot.com/_s83-9MNxDbI/SQqb-BRQ0eI/AAAAAAAAAFc/IbDL28G0XzM/s400/300_155055.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5263190604330881506" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-6491835968147514188?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/6491835968147514188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/im-off-to-halloween.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6491835968147514188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6491835968147514188'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/im-off-to-halloween.html' title='Im off to a Halloween'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_s83-9MNxDbI/SQqb-BRQ0eI/AAAAAAAAAFc/IbDL28G0XzM/s72-c/300_155055.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-4095120560056384292</id><published>2008-10-30T09:38:00.005+08:00</published><updated>2009-02-11T10:11:54.102+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby on rails'/><title type='text'>Rails 2.2 RC1</title><content type='html'>Below is some of the improvements in Rails 2.2 RC1&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1. Improving performance in association_id methods&lt;/span&gt;&lt;br /&gt;&lt;code&gt;Post.first.comment_ids&lt;br /&gt;=&gt; SELECT 'comment'.id FROM 'comments' WHERE ('comments'.post_id = 1)&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2. Another Dynamic Finder&lt;/span&gt;&lt;br /&gt;&lt;code&gt;find_last_by&lt;br /&gt;find_by&lt;br /&gt;Comment.find_last_by_author("Clarence")&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;and a lot of new features of Rails 2.2 that I can't cover here.&lt;br /&gt;&lt;br /&gt;As usual, to test the Rails 2.2 release candidate, you can install with:&lt;br /&gt;&lt;code&gt;gem install rails -s http://gems.rubyonrails.org -v 2.2.0&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;I just can't wait to see how awesome it is.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-4095120560056384292?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/4095120560056384292/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/rails-22-rc1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/4095120560056384292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/4095120560056384292'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/rails-22-rc1.html' title='Rails 2.2 RC1'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-4385448450617498909</id><published>2008-10-30T09:08:00.001+08:00</published><updated>2008-10-30T09:08:57.792+08:00</updated><title type='text'>Top 10 IT certifications</title><content type='html'>Sun Certified Programmer for Java &lt;br /&gt;  Microsoft Certified Professional (MCP) &lt;br /&gt;  Cisco Certified Network Associate (CCNA) &lt;br /&gt;  Microsoft Certified Systems Engineer (MCSE) &lt;br /&gt;  MySQL Certification &lt;br /&gt;  Linux+ &lt;br /&gt;  Microsoft Certified Application Developer (MCAD)  &lt;br /&gt;  Dell certification &lt;br /&gt;  Microsoft Certified Database Administration (MCDBA) &lt;br /&gt;&lt;br /&gt;p/s: I'd love to get CCNA.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-4385448450617498909?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/4385448450617498909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/top-10-it-certifications.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/4385448450617498909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/4385448450617498909'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/top-10-it-certifications.html' title='Top 10 IT certifications'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-7402735722143153334</id><published>2008-10-30T08:56:00.002+08:00</published><updated>2008-10-30T09:00:14.005+08:00</updated><title type='text'>Hoe much should I be earning ?</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_s83-9MNxDbI/SQkGcJBOUwI/AAAAAAAAAFU/auAXBLzC1s0/s1600-h/itss_img_2.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 361px; height: 316px;" src="http://2.bp.blogspot.com/_s83-9MNxDbI/SQkGcJBOUwI/AAAAAAAAAFU/auAXBLzC1s0/s400/itss_img_2.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5262744720086291202" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.activetechpros.com/index.htm"&gt;ActiveTechPros&lt;/a&gt; is a destination for IT professionals to benchmark their salary and know their tech worth in different job markets.&lt;br /&gt;&lt;br /&gt;For those IT expert, you should know how much you're supposed to get. Don't be surprised!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-7402735722143153334?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/7402735722143153334/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/hoe-much-should-i-be-earning.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/7402735722143153334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/7402735722143153334'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/hoe-much-should-i-be-earning.html' title='Hoe much should I be earning ?'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_s83-9MNxDbI/SQkGcJBOUwI/AAAAAAAAAFU/auAXBLzC1s0/s72-c/itss_img_2.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-5799340258134986105</id><published>2008-10-29T09:02:00.001+08:00</published><updated>2008-10-29T09:05:12.039+08:00</updated><title type='text'>It's 9.05AM......</title><content type='html'>Does anyone knows how to use &lt;a href="http://www-01.ibm.com/software/data/informix/ids-express/features/?S_CMP=rnav"&gt;INformix DB&lt;/a&gt; which running on windows ? I've been struggling for almost a week just to make it work but no luck. Sia-sia saja download tu IDS for windows.  Now i know why developer tries to get rid of windows. For right now, Im downloading the IDS for Linux. I hope I could make everything works before my talk on friday this week. If not then..mengelentong saja la..what to do..&lt;br /&gt;&lt;br /&gt;Different story, apa software untuk download yang paling hebat ah?? Now Im using &lt;a href="http://www.flashget.com/index_en.htm"&gt;FlashGet&lt;/a&gt;..the download speed is quite good, but Im not impress.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-5799340258134986105?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/5799340258134986105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/its-905am.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/5799340258134986105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/5799340258134986105'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/its-905am.html' title='It&apos;s 9.05AM......'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-9056803720195462147</id><published>2008-10-24T08:44:00.000+08:00</published><updated>2008-10-24T08:45:55.060+08:00</updated><title type='text'>Rails 2.1.2: Security, other fixes</title><content type='html'>As always, you can install with:&lt;br /&gt;&lt;code&gt;gem install rails --version 2.1.2&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;For more info, visit &lt;a href="http://weblog.rubyonrails.org/"&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-9056803720195462147?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/9056803720195462147/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/rails-212-security-other-fixes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/9056803720195462147'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/9056803720195462147'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/rails-212-security-other-fixes.html' title='Rails 2.1.2: Security, other fixes'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-8491665827993370579</id><published>2008-10-24T08:41:00.000+08:00</published><updated>2008-10-24T08:42:24.354+08:00</updated><title type='text'>Test Driven Development (TDD)</title><content type='html'>Those who experienced developing a large enterprise web-based applications knew what exactly is TDD. Personally, I have not using this methodology  when developing an application. Now I realize that I have no choice but to write better code. Basically, TDD is used to write a tests first before proceed to write code. I would say that the standard rails test unit is good but I thing this is time for me to start learning TDD together with RSpec. it's the sort of thing I can't understand until I try it and you should too.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-8491665827993370579?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/8491665827993370579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/test-driven-development-tdd.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8491665827993370579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8491665827993370579'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/test-driven-development-tdd.html' title='Test Driven Development (TDD)'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-298327045262945337</id><published>2008-10-22T18:36:00.009+08:00</published><updated>2009-02-11T10:12:21.206+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby on rails'/><title type='text'>How to use class variables (Ruby)</title><content type='html'>&lt;code&gt;class Human&lt;br /&gt;  @@clarence = { :buy =&gt; "Car" }&lt;br /&gt;  &lt;br /&gt;def clarence&lt;br /&gt;   @@clarence&lt;br /&gt;  end&lt;br /&gt;&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;Human.class&lt;br /&gt;=&gt; NoMethodError: undefined method 'clarence' for Human:Class&lt;br /&gt;clay = Human.new&lt;br /&gt;=&gt; #&lt;MyClass:0xb5d293e8&gt;&lt;br /&gt;clay.clarence&lt;br /&gt;=&gt; {:buy=&gt;"Car"} &lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-298327045262945337?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/298327045262945337/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/how-to-use-class-variables-ruby.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/298327045262945337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/298327045262945337'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/how-to-use-class-variables-ruby.html' title='How to use class variables (Ruby)'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-5388242629535053425</id><published>2008-10-22T16:25:00.010+08:00</published><updated>2009-02-11T10:12:39.592+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby on rails'/><title type='text'>File Uploading using Rails</title><content type='html'>You may have a requirement in which you want your site visitors to upload a file on your server. Rails makes it very easy to handle this requirement. It can be done in less than 5 minutes using ruby on rails. Ok, assuming you have your web application ready. Now, just follow my simple steps below;&lt;br /&gt;&lt;br /&gt;1.Install &lt;a href="http://rubyforge.org/projects/rmagick/"&gt;rmagic&lt;/a&gt;&lt;br /&gt;2.Open up command prompt and cd/to/your/root/app_directory&lt;br /&gt;3.Type the following command to install atachment_fu plugin&lt;br /&gt;&lt;code&gt;ruby script/plugin install http://svn.techno-weenie.net/projects/plugins/attachment_fu/&lt;/code&gt;&lt;br /&gt;you'll see a bunch of files created&lt;br /&gt;&lt;br /&gt;4.Generate a scaffold for User. Just type the following command&lt;br /&gt;&lt;code&gt;ruby script/generate scaffold User&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;5.Modify your migration file to look like this&lt;br /&gt;&lt;code&gt; class CreateUsers &lt; ActiveRecord::Migration&lt;br /&gt;  def self.up&lt;br /&gt;    create_table :users do |t|&lt;br /&gt;      t.column :parent_id,  :integer&lt;br /&gt;      t.column :content_type, :string&lt;br /&gt;      t.column :filename, :string    &lt;br /&gt;      t.column :thumbnail, :string &lt;br /&gt;      t.column :size, :integer&lt;br /&gt;      t.column :width, :integer&lt;br /&gt;      t.column :height, :integer&lt;br /&gt;    end&lt;br /&gt;  end&lt;br /&gt; def self.down&lt;br /&gt;    drop_table :users&lt;br /&gt;  end&lt;br /&gt;end&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;5.Run rake db:migrate&lt;br /&gt;6.Now, modify your new.html.erb file to look like below;&lt;br /&gt;&lt;code&gt;&lt;%= error_messages_for :user %&gt;&lt;br /&gt;&lt;% form_for :user, :url =&gt; { :action =&gt; "create" }, :html =&gt; { :multipart =&gt; true }do |f| -%&gt;&lt;br /&gt;  &lt;label for="user"&gt;Upload A Picture:&lt;/label&gt;&lt;br /&gt;    &lt;%= f.file_field :uploaded_data %&gt;&lt;br /&gt;    &lt;%= submit_tag 'Create' %&gt;&lt;br /&gt;  &lt;% end -%&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;7. Now, modify  your index.html.erb file to look like below;&lt;br /&gt;&lt;code&gt;&lt;% for user in @users %&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;&lt;%= link_to image_tag(user.public_filename(:thumb)), user.public_filename %&gt;&lt;/td&gt;&lt;br /&gt; &lt;/tr&gt;&lt;% end %&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;8. Modify your User.rb (User model). Populate this file with the following code&lt;br /&gt;&lt;code&gt;class User &lt; ActiveRecord::Base&lt;br /&gt;   has_attachment :content_type =&gt; :image, &lt;br /&gt;                 :storage =&gt; :file_system, &lt;br /&gt;                 :max_size =&gt; 500.kilobytes,&lt;br /&gt;                 :resize_to =&gt; '320x200&gt;',&lt;br /&gt;                 :thumbnails =&gt; { :thumb =&gt; '100x100&gt;' }&lt;br /&gt;  end&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;9. There is no step 9 and you're done. Don't forget to restart the server.&lt;br /&gt;Enjoy!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-5388242629535053425?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/5388242629535053425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/file-uploading-using-rails.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/5388242629535053425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/5388242629535053425'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/file-uploading-using-rails.html' title='File Uploading using Rails'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-8331535508256163713</id><published>2008-10-22T11:49:00.003+08:00</published><updated>2009-02-11T10:12:54.237+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby on rails'/><title type='text'>Ruby On Rails Vs PHP</title><content type='html'>&lt;object width="320" height="266" class="BLOG_video_class" id="BLOG_video-19d25dfdcf2c39e4" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"&gt;&lt;param name="movie" value="http://www.youtube.com/get_player"&gt;&lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;param name="allowfullscreen" value="true"&gt;&lt;param name="flashvars" value="flvurl=http://v12.nonxt1.googlevideo.com/videoplayback?id%3D19d25dfdcf2c39e4%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1329941272%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D7E935E00D863FC5EC281FBE1B0F44333D04F5FBE.4F76151407D6FB3204B4E49758211803A7F6086C%26key%3Dck1&amp;amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D19d25dfdcf2c39e4%26offsetms%3D5000%26itag%3Dw160%26sigh%3Dh6_Kg0exZaAqLvHkrL43wa6JArI&amp;amp;autoplay=0&amp;amp;ps=blogger"&gt;&lt;embed src="http://www.youtube.com/get_player" type="application/x-shockwave-flash"width="320" height="266" bgcolor="#FFFFFF"flashvars="flvurl=http://v12.nonxt1.googlevideo.com/videoplayback?id%3D19d25dfdcf2c39e4%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1329941272%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D7E935E00D863FC5EC281FBE1B0F44333D04F5FBE.4F76151407D6FB3204B4E49758211803A7F6086C%26key%3Dck1&amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D19d25dfdcf2c39e4%26offsetms%3D5000%26itag%3Dw160%26sigh%3Dh6_Kg0exZaAqLvHkrL43wa6JArI&amp;autoplay=0&amp;ps=blogger"allowFullScreen="true" /&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-8331535508256163713?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='enclosure' type='video/mp4' href='http://www.blogger.com/video-play.mp4?contentId=19d25dfdcf2c39e4&amp;type=video%2Fmp4' length='0'/><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/8331535508256163713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/ruby-on-rails-vs-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8331535508256163713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8331535508256163713'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/ruby-on-rails-vs-php.html' title='Ruby On Rails Vs PHP'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-5978416147924466039</id><published>2008-10-22T08:17:00.003+08:00</published><updated>2008-10-22T08:22:49.949+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='os'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Ubuntu 8.10 coming soon</title><content type='html'>Im a &lt;a href="http://www.ubuntu.com/"&gt;Ubuntu&lt;/a&gt; lover. Only few days to go until Ubuntu 8.10 is released. Cant wait to check it out..there must be new great features..&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_s83-9MNxDbI/SP5xUoMUKCI/AAAAAAAAAE8/Ia3caro5ZC0/s1600-h/242733-480-360.png"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_s83-9MNxDbI/SP5xUoMUKCI/AAAAAAAAAE8/Ia3caro5ZC0/s400/242733-480-360.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5259766014015711266" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_s83-9MNxDbI/SP5xhXLRigI/AAAAAAAAAFE/q_yai7Tgg8M/s1600-h/242734-480-360.png"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_s83-9MNxDbI/SP5xhXLRigI/AAAAAAAAAFE/q_yai7Tgg8M/s400/242734-480-360.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5259766232786242050" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_s83-9MNxDbI/SP5xne-j4OI/AAAAAAAAAFM/vN5X57XiqME/s1600-h/242735-480-360.png"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_s83-9MNxDbI/SP5xne-j4OI/AAAAAAAAAFM/vN5X57XiqME/s400/242735-480-360.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5259766337959616738" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-5978416147924466039?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/5978416147924466039/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/ubuntu-810-coming-soon.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/5978416147924466039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/5978416147924466039'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/ubuntu-810-coming-soon.html' title='Ubuntu 8.10 coming soon'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_s83-9MNxDbI/SP5xUoMUKCI/AAAAAAAAAE8/Ia3caro5ZC0/s72-c/242733-480-360.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-6974450964360844548</id><published>2008-10-21T18:41:00.002+08:00</published><updated>2008-10-21T18:45:24.571+08:00</updated><title type='text'>Orang paling pemalas di dunia</title><content type='html'>Ahli matematik adalah orang yang paling pemalas di dunia kerana mereka telah mencipta calculator. Disebabkan mereka malas mengira, mereka telah mencipta calculator yang dapat membantu mereka mengira dengan tepat dan cepat. 100000000 X lebih cepat. &lt;br /&gt;&lt;br /&gt;P/s : ya it's true. Just like me..get smart and get lazy..if you dig what i mean.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-6974450964360844548?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/6974450964360844548/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/orang-paling-pemalas-di-dunia.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6974450964360844548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6974450964360844548'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/orang-paling-pemalas-di-dunia.html' title='Orang paling pemalas di dunia'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-3262641743854044968</id><published>2008-10-21T18:16:00.004+08:00</published><updated>2008-10-21T18:30:42.154+08:00</updated><title type='text'>Today is better than yesterday</title><content type='html'>&lt;code&gt;1.days.from_now&lt;/code&gt; is better than &lt;code&gt;Date.today&lt;/code&gt;&lt;br /&gt;What a nice code ? And that's the reason why I would never want to go back to PHP.&lt;br /&gt;&lt;br /&gt;Apart from that, yaa..i do feel that today is better than what have i done yesterday. It's true.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-3262641743854044968?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/3262641743854044968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/today-is-better-than-yesterday.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/3262641743854044968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/3262641743854044968'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/today-is-better-than-yesterday.html' title='Today is better than yesterday'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-3788745015676101053</id><published>2008-10-21T07:59:00.004+08:00</published><updated>2008-10-21T08:07:44.631+08:00</updated><title type='text'>What Next ?</title><content type='html'>Time goes by very fast. Now, only 2 months left before year's end. Not much i've done for this year but ya, things went exactly as planned. Im proud of it. I really started to feel ready for any challenge. That's my resolution for this coming year. &lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_s83-9MNxDbI/SP0ch_Ws_DI/AAAAAAAAAE0/8TeSQ9SfBGM/s1600-h/Making_Happy.png"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_s83-9MNxDbI/SP0ch_Ws_DI/AAAAAAAAAE0/8TeSQ9SfBGM/s400/Making_Happy.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5259391310106524722" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Dont Forget to be happy. Smile always!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-3788745015676101053?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/3788745015676101053/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/what-next.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/3788745015676101053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/3788745015676101053'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/what-next.html' title='What Next ?'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_s83-9MNxDbI/SP0ch_Ws_DI/AAAAAAAAAE0/8TeSQ9SfBGM/s72-c/Making_Happy.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-2446567496120786334</id><published>2008-10-17T13:37:00.009+08:00</published><updated>2008-10-17T18:18:27.199+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='thinking_sphinx'/><title type='text'>Thinking sphinx</title><content type='html'>After about a day setting up &lt;a href="http://ts.freelancing-gods.com/usage.html"&gt;thinking_sphinx&lt;/a&gt; in one of my rails applications, I end up writing this simple guide to help people out there getting started with &lt;a href="http://ts.freelancing-gods.com/usage.html"&gt;thinking_sphinx&lt;/a&gt;. Before that, let me explain a bit what &lt;a href="http://ts.freelancing-gods.com/usage.html"&gt;thinking_sphinx&lt;/a&gt; is. &lt;a href="http://www.sphinxsearch.com/"&gt;Sphinx&lt;/a&gt; is used to perform full-text search in any web based application. Just like how Google search engine works. Currently, &lt;a href="http://www.sphinxsearch.com/"&gt;sphinx&lt;/a&gt; can only talk to &lt;a href="http://www.mysql.com/"&gt;Mysql&lt;/a&gt; and &lt;a href="http://www.postgresql.org/"&gt;PostgreSQL&lt;/a&gt; database. &lt;a href="http://ts.freelancing-gods.com/usage.html"&gt;Thinking_sphinx&lt;/a&gt; is a plugin for &lt;a href="http://www.rubyonrails.org/"&gt;rails&lt;/a&gt; to work with sphinx.&lt;br /&gt;Ok, I’m running on &lt;a href="http://www.centos.org/"&gt;Linux&lt;/a&gt; for this. Simply follow the steps below;&lt;br /&gt;&lt;br /&gt;1. Go get &lt;a href="http://www.sphinxsearch.com/"&gt;sphinx&lt;/a&gt; here. Download the source code: sphinx-0.9.8.tar.gz (728 KB)&lt;br /&gt;&lt;code&gt;tar zxvf sphinx-0.9.8.tar.gz&lt;br /&gt;cd sphinx-0.9.8&lt;br /&gt;./configure&lt;br /&gt;make&lt;br /&gt;make install&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Ok, assume that everything running fine. Next step is to install &lt;a href="http://git.or.cz/"&gt;git&lt;/a&gt;. Git is an open source version control system. Just like &lt;a href="http://subversion.tigris.org/"&gt;svn&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;2. Head on over to the &lt;a href="http://git.or.cz/"&gt;git download page&lt;/a&gt;. Download the tar.gz&lt;br /&gt;Refer to the step in no.1 to install the source code. &lt;br /&gt;&lt;br /&gt;3. Now grab the current version of thinking_sphinx&lt;br /&gt;&lt;code&gt;ruby script/plugin install git://github.com/freelancing-god/thinking-sphinx.git&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Ok. Finish. The installation process done.&lt;br /&gt;&lt;br /&gt;Now, it’s time to configure thinking_sphinx. We will work with indexes. So open up your Model.rb file and start create your own indexes. Just modify below code to suit your own requirements.&lt;br /&gt;&lt;code&gt;&lt;br /&gt;class User &lt; ActiveRecord::Base&lt;br /&gt;  define_index do&lt;br /&gt;    # fields&lt;br /&gt;    indexes [:first_name, :last_name], :as =&gt; :name, :sortable =&gt; true&lt;br /&gt;  end&lt;br /&gt;end&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Of course you can add more indexes if you want. I also assumed that your application ready with search function so that you can play with sphinx later on.&lt;br /&gt;&lt;br /&gt;Now, it’s time to rake your indexes.&lt;br /&gt;&lt;code&gt;cd to your/app/directory&lt;br /&gt;rake thinking_sphinx:index&lt;br /&gt;rake thinking_sphinx:start&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;DONE! Now you can test sphinx! It’s lightening fast. &lt;br /&gt;&lt;br /&gt;P/s: Some of you might get into trouble while perform above steps as I didn’t explained it in more detail. Treat it as a starting point not a destination. At least you’ll get idea all what you need to do.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-2446567496120786334?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/2446567496120786334/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/thinking-sphinx.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/2446567496120786334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/2446567496120786334'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/thinking-sphinx.html' title='Thinking sphinx'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-9214356012858167795</id><published>2008-10-13T17:11:00.001+08:00</published><updated>2008-10-13T17:17:26.424+08:00</updated><title type='text'>Full text search engine (Sphinx)</title><content type='html'>Im having a problem implementing full-text search engine in one of my rails application. I know ferret can perform such tasks but I have heard it has some stability issues. Finally i found Sphinx! Sphinx is a free open source SQL full-text search engine that is working well with mysql and postgreSQL. Unfortunately, Sphinx is not supporting Informix database yet. I have successfully implemented Sphinx in my application and i was impressed. The search speed was lightening fast. Currently known systems Sphinx has been successfully running on is Linux and Mac. It's pretty well documented on how to use sphinx with rails out there. So I won't be talking about installations and things like that here.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-9214356012858167795?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/9214356012858167795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/9214356012858167795'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/full-text-search-engine-sphinx.html' title='Full text search engine (Sphinx)'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-8014845867733552996</id><published>2008-10-08T16:36:00.003+08:00</published><updated>2008-10-08T16:41:52.216+08:00</updated><title type='text'>Always use unless instead of if</title><content type='html'>Why should you use &lt;code&gt;unless&lt;/code&gt; when it is little more than &lt;code&gt;if&lt;/code&gt; !?&lt;br /&gt;&lt;br /&gt;Because &lt;code&gt;unless&lt;/code&gt; let’s you write code like this:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;clarence.punch clarenceclay unless clarenceclay.is_hard?&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Isn’t that what code should look like!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-8014845867733552996?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/8014845867733552996/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/always-use-unless-instead-of-if.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8014845867733552996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8014845867733552996'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/always-use-unless-instead-of-if.html' title='Always use &lt;code&gt;unless&lt;/code&gt; instead of &lt;code&gt;if&lt;/code&gt;'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-3215932483496782867</id><published>2008-10-07T14:51:00.002+08:00</published><updated>2008-10-07T14:58:26.022+08:00</updated><title type='text'>named_scope using Ruby On Rails</title><content type='html'>Just recently, someone asked me how to use named_scope in Ruby on Rails. That is damm easy I can tell you. Lets check it out below code;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;example&lt;/span&gt;&lt;br /&gt;lets say you want to find certain User with status = active&lt;br /&gt;&lt;code&gt;User.find(:all, :conditions =&gt; {:active =&gt; true})&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;look nice Isn't It ?&lt;br /&gt;&lt;br /&gt;But using named_scope you can make your code much more nicer! Look at what I've done below;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;class User &lt; ActiveRecord::Base&lt;br /&gt;  named_scope :active, :conditions =&gt; {:active =&gt; true}&lt;br /&gt;end   &lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Then i can just call something like &lt;br /&gt;&lt;code&gt;User.active&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Just Nice..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-3215932483496782867?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/3215932483496782867/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/namedscope-using-ruby-on-rails.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/3215932483496782867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/3215932483496782867'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/namedscope-using-ruby-on-rails.html' title='named_scope using Ruby On Rails'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-1851022399563767704</id><published>2008-10-07T14:00:00.001+08:00</published><updated>2008-10-07T14:02:18.844+08:00</updated><title type='text'>OpenID</title><content type='html'>Do you have any idea what is OpenID? What's the use of OpenID? And why we need to use OpenID? Im going to develop simple website and make it OpenID enabled. To know more, please come to my sharing session next week at Srikom Ruby Lab. Questions are greatly welcome. Thanks.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-1851022399563767704?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/1851022399563767704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/openid.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/1851022399563767704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/1851022399563767704'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/10/openid.html' title='OpenID'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-2649084241653128237</id><published>2008-09-30T17:04:00.003+08:00</published><updated>2008-09-30T17:09:19.758+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hari Raya'/><title type='text'>Happy Hari Raya to all my Muslim friends</title><content type='html'>Wah, hari raya is coming..cant wait to eat nasi Briani. Hehe. I would like to take this opportunity to say happy hari raya to all my muslim friends. One best thing about hari raya is I can save lot of money. This is because I dont need to spend money to buy food. I can just go to my friend's house and eat for free..hehehe. To all my friends who lived out of KK, Im sorry I can't visit you. But if you can send me Kuih Raya, then i must said "apa salanya". hehehe.. Again, Happy Raya!.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-2649084241653128237?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/2649084241653128237/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/09/happy-hari-raya-to-all-my-muslim.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/2649084241653128237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/2649084241653128237'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/09/happy-hari-raya-to-all-my-muslim.html' title='Happy Hari Raya to all my Muslim friends'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-3428608860122518547</id><published>2008-09-26T17:30:00.002+08:00</published><updated>2008-09-26T17:34:42.520+08:00</updated><title type='text'>One year gone so well..</title><content type='html'>One year ago, I was nothing. I came to programming world with zero experience and today, i couldn't believe I can be at this level. One year experience in Ruby on Rails, I still consider myself as noob because there is a lot of things i still have to learn. Thanks to the person that I've learned so much. Thanks to the person who made my dream came true. You know, I always love programming and I knew I made the right decision. For everyone who happen to read this, what we have today is not forever so aim high &amp; achieve more.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-3428608860122518547?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/3428608860122518547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/09/one-year-gone-so-well.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/3428608860122518547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/3428608860122518547'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/09/one-year-gone-so-well.html' title='One year gone so well..'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-8676116457886747122</id><published>2008-09-26T11:15:00.002+08:00</published><updated>2008-09-26T11:21:09.772+08:00</updated><title type='text'>What is EdgeRails ?</title><content type='html'>Do you know that you can run your rails applications in the machine without rails installed ? the answer is yes you can. With EdgeRails, means you are running a local copy of a developmental version of Rails.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Advantage of EdgeRails&lt;/span&gt;&lt;br /&gt;You can run your super old application in the machine that running newest version of rails&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Disadvantage  of EdgeRails&lt;/span&gt;&lt;br /&gt;Developmental versions are not generally regarded to be stable. So it’s a tradeoff.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;How to running on EdgeRails ?&lt;/span&gt;&lt;br /&gt;Simply use this command from your application home directory &lt;br /&gt;&lt;code&gt;rake rails:freeze:edge&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;If you would like to run a specific revision of EdgeRails&lt;br /&gt;&lt;code&gt;rake rails:freeze:edge REVISION=1234&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;To revert to GemRails, issue the command:&lt;br /&gt;&lt;code&gt;rake rails:unfreeze&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;That command empties the vendor/rails directory.&lt;br /&gt;&lt;br /&gt;A third option is to issue this command:&lt;br /&gt;&lt;code&gt;rake rails:freeze:gems&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Thats all.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-8676116457886747122?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/8676116457886747122/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/09/what-is-edgerails.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8676116457886747122'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8676116457886747122'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/09/what-is-edgerails.html' title='What is EdgeRails ?'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-8225441396590865005</id><published>2008-09-24T14:43:00.005+08:00</published><updated>2008-09-24T14:55:22.737+08:00</updated><title type='text'>Programming tips (more to Ruby on Rails)</title><content type='html'>I was a speaker at last week sharing session with our software team. Below is what i have shared with other developers. This is just a self-advice so that we can become a better programmer. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1. Don’t code if you're not in a good mood.&lt;/span&gt;&lt;br /&gt;This is the things I've experience as a programmer. Sometimes when i feel lazy or something had just spoiled my mood, I can’t write code in an elegant way. Even worst, I can't figure out how to solve simple problem. Too bad. What I always did is, read/watch some good things to get me back on track.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2. Learn some basic JavaScript, Ajax, and CSS&lt;/span&gt;&lt;br /&gt;Because of everything can't be done in Ruby on Rails, you have to enhance your knowledge by learning JavaScript, Ajax or CSS or XML or HTML. Especially now we are in "web 2.0 technologies", all those web tools has become essentials.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;3. DRY - Don’t Repeat Yourself&lt;/span&gt;&lt;br /&gt;This tend to be popular trade mark invented by the core rails programmers. Why repeating your code when you can just write it all in one line? &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;4. Get rid of windows&lt;/span&gt;&lt;br /&gt;No offence. If you're open source programmer who has nothing to do with Microsoft tools, you better go for Linux distribution. Everything will run faster. I’m a windows user but...I just started don't like it.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;5. Be alert!&lt;/span&gt;&lt;br /&gt;Ruby on Rails community grow faster. If you are not aware of what's happening out there, you'll be left too far behind. Make yourself online most of the time. But remember, search for goodies only.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;6. Never copy and paste code if you don’t understand it.&lt;/span&gt;&lt;br /&gt;Copy &amp; Paste is a very popular trend for those programmers who had just step foot in the world of programming. I’m not saying anything wrong against but please understand every single line of 'copy &amp; paste" code.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;7. Follow the rails conventions&lt;/span&gt;&lt;br /&gt;If I could offer only one piece of advice, it would be this, follow the Rails conventions. Learning Ruby on Rails can be difficult, but applying this advice will make it much easier. For example table name should be plural, and for class name should be singular. If you break the rules, thats your own risk. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;8. Human first&lt;/span&gt;&lt;br /&gt;Code for human first, computer second. What i mean, make the code as readable as much as you can. &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;9. Refactoring&lt;/span&gt;&lt;br /&gt;If you want to be a better programming, learn refactoring. Never leave the code messy as it will be headache to maintain. That’s what I mean by writing beautiful code. Everybody wants to look great. Isn't It ?&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;10. Test driven development&lt;/span&gt;&lt;br /&gt;This is a fundamental when we run software testing. Knowing this method of testing can be your advantage. I won’t talk much on this because I haven’t use this technique before. Will give it a good read when I have free &lt;br /&gt;time.&lt;br /&gt;&lt;br /&gt;it's always a great feeling to share something.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-8225441396590865005?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/8225441396590865005/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/09/programming-tips-more-to-ruby-on-rails.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8225441396590865005'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/8225441396590865005'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/09/programming-tips-more-to-ruby-on-rails.html' title='Programming tips (more to Ruby on Rails)'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-6077297831286808313</id><published>2008-09-23T10:05:00.001+08:00</published><updated>2008-09-23T10:05:52.503+08:00</updated><title type='text'>Merb</title><content type='html'>MERB.You may have heard of, or be familiar with. aren't you? Having said that, Merb will be a strong contender for Rails. As i can say the code being used in merb is pretty similar to rails. Like Rails, merb is also an MVC framework which also support ActiveRecord. Im not really sure how powerful it is (merb) but for right now, rails is still a wonderful framework for me. With very little effort, you can build up some amazing sites.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-6077297831286808313?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/6077297831286808313/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/09/merb.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6077297831286808313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6077297831286808313'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/09/merb.html' title='Merb'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-4130740704821676716</id><published>2008-09-19T14:09:00.000+08:00</published><updated>2008-09-19T14:11:05.623+08:00</updated><title type='text'>lovdbyless</title><content type='html'>I've Recently downloaded a rails application called lovdbyless. It's a social networking site like friendster. The application is fully created using ruby on rails. I highly recommend newbies to take a look at this app. Very cool web site. I've experienced the pain while trying to get the app up and running but finally its work. Just ask me if you have trouble installing it. You can download it from &lt;a href="http://lovdbyless.com/"&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-4130740704821676716?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/4130740704821676716/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/09/lovdbyless.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/4130740704821676716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/4130740704821676716'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/09/lovdbyless.html' title='lovdbyless'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-3954915659036374542</id><published>2008-09-18T14:06:00.001+08:00</published><updated>2008-09-18T17:42:06.585+08:00</updated><title type='text'>So tired...</title><content type='html'>Im not stress but i just feel lazy to think and want to just do nothing. As a programmer, you need to always write beautiful code. What I mean by writing beautiful code are, its readable, scalable, nice and concise. Unfortunately I can't do that right now. Because im so lazy. Who cares.&lt;br /&gt;&lt;br /&gt;Beautiful code&lt;br /&gt;&lt;code&gt;User.find(:all, :conditions =&gt; ["id NOT IN (?)", [1,2]])&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Ugly code&lt;br /&gt;&lt;code&gt;User.find_by_sql(" select * from users where id NOT IN (1,2)") &lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-3954915659036374542?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/3954915659036374542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/09/so-tired.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/3954915659036374542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/3954915659036374542'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/09/so-tired.html' title='So tired...'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-6356690699233558571</id><published>2008-09-17T16:34:00.001+08:00</published><updated>2008-09-17T16:36:40.985+08:00</updated><title type='text'>Rails 2.0.4 and Rails 2.1.1</title><content type='html'>As you probably already know, Rails 2.0.4 and Rails 2.1.1 were released last week. Enjoy!&lt;br /&gt;&lt;br /&gt;To install, just do: gem install rails --version 2.1.1.&lt;br /&gt;&lt;br /&gt;Next upcoming release will be Rails 2.2 beta which is quite close. Cant Wait :-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-6356690699233558571?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/6356690699233558571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/09/rails-204-and-rails-211.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6356690699233558571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/6356690699233558571'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/09/rails-204-and-rails-211.html' title='Rails 2.0.4 and Rails 2.1.1'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3744504317625119163.post-4252218702088224293</id><published>2008-09-12T09:04:00.000+08:00</published><updated>2008-09-12T09:05:37.148+08:00</updated><title type='text'>Lotus Symphony. Be Free. Work Smart.</title><content type='html'>I knew this software since last week after my colleague told me something about this software from IBM. I just don't have time to install it as I've been a bit busy recently. Today, I manage to get Lotus Symphony and successfully installed it on my computer. For those who have no idea what is Lotus Symphony, Lotus Symphony was voted office productivity software product of the year for 2008. The only different is symphony is 100% free. In fact, Symphony even comes with its own browser. Lotus Symphony, beat out Microsoft Office, OpenOffice 2.3.1, ThinkFree Office and other nominees. Just nice. Why wait ? You can get it &lt;a href="http://symphony.lotus.com/software/lotus/symphony/home.nsf/home "&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3744504317625119163-4252218702088224293?l=clarenceclay.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://clarenceclay.blogspot.com/feeds/4252218702088224293/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://clarenceclay.blogspot.com/2008/09/lotus-symphony-be-free-work-smart.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/4252218702088224293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3744504317625119163/posts/default/4252218702088224293'/><link rel='alternate' type='text/html' href='http://clarenceclay.blogspot.com/2008/09/lotus-symphony-be-free-work-smart.html' title='Lotus Symphony. Be Free. Work Smart.'/><author><name>Clarence</name><uri>http://www.blogger.com/profile/11990462514687978782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
