Thursday, April 17, 2008

คุณรู้ไหมว่า 7-11 มีเบอร์เกอร์หอยลายขาย


Translation for my English-speaking friends: 7-11 convenient stores in Bangkok have "Baby Clam Burger" for 20 baht (about $0.7) apiece.

I wanted to try it but it was sold out today.  I will go back later to check it out.

Monday, April 14, 2008

Another Great Physicist Passed Away

John Archibald Wheeler passed away today.

He was a living legend, had many fantastical ideas, taught and inspired generations of physicists including Richard Feynman and Kip Thorne.

I only knew him from his General Relativity book and his lectures about It-from-Bit.
 
For an example of the kind of things he imagined, check this passage from his wikipedia page:  ...theorizes experiments utilizing photons from distant locations in the universe, imaged using galaxy clusters as lenses, but which are detected using apparatus for quantum entanglement, thereby influencing history billions of years in the past.


Wednesday, April 09, 2008

กระทู้เก่าๆจากพันทิปที่ถูกอ่านแต่ละวัน

ผมทำสถิติไว้ว่ากระทู้อะไรถูกอ่านบ่อยแต่ละวัน โดยเข้าไปดูได้ตาม link หน้าตาแบบนี้:
http://www.atriumtech.com/temp/daily_pantip_YYYYMMDD.html

โดยที่ YYYY = ปีค.ศ. MM = เดือน (1-12) DD = วัน (1-31)

โดยมีข้อมูลกลับไปถึง 20071216 (หรือ 16 ธันวา 2550)

เช่น
http://www.atriumtech.com/temp/daily_pantip_20071216.html เป็นข้อมูลของ 16 ธันวา 2550
http://www.atriumtech.com/temp/daily_pantip_20080229.html เป็นข้อมูลของ 29 กุมภา 2551
http://www.atriumtech.com/temp/daily_pantip_20080409.html เป็นข้อมูลของ 9 เมษา 2551

ผมเขียนไว้เผื่อมีคนสนใจกระทู้แปลกๆครับ

Tuesday, April 08, 2008

Moses Has Left The Building


I only knew Charlton Heston as Moses, Ben-Hur, El Cid, the guy who found Soylent Green's secret, and the guy who fought the apes in the original Planet of the Apes, and I knew he was the president of the NRA for a few years, but I never knew about his political activities.

Although I disagree with many of his positions (like campaigning for G. W. Bush), I think this speech is pretty cool. An excerpt:

You simply disobey. Peaceably, yes. Respectfully, of course. Nonviolently, absolutely. But when told how to think or what to say or how to behave, we don't. We disobey the social protocol that stifles and stigmatizes personal freedom.

I learned the awesome power of disobedience from Dr. King who learned it from Gandhi, and Thoreau, and Jesus, and every other great man who led those in the right against those with the might.

Charlton Heston died on April 5, 2008.

Monday, April 07, 2008

แก้ไขข้อมูลเรื่องน้ำผึ้ง

ผมเข้าใจว่าน้ำผึ้งออกมาจากก้นผึ้งและเราดื่มอึผึ้งทุกครั้งที่เราดื่มน้ำผึ้ง ผมเข้าใจอย่างนี้มาตั้งแต่อายุประมาณ 16

ปรากฎว่าข้อมูลนี้ผิด น้ำผึ้งไม่ใช่อึผึ้ง แต่เป็นอ้วกผึ้งต่างหาก

Saturday, March 29, 2008

Superhero Lesson #158: Levitation

Titus and Tatia's superhero training is coming along nicely. The other day, Titus showed us how he could easily levitate himself a few inches off the ground. With regular practice, he should be able to leap over tall buildings within a year or so.

Lift off preparation:




And up he goes!!!

Wednesday, March 26, 2008

หนังสือแนะนำ: ห้าจี๊ดเจี๊ยวจ๊าว กับ แมวหง่าวดุ๊ดุ



ผมชอบอ่านให้ลูกฟังมากจนธีธัชบอกให้ป่าป๊าเก็บไว้เองเลย

คำอธิบายจากร้าน fahfahshop นะครับ (ถ้าจะซื้อก็ลองสั่งซื้อกับเขาก็ดี):

