Monday, December 28, 2009

เกมใครจุ๊บเป็นคนสุดท้ายชนะ และอย่าแหย่เสือหลับ

วันนี้พาน้องๆที่ทำงานไปกินข้าวกันที่ เซ็นทรัลปิ่นเกล้า ได้พาลูกๆสามคนมาด้วยเพราะไม่ต้องไปโรงเรียน ได้โอกาสเล่นเกม "ใครจุ๊บเป็นคนสุดท้ายชนะ" ซึ่งเป็นเกมที่เหมาะกับคนที่ลูกไม่ค่อยรักและไม่ยอมจุ๊บนะครับ:



เมื่อวันเสาร์มีงานเลี้ยงปีใหม่ที่โรงเรียนศิลปะแหลมคม (google it!) ลูกๆไปกันหมดทั้งสามคน ตอนกลับบ้านธัชธีญามีสภาพอย่างนี้:

Sunday, December 27, 2009

Interesting Warnings About Power Law Distributions

I've wondered about some data that might be distributed according to a certain power law and I found these two links to be informative: So You Think You Have a Power Law — Well Isn't That Special? and Power-law distributions in empirical data.

The abstract of the paper in the second link reads:

Power-law distributions occur in many situations of scientific interest and have significant consequences for our understanding of natural and man-made phenomena. Unfortunately, the detection and characterization of power laws is complicated by the large fluctuations that occur in the tail of the distribution -- the part of the distribution representing large but rare events -- and by the difficulty of identifying the range over which power-law behavior holds. Commonly used methods for analyzing power-law data, such as least-squares fitting, can produce substantially inaccurate estimates of parameters for power-law distributions, and even in cases where such methods return accurate answers they are still unsatisfactory because they give no indication of whether the data obey a power law at all. Here we present a principled statistical framework for discerning and quantifying power-law behavior in empirical data. Our approach combines maximum-likelihood fitting methods with goodness-of-fit tests based on the Kolmogorov-Smirnov statistic and likelihood ratios. We evaluate the effectiveness of the approach with tests on synthetic data and give critical comparisons to previous approaches. We also apply the proposed methods to twenty-four real-world data sets from a range of different disciplines, each of which has been conjectured to follow a power-law distribution. In some cases we find these conjectures to be consistent with the data while in others the power law is ruled out.

Wednesday, December 23, 2009

กระทู้น่าสนใจที่ส่งคนมา Atriumtech.com เดือนนี้

ผมเข้าไปดู log ว่าคนที่เข้ามาที่ Atriumtech.com มาจากที่ไหนเลยไปเจอกระทู้น่าสนใจสองอันครับ

อันแรกคือ "10 สุดยอดกระทู้ห้องกล้องปี 2009" มีอะไรที่เกี่ยวกับการถ่ายภาพและการหลอกลวงน่าสนใจดีครับ

อีกอันคือ "เราจะดูกระทู้แรกของพันทิปได้อย่างไร" ที่มีคำอธิบายการใช้ search ของ Atriumtech ที่เก็บกระทู้เก่าๆของพันทิปไว้

Monday, December 21, 2009

Update ลิงค์ครอบครัว

ตอนนี้คุณอ้อไม่ได้ update รูปภาพที่ Tabblo แล้วนะครับ เธอบอกว่าใช้เวลานานมากกว่าจะเสร็จแต่ละอัน ตอนนี้เลยไปเปิด blog และ album ที่ Multiply.com ที่ใช้ได้ง่ายและเร็วกว่าแทน เข้าไปดูได้ที่ http://mamaaor.multiply.com/ ครับ

ผมพึ่งอัพโหลดวิดีโอที่ YouTube เสร็จอีกสองอัน อันแรกคือการฝึกเด็กๆให้เป็น Ninja Turtles อีกอันคือคลิปที่ธีธัชสร้างโทรศัพท์เป็นของขวัญวันเกิดแม่





Monday, December 14, 2009

พล็อตห่วย หรือ มันเห็นคนไทยเป็นควายหรือไง

สืบเนื่องจากข่าวเขมรอภัยโทษวิศวกรไทยนะครับ

ผมชอบความเห็นที่ 253 โดยคุณ คนนะโว้ยไม่ใช่ควายแดง เป็นพิเศษ จึงขอบันทึกไว้ให้อยู่นานๆ:

คำถามที่ต้องใช้สมองคิดก่อนตอบ

1. ถ้าคุณเป็นพ่อหรือแม่แล้วลูกโดนจับเข้าคุก คุณจะทำอย่างไรกับลูกที่ต้องติดคุกอยู่ต่างประเทศ
ก. ยื่นขอประกันตัว หรือ ข. ปล่อยให้ติดคุกเขมรไม่ขอประกันตัว

