Archive for January, 2009

invisibleSHIELD เขาว่ากันว่าเป็นแผ่นกันรอยที่ดีที่สุด

Wednesday, January 28th, 2009

พอดีได้มีโอกาสรู้จักกับเจ้า invisibleSHIELD เขาว่ากันว่ามันฮิตมากๆสำหรับคนใช้พวก iPhone, iPod Touch (ผมไม่มีซักอัน)

เท่าที่หาๆข้อมูลดู ความเจ๋งของมันอยู่ที่ บางรุ่นสามารถปิดทับเครื่องได้ทั้ง body เลย ไม่ใช่แค่หน้าจอเหมือนแผ่นกันรอยทั่วไป และที่เด็ดๆสุดคือความสามารถในการปกป้องของมันเรียกได้ว่าเป็น “แผ่นกันรอยตัวแม่” เลย ส่วนมันจะ invisible แบบชื่อหรือเปล่านี่ผมก็ยงไม่เคยจับตัวเป็นๆเสียด้วย เห็นบางคนบอกว่าใช้ไปนานๆจะดูเก่า

เห็นๆตามเว็บชุมชนมือถือเขาบอกว่าถ้าอยากได้ต้องสั่งจากอเมริกาเอา แต่ส่วนตัวคิดว่าถ้ารุ่นนิยมๆหน่อย แถวๆ MBK น่าจะมีพ่อค้าหิ้วมาขายอยู่แล้วล่ะ อ้อราคาไม่ได้ถูกๆนะครับ แบบติดทับทั้ง body ก็ $24.95 ^^”

ทิ้งท้ายด้วยคลิปทดสอบต่างๆของ invisibleSHIELD ที่เอามาล่อลูกค้า (บางอันผมดูแล้วขำอ่ะ)

ป.ล. มี comment นึงบอกว่ามันเป็น “good material to make condoms” ด้วย ฮา…

As the Future catches you : เมื่ออนาคตไล่ล่าคุณ

Tuesday, January 6th, 2009

เห็น Presetation นี่แล้วนึงถึงหนังสือ As the Future catches you : เมื่ออนาคตไล่ล่าคุณ ที่อดีตนายกทักษิณเคยแนะนำให้อ่านกัน

แชร์ประสบการณ์กับ Netbeans IDE Certification Exam (BETA)

Monday, January 5th, 2009

ได้ผลสอบจาก Prometric มาหลายวันแล้วครับ เพิ่งได้มีโอกาสมาแชร์กัน

ปกติผมไม่ใช่พวกสะสม Certificate ไว้ประดับบาระมีหรอกนะครับ ที่เคยสอบไปก็มีสปอนเซอร์ออกให้ทั้งนั้น และคราวนี้กับ Netbeans IDE Certification Exam (Beta) ก็เหมือนกันทาง Sun ต้องการอาสาสมัครไป test the test ก็เลยจัดซะหน่อย

สำหรับตัวผมเองก็ใช้ NetBeans มาบ้าง แต่ยังไม่ชำนาญเท่า Eclipse เลยถือโอกาส บังคับตัวเองให้ฝึกฝนการใช้ NetBeans ไปในตัว

นอกจากฟังก์ชั่นพื้นฐานทั่วไปแล้ว Cert ตัวนี้ยังมีเนื้อหาเกี่ยวกับฟังก์ชั่นลึกๆในส่วนอื่นๆอีกพอสมควรเลย ดังนั้นตัวผมที่ไม่ได้ใช้ NetBeans เป็นประจำ ก็เลยต้องเตรียมตัวกันบ้าง เนื้อหาที่ออกก็มี 6 ส่วน ตาม Guideline เลยครับ

Section 1: IDE Configuration

* 1.1 Demonstrate the ability to configure the functionality available in the IDE, including using enabling and disabling functionality and using the Plugin Manager.
* 1.2 Explain the purpose of the user directory and the netbeans.conf file and how these can be used to configure the IDE.
* 1.3 Demonstrate the ability to work with servers in the IDE, such as registering new server instances and stopping and starting servers.
* 1.4 Describe how to integrate external libraries in the IDE and use them in coding and debugging your project.
* 1.5 Demonstrate knowledge of working with databases in the IDE, including registering new database connections and tables running SQL scripts.
* 1.6 Describe how to integrate and use different versions of the JDK in the IDE for coding, debugging, and viewing Javadoc documentation.

# Section 2: Project Setup

* 2.1 Describe the characteristics and uses of a free-form project.
* 2.2 Demonstrate the ability to work with version control systems and the IDE. (Which VCS’s are available, which ones you need an external client for, how to pull sources out of a repository, view changes, and check them back in).
* 2.3 Describe the ways in which you can change the build process for a standard project, such as configuring project properties and modifying the project’s Ant build script.
* 2.4 Configure your project to compile against and run on a specific version of the JDK.

