According to Wikipedia, Memento mori may be translated as "Remember that you will die.", a warning that is applicable to human throughout our history.
Sunday, May 11, 2008
Memento mori?
Wednesday, May 07, 2008
Top 10 Bugs
Whenever I have a stupid bug in my programming, I would console myself by saying "Well, at least I didn't kill anybody." Not all programmers can say the same though. Welcome to History's Worst Software Bugs page at Wired.com.
Teach Yourself Electronics
Here're easy to understand online books about electric circuits. The books can also be downloaded as HTML or PDF for offline viewing. Combining this with misconceptions about electricity should be a good introduction to how electricity works. Chalked up as another resource for my kids' education.
Monday, April 28, 2008
Fractal Cookies

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.
Monday, April 14, 2008
Another Great Physicist Passed Away
John Archibald Wheeler passed away today.
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 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.
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.
And up he goes!!!
Wednesday, March 26, 2008
หนังสือแนะนำ: ห้าจี๊ดเจี๊ยวจ๊าว กับ แมวหง่าวดุ๊ดุ
“ห้าจี๊ด กอดคอ จิ๊จ๊ะ
ทำไงดีนะ พวกเรา พวกเรา
จี๊ดนิด คิดออก อ๋อ...อ๋อ
กระดิ่งแขวนคอ แมวหง่าว แมวหง่าว...”
เรื่องของเจ้าหนูจิ๊ดทั้ง 5 ตัว ที่ถูกแมวหง่าวรบกวนค่ะ เลยหาวิธีที่จะ จัดการกับ เจ้าแมวหง่าว ใน ที่สุดจี๊ดนิดก็ปิ๊งไอเดียเด็ดขึ้นมา คือ ให้ เอากระพรวนไปผูกคอเจ้าแมวซะเลย แต่ว่า อืม ไม่ มีใครกล้าทำนะซี่... สอนให้ เด็กๆ รู้ว่าแผนที่ดีต้อง ทำได้ด้วย นะคะ
Tuesday, March 25, 2008
Aor's Tabblo Update
Saturday, March 22, 2008
I'm So Glad The Universe Is So Big
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."
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!
Thursday, March 13, 2008
รำลึกถึงเหยื่ออธรรม
คุณสมชาย นีละไพจิตร เป็นทนายที่ไม่ได้รับใช้มาเฟีย ไม่เห็นแก่อามิสสินจ้าง เป็นทนายที่ต่อสู้เพื่อสิทธิของประชาชน (เช่นนักศึกษาถูกตำรวจยัดยาบ้า ผู้ต้องหาถูกตำรวจซ้อมให้สารภาพ) แต่เขาถูกโจรในเครื่องแบบอุ้มฆ่ากลางกรุงเทพ
ไปดูข่าวปัจจุบันเกี่ยวกับเขากันที่นี่และที่นี่
Wednesday, March 12, 2008
Monday, March 10, 2008
Before You Kill The Next Ant,...
Friday, March 07, 2008
Thursday, March 06, 2008
ประกาศ MVP คนที่ 3 คุณ Psaipetc ติดต่อทีมงานรับเสื้อ “เอา” สุดเท่ไปได้ เลยครับ
Duocore.TV ตอนที่ 66 ประกาศให้ Psaipetc ติดต่อรับเสื้อ "เอา" เนื่องจากเป็นคนมีรสนิยมในการส่งข่าว (555, ความจริงเขาไม่ได้พูดอย่างนั้นหรอก ผมเหมาเอาเอง ถ้าอยากรู้ว่าเขาพูดอะไรต้องดู clip นาทีแรกๆ)
psaipetc ก็ผมนะสิ!
เกิดมาไม่เคยมีใครแต่งตั้งให้เป็น MVP เลยนะเนี่ย ดีใจมาก!!!
Tuesday, March 04, 2008
Applied Statistics And Physics, Or How To Detect B.S. By Thinking
First, we can use basic statistics to understand Test Driven Development's effectiveness (or the lack there of) in "TDD Proven Effective! Or is it?"
Next, the conservation of energy principle points out the fatal flaw in the 2nd place winner of the Greener Gadgets Design Competition 2008.
Friday, February 29, 2008
Why Is Today Feb 29?
Over at the Bad Astronomy site, there is a very clear explanation why we have leap years. It has to do with the number of days in a year not being exactly 365 days, but about 365.25. Adding extra days over the years has an effect of syncing the calendar with actual physical years. (Remember that 1 day = one rotation of the Earth and 1 year = one orbit of the Earth around the Sun.)
The algorithm to determine if a year (in A.D., like 2008; for B.E., subtract 543 first) is a leap year is this: If the year is divisible by 400, it's a leap year. If it's not divisible by 400 but divisible by 100, it's not a leap year. If it's not divisible by 100 but divisible by 4, it's a leap year. Other years are not a leap year.
Besides the article, the site is an excellent source of information about science and astronomy. A few of my favorite articles are Bad Movies, Apollo Moon Hoax, Coriolis Effect vs. Water Drain Direction (and here too), and Just Another Face in the Crowd.
I first heard of Bad Astronomy during my honeymoon. Aor and I went to Sydney, Australia for honeymoon. I, being a very romantic guy, went to visit Sydney bookstores with Aor in tow. I bought Phil Plait's Bad Astronomy book and found it to be one of the best science books I read in (not so) recent years.Thursday, February 28, 2008
อย่าลืมเลือก ส.ว. ดีและเก่งให้ กทม. (Part 2)
(ภาค 1 อยู่ที่นี่)
มีคนที่สนับสนุนคุณ รสนา ทำเว็บ FanRosana.com ด้วยครับ


Wednesday, February 27, 2008
What Is "Load Average" In Top's Output Anyway?

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).
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.
Saturday, February 23, 2008
A Century of War: An Interesting History Of Oil
"From that point, oil was at the core of British strategic interests," and the game was this - secure its own supplies, deny them to key rivals like Germany, and do it if necessary by war."
I think I will put this book in my reading queue (which is now about one meter thick :-P .)
Thursday, February 21, 2008
อย่าลืมเลือก ส.ว. ดีและเก่งให้ กทม.

นี่เลยครับ เลือกคุณรสนา โตสิตระกูล เบอร์ 5
ผลงานเพียบ
ใจอยู่ข้างประชาชน
เลือกคนอื่นแล้วเสียหมาไม่รู้นะ
ตัวอย่างผลงาน:
เอารัฐมนตรีขี้โกงเข้าคุก
กันไม่ให้กฟผ. เข้าตลาด มากอบโกยกับประชาชน
ทวงสมบัติสาธารณะที่ ปตท. เอาไปใช้ฟรีๆ
ผลงานอื่นๆไปดูที่นี่ก็แล้วกัน
Wednesday, February 20, 2008
มีหนังสือมาแนะนำอีกแล้วครับ
กำเนิดทฤษฎีเกม.....๑๑
๑. เกม.....๑๕
๒. กลยุทธ์เด่น.....๒๗
๓. ความลำบากใจของจำเลย.....๓๘
๔. จุดสมดุลของแนช.....๕๐
๕. เกมปอดแหก.....๖๒
๖. เกมแห่งความร่วมใจ.....๗๐
๗. สุ่มกลยุทธ์.....๗๖
๘. ความน่าเชื่อถือ.....๘๒
๙. การต่อรอง.....๙๒
๑๐. เกมกับค่าจ้าง.....๑๐๖
๑๑. เกมกับธุรกิจ.....๑๑๘
๑๒. เกมกับตลาดหุ้น.....๑๒๗
บทส่งท้าย....๑๔๑
--- - ---- - ----- ---------
ผมคิดว่า บท "ความลำบากใจของจำเลย" (Prisoners' Dilemma) เป็นตัวอย่างสำคัญว่ามนุษย์จะทำให้กฏแห่งกรรมทำงาน และทำให้สังคมน่าอยู่ได้อย่างไรโดยไม่ต้องพึ่งสิ่งศักดิ์สิทธิ์ด้วยครับ
link สองอันข้างบนแสดงผลไม่ถูกครับ ควรไปที่นี่แทน โดย copy ใส่เบราเซอร์โดยตรง:
"Prisoners' Dilemma" ควรไปที่ en.wikipedia.org/wiki/Prisoners'_Dilemma
"ตัวอย่างสำคัญว่ามนุษย์จะทำให้กฏแห่งกรรมทำงาน และทำให้สังคมน่าอยู่ได้อย่างไรโดยไม่ต้องพึ่งสิ่งศักดิ์สิทธิ์






