Things that I find interesting, mostly about nature, science, mathematics, programming, and Thailand's fight against corruption.
Thursday, February 23, 2012
"ตรวจสายต่อต่างๆก่อน"
พอผมได้ยินข่าวนี้ปุ๊บ ผมก็คิดถึงคำแนะนำที่มีประโยชน์กับผมมากมากว่า 25 ปีแล้ว คือถ้ามีปัญหาอะไรเกี่ยวกับคอมพิวเตอร์หรืออิเลคทรอนิคส์ทั้งหลาย ให้ตรวจดูก่อนว่าสายไฟและสายสัญญาณต่างๆต่ออยู่แน่นดีไหม ผมเห็นคำแนะนำนี้เป็นครั้งแรกในบทความของ Jerry Pournelle ตอนที่เขายังเขียนบทความให้นิตยสาร Byte อยู่ ผมจำคำแนะนำนี้ได้ขึ้นใจและใช้มันเสมอๆเมื่อต้องแก้ปัญหาเกี่ยวกับเครื่องไฟฟ้าอิเลคทรอนิคส์ทั้งหลาย
หวังว่าท่านผู้อ่านจะนำเอาไปใช้นะครับ ชีวิตท่านน่าจะดีขึ้นบ้าง :-)
Saturday, August 27, 2011
โปรแกรมฟรีและดีสำหรับ Windows
โปรแกรมที่ลงมาให้คือ
- LibreOffice เป็นซอฟท์แวร์ฟรี ลิขสิทธิ์ถูกต้อง ใช้แทน Microsoft Office ได้ เวลาเซฟงานเราเลือกนามสกุลไฟล์เป็น .doc .xls ได้
- Foxit Reader ฟรี ใช้เปิดไฟล์ PDF อ่าน (แทน Adobe Acrobat)
- ImgBurn ฟรี ใช้เขียนแผ่น CD/DVD
- PDFCreator ใช้สร้างไฟล์ PDF โดยเวลาเราพิมพ์เอกสารจากโปรแกรมต่างๆ เราสามารถเลือกพิมพ์แล้วเลือก PDFCreator เป็นเครื่องพิมพ์แทนเครื่องจริงๆ เราจะได้ไฟล์ PDF ออกมา ผมแนะนำให้ส่งเอกสารที่ผู้รับไม่จำเป็นต้องเปลี่ยนแปลงเป็นไฟล์ PDF เสมอ (LibreOffice ไม่จำเป็นต้องใช้ PDFCreator เพราะสร้างไฟล์ PDF ได้เองอยู่แล้ว)
- Picasa ใช้เก็บและดูรูปภาพ
- Skype ใช้พูดคุยแชทผ่านคอมพิวเตอร์
- Windows Live Messenger ใช้พูดคุยแชทผ่านคอมพิวเตอร์
- Notepad++ ใช้แทน Notepad ที่มากับ Windows เผื่อต้องใช้
- VLC Media Player ใช้ดูหนังฟังเพลง
- KMPlayer ใช้ดูหนังฟังเพลง
- Launchy ใช้เปิดโปรแกรมโดยไม่ต้องไปเลือกตามเมนู แค่กดคีย์ Alt กับ Space (แป้นเว้นวรรค) พร้อมกัน จะมีหน้าต่างขึ้นมาให้เราพิมพ์ชื่อโปรแกรม ปกติแค่พิมพ์ตัวอักษรตัวสองตัวก็เลือกได้แล้ว
- Microsoft Security Essential เป็นโปรแกรม anti-virus ของไมโครซอฟท์ ใช้ได้กับ Windows ถูกลิขสิทธิ์
- Paint.Net โปรแกรมวาดและแต่งภาพ ฟรี ใช้แทน Photoshop
- Google Chrome เป็นโปรแกรมท่องเว็บแทน Internet Explorer มันเร็วกว่า และน่าจะปลอดภัยกว่า
ผมแนะนำว่าให้ทดลองใช้ Dropbox เพื่อเก็บเอกสารการงาน เพราะเราสามารถใช้เอกสารจากคอมพิวเตอร์เครื่องไหนก็ได้ แชร์ไฟล์ให้คนอื่นก็ได้ มีแบคอัพอัตโนมัติ มีคนอธิบายการใช้ไว้ที่ http://www.i3.in.th/content/view/1927 ลองอ่านดูนะครับ สมัครใช้แบบฟรีเราจะได้้พื้นที่ 2 GB ถ้าอยากสมัครให้กดลิงค์นี้ http://db.tt/OlZhBwX คุณจะได้พื้นที่เพิ่มขึ้นอีกฟรีๆและผมก็จะได้พื้นที่เพิ่มด้วย
อีกอย่างที่อยากให้ลองคือ Google Docs คือเราสามารถสร้างเอกสารเก็บไว้ในเว็บกับ Google เลย เวลาจะให้คนอื่นดูก็แค่ส่งลิงค์ให้เขา ไม่ต้องส่งไฟล์ใหญ่ๆ และเราไม่ต้องกลัวเอกสารหายจากฮาร์ดดิสค์พังด้วย เข้าไปสมัครและใช้ได้ที่ http://www.google.com/google-d-s/intl/th/tour1.html นะครับ
ถ้าเราเก็บเอกสารไว้บน Dropbox หรือ Google Docs เวลาคอมพิวเตอร์เราต้องซ่อม หรือหาย หรือเปลี่ยนเครื่องใหม่ หรือไปใช้อีกเครื่อง เราจะสามารถเข้าถึงเอกสารของเราได้ ไม่ต้องก็อปปี้ไฟล์ไปมา
Monday, January 10, 2011
A Minor Problem Buying Software Through App Store
Thursday, November 25, 2010
iFixit.com Is Cool
I've found iFixit to be a useful and entertaining site. It has many repair manuals and disassembly instructions for computers and electronic gadgets.
Wednesday, September 29, 2010
md5 On Mac OS X ~ md5sum On Linux
Sunday, September 26, 2010
Remote Control Your Computers, Hassle Free
Friday, September 24, 2010
I Like DealExtreme
Saturday, March 27, 2010
Content Aware Fill
Friday, September 25, 2009
How To Waste Hours In 3 Easy Steps

