I'm a Ruby on Rails / jQuery web developer. Follow me at @sikachu

Your great idea isn’t that great …

August 21st, 2010 Posted in My Idea | 1 Comment »

… if it doesn’t get executed.

That statement really apply to myself. I think I’m a good thinker, but somehow lack of the execution. I wasn’t notice anything about it at all until I reach a point in my life, which is “Getting a job.”

Nowadays, being a programmer since Grade 10 doesn’t really count if you don’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’re capable, and skilled.

If you have great idea, make it real, or make it happen. Don’t just leave it die in your head or in your notebook as I do.

Ruby 1.9.2 is out!!

August 18th, 2010 Posted in News, Programming, Ruby, Ruby on Rails | 1 Comment »

Just got the news in Twitter today that Ruby 1.9.2 is out! This is the Ruby that we’ve been long-awaits which shouldn’t have any strange compatibility issue with the upcoming Rails 3, and wayyyy faster than 1.8.7.

The timing couldn’t be better, as we’re celebrating #whyday (@celebratewhyday) tomorrow (Aug 19.) On that day, you would get hacking on something great! It’s the best time to trying to test out your application, or hacking something, using Ruby 1.9.2.

So what’re you waiting for? Download it, install it, and running your application on it. Go grab it while it’s hot!

By the way, if you’re using the awesome RVM (And why shouldn’t you??) Just go ahead and do:

rvm update --head && rvm reload && rvm install 1.9.2 && rvm 1.9.2 --default

And have fun riding on this shiny Ruby! I warn you, it’s slippery. ;)

If it’s already exists, then use it!

August 14th, 2010 Posted in Programming | 2 Comments »

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’s secret applications

In case you don’t want to read the whole article, here is the summary: This guy from Computerworld just talking about Apple’s secret on the software titles which Apple is generally using.

Seriously, I’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’re using by themselves.

Don’t believe me? Go back and read it yourself. I’ll sit here and sip a coffee waiting for you.

The Real Truth

Adobe CS5 boxOne question that I’m going to ask if you’re a developer: What kind of tools you’re currently using everyday? I believe you can give me the list of all sorts of tools that you’re using, such as Adobe Photoshop, Open Office, Netbeans, Vim, Emacs, etc. And since we’re the developer, why don’t we develop our own Photoshop-like application?

Well, because Photoshop is a professional tool, and it’s usable out of the box!1

In nowadays, there’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’re helping you to get your job done as soon as you can.

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’t they? ..

Because they believes that they should spend those time creating something else!

What’s I’m really meant to say

Sorry, but I’m not going to say that that post is bullshit misleading. As a software developer, I think you should remember this: If it’s already exists, and working great, then go ahead and use it!

For example, if you’re finding yourself having to write something up, let’s say “authentication system” for example, the first thing you’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.

Why am I suggesting this? Because when you’re developing one yourself, you just wasting your time creating something that’s already written.2 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’t only benefit you; It will also helping out other users that using the same piece of library as you do.

Remember, don’t wasting your time, use something that already exists to create something cool. It will definitely benefits you; and our planet.


[1] I said it’s usable, but I don’t think it’s bug-free. I still getting crashes with cryptic error message once in a while.

[2]: If it’s not exists, then pat yourself in the back, as you’d have to write one yourself. :)

Box Photo from PC Site @ Flickr under CC-BY-SA

Solar Roadways

August 14th, 2010 Posted in News | No Comments »

I’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’s some video for you to watch:

I somehow support this idea and wishing it would be in production soon. I love the fact that they’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’re wasting the opportunity to use that power for something else.

By the way, if you want to read more, check out the full blog post from TechCrunch.

@rawitat’s #protip แด่ coder รุ่นน้องๆ

August 10th, 2010 Posted in Programming | 2 Comments »

วันนี้พอดีตามอ่าน Twitter Stream แล้วเจออาจารย์ @rawitat (Blog) กำลังสอน coder รุ่นน้องๆ ผ่านทาง Twitter อยู่ … เลยขออนุญาตเอามารวมเป็น #protip หน่อยนะครับ

ปล. เป็นรูปเซฟจาก Twitter Stream … แต่ว่ามันไม่ได้ต่อเนื่อง (จบในตอน) เพราะฉะนั้นจะอ่านจากล่างขึ้นบน หรือบนลงล่างก็ตามสะดวกครับ