สำหรับเรื่อง ห้าจี๊ดเจี๊ยวจ๊าว กับ แมวหง่าวดุ๊ดุ จะ ดัดแปลงมาจาก นิทานอีสปเรื่อง หนูกับ กระพรวน นะคะ นำมาเล่าใหม่ใน แบบคำกลอน อ่านง่าย ได้ เสียงสนุกค่ะ
“ห้าจี๊ด กอดคอ จิ๊จ๊ะ
ทำไงดีนะ พวกเรา พวกเรา
จี๊ดนิด คิดออก อ๋อ...อ๋อ
กระดิ่งแขวนคอ แมวหง่าว แมวหง่าว...”


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

Tuesday, March 25, 2008

Aor's Tabblo Update


It's been a long time since Aor updated her Tabblo. Giving birth and nursing an infant seems to take priority over the site. However, here come the two newest updates: Tatia and a Camera and Happy Tanya.

Saturday, March 22, 2008

I'm So Glad The Universe Is So Big


Yesterday, Earth happened to cross a gamma ray burst beam. Had we been within a few thousand light years of the source, all life on Earth would be extinct by now. Everyone we love would have been gone. Life on Earth would have been terminated. It would have been a quick death because the devastation moves toward us at the speed of light--there would not be any advanced warning.

We were so lucky, the source is about 7,500,000,000 light years away, so I am still typing and you are still reading this. (One light year is about 9,460,000,000,000 km.)

The Bad Astronomer Blog has a good write up about this. A particular interesting passage:

"Let me put this in perspective for you. Imagine a one megaton nuclear weapon detonating. That’s roughly 50 times the explosive yield of the bomb dropped on Nagasaki. Devastating.

The Sun, every second of every day of every year, gives off 100 billion times this much energy. That’s every second. A star is a terrifying object.

In the few seconds that a gamma-ray burst lasts, it packs a million million million times that much energy into its beams. In other words, for those few ticks of a clock the GRB is sending out more energy than the Sun will in its entire lifetime.

There is, quite simply, no way to exaggerate the devastation of a gamma-ray burst."


BTW, the picture of the satellite on this post is the Swift satellite, the detector of yesterday's burst. It was designed specifically to look for gamma ray sources in the sky.

Wednesday, March 19, 2008

ท่านผู้ยิ่งใหญ่อีกคนเสียชีวิตวันนี้

Arthur C. Clarke ผู้เป็นนักเขียนนิยายวิทยาศาสตร์ และบทความทางวิทยาศาสตร์ที่ดีที่สุดคนหนี่งของโลก เสียชีวิตแล้ววันนี้ด้วยอายุ 90 ปี

นิยายที่โด่งดังที่สุดของท่านคือ 2001: A Space Odyssey (ที่ถูกทำเป็นหนังโดย Stanley Kubrick) แต่ผมกลับชอบเรื่องอื่นๆ เช่น The Fountain of Paradise ที่อธิบายการสร้างลิฟท์ (สูง 36,000 กิโลเมตร) จากเส้นศูนย์สูตรสู่อวกาศด้วย Carbon Nanotube เรื่อง The Ghost from the Grand Banks ที่พูดถึงกระจกที่สั่นด้วยความถี่สูงเพื่อไม่ให้ฝุ่นเกาะ (ซึ่งตอนนี้มีอยู่ในกล้อง DSLR ทั่วไป และกระจกหน้าต่างบางที่) เรื่อง Childhood's End ที่พูดถึงการสิ้นสุดมนุษยชาติ ด้วยการเปลี่ยนแปลงไปเป็นชีวิตอีกแบบหนึ่ง (ผมสงสัยว่านี่เป็นจุดชนวนความคิดของผมที่คิดว่าในอนาคด มนุษย์น่าจะไม่ต้องใช้ร่างกายที่ทำจากอินทรียสารที่พังง่าย) และเรื่อง Rendezvous with Rama ที่พูดถึงยานอวกาศจากต่างดาว ทรงกระบอกขนาดยักษ์ที่ทำงานโดยอัตโนมัติ และความสมจริงทางฟิสิกส์ที่เยี่ยมยอด (นิยายเรื่องนี้พูดถึงระบบดูท้องฟ้าเพื่อจับตาดูอุกกาบาศที่จะชนโลก ก่อนระบบจริงๆจะเกิดขึ้นหลายปี)

