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

<channel>
	<title>[MeIsProgrammer] &#187; Work</title>
	<atom:link href="http://just-thor.com/category/work/feed/" rel="self" type="application/rss+xml" />
	<link>http://just-thor.com</link>
	<description>all play and no work makes me a dull boy</description>
	<lastBuildDate>Sat, 03 Jul 2010 18:28:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Google Ajax Libraries Gotcha!</title>
		<link>http://just-thor.com/2010/02/23/google-ajax-libraries-gotch/</link>
		<comments>http://just-thor.com/2010/02/23/google-ajax-libraries-gotch/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 09:37:58 +0000</pubDate>
		<dc:creator>Thor</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://just-thor.com/?p=129</guid>
		<description><![CDATA[I was working on Google Map for the past few days, and was using jQuery to retrieve markers information from another URL using ajax. I came across the Google Ajax [...]]]></description>
			<content:encoded><![CDATA[<p>I was working on Google Map for the past few days, and was using jQuery to retrieve markers information from another URL using ajax. I came across the Google Ajax Libraries (http://code.google.com/apis/ajaxlibs/) which helps to load Javascript from CDN.</p>
<p>Here&#8217;s part of the code<br />
<pre><pre class="brush: javascript">
//sample code taken from http://code.google.com/apis/ajaxlibs/
&lt;script src=&quot;http://www.google.com/jsapi&quot;&gt;&lt;/script&gt;
&lt;script&gt;
&nbsp;&nbsp;// Load jQuery
&nbsp;&nbsp;google.load(&quot;jquery&quot;, &quot;1&quot;);

&nbsp;&nbsp;// on page load complete, fire off a jQuery json-p query
&nbsp;&nbsp;// against Google web search
&nbsp;&nbsp;google.setOnLoadCallback(function() {
&nbsp;&nbsp;&nbsp;&nbsp;$.getJSON(&quot;http://ajax.googleapis.com/ajax/services/search/web?q=google&amp;v=1.0&amp;callback=?&quot;,

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// on search completion, process the results
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function (data) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (data.responseData.results &amp;&amp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;data.responseData.results.length &gt; 0) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var results = data.responseData.results;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for (var i=0; i &lt; results.length; i++) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Display each result however you wish
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;alert(results[i].titleNoFormatting);
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});
&nbsp;&nbsp;&nbsp;&nbsp;});
&lt;/script&gt;
</pre></pre><br />
By using this code, we actually load jQuery 1 from the CDN. However, there is a gotcha. If you follow the example I attached just now, it probably won&#8217;t work, well, at least not on my FF3.5 and IE8. In fact, you will have to do something like the following instead<br />
<pre><pre class="brush: javascript">
//sample code taken from http://code.google.com/apis/ajaxlibs/
&lt;script src=&quot;http://www.google.com/jsapi&quot;&gt;&lt;/script&gt;
&lt;script&gt;
&nbsp;&nbsp;// Load jQuery
&nbsp;&nbsp;google.load(&quot;jquery&quot;, &quot;1&quot;);
&lt;/script&gt;
&lt;script&gt;
&nbsp;&nbsp;// on page load complete, fire off a jQuery json-p query
&nbsp;&nbsp;// against Google web search
&nbsp;&nbsp;google.setOnLoadCallback(function() {
&nbsp;&nbsp;&nbsp;&nbsp;$.getJSON(&quot;http://ajax.googleapis.com/ajax/services/search/web?q=google&amp;v=1.0&amp;callback=?&quot;,

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// on search completion, process the results
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function (data) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (data.responseData.results &amp;&amp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;data.responseData.results.length &gt; 0) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var results = data.responseData.results;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for (var i=0; i &lt; results.length; i++) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Display each result however you wish
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;alert(results[i].titleNoFormatting);
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});
&nbsp;&nbsp;&nbsp;&nbsp;});
&lt;/script&gt;
</pre></pre><br />
You will have to close the script tag that load external script from CDN before you can use it. Else you will get javascript error, in IE8, it shows &#8216;Object expected&#8217;.I really hope you will be able to read my article before you pull all your hair off. <img src='http://just-thor.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Happy Coding</p>
]]></content:encoded>
			<wfw:commentRss>http://just-thor.com/2010/02/23/google-ajax-libraries-gotch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google is making me stupid</title>
		<link>http://just-thor.com/2009/12/23/google-is-making-me-stupid/</link>
		<comments>http://just-thor.com/2009/12/23/google-is-making-me-stupid/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 05:49:27 +0000</pubDate>
		<dc:creator>Thor</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://just-thor.com/?p=122</guid>
		<description><![CDATA[For the past few years, I am so used to google services, especially search engine and email. I can&#8217;t even remember when was the last time i use a Microsoft [...]]]></description>
			<content:encoded><![CDATA[<p>For the past few years, I am so used to google services, especially search engine and email. I can&#8217;t even remember when was the last time i use a Microsoft Outlook as my email client. Web based is great, I mean, the first thing I turned on my pc will be firing up a Mozilla Firefox or Google Chrome, why do I still need to launch another application just to receive emails or notifications? Maybe I am not good at using Outlook.</p>
<p>And now,my current company requested every one in the company to use Outlook as the mail client. The experience isn&#8217;t that great though. I took 5 minutes to send an email because I don&#8217;t know how to use the address book function. I used to get that by typing name or email,and gmail just suggest me possible match. Too many buttons, what&#8217;s the difference between &#8220;Attach Item&#8221; and &#8220;Attach File&#8221;? And when I try to search for person in my address book,I just can&#8217;t. For instance, I am trying to search for a name &#8220;John Doe&#8221;,I have to type &#8220;John&#8221; first in Outlook to locate the entry,but instead I type &#8220;Doe&#8221; in Gmail it will start suggesting me.And there are so many fields in address book.Oh man,its driving me crazy.</p>
<p>I think the simplicity and usability of Gmail had make me stupid.Thanks, Google.</p>
]]></content:encoded>
			<wfw:commentRss>http://just-thor.com/2009/12/23/google-is-making-me-stupid/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A mistake or fate?</title>
		<link>http://just-thor.com/2009/09/17/a-mistake-or-fate/</link>
		<comments>http://just-thor.com/2009/09/17/a-mistake-or-fate/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 06:42:16 +0000</pubDate>
		<dc:creator>darklynx</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://just-thor.com/?p=59</guid>
		<description><![CDATA[Greetings guys &#38; girls, Today i bring a small story in part of my career life.  I am a development team leader training two person under me. They shall be [...]]]></description>
			<content:encoded><![CDATA[<p>Greetings guys &amp; girls,</p>
<p style="text-align: left">Today i bring a small story in part of my career life.  I am a development team leader training two person under me. They shall be called Boy A and Girl B now. At the beginning both appears to be good girls &amp; boys, following my tutelage and training with absolute obedient. Both are fresh in the industry and of course start with low skills and salary.</p>
<p>Thus i do not put high expectation on them and try my best to aid them in their work. I give them alot freedoms and respect, in both work style and work environment. Their work is usually not given proper schedule and i do not rush them . When they did mistakes, all i do is advice them, never scold them before at all. Although many times they failed to produce the results i wanted, all i ask them is to retry again. They do not have daily task but only work as researchers, but the work itself is very carefree. Yet because i do not scold nor control them too much, most of the time they are having fun chatting and doing their personal work. There is absolutely lack effort at all in their work because they are not stressed to require working late and do not even have the need to use their skills because algorithms can be obtained from world wide web. And why am I helping them on their work more often than they are helping me, why did I hire them for? Yea another word, i do treat them too well it seems.</p>
<p style="text-align: left">Ok i guess you might be thinking, &#8220;Dude you&#8217;re a weak leader!&#8221;. First dude, I am very capable in handing my work but another person&#8217;s capability in handling work is not under my control. I do plannings and scheduling but does not enforce it to the point of torture ( I am sure many people had experienced rushed programming) . All i can do is advise and I do not believe scolding or brute force brings any benefits to both of us. Im an analytical person but always pushed myself beyond limit if I have to. When I was a freshman, I try my best to help the company and not asking for much return. This in my opinion is the best what a freshman can do. But of course the issue now is another person. Who knows what he / she is thinking. Almost as if I own them something.</p>
<p>During the evaluation period, although failed in their work, i still go thru the trouble with the management to raise their salary. I can assure you with their kind of work force, the payment is more than enough. This in hope to raise their working spirit and motivation. Even in the light of sacrificing my own credibility, I did it in hope to bring the better future of the team. Later on, i devise a plan of pair programming and had placed both A + B to sit together. Everyday they had good times chatting and laughing while with their inability to perform the work, had leads me cover up for their task.</p>
<p>All these comes to a fullstroke when after a year plus, i received their resignation letter. After negotiating to increase salary but they still refused it. Dissatisfaction in somewhere. Thus the end of subordination. Good guys die first yea.</p>
<p>Before this pair programmers, I had lead 3 other programmer with no mercy style and various technique. The result is the same..but where could be wrong? Lets hear some opinions on this.  Thx Thor for the spaces ^^V</p>
]]></content:encoded>
			<wfw:commentRss>http://just-thor.com/2009/09/17/a-mistake-or-fate/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
