<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Sikachu!'s Blog</title>
	
	<link>http://sikachu.com</link>
	<description>I'm a Ruby on Rails / jQuery web developer. Follow me at @sikachu</description>
	<lastBuildDate>Sun, 22 Aug 2010 04:07:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/SikachuBlog" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="sikachublog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Possible pitfall on ActiveRecord::Base#create</title>
		<link>http://sikachu.com/2010/08/possible-pitfall-on-activerecordbasecreate/</link>
		<comments>http://sikachu.com/2010/08/possible-pitfall-on-activerecordbasecreate/#comments</comments>
		<pubDate>Sat, 21 Aug 2010 16:32:44 +0000</pubDate>
		<dc:creator>Sikachu!</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[active_record]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Rails 3]]></category>

		<guid isPermaLink="false">http://sikachu.com/?p=722</guid>
		<description><![CDATA[I came across this a while ago when I was trying to clean up my code. Just write it down so you won&#8217;t follow me Consider that Post having :title attribute and class Post &#60; ActiveRecord::Base validates_presence_of :title end Well, what do you think would be the result of the following expression? if Post.create&#40;:title =&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>I came across this a while ago when I was trying to clean up my code. Just write it down so you won&#8217;t follow me <img src='http://sikachu.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Consider that <code>Post</code> having <code>:title</code> attribute and</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#9966CC; font-weight:bold;">class</span> Post <span style="color:#006600; font-weight:bold;">&lt;</span> <span style="color:#6666ff; font-weight:bold;">ActiveRecord::Base</span>
  validates_presence_of <span style="color:#ff3333; font-weight:bold;">:title</span>
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>Well, what do you think would be the result of the following expression?</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#9966CC; font-weight:bold;">if</span> Post.<span style="color:#9900CC;">create</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:title</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#0000FF; font-weight:bold;">nil</span><span style="color:#006600; font-weight:bold;">&#41;</span>
  <span style="color:#CC0066; font-weight:bold;">puts</span> <span style="color:#996600;">&quot;Saved!&quot;</span>
<span style="color:#9966CC; font-weight:bold;">else</span>
  <span style="color:#CC0066; font-weight:bold;">puts</span> <span style="color:#996600;">&quot;Validation error ...&quot;</span>
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>Somehow, I expected <code>"Validation error ..."</code> message from it, but I got <code>"Saved!"</code> Why?</p>
<h3>Return value of <code>#create</code></h3>
<p>You need to remember that <code>#create</code> method always return the object itself, which have the <code>id</code> as <code>nil</code>. This, evaluates to <code>true</code> and make our code fail. The solution for this problem would be using <code>#new</code> to create object, and then using <code>#save</code>:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">post = Post.<span style="color:#9900CC;">new</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:title</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#0000FF; font-weight:bold;">nil</span><span style="color:#006600; font-weight:bold;">&#41;</span>
<span style="color:#9966CC; font-weight:bold;">if</span> post.<span style="color:#9900CC;">save</span>
  <span style="color:#CC0066; font-weight:bold;">puts</span> <span style="color:#996600;">&quot;Saved!&quot;</span>
<span style="color:#9966CC; font-weight:bold;">else</span>
  <span style="color:#CC0066; font-weight:bold;">puts</span> <span style="color:#996600;">&quot;Validation error ...&quot;</span>
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>For you one-liner, I think you can do this:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#9966CC; font-weight:bold;">if</span> post = Post.<span style="color:#9900CC;">new</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:title</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#0000FF; font-weight:bold;">nil</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&amp;&amp;</span> post.<span style="color:#9900CC;">save</span></pre></div></div>

<p>or (as suggested by <a href="http://twitter.com/shr/status/21801270429" target="_blank">shr</a>)</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#9966CC; font-weight:bold;">if</span> Post.<span style="color:#9900CC;">new</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:title</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#0000FF; font-weight:bold;">nil</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">save</span></pre></div></div>

<img src="http://feeds.feedburner.com/~r/SikachuBlog/~4/_374Snhz8S4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sikachu.com/2010/08/possible-pitfall-on-activerecordbasecreate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Your great idea isn’t that great …</title>
		<link>http://sikachu.com/2010/08/your-great-idea-isnt-that-great/</link>
		<comments>http://sikachu.com/2010/08/your-great-idea-isnt-that-great/#comments</comments>
		<pubDate>Sat, 21 Aug 2010 16:02:42 +0000</pubDate>
		<dc:creator>Sikachu!</dc:creator>
				<category><![CDATA[My Idea]]></category>
		<category><![CDATA[idea]]></category>

		<guid isPermaLink="false">http://sikachu.com/?p=720</guid>
		<description><![CDATA[&#8230; if it doesn&#8217;t get executed. That statement really apply to myself. I think I&#8217;m a good thinker, but somehow lack of the execution. I wasn&#8217;t notice anything about it at all until I reach a point in my life, which is &#8220;Getting a job.&#8221; Nowadays, being a programmer since Grade 10 doesn&#8217;t really count [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230; if it doesn&#8217;t get executed.</p>
<p>That statement really apply to myself. I think I&#8217;m a good thinker, but somehow lack of the execution. I wasn&#8217;t notice anything about it at all until I reach a point in my life, which is &#8220;Getting a job.&#8221;</p>
<p>Nowadays, being a programmer since Grade 10 doesn&#8217;t really count if you don&#8217;t have a project that you can show off, or at least any open source project or contribution to the community. You need something to show off to that company that you&#8217;re capable, and skilled.</p>
<p>If you have great idea, make it real, or make it happen. Don&#8217;t just leave it die in your head or in your notebook as I do.</p>
<img src="http://feeds.feedburner.com/~r/SikachuBlog/~4/tZTA6ZfB1Nw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sikachu.com/2010/08/your-great-idea-isnt-that-great/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ruby 1.9.2 is out!!</title>
		<link>http://sikachu.com/2010/08/ruby-1-9-2-is-out/</link>
		<comments>http://sikachu.com/2010/08/ruby-1-9-2-is-out/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 16:08:33 +0000</pubDate>
		<dc:creator>Sikachu!</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Ruby 1.9]]></category>

		<guid isPermaLink="false">http://sikachu.com/?p=716</guid>
		<description><![CDATA[Just got the news in Twitter today that Ruby 1.9.2 is out! This is the Ruby that we&#8217;ve been long-awaits which shouldn&#8217;t have any strange compatibility issue with the upcoming Rails 3, and wayyyy faster than 1.8.7. The timing couldn&#8217;t be better, as we&#8217;re celebrating #whyday (@celebratewhyday) tomorrow (Aug 19.) On that day, you would [...]]]></description>
			<content:encoded><![CDATA[<p>Just got the news in Twitter today that <a href="http://twitter.com/yugui/status/21499615787" target="_blank">Ruby 1.9.2 is out</a>! This is the Ruby that we&#8217;ve been long-awaits which shouldn&#8217;t have any strange compatibility issue with the upcoming Rails 3, and wayyyy faster than 1.8.7.</p>
<p>The timing couldn&#8217;t be better, as we&#8217;re celebrating <a href="http://whyday.org/" target="_blank">#whyday</a> (<a href="http://twitter.com/celebratewhyday" target="_blank">@celebratewhyday</a>) tomorrow (Aug 19.) On that day, you would get hacking on something great! It&#8217;s the best time to trying to test out your application, or hacking something, using Ruby 1.9.2.</p>
<p>So what&#8217;re you waiting for? Download it, install it, and running your application on it. <a href="http://www.ruby-lang.org/en/news/2010/08/18/ruby-1-9-2-is-released/" target="_blank">Go grab it while it&#8217;s hot!</a></p>
<p>By the way, if you&#8217;re using the awesome <a href="http://rvm.beginrescueend.com/" target="_blank">RVM</a> (And why shouldn&#8217;t you??) Just go ahead and do:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rvm update <span style="color: #660033;">--head</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> rvm reload <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> rvm <span style="color: #c20cb9; font-weight: bold;">install</span> 1.9.2 <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> rvm 1.9.2 <span style="color: #660033;">--default</span></pre></div></div>

<p>And have fun riding on this shiny Ruby! I warn you, it&#8217;s slippery. <img src='http://sikachu.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/SikachuBlog/~4/8r_uVrBWkXs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sikachu.com/2010/08/ruby-1-9-2-is-out/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>If it’s already exists, then use it!</title>
		<link>http://sikachu.com/2010/08/if-its-already-exists-then-use-it/</link>
		<comments>http://sikachu.com/2010/08/if-its-already-exists-then-use-it/#comments</comments>
		<pubDate>Fri, 13 Aug 2010 22:07:49 +0000</pubDate>
		<dc:creator>Sikachu!</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[protip]]></category>

		<guid isPermaLink="false">http://sikachu.com/?p=712</guid>
		<description><![CDATA[I recently came across this blog post from Computerworld, which seriously took all the respect I have for them from me: Not invented here: Apple&#8217;s secret applications In case you don&#8217;t want to read the whole article, here is the summary: This guy from Computerworld just talking about Apple&#8217;s secret on the software titles which [...]]]></description>
			<content:encoded><![CDATA[<p>I recently came across this blog post from Computerworld, which seriously took all the respect I have for them from me:</p>
<p><a href="http://blogs.computerworld.com/16540/not_invented_here_apples_secret_applications" target="_blank">Not invented here: Apple&#8217;s secret applications</a></p>
<p>In case you don&#8217;t want to read the whole article, here is the summary: This guy from Computerworld just talking about Apple&#8217;s secret on the software titles which Apple is generally using.</p>
<p>Seriously, I&#8217;d love to know the list of program that Apple are using, but the theme of that article is just so wrong; the writer tends to wrote in the tone that make Apple, a software company, should write every piece of software that they&#8217;re using by themselves.</p>
<p>Don&#8217;t believe me? Go back and read it yourself. I&#8217;ll sit here and sip a coffee waiting for you.</p>
<h3>The Real Truth</h3>
<p><a href="http://www.flickr.com/photos/pcsiteuk/4662997718/" title="Adobe CS5 box by pcsiteuk, on Flickr"><img src="http://farm5.static.flickr.com/4036/4662997718_f5c8ab2aa0_m.jpg" width="180" height="240" alt="Adobe CS5 box" align="right" style="padding: 5px" /></a>One question that I&#8217;m going to ask if you&#8217;re a developer: What kind of tools you&#8217;re currently using everyday? I believe you can give me the list of all sorts of tools that you&#8217;re using, such as Adobe Photoshop, Open Office, Netbeans, Vim, Emacs, etc. And since we&#8217;re the developer, why don&#8217;t we develop our own Photoshop-like application?</p>
<p>Well, because Photoshop is a professional tool, and it&#8217;s usable out of the box!<a href="footnote_1"><sup>1</sup></a></p>
<p>In nowadays, there&#8217;re so many tools that you can use to develop your application. You could buy it, or use an open source alternative. It just the matter of choice. Those tools are well-created and they&#8217;re helping you to get your job done as soon as you can.</p>
<p>Now, looking back at Apple. Do you think Apple has the employee power to write every software they are using? Yes they do! But why aren&#8217;t they? ..</p>
<p>Because they believes that they should spend those time creating something else!</p>
<h3>What&#8217;s I&#8217;m really meant to say</h3>
<p>Sorry, but I&#8217;m not going to say that that post is <del>bullshit</del> misleading. As a software developer, I think you should remember this: <strong>If it&#8217;s already exists, and working great, then go ahead and use it!</strong></p>
<p>For example, if you&#8217;re finding yourself having to write something up, let&#8217;s say &#8220;authentication system&#8221; for example, the first thing you&#8217;re going to do is not thinking about how to implements it yourself, but go to GitHub and try to find the one that fits your need.</p>
<p>Why am I suggesting this? Because when you&#8217;re developing one yourself, you just wasting your time creating something that&#8217;s already written.<a href="footnote_2"><sup>2</sup></a> Also, you never know that you might left a hole somewhere in your application, which would normally be patched already in those library/plugin. If you found any bug, then contact the developer and help them to get it fixed. It won&#8217;t only benefit you; It will also helping out other users that using the same piece of library as you do.</p>
<p>Remember, don&#8217;t wasting your time, use something that already exists to create something cool. It will definitely benefits you; and our planet.</p>
<hr />
<p>[<a name="footnote_1">1</a>] I said it&#8217;s usable, but I don&#8217;t think it&#8217;s bug-free. I still getting crashes with cryptic error message once in a while.</p>
<p>[<a name="footnote_2">2</a>]: If it&#8217;s not exists, then pat yourself in the back, as you&#8217;d have to write one yourself. <img src='http://sikachu.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Box Photo from <a href="http://www.flickr.com/photos/pcsiteuk/4662997718/" target="_blank">PC Site @ Flickr</a> under CC-BY-SA</p>
<img src="http://feeds.feedburner.com/~r/SikachuBlog/~4/33C0vuzHMFU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sikachu.com/2010/08/if-its-already-exists-then-use-it/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Solar Roadways</title>
		<link>http://sikachu.com/2010/08/solar-roadways/</link>
		<comments>http://sikachu.com/2010/08/solar-roadways/#comments</comments>
		<pubDate>Fri, 13 Aug 2010 21:15:35 +0000</pubDate>
		<dc:creator>Sikachu!</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[highway]]></category>
		<category><![CDATA[road]]></category>
		<category><![CDATA[solar]]></category>

		<guid isPermaLink="false">http://sikachu.com/?p=705</guid>
		<description><![CDATA[I&#8217;ve recently came across a post regarding building a roadway which consists of solar panels which can generate the electricity. Somehow I think this is the thing I really want to see in the near future. Here&#8217;s some video for you to watch: I somehow support this idea and wishing it would be in production [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently came across a post regarding building a roadway which consists of solar panels which can generate the electricity. Somehow I think this is the thing I really want to see in the near future. Here&#8217;s some video for you to watch:</p>
<p><iframe class="youtube-player" type="text/html" width="560" height="340" src="http://www.youtube.com/embed/Ep4L18zOEYI?hl=en_US" frameborder="0"></iframe></p>
<p>I somehow support this idea and wishing it would be in production soon. I love the fact that they&#8217;re using the road, which I think it spans throughout the nation, to generate electricity. You know, the sun always burning on the road, and this post made me feel that we&#8217;re wasting the opportunity to use that power for something else.</p>
<p>By the way, if you want to read more, check out the full blog post from <a href="http://techcrunch.com/2010/08/02/solar-roadways/?" target="_blank">TechCrunch</a>.</p>
<img src="http://feeds.feedburner.com/~r/SikachuBlog/~4/ecW42-eNqgw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sikachu.com/2010/08/solar-roadways/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>@rawitat’s #protip แด่ coder รุ่นน้องๆ</title>
		<link>http://sikachu.com/2010/08/protip-from-rawitat/</link>
		<comments>http://sikachu.com/2010/08/protip-from-rawitat/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 16:49:51 +0000</pubDate>
		<dc:creator>Sikachu!</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[protip]]></category>
		<category><![CDATA[rawitat]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://sikachu.com/?p=521</guid>
		<description><![CDATA[วันนี้พอดีตามอ่าน Twitter Stream แล้วเจออาจารย์ @rawitat (Blog) กำลังสอน coder รุ่นน้องๆ ผ่านทาง Twitter อยู่ &#8230; เลยขออนุญาตเอามารวมเป็น #protip หน่อยนะครับ ปล. เป็นรูปเซฟจาก Twitter Stream &#8230; แต่ว่ามันไม่ได้ต่อเนื่อง (จบในตอน) เพราะฉะนั้นจะอ่านจากล่างขึ้นบน หรือบนลงล่างก็ตามสะดวกครับ อ่านแล้วก็ได้ข้อคิดหลายๆ อย่างเหมือนกัน ขอบคุณมากครับ]]></description>
			<content:encoded><![CDATA[<p>วันนี้พอดีตามอ่าน Twitter Stream แล้วเจออาจารย์ <a href="http://twitter.com/rawitat" target="_blank">@rawitat</a> (<a href="http://www.rawitat.com/" target="_blank">Blog</a>) กำลังสอน coder รุ่นน้องๆ ผ่านทาง Twitter อยู่ &#8230; เลยขออนุญาตเอามารวมเป็น #protip หน่อยนะครับ</p>
<p>ปล. เป็นรูปเซฟจาก Twitter Stream &#8230; แต่ว่ามันไม่ได้ต่อเนื่อง (จบในตอน) เพราะฉะนั้นจะอ่านจากล่างขึ้นบน หรือบนลงล่างก็ตามสะดวกครับ</p>
<p><a href="http://www.flickr.com/photos/68535680@N00/4879134867" title="View '@rawitat's Protip' on Flickr.com"><img border="0"width="500"alt="@rawitat's Protip"src="http://farm5.static.flickr.com/4097/4879134867_7b244b2b6b_o.png"height="1358" style="border: 1px solid #ccc"/></a></p>
<p>อ่านแล้วก็ได้ข้อคิดหลายๆ อย่างเหมือนกัน ขอบคุณมากครับ <img src='http://sikachu.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/SikachuBlog/~4/KrHTylu9U04" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sikachu.com/2010/08/protip-from-rawitat/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Guests comment are disabled</title>
		<link>http://sikachu.com/2010/07/guests-comment-are-disabled/</link>
		<comments>http://sikachu.com/2010/07/guests-comment-are-disabled/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 07:35:05 +0000</pubDate>
		<dc:creator>Sikachu!</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sikachu.com/2010/07/guests-comment-are-disabled/</guid>
		<description><![CDATA[In the last 2-3 months, I keep getting spam comments in my blog. Well, those comments were relevant to the blog post, but it contains the link (and author name) that refers to the product they were selling. While I have the rel="nofollow" in place, I still finding they were annoying as hell. So, after [...]]]></description>
			<content:encoded><![CDATA[<p>In the last 2-3 months, I keep getting spam comments in my blog. Well, those comments were relevant to the blog post, but it contains the link (and author name) that refers to the product they were selling. While I have the <code>rel="nofollow"</code> in place, I still finding they were annoying as hell.</p>
<p>So, after some consideration, I&#8217;ve decided to close out guests comments. In order to comment my Blog, you&#8217;ll need to login using your Disqus, Twitter, or Facebook account. This will help me to reduce the spam, and also give me the feeling that I know where I cand find you. Don&#8217;t worry, those info will be handled by Disqus and using for verification only.</p>
<p>Thanks again for reading my blog, and sorry for any inconvenience this may caused.  </p>
<img src="http://feeds.feedburner.com/~r/SikachuBlog/~4/aa4UWdel_WI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sikachu.com/2010/07/guests-comment-are-disabled/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I have been gone again</title>
		<link>http://sikachu.com/2010/07/i-have-been-gone-again/</link>
		<comments>http://sikachu.com/2010/07/i-have-been-gone-again/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 11:03:30 +0000</pubDate>
		<dc:creator>Sikachu!</dc:creator>
				<category><![CDATA[Garbage]]></category>
		<category><![CDATA[My Life]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[gist]]></category>

		<guid isPermaLink="false">http://sikachu.com/?p=515</guid>
		<description><![CDATA[Hmm &#8230; Seems like it has been a month again since my last post. I was trying to blog more, as I always have something in my mind that worth sharing. However, it tends to me that I wrote my blog in too formal way, and I did a lot of research before I can [...]]]></description>
			<content:encoded><![CDATA[<p>Hmm &#8230;</p>
<p>Seems like it has been a month again since my last post. I was trying to blog more, as I always have something in my mind that worth sharing. However, it tends to me that I wrote my blog in too formal way, and I did a lot of research before I can start blogging on something.</p>
<p>So, I think it&#8217;s time for me to change my style. I&#8217;ll start to &#8216;gist&#8217; my idea into the blog as soon as I have a time, and then write a follow-up post after I done some research.</p>
<p>And by the way, I will start to write more content in English. I think it will be better, since a lot of people who can&#8217;t read Thai will understand what I wrote, and would know more about my background and my skill.</p>
<p>So, stay tuned. I&#8217;ll start gist things in my head very soon <img src='http://sikachu.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/SikachuBlog/~4/23VDa9fLDs4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sikachu.com/2010/07/i-have-been-gone-again/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Eat your own dog food, boy!</title>
		<link>http://sikachu.com/2010/06/eat-your-own-dog-food-boy/</link>
		<comments>http://sikachu.com/2010/06/eat-your-own-dog-food-boy/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 04:00:00 +0000</pubDate>
		<dc:creator>Sikachu!</dc:creator>
				<category><![CDATA[Garbage]]></category>
		<category><![CDATA[My Idea]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://sikachu.com/?p=507</guid>
		<description><![CDATA[Sometime, you have to eat your own dog food. If you&#8217;re writing a web application and let someone to use it, you actually have to be on it too. Make yourself to become an user of the site, and use it generally as everyday user. We usually say that nobody knows the problem more than [...]]]></description>
			<content:encoded><![CDATA[<p>Sometime, you have to eat your own dog food.</p>
<p>If you&#8217;re writing a web application and let someone to use it, you actually have to be on it too. Make yourself to become an user of the site, and use it generally as everyday user.</p>
<p>We usually say that nobody knows the problem more than user, so that&#8217;s why you need to be in the user role, or get in their shoes, to feel the application the way those user are facing everyday.</p>
<p>Eating your own dog food, or using what you&#8217;ve made, is a good thing. Trust me. That&#8217;s why I believe Google uses Gmail, 37 Signals using their Basecamp, Highrise and Campfire, and Microsoft uses IE mainly in their company (whaa??)</p>
<p>Try it, and let me know if it helps you to understand the pain your users have to take everyday or not, if any.</p>
<img src="http://feeds.feedburner.com/~r/SikachuBlog/~4/HvUY8Y1HIi0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sikachu.com/2010/06/eat-your-own-dog-food-boy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone 4th generation business model in Thailand</title>
		<link>http://sikachu.com/2010/06/iphone-4th-generation-business-model-in-thailand/</link>
		<comments>http://sikachu.com/2010/06/iphone-4th-generation-business-model-in-thailand/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 04:00:04 +0000</pubDate>
		<dc:creator>Sikachu!</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[My Idea]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhone 4G]]></category>

		<guid isPermaLink="false">http://sikachu.com/?p=502</guid>
		<description><![CDATA[คิดว่าพลายๆ คนคงจะได้ติดตามข่าวอยู่ กับเรื่องราวของ iPhone ตัวใหม่ ซึ่งถือเป็นรุ่นที่ 4 ที่ทาง Apple (น่าจะ) เปิดตัวออกมาในวันที่ 7 มิ.ย. นี้ (เท่ากับเที่ยงคืนวันที่ื 8 [คืนวันที่ 7] ในประเทศไทยนะครับ) จากข่าวที่มีภาพหลุดจากที่นู่นที่นี่ ไปจนถึงที่ Gizmodo มีตัวจริงมาโชว์ แล้วก็เรื่องอื่นๆ อีกมากมาย ซึ่งคงจะจัดจำหน่ายใน US หลังจากการเปิดตัวในทันที แต่ถ้ามองย้อนกลับไปยัง iPhone 3GS ในประเทศไทย ถ้าจำไม่ผิดจะเห็นได้ว่า Truemove นำเข้ามาขายในเดือนสิงหาคม ส่วน DTAC นั้น ตามเข้ามาขายในช่วงของต้นปี 2553 ซึ่งล้าหลังจาก Truemove ไปประมาณครึ่งปี (และถือว่าช้ากว่าผู้ให้บริการรายแรกไป 1 ปี) โดยส่วนตัวแล้ว ผมคิดว่า DTAC ใช้เวลาในการตัดสินใจลงทุนเอา iPhone เข้ามาขายนั้น &#8220;นานเกินไป&#8221; ครับ แต่เนื่องจาก [...]]]></description>
			<content:encoded><![CDATA[<p>คิดว่าพลายๆ คนคงจะได้ติดตามข่าวอยู่ กับเรื่องราวของ iPhone ตัวใหม่ ซึ่งถือเป็นรุ่นที่ 4 ที่ทาง Apple (น่าจะ) เปิดตัวออกมาในวันที่ 7 มิ.ย. นี้ (เท่ากับเที่ยงคืนวันที่ื 8 [คืนวันที่ 7] ในประเทศไทยนะครับ) จากข่าวที่มี<a href="http://blognone.com/node/16288" target="_blank">ภาพหลุด</a>จากที่นู่นที่นี่ ไปจนถึง<a href="http://www.blognone.com/node/15918" target="_blank">ที่ Gizmodo มีตัวจริงมาโชว์</a> แล้วก็เรื่องอื่นๆ อีกมากมาย ซึ่งคงจะจัดจำหน่ายใน US หลังจากการเปิดตัวในทันที</p>
<p>แต่ถ้ามองย้อนกลับไปยัง iPhone 3GS ในประเทศไทย ถ้าจำไม่ผิดจะเห็นได้ว่า Truemove นำเข้ามาขายในเดือนสิงหาคม ส่วน DTAC นั้น ตามเข้ามาขายในช่วงของต้นปี 2553 ซึ่งล้าหลังจาก Truemove ไปประมาณครึ่งปี (และถือว่าช้ากว่าผู้ให้บริการรายแรกไป 1 ปี)</p>
<p><img src="http://sikachu.com/wp-content/uploads/2010/06/Screen-shot-2553-06-05-at-22.04.401.png" alt="Screen shot 2553-06-05 at 22.04.40.png" border="0" width="520" height="326" /></p>
<p>โดยส่วนตัวแล้ว ผมคิดว่า DTAC ใช้เวลาในการตัดสินใจลงทุนเอา iPhone เข้ามาขายนั้น &#8220;นานเกินไป&#8221; ครับ แต่เนื่องจาก DTAC ได้ภาษีในการที่เครือข่าย EDGE ดีกว่า Truemove จึงทำให้มียอดขายดีในระดับหนึ่ง เพราะคนมั่นใจในเครือข่าย (ผมว่าโฆษณา ก็ช่วยสร้างภาพให้ดีขึ้นส่วนหนึ่งด้วยล่ะครับ)</p>
<p>แต่ถามว่า แล้วจะเป็นอย่างไรต่อไป ผมว่าน่าสนใจครับ</p>
<p>ผมว่าหลังจาก iPhone 4th Generation เปิดตัวแล้ว กระแสของการซื้อ iPhone คงจะบูมขึ้นมาอีกครั้งหนึ่ง เพราะฉะนั้นผมคิดว่าถ้าใครสามารถคุยกับ Apple แล้วนำเข้ามาขายได้เร็วที่สุด แน่นอนว่าฝ่ายนั้นคงจะชนะแน่นอนครับ</p>
<p>แต่ว่า ถ้าทั้งสองฝ่ายเปิดตัวพร้อมกัน (ซึ่งส่วนใหญ่ หลายๆ ประเทศจะเป็นอย่างนี้) ผมว่าคราวนี้คงจะเป็นฝ่าย DTAC ที่ชนะครับ เพราะผมเชื่อว่ามีหลายๆ คนคงเลือก DTAC แทนที่จะเป็น Truemove เพราะเรื่องของคุณภาพของ EDGE ครับ</p>
<p>แต่ถ้า DTAC ขายเครื่องได้มากกว่าจริง สถานการณ์จะเริ่มพลิกแล้วล่ะครับ!</p>
<p>จากวันที่ขายเครื่องวันแรก ผมคิดว่าไม่เกิน 2-3 เดือนนั้น DTAC คงจะมีปัญหาเรื่องของช่องสัญญาณของการให้บริการ Internet แน่นอนครับ หากไม่มีการจัดสรรช่องสัญญาณให้ดี และไม่มีการเพิ่ม bandwidth</p>
<p>ถามว่าทำไม? เพราะว่าเอาเข้าจริงแล้ว iPhone นี่กิน bandwidth มากกว่าที่คิดนะครับ อย่าง AT&#038;T ยังออกมาบอกเลยว่า 40% ของ traffic ทั้งหมด เป็นของ iPhone ซึ่งทำให้ระบบแทบที่จะรับไม่ไหว (แล้วก็โดนด่าแหลกลาญครับ แหะๆๆ)</p>
<p><img src="http://sikachu.com/wp-content/uploads/2010/06/500x_comp8.jpg" alt="500x_comp8.jpg" border="0" width="500" height="333" /></p>
<p>เพราะฉะนั้นถ้าไม่มีอะไรเปลี่ยนแปลง ในตอนนี้ระบบของ DTAC ที่ใช้ APN เดียวรวมกันนั่นคือ &#8216;internet&#8217; คงจะมีโอกาสล่มเป็นแน่แท้ครับ แล้วผมก็หวังว่าหลังจากที่มีการเปิดตัว iPhone พร้อม package ใหม่ คงจะมีการแบ่งแยก APN ของ iPhone ให้ชัดเจนเลย จะทำให้ระบบเบามากกว่านี้ครับ</p>
<p>แต่ว่าอย่างไรก็ตาม ผมว่าถ้า AIS เข้ามาเล่นตามกระแส iPhone ด้วยนี่ &#8230; ผมว่า DTAC คงจะหืดขึ้นคอ ส่วน Truemove นี่คงปลิวกระเด็นเลยล่ะครับ เพราะอย่างไรก็ตามความเสถียรของ internet ของ AIS นั้นก็ยังคงดีกว่ามากๆ แล้วยิ่งการที่มีฐานลูกค้าเดิมหนุนหลังอยู่แล้ว ถ้า AIS เปิดตัว iPhone มานี่ สะท้านแน่นอนล่ะครับ</p>
<p>เรามาดูกันเถอะครับว่าจะเป็นอย่างไรต่อไป อย่าลืมครับว่า &#8230; &#8220;ใครเข้ามาก่อนชนะ มาพร้อมกันใครเน็ตดีชนะ แต่ถ้า AIS มา เจ้ามือกินเรียบ&#8221; แน่นอนครับ <img src='http://sikachu.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>ปล. ผมเป็นผู้ใช้ DTAC ครับ ปัจจุบันผมรู้สึกว่าเน็ตห่วยลงได้ใจครับ -_-&#8217;<br />
ปปล. ผมไม่เอา 3G เข้ามาเป็นตัวตัดสิน เพราะว่า Truemove &#8220;น่าจะ&#8221; โดนยึด 3G, TOT ไม่น่าจะเอา iPhone เข้ามาขาย และประเทศเราก็จะไป LTE (3.9G) ซึ่ง iPhone ก็ไม่น่าจะรองรับได้ &#8230; พอมองการณ์ไกลก็ล่อซะเหยียดไม่ถึงเลยนะ -_-&#8221;</p>
<img src="http://feeds.feedburner.com/~r/SikachuBlog/~4/ImDuP8G9h0Y" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sikachu.com/2010/06/iphone-4th-generation-business-model-in-thailand/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