อีกอย่างที่ผมอยากพูดเกี่ยวกับ Sir Clark ก็คือท่านพูดถึงดาวเทียมสื่อสารที่ลอยค้างฟ้า ที่เราใช้กันอยู่ทุกวัน หลายปีก่อนที่จะมีจริงๆ

ท่านช่างมีจินตนาการ"เห็น"อนาคตจริงๆ และเป็นแรงบันดาลใจให้เด็กๆหลายๆคนกลายเป็นนักวิทยาศาสตร์จริงๆ

ขอให้หลับสบายครับ

Tuesday, March 18, 2008

The Best Comic Ever!


It combines so many things I like: Ninja, Science, Mythbusters, Zombie, and Feynman!

It also has a message: "Ideas are tested by experiment." That is the core of science. Everything else is bookkeeping.

Thursday, March 13, 2008

รำลึกถึงเหยื่ออธรรม

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

ไปดูข่าวปัจจุบันเกี่ยวกับเขากันที่นี่และที่นี่

Monday, March 10, 2008

Before You Kill The Next Ant,...


...you should see what ants are capable of in this paper. As a general rule, I try not to destroy anything that I cannot replace. I fail often, but I am trying my best.

I became interested in ant behaviors when I read "Journey to the Ants" back in 1995. What I found most amazing was that some ants use tools in their warfare.

Some people solve optimization problems by emulating what ants do. Their finding is called ant colony optimization. I think it's very clever.

Thursday, March 06, 2008

ประกาศ MVP คนที่ 3 คุณ Psaipetc ติดต่อทีมงานรับเสื้อ “เอา” สุดเท่ไปได้ เลยครับ

Duocore.TV ตอนที่ 66 ประกาศให้ Psaipetc ติดต่อรับเสื้อ "เอา" เนื่องจากเป็นคนมีรสนิยมในการส่งข่าว (555, ความจริงเขาไม่ได้พูดอย่างนั้นหรอก ผมเหมาเอาเอง ถ้าอยากรู้ว่าเขาพูดอะไรต้องดู clip นาทีแรกๆ)

psaipetc ก็ผมนะสิ!

เกิดมาไม่เคยมีใครแต่งตั้งให้เป็น MVP เลยนะเนี่ย ดีใจมาก!!!

Tuesday, March 04, 2008

Wednesday, February 27, 2008

What Is "Load Average" In Top's Output Anyway?


When I started using Unix in 1989, I learned about the "top" command to see how hard the computer was working. There are many numbers in top's output. Some (such as time, uptime, number of users, CPU states, etc.) are easy to understand. However, I never really understood what "load average" means.

Of course, if the computer is doing nothing, the load average would be low, and if the computer is busy, the load average will be large. However, the number can go much higher than 1, so it's not the fraction of the computer's capacity that is being used. I was never curious enough to find out exactly what that number means, and just settled for general feeling of typical numbers that would be "safe" for each computer.

