<?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; At Work</title>
	<atom:link href="http://adrianhoe.com/adrianhoe/category/days-in-my-life/at-work/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>November Rain</title>
		<link>http://adrianhoe.com/adrianhoe/2011/11/17/november-rain/</link>
		<comments>http://adrianhoe.com/adrianhoe/2011/11/17/november-rain/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 08:17:30 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Home]]></category>
		<category><![CDATA[At Work]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Guns N' Roses]]></category>
		<category><![CDATA[November]]></category>
		<category><![CDATA[rain]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=2488</guid>
		<description><![CDATA[Time flies. It&#8217;s November again. 2011 is waning and 2012 is just before the doorstep. Soon we will be greeting &#8220;Hello 2012.&#8221; There is no particular topic for this blog post but I just want to share with you one of my favorite rock song, &#8220;November Rain&#8221; by Guns N&#8217; Roses. It&#8217;s November and at [...]]]></description>
			<content:encoded><![CDATA[<p>Time flies. It&#8217;s November again. 2011 is waning and 2012 is just before the doorstep. Soon we will be greeting &#8220;Hello 2012.&#8221;</p>
<p>There is no particular topic for this blog post but I just want to share with you one of my favorite rock song, &#8220;November Rain&#8221; by Guns N&#8217; Roses.</p>
<p>It&#8217;s November and at this time of the year, the beginning of North-Eastern monsoon, brings a lot of rains. No word in the Webster can describe the mixed feelings of listening and smelling the rain together with the music. If you are somewhere so happened to have rain outside your window in the month of November, turn up the volume and watch the rain outside.</p>
<p>Perhaps you want to share with me your feeling?</p>
<p><object width="480" height="360" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/8SbUC-UaAxE?version=3&amp;hl=en_US&amp;rel=0" /><param name="allowfullscreen" value="true" /><embed width="480" height="360" type="application/x-shockwave-flash" src="http://www.youtube.com/v/8SbUC-UaAxE?version=3&amp;hl=en_US&amp;rel=0" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2011/11/17/november-rain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Regulus &#8211; My new (Lion) iMac</title>
		<link>http://adrianhoe.com/adrianhoe/2011/08/13/regulus-my-new-lion-imac/</link>
		<comments>http://adrianhoe.com/adrianhoe/2011/08/13/regulus-my-new-lion-imac/#comments</comments>
		<pubDate>Sat, 13 Aug 2011 06:37:13 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Astronomy]]></category>
		<category><![CDATA[At Home]]></category>
		<category><![CDATA[At Work]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Alpha Leonis]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[iMac]]></category>
		<category><![CDATA[Leo]]></category>
		<category><![CDATA[Lion]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Regulus]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=2441</guid>
		<description><![CDATA[It has been my tradition to name my computers and mobile devices after the name of a moon, planet or star. This time is no exception. The new OSX operating system 10.7, code-named Lion, was officially released by Apple, Inc. on July 20, 2011. In astrology, it was just two days before the Sun begins [...]]]></description>
			<content:encoded><![CDATA[<p>It has been my tradition to name my computers and mobile devices after the name of a moon, planet or star. This time is no exception.</p>
<p>The new OSX operating system 10.7, code-named Lion, was officially released by Apple, Inc. on July 20, 2011. In astrology, it was just two days before the Sun begins occupying Leo from July 22 to August 22. And I ordered my iMac and received it before the Sun leaves Leo.</p>
<p>In astronomy, <em>Regulus</em> or <em>Alpha Leonis</em> is the brightest star in Leo constellation. In Chinese, it is known as 轩辕十四, the Fourteenth Star of Xuanyuan. <em>Regulus</em> is also one of the brightest stars in the night sky. Together, with <em>Eta Leonis</em> (a fourth-magnitude star), they mark the lion&#8217;s heart.</p>
<p>My new 27&#8243; iMac is a top range CTO model and will be the power horse for my works which include software development, some photography and design works. It is also the most powerful personal computer I have ever owned/purchased. Thus, <em>Regulus</em> is the best and most beautiful name for my new iMac.</p>
<p><em>Pluto</em> will be passed down to my wife and kids after the data has been completely migrated to <em>Regulus</em> and a stable working environment is established.</p>
<p><img class=" alignnone" title="iMac" src="http://adrianhoe.com/adrianhoe/images/blog/2011/IMG_0591.JPG" alt="iMac" width="400" height="299" /></p>
<p><img class="alignnone" title="iMac" src="http://adrianhoe.com/adrianhoe/images/blog/2011/IMG_0596.JPG" alt="iMac" width="400" height="299" /></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2011/08/13/regulus-my-new-lion-imac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ada and Multiple Inheritance</title>
		<link>http://adrianhoe.com/adrianhoe/2011/07/28/ada-and-multiple-inheritance/</link>
		<comments>http://adrianhoe.com/adrianhoe/2011/07/28/ada-and-multiple-inheritance/#comments</comments>
		<pubDate>Wed, 27 Jul 2011 21:24:15 +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[Days in My Life]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Inheritance]]></category>
		<category><![CDATA[Multiple Inheritance]]></category>
		<category><![CDATA[Object oriented]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Symmetry]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=2423</guid>
		<description><![CDATA[When developing an information system which computes real-life data, one of the most common problems a software developer may encounter is multiple inheritance. Inheritance is one of the four aspects in Object-Oriented Programming (OOP). What is Object-Oriented? Object-oriented technique organizes software as collection of discrete objects incorporate with data structures and behaviors. Take a software that [...]]]></description>
			<content:encoded><![CDATA[<p>When developing an information system which computes real-life data, one of the most common problems a software developer may encounter is multiple inheritance. Inheritance is one of the four aspects in Object-Oriented Programming (OOP).</p>
<p>What is Object-Oriented?</p>
<p>Object-oriented technique organizes software as collection of discrete objects incorporate with data structures and behaviors. Take a software that keeps records of professors and students in a university for instance. Both professor and student are person. These three entities &#8211; <em>professor</em>, <em>student</em> and <em>person</em> are objects. A <em>person</em> has data structure such as name, gender and date of birth to make things simple. Both <em>professor</em> and <em>student</em> share the same data structure of <em>person</em>. A <em>professor</em> has employee number, salary, and room number. And a <em>student</em> has student number, courses and grades. Both <em>professor</em> and <em>student</em> have different behavior: to lecture and to learn respectively. We can let <em>professor</em> and <em>student</em> to inherit the same data structure and behavior from <em>person</em>. <em>Person</em> is superclass. Both <em>professor</em> and <em>student</em> are subclass. Now both <em>professor</em> and <em>student</em> can derive data structure and behavior from superclass <em>person</em> but at the same time, both can preserve their own data structure and behavior as <em>professor</em> and <em>student</em> respectively.</p>
<p>Multiple inheritance is where a subclass inherits from more than one super class. One of the most common problems with multiple inheritance is symmetry. Let subclass <em>D</em> inherits from superclasses <em>B</em> and <em>C</em> which inherit from another superclass <em>A</em>. This is called symmetric multiple inheritance.</p>
<p>Multiple inheritance is rather problematic at linguistic level. Many object-oriented programming languages support multiple inheritance and solve the problems in such a way that usually they cause surprises to their users. In the above example, the operations in <em>A</em> can be derived to <em>B</em> and <em>C</em> and overridden in any other ways by any one of them in <em>D</em>.</p>
<p>Ada provides different approach to implement multiple inheritance by simply not allowing user to get into such problem in the first place and to force the user to break the symmetry.</p>
<p>While I slip deeper into my software design, symmetric multiple inheritance occurs. I have two classes <em>A</em> and <em>B</em> where both of them inherit from object <em>List.Node</em>. Another subclass <em>C</em> inherits both superclass <em>A</em> and <em>B</em>. Ada forces me to break the symmetry by letting <em>C</em> to have a direct inheritance from <em>A</em> plus indirect secondary inheritance of <em>B</em>.</p>
<pre><code>
package List is
   type List is limited private;
   type Access_List is access List;

   type Node is tagged private;
   type Access_Node is access all Node'Class;

private

   type Node is tagged record
      Previous : Access_Node;
      Next       : Access_Node;
   end record;

   type List is limited record
      Head    : Access_Node := null;
      Tail       : Access_Node := null;
      Current : Access_Node := null;
      Count   : Unsigned := 0;
   end record;
end List;
</code></pre>
<pre><code>
   type A is new List.Node with private;

private

   type A is new List.Node with
      record
         Id   : Integer;
         Str  : String ( 1 .. 20 ) ;
      end record;
</code></pre>
<pre><code>
   type B is new List.Node with private;

private

   type B is new List.Node with
      record
         Precision : Float;
      end record;
</code></pre>
<pre><code>
   type C is new A with private;

private

   type C is new A with
      record
         Magic : B;
         Plate   : Integer;
      end record;
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2011/07/28/ada-and-multiple-inheritance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Run Software Update from Terminal on Mac OS X</title>
		<link>http://adrianhoe.com/adrianhoe/2011/02/18/run-software-update-from-terminal-on-mac-os-x/</link>
		<comments>http://adrianhoe.com/adrianhoe/2011/02/18/run-software-update-from-terminal-on-mac-os-x/#comments</comments>
		<pubDate>Fri, 18 Feb 2011 03:24:37 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Work]]></category>
		<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=2496</guid>
		<description><![CDATA[Every Mac comes with an application called Software Update, which automatically check for, download and install any available software updates. The application will prompt you to restart your Mac if necessary. Although the automation of software update and restart is convenient most of the time, it can be quite an annoyance when you are in [...]]]></description>
			<content:encoded><![CDATA[<p>Every Mac comes with an application called Software Update, which automatically check for, download and install any available software updates. The application will prompt you to restart your Mac if necessary.</p>
<p>Although the automation of software update and restart is convenient most of the time, it can be quite an annoyance when you are in the midst of works, where the reminder window keeps popping up.</p>
<p>To avoid this annoying pop-up, you can run software update in Terminal (command line) and restart your Mac as you wish, using the following command:</p>
<pre><code> sudo softwareupdate -i -a </code></pre>
<p>This is also convenient for managing software update remotely over slow Internet connection. Logging in via ssh instead of remote desktop will reduce the high bandwidth requirement and yet still get the job done.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2011/02/18/run-software-update-from-terminal-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embrace Life</title>
		<link>http://adrianhoe.com/adrianhoe/2010/07/14/embrace-life/</link>
		<comments>http://adrianhoe.com/adrianhoe/2010/07/14/embrace-life/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 04:16:11 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Home]]></category>
		<category><![CDATA[At Work]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Family]]></category>
		<category><![CDATA[Road Safety]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=2231</guid>
		<description><![CDATA[It was a beautiful morning, starting with a cup of coffee and a few slices of toast, I began to read some articles on the Internet. The articles are related to my software project as well as some other stuffs regarding productivity and supplementary. Among all I was reading, there was one that caught my [...]]]></description>
			<content:encoded><![CDATA[<p>It was a beautiful morning, starting with a cup of coffee and a few slices of toast, I began to read some articles on the Internet. The articles are related to my software project as well as some other stuffs regarding productivity and supplementary.</p>
<p>Among all I was reading, there was one that caught my attention, the one that I paused all my activities, and let it touch deeply into my heart. I can&#8217;t help to shed my tears.</p>
<p>This is the most beautiful and touching commercial I&#8217;ve ever watched. Besides the artistic and beautiful photography, the video portrays how beautiful life is and how fragile it can be. Take a moment off your work (yes, I know you are busy) to watch this video. I bet and I hope it will make you realize how beautiful our lives are.</p>
<p>Enjoy!</p>
<blockquote><p>This is the new &#8220;wear your seatbelt&#8221; ad the UK is doing &#8211; started by a man not hired to do it, but because the cause is important to him, he came up with this idea, and now it&#8217;s being hailed across the world as a ‘beautiful&#8217; commercial. And now the video has become so popular with the general public that people are forwarding it to friends/family on their own so quickly that it has spread all over the world in a very short time.</p></blockquote>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="450" height="271" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/h-8PBx7isoM&amp;hl=en_US&amp;fs=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="450" height="271" src="http://www.youtube.com/v/h-8PBx7isoM&amp;hl=en_US&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>You can watch <a href="http://www.youtube.com/watch?v=h-8PBx7isoM" target="_blank">here</a> too.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2010/07/14/embrace-life/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today, Tomorrow and Todo</title>
		<link>http://adrianhoe.com/adrianhoe/2010/07/08/today-tomorrow-and-todo/</link>
		<comments>http://adrianhoe.com/adrianhoe/2010/07/08/today-tomorrow-and-todo/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 11:07:48 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Work]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[Todo]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=2215</guid>
		<description><![CDATA[Last night, I was reading a blog post at Time Management Ninja (aka TMNinja). In &#8220;The Secret of Today Versus Todo&#8220;,  what did you get done today is important. But sometimes it will not be the case. Someday, things just don&#8217;t work out as you wished. For the past two weeks, I had been bugged [...]]]></description>
			<content:encoded><![CDATA[<p>Last night, I was reading a blog post at <a title="Time Management Ninja" href="http://timemanagementninja.com/" target="_blank">Time Management Ninja</a> (aka <a title="TMNinja" href="http://twitter.com/TMNinja" target="_blank">TMNinja</a>). In &#8220;<a href="http://timemanagementninja.com/2010/07/the-secret-of-today-versus-todo/" target="_blank">The Secret of Today Versus Todo</a>&#8220;,  what did you get done today is important. But sometimes it will not be the case. Someday, things just don&#8217;t work out as you wished.</p>
<p>For the past two weeks, I had been bugged by a silly tiny bug in one of my codes. Things weren&#8217;t moving at all. They were all still and my progress in a software project was stagnant. Before the bug was identified and removed, I could not move on to other tasks as they were highly dependent on the unit testing of that particular buggy code.</p>
<p>Yesterday, I finally managed to debug it and deducted 5 tasks. In actual fact, I only completed one task but deleted four. The four tasks which I deleted were no longer applicable because I completed one task which was dependent on the other four. I deleted them because they became obsolete.</p>
<p>So, yesterday, I completed one task that would allow me to complete more tasks today. In other words, imagine that we were traveling on a time machine to yesterday, it would be: today I completed one task and tomorrow I will be able to move on to other tasks. Confusing, isn&#8217;t it?</p>
<p>For a software developer, someday he/she will write many lines of code, perhaps a thousand. But someday, he/she will only write just one line of code or perhaps none. When the productivity is only one line of code for a day, is it too low? It is not. Sometimes, that single line of code will serve as a connector to many pieces of code together. That one single line that software developer has produced today, will allow many tasks to be completed tomorrow.</p>
<p>Praise yourself if you have got only one task done today because you will complete more tomorrow. The caveat, however, is that you do not make this an excuse for not having done so much today.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2010/07/08/today-tomorrow-and-todo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>iPhone is good for business</title>
		<link>http://adrianhoe.com/adrianhoe/2010/01/12/iphone-is-good-for-business/</link>
		<comments>http://adrianhoe.com/adrianhoe/2010/01/12/iphone-is-good-for-business/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 02:55:46 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Work]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Phones]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[MacBook]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=1976</guid>
		<description><![CDATA[As I promised earlier in an article that I would write about my experience of using the iPhone. Well, here it goes&#8230; Mine is a 32GB Black iPhone. The specifications can be found on Apple website so I am not going to repeat them again here. I used a sleek Nokia 6300 before this so [...]]]></description>
			<content:encoded><![CDATA[<p>As I promised earlier in an article that I would write about my experience of using the iPhone. Well, here it goes&#8230;</p>
<p><span id="more-1976"></span></p>
<p>Mine is a 32GB Black iPhone. The specifications can be found on Apple website so I am not going to repeat them again here. I used a sleek Nokia 6300 before this so it took me some time to adapt to the bigger/wider iPhone. This is not really a problem to get used to, actually. So, let&#8217;s put aside the physical differences.</p>
<p><img class="alignnone" src="http://adrianhoe.com/adrianhoe/images/blog/2010/IMG_3986s.jpg" alt="" width="400" height="266" /></p>
<p>I had been looking into various smart phones by Nokia and Sony Ericsson before I settled for Nokia 6300 almost two years ago. Well, nothing is comparable to iPhone as I find today.</p>
<p>On the 4th day, I had already got a chance to take my brand new iPhone into action. I completed a task outside and needed to go back to my home/office. I usually made payment to my suppliers at the bank. Then I would go back home/office to scan and email my suppliers before they could send me the goods. This usually would happen a few hours later or in the evening because I have the habit of being cost-effective when running errands outside. With iPhone, I snapped a photo of the bank transaction slip with its built-in 3 megapixels camera and emailed the photo to my supplier immediately. By the time I stepped out the bank, my supplier had called me and confirmed receipt of the fund. Everything was done on the iPhone at the bank.</p>
<p>While the competition in smartphone market is mounting with Google&#8217;s Nexus One and Android enabled phones with attempt to take down iPhone, nothing has come closer to the 3 billion downloads of iPhone apps at Apple&#8217;s App Store.</p>
<p>I am using quite a number of applications for productivity and I find them all useful. I am able to check my schedule and make appointment, follow my to-do list, review some documents (PDF, graphics etc,) which my co-workers and I shared. More, I can email, facebook and tweet anytime, anywhere with the iPhone (the list goes on.) These tasks are a little over killed on a MacBook I can say.</p>
<p>When my dad was in the hospital a few months ago (I still had not had my iPhone then), I had been in and out of the hospital with my backpack. It was quite annoying trying to find a good spot where I could sit down, open up my 13&#8243; MacBook and connect it with a 3G broadband. Sometimes, the seat had been taken by patients&#8217; relatives. Most of the time, my MacBook and I became the attraction of bored people sitting around me. Some nosy people would peep at my screen. Checking and replying business emails had became a difficult task as my privacy was invaded. It was like houseflies buzzing around while you were eating your chicken pie. Were you able to enjoy anyway?</p>
<p>With iPhone, this scenario has changed a little bit. I am still able to communicate and do some light tasks without the need of my MacBook and houseflies peeping. I can add, modify or delete appointments and contacts on iPhone and sync with my Macs via MobileMe. I am also able to update my to-do list and sync with my Macs via WiFi later when I am home.</p>
<p>As a software developer, I spend most of my time at the keyboard spewing codes other than blogging, emailing, facebooking and tweeting. I would rather save this coding task on my Macs if there is any code editing app available for iPhone. When I am not at my desk, I would want to follow up with tasks like the reviewing of drawings/images (icons, logo etc), design and technical documents on iPhone.</p>
<p>The iPhone is handy during short discussion sessions (less than 15 minutes) with co-workers and clients. A relatively large MacBook would look clumsy in this situation.</p>
<p>I can also use iPhone as a remote controller to navigate Keynote presentation slides using Apple&#8217;s Remote. This app makes me look more professional (and well, cooler) when presenting because I need not walk to my MacBook to press a key every each time I want to change the slide. I can do it on my iPhone.</p>
<p>Well, the list goes on and on so long you have not run out of imagination of  how to utilize your iPhone. I would never go back to Nokia or Sony or anything else except iPhone.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2010/01/12/iphone-is-good-for-business/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I got an iPhone</title>
		<link>http://adrianhoe.com/adrianhoe/2009/12/18/i-got-an-iphone/</link>
		<comments>http://adrianhoe.com/adrianhoe/2009/12/18/i-got-an-iphone/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 03:37:17 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Work]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Phones]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iTunes]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=1965</guid>
		<description><![CDATA[If you have followed my blog, you must be aware of how I criticized about iPhone and Apple&#8217;s aggressive strategy with mobile carriers in my article, &#8220;iPhone is in Malaysia!&#8221; I have also been going around telling customers and friends that iPhone is not as useful as it seems and is more a toy to [...]]]></description>
			<content:encoded><![CDATA[<p>If you have followed my blog, you must be aware of how I criticized about iPhone and Apple&#8217;s aggressive strategy with mobile carriers in my article, &#8220;<a href="http://adrianhoe.com/adrianhoe/2009/03/14/iphone-is-in-malaysia/" target="_blank">iPhone is in Malaysia!</a>&#8221; I have also been going around telling customers and friends that iPhone is not as useful as it seems and is more a toy to attract young generation.</p>
<p>Well, I admit that I was wrong. I am developing a cloud/web-based MIS (Medical Information System) which enables patient to be able to view certain information and interact with the clinic/doctor from anywhere. Likewise, it also provides doctors greater mobility and still are able to care for their patients while they are away.</p>
<p>After reading articles (on Apple&#8217;s website) how iPhones help hospitals in the U.S. to provide better healthcare at lower cost, I decided to build the MIS with iPhone support. I based my decision on these reasons:</p>
<ol>
<li>Ease of use. I have been toying/using around with an iPod Touch for a few months and I find that it is easy to navigate/use. iPod Touch is essentially an iPhone without the phone. You get what I mean.</li>
<li>Beautiful UI. Apple is well known for its brilliant UI (User Interface) in Mac OS X and iPhone OS. Nothing else comes closer to it.</li>
<li>Security. All applications must be approved by Apple and be signed with license keys issued by Apple. Apple&#8217;s iTunes Store is the only place to download applications. I can be rest assured  to have less (or none) headache about spooky applications from unreliable sources. Of course, there are jail broken iPhones which do not play by the rules but I am not too worried about that.</li>
</ol>
<p>So, I went ahead ordering one last week. Last night, I went to Maxis center to collect my 32GB Black iPhone. It is such a beauty.</p>
<p>Give me a couple of weeks mingling with it and I promise you I will write about my experience.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2009/12/18/i-got-an-iphone/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Nightlighting</title>
		<link>http://adrianhoe.com/adrianhoe/2009/10/05/nightlighting/</link>
		<comments>http://adrianhoe.com/adrianhoe/2009/10/05/nightlighting/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 04:48:21 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Work]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Diet]]></category>
		<category><![CDATA[Medical]]></category>
		<category><![CDATA[dysmenorrhea]]></category>
		<category><![CDATA[Health]]></category>
		<category><![CDATA[menarche]]></category>
		<category><![CDATA[menstrual]]></category>
		<category><![CDATA[menstruation]]></category>
		<category><![CDATA[nightlighting]]></category>
		<category><![CDATA[reproductive system]]></category>
		<category><![CDATA[slimming]]></category>
		<category><![CDATA[uterine]]></category>
		<category><![CDATA[women]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=1862</guid>
		<description><![CDATA[Recently, I have been reading a little about women&#8217;s health while working on a software project. It is astonishing to know most of the facts about women and women-related illnesses. When reading about menstruation, I learned some terms such as menarche which means woman&#8217;s first menstruation, dysmenorrhea which is a medical condition characterized by severe [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I have been reading a little about women&#8217;s health while working on a software project. It is astonishing to know most of the facts about women and women-related illnesses. When reading about menstruation, I learned some terms such as menarche which means woman&#8217;s first menstruation, dysmenorrhea which is a medical condition characterized by severe uterine pain during menstruation.</p>
<p>Heredity, diet and health condition can affect a young woman&#8217;s menarche. This is something most parents with growing young daughters have overlook. Diet plays a very important part in young women especially teenage girls. Many teenage girls despite of having their menarche years earlier, neglects or intentionally limit their dietary intakes for body slimming purposes. This ignorance can seriously affect their reproductive system.</p>
<p>One most interesting fact I learned about menstruation is the term &#8220;Nightlighting&#8221;.</p>
<blockquote><p>The word &#8220;menstruation&#8221; is etymologically related to &#8220;moon&#8221;. The terms &#8220;menstruation&#8221; and &#8220;menses&#8221; are derived from the Latin <em>mensis</em> (month), which in turn relates to the Greek <em>mene</em> (moon) and to the roots of the English words <em>month</em> and <em>moon</em>—reflecting the fact that the moon also takes close to 28 days to revolve around the Earth (actually 27.32 days). The synodical lunar month, the period between two new moons (or full moons), is 29.53 days long. &#8212; Wikipedia</p></blockquote>
<p>In some traditional societies without nightlighting believe that women ovulate in full moon and menstruate in new moon. There are studies in both humans and animals where artificial lighting at night does alter the menstruation cycle. While none of the studies have suggested the lunar phase affects the ovulation cycle, bright light exposure in the morning stimulates more regular cycles.</p>
<p>Research also suggested that sensitivity of women&#8217;s cycles to nightlighting is related to nutritional deficiencies of certain minerals and vitamins. Again, balanced and healthy diet is utmost important to women&#8217;s health.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2009/10/05/nightlighting/feed/</wfw:commentRss>
		<slash:comments>1</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>Objectively Boolean</title>
		<link>http://adrianhoe.com/adrianhoe/2009/02/11/objectively-boolean/</link>
		<comments>http://adrianhoe.com/adrianhoe/2009/02/11/objectively-boolean/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 18:34:23 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Ada]]></category>
		<category><![CDATA[At Work]]></category>
		<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=1500</guid>
		<description><![CDATA[I was introduced to Objective-C in a workshop organized by Apple Malaysia about 3 years ago. Read my posts here and here. No real development using Objective-C after that. One plain reason for me to pick up Objective-C again recently is to develop Cocoa and Cocoa Touch applications for the Macs and iPhone (and iPod [...]]]></description>
			<content:encoded><![CDATA[<p>I was introduced to Objective-C in a workshop organized by Apple Malaysia about 3 years ago. Read my posts <a href="http://adrianhoe.com/adrianhoe/2006/11/29/first-hand-on-objective-c-and-cocoa/" target="_blank">here</a> and <a href="http://adrianhoe.com/adrianhoe/2006/11/29/cocoa-bindings-and-core-data-workshop/" target="_blank">here</a>. No real development using Objective-C after that.</p>
<p>One plain reason for me to pick up Objective-C again recently is to develop Cocoa and Cocoa Touch applications for the Macs and iPhone (and iPod Touch). Trying to having nonpartisan mind after so many years of using Ada (and away from C/C++ and variants) is a difficult task to comprehend. As an individual Ada developer (having my own opinion) I am finding C/C++ very compromising in many ways, for instance, readability of codes and safety. Although Objective-C has many improvement over C/C++, it is still lacking what Ada offers.</p>
<p>By syntax, Objective-C is still very much like C. A few obvious clues to tell if it is an Objective-C are the use of <span style="font-family:Courier;">#import</span>, instead of <span style="font-family:Courier;">#include</span>; the <span style="font-family:Courier;">@</span> sign; the Smalltalk-like message passing syntax and several others.</p>
<p>The <span style="font-family:Courier;">#include</span> statement in C/C++ has many drawbacks. One which seriously affecting compilation efficiency is the repeating includes of same header files. With <span style="font-family:Courier;">#import</span>, header files are included once only throughout entire compilation.</p>
<p>One deadly pitfall I have encountered so far is the way Boolean type is implemented in Objective-C. C supports Boolean data type, <span style="font-family:Courier;">bool</span>, which takes on the value of either <span style="font-family:Courier;">true</span> or <span style="font-family:Courier;">false</span>. Objective-C has similar data type, <span style="font-family:Courier;">BOOL</span>, which is 8-bit number that takes on <span style="font-family:Courier;">YES</span> as <span style="font-family:Courier;">1</span> and <span style="font-family:Courier;">NO</span> as <span style="font-family:Courier;">0</span>. If you unwittingly assign a 2-byte integer to a <span style="font-family:Courier;">BOOL</span> type, the result can be catastrophic. Only the lowest byte will be used for the value of <span style="font-family:Courier;">BOOL</span>. If the lowest byte is zero, for example, <span style="font-family:Courier;">4608</span> which its hexadecimal value is <span style="font-family:Courier;">0&#215;1200</span>, <span style="font-family:Courier;">BOOL</span> will be zero or <span style="font-family:Courier;">NO</span>.</p>
<p>Ada&#8217;s strong-typing disallows this to happen and thus saving, possibly countless hours of debugging. Personally, I like neither <span style="font-family:Courier;">bool</span> nor <span style="font-family:Courier;">BOOL</span>. I prefer Ada&#8217;s <span style="font-family:Courier;">Boolean</span>.</p>
<p>Unlike the dreaded C++, Objective-C does not support operator overloading and multiple inheritance. In Ada95, a restricted form of multiple inheritance is supported. In Ada2005, multiple inheritance is supported by new form of type called the interface type, similar to abstract tagged type with no components.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2009/02/11/objectively-boolean/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Apple TV playlist</title>
		<link>http://adrianhoe.com/adrianhoe/2009/01/24/apple-tv-playlist/</link>
		<comments>http://adrianhoe.com/adrianhoe/2009/01/24/apple-tv-playlist/#comments</comments>
		<pubDate>Sat, 24 Jan 2009 11:59:57 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Work]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Medical]]></category>
		<category><![CDATA[Apple TV]]></category>
		<category><![CDATA[iTunes]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=1448</guid>
		<description><![CDATA[I have installed an Apple TV at my client&#8217;s office waiting area. His purpose is to educate his patients while they are waiting for their consultation. That is a brilliant idea as we had long and boring waiting experience when LA was consulting him. The idea is to design different programs with advertisements and messages [...]]]></description>
			<content:encoded><![CDATA[<p>I have installed an Apple TV at my client&#8217;s office waiting area. His purpose is to educate his patients while they are waiting for their consultation. That is a brilliant idea as we had long and boring waiting experience when LA was consulting him.</p>
<p>The idea is to design different programs with advertisements and messages interleaved among documentary and his own educational videos for playback on different days of the week. And the most important thing is to allow the doctor himself to easily update his educational videos and advertisements anytime as he wishes from his new 24&#8243; iMac.</p>
<p>After I installed Apple TV a few days ago, I realized it did not have movie playlist. After Googling for a while, I wasn&#8217;t alone. Here is a <a href="http://blogs.tech-recipes.com/davak/2008/01/20/apple-tv-no-video-playlists-no-airtunes/" target="_blank">blog entry</a> with the same problem. And I found out the Apple TV Software Update 2.3 allows movie playlist in iTunes to be seen on Apple TV. I downloaded the 2.3 update this afternoon, and after I activated the movie playlist in Apple TV settings, it is now able to play the movies in the playlist as desired.</p>
<p>I pondered why Apple did not ship Apple TV with new software update 2.3. It was released in November 2008. About the Apple TV software update can be found <a href="http://support.apple.com/kb/HT3187" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2009/01/24/apple-tv-playlist/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Another ultimate experience</title>
		<link>http://adrianhoe.com/adrianhoe/2009/01/21/another-ultimate-experience/</link>
		<comments>http://adrianhoe.com/adrianhoe/2009/01/21/another-ultimate-experience/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 15:53:59 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Work]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Medical]]></category>
		<category><![CDATA[Operating theatre]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=1434</guid>
		<description><![CDATA[When LA birthed Richie, I was there with her almost the whole day in the labor room. That was the first awesome experience in my life. About three years ago, when LA birthed Nik, I was there with her in the operating theatre (OT). That was another more wonderful day in my whole life. I [...]]]></description>
			<content:encoded><![CDATA[<p>When LA birthed Richie, I was there with her almost the whole day in the labor room. That was the first awesome experience in my life. About three years ago, when LA birthed Nik, I was there with her in the operating theatre (OT). That was another more wonderful day in my whole life. I could hear her doctor cut open her lower abdomen (Caesarean section).</p>
<p>Almost a month after Nik was born, I suffered from retina detachment and had to undergo a <a href="http://adrianhoe.com/adrianhoe/2006/09/24/eye-surgery/" target="_blank">surgery</a> to repair it. That was myself experiencing the first surgery of my life. The experience was really awesome and I had some mixed feeling.</p>
<p>This afternoon, I had to test out some equipment in the OT while the doctor was performing laparoscopic surgery. Like the second experience, I had to put on the surgical gown and mask before entering the OT. Only this time I was with the doctor.</p>
<p> </p>
<div class="wp-caption alignnone" style="width: 310px"><img src="http://adrianhoe.com/adrianhoe/images/blog/2009/DSC04564s.JPG" alt="Thats me in surgical clothing" width="300" height="400" /><p class="wp-caption-text">That&#39;s me in surgical clothing</p></div>
<p>Although the laparoscopic surgery was not invasive, it was thrilling enough to witness the live performance before my own eyes. At least, it has proven I have a strong stomach up to this level.</p>
<p><span id="more-1434"></span></p>
<p>Back to the serious stuff. The purpose of the test was to make sure the process could be streamlined with Mac computers. Before this, the doctor&#8217;s assistant would have to push a rather big and clumsy caddy with PC, a LCD monitor and some other equipment from consultation suite to OT prior to every surgery. By using a Mac, they would no longer need the chunky caddy. A MacBook snugged nicely into a carrying bag together with the little device would perform the tasks.</p>
<p>The following photos showed the chunky caddy and my MacBook.</p>
<p> </p>
<div class="wp-caption alignnone" style="width: 310px"><img src="http://adrianhoe.com/adrianhoe/images/blog/2009/DSC04565s.JPG" alt="Chunky caddy and the Potato Computer (PC)" width="300" height="400" /><p class="wp-caption-text">Chunky caddy and the Potato Computer (PC)</p></div>
<p> </p>
<div class="wp-caption alignnone" style="width: 310px"><img src="http://adrianhoe.com/adrianhoe/images/blog/2009/DSC04563s.JPG" alt="The sleek and sexy MacBook" width="300" height="400" /><p class="wp-caption-text">The sleek and sexy MacBook</p></div>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2009/01/21/another-ultimate-experience/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>Busy</title>
		<link>http://adrianhoe.com/adrianhoe/2008/11/01/busy/</link>
		<comments>http://adrianhoe.com/adrianhoe/2008/11/01/busy/#comments</comments>
		<pubDate>Sat, 01 Nov 2008 01:13:12 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Home]]></category>
		<category><![CDATA[At Work]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[thesis]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=1292</guid>
		<description><![CDATA[Dear family, friends and readers, If you have noticed, I post less starting October. Perhaps some of you are wondering why. Yes, you are right, I am busy working on my research and the thesis. Please continue to check my blog regularly and all comments are welcome. I will check and reply comments and will [...]]]></description>
			<content:encoded><![CDATA[<p>Dear family, friends and readers,</p>
<p>If you have noticed, I post less starting October. Perhaps some of you are wondering why. Yes, you are right, I am busy working on my research and the thesis. Please continue to check my blog regularly and all comments are welcome. I will check and reply comments and will write new posts when time and ideas sneak in. I will be writing selectively rather than random thoughts.</p>
<p>Thank you for your patronage.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2008/11/01/busy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Butterworth low-pass filters</title>
		<link>http://adrianhoe.com/adrianhoe/2008/09/04/butterworth-low-pass-filters/</link>
		<comments>http://adrianhoe.com/adrianhoe/2008/09/04/butterworth-low-pass-filters/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 16:14:07 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Work]]></category>
		<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[analog signal processing]]></category>
		<category><![CDATA[Butterworth]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[Mathematica]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=1099</guid>
		<description><![CDATA[I was reading about Butterworth low-pass filters since two weeks ago. Signal processing was not my favorite but this particular linear analog electronic filter had somehow captured my attention. I have interns working on some projects. One project uses Butterworth low-pass filters to process signal acquired from some sensors. I have to verify their works [...]]]></description>
			<content:encoded><![CDATA[<p>I was reading about Butterworth low-pass filters since two weeks ago. Signal processing was not my favorite but this particular linear analog electronic filter had somehow captured my attention. I have interns working on some projects. One project uses Butterworth low-pass filters to process signal acquired from some sensors.</p>
<p>I have to verify their works using <em><a href="http://wolfram.com" target="_blank">Mathematica</a></em> on Mac OS X for data modeling. But there is a problem with this software. It does not have a built-in function of Butterworth low-pass filter so I need to build one.</p>
<p>The gain G(ω) of an <em>n</em>-order Butterworth low pass filter is given in terms of transfer function H(s) as:</p>
<p><img class="aligncenter" src="http://adrianhoe.com/adrianhoe/images/blog/2008/butterworth_equation.jpg" alt="" width="269" height="77" /></p>
<p>where ω<sub>c</sub> is break frequency.</p>
<p>The Mathematica code with break frequency normalized at 1 rad/s:</p>
<pre><code>
butterworth[w1_, w2_, o_] = 1/(1 + (w1/w2)^(2*o));

LogLinearPlot[
 Evaluate[Table[
   10*Log[10, butterworth[w1, 1, order]], {order, 5}]], {w1, 0.01, 100},
  PlotRange -&gt; {-100, 0}, PlotPoints -&gt; 100, ImageSize -&gt; 400]
Export["butterworth.jpg", %]
</code></pre>
<div class="wp-caption alignnone" style="width: 410px"><img title="Butterworth" src="http://adrianhoe.com/adrianhoe/images/blog/2008/butterworth_graph.jpg" alt="Plot of the gain of Butterworth low-pass filters of the n-order 1 through 5." width="400" height="256" /><p class="wp-caption-text">Plot of the gain of Butterworth low-pass filters of the n-order 1 through 5.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2008/09/04/butterworth-low-pass-filters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Writing a conceptual paper</title>
		<link>http://adrianhoe.com/adrianhoe/2008/08/17/writing-a-conceptual-paper/</link>
		<comments>http://adrianhoe.com/adrianhoe/2008/08/17/writing-a-conceptual-paper/#comments</comments>
		<pubDate>Sat, 16 Aug 2008 16:00:40 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Home]]></category>
		<category><![CDATA[At Work]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Ideas]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=1038</guid>
		<description><![CDATA[This may or may not be the greatest invention or rather I will not call it an invention yet. I am thinking of how to write a paper to record the conceptualization of my idea which I talked about earlier. First, at this point, I can&#8217;t discuss my idea with anybody in order to protect [...]]]></description>
			<content:encoded><![CDATA[<p>This may or may not be the greatest invention or rather I will not call it an invention yet. I am thinking of how to write a paper to record the conceptualization of my idea which I talked about <a href="http://adrianhoe.com/adrianhoe/2008/08/15/sudden-flooding-of-wild-ideas/" target="_blank">earlier</a>. First, at this point, I can&#8217;t discuss my idea with anybody in order to protect my interest; that makes the writing more difficult. Second, I have nothing to prove so writing this paper is like writing a Sci-Fi novel. So, I need a different approach, may be.</p>
<p>I dug out my collection of conference proceedings yesterday afternoon, hopefully I could find some inspiration. Obviously, I haven&#8217;t.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2008/08/17/writing-a-conceptual-paper/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Hello? What is Ada?</title>
		<link>http://adrianhoe.com/adrianhoe/2008/07/09/hello-what-is-ada/</link>
		<comments>http://adrianhoe.com/adrianhoe/2008/07/09/hello-what-is-ada/#comments</comments>
		<pubDate>Wed, 09 Jul 2008 15:46:21 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Ada]]></category>
		<category><![CDATA[At Work]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Seminar]]></category>
		<category><![CDATA[C]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=770</guid>
		<description><![CDATA[I was giving an Ada talk this afternoon. The room was quite packed with students although not full. They were mainly 3rd year sem 1. Most of them were looking at technologies that they could work with their FYP (Final Year Project). While I regaled them with fascinating true facts of Ada, I could see [...]]]></description>
			<content:encoded><![CDATA[<p>I was giving an Ada talk this afternoon. The room was quite packed with students although not full. They were mainly 3rd year sem 1. Most of them were looking at technologies that they could work with their FYP (Final Year Project).</p>
<p>While I regaled them with fascinating true facts of Ada, I could see various reactions on their innocent and ignorant faces. Almost half of them gave an expression of &#8220;What is Ada going to do with my project?&#8221;, &#8220;What is Ada? Never heard of it.&#8221; or &#8220;Ada is old technology and is unpopular.&#8221; It was years of experience telling me not to waste too much time with such audiences. I quickly skimmed through some technical facts which they wouldn&#8217;t understand and continue regaling them with some interesting facts.</p>
<p>Finally, I had come to the end of the talk. It was the questions and answers session. No one had asked any questions except a girl who asked me about C# after the talk session was over. I explained to her the benefits of Ada over C# but she said she would have to start all over again. Again, my instinct told me not to waste time with such attitude and I turned my focus onto the two students whom I am supervising now. I continued with them a discussion of their project.</p>
<p>Unlike a couple of years back, I was too over-enthusiastic about Ada. I would talk regardless of audience reactions. After a few talks and a seminar this year, I find that I have changed. My enthusiasm is parallel to audience reaction.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2008/07/09/hello-what-is-ada/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Working at Honda?</title>
		<link>http://adrianhoe.com/adrianhoe/2008/06/30/working-at-honda/</link>
		<comments>http://adrianhoe.com/adrianhoe/2008/06/30/working-at-honda/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 05:12:31 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Work]]></category>
		<category><![CDATA[Autos]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Critiques]]></category>
		<category><![CDATA[Honda]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=765</guid>
		<description><![CDATA[I was working at Honda&#8217;s Showroom (KAH Motor) while I waited for my car to be repaired since 0830 this morning. One thing Honda has done right is the 3S (Sales, Service, Showroom) Center. They provide free drinks, Astro and WIFI for customers. The waiting area is very comfortable and cozy. One thing lacking is [...]]]></description>
			<content:encoded><![CDATA[<p>I was working at Honda&#8217;s Showroom (KAH Motor) while I waited for my car to be repaired since 0830 this morning. One thing Honda has done right is the 3S (Sales, Service, Showroom) Center. They provide free drinks, Astro and WIFI for customers. The waiting area is very comfortable and cozy. One thing lacking is insufficient seats.</p>
<p>It was great experience to do my work at Honda&#8217;s showroom. I have a lot to prepare for the Ada Workshop tomorrow.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2008/06/30/working-at-honda/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ada Obsession</title>
		<link>http://adrianhoe.com/adrianhoe/2008/06/17/ada-obsession/</link>
		<comments>http://adrianhoe.com/adrianhoe/2008/06/17/ada-obsession/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 13:25:42 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Ada]]></category>
		<category><![CDATA[At Work]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Call Me a Geek]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[KazeServer]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=759</guid>
		<description><![CDATA[Well, well, well. Kazeserver alpha RC1 has to be delayed due to some design issues and I am rewriting most part of the software so that the source can be understood easily. For the past two weeks, I was troubled by the old design but I have got a new picture now. Isn&#8217;t Ada code [...]]]></description>
			<content:encoded><![CDATA[<p>Well, well, well. Kazeserver alpha RC1 has to be delayed due to some design issues and I am rewriting most part of the software so that the source can be understood easily. For the past two weeks, I was troubled by the old design but I have got a new picture now.</p>
<p>Isn&#8217;t Ada code easy to understand? Well, yes. But I was using a lot of <em>Unbounded_String</em> in records which made my code hard to read and understood. While <em>Unbounded_String</em> is compatible with database operation, it lacks the understandability and readability if compared to <em>String (1 .. 10)</em> for example.</p>
<p>Today, I am totally obsessed in Ada and am feeling the strongest Ada obsession after a couple of years. The feeling is still burning. If my Ada obsession keep burning, I believe I can release KazeServer for alpha testing before of June. Hopefully.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2008/06/17/ada-obsession/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Increased productivity</title>
		<link>http://adrianhoe.com/adrianhoe/2008/06/14/increased-productivity/</link>
		<comments>http://adrianhoe.com/adrianhoe/2008/06/14/increased-productivity/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 17:18:03 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Home]]></category>
		<category><![CDATA[At Work]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Days in My Life]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=757</guid>
		<description><![CDATA[After solving the post-commit hook script problem (read here), I am a happy software developer again. I am able to receive post commit emails to help me keep track of changes in my development work. I have been experiencing the same level of efficiency and productivity before this problem struck me. I guess I am [...]]]></description>
			<content:encoded><![CDATA[<p>After solving the post-commit hook script problem (read <a href="http://adrianhoe.com/adrianhoe/2008/06/09/subversion-client-hangs-after-post-commit/" target="_blank">here</a>), I am a happy software developer again. I am able to receive post commit emails to help me keep track of changes in my development work. I have been experiencing the same level of efficiency and productivity before this problem struck me.</p>
<p>I guess I am happy of the whole week of activities and I am signing off to bed.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2008/06/14/increased-productivity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gourmet Chocolates</title>
		<link>http://adrianhoe.com/adrianhoe/2008/06/13/gourmet-chocolates/</link>
		<comments>http://adrianhoe.com/adrianhoe/2008/06/13/gourmet-chocolates/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 15:11:10 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Work]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Food]]></category>
		<category><![CDATA[Gifts]]></category>
		<category><![CDATA[Marketing]]></category>
		<category><![CDATA[Chocolate]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=756</guid>
		<description><![CDATA[I love chocolates! Recently, I craved for chocolates because of the increased brain activities. Chocolate is the favorite food while I am working on computers. Besides providing more energy for my brains, I love the way it melts in my mouth. LA has baked some chocolate cookies last week and I almost finished them. I [...]]]></description>
			<content:encoded><![CDATA[<p>I love chocolates! Recently, I craved for chocolates because of the increased brain activities. Chocolate is the favorite food while I am working on computers. Besides providing more energy for my brains, I love the way it melts in my mouth. LA has baked some chocolate cookies last week and I almost finished them.</p>
<p>I found a site which sells delicious gourmet chocolates. Gertrude Hawk <a href="http://www.gertrudehawkchocolates.com/" target="_blank">Chocolates</a> is made of fresh and finest ingredients. It is dedicated to create the best gourmet chocolates which include dark chocolate and other mouth-watering, delicious Chocolate Smidgens, caramel-dipped apples, gourmet summer taffy and many more.</p>
<p><a href="http://www.gertrudehawkchocolates.com/" target="_blank">Gertrude Hawk Chocolates</a> also provide gift giving service. Their beautifully gift-wrapped assortments and pre-made gift baskets add more values to your gift-giving needs. Besides, you can also create your own personal gift with their <a href="http://www.gertrudehawkchocolates.com/index.cfm?act=basket" target="_blank">Create-a-Basket</a> program.</p>
<p>Hmmm&#8230; I wish to receive a Gertrude Hawk Chocolates gift basket.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2008/06/13/gourmet-chocolates/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>DocBook Publishing &#8211; Output to HTML</title>
		<link>http://adrianhoe.com/adrianhoe/2008/06/06/docbook-publishing-output-to-html/</link>
		<comments>http://adrianhoe.com/adrianhoe/2008/06/06/docbook-publishing-output-to-html/#comments</comments>
		<pubDate>Fri, 06 Jun 2008 15:24:31 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Work]]></category>
		<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[DocBook]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=747</guid>
		<description><![CDATA[I learned about DocBook last year and found it a great tool for technical documentation. It is a XML based semantic markup language. The DocBook is originally intended for computer hardware and software documentation but it is great for other documentation purposes. I have been working on some documentation, new and converting existing from Lyx [...]]]></description>
			<content:encoded><![CDATA[<p>I learned about DocBook last year and found it a great tool for technical documentation. It is a XML based semantic markup language. The DocBook is originally intended for computer hardware and software documentation but it is great for other documentation purposes.</p>
<p>I have been working on some documentation, new and converting existing from Lyx to DocBook. With DocBook, I am able to publish the contents easily to many formats, namely TEX, text, pdf or HTML. I had been trying to output some of my DocBook documentation to HTML.</p>
<p>This afternoon, I have finally succeeded to publish to HTML. I installed some DocBook packages on Ubuntu. Here are the packages you need to get DocBook going:</p>
<ol>
<li>docbook</li>
<li>docbook-xsl</li>
<li>docbook-xsl-doc</li>
<li>docbook-xsl-doc-html</li>
<li>docbook-xsl-doc-pdf</li>
<li>docbook-xsl-doc-text</li>
<li>xsltproc</li>
<li>and optional xalan and fop</li>
</ol>
<p>To output your DocBook document to HTML, simply this:</p>
<pre><code>
$ xsltproc --output paper.html \
/usr/share/xml/docbook/stylesheet/nwalsh/xhtml/docbook.xsl\
paper.xml
</code></pre>
<p>You can turn on chapter and section numbering by setting <em>chapter.autolabel</em> to 1 and <em>section.autolabel</em> to 1. To include the chapter number in every sections, set <em>section.label.includes.component.label</em> to 1.</p>
<pre><code>
$ xsltproc --output paper.html \
--stringparam section.autolabel 1 \
--stringparam section.label.includes.component.label 1 \
/usr/share/xml/docbook/stylesheet/nwalsh/xhtml/docbook.xsl \
paper.xml
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2008/06/06/docbook-publishing-output-to-html/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Patched a security hole in KazeServer</title>
		<link>http://adrianhoe.com/adrianhoe/2008/06/04/patched-a-security-hole-in-kazeserver/</link>
		<comments>http://adrianhoe.com/adrianhoe/2008/06/04/patched-a-security-hole-in-kazeserver/#comments</comments>
		<pubDate>Wed, 04 Jun 2008 06:46:52 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Ada]]></category>
		<category><![CDATA[At Work]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[KazeServer]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=740</guid>
		<description><![CDATA[While I was at Honda waiting for the technician to reprogram the ECU, I found a security hole in the authentication part of KazeServer. An unrecognized user id with a null password would grant access to KazeServer but without any significant usability but posed a potential risk. I quickly identified the cause and rectified the [...]]]></description>
			<content:encoded><![CDATA[<p>While I was at Honda waiting for the technician to reprogram the ECU, I found a security hole in the authentication part of KazeServer. An unrecognized user id with a null password would grant access to KazeServer but without any significant usability but posed a potential risk.</p>
<p>I quickly identified the cause and rectified the problematic logic in the program design. One down and many to do. One of the other critical problem is that KazeServer will get over with initialization and execute even without the MySQL server is running. A serious bug though.</p>
<p>Another 3 more days to release Alpha RC1 and yet so many problems and unfinished parts. I feel the release will have to be postponed then.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2008/06/04/patched-a-security-hole-in-kazeserver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pre-Alpha RC1</title>
		<link>http://adrianhoe.com/adrianhoe/2008/06/02/pre-alpha-rc1/</link>
		<comments>http://adrianhoe.com/adrianhoe/2008/06/02/pre-alpha-rc1/#comments</comments>
		<pubDate>Mon, 02 Jun 2008 14:46:22 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Ada]]></category>
		<category><![CDATA[At Work]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[AWS]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[gnat]]></category>
		<category><![CDATA[KazeServer]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=739</guid>
		<description><![CDATA[I am in the midst of getting the KazeServer to roll out. During this pre-Alpha RC1 stage, works have been a little pressured especially cleaning up parts of the codes to make it neater and more efficient. A number of factors are also affecting during pre-Alpha stage. One of them is the gnat Ada compiler [...]]]></description>
			<content:encoded><![CDATA[<p>I am in the midst of getting the KazeServer to roll out. During this pre-<a href="http://adrianhoe.com/adrianhoe/2008/06/01/entering-alpha-stage/" target="_blank">Alpha</a> RC1 stage, works have been a little pressured especially cleaning up parts of the codes to make it neater and more efficient. A number of factors are also affecting during pre-Alpha stage.</p>
<p>One of them is the gnat Ada compiler issue on Ubuntu Hardy Heron or 8.04. Hardy comes with gnat-4.1 with a number of packages not added. Without these packages, I <a href="http://adrianhoe.com/adrianhoe/2008/05/26/cant-build-aws-in-ubuntu/" target="_blank">can&#8217;t build AWS</a>-2.3. So, I have to roll out Alpha RC1 on Mac OS X until Ubuntu Intrepid or 8.10 with gnat-4.3 is released (hopefully with gnat-4.3 by October). I have another option which is I have to move to Debian Etch with gnat-4.1 but including the libaws-2.2.</p>
<p>libaws-2.2 is a pre-built library for AWS on Debian Etch. I am developing using gnat-4.4 and AWS-2.3 on Mac OS X. Moving to Debian Etch means I am downgrading the version of gnat and AWS and I feel a little skeptical about it. This is one thing I hate most, version inconsistency among the Linux distro.</p>
<p>After talking to my friends on this matter, it looks like I have few choices but to target on Mac OS X for the moment considering the tasks of installing and get the Debian Etch up and a whole lot of uncertainties in gnat-4.1 and AWS-2.2.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2008/06/02/pre-alpha-rc1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Entering Alpha stage</title>
		<link>http://adrianhoe.com/adrianhoe/2008/06/01/entering-alpha-stage/</link>
		<comments>http://adrianhoe.com/adrianhoe/2008/06/01/entering-alpha-stage/#comments</comments>
		<pubDate>Sun, 01 Jun 2008 14:35:18 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Ada]]></category>
		<category><![CDATA[At Work]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[KazeServer]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/?p=737</guid>
		<description><![CDATA[Finally, after weeks of experimental development, KazeServer is entering Alpha development stage. I expect to roll out Alpha RC1, hopefully before this weekend. KazeServer is a web-enabled membership management system that allows registered members of an organization to login to review their membership data and other membership related transactions or records. KazeServer is developed 100% [...]]]></description>
			<content:encoded><![CDATA[<p>Finally, after weeks of experimental development, KazeServer is entering Alpha development stage. I expect to roll out Alpha RC1, hopefully before this weekend.</p>
<p>KazeServer is a web-enabled membership management system that allows registered members of an organization to login to review their membership data and other membership related transactions or records. KazeServer is developed 100% with Ada and AWS (Ada Web Server). The application itself is a web server. No web server, e.g. Apache, is needed to run KazeServer. It is a totally stand-alone independent application with a built-in web server (AWS).</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2008/06/01/entering-alpha-stage/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Talking to a wall</title>
		<link>http://adrianhoe.com/adrianhoe/2008/03/08/talking-to-a-wall/</link>
		<comments>http://adrianhoe.com/adrianhoe/2008/03/08/talking-to-a-wall/#comments</comments>
		<pubDate>Fri, 07 Mar 2008 17:53:11 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Ada]]></category>
		<category><![CDATA[At Work]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2008/03/08/talking-to-a-wall/</guid>
		<description><![CDATA[I had two talks about Ada at MMU (February 25) and UTAR (March 5). Among the local universities I had given talk about Ada, UTAR was the only university where I had given more than 5 talks over the years. According to my previous experience at UTAR, the response from the students were quite good. [...]]]></description>
			<content:encoded><![CDATA[<p>I had two talks about Ada at MMU (<a href="http://adrianhoe.com/2008/02/16/ada-seminar-at-mmu-and-utar/" target="_blank">February 25</a>) and UTAR (<a href="http://adrianhoe.com/2008/03/05/ada-seminar-at-utar-3/" target="_blank">March 5</a>). Among the local universities I had given talk about Ada, UTAR was the only university where I had given more than 5 talks over the years. According to my previous experience at UTAR, the response from the students were quite good.</p>
<p>On March 5, the talk at UTAR was the worst as if I was talking to walls or stone sculptures. The students were acting very rude by ignoring my talk. They were doing their assignment at the computers instead of listening to my talk. The talk was rescheduled to another venue which was in a computer lab. Nonetheless, I wrapped up the talk quickly. I skipped many parts to take it to the end and at the end of the talk, no one had asked any questions. I asked them some questions instead and of course, they did not know to answer. Obviously, they did not pay any attention at all.</p>
<p>In contrary, the talk at MMU on February 25 received better responses from the students.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2008/03/08/talking-to-a-wall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I lost my cell phone</title>
		<link>http://adrianhoe.com/adrianhoe/2008/02/12/i-lost-my-cell-phone/</link>
		<comments>http://adrianhoe.com/adrianhoe/2008/02/12/i-lost-my-cell-phone/#comments</comments>
		<pubDate>Tue, 12 Feb 2008 15:26:37 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Work]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Phones]]></category>
		<category><![CDATA[Sony Ericsson]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[K700i]]></category>
		<category><![CDATA[keynote]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2008/02/12/i-lost-my-cell-phone/</guid>
		<description><![CDATA[I had to go to one of my client&#8217;s outlet at Sentral Melaka to service their IP camera. When I arrived at the outlet, I received an SMS from LA followed by a phone call from Richard. He asked me lot of questions about his insurance claim and also to thank me for providing assistance [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://adrianhoe.com/adrianhoe/images/blog/2008/SE-k700i.jpg" alt="Sony Ericsson K700i" align="right" height="282" width="139" />I had to go to one of my client&#8217;s outlet at Sentral Melaka to service their IP camera. When I arrived at the outlet, I received an SMS from LA followed by a phone call from Richard. He asked me lot of questions about his insurance claim and also to thank me for providing assistance and information about his insurance claim. I remembered clearly I put my Sony Ericsson K700i which I bought in 2005.</p>
<p>I was a Nokia user before switching to SE because I read about how seamlessly SE K700i syncs with Apple&#8217;s Mac OS X applications via Bluetooth. The SE K700i is a very nice phone with many features I love about. One of them is K700i can be used as a remote control for Apple&#8217;s Keynote presentation software. The control is via Bluetooth as well.</p>
<p>Soon when I realized it was not in my waist pouch, I quickly dialed the number using another phone. The phone had been switched off. Total silence. It&#8217;s gone! A phone which has been my friend for almost 3 years is now gone.</p>
<p>I went back to the outlet after taking Dmitry from school and the staffs told me they didn&#8217;t see it. Disappointed.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2008/02/12/i-lost-my-cell-phone/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>GPS data uploaded</title>
		<link>http://adrianhoe.com/adrianhoe/2008/01/31/gps-data-uploaded/</link>
		<comments>http://adrianhoe.com/adrianhoe/2008/01/31/gps-data-uploaded/#comments</comments>
		<pubDate>Thu, 31 Jan 2008 15:44:07 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Work]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[GPS]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2008/02/01/gps-data-uploaded/</guid>
		<description><![CDATA[Finally, I have had the time to upload the GPS data I collected from yesterday&#8217;s delivery. The data is now all in the Windows box. It is too late to remove some unwanted data (data from other trips e.g. Zakimi on Okinawa and etc.). So I just make another copy of all the data and [...]]]></description>
			<content:encoded><![CDATA[<p>Finally, I have had the time to upload the GPS data I collected from <a href="http://adrianhoe.com/adrianhoe/2008/01/30/gps-guided-delivery/" target="_blank">yesterday&#8217;s delivery</a>. The data is now all in the Windows box. It is too late to remove some unwanted data (data from other trips e.g. <a href="http://adrianhoe.com/adrianhoe/2007/08/02/historical-artifacts-at-zakimi-castle/" target="_blank">Zakimi</a> on Okinawa and etc.). So I just make another copy of all the data and probably will edit them during this CNY.</p>
<p>I am kind of thirsty for more GPS data from delivery or trips to alien places. Anymore delivery? It is kinda fun. It is like treasure hunting, or tracking down a location. It is really exciting and fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2008/01/31/gps-data-uploaded/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Orders All Done!</title>
		<link>http://adrianhoe.com/adrianhoe/2008/01/29/orders-all-done/</link>
		<comments>http://adrianhoe.com/adrianhoe/2008/01/29/orders-all-done/#comments</comments>
		<pubDate>Tue, 29 Jan 2008 05:45:58 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Home]]></category>
		<category><![CDATA[At Work]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[delivery]]></category>
		<category><![CDATA[hampers]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2008/01/29/orders-all-done/</guid>
		<description><![CDATA[We received an order of 11 hampers from KL last Saturday. After 3 days of sleepless night, finally we had all the orders done up and ready for delivery tomorrow. LA, especially, has 3 sleepless nights. She did not sleep at all last night. I just done helping her to get the last two hampers [...]]]></description>
			<content:encoded><![CDATA[<p>We received an order of 11 hampers from KL <a href="http://adrianhoe.com/adrianhoe/2008/01/27/family-delivery-team/">last Saturday</a>. After 3 days of sleepless night, finally we had all the orders done up and ready for delivery tomorrow. LA, especially, has 3 sleepless nights. She did not sleep at all last night. I just done helping her to get the last two hampers up so that she can wrap them up in the afternoon and go to bed early tonight. I will go to bed early tonight. It will be a busy and hard day tomorrow to delivery to various locations around KL. I will be traveling alone tomorrow as the car will be a load full of hampers.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2008/01/29/orders-all-done/feed/</wfw:commentRss>
		<slash:comments>0</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>A Joyful Night</title>
		<link>http://adrianhoe.com/adrianhoe/2007/12/22/a-joyful-night/</link>
		<comments>http://adrianhoe.com/adrianhoe/2007/12/22/a-joyful-night/#comments</comments>
		<pubDate>Sat, 22 Dec 2007 03:11:27 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Work]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Family]]></category>
		<category><![CDATA[Holidays]]></category>
		<category><![CDATA[Karate]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2007/12/22/a-joyful-night/</guid>
		<description><![CDATA[Last night, after giving the grading test to three students at the doukoukai, a group (20+) from Bukit Beruang Methodist Church came to carol at the doukoukai. All, including my kids were having fun. For the first time, my kids saw a large group singing Christmas carols. Dominik, especially, was in &#8220;shocked&#8221; seeing so many [...]]]></description>
			<content:encoded><![CDATA[<p>Last night, after giving the grading test to three students at the doukoukai, a group (20+) from Bukit Beruang Methodist Church came to carol at the doukoukai. All, including my kids were having fun. For the first time, my kids saw a large group singing Christmas carols. Dominik, especially, was in &#8220;shocked&#8221; seeing so many strangers with Santa&#8217;s hat!</p>
<p><img src="http://adrianhoe.com/adrianhoe/images/blog/IMG_2946s.JPG" alt="Uechi-Ryu Zankai Christmas" height="267" width="400" /></p>
<p>More pictures and story <a href="http://uechiryu.org.my/2007/12/22/merry-christmas-and-happy-winter-solstice/" title="Uechi-Ryu Zankai Christmas" target="_blank">here</a>.</p>
<p>We wish all our friends and family a Merry Christmas, Happy Winter Solstice, Happy New Year and best of health.</p>
<p>Ganbatte kudasai!</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2007/12/22/a-joyful-night/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>First Commercial Photo Shoot</title>
		<link>http://adrianhoe.com/adrianhoe/2007/12/08/first-commercial-photo-shoot/</link>
		<comments>http://adrianhoe.com/adrianhoe/2007/12/08/first-commercial-photo-shoot/#comments</comments>
		<pubDate>Sat, 08 Dec 2007 08:07:47 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Work]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2007/12/08/first-commercial-photo-shoot/</guid>
		<description><![CDATA[Just came back from the photo shoot at the studio. It was a real experience. The portable studio kit was easy to setup. It took less than 15 minutes for me to setup and lights up. I met with a challenging and look impossible task. How to make a bouquet of flower to stand without [...]]]></description>
			<content:encoded><![CDATA[<p>Just came back from the photo shoot at the <em>studio</em>. It was a real experience. The portable studio kit was easy to setup. It took less than 15 minutes for me to setup and lights up.</p>
<p><img src="http://adrianhoe.com/adrianhoe/images/blog/photoshoot.jpg" /></p>
<p>I met with a challenging and look impossible task. How to make a bouquet of flower to stand without a container/vase and not to let any instrument visible in the photo? It would look like as it floating in the air.</p>
<p><img src="http://loveaficionado.com/wordpress/wp-content/uploads/2007/12/img_2884s.JPG" alt="Candy Flower Bouquet" height="400" width="267" /></p>
<p>I had to improvise a little stand to support the bouquet vertically. I loved the challenge and finally solved the problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2007/12/08/first-commercial-photo-shoot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A great news and a great start</title>
		<link>http://adrianhoe.com/adrianhoe/2007/12/08/a-great-news-and-a-great-start/</link>
		<comments>http://adrianhoe.com/adrianhoe/2007/12/08/a-great-news-and-a-great-start/#comments</comments>
		<pubDate>Sat, 08 Dec 2007 03:13:20 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Work]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Family]]></category>
		<category><![CDATA[Holidays]]></category>
		<category><![CDATA[Shopping]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2007/12/08/a-great-news-and-a-great-start/</guid>
		<description><![CDATA[What a great news LA brings home. She makes her first sales to two neighbors. Good saleswoman she is! I am really happy for her to have a great start today. Today is a happy day for me. She got a great start and I received a great lesson from Gandalf. Thanks, Gandalf!]]></description>
			<content:encoded><![CDATA[<p>What a great news LA brings home. She makes her first sales to two neighbors. Good saleswoman she is! I am really happy for her to have a great start today.</p>
<p>Today is a happy day for me. She got a great start and I received a great lesson from Gandalf.</p>
<p>Thanks, Gandalf!</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2007/12/08/a-great-news-and-a-great-start/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Portable Duplex Scanner</title>
		<link>http://adrianhoe.com/adrianhoe/2007/12/04/portable-duplex-scanner/</link>
		<comments>http://adrianhoe.com/adrianhoe/2007/12/04/portable-duplex-scanner/#comments</comments>
		<pubDate>Mon, 03 Dec 2007 17:25:20 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Work]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Marketing]]></category>
		<category><![CDATA[Shopping]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[duplex]]></category>
		<category><![CDATA[portable]]></category>
		<category><![CDATA[scanner]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2007/12/04/portable-duplex-scanner/</guid>
		<description><![CDATA[I have a Canon LiDE20 scanner and it works perfectly on my desk. One annoying fact about desktop scanner is that it can scan both side at the same time. The scan job becomes quite tedious and tiring if there are a large number of double-sided document to be scanned. This portable duplex scanner, ScanShell [...]]]></description>
			<content:encoded><![CDATA[<p>I have a Canon LiDE20 scanner and it works perfectly on my desk. One annoying fact about desktop scanner is that it can scan both side at the same time. The scan job becomes quite tedious and tiring if there are a large number of double-sided document to be scanned.</p>
<p>This portable <a href="http://www.scanshell-store.com/portable-duplex-scanner.htm" target="_new">duplex scanner</a>, ScanShell 3000DN, can scan double-sided document in one pass. Its portability and weighing at 0.59kg make it easy to tuck along on any business trip. Besides scanning documents, it is also useful to scan business cards.</p>
<p>ScanShell 3000DN plugs into any USB2.0 port. The scanner does not require external power supply. It can scan any documents and save to PDF or any of the following graphic formats: BMP, JPG, TIF, PSD, PCX, PNG or TGA.</p>
<p>When I am on business trip or visit project sites at universities, I need to scan some documents during most of the visits. I also like to scan business cards of whom I met so that I can keep organized and I am not afraid to misplace those valuable contacts. Perhaps I should put this in my wish list as this year Christmas present or may be include it in the budget 2008!<img src="http://tinyurl.com/yw9kro" /></p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2007/12/04/portable-duplex-scanner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perfectionist at work</title>
		<link>http://adrianhoe.com/adrianhoe/2007/11/08/perfectionist-at-work/</link>
		<comments>http://adrianhoe.com/adrianhoe/2007/11/08/perfectionist-at-work/#comments</comments>
		<pubDate>Thu, 08 Nov 2007 14:07:05 +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[Days in My Life]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2007/11/08/perfectionist-at-work/</guid>
		<description><![CDATA[It is not easy to work with a perfectionist. It is unusually demanding to with one. I know but I like to work with a perfectionist. The worst thing is that I am also one. It is also very difficult being a perfectionist. Perfectionist has outstanding demands and high expectation. But being a perfectionist is [...]]]></description>
			<content:encoded><![CDATA[<p>It is not easy to work with a perfectionist. It is unusually demanding to with one. I know but I like to work with a perfectionist. The worst thing is that I am also one. It is also very difficult being a perfectionist. Perfectionist has outstanding demands and high expectation.</p>
<p>But being a perfectionist is an advantage. A perfectionist is very good at detailed works and usually will not satisfy when the result is not finer than the expectation. This could send most people on their nerves and become mad.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2007/11/08/perfectionist-at-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HP 810C DeskJet Cartridge</title>
		<link>http://adrianhoe.com/adrianhoe/2007/10/25/hp-810c-deskjet-cartridge/</link>
		<comments>http://adrianhoe.com/adrianhoe/2007/10/25/hp-810c-deskjet-cartridge/#comments</comments>
		<pubDate>Thu, 25 Oct 2007 02:01:19 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Work]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Marketing]]></category>
		<category><![CDATA[Shopping]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2007/10/25/hp-810c-deskjet-cartridge/</guid>
		<description><![CDATA[I have an old Hewlett Packard (HP) 810C DeskJet which I have not been using for a long time. Recently, I was seeing a need to print some color name cards so I took out the printer and connected it to my Apple Mac Mini. It still works but two colors have dried up. I [...]]]></description>
			<content:encoded><![CDATA[<p>I have an old Hewlett Packard (HP) 810C DeskJet which I have not been using for a long time. Recently, I was seeing a need to print some color name cards so I took out the printer and connected it to my Apple Mac Mini. It still works but two colors have dried up. I called a few vendors but could not find the cartridges for it.</p>
<p>I came to <a href="http://www.cartridgefinder.com/index.htm" target="_new">Cartridge Finder</a> and found the cartridges for HP 810C DeskJet without any effort. <a href="http://www.cartridgefinder.com/index.htm" target="_new">CartridgeFinder.com</a>&#8216;s user friendly interface lets you easily figuring out which cartridges are required for more than 10,000 different models of printer, copier, and fax machines.</p>
<p>This site also searches PriceGrabber.com&#8217;s merchant listings to find you the best deals to save you time and money.<img src="http://tinyurl.com/yp2fp5" /></p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2007/10/25/hp-810c-deskjet-cartridge/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Busy with Dojo</title>
		<link>http://adrianhoe.com/adrianhoe/2007/10/14/busy-with-dojo/</link>
		<comments>http://adrianhoe.com/adrianhoe/2007/10/14/busy-with-dojo/#comments</comments>
		<pubDate>Sun, 14 Oct 2007 14:56:26 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Work]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Karate]]></category>
		<category><![CDATA[dojo]]></category>
		<category><![CDATA[Malacca]]></category>
		<category><![CDATA[melaka]]></category>
		<category><![CDATA[Okinawa]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2007/10/14/busy-with-dojo/</guid>
		<description><![CDATA[The opening of the Okinawa Karate-do Uechi-Ryu Zankai Malaysia Shibu Dojo at Bukit Beruang is only 17 days away and there are still a lot of works to be done at the dojo. Patching, cleaning, washing, painting, decorating, fixing, etc, etc, etc&#8230;. Whew! It&#8217;s not an easy task. This will be the first Uechi-Ryu Zankai [...]]]></description>
			<content:encoded><![CDATA[<p>The opening of the Okinawa Karate-do Uechi-Ryu Zankai Malaysia Shibu Dojo at Bukit Beruang is only 17 days away and there are still a lot of works to be done at the dojo. Patching, cleaning, washing, painting, decorating, fixing, etc, etc, etc&#8230;. Whew! It&#8217;s not an easy task.</p>
<p>This will be the first Uechi-Ryu Zankai dojo to be opened in Malaysia and I feel a little too much of pressure after I decided to open the dojo. I have been teaching karate in a community hall at Bukit Beruang every Saturday evening. Sometimes, the training is interrupted by functions at the hall although I&#8217;ve reserved it. They give higher priority to functions rather than sports.</p>
<p>I was thinking it would be better to have a place of our own so that the training would not be interrupted. And it would be nice to have a decent place to receive visitors who are interested in our training.</p>
<p>I hope the dojo will go well and begin to prosper.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2007/10/14/busy-with-dojo/feed/</wfw:commentRss>
		<slash:comments>0</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>Recovery</title>
		<link>http://adrianhoe.com/adrianhoe/2007/06/27/recovery/</link>
		<comments>http://adrianhoe.com/adrianhoe/2007/06/27/recovery/#comments</comments>
		<pubDate>Wed, 27 Jun 2007 15:50:27 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Home]]></category>
		<category><![CDATA[At Work]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Medical]]></category>
		<category><![CDATA[cataract]]></category>
		<category><![CDATA[cataract surgery]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2007/06/27/recovery/</guid>
		<description><![CDATA[I went to Kuala Lumpur today for my post-surgery examination. I had my temporary new eye glass for my right eye on Monday. I can see clearly now but my right eye has defects due to the retinal detachment. I see straight lines not straight at all. The perfect straight line that my right eye [...]]]></description>
			<content:encoded><![CDATA[<p>I went to Kuala Lumpur today for my post-surgery examination. I had my temporary new eye glass for my right eye on Monday.</p>
<p>I can see clearly now but my right eye has defects due to the retinal detachment. I see straight lines not straight at all. The perfect straight line that my right eye sees appears to be crooked. I asked my doctor if there was any chances for it to heal completely, his answer was, &#8220;Perhaps, but the chances are very tiny.&#8221;</p>
<p>I guess I will have to bear with this disability for the rest of my life. One thing that soothes me is that, my short-sightedness on my right eye has been reduced half. It was -6.5 with astigmatism of 25 (I am not sure the quantifying unit for astigmatism) on both eyes. Now, my right eye is -3.5 with astigmatism of 100.</p>
<p>I have to wait for another 5 weeks for the right eye to settle down before the optometrist can quantify my right eye correctly.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2007/06/27/recovery/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>A bunch of Ada-holes talking</title>
		<link>http://adrianhoe.com/adrianhoe/2007/05/26/a-bunch-of-ada-holes-talking/</link>
		<comments>http://adrianhoe.com/adrianhoe/2007/05/26/a-bunch-of-ada-holes-talking/#comments</comments>
		<pubDate>Fri, 25 May 2007 16:40:54 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[Ada]]></category>
		<category><![CDATA[At Work]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2007/05/26/a-bunch-of-ada-holes-talking/</guid>
		<description><![CDATA[Like last week, a bunch of &#8220;Ada-holes&#8221; meet up on every Friday midnight (MYT) to discuss about work progress and some jokes. They are Jesse (the team leader), Jeffrey, Jerrid, Chip, Mark and I. Mark and I are from the far east. Mark from Vietnam and the rest are in the U.S. We discuss mainly [...]]]></description>
			<content:encoded><![CDATA[<p>Like last week, a bunch of &#8220;Ada-holes&#8221; meet up on every Friday midnight (MYT) to discuss about work progress and some jokes. They are <a href="http://jesselang.com/">Jesse</a> (the team leader), Jeffrey, Jerrid, Chip, <a href="http://blog.360.yahoo.com/phv80_vn">Mark</a> and I. Mark and I are from the far east. Mark from Vietnam and the rest are in the U.S.</p>
<p>We discuss mainly on the <a href="http://subversion.tigris.org/">svn</a> commit guidelines, Ada coding standards and document formats. We have yet to choose either ODF or <a href="http://lyx.org">LyX</a>. The discussion is fruitful and we begin to see a software development process emerging.</p>
<p>It is tiring but fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2007/05/26/a-bunch-of-ada-holes-talking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Busy life</title>
		<link>http://adrianhoe.com/adrianhoe/2007/05/24/busy-life/</link>
		<comments>http://adrianhoe.com/adrianhoe/2007/05/24/busy-life/#comments</comments>
		<pubDate>Thu, 24 May 2007 14:47:09 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Home]]></category>
		<category><![CDATA[At Work]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Family]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Karate]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2007/05/24/busy-life/</guid>
		<description><![CDATA[Life has been busy on these days. I am trying to bridge work, training, transition, demo and family together. It certainly is a handful. Training for transition is being conducted with careful planning and most of the students were not aware of the transition until they have been informed a couple of weeks ago. When [...]]]></description>
			<content:encoded><![CDATA[<p>Life has been busy on these days. I am trying to bridge work, training, transition, demo and family together. It certainly is a handful.</p>
<p>Training for transition is being conducted with careful planning and most of the students were not aware of the transition until they have been informed a couple of weeks ago. When they received their new gomon last week, they were surprised and excited. I am happy to see the transition is bearing fruits. Thanks to my working experience while I was working as a consultant in transition to Ada (see my blog <a href="http://adrianhoe.com">here</a>).</p>
<p>The preparation for demo has some hitches. The preparation training coincides with school’s mid-term exam following a 2 weeks break starting tomorrow. What a wrong timing!</p>
<p>The rest, I have been tied up with work, family and not so much of my training. I got the chance to train a little when I teach the class.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2007/05/24/busy-life/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Software Engineering Management Task</title>
		<link>http://adrianhoe.com/adrianhoe/2007/05/18/software-engineering-management-task/</link>
		<comments>http://adrianhoe.com/adrianhoe/2007/05/18/software-engineering-management-task/#comments</comments>
		<pubDate>Fri, 18 May 2007 04:39:27 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Work]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2007/05/18/se-management-task/</guid>
		<description><![CDATA[I had a good long session of Skype with my team leader, Jesse, this morning. We had a good chat about some software development process and how I can help to grow the team. Growth not in size but technical competency, skills, confidence and sense of belonging as a team. I am glad that I [...]]]></description>
			<content:encoded><![CDATA[<p>I had a good long session of Skype with my team leader, <a href="http://jesselang.com">Jesse</a>,  this morning. We had a good chat about some software development process and how I can help to grow the team. Growth not in size but technical competency, skills, confidence and sense of belonging as a team.</p>
<p>I am glad that I can use my SE experience to enhance the team. Although I have a head on both technical and management shoulder, I prefer development to management. But somehow, I quite like management once in a full moon. What an ironic interest in contrast!</p>
<p>Now, I am off to define a SVN commit guidelines for our team. The document is one page in length at this moment and I hope to finish at least some outlines by end of the day. This will be the first piece of such work (due to limited time for me to sit down and write) and I wish I can share it on my blog to benefit not only our development team but also some people. I will ask permission from my employer to post the guidelines. So keep your fingers crossed.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2007/05/18/software-engineering-management-task/feed/</wfw:commentRss>
		<slash:comments>3</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>Happy Chinese New Year</title>
		<link>http://adrianhoe.com/adrianhoe/2007/02/18/happy-chinese-new-year/</link>
		<comments>http://adrianhoe.com/adrianhoe/2007/02/18/happy-chinese-new-year/#comments</comments>
		<pubDate>Sat, 17 Feb 2007 16:41:38 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Work]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Days in My Life]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2007/02/18/happy-chinese-new-year/</guid>
		<description><![CDATA[Our warmest wishes to all friends and visitors, may the new year of Pig be prosperous and peaceful and to bring you abundance of health, happiness and wealth. I have a handful during the last week of the Dog year because of my new job and the cross-training in karate. My sensei in Okinawa requested [...]]]></description>
			<content:encoded><![CDATA[<p>Our warmest wishes to all friends and visitors, may the new year of Pig be prosperous and peaceful and to bring you abundance of health, happiness and wealth.</p>
<p>I have a handful during the last week of the Dog year because of my new job and the cross-training in karate. My sensei in Okinawa requested me to write my training journal for him two weeks ago and I could not find time for it. I may post less often but I will find some time for it.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2007/02/18/happy-chinese-new-year/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cease development on SGI&#8217;s IRIX</title>
		<link>http://adrianhoe.com/adrianhoe/2006/11/05/cease-development-on-sgis-irix/</link>
		<comments>http://adrianhoe.com/adrianhoe/2006/11/05/cease-development-on-sgis-irix/#comments</comments>
		<pubDate>Sun, 05 Nov 2006 15:50:37 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Work]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Days in My Life]]></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/2006/11/06/cease-development-on-sgis-irix/</guid>
		<description><![CDATA[After a 30 minutes discussion with my co-workers, we have unanimously decided to cease all development on SGI&#8217;s IRIX. We began developing applications on SGI&#8217;s IRIX about 5 years ago because of demands in 3-D graphics visualization. We used Ada to implement our 3-D visualization solutions. With today&#8217;s availability of powerful microprocessor such as AMD [...]]]></description>
			<content:encoded><![CDATA[<p>After a 30 minutes discussion with my co-workers, we have unanimously decided to cease all development on SGI&#8217;s IRIX. We began developing applications on SGI&#8217;s IRIX about 5 years ago because of demands in 3-D graphics visualization. We used Ada to implement our 3-D visualization solutions.</p>
<p>With today&#8217;s availability of powerful microprocessor such as AMD and Intel 64-bit processor, SGI&#8217;s hardware has become too expensive too invest and maintain. Another reason is the difficulty to find tools such as gnat Ada compiler. The download site usually provides out of date version that makes maintaining the consistency of compiler versions across other platforms difficult.</p>
<p>This decision should have been made long time ago. A lot of time and resources had been wasted in maintaining existing software and development of new applications. Our clients&#8217; decisions to migrate to Opteron and Mac OS X based platforms have also contributed to this decision. We expect zero or next to zero porting problem because we are using portable technologies such as Ada, GTK+, GtkAda and OpenGL. This decision enables our development to focus on both Opteron (Solaris and Linux) and Mac OS X platforms.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2006/11/05/cease-development-on-sgis-irix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A fussy and stingy customer</title>
		<link>http://adrianhoe.com/adrianhoe/2006/10/27/a-fussy-and-stingy-customer/</link>
		<comments>http://adrianhoe.com/adrianhoe/2006/10/27/a-fussy-and-stingy-customer/#comments</comments>
		<pubDate>Fri, 27 Oct 2006 03:33:59 +0000</pubDate>
		<dc:creator>Adrian Hoe</dc:creator>
				<category><![CDATA[At Work]]></category>
		<category><![CDATA[Days in My Life]]></category>

		<guid isPermaLink="false">http://adrianhoe.com/adrianhoe/2006/10/27/a-fussy-and-stingy-customer/</guid>
		<description><![CDATA[I just finished calling a client a moment ago. The boss is a fussy and stingy man. He is experiencing frequent downtime at his web site and oftentimes his email service is out of service. He is furious because his customers are unable to contact him via his email. I was introduced to him to [...]]]></description>
			<content:encoded><![CDATA[<p>I just finished calling a client a moment ago. The boss is a fussy and stingy man. He is experiencing frequent downtime at his web site and oftentimes his email service is out of service. He is furious because his customers are unable to contact him via his email.</p>
<p>I was introduced to him to help solving his problem couple weeks ago. I quoted him my web hosting packages which obviously are much cheaper than his current hosting service. In terms of dollars, my price is higher. He is complaining that I am quoting much higher price than his current hosting service. I explained to him about the bigger capacity of web space and the benefits of managed hosting service. He agreed with that but still insisted the price was too high.</p>
<p>I don&#8217;t know what to say anymore. Perhaps, I am not a good salesman when come to deal with people like this stingy man. I hate this whole process. Unfortunately, this is the business and I have to live with it. <img src='http://adrianhoe.com/adrianhoe/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>It is tough to be on my own as a developer and a sales person. I enjoy developing more than sales.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianhoe.com/adrianhoe/2006/10/27/a-fussy-and-stingy-customer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

