<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>cawanpink.net</title>
	<atom:link href="http://cawanpink.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://cawanpink.net</link>
	<description>i dislike capital letters. i abuse ctrl-c and ctrl v</description>
	<lastBuildDate>Tue, 02 Mar 2010 02:24:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>virtualenv</title>
		<link>http://cawanpink.net/2010/03/virtualenv/</link>
		<comments>http://cawanpink.net/2010/03/virtualenv/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 02:24:37 +0000</pubDate>
		<dc:creator>cawanpink</dc:creator>
				<category><![CDATA[open source]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://cawanpink.net/?p=2179</guid>
		<description><![CDATA[I kept getting back to virtualenv and every time I would totally forget how to go about it and had to start googling. Every time. Frustrating. This is usually when Plone is involved. 
So.

$ sudo apt-get install python-virtualenv
$ virtualenv -p /usr/bin/python2.4 /home/cawanpink/python2.4
$ source /home/cawanpink/python2.4/bin/activate
(python2.4)$ deactivate

That&#8217;s

install
create the Python 2.4 virtual environment
activate the environment
to get out of [...]]]></description>
			<content:encoded><![CDATA[<p>I kept getting back to virtualenv and every time I would totally forget how to go about it and had to start googling. Every time. Frustrating. This is usually when Plone is involved. </p>
<p>So.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">$ sudo apt-get install python-virtualenv
$ virtualenv -p /usr/bin/python2.4 /home/cawanpink/python2.4
$ source /home/cawanpink/python2.4/bin/activate
(python2.4)$ deactivate</pre></div></div>

<p>That&#8217;s
<ul>
<li>install</li>
<li>create the Python 2.4 virtual environment</li>
<li>activate the environment</li>
<li>to get out of the environment</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://cawanpink.net/2010/03/virtualenv/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cheap cheap</title>
		<link>http://cawanpink.net/2010/02/cheap-cheap/</link>
		<comments>http://cawanpink.net/2010/02/cheap-cheap/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 19:21:57 +0000</pubDate>
		<dc:creator>cawanpink</dc:creator>
				<category><![CDATA[bookcrossing]]></category>
		<category><![CDATA[reading]]></category>

		<guid isPermaLink="false">http://cawanpink.net/?p=2171</guid>
		<description><![CDATA[After sooo many moons, I got this book.
I have quite a long list of books to read but have been resisting the urge to buy any coz I know they&#8217;ll end up on the shelf collecting dust. I like going to bookstores. I love looking at the bestsellers and new arrivals. Books price here is [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_2172" class="wp-caption alignleft" style="width: 250px"><img class="size-medium wp-image-2172  " title="The Last Empress book" src="http://cawanpink.net/wordpress/wp-content/uploads/2010/02/DSC_0126-300x291.jpg" alt="RM19.90 only! Where else, MPH Alamanda Putrajaya where the shelves for English fictions are the same size with their Malay counterparts." width="240" height="233" /><p class="wp-caption-text">RM19.90 only! Where else, MPH Alamanda Putrajaya where the shelves for English fictions are the same size with their Malay counterparts.</p></div>
<p>After sooo many moons, I got this book.</p>
<p>I have quite a long list of books to read but have been resisting the urge to buy any coz I know they&#8217;ll end up on the shelf collecting dust. I like going to bookstores. I love looking at the bestsellers and new arrivals. Books price here is considerably expensive for me. Average for those 300-pagish is around RM40 where in US it&#8217;s only USD3.99. What a world would it be if they cost RM3.99 too here. Hmmpphh you wish!</p>
<p>I miss the feeling after reading a good book. I have no idea yet when to start reading this one, I bought it coz I&#8217;ve read Empress Orchid by the same author, and I liked it, and RM19.90 is cheap.</p>
]]></content:encoded>
			<wfw:commentRss>http://cawanpink.net/2010/02/cheap-cheap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>For Syah anak Pak Hilal</title>
		<link>http://cawanpink.net/2010/02/for-syah-anak-pak-hilal/</link>
		<comments>http://cawanpink.net/2010/02/for-syah-anak-pak-hilal/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 07:32:44 +0000</pubDate>
		<dc:creator>cawanpink</dc:creator>
				<category><![CDATA[friends]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[ooohh]]></category>

		<guid isPermaLink="false">http://cawanpink.net/?p=2166</guid>
		<description><![CDATA[She&#8217;s just soooo in angau right now that&#8217;s it has become fascinating to read her FB status sometimes heheheheh&#8230; If only I can see the guy&#8217;s picture. It seems like he doesn&#8217;t realize that someone likes him that much. Syah kalau dia tu celebriti sori la aku takleh tulong&#8230; Yang lain aku leh usahakan ahaks! [...]]]></description>
			<content:encoded><![CDATA[<p>She&#8217;s just soooo in angau right now that&#8217;s it has become fascinating to read her FB status sometimes heheheheh&#8230; If only I can see the guy&#8217;s picture. It seems like he doesn&#8217;t realize that someone likes him that much. Syah kalau dia tu celebriti sori la aku takleh tulong&#8230; Yang lain aku leh usahakan ahaks! Bukan aku je, Elin, Jenet n geng aku rasa diorg akan beria-ria nak tulong nak hook you up girl. Teehee.</p>
<p>So what made me want to write this post? Just now on the way back to the office, Smile was playing on the radio and just like that, it reminded me of her.</p>
<blockquote><p>You&#8217;re better than the best<br />
I&#8217;m lucky just to linger in your life<br />
Cooler than the flip-side of my pillow, that&#8217;s right<br />
Completely unaware<br />
Nothing can compare to where you send me<br />
Lets me know that it&#8217;s okay, yea, it&#8217;s okay<br />
And the moments when my good times start to fade</p>
<p>You make me smile like a sun, fall outta bed<br />
Sing like a bird, dizzy in my head<br />
Spin like a record, crazy on a Sunday night<br />
You make me dance like fool, forget how to breathe<br />
Shine like gold, buzz like a bee<br />
Just the thought of you can drive me wild<br />
Oh, you make me smile</p>
<p>Even when you don&#8217;t<br />
Somehow you come along<br />
Just like a flower pokin through the sidewalk crack<br />
And just like that<br />
You steal away the rain<br />
And just like that</p>
<p>Don&#8217;t know how I lived without you<br />
&#8216;Cuz everytime that I get around you<br />
I see the best of me inside your eyes<br />
You make me smile</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://cawanpink.net/2010/02/for-syah-anak-pak-hilal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No title for this one.</title>
		<link>http://cawanpink.net/2010/02/no-title-for-this-one/</link>
		<comments>http://cawanpink.net/2010/02/no-title-for-this-one/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 16:07:14 +0000</pubDate>
		<dc:creator>cawanpink</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[putrajaya]]></category>

		<guid isPermaLink="false">http://cawanpink.net/?p=2163</guid>
		<description><![CDATA[Had a very good sleep (the meds the doctor prescribed me knocked me out for a good 12 hours, twice). Fever is gone, headache&#8217;s gone. I woke up fresh and relaxed. Thanks Dr., I like your clinic btw.
In the light of recent event, I admit that I&#8217;ve wronged my housemates. For that there&#8217;s nothing I [...]]]></description>
			<content:encoded><![CDATA[<p>Had a very good sleep (the meds the doctor prescribed me knocked me out for a good 12 hours, twice). Fever is gone, headache&#8217;s gone. I woke up fresh and relaxed. Thanks Dr., I like your clinic btw.</p>
<p>In the light of recent event, I admit that I&#8217;ve wronged my housemates. For that there&#8217;s nothing I can say except I&#8217;m sorry. For the curious, sorry dear friends, I&#8217;d like to keep this to myself please. I have been selfish and inconsiderate, that I only realized recently. I will keep my self invisible as much as possible around the house for the time being. That&#8217;s the only thing that I can think of at the moment that I can do to say I&#8217;m sorry.</p>
<p>Let me tell you about my housemates. I&#8217;ve never blogged about them, haven&#8217;t I? Not once. Well I&#8217;ve been staying with them for 2 years now. Kak Yatie messaged me on the phone on the availability of the room. I quickly came over to have a look at the house. Physically she&#8217;s tall, fair skinned, and she always has smiles on her face whenever she&#8217;s talking to me. She&#8217;s a neat and organized person, and such a gentle human being. The way she rearranges stuff in the fridge always made me smile. She come across as a very quiet person at first but after a while, I found out that heyyy&#8230; she&#8217;s quite a talker. Sometimes, I overheard her talking on the phone in her northern accents, just remineds me of home. There&#8217;s a high chance she&#8217;s good with the kids too since I often saw she brought her nieces over for a visit. Siti came and joined us right after I settled in. As opposed to Kak Yatie, Siti has a strong character. Fair skinned and is of chinese descendant, she&#8217;s one emotional person, and opiniated one at that too. She cracks jokes most of the time, sometimes even without her realizing it. She&#8217;s honest and she can be the light of a party. Both of them like to have a good laugh, make fun of tv shows, share the same interests. That&#8217;s how I&#8217;d describe them. We&#8217;re not that close but yes they are good people.</p>
<p>Anyway, while I&#8217;m sad at the way things have happened, I can&#8217;t help myself getting upset too. You know when people get angry and the say all this hurtful things to you? It is bound to happen no matter what and in my case there&#8217;s no exception. That&#8217;s why I prefer a more calmer, diplomatic way of approaching issues. I know that if I break out I&#8217;ll say all those things I&#8217;ll regret later. People are going to get hurt.</p>
<p>As wrong as I may be to you, it doesn&#8217;t give you the right to judge me, who I am or who I am going to be. More importantly, it certainly doesn&#8217;t give you the right to insult my friends. You have no idea to what length these people has gone for me. Insulting them is like insulting me.</p>
<p>A private person that I am, I only share minor details randomly with people. Somehow, people manage to connect the dots. While it may be true, it also may be wrong. When it&#8217;s wrong it hurts.</p>
<p>Did I deserve to be yelled and shouted at? Yes, because I made a mistake. Talking bad about my friends? No. </p>
<p>I understand all is said while in anger, but I&#8217;m a human nevertheless. After all is done, I only believe in a more calmer approach to all of world problems. It may not solve the problem, but it won&#8217;t create new ones unnecessarily.</p>
<p>I have been thinking to sit with them and talk this through. But I&#8217;m having second thought. After weighing the options, maybe not.</p>
]]></content:encoded>
			<wfw:commentRss>http://cawanpink.net/2010/02/no-title-for-this-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What a nice day to begin with, reading these lines</title>
		<link>http://cawanpink.net/2010/01/what-a-nice-day-to-begin-with-reading-these-lines/</link>
		<comments>http://cawanpink.net/2010/01/what-a-nice-day-to-begin-with-reading-these-lines/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 01:23:03 +0000</pubDate>
		<dc:creator>cawanpink</dc:creator>
				<category><![CDATA[guides]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[islam]]></category>

		<guid isPermaLink="false">http://cawanpink.net/?p=2158</guid>
		<description><![CDATA[Got it from forwarded email. It made me feel good at where I am now. Anything better, it&#8217;s a privilege. Anything less, I don&#8217;t feel like I&#8217;ll lose anything. I already have what I want.
Siapakah orang yang sibuk? Orang yang sibuk adalah orang yang tidak mengambil berat akan waktu solatnya seolah-olah ia mempunyai kerajaan seperti [...]]]></description>
			<content:encoded><![CDATA[<p>Got it from forwarded email. It made me feel good at where I am now. Anything better, it&#8217;s a privilege. Anything less, I don&#8217;t feel like I&#8217;ll lose anything. I already have what I want.</p>
<blockquote><p>Siapakah orang yang sibuk? Orang yang sibuk adalah orang yang tidak mengambil berat akan waktu solatnya seolah-olah ia mempunyai kerajaan seperti kerajaan Nabi Sulaiman a.s</p>
<p>Siapakah orang yang manis senyumanya? Orang yang mempunyai senyuman yang manis adalah orang yang ditimpa musibah lalu dia kata &#8220;Inna lillahi wainna illaihi rajiuun.&#8221; Lalu sambil berkata,&#8221;Ya Rabbi Aku redha dengan ketentuanMu ini&#8221;, sambil mengukir senyuman.</p>
<p>Siapakah orang yang kaya? Orang yang kaya adalah orang yang bersyukur dengan apa yang ada dan tidak lupa akan kenikmatan dunia yang sementara ini.</p>
<p>Siapakah orang yang miskin? Orang yang miskin adalah orang tidak puas dengan nikmat yang ada sentiasa menumpuk-numpukkan harta.</p>
<p>Siapakah orang yang rugi? Orang yang rugi adalah orang yang sudah sampai usia pertengahan namun masih berat untuk melakukan ibadat dan amal-amal kebaikan&#8230;</p>
<p>Siapakah orang yang paling cantik? Orang yang paling cantik adalah orang yang mempunyai akhlak yang baik.</p>
<p>Siapakah orang yang mempunyai rumah yang paling luas? Orang yang mempunyai rumah yang paling luas adalah orang yang mati membawa amal-amal kebaikan di mana kuburnya akan di perluaskan saujana mata memandang.</p>
<p>Siapakah orang yang mempunyai rumah yang sempit lagi dihimpit? Orang yang mempunyai rumah yang sempit adalah orang yang mati tidak membawa amal-amal kebaikkan lalu kuburnya menghimpitnya&#8230;</p>
<p>Siapakah orang yang mempunyai akal? Orang yang mempunyai akal adalah orang-orang yang menghuni syurga kelak kerana telah mengunakan akal sewaktu di dunia untuk menghindari siksa neraka..</p>
<p>Siapakah org yg KEDEKUT ? Orang yg kedekut ialah org yg membiar atau membuang email ini begitu sahaja, malah dia tidak menyampaikan pula pada org lain.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://cawanpink.net/2010/01/what-a-nice-day-to-begin-with-reading-these-lines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;m on semester break!</title>
		<link>http://cawanpink.net/2010/01/im-on-semester-break/</link>
		<comments>http://cawanpink.net/2010/01/im-on-semester-break/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 05:49:33 +0000</pubDate>
		<dc:creator>cawanpink</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[belongings]]></category>
		<category><![CDATA[geeks]]></category>
		<category><![CDATA[postgrad]]></category>
		<category><![CDATA[putrajaya]]></category>

		<guid isPermaLink="false">http://cawanpink.net/?p=2146</guid>
		<description><![CDATA[I suddenly found this huge amount of time. I mean really HUGE. I have week nights and weekends free. Well maybe not to you, but it is that huge if you&#8217;re studying part time. I was so used to worry about assignments and studying every moment every day, now for the next 3 months I [...]]]></description>
			<content:encoded><![CDATA[<p>I suddenly found this huge amount of time. I mean really HUGE. I have week nights and weekends free. Well maybe not to you, but it is that huge if you&#8217;re studying part time. I was so used to worry about assignments and studying every moment every day, now for the next 3 months I am free! So I&#8217;ve been this free only for a week, I got my room cleaned up &#8211; got it into much neater state (heh) by bringing in 3 new proper furnitures &#8211;  a bed, a study table and a wardrobe. Now everything is in its place and happy.</p>
<p>I&#8217;m not going to take pictures of my room (sorry Kak Watiey heheh) &#8211; it&#8217;s such a sacred place for me. But they are very similar like these, except mine all in dark wood colour:</p>
<p style="text-align: center;"><a href="http://www.archerssleepcentre.co.uk/secure/images/products/2129.jpg"><img class="aligncenter" title="Single bed " src="http://www.archerssleepcentre.co.uk/secure/images/products/2129.jpg" alt="" width="300" height="226" /></a><br />
<a href="http://upload.ecvv.com/upload/Product/200801/20063154382119084_Sliding_Door_Wardrobe.jpg"><img class="aligncenter" title="Wardrobe" src="http://upload.ecvv.com/upload/Product/200801/20063154382119084_Sliding_Door_Wardrobe.jpg" alt="" width="360" height="282" /></a><br />
<a href="http://www.hupsheng.com.my/Cube5/images/uploads/HS-488.jpg"><img class="aligncenter" title="Study table" src="http://www.hupsheng.com.my/Cube5/images/uploads/HS-488.jpg" alt="" width="309" height="320" /></a></p>
<p>Ok that&#8217;s done and now last night I started looking at <a href="http://www.djangoproject.com/">Django</a> + <a href="http://www.postgresql.org">PostgreSQL</a> + <a href="http://www.python.org/">Python</a> in general. Was kinda slow, I have this habit of looking too far ahead (maybe it&#8217;s thinking too much) so I was worried that I would ruin my laptop in the future by blindly install everything inside. Typical woman? Being paranoid of nothing? Yea jumping in too early is not my thing, I&#8217;m scared if anything goes wrong. Laptop dies, application breaks, stuff happens yes I know but I don&#8217;t want it to be because I didn&#8217;t do my best to prevent it from happening.</p>
<p>Anyway, yea I&#8217;m embracing this temporary new found freedom &#8211; will put it to good use. Was so tempting to watch TV  (I LOVE WATCHING TV &#8211; enough said) at nights but like my mom says &#8220;TV will be there forever waiting for you, go do something else better&#8221; so no worries there. Besides, I like programming. It&#8217;s like a drug. I remember Harish Pillay said during <a href="http://foss.my">FOSS.my 2009</a>, &#8220;How do you think an author wins an award for his/her book? He/She probably reads alot of other books to write it. So, how do you be good in programming? You read alot of codes.&#8221;</p>
<p>I love that man.</p>
]]></content:encoded>
			<wfw:commentRss>http://cawanpink.net/2010/01/im-on-semester-break/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Vista in Ubuntu</title>
		<link>http://cawanpink.net/2010/01/vista-in-ubuntu/</link>
		<comments>http://cawanpink.net/2010/01/vista-in-ubuntu/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 03:55:14 +0000</pubDate>
		<dc:creator>cawanpink</dc:creator>
				<category><![CDATA[guides]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windoze]]></category>

		<guid isPermaLink="false">http://cawanpink.net/?p=2131</guid>
		<description><![CDATA[I had Windows Vista Home Premium installed last night on my Ubuntu machine. I have 2GB RAM and 250GB of hardisk. Initially I wanted to install XP but turned out the only original DVD we have is Vista Home Premium, so be it! I&#8217;ve been wanting to try virtual machine for a long time already [...]]]></description>
			<content:encoded><![CDATA[<p>I had Windows Vista Home Premium installed last night on my Ubuntu machine. I have 2GB RAM and 250GB of hardisk. Initially I wanted to install XP but turned out the only original DVD we have is Vista Home Premium, so be it! I&#8217;ve been wanting to try virtual machine for a long time already but then yesterday that very geek kernel hacker, <a href="http://kernelpanic.blogspot.com/">Nur Hussein</a>, triggered the apt-get move in me with a line &#8220;VirtualBox is so cool!&#8221;.</p>
<p><strong>What&#8217;s VirtualBox?</strong> In layman terms, you can have multiple OS running at the same time on your pc without rebooting. Those of you who only know Windows all their life, yes there are alot of other alternative OS you can try, like <a href="http://www.ubuntu.com/">Ubuntu</a>. Hey install Ubuntu on your Windows using VirtualBox, that&#8217;s possible too.</p>
<p>Installing another OS (<strong>guest OS</strong>) on your existing OS (<strong>host OS</strong>) will take space and consume memory. In my case, I have allocated 1GB of RAM and 40GB of space for Vista according to its <a href="http://www.microsoft.com/windows/windows-vista/get/system-requirements.aspx">recommended system requirement</a>. So that&#8217;s 40GB off of my 250GB and if I switch on Vista I have only 1GB left for Ubuntu, which is ok for me (it only takes <a href="https://help.ubuntu.com/community/Installation/SystemRequirements">384MB of RAM for Ubuntu</a>). So you have to plan your memory allocation carefully as you must allocate as much as you can to let the <strong>guest OS</strong> run properly but do not do it until your <strong>host OS</strong> is left with not enough for it to run either.</p>
<p>What do you need for virtual machine?<br />
1. PC that can meet the minimum requirement<br />
2. <a href="http://www.virtualbox.org/">VirtualBox</a><br />
3. Guest OS installation CD/DVD</p>
<p><strong>Install VirtualBox</strong><br />
Add deb http://download.virtualbox.org/virtualbox/debian karmic non-free  in /etc/apt/sources.list then sudo apt-get update.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">$ sudo apt-get install dkms
$ wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -
$ sudo apt-get install virtualbox-3.1</pre></div></div>

<p><strong>Install Vista on Ubuntu Karmic</strong><br />
1. Insert installation CD/DVD.<br />
2. Follow instructions <a href="http://www.virtualbox.org/manual/UserManual.html">here</a>. It&#8217;s well documented!</p>
<p>And then finally.</p>
<div id="attachment_2141" class="wp-caption aligncenter" style="width: 612px"><a href="http://cawanpink.net/wordpress/wp-content/uploads/2010/01/screenshot_0021.png"><img class="size-large wp-image-2141   " title="vista on ubuntu" src="http://cawanpink.net/wordpress/wp-content/uploads/2010/01/screenshot_0021-1024x578.png" alt="Windows Vista Home Premium on Ubuntu Karmic" width="602" height="341" /></a><p class="wp-caption-text">Windows Vista Home Premium on Ubuntu Karmic</p></div>
<p>I think 40GB of hardisk is abit overkill for me. And 2GB of RAM is kinda limiting for virtual machines. Well, despite all that, I&#8217;m going to have fun first and then think. That&#8217;s the way to go in this crazy days. You&#8217;ll never know when you&#8217;re going to be hit with molokov cocktails&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://cawanpink.net/2010/01/vista-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Now I know how to mine data</title>
		<link>http://cawanpink.net/2010/01/now-i-know-how-to-mine-data/</link>
		<comments>http://cawanpink.net/2010/01/now-i-know-how-to-mine-data/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 08:16:09 +0000</pubDate>
		<dc:creator>cawanpink</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[artificial intelligence]]></category>
		<category><![CDATA[malaysian government]]></category>
		<category><![CDATA[open data]]></category>
		<category><![CDATA[postgrad]]></category>

		<guid isPermaLink="false">http://cawanpink.net/?p=2122</guid>
		<description><![CDATA[There&#8217;s just too many techniques on how you can do data mining. In grad school we only got to know 1 technique &#8211; by using artificial neural network. There&#8217;s a tool for this &#8211; Weka. Download and install it or sudo apt-get it (yes imagine my surprise when I found out about this).
What&#8217;s data mining?
Well, [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s just too many techniques on how you can do data mining. In grad school we only got to know 1 technique &#8211; by using artificial neural network. There&#8217;s a tool for this &#8211; <a href="http://www.cs.waikato.ac.nz/ml/weka/">Weka</a>. Download and install it or sudo apt-get it (yes imagine my surprise when I found out about this).</p>
<h3>What&#8217;s data mining?</h3>
<p>Well, basically it&#8217;s a process to get a knowledge (eg. if customers buy diapers, most likely they will buy beers too) from your data (imagine spreadsheets filled with numbers and strings). You may have thousands of records but how do you make sense of it? You mine those data, and get a pattern. From there you&#8217;ll get a knowledge. So from this you can put beers next to diapers in supermarkets to increase sales. That&#8217;s the general idea.</p>
<p>There&#8217;s a 90% chance that the data you got is not cleaned aka there&#8217;s missing values, some data are not consistent (eg. in sex can only have F or M, there&#8217;s a value Q?), and some data are just plain rubbish. The data need to go through preprocessing stage. For missing values, you have to filled them up, either using mean or median values, whichever is best for your data. The same goes to inconsistent data. This is where working with experts in the domain you&#8217;re working in is very important. You don&#8217;t want to remove what you think is rubbish but it actually means something.</p>
<p>Then we have data discretization process where you reduce that huge amount of data but they still carry the same value. Afterwards we normalize the data. After this is done, then the data is ready for the modelling exercise.</p>
<h3>Classification</h3>
<p>One of the benefit you get from data mining is classification. It&#8217;s where you can predict if you have this data (eg. male, married, doesn&#8217;t have children, have regularly purchase beer for the past year) whether beer purchase is likely. So it will classify to something like this purchase_beer equals to 0 (no) or 1 (yes). In order for the model to predict 0 or 1, the model itself has to be trained with alot of data. Train it until it reaches the accuracy we want, above 90% is good. A trained model with very high accuracy is going to be an asset as you can feed it data and it will spit out what we want. </p>
<p>The most difficult part in doing this for me is the data preprocessing part. You have to have quality cleaned data to produce quality results. You have to carefully select which kind of data is relevant to your goal (eg. would you want to include one&#8217;s job as one of the attributes considered for the diapers-beers example?) which is why having domain experts is important. They also have to determine how each data should affect the result (eg. job probably affects 10% but marital status affects 80% towards diapers-beers purchase).</p>
<h3>I just love AI</h3>
<p>There are just so many preprocessing methods &#038; data mining hybrid techniques already been researched by academicians. I&#8217;m just so overwhelmed by the amount of technical papers on this. They probably not so much IT savvy like us, the implementors as they call it, but they definitely have the brain on that part of the world. We just have to scour through this massive database and get it to run on our apps. Well, should you need it that is. Coz processing thousands of data can take hours or days, some months, depending on your machine spec.</p>
<h3>Open data</h3>
<p>While doing data mining assignment last 2 weeks, I became frustrated with the unavailability of data in Malaysia. Sad. Maybe it&#8217;s still difficult for us to see it now, I&#8217;m already imagining all the stuff we can do with those data like in JPA, MOHR, MOH, MOHE &#8211; fuhhhh I&#8217;m all shuddery now. Even in OSCC, those training feedback forms and MyGOSSCON feedback forms &#8211; hmm whatever happened to those?</p>
<p>There are concerns of exposing private data I guess. Well, if you ask me make the data anonymous, as I couldn&#8217;t care less who got promoted last year. I only want the &#8217;spec&#8217; of that person who got promoted &#8211; age, sex, location, department, salary, is he respected by peers, does he drive, etc, that kind of stuff, you get the idea.</p>
<p>Hmm.. this will take another 10 years to realise, I think.</p>
]]></content:encoded>
			<wfw:commentRss>http://cawanpink.net/2010/01/now-i-know-how-to-mine-data/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Desert for today</title>
		<link>http://cawanpink.net/2009/12/desert-for-today/</link>
		<comments>http://cawanpink.net/2009/12/desert-for-today/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 12:02:45 +0000</pubDate>
		<dc:creator>cawanpink</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[food]]></category>
		<category><![CDATA[unprecedented glory]]></category>

		<guid isPermaLink="false">http://cawanpink.net/?p=2110</guid>
		<description><![CDATA[Made 3 of these today.
i walked away only for a few seconds, it was still in pristine condition, came back and found out that somebody had been naughty!
]]></description>
			<content:encoded><![CDATA[<p>Made 3 of these today.<br />
<div class="wp-caption alignnone" style="width: 571px"><img class=" " title="desert" src="http://farm3.static.flickr.com/2654/4222139202_e404d12a95_o.jpg" alt="OooOOooohhh. Yummiest." width="561" height="368" /><p class="wp-caption-text">OooOOooohhh. Yummiest.</p></div><br />
i walked away only for a few seconds, it was still in pristine condition, came back and found out that somebody had been naughty!</p>
]]></content:encoded>
			<wfw:commentRss>http://cawanpink.net/2009/12/desert-for-today/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Committing to SVN using Bazaar</title>
		<link>http://cawanpink.net/2009/12/committing-to-svn-using-bazaar/</link>
		<comments>http://cawanpink.net/2009/12/committing-to-svn-using-bazaar/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 02:25:52 +0000</pubDate>
		<dc:creator>cawanpink</dc:creator>
				<category><![CDATA[open source]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[bzr]]></category>
		<category><![CDATA[mymeeting]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://cawanpink.net/?p=2100</guid>
		<description><![CDATA[Ejat and I were working on how to do the above for MyMeeting codes and we did it! I have asked ejat to put this down in writing in his blog, but sadly the blog is not available anymore (alaa ejat bukan susah sangat cari hosting punnnnn.. susah2 ko host sendiri jek kat umah  [...]]]></description>
			<content:encoded><![CDATA[<p>Ejat and I were working on how to do the above for <a href="http://trac.oscc.org.my/mymeeting">MyMeeting</a> codes and we did it! I have asked ejat to put this down in writing in his blog, but sadly the blog is not available anymore (alaa ejat bukan susah sangat cari hosting punnnnn.. susah2 ko host sendiri jek kat umah <img src='http://cawanpink.net/wordpress/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> )</p>
<p>MyMeeting is also on <a href="https://launchpad.net/mymeeting">Launchpad</a> that makes use of <a href="http://bazaar.canonical.com/en/">Bazaar</a>. We wanted to find a way how to send changes to both its main repo (using <a href="http://subversion.tigris.org/">SVN</a>) and Launchpad.</p>
<p>So we&#8217;ve been using SVN for MyMeeting hosted at OSCC. A typical way for us would be like this.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">$ svn co https://svn.oscc.org.my/mymeeting/trunk trunk
$ cd trunk
(hack hack hack...)
$ svn status #see our changes
$ svn ci -m 'added feature ABC' #commit to SVN repository</pre></div></div>

<p>To use Bazaar to work with SVN repo, you have to install bzr and bzr-svn. Excellent doc on bzr-szv is <a href="http://doc.bazaar.canonical.com/bzr.2.0/en/user-guide/svn_plugin.html">here</a>.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">$ sudo apt-get bzr bzr-svn</pre></div></div>

<h3>SVN-like</h3>
<p>Working with Bazaar, the way would be something like this.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">$ mkdir dev
$ bzr init-repo --default-rich-root dev
$ cd dev
$ bzr co https://svn.oscc.org.my/mymeeting/trunk trunk
$ cd trunk
(hack hack hack...)
$ bzr update #get changes done by others
$ bzr ci -m 'added form for feature ABC' #commit to SVN repository
$ bzr push lp:mymeeting #push to Launchpad, only have to provide location once
(hack hack hack...)
$ bzr update #get changes done by others
$ bzr ci -m 'added list for feature ABC' #commit to SVN repository
$ bzr push</pre></div></div>

<h3>Decentralized Bazaar way</h3>
<p>If we were to take advantage of Bazaar&#8217;s decentralised way of doing it (so you can work offline, for example), it&#8217;s like this.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">$ mkdir dev
$ bzr init-repo --default-rich-root dev
$ cd dev
$ bzr co https://svn.oscc.org.my/mymeeting/trunk trunk #our copy of trunk
$ bzr branch trunk working #make a local branch to hack on
$ cd working
(hack hack hack...working offline)
$ bzr ci -m 'added form for feature ABC' #commit to local branch
(hack hack hack...working offline)
$ bzr ci -m 'added list for feature ABC' #commit to local branch
&nbsp;
(when you get your connection back)
$ cd ../trunk
$ bzr update #get changes done by others to our copy of trunk 
$ cd ../working
$ bzr pull #pull the changes to our local branch
$ bzr status #see our changes
$ cd ../trunk
$ bzr merge ../working
$ bzr ci -m 'added feature ABC'</pre></div></div>

<p>Personally I like the centralised approach because it&#8217;s similar to SVN. Local branch is great feature if I have to do my work offline sometimes. And while I can pick Bazaar from now on, the rest of the team doesn&#8217;t have to switch tool. That&#8217;s great!</p>
]]></content:encoded>
			<wfw:commentRss>http://cawanpink.net/2009/12/committing-to-svn-using-bazaar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