Now, thanks to the magic of the Internet, the exact meaning can easily be found here and here. (Yes, it's easily found, but to really understand it, you need to read till the end.)

To summarize:

So, what have we learned? Those three innocuous looking numbers in the LA triplet have a surprising amount of depth behind them.

The triplet is intended to provide you with some kind of information about how much work has been done on the system in the recent past (1 minute), the past (5 minutes) and the distant past (15 minutes).

and

Those three little numbers tucked away innocently in certain UNIX commands are not so trivial after all. The first point is that load in this context refers to run-queue length (i.e., the sum of the number of processes waiting in the run-queue plus the number currently executing). Therefore, the number is absolute (not relative) and thus it can be unbounded; unlike utilization (AKA ``load'' in queueing theory parlence).

Monday, February 25, 2008

And So It Goes...

ครับ หลังจากหมาอัลเซเชียนวีรบุรุษหางจุกตูด หมาบูลด็อกผู้ดุดันไปเลียมือโจร และหมาโกลเด้นปากจู๋เชิญโจรเข้าบ้าน ก็ถึงตาที่หมาพันทางเฝ้าบ้านทั้งหลายต้องออกมาสู้กับโจรอีกครั้ง

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

ประการแรก อดีตแกนนำพันธมิตรประชาชนเพื่อประชาธิปไตยได้ตัดสินใจมีมติฟื้นสภาพโครงสร้างการบริหารงานพันธมิตรประชาชนเพื่อประชาธิปไตยขึ้นมาอีกครั้งเหมือนดังเดิม เพื่อพร้อมดำเนินการต่อสู้กับพฤติการณ์ของรัฐบาลนายสมัครที่จะทำงานรับใช้ระบอบทักษิณในทุกรูปแบบ

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

ประการที่สาม พันธมิตรประชาชนเพื่อประชาธิปไตยเรียกร้องให้นายสมัคร สุนทรเวช แสดงความจงรักภักดีต่อชาติ ศาสนา และพระมหากษัตริย์ ด้วยการกระทำ อย่าให้คนไม่ดีมาปกครองบ้านเมือง ยุติบทบาทการกระทำอันเป็นหุ่นเชิดของ พ.ต.ท.ทักษิณ ชินวัตร และ ประพฤติปฏิบัติเป็นนายกรัฐมนตรีที่เสียสละเพื่อคน 63 ล้านคนอย่างแท้จริง

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

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

ประการที่หก พันธมิตรประชาชนเพื่อประชาธิปไตยเรียกร้องให้รัฐบาลนายสมัครดำเนินการยุติความกำเริบเสิบสานในการลิดรอน ข่มขู่ คุกคามสิทธิเสรีภาพของสื่อสารมวลชน

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

ด้วยจิตคารวะ

พันธมิตรประชาชนเพื่อประชาธิปไตย


--- - ---- - ----- ---------
ป.ล.

1. กฏแห่งกรรมเป็น emergent property ของสังคมที่ไม่เลวเกินไป ไม่มีอะไรมาเสกให้ ดังนั้นสมาชิกของสังคมต้องทำงานหน่อย ไม่งั้นกฏแห่งกรรมจะไม่ทำงาน จะไปงมงายรอปาฏิหาริย์ หรือชาติหน้า มันเป็นการขี้เกียจและไม่รับผิดชอบ

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


3. ประเทศไทยนั้นจะเป็นประเทศที่เจ๋งมากเมื่อเทียบกับทั้งโลก เพียงถ้าเราสามารถทำให้คนมีอำนาจ เพลาๆในการทำชั่วและเอาเปรียบสังคมได้บ้าง ถ้ากฏหมายพึ่งได้ เราก็มีโอกาสพัฒนา ถ้ากฏหมายพึ่งไม่ได้แล้วสังคมเราจะเป็นสังคมอารยะได้อย่างไร

Sunday, February 24, 2008

Two Laws That More People Should Know About

I knew about them when I was in my early 20's and I wished I had known about them earlier.

The first is Zipf's law, which "...states that given some corpus of natural language utterances, the frequency of any word is inversely proportional to its rank in the frequency table. Thus the most frequent word will occur approximately twice as often as the second most frequent word, which occurs twice as often as the fourth most frequent word, etc."

It's a special case of the general power law distribution which many natural phenomena seem to exhibit.

The other law is Benford's law, which "...states that in lists of numbers from many real-life sources of data, the leading digit is 1 almost one third of the time, and larger numbers occur as the leading digit with less and less frequency as they grow in magnitude, to the point that 9 is the first digit less than one time in twenty. This is based on the observation that real-world measurements are generally distributed logarithmically, thus the logarithm of a set of real-world measurements is generally distributed uniformly."

Benford's law is applicable to "... a wide variety of figures, including electricity bills, street addresses, stock prices, population numbers, death rates, lengths of rivers, physical and mathematical constants, and processes described by power laws (which are very common in nature). "

Benford's law is also used successfully to detect accounting frauds, scientific frauds, electoral frauds, and other types of frauds. Just google for "fraud detection benford" and you will see a lot of examples.

Thursday, February 14, 2008

A Genius' Quotes

Richard Feynman is my scientific hero. I decided to get real science education after reading the first few chapters from these books by him. I found these quotes when I'm ordering another of his books:
--- - ---- - ----- ---------
Perhaps the best example of Feynman's self-understanding lies in his attitude toward money. After some happy years at Cornell, Feynman is lured to Caltech, where he is even happier. But one day the University of Chicago offers him "a tremendous amount of money, three or four times what I was making." He writes back:

"After reading the salary, I've decided that I must refuse. The reasons I have to refuse a salary like that is I would be able to do what I've always wanted to do -- get a wonderful mistress, put her up in an apartment, buy her nice things. . . . With the salary you have offered, I could actually do that, and I know what would happen to me. I'd worry about her, what she's doing; I'd get into arguments when I come home, and so on. All this bother would make me uncomfortable and unhappy. I wouldn't be able to do physics well, and it would be a big mess. What I've always wanted to do would be bad for me, so I've decided that I can't accept your offer."

More choice quotes:

"I learned from her [his mother] that the highest forms of understanding we can achieve are laughter and human compassion."

"That's the way the world was: You worked long hours and got nothing for it, every day."

"Have no respect whatsoever for authority; forget who said it and instead look at what he starts with, where he ends up, and ask yourself, 'Is it reasonable?' "

"Our responsibility is to do what we can, learn what we can, improve the solutions, and pass them on. It is our responsibility to leave the people of the future a free hand. . . . If we suppress all discussion, all criticism, proclaiming 'This is the answer, my friends; man is saved!' we will doom humanity for a long time to the chains of authority, confined to the limits of our present imagination. It has been done so many times before."

How Software Companies Die

Orson Scott Card, one of the great sci-fi writers, the author of Ender's Game and Speaker for the Dead, wrote a pithy essay about How Software Companies Die. It's funny (and sad), and true.

Wednesday, February 13, 2008

Two Things That Made My Day Today

First, Titus' map of our house:



Second, my students' comments from a class I taught at MUIC. And, no, I didn't bribe them :-) :