@rawitat's Protip

อ่านแล้วก็ได้ข้อคิดหลายๆ อย่างเหมือนกัน ขอบคุณมากครับ :D

Guests comment are disabled

July 14th, 2010 Posted in Uncategorized | No Comments »

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 some consideration, I’ve decided to close out guests comments. In order to comment my Blog, you’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’t worry, those info will be handled by Disqus and using for verification only.

Thanks again for reading my blog, and sorry for any inconvenience this may caused.

I have been gone again

July 12th, 2010 Posted in Garbage, My Life | 1 Comment »

Hmm …

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.

So, I think it’s time for me to change my style. I’ll start to ‘gist’ my idea into the blog as soon as I have a time, and then write a follow-up post after I done some research.

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’t read Thai will understand what I wrote, and would know more about my background and my skill.

So, stay tuned. I’ll start gist things in my head very soon :)

Eat your own dog food, boy!

June 8th, 2010 Posted in Garbage, My Idea | No Comments »

Sometime, you have to eat your own dog food.

If you’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 user, so that’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.

Eating your own dog food, or using what you’ve made, is a good thing. Trust me. That’s why I believe Google uses Gmail, 37 Signals using their Basecamp, Highrise and Campfire, and Microsoft uses IE mainly in their company (whaa??)

Try it, and let me know if it helps you to understand the pain your users have to take everyday or not, if any.

iPhone 4th generation business model in Thailand

June 7th, 2010 Posted in Apple, Gadgets, My Idea | 1 Comment »

คิดว่าพลายๆ คนคงจะได้ติดตามข่าวอยู่ กับเรื่องราวของ iPhone ตัวใหม่ ซึ่งถือเป็นรุ่นที่ 4 ที่ทาง Apple (น่าจะ) เปิดตัวออกมาในวันที่ 7 มิ.ย. นี้ (เท่ากับเที่ยงคืนวันที่ื 8 [คืนวันที่ 7] ในประเทศไทยนะครับ) จากข่าวที่มีภาพหลุดจากที่นู่นที่นี่ ไปจนถึงที่ Gizmodo มีตัวจริงมาโชว์ แล้วก็เรื่องอื่นๆ อีกมากมาย ซึ่งคงจะจัดจำหน่ายใน US หลังจากการเปิดตัวในทันที

แต่ถ้ามองย้อนกลับไปยัง iPhone 3GS ในประเทศไทย ถ้าจำไม่ผิดจะเห็นได้ว่า Truemove นำเข้ามาขายในเดือนสิงหาคม ส่วน DTAC นั้น ตามเข้ามาขายในช่วงของต้นปี 2553 ซึ่งล้าหลังจาก Truemove ไปประมาณครึ่งปี (และถือว่าช้ากว่าผู้ให้บริการรายแรกไป 1 ปี)

Screen shot 2553-06-05 at 22.04.40.png

โดยส่วนตัวแล้ว ผมคิดว่า DTAC ใช้เวลาในการตัดสินใจลงทุนเอา iPhone เข้ามาขายนั้น “นานเกินไป” ครับ แต่เนื่องจาก DTAC ได้ภาษีในการที่เครือข่าย EDGE ดีกว่า Truemove จึงทำให้มียอดขายดีในระดับหนึ่ง เพราะคนมั่นใจในเครือข่าย (ผมว่าโฆษณา ก็ช่วยสร้างภาพให้ดีขึ้นส่วนหนึ่งด้วยล่ะครับ)

แต่ถามว่า แล้วจะเป็นอย่างไรต่อไป ผมว่าน่าสนใจครับ

ผมว่าหลังจาก iPhone 4th Generation เปิดตัวแล้ว กระแสของการซื้อ iPhone คงจะบูมขึ้นมาอีกครั้งหนึ่ง เพราะฉะนั้นผมคิดว่าถ้าใครสามารถคุยกับ Apple แล้วนำเข้ามาขายได้เร็วที่สุด แน่นอนว่าฝ่ายนั้นคงจะชนะแน่นอนครับ