# Section 3: Java SE Development

* 3.1 Demonstrate the ability to create NetBeans projects from the source code of an existing Java SE program.
* 3.2 Describe how to manage the classpath of a Java SE project, including maintaining a separate classpath for compiling and debugging.
* 3.3 Demonstrate the knowledge of the NetBeans GUI Builder and the ability to lay out and hook up basic forms using it.
* 3.4 Demonstrate the ability to package and distribute a built Java Desktop project for use by another user.

# Section 4: Java EE Web Development

* 4.1 Describe how to create a NetBeans project from the source code of an existing Web application.
* 4.2 Distinguish between a visual web application and web application.
* 4.3 Demonstrate knowledge of which web frameworks are available in NetBeans IDE and how they are added to and used in a web application.
* 4.4 Describe how to monitor HTTP requests when running a web application.
* 4.5 Demonstrate a knowledge of basic tasks related to building and deploying web applications to a server, such as changing the target server and undeploying an application.

# Section 5: Editing

* 5.1 Describe the purpose and uses of refactoring and demonstrate the ability to perform basic refactoring on Java source code.
* 5.2 Describe how to use the Options window to change the default appearance and behavior of the Source Editor.
* 5.3 Describe the ways that the IDE highlights errors in source code and the tools the IDE offers for correcting those errors.
* 5.4 Demonstrate the ability to use editor hints, such as implementing all the methods for an implemented interface.
* 5.5 Demonstrate the ability to use live code templates such as automatic generation of constructors, try/catch loops, and getters and setters.

# Section 6: Testing, Profiling, and Debugging

* 6.1 Demonstrate the ability to work with JUnit tests in the IDE, such as creating JUnit tests and interpreting JUnit test output.
* 6.2 Describe how to debug a local (desktop) application, including setting breakpoints and stepping through code.
* 6.3 Describe the difference between local and remote debugging and describe how to debug a remote (web) application.
* 6.4 Describe the purpose of profiling applications and how to profile a local desktop application in the IDE.

ส่วนถ้าใครมองหาหนังสือเตรียมสอบละก็ เท่าที่ผมทราบยังไม่มี (Test King ก็ไม่มี) จะมีก็ Study Guide ของเว็บ NetBeans ให้อ่านกันเล็กน้อยครับ

วันสอบ ผมเลือกสอบช่วงบ่าย เพราะตอนเช้าจะได้ทำงานได้ แล้วน่าจะออกจากห้องสอบก่อนเวลาแน่นอน เลยจะได้กลับบ้านแต่วันด้วย สถานที่สอบก็เลือกตรงข้ามออฟฟิศเลย สะดวกดี

สำหรับการสอบแบบ Beta จะไม่เหมือนสอบแบบปกติ ที่จะได้รับผลคะแนนหลังออกจากห้องสอบเลย โดยแบบ Beta ต้องกลับไปรอจดหมายจาก Prometric ที่บ้าน ดังนั้นตอนกรอกที่อยู่ควรกรอกให้ชัดเจนด้วยครับ

สำหรับคะแนนของผมก็ถือว่าไม่มากไม่น้อย เรียกได้ว่าพอเอาตัวรอดได้ อย่างที่บอกข้างต้นเนื้อหาจะมี 6 ส่วน คะแนนแต่ละส่วนที่ได้เป็นดังนี้

1. IDE Configuration 77%

ส่วนนี้ไม่ยาก แต่จะมีบางข้อที่กวนๆถามประมาณว่า “จะทำแบบนี้ ทำได้กี่วิธี อะไรบ้าง” ซึ่งถ้าคนใช้งานทั่วไปก็จะจำวิธี config แบบที่ตัวเองถนัดไว้แบบเดียวพอ

2. Project Setup 80%

อันนี้คล้ายๆกับอันแรก ผมจะงงกับคำถามประมาณ “ในระหว่างการ setup project สามารถทำแบบนี้ได้มั้ย” ซึ่งบางฟังก์ชั่นผมจะไม่แน่ใจ เพราะปกติจะไป setup หลังจาก create project ไปแล้วก็มี

3. Java SE Development 80%

อันนี้มีออกเรื่อง GUI Development ถ้าใครใช้ NetBeans ทำพวก Swing อยู่แล้วก็ไม่มีปัญหา ส่วนการ setup Java Runtime พวกนี้คิดว่าถ้าได้ลองทำสังครั้งก็ทำข้อสอบได้ครับ

4. Java EE Web Development 100%

คำถามจะเน้นเกี่ยวกับพวกการจัดการ Server เช่น start/stop/deploy/undeploy ถ้าใครใช้เป็นประจำผมว่าไม่น่ามีปัญหาครับ

5. Editing 100%