Friday, February 08, 2008

The Children Of Iraq

I found this collection of children pictures taken in Iraq. It's a reminder of how the record-breaking profits of oil companies are being achieved.

This war is based on a lie, but the suffering (and the profits) are real.

Thursday, February 07, 2008

Harddisk Crash In Tibet

This article describes how a harddisk might crash in high-altitude places, like Tibet.

I try to search for operating altitude for harddisks, and they all seem to be working up to about 3 km from the sea level due to the lower air pressure in high altitude.

I don't know why the computer loaned to the article's author worked though. May be its disk is one of the Endurstar harddisks that operate up to 5 km.

Sunday, February 03, 2008

Friday, January 25, 2008

Progress Bars To Make People Happier


Chris Harrison et al. has a paper showing that people perceive time as running faster if they are looking at an appropriately accelerating progress bar. It seems that a progress bar that slows in the beginning and accelerates near the end (called "Fast Power" in the paper) makes people happiest. The study focused on the duration of 5.5 seconds and suggested that other longer durations should be further investigated.

I never asked myself how a progress bar should move to please people. I'm glad there are people like Chris who thinks of these things. He also has a lot of interesting projects here.

On a slightly related news, here's an article about how to slow your perception of time.

Linus On Evolution

Linus Torvalds, the Linux kernel creator, in responding to a complaint why the kernel has evolved via "sheer luck", has this interesting view about engineering complex things. An Excerpt in italic:

"...You know what the most complex piece of engineering known to man in the whole solar system is?

Guess what - it's not Linux, it's not Solaris, and it's not your car.

It's you. And me.

And think about how you and me actually came about - not through any complex design.

Right. "sheer luck".

Well, sheer luck, AND:

- free availability and _crosspollination_ through sharing of "source code", although biologists call it DNA.
- a rather unforgiving user environment, that happily replaces bad versions of us with better working versions and thus culls the herd (biologists often call this "survival of the fittest")
- massive undirected parallel development ("trial and error")..."

The same process probably underlies the relative success of capitalism. Of course, capitalism might be too successful and hastens our species' extinction.

Thursday, January 24, 2008

The Strange History Of The Fahrenheit Scale