แต่ว่า ถ้าทั้งสองฝ่ายเปิดตัวพร้อมกัน (ซึ่งส่วนใหญ่ หลายๆ ประเทศจะเป็นอย่างนี้) ผมว่าคราวนี้คงจะเป็นฝ่าย DTAC ที่ชนะครับ เพราะผมเชื่อว่ามีหลายๆ คนคงเลือก DTAC แทนที่จะเป็น Truemove เพราะเรื่องของคุณภาพของ EDGE ครับ

แต่ถ้า DTAC ขายเครื่องได้มากกว่าจริง สถานการณ์จะเริ่มพลิกแล้วล่ะครับ!

จากวันที่ขายเครื่องวันแรก ผมคิดว่าไม่เกิน 2-3 เดือนนั้น DTAC คงจะมีปัญหาเรื่องของช่องสัญญาณของการให้บริการ Internet แน่นอนครับ หากไม่มีการจัดสรรช่องสัญญาณให้ดี และไม่มีการเพิ่ม bandwidth

ถามว่าทำไม? เพราะว่าเอาเข้าจริงแล้ว iPhone นี่กิน bandwidth มากกว่าที่คิดนะครับ อย่าง AT&T ยังออกมาบอกเลยว่า 40% ของ traffic ทั้งหมด เป็นของ iPhone ซึ่งทำให้ระบบแทบที่จะรับไม่ไหว (แล้วก็โดนด่าแหลกลาญครับ แหะๆๆ)

500x_comp8.jpg

เพราะฉะนั้นถ้าไม่มีอะไรเปลี่ยนแปลง ในตอนนี้ระบบของ DTAC ที่ใช้ APN เดียวรวมกันนั่นคือ ‘internet’ คงจะมีโอกาสล่มเป็นแน่แท้ครับ แล้วผมก็หวังว่าหลังจากที่มีการเปิดตัว iPhone พร้อม package ใหม่ คงจะมีการแบ่งแยก APN ของ iPhone ให้ชัดเจนเลย จะทำให้ระบบเบามากกว่านี้ครับ

แต่ว่าอย่างไรก็ตาม ผมว่าถ้า AIS เข้ามาเล่นตามกระแส iPhone ด้วยนี่ … ผมว่า DTAC คงจะหืดขึ้นคอ ส่วน Truemove นี่คงปลิวกระเด็นเลยล่ะครับ เพราะอย่างไรก็ตามความเสถียรของ internet ของ AIS นั้นก็ยังคงดีกว่ามากๆ แล้วยิ่งการที่มีฐานลูกค้าเดิมหนุนหลังอยู่แล้ว ถ้า AIS เปิดตัว iPhone มานี่ สะท้านแน่นอนล่ะครับ

เรามาดูกันเถอะครับว่าจะเป็นอย่างไรต่อไป อย่าลืมครับว่า … “ใครเข้ามาก่อนชนะ มาพร้อมกันใครเน็ตดีชนะ แต่ถ้า AIS มา เจ้ามือกินเรียบ” แน่นอนครับ :D

ปล. ผมเป็นผู้ใช้ DTAC ครับ ปัจจุบันผมรู้สึกว่าเน็ตห่วยลงได้ใจครับ -_-’
ปปล. ผมไม่เอา 3G เข้ามาเป็นตัวตัดสิน เพราะว่า Truemove “น่าจะ” โดนยึด 3G, TOT ไม่น่าจะเอา iPhone เข้ามาขาย และประเทศเราก็จะไป LTE (3.9G) ซึ่ง iPhone ก็ไม่น่าจะรองรับได้ … พอมองการณ์ไกลก็ล่อซะเหยียดไม่ถึงเลยนะ -_-”

I’m on the list of Rails Contributors!

June 6th, 2010 Posted in My Life, My Project | No Comments »

I just realize that Ruby on Rails has a page that listed all contributors on Rails project. So, I looked up my name and feel so great that my name is in there.

Screen shot 2553-06-05 at 22.14.29.png

All I can say is, I’m so happy that I have contributed to the framework that I loved. Also, this is the reason that I love open-source; When you find something is wrong, then you can go and fix it.

So do you love Ruby on Rails? Then you can help to make it better. Get started at here and let me know when you get your first ticket in!

My goal? I want to get at least 100 commits into Ruby on Rails core before the end of the year. I’ll let you know when I archive that :)

By the way, you can view all the commits I have made here: http://contributors.rubyonrails.org/contributors/prem-sichanugrist/commits