2. ถ้าลูกคุณโดนศาลชั้นต้นตัดสินว่าผิดข้อหาจารกรรมข้อมูลลับ เป็นภัยต่อความมั่นคง และต้องติดคุก คุณจะทำอย่างไร
ก. ยื่นขออุทรณ์เพื่อต่อสู้ในความบริสุทธิ์ หรือ ข. ไม่อุทรณ์ ยอมรับว่าทำผิดตามนั้นจริง

3. หรือถึงแม้ว่าถ้าคุณเป็นสมาชิกแก๊งค์โจรหรืขอทานเลวๆอยู่สักแก๊งค์หนึ่งหนึ่ง คุณจะ...
ก. ด่าคนที่คิดร้ายกับหัวหน้าแก๊งค์และจัดการกับมันอย่างสาสม หรือ ข. พยายามช่วยเหลือคนที่คิดร้ายนั้นอย่างเต็มที่ในทุกๆทาง

4. ถ้าคุณเป็นผู้นำแบบชั่วๆโฉดๆของเขมร คุณจะ...
ก. จัดการขั้นเด็ดขาดกับคนที่เป็นภัยต่อความมั่นคงของประเทศจริง หรือ ข. ยกโทษให้มันง่ายๆแล้วปล่อยให้มันไปทำงานอย่างเดิมต่อเถอะ

5. ถ้าคุณเป็นผู้นำประเทศ คุณจะ..... กับบุคคลที่โดนตัดสินว่าภัยต่อความมั่นคงของชาติ
ก. ประหารชีวิตหรือให้รับโทษขั้นสูงสุด หรือ ข. ให้เกียรติและให้การรับรองประดุจดาราตุ๊กตาทองหรือแขกวีไอพีของประเทศ

ถ้าคุณตอบข้อ ก.ทั้งหมด แสดงว่าคุณน่าจะเป็นคนที่มีความคิดและมีการศึกษา รู้ว่าเรื่องจริงเป็นอย่างไร และ ละครตลกน้ำเน่าสำหรับคนโง่เป็นอย่างไร
แต่ถ้าคุณตอบข้อ ข. แม้เพียงข้อเดียว ผมว่าคุณคิดไม่เป็นเลยหรือไม่คุณก็มีสมองเพียงไว้กั้นหู2ข้างของคุณไม่ให้มันติดกันเท่านั้นเอง

สำหรับผู้ไม่ได้ติดตามข่าวแต่ต้นนะครับ มาดูว่าใครเลือกข้อ ข. กันบ้าง:

ข้อ 1 แม่วิศวกรทำข้อ ข.
ข้อ 2 แม่วิศวกรทำข้อ ข.
ข้อ 3 สมาชิกแก็งค์พรรคเพื่อไทยทำข้อ ข.
ข้อ 4 ฮุนเซนทำข้อ ข.
ข้อ 5 ฮุนเซนทำข้อ ข.

Friday, December 11, 2009

ของน่าสนใจทำด้วยไม้


บังเอิญไปพบเว็บ Woodworking for engineers มีโปรเจ็คทำด้วยไม้ที่น่าสนใจหลายอันเช่น หน้าไม้ ลูกสูบไม้ และ เครื่องบวกเลขฐานสองทำจากไม้ เลยอยากบันทึกไว้เผื่อได้ทำเล่นกับลูกๆ ในอนาคต

ปู่ผมเป็นชาวนาและช่างไม้ที่เก่งขนาดสร้างบ้านและต่อเรือได้ด้วยตัวเอง น่าเสียดายที่ผมไม่ได้มีโอกาสฝีกงานกับท่านเลย พอแก่ตัวลงอยากหัดทำบ้าง

Wednesday, December 02, 2009

One of the Greatest Physicists Might Have Been Autistic

Paul Adrien Maurice Dirac was the great physicist who started the unification of special relativity with quantum mechanics and predicted the existence of anti-electrons or positrons. His name is also attached to the Fermi-Dirac statistics which describes how particles behave. He's one of the gods of physics.

He's also well known (among physicists) for his precise and laconic utterance along with his exceedingly literal interpretation of others' sentences*. I just found out that there's a new biography of Dirac that claims that he was autistics. NPR has an interview of the author and there's an article about autism screening related to Dirac.

For many amusing anecdotes about the man, see this page.

--- - ---- - ----- ---------
* For example (taken from the last link above), here is typical Dirac interaction:

When Paul Dirac made a rare error in an equation on the blackboard during a lecture one day, a couragous student raised his hand: "Professor Dirac," he declared, "I do not understand equation 2."

When Dirac continued writing, the student, assuming that he had not been heard, raised his hand again and repeated his remark. Again Dirac merely continued writing...

"Professor Dirac," another student finally interjected, "that man is asking a question." "Oh?" Dirac replied. "I thought he was making a statement."