Ever wonder why the Fahrenheit scale was created so that water freezes at 32 degrees and boils at 212 degrees? You might find this article at The Straight Dope interesting (and hilarious.)

Saturday, January 19, 2008

Applied Probability: How To Write A Spelling Corrector In 21 Lines Of Python

Once again Bayes' Theorem comes in handy. This time, Peter Norvig shows us how to make a not-so-bad spelling corrector. It was done in 21 lines of easy-to-understand Python! I actually could understand it in one pass of reading. (It usually takes me many reading passes to understand any algorithm--I'm dense that way.)

If you have children, they should have some basic math and probability skills. Rational thoughts need those skills. Otherwise, they won't be able to make quantitative comparisons.

Sunday, January 13, 2008

The 2007 Darwin Awards

The Darwing Awards are named in honor of Charles Darwin, the father of evolution; the Darwin Awards commemorate those who improve our gene pool by removing themselves from it.

The 2007 Darwin Awards, as determined by the visitors' votes, are presented here.

If you enjoy the Darwin Awards, you might also enjoy this excellent movie, Idiocracy. You can see the first 3 minutes here.

Friday, January 11, 2008

Ah, What A Sweet Memory!

My first computer, the Atari 400, is one of the top ten computers with the worst keyboards!

I got it when I was 12. The price was 12,000 baht which was a large sum at the time. I went to Hong Kong for the first time with my family and we bought it there. I told my grandpa that it was for education when in fact it had a big library of games. (I even told him about eye-hand coordination while I was commanding a starship in the excellent Star Raiders game.)

The funny thing is, I played games less and less and programmed more and more for the next few years. I learned English out of necessity to understand how to program that computer in BASIC. I made some stupid chasing games and plotted many pretty (in my opinion) curves. On the other hand, those curves must look really bad now with the resolution I used then (320x192) compared to what I have now (1440x900 to 1680x1050.) Very amazing what a 1.79 megahertz CPU and 8 kilobytes of RAM could do.

I didn't even notice that its keyboard was bad.

Thursday, January 10, 2008

กระทู้ (คลาสสิค) พันทิปที่ถูกอ่านบ่อย (เดือนธันวา 2550)

ผมเก็บกระทู้พันทิปเก่าๆไว้เพื่อค้นหาเองมาได้ร่วมสิบปีแล้ว และบางส่วนก็สามารถค้นหาได้ผ่าน Search Engine ที่บริษัทผม หลังจากเวลาผ่านไปเกือบสิบปี ผมก็เริ่มหายโง่และคิดอยากรู้ว่ากระทู้ไหนถูกคนอ่านมากที่สุด ก็เลยลองไปกรอง log ของเวปบริษัทดู

กระทู้ต่อไปนี้คือกระทู้ที่ถูกอ่านมากที่สุดสิบอันดับแรกประจำเดือนธันวาคม
2550:

  1. J1451129 อารมณ์เสียกับคนจตุจักรมาก เกี่ยวกับคั่วไก่ [อาหารการกิน] (อ่าน 5,643 ครั้ง)
  2. EX535892 ทำไม TV ภาพไม่ชัด ตั้งแต่ข้างบ้านติด UBC แบบจาน. (อ่าน 3,525 ครั้ง)

  3. X2134462 รถถังติดแอร์หรือเปล่าครับ [วิทยาศาสตร์-เทคโนโลยี] (อ่าน 1,448 ครั้ง)

  4. PANTIP.COM : K3243595 -ขอข้อมูลที่เกี่ยวเนื่องกับพระราชประวัติ สมเด็จพระนางเจ้าอินทรศักดิ์ศจี พระวรราชชายา [ประวัติศาสตร์] (อ่าน 542 ครั้ง)

  5. K1265219 เค้านำศพลงโกศยังไงครับ (อ่าน 538 ครั้ง)

  6. PANTIP.COM : I4848260 ทีไหนรับซื้อทองคำแท่งมากกว่าหมื่นกิโลทั๊ยครับ [] (อ่าน 466 ครั้ง)

  7. L1450370 มีเรื่องน่าอายมาเล่าให้ฟัง [สุขภาพกาย-จิต] (อ่าน 258 ครั้ง)

  8. PANTIP.COM :COM SCI [CS2029332] คนด้านวิทยาศาสตร์และเทคโนโลยี ควรยุ่งเรื่องการเมืองรึเปล่า ? (อ่าน 238 ครั้ง)

  9. K2493053 อยากทราบที่มาของคำว่า "ในหลวง" ครับ? [ภาษาไทย] (อ่าน 172 ครั้ง)

  10. PANTIP.COM : X3250067 ทำไมเวลา แมลงสาบ ตาย ต้องหงายท้องตาย ล่ะคับ [วิทยาศาสตร์] (อ่าน 161 ครั้ง)

