<?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>JavaScript Infected</title>
	<atom:link href="http://www.julianwong.net/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.julianwong.net/blog</link>
	<description>Do everything with javascript</description>
	<lastBuildDate>Sat, 13 Aug 2011 07:32:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Gattaca</title>
		<link>http://www.julianwong.net/blog/2011/08/gattaca/</link>
		<comments>http://www.julianwong.net/blog/2011/08/gattaca/#comments</comments>
		<pubDate>Sat, 13 Aug 2011 07:29:30 +0000</pubDate>
		<dc:creator>julian</dc:creator>
				<category><![CDATA[雜碎]]></category>

		<guid isPermaLink="false">http://www.julianwong.net/blog/?p=444</guid>
		<description><![CDATA[A 1997 Sci-fi movie. Amazingly it is still a good watch today. How can I miss a movie like this&#8230;All the emotion, the hard work, the dream, the desire&#8230; It just amazing. And I like the ending&#8230;Not a perfect happy ending but that&#8217;s what make it&#8230;real? &#8220;You want to know how I did it? This [...]]]></description>
			<content:encoded><![CDATA[<p>A 1997 Sci-fi movie. Amazingly it is still a good watch today. How can I miss a movie like this&#8230;All the emotion, the hard work, the dream, the desire&#8230; It just amazing. And I like the ending&#8230;Not a perfect happy ending but that&#8217;s what make it&#8230;real?</p>
<p>&#8220;You want to know how I did it? This is how I did it, I never saved anything for the swim back.&#8221;, maybe there is no swim back at all. We just keep swimming forward. What are you saving for? I am all in.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.julianwong.net/blog/2011/08/gattaca/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>I want to cry&#8230;</title>
		<link>http://www.julianwong.net/blog/2011/07/i-want-to-cry/</link>
		<comments>http://www.julianwong.net/blog/2011/07/i-want-to-cry/#comments</comments>
		<pubDate>Sat, 16 Jul 2011 10:04:06 +0000</pubDate>
		<dc:creator>julian</dc:creator>
				<category><![CDATA[雜碎]]></category>

		<guid isPermaLink="false">http://www.julianwong.net/blog/?p=432</guid>
		<description><![CDATA[And I really want to cry&#8230; This is soul sucking, the only one can help me is myself. I know I will make it. I still have faith in myself. My Littile Lover &#8211; 風と空のキリム あなたに会えたことがいちばん 今まででうれいと思った かんしょの緑が揺れる音の その先に沈む夕日を見た時 いい事だけの空気を吸おうよ いらないものは待たないでいいよ 多分全部は無理だと知ってる だけど希望が込み上げてきてる どうして光さしてくるの 訳もしれずに涙こぼれる あなたのことを感じる全てで からだをとりまいてる空気まで 海が夕日でざわついてきたら 高まるこころポケットに詰めて 今日はここを離れて行くけど イメージの中には花が咲いた どうして人は生きて行くの 問いかけてたら涙にじんだ あなたのことを感じる全てで からだをとりまいてる空気まで [...]]]></description>
			<content:encoded><![CDATA[<p>And I really want to cry&#8230;<br />
This is soul sucking, the only one can help me is myself.</p>
<p>I know I will make it. I still have faith in myself.</p>
<p><iframe class="youtube-player" type="text/html" width="640" height="385" src="http://www.youtube.com/embed/T6xyZQNSyAI" frameborder="0"><br />
</iframe></p>
<p>My Littile Lover &#8211; 風と空のキリム</p>
<p>あなたに会えたことがいちばん<br />
今まででうれいと思った<br />
かんしょの緑が揺れる音の<br />
その先に沈む夕日を見た時</p>
<p>いい事だけの空気を吸おうよ<br />
いらないものは待たないでいいよ<br />
多分全部は無理だと知ってる<br />
だけど希望が込み上げてきてる</p>
<p>どうして光さしてくるの<br />
訳もしれずに涙こぼれる<br />
あなたのことを感じる全てで<br />
からだをとりまいてる空気まで</p>
<p>海が夕日でざわついてきたら<br />
高まるこころポケットに詰めて<br />
今日はここを離れて行くけど<br />
イメージの中には花が咲いた</p>
<p>どうして人は生きて行くの<br />
問いかけてたら涙にじんだ<br />
あなたのことを感じる全てで<br />
からだをとりまいてる空気まで</p>
<p>かんしょの海が手をふってた</p>
]]></content:encoded>
			<wfw:commentRss>http://www.julianwong.net/blog/2011/07/i-want-to-cry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A good run reading on Zed Shaw</title>
		<link>http://www.julianwong.net/blog/2011/06/a-good-run-reading-on-zed-sha/</link>
		<comments>http://www.julianwong.net/blog/2011/06/a-good-run-reading-on-zed-sha/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 10:47:25 +0000</pubDate>
		<dc:creator>julian</dc:creator>
				<category><![CDATA[雜碎]]></category>

		<guid isPermaLink="false">http://www.julianwong.net/blog/?p=418</guid>
		<description><![CDATA[First time encounter Zed Shaw from a post in HN, http://learnpythonthehardway.org/book/advice.html Then I find another post from Zed about &#8220;Rails Is A Ghetto&#8221; and read on. http://www.zedshaw.com.sharedcopy.com/rants/51489cec9386f7c13f69b3a58cd50b02.html Techcrunch had a post about it: http://techcrunch.com/2008/01/01/zed-shaw-puts-the-smack-down-on-the-rails-community/ look at the comments in TC make me sick. Bunch of moron. They are basically saying as long as you are [...]]]></description>
			<content:encoded><![CDATA[<p>First time encounter Zed Shaw from a post in HN, http://learnpythonthehardway.org/book/advice.html<br />
Then I find another post from Zed about &#8220;Rails Is A Ghetto&#8221; and read on. http://www.zedshaw.com.sharedcopy.com/rants/51489cec9386f7c13f69b3a58cd50b02.html </p>
<p>Techcrunch had a post about it: http://techcrunch.com/2008/01/01/zed-shaw-puts-the-smack-down-on-the-rails-community/ </p>
<p>look at the comments in TC make me sick. Bunch of moron. They are basically saying as long as you are a team player, we will still happy to have you even you write 500 lines of bad code a day. If you are not a team player, we ditch you for writing 250 lines of good code a day. </p>
<p>I would like some one to hit me on the face for any mistake I make. They are just weak, so fucking weak.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.julianwong.net/blog/2011/06/a-good-run-reading-on-zed-sha/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Waiting and waiting.</title>
		<link>http://www.julianwong.net/blog/2011/06/waiting-and-waiting/</link>
		<comments>http://www.julianwong.net/blog/2011/06/waiting-and-waiting/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 08:43:25 +0000</pubDate>
		<dc:creator>julian</dc:creator>
				<category><![CDATA[雜碎]]></category>

		<guid isPermaLink="false">http://www.julianwong.net/blog/?p=415</guid>
		<description><![CDATA[There is like fire burning in my heart, ghost eating my soul and it hurts more day after day. The harder I push or fight back, more painful it become. If step back and calm down is the best thing I can do&#8230;Then I shall do it. But I am just holding it, I will [...]]]></description>
			<content:encoded><![CDATA[<p>There is like fire burning in my heart, ghost eating my soul and it hurts more day after day. The harder I push or fight back, more painful it become. If step back and calm down is the best thing I can do&#8230;Then I shall do it. But I am just holding it, I will fight back when the time come. I will free myself from this haunted prison. As long as there is hope, keep trying and I will find what I wanted.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.julianwong.net/blog/2011/06/waiting-and-waiting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Answer for my career?</title>
		<link>http://www.julianwong.net/blog/2011/06/answer-for-my-career/</link>
		<comments>http://www.julianwong.net/blog/2011/06/answer-for-my-career/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 03:41:40 +0000</pubDate>
		<dc:creator>julian</dc:creator>
				<category><![CDATA[雜碎]]></category>

		<guid isPermaLink="false">http://www.julianwong.net/blog/?p=412</guid>
		<description><![CDATA[There is one thing stuck in my mind recently. I met a man in an occasion, he told an idea and said &#8220;This is going to work, as it empower people.&#8221; This statement is spinning in my head. Look at myself, WTF I am doing day in day out. I feel so sad about myself. [...]]]></description>
			<content:encoded><![CDATA[<p>There is one thing stuck in my mind recently. I met a man in an occasion, he told an idea and said &#8220;This is going to work, as it empower people.&#8221; This statement is spinning in my head. Look at myself, WTF I am doing day in day out. I feel so sad about myself. As an engineer, we have the ability to create, what should we do? If you can empower people, you cannot loss. </p>
<p>Look at the companies around us, who are doing the right thing? A lot of startups become a joke. Money blinded a lot of people, so am I.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.julianwong.net/blog/2011/06/answer-for-my-career/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vim wombat colorscheme on Mac iTerm</title>
		<link>http://www.julianwong.net/blog/2010/12/vim-wombat-colorscheme-on-mac-iterm/</link>
		<comments>http://www.julianwong.net/blog/2010/12/vim-wombat-colorscheme-on-mac-iterm/#comments</comments>
		<pubDate>Wed, 29 Dec 2010 01:48:26 +0000</pubDate>
		<dc:creator>julian</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[colorscheme]]></category>
		<category><![CDATA[iTerm]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[vim]]></category>
		<category><![CDATA[wombat]]></category>

		<guid isPermaLink="false">http://www.julianwong.net/blog/?p=359</guid>
		<description><![CDATA[The wombat colorscheme is so far the best scheme I found. It is from Lars H. Nielsen http://dengmao.wordpress.com/2007/01/22/vim-color-scheme-wombat/ Both image directly link from Lars H. Nielsen&#039;s blog You can download that colorscheme from his blog as the link listed above, *but it doesn&#8217;t work on iTerm*. The reason is the iTerm default have 8 colors [...]]]></description>
			<content:encoded><![CDATA[<p>The wombat colorscheme is so far the best scheme I found. It is from Lars H. Nielsen <a href="http://dengmao.wordpress.com/2007/01/22/vim-color-scheme-wombat/">http://dengmao.wordpress.com/2007/01/22/vim-color-scheme-wombat/</a></p>
<p><img alt="" src="http://dengmao.files.wordpress.com/2007/01/wombat-html.png?w=480" title="wombat colorscheme image directly link from Lars H. Nielsen&#039;s blog" class="alignnone" width="376" height="146" /></p>
<p><img alt="" src="http://dengmao.files.wordpress.com/2007/01/wombat-py.png?w=480"  title="wombat colorscheme image directly link from Lars H. Nielsen&#039;s blog" class="alignnone" width="376" height="146" /><br />
Both image directly link from  Lars H. Nielsen&#039;s blog</p>
<p>You can download that colorscheme from his blog as the link listed above, *but it doesn&#8217;t work on iTerm*. The reason is the iTerm default have 8 colors only. So you need to make the iTerm to 256 color and download a modified version of the colorscheme which works on 256 color.</p>
<p>To change the iTerm color setting, select Bookmarks -> Manage Profiles from the menu. Select xterm-256color as shown below:<br />
<a href="http://www.julianwong.net/blog/wp-content/uploads/2010/12/Screen-shot-2010-12-28-at-5.36.51-PM.png"><img src="http://www.julianwong.net/blog/wp-content/uploads/2010/12/Screen-shot-2010-12-28-at-5.36.51-PM.png" alt="" title="iTerm xterm-256color" width="500" class="alignnone size-full wp-image-363" /></a></p>
<p>Go to <a href="http://www.vim.org/scripts/script.php?script_id=2465">http://www.vim.org/scripts/script.php?script_id=2465</a> download the wombat256 colorscheme, put the file under /usr/share/vim/vim72/colors/. (vim72 is the version of vim I am running, you may have a different number). Then edit .vimrc in your home directory, add a line &#8220;colors wombat256&#8243;. Done.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.julianwong.net/blog/2010/12/vim-wombat-colorscheme-on-mac-iterm/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Installing and running firefox 3, firefox 4 beta on Mac</title>
		<link>http://www.julianwong.net/blog/2010/12/installing-and-running-firefox-3-firefox-4-beta-on-mac/</link>
		<comments>http://www.julianwong.net/blog/2010/12/installing-and-running-firefox-3-firefox-4-beta-on-mac/#comments</comments>
		<pubDate>Tue, 28 Dec 2010 12:26:49 +0000</pubDate>
		<dc:creator>julian</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[jetpack]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[multiple version]]></category>

		<guid isPermaLink="false">http://www.julianwong.net/blog/?p=345</guid>
		<description><![CDATA[If you want to test out FF 4 without overwriting your FF 3, just download it from mozilla http://www.mozilla.com/en-US/firefox/beta/ , open the dmg file, you should see the screen shot below: Do not drag the firefox icon to the application, instead drag it to desktop and rename. (e.g. Firefox_4b8, try to avoid using space). Drag [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to test out FF 4 without overwriting your FF 3, just download it from mozilla <a href="http://www.mozilla.com/en-US/firefox/beta/">http://www.mozilla.com/en-US/firefox/beta/</a> , open the dmg file, you should see the screen shot below:<br/><br />
<a href="http://www.julianwong.net/blog/wp-content/uploads/2010/12/Screen-shot-2010-12-28-at-3.52.56-AM.png"><img class="alignnone size-full wp-image-346" title="FF install " src="http://www.julianwong.net/blog/wp-content/uploads/2010/12/Screen-shot-2010-12-28-at-3.52.56-AM.png" alt="" width="456" height="375" /></a></p>
<p>Do not drag the firefox icon to the application, instead drag it to desktop and rename. (e.g. Firefox_4b8, try to avoid using space). Drag the renamed FF 4 from your desktop to application. Then you are half done.</p>
<p>Now if you try to open your FF 3 and FF 4, it will complain that firefox is already running. The reason is they are using the same profile. So you need to create a different profile to run FF 4. To start profile manager, open terminal, type:<br />
/Applications/<b>Firefox_4b8.app</b>/Contents/MacOS/firefox-bin -profilemanager<br />
Change the part in bold accordingly.</p>
<p>Create a new profile (e.g. 4b8). Now if you want to create a short cut in dock, it would take more work. First,  ⌘+space, lookup script editor. Open script editor. Paste the following line into script editor:<br />
do shell script &quot;/Applications/<b>Firefox_4b8.app</b>/Contents/MacOS/firefox-bin  -P <b>4b8</b> &amp;&gt; /dev/null &amp;&quot;<br />
Again, change the part in bold accordingly.</p>
<p><a href="http://www.julianwong.net/blog/wp-content/uploads/2010/12/Screen-shot-2010-12-28-at-4.13.09-AM.png"><img src="http://www.julianwong.net/blog/wp-content/uploads/2010/12/Screen-shot-2010-12-28-at-4.13.09-AM.png" alt="" title="script editor" width="605" height="538" class="alignnone size-full wp-image-351" /></a></p>
<p>Then save it. Give it a file name, put it under Application folder and change the file format from Script to Application as follow:</p>
<p><a href="http://www.julianwong.net/blog/wp-content/uploads/2010/12/Screen-shot-2010-12-28-at-4.16.49-AM.png"><img src="http://www.julianwong.net/blog/wp-content/uploads/2010/12/Screen-shot-2010-12-28-at-4.16.49-AM.png" alt="" title="Save script as application" width="604" height="539" class="alignnone size-full wp-image-352" /></a></p>
<p>To change the icon, control click on the script, open Get Info. Then control click on a firefox short cut, open Get Info. Then drag the firefox icon to replace the script icon. Now you can drag the script to dock and run firefox 3 and 4 at the same time.</p>
<p>In case you running Jetpack SDK with this setup, the default path Jetpack will look for is /Applications/Firefox.app/ when it try to launch FF. So it will launch FF 3, but Jetpack SDK support FF 4 only. I don&#8217;t know the proper way to change the config, i just did a grep and change the python code. The path is under JETPACK_DIR/python-lib/mozrunner/__init__.py. Look for the line &#8220;appdir = os.path.join(&#8216;Applications&#8217;, name.capitalize()+&#8217;.app&#8217;)&#8221; edit the path here and the cfx command should launch the FF 4 correctly on cfx run and cfx test.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.julianwong.net/blog/2010/12/installing-and-running-firefox-3-firefox-4-beta-on-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Whatever you do will be insignificant, but it is very important that you do it</title>
		<link>http://www.julianwong.net/blog/2010/12/whatever-you-do-will-be-insignificant-but-it-is-very-important-that-you-do-it/</link>
		<comments>http://www.julianwong.net/blog/2010/12/whatever-you-do-will-be-insignificant-but-it-is-very-important-that-you-do-it/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 04:24:48 +0000</pubDate>
		<dc:creator>julian</dc:creator>
				<category><![CDATA[雜碎]]></category>

		<guid isPermaLink="false">http://www.julianwong.net/blog/?p=341</guid>
		<description><![CDATA[I easily suffer from the problem that giving up on a half done project, feel that my idea is not good enough, no one is going to use it, it is too small&#8230;etc. But then I saw the quote from ghandi at svg-wow, (quite a geeky way to discover quotes&#8230;.) http://svg-wow.org/gandhi-quotes/gandhi-quotes.xhtml, (best on webit-base browser, [...]]]></description>
			<content:encoded><![CDATA[<p>I easily suffer from the problem that giving up on a half done project, feel that my idea is not good enough, no one is going to use it, it is too small&#8230;etc.</p>
<p>But then I saw the quote from ghandi at svg-wow, (quite a geeky way to discover quotes&#8230;.) <a href="http://svg-wow.org/gandhi-quotes/gandhi-quotes.xhtml">http://svg-wow.org/gandhi-quotes/gandhi-quotes.xhtml</a>, (best on webit-base browser, sad that FF 3.6 didn&#8217;t render it perfect)</p>
<p>&#8220;Whatever you do will be insignificant, but it is very important that you do it&#8221;<br />
Hell yea, why would I care, even I just got one user I am still doing something for good.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.julianwong.net/blog/2010/12/whatever-you-do-will-be-insignificant-but-it-is-very-important-that-you-do-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What would you do if you are not afraid?</title>
		<link>http://www.julianwong.net/blog/2010/12/what-would-you-do-if-you-are-not-afraid/</link>
		<comments>http://www.julianwong.net/blog/2010/12/what-would-you-do-if-you-are-not-afraid/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 01:18:00 +0000</pubDate>
		<dc:creator>julian</dc:creator>
				<category><![CDATA[雜碎]]></category>

		<guid isPermaLink="false">http://www.julianwong.net/blog/?p=337</guid>
		<description><![CDATA[My coworker just printed some random stuff and sticking them in the cubicles. One of it reads &#8220;What would you do if you are not afraid?&#8221; and I shouted it out &#8220;QUIT!&#8221;. Quit the damn thing and crack something real. Feel so sorry and pathetic to my timid soul for not able to do it.]]></description>
			<content:encoded><![CDATA[<p>My coworker just printed some random stuff and sticking them in the cubicles. One of it reads &#8220;What would you do if you are not afraid?&#8221; and I shouted it out &#8220;QUIT!&#8221;. Quit the damn thing and crack something real.</p>
<p>Feel so sorry and pathetic to my timid soul for not able to do it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.julianwong.net/blog/2010/12/what-would-you-do-if-you-are-not-afraid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>note to myself</title>
		<link>http://www.julianwong.net/blog/2010/12/note-to-myself/</link>
		<comments>http://www.julianwong.net/blog/2010/12/note-to-myself/#comments</comments>
		<pubDate>Sat, 04 Dec 2010 00:55:30 +0000</pubDate>
		<dc:creator>julian</dc:creator>
				<category><![CDATA[雜碎]]></category>

		<guid isPermaLink="false">http://www.julianwong.net/blog/?p=335</guid>
		<description><![CDATA[A brief good read on speed, latency, and throughput inside the compuer http://duartes.org/gustavo/blog/post/what-your-computer-does-while-you-wait]]></description>
			<content:encoded><![CDATA[<p>A brief good read on speed, latency, and throughput inside the compuer</p>
<p>http://duartes.org/gustavo/blog/post/what-your-computer-does-while-you-wait</p>
]]></content:encoded>
			<wfw:commentRss>http://www.julianwong.net/blog/2010/12/note-to-myself/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