อันนี้เกี่ยวกับ Editor ล้วนๆเลยครับ เช่น Refactoring เนื้อหาไม่ยาก แต่ตอนสอบอาจต้องนึกๆหน่อยครับว่าเราเคยทำแบบนี้ยังไงนะ หรือจะหาอันนี้ได้ที่ไหน ใช้ Key ลัดอะไร เพราะคำตอบที่ให้เลือกค่อนข้างละเอียดนิดหน่อย

6. Testing, Profiling, and Debugging 66%

ส่วนนี้ผมได้คะแนนน้อยที่สุดเลย เพราะตรง Profiling ใน NetBeans แทบจะไม่เคยใช้ ที่ใช้ประจำจะเป็น JProfiler ส่วน Testing (เป็น Junit) กับ Debugging ค่อนข้างง่ายครับ

สรุป คะแนนรวมได้ 83% ตอบถูก 51 ข้อจาก 61 ข้อ ในความเห็นส่วนตัว ผมว่าใครที่ใช้ NetBeans เป็นประจำ น่าจะได้ 90-95% ไม่ยากครับ อาจต้องเตรียมตัวในจุดที่ไม่ชำนาญบ้าง ส่วนนักสะสม Cert มืออาชีพนั้น ผมว่า 100% ไม่ยากเลยครับ ง่ายกว่าตัวอื่นๆของ Sun มาก

ป.ล. ชวนน้องๆที่ออฟฟิศไปสอบไม่มีใครไปสักคน – -!!

Firefox add-on สำหรับแปลงสกุลเงิน

Saturday, January 3rd, 2009

สำหรับคนที่ต้องซื้อ-ขายของบนอินเตอร์เน็ตบ่อยๆ สิ่งหนึ่งที่ต้องทำเป็นกิจวัตรก็คือกดเครื่องคิดเลขแปลงราคาจากสกุลอื่นเป็นเงินบาท

มันจะง่ายกว่ามั้ยถ้าสามารถแปลงและเห็นราคานั้นบนหน้าเว็บที่คุณกำลังเปิดอยู่?

Firefox Extension สำหรับแปลงสกุลเงิน นั้นจริงๆมีหลายตัวมากครับ ทั้งแบบแสดงบน status bar หรือแสดงเป็น popup ก็มี

แต่ผมชอบเจ้า Change มากที่สุดแล้ว เพราะมันสามารถแปลงราคาในหน้าเว็บได้เลย แค่ดับเบิ้ลคลิ๊กที่ตัวเลขที่ต้องการ มันก็จะ convert สกุลเป้าหมายไปแสดงไว้ในวงเล็บให้ นั่นหมายความว่าถ้าหน้านั้นมีหลายราคา เราก็สามารถกดแปลงแล้วดูเทียบกันได้ในหน้าเว็บปัจจุบันนี้ได้เลย

ถ้านึกภาพไม่ออกลองดูภาพประกอบด้านล่างครับ

แล้วจะเอา Extension เจ๋งๆเพื่อช่วยในการทำ E-Commerce มาฝากอีกครับ

Mariah Carey – I Stay In Love

Friday, January 2nd, 2009

Oh, baby Baby I stay in love with you

Dying inside cause I can’t stand it
Make or break up
Can’t take this madness
We don’t even really know why
All I know is baby I try and try so hard
To keep our love alive

If you don’t know me at this point
Then I highly doubt you ever will
I really need you to give me
That unconditional love I used to feel
It’s no mistaking we’re just erasing
From our hearts And minds

And I know we said let go
But I kept on hanging on
Inside I know it’s over you’re really gone
It’s killing me
Cause there ain’t nothing that I can do
Baby I stay in love with you

And I keep on telling myself
That you’ll come back around
And I try to front Like “oh well”
Each time you let me down
See I can’t get over you now no matter what I do
But baby, baby I stay in love with you

Na, na, na, na, na
Baby I stay in love with you

It cuts so deep It hurts down to my soul
My friends tell me I ain’t the same no more
We still need each other when we stumble and fall
How we gon’ act like what we had ain’t nothin’ at all now

Hey What I wanna do is
Ride shotgun next to you With the top
down like we used to hit the block
Proud in the SUV we both know
Our heart is breaking
Can we learn from our mistakes
I can’t last one moment alone
Now go I know
We said let go
But I kept on hanging on
Inside I know it’s over
You’re really gone
It’s killing me
Cause there ain’t nothing that I can do
Baby I stay in love with you

And I keep on telling myself
That you’ll come back around
And I try to front Like “oh well”
Each time you let me down
See I can’t get over you now
no matter what I do
Baby, baby I stay in love with you

We said let go
But I kept on hanging on
Inside I know it’s over you’re really gone
It’s killing me
Cause there ain’t nothing That I can do
Baby I stay in love with you

And I keep on Telling myself
That you’ll come Back around
And I try to front Like “oh well”
Each time you let me down
See I can’t get over you now
no matter what I do
Baby, baby I stay in love with you

I stay in love
Love
Oh, I stay in love