--- - ---- - ----- ---------

ป.ล. คุณดอสเก็บรวบรวมกระทู้พันทิปในตำนานไว้ที่นี่ด้วยครับ

An Entertaining Site For People Who Like Inventions

I just found Inventor Spot, a site that offers "serious fun for the inventor in all of us." There are many good, funny, or wacky inventions in here. If you have tinkered with or made things in your spare time, you might find the site interesting.

Check out their popular articles on the right side or subscribe to their RSS feed for daily update. There are also many resources if you are an inventor yourself.

Saturday, January 05, 2008

มันจะหยุดเอาพ่อมันขึ้นปกสักอาทิตย์ไม่ได้หรือไง

ผมซื้อเนชั่นสุดสัปดาห์และมติชนสุดสัปดาห์ทุกอาทิตย์โดยให้เจ้าประจำที่แผงข้างที่ทำงานเก็บไว้ให้

อาทิตย์นี้ก็เช่นกัน ผมรับหนังสือในถุงมา พอถึงบ้านก็เปิดดู พอเห็นหน้าปกเท่านั้นผมก็ของขึ้นทันที

กรุณาดูหน้าปกเปรียบเทียบกันครับ


ด้วยความเคารพต่อนักเขียนดีๆหลายท่านในมติชน (เช่นอาจารย์ นิธิ เอียวศรีวงศ์ อาจารย์เนาวรัตน์ พงษ์ไพบูลย์ อาจารย์ไมเคิล ไรท และอีกหลายๆท่าน) ผมต้องขอด่าคณะทำงานที่นำรูปทรราชขึ้นปกในอาทิตย์นี้ ขณะที่พวกเขาน่าจะมีเวลาหลายวันที่จะทบทวนถึงการตัดสินเลือกข่าวสำคัญของสัปดาห์ หลังจากสมเด็จพระพี่นางสิ้นพระชนม์เมื่อต้นอาทิตย์

ผมได้ยินข่าวลือมานานแล้วเกี่ยวกับคนในคณะทำงานมติชน ที่ไม่เห็นความสำคัญของสถาบันพระมหากษัตริย์ ถึงกับสนับสนุนระบอบที่จะล้มล้างสถาบันในที่สุด ผมไม่สามารถฟันธงว่าเป็นความจริงหรือไม่ แต่ความเชื่อผมก็มีมากขึ้นจากเหตุการณ์ล่าสุดนี้ (คราวที่แล้วก็ทีหนึ่งแล้ว ที่มันเอารูปเกี่ยวกับการล้มล้างสถาบันกษัตริย์ที่เนปาล และสะเออะเขียนว่า Case Study)

ผมคงต้องขอยืนอ่านคอลัมน์ดีๆในมติชนตามแผง และซื้อหนังสือรวมบทความของนักเขียนที่ผมชอบแทนตั้งแต่นี้เป็นต้นไป

Wednesday, January 02, 2008

Dream = Our Private Virtual Reality Training?

According to this article, nightmares are the brain's training to respond to threatening situations in real life. This hypothesis explains my frequent dreaming about fighting monsters in my dreams :-) I think I actually get better at shooting double-taps in real life since I did it hundreds of time in my brain's simulation but very few times in reality because of the high cost of ammunition. In my dreams, I usually get attacked from the side -- that probably means I should look around for monsters waiting to ambush me if I ever go on Zombie hunting.

The ingenious part is the description of how the researchers prevent their mice from dreaming. It's clever and hilarious (to us; to the mice, it is maddening.)


--- - ---- - ----- ---------

P.S. The picture comes from this (also interesting) article.