Dr.Joe's Blog

ลดจำนวน comment spam ด้วย reCAPTCHA

by Nattapon on Jan.27, 2010, under General

ช่วงนี้เริ่มมี comment spam ใน blog มากขึ้น (ถือว่าดีมั้ยเนี่ยว่าเวปเริ่มได้รับความนิยม) ซึ่งผู้เข้าชมอาจจะไม่เห็นอะไร เนื่องจากตอนนี้ set ว่า comment ทุกอันก่อนที่จะขึ้น show บน blog จะต้องได้รับการอนุญาตก่อน ซึ่งที่ผ่านมา comment ส่วนใหญ่เป็น comment ที่เกิดจาก spam ทั้งนั้น เนื่องจาก เดิมนั้นใครก็ได้สามารถ post comment ได้เลย เพียงแค่ต้องใส่ชื่อ e-mail address เท่านั้น ทำให้ spammer สามารถใช้ script ได้ เพื่อเป็นการแก้ปัญหาดังกล่าว จึงหาวิธีตัดการทำงานของ script

ซึ่งวิธีที่เลือกใช้คือเทคนิคที่เรียกว่า CAPTCHA ซึ่งเป็นเทคนิคการยืนยันความเป็นมนุษย์ โดยระบบที่เลือกใช้มีรูปแบบการทำงานคือก่อนที่จะ post comment นั้นจะต้องทำการยืนยันว่าเป็นมนุษย์ที่ทำการ post comment โดยจะต้องพิมพ์ข้อความสุ่ม ที่อยู่ในรูปแบบของรูปภาพ ก่อน ถ้าตรง comment ดังกล่าวก็จะถูกเก็บเข้ามาในระบบดังรูป

ก่อนหน้านี้เวปที่มีอยู่เดิมเคยใช้งานระบบ CAPTCHA แล้ว แต่จำไม่ได้ว่าเอามาจากไหน เลยลองหาใน Google ดูปรากฏว่า Google เองให้บริการ CAPTCHA ที่เรียกว่า reCAPTCHA ซึ่ง Google เองซื้อบริษัทที่ให้บริการดังกล่าวมาอีกที ข้อดีของการใช้ reCAPTCHA อีกอันคือเราได้เป็นส่วนหนึ่งในการแปลงหนังสือที่ scan ออกมาเป็นรูปแบบ digital (digitization) ซึ่งมนุษย์มีความแม่นยำในการแยกแยะคำศัพท์และตัวอักษรได้ดีกว่าระบบ OCR ที่มีอยู่ โดยปัจจุบัน reCAPTCHA ช่วยแปลงหนังสือพิมพ์ New York Times เป็นดิจิตอล

เรียกว่าได้ประโยชน์สองต่อเลยทีเดียว คือ ลด spam และช่วยให้โลกน่าอยู่มากยิ่งขึ้น (เวอร์ไปหรือป่าวเนี่ย) โดยการทำให้ข้อมูลเข้าถึงได้มากขึ้น

Leave a Comment :, , more...

ข่าวลือล่าสุดเกี่ยวกับ Apple

by Nattapon on Jan.19, 2010, under General

หลังจากที่มีการยืนยันว่า Apple จะจัดงานแถลงข่าวในวันที่ 26 ม.ค. นี้ก็เริ่มมีข่าวลือออกมาเป็นระยะๆ ว่า Apple จะพูดอะไรในงานนี้ ล่าสุด เวปไซต์ AppleInsider.com ได้ลงข่าวลือว่าในงานนี้ Apple จะเปิดตัวผลิตภัณฑ์ 3 ตัวด้วยกันคือ

  1. Tablet
  2. iPhone OS 4.0
  3. iLife 2010

ก็คงต้องคอยดูว่าจะแม่นแค่ไหน ยิ่งใกล้ช่วงงาน ก็จะยิ่งมีข่าวลือออกมาเรื่อยๆ ก็คงต้องคอยดูกันต่อไป :)

Leave a Comment : more...

Enterprise security: where to begin

by Nattapon on Jan.14, 2010, under Security

หลังจากที่มีการปรับโครงสร้างองค์กรใหม่ หน่วยงานที่ทำงานอยู่เข้ามามีหน้าที่ดูแลด้านความปลอดภัยระบบสารสนเทศของหน่วยงานในภาพรวม จะยกเว้นก็ในส่วนของความปลอดภัย ศูนย์ข้อมูลกลาง (Data Center) ซึ่งมีเจ้าหน้าที่ภายในศูนย์ฯ ดูแลอยู่แล้ว ทำให้พบว่า ปัจจุบันสถานะภาพความปลอดภัยของระบบสารสนเทศ เครือข่าย อุปกรณ์ คอมพิวเตอร์ อยู่ในเกณฑ์ต่ำมาก ซึ่งน่าเป็นห่วงมากสำหรับหน่วยงานด้านความมั่นคง (continue reading…)

Leave a Comment :, more...

WordPress has been updated again to 2.9.1

by Nattapon on Jan.08, 2010, under General, Security

This is a minor update for WP 2.9 that fix a lot of minor issue listed here. So if you are running WP 2.9, you can upgrade automatically via WP admin’s dashboard. This method of updating WP is so convenience. Thanks WP developer team for this feature!!

Leave a Comment : more...

Note for myself: high quality images search engine

by Nattapon on Dec.29, 2009, under General

Leave a Comment :, more...

Using Safari at home but Firefox at work

by Nattapon on Dec.29, 2009, under General

สงสัยตัวเองเหมือนกันว่าทำไมต้องใช้ web browser คนละตัวกัน เหตุผลก็ง่ายๆ คือ หลังจากเปลี่ยนมาใช้ Macbook Pro แล้ว OS X รันเป็นแบบ 64 bit ซึ่ง Safari นั้นทำงานที่ 64 bit จึงทำให้รู้สึกว่าทำงานได้เร็วกว่า firefox ซึ่งยังทำงานเป็นแบบ 32 bit ซึ่งเปิดเวปต่างๆ แล้วก็รู้สึกว่าเร็วกว่าพอสมควร (อาจจะคิดไปเอง) และเปิดหลายๆ tab ก็รู้สึกว่าไม่ทำให้เครื่องช้าลง แถมยังเปิดเวปที่เป็น AJAX ได้เร็วกว่าด้วย

(continue reading…)

Leave a Comment :, more...

Playing with Metasploit Framework

by Nattapon on Dec.28, 2009, under Security

วันนี้ได้มีโอกาสทดลอง hack เครื่องโดยใช้ tool ที่ชื่อว่า Metasploit Framework (MSF) ในการ hack เครื่อง Windows  โดยอาศัยจุดอ่อน หรือช่องโหว่ของ Windows (ที่ลองเป็น Windows XP ไม่มี service pack ไม่มี security tool เปิดอยู่เลย) ทั้งนี้เพื่อเป็นการทดสอบ concept และหัดใช้ MSF ผลปรากฏว่าสามารถ hack เครื่องได้สำเร็จ คือสามารถเจาะเข้าไปในเครื่องดังกล่าวได้ โดยสามารถทำอะไรก็ได้ทุกอย่างหลังจากที่เจาะเข้าไปแล้ว ซึ่งแสดงให้เห็นว่ามีโอกาสที่จะเป็นเครื่องหากไม่ดูแลให้ดี อาจจะถูกเจาะเข้าไปได้อย่างง่ายดาย (continue reading…)

Leave a Comment :, , , more...

Best alternatives to Apple’s products

by Nattapon on Dec.23, 2009, under General

1 Comment : more...

WordPress updated to 2.90

by Nattapon on Dec.22, 2009, under General

I want to make you mine, all the time… oh wait. Hello. I’m here on behalf of the entire WordPress development team and community to announce the immediate availability of WordPress version 2.9 “Carmen” named in honor of magical jazz vocalist Carmen McRae (whom we’ve added to our Last.fm WP release station). You can upgrade easily from your Dashboard by going to Tools > Upgrade, or you can download from WordPress.org. And of course, it wouldn’t be a major release without a short video summarizing some of the cool things about the new version:

(continue reading…)

Leave a Comment : more...

new macbook pro

by Nattapon on Dec.22, 2009, under General

This macbook pro replaces my good old white macbook that serve me well for over 3 years!!

Leave a Comment :, more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

Archives

All entries, chronologically...