1. Go to http://picasa.google.com/ and download Picasa 3.5 (not the 3.0 or 3.1 version.)
Wednesday, September 09, 2009
A Mathematical Attack On Copyright
Tuesday, July 21, 2009
How They Built Apollo 11's Software
Wednesday, May 27, 2009
A Good Essay From The Past
Wednesday, March 25, 2009
Skynet* Is Coming!
Wednesday, March 11, 2009
An Interesting Account Of How To Teach Math
Often these classes presented students with collections of "skills" which they were to memorize. The problem was that many folks forgot these skill shortly after they completed the class. The skills had to be memorized because they meant little to the students' intellects.
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).
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.
Monday, November 19, 2007
Derivatives Are Free. Integrals Are One Baht Each

Friday, November 02, 2007
เดาส่วนแบ่งตลาดโน๊ตบุ๊ก

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

สองคอลัมน์สุดท้ายเป็นตัวประมาณส่วนแบ่ง (แบบหยาบๆ โดยการอนุมานจากจำนวนกระทู้ หรือคำตอบ)
ส่วนแบ่งดูเหมือนจะแจกแจงแบบ Power-law distribution
แล้วไว้ผมจะหาข้อมูลอื่นๆมาดูว่าการเดาแบบนี้ใกล้ความจริงแค่ไหน
--- - ---- - ----- ----------
P.S.
1. ถ้าต้องการของทน แนะนำให้ใช้ ThinkPad ของ IBM/Lenovo (ทน ประกัน 3 ปีเป็นส่วนใหญ่ ศูนย์บริการดี)
2. ถ้าต้องการของเท่ห์ & สวย แนะนำ Mac (สวย ไม่โฉ่งฉ่างแบบหลายๆยี่ห้อ)
3. ควรซื้อประกันเพิ่มเป็น 3 ปี ถ้าประกันไม่ถึง เนื่องจากอาจจะเสียหลัง 1 ปี ถ้าอยู่นอกประกันจะซ่อมแพงมาก
4. ไม่ควรซื้อของถูกที่สุด
Wednesday, October 03, 2007
Better Understanding VS. Stupid GPA
In this excellent essay, Theodore Gray and Jerry Glynn pointed out why automating mathematical manipulations using tools such as Mathematica would allow civilization to go forward. The lists of things that become less important and more important with such tools are instructive:
Less Important
- Guessing factors for polynomials
- Knowing many tricks for integration
- Being careful when copying over expressions many times
- Finding roots of complex equations
- Knowing how to do matrix row operations
- Knowing how to avoid dropping minus signs
- Memorizing specific rules for derivatives of such functions as tangent and secant
- Memorizing multiple angle formulas for trig functions
More Important
- Translating statements about problems in natural language into statements in mathematical or procedural language
- Learning how to experiment with math
- Knowing which integrals should best be done numerically
- Knowing how to work backwards or to use numerical methods to check symbolic results for plausibility
- Knowing how to use techniques from programming
- Understanding recursion and how to use it practically
- Knowing which functions are discontinuous and where they are discontinuous
- Knowing how to mix math and programming
Another important passage is:
Children need to know certain facts, but acquiring them is not the main point of learning, especially not in the earlier grades. Mainly children need to have effective habits of mind and an ability to think analytically. They also need to be self-motivated, because in real life there isn't always someone there to provide external motivation (unless they join the army).
The hardest things to teach are the skill of solving problems with incomplete information, the skill of figuring out which problems need solving in the first place, and the skill of finding and bringing together the resources needed to solve a problem.
Children are primed to want to learn. They start out valuing learning and accomplishment above anything else in the world. If you see a child uninterested in learning, it is overwhelmingly likely that the child was made that way by something in the child's world: Children do not start out that way. (Of course there are always exceptions, but they are just that: exceptions.)
--- - ---- - ----- ---------
P.S.
1. แนะนำการใช้ Mathematica ภาษาไทย
2. ถามตอบการใช้ Mathematica
3. Understanding the birthday paradox and hash collision using Mathematica
Tuesday, June 21, 2005
ประสบการณ์ Notebook BTO
ชื้อมาวันที่ 11 เมษา 2548
จากร้าน J** Computer ชั้น 4 IT-Mall
Spec: Pentium-M 1.6 GHz Centrino, 256 MB RAM, 40 GB 5,400 RPM Harddisk, 1024 x 768 14.1" LCD
ราคา: 33,000 (รวม VAT แล้ว)
ตอนรับ ตรวจพบ dead pixel สองครั้ง ต้องเปลี่ยนจอไปสองจอ
เอา RAM ที่บ้านใส่อีก 256 MB ใช้งานได้ดี จอสวย เบา ร้อนมือหน่อยๆที่มือขวาเพราะติดกับ harddisk และตัวเครื่องบาง
ใช้งานได้ถึงวันที่ 9 พฤษภาเริ่มมีอาการดับไปเฉยๆ
ตรวจด้วย Memtest86 เพื่อตรวจ RAM
Prime95 เพื่อตรวจ CPU และ RAM
SpinRite 6 เพื่อตรวจ harddisk
สอบผ่านหมด
ลองสลับไฟระหว่าง battery กับ ไฟบ้านแต่ก็ยังมีอาการ ฉนั้นปัญหาไม่น่าจะเป็นที่ battery
ลองสลับระหว่าง Linux (Ubuntu) กับ Windows แต่ก็ยังมีอาการ ฉนั้นปัญหาไม่น่าจะเป็นที่ OS
วันที่ 15 พฤษภาเอาไปให้ร้านที่ซื้อมาดูอาการ เปิดไว้สองชั่วโมงไม่เป็นอะไร พอเอากลับมาใช้งานก็ดับอีก
ดับถาวรวันที่ 19 พฤษภา
คนขายร้านเคยบอกว่าถ้าเสียมึเครื่องสำรอง จึงโทรไปหา ศูนย์ Synnex ปรากฏว่าทาง Synnex บอกว่าไม่มีนโยบายให้เครื่องสำรอง (เป็นควายโดนหลอกอีกแล้วตู)
ส่งซ่อม ร้านที่ซื้อมา วันที่ 22 พฤษภา
ร้านส่งศูนย์ Synnex
ไปซื้อ IBM R51 (2888-KT4) มาใช้แทน
ได้คืน วันที่ 12 มิถุนา
ใช้ได้ 5 วัน แบตหมดแล้วไม่สามารถเปิดได้อีก
วันที่ 20 มิถุนา ฝากมอเตอร์ไซด์รับจ้างไปส่งโดยตรงที่ Synnex
รอ 1 ชั่วโมง ได้เปลี่ยน motherboard ใหม่ ยังใช้ได้อยู่
------สรุป------
ข้อดี
- ประกันนาน (Intel CPU รับประกัน 3 ปี, Harddisk Western Digital รับประกัน 5 ปี, Kington Memory รับประกัน LifeTime, Notebook ( Mainboard ) รับประกัน 2 ปี, จอภาพ LCD และแบตเตอรี่ รับประกัน 1 ปี)
- ศูนย์Synnex บริการดี
- ราคาไม่แพง เมื่อตอนซื้อ
ข้อเสีย
- เสียจุกจิก
- ต้องระวังตอนตรวจรับเครื่อง ดู dead pixel ให้ดี
- โดนร้านชักจูงจนเข้าใจผิดว่าถ้าเสียมึเครื่องสำรอง
- รู้สึกไม่มั่นใจในความคงทนของเครื่อง
บทเรียน
- ของดีราคาถูกอาจจะมี แต่คงหายาก และเราคงไม่ใช่ผู้โชคดีบ่อยนัก
- ใช้ IBM, Toshiba, Apple iBook ต่อไปดีกว่า (ตอนนี้ ที่บ้านมีคนใช้ IBM R40 1 เครื่อง, R51 3 เครื่อง, Apple iBook G3 1 เครื่อง ที่ทำงานมี Toshiba 2 เครื่อง --ใช้แล้วมีความสุข ไม่เสียเวลากับเรื่องไม่เป็นเรื่อง)
- IBM มี support บน web ยอดเยี่ยมที่สุด driver update ประจำ มีเอกสารมากมาย รวมถึงวิดีโอการถอดประกอบ/ซ่อม
- เวลาซื้อของ อย่าซื้อแต่ของถูกๆ เวลามีปัญหาจะเสียหายมากกว่าผลต่างของราคา
- อย่าเชื่อคนง่ายเวลาเขาพยายามขายของ