<?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 &#187; tech</title>
	<atom:link href="http://cawanpink.net/category/tech/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>Sat, 21 Aug 2010 10:06:49 +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>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>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>
		<item>
		<title>DNS resolving to 1.0.0.0</title>
		<link>http://cawanpink.net/2009/11/dns-resolving-to-1-0-0-0/</link>
		<comments>http://cawanpink.net/2009/11/dns-resolving-to-1-0-0-0/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 06:29:31 +0000</pubDate>
		<dc:creator>cawanpink</dc:creator>
				<category><![CDATA[guides]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://cawanpink.net/?p=2050</guid>
		<description><![CDATA[I&#8217;ve had the most peculiar thing happened today at home. I think it&#8217;s Karmic issue since I never had this problem before.
Well what happened was, I was unable to browse the internet (Firefox and Chrome both had problems but Opera worked fine). Pinging worked. Other Windows machines didn&#8217;t have problems at all. Sudo apt-get update [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had the most peculiar thing happened today at home. I think it&#8217;s Karmic issue since I never had this problem before.</p>
<p>Well what happened was, I was unable to browse the internet (Firefox and Chrome both had problems but Opera worked fine). Pinging worked. Other Windows machines didn&#8217;t have problems at all. Sudo apt-get update didn&#8217;t worked because it was looking up 1.0.0.0 for every mirrors I tried. I tried this with Firefox at first:</p>
<blockquote><p>In address bar, type in about:config, filter for ipv6. There should be only 1 listed &#8211; network.dns.disableIPv6. Double click to change the value to true. Problems solved for Firefox.</p></blockquote>
<p>I continued googling around and did this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#in /etc/resolv.conf, changed nameserver to those of streamyx</span>
<span style="color: #666666; font-style: italic;">#previously it was 192.168.1.1 which points to my router</span>
<span style="color: #666666; font-style: italic;">#Generated by NetworkManager</span>
nameserver 202.188.0.133</pre></div></div>

<p>And now everything works again. Only that if I reboot it will change back to 192.168.1.1</p>
]]></content:encoded>
			<wfw:commentRss>http://cawanpink.net/2009/11/dns-resolving-to-1-0-0-0/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title></title>
		<link>http://cawanpink.net/2005/12/713/</link>
		<comments>http://cawanpink.net/2005/12/713/#comments</comments>
		<pubDate>Fri, 09 Dec 2005 01:03:00 +0000</pubDate>
		<dc:creator>cawanpink</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[clever]]></category>
		<category><![CDATA[geeks]]></category>

		<guid isPermaLink="false">http://web/wordpress/2005/12/713/</guid>
		<description><![CDATA[This has to be one of the biggest jokes in computer history! Not  that I
am saying that it is wrong, but it is a bit of a laugh!!
Please follow the simple instructions:
1. Go to www.google.com
2. Type in &#8220;Failure&#8221;, without the quotes
3. Instead of hitting &#8220;Search&#8221;, hit &#8220;I&#8217;m feeling Lucky&#8221;
4. See what comes up!
Go tell [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>This has to be one of the biggest jokes in computer history! Not  that I<br />
am saying that it is wrong, but it is a bit of a laugh!!</p>
<p>Please follow the simple instructions:<br />
1. Go to www.google.com<br />
2. Type in &#8220;Failure&#8221;, without the quotes<br />
3. Instead of hitting &#8220;Search&#8221;, hit &#8220;I&#8217;m feeling Lucky&#8221;<br />
4. See what comes up!</p>
<p>Go tell your friends before the Google people get it  fixed</p></blockquote>
<p>hmmm&#8230;.*feeling clever*</p>
]]></content:encoded>
			<wfw:commentRss>http://cawanpink.net/2005/12/713/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title></title>
		<link>http://cawanpink.net/2005/04/657/</link>
		<comments>http://cawanpink.net/2005/04/657/#comments</comments>
		<pubDate>Sun, 24 Apr 2005 03:27:00 +0000</pubDate>
		<dc:creator>cawanpink</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[apple]]></category>

		<guid isPermaLink="false">http://web/wordpress/2005/04/657/</guid>
		<description><![CDATA[Thinking of getting myself a Mac.

Looks can be deceiving. Wait till you look at the spec. This is sweet! I&#8217;m impressed that such thing exists. I&#8217;ll probably use it for grahics at the most. After hours of browsing, comparing and thinking, this would be perfect for me. Why refrain myself to something that obviously attractive [...]]]></description>
			<content:encoded><![CDATA[<p>Thinking of getting myself a Mac.</p>
<p><a href="http://www.applemalaysia.com.my/macmini/"><img src="http://www.geocities.com/nafrish/blog/minimac.jpg" alt="" /></a></p>
<p>Looks can be deceiving. Wait till you look at the <a href="http://www.applemalaysia.com.my/macmini/specs.html">spec</a>. This is sweet! I&#8217;m impressed that such thing exists. I&#8217;ll probably use it for grahics at the most. After hours of browsing, comparing and thinking, this would be perfect for me. Why refrain myself to something that obviously attractive and has more value to it? RM2199 should worth it, looking at what you get, no? I&#8217;d like to upgrade it so it&#8217;ll cost me approx. RM500 more. Still, that&#8217;s the price I&#8217;m willing to pay. If you just want to write memo and play tetris, stick to your pc. I have another purpose in life here.</p>
<p>I&#8217;m starting a new phase of my life with something great. I&#8217;m dumping Windows. It&#8217;s been holding me back for years now. Sick of it.</p>
<p><a href="http://www.anandtech.com/mac/showdoc.aspx?i=2328">Apple&#8217;s Mac Mini &#8211; Tempting PC Users Everywhere</a><br />
<a href="http://daringfireball.net/2005/01/small_cheap_no_display">Small, Cheap, and Without a Display</a><a href="http://arstechnica.com/articles/paedia/hardware/mac-mini.ars/1"></a><br />
<a href="http://www.divisiontwo.com/articles/MacMini2.html">Mac Mini: The Emperor&#8217;s New Computer</a><a href="http://www.macintouch.com/macmini/review.html"></a><br />
<a href="http://www.pcmag.com/article2/0,1759,1753979,00.asp">Reviews by PC Magazine</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cawanpink.net/2005/04/657/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
