<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>rawitat.com &#124; Rawitat Pulam &#187; Science</title>
	<atom:link href="http://www.rawitat.com/category/science/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rawitat.com</link>
	<description>Simplicity within Complexity, and Vice-Versa</description>
	<lastBuildDate>Fri, 06 Jan 2012 07:48:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Pencast วิชา​ Visual Simulation ครั้งที่ 4</title>
		<link>http://www.rawitat.com/2010/07/02/453/</link>
		<comments>http://www.rawitat.com/2010/07/02/453/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 10:52:04 +0000</pubDate>
		<dc:creator>rawitat</dc:creator>
				<category><![CDATA[การเรียนการสอน]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Lecture]]></category>
		<category><![CDATA[Pencast]]></category>
		<category><![CDATA[Science]]></category>

		<guid isPermaLink="false">http://www.rawitat.com/2010/07/02/453/</guid>
		<description><![CDATA[ก่อนอื่นต้องขอชมน้องๆ หลายคนก่อนว่า ทำการบ้านครั้งที่แล้วได้ดีมากเลยครับ เนื้อหาคราวนี้หลักๆ เป็นการเชื่อมโยงเนื้อหาคราวที่แล้ว (1D Dynamical System; Logistic Equation) กับเรื่องที่นักศึกษาสาขา animation คุ้นเคย นั่นก็คือ การกำหนดค่าการเคลื่อนไหวต่างๆ ให้กับ animation ก็หวังว่าจะทำให้หลายๆ คนเข้าใจบทบาทของ Dynamical system simulation กับการประยุกต์ใช้งานในเรื่อง animation มากขึ้นบ้าง ตอนที่ 1: Simple Dynamical System &#038; Animation Control ขนาด 7.8 MB 7.01 VS: Simple Dynamical Systembrought to you by Livescribe ตอนที่ 2: Simple Dynamical System &#038; Animation Control (ต่อ) ขนาด [...]]]></description>
			<content:encoded><![CDATA[<p>ก่อนอื่นต้องขอชมน้องๆ หลายคนก่อนว่า ทำการบ้านครั้งที่แล้วได้ดีมากเลยครับ</p>
<p>เนื้อหาคราวนี้หลักๆ เป็นการเชื่อมโยงเนื้อหาคราวที่แล้ว (1D Dynamical System; Logistic Equation) กับเรื่องที่นักศึกษาสาขา animation คุ้นเคย นั่นก็คือ การกำหนดค่าการเคลื่อนไหวต่างๆ ให้กับ animation ก็หวังว่าจะทำให้หลายๆ คนเข้าใจบทบาทของ Dynamical system simulation กับการประยุกต์ใช้งานในเรื่อง animation มากขึ้นบ้าง</p>
<ol>
<li>ตอนที่ 1: Simple Dynamical System &#038; Animation Control  ขนาด 7.8 MB
<div class="pencast"><a href="http://www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/MLSOverviewPage?sid=7TnL1lgssDjX" target="_blank">7.01 VS: Simple Dynamical System</a><br /><small>brought to you by <a href="http://www.livescribe.com/" target="_blank">Livescribe</a></small><br /><object width="228" height="316"><param name="movie" value="http://www.livescribe.com/media/swf/embedPlayer.swf"></param><param name="FlashVars" value="path=http%3A//www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/flashXML%3Fxml%3D0000C0A8011600003A9B6830000001294F0AC38575491F77&amp;embedversion=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.livescribe.com/media/swf/embedPlayer.swf?path=http%3A//www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/flashXML%3Fxml%3D0000C0A8011600003A9B6830000001294F0AC38575491F77&amp;embedversion=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="228" height="316"></embed></object></div>
<p></p>
<li>ตอนที่ 2: Simple Dynamical System &#038; Animation Control (ต่อ) ขนาด 5.3 MB
<div class="pencast"><a href="http://www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/MLSOverviewPage?sid=Qr9rr6dlsQFM" target="_blank">7.01 VS: Simple Dynamical System 2</a><br /><small>brought to you by <a href="http://www.livescribe.com/" target="_blank">Livescribe</a></small><br /><object width="228" height="316"><param name="movie" value="http://www.livescribe.com/media/swf/embedPlayer.swf"></param><param name="FlashVars" value="path=http%3A//www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/flashXML%3Fxml%3D0000C0A8011500003A9AE6370000012944FDCDAD2298C210&amp;embedversion=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.livescribe.com/media/swf/embedPlayer.swf?path=http%3A//www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/flashXML%3Fxml%3D0000C0A8011500003A9AE6370000012944FDCDAD2298C210&amp;embedversion=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="228" height="316"></embed></object></div>
<p></p>
<li>ตอนที่ 3: 2D Rule-based Dynamical System ขนาด 2.3 MB
<div class="pencast"><a href="http://www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/MLSOverviewPage?sid=hv5Tc9XkHRX9" target="_blank">7.01 VS: 2D Rule-based Dynamical System</a><br /><small>brought to you by <a href="http://www.livescribe.com/" target="_blank">Livescribe</a></small><br /><object width="228" height="316"><param name="movie" value="http://www.livescribe.com/media/swf/embedPlayer.swf"></param><param name="FlashVars" value="path=http%3A//www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/flashXML%3Fxml%3D0000C0A8011700003A9AA63500000129451DD5028D5EC01D&amp;embedversion=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.livescribe.com/media/swf/embedPlayer.swf?path=http%3A//www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/flashXML%3Fxml%3D0000C0A8011700003A9AA63500000129451DD5028D5EC01D&amp;embedversion=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="228" height="316"></embed></object></div>
<p></p>
<li>ตอนที่ 4: การบ้าน (นิดๆ หน่อยๆ) ขนาด 639 KB
<div class="pencast"><a href="http://www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/MLSOverviewPage?sid=gm5KJ1f06ZfM" target="_blank">7.01 VS: Homework</a><br /><small>brought to you by <a href="http://www.livescribe.com/" target="_blank">Livescribe</a></small><br /><object width="228" height="316"><param name="movie" value="http://www.livescribe.com/media/swf/embedPlayer.swf"></param><param name="FlashVars" value="path=http%3A//www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/flashXML%3Fxml%3D0000C0A8011500003A99FA370000012944FDB62DEF114C92&amp;embedversion=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.livescribe.com/media/swf/embedPlayer.swf?path=http%3A//www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/flashXML%3Fxml%3D0000C0A8011500003A99FA370000012944FDB62DEF114C92&amp;embedversion=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="228" height="316"></embed></object></div>
<p>
</ol>
<p>ไฟล์เอกสาร (PDF) : <a href="http://www.rawitat.com/wp-content/uploads/2010/07/VS_4_1.pdf" title="VS_4_1.pdf">VS_4_1.pdf</a>, <a href="http://www.rawitat.com/wp-content/uploads/2010/07/VS_4_2.pdf" title="VS_4_2.pdf">VS_4_2.pdf</a></p>
<p>หลังจากนั้น เนื่องจากน้องๆ หลายคนยังไม่เข้าใจการบ้านเท่าไหร่ ว่าจะต้องส่งอย่างไร ทำอะไร ต้องใส่อะไรบ้าง ฯลฯ (ถึงแม้ว่าผมจะให้ keyword &#8220;Cellular Automata&#8221; ในการ search google, wikipedia ซึ่งผมบอกว่า จะเอารูปจากเค้ามาเลยก็ได้ ไม่ผิด ก็ตาม) ซึ่งก็พอจะเข้าใจนักศึกษานะครับ ก็เลยต้องเปิด &#8220;เฉลย&#8221; การบ้านให้ดูก่อน ว่าให้น้องๆ ทำตามนี้แหละ เขียนส่งมาแค่นี้แหละ ซึ่งตรงนี้ไม่ได้บันทึกไว้ เพราะว่าเป็นการเปิดจากไฟล์ presentation ในเครื่อง (ผมไม่สามารถเขียนภาพผลการรัน Cellular Automata กฏ 110 ด้วยมือได้ครับ เกินความสามารถ) ก็เลยเอาภาพและ animation บางส่วน ที่สร้างจากการประยุกต์ใช้ Cellular Automata ดังๆ อย่าง Conway&#8217;s Game of Life ให้น้องๆ ดูไปด้วย</p>
<p>ก็ต้องขออภัยนะครับ ที่ในส่วนนั้นไม่ได้มีการบันทึกเอาไว้</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rawitat.com/2010/07/02/453/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pencast วิชา Visual Simulation ครั้งที่ 3</title>
		<link>http://www.rawitat.com/2010/06/25/450/</link>
		<comments>http://www.rawitat.com/2010/06/25/450/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 09:01:57 +0000</pubDate>
		<dc:creator>rawitat</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[Lecture]]></category>
		<category><![CDATA[Pencast]]></category>
		<category><![CDATA[Science]]></category>

		<guid isPermaLink="false">http://www.rawitat.com/2010/06/25/450/</guid>
		<description><![CDATA[เริ่มใช้ pencast กับวิชาอื่นที่สอน นอกจาก User Interface บ้าง วิชานี้เป็นวิชา Visual Simulation สอนให้กับคณะ ICT ซึ่งเนื้อหาหลักเป็น &#8220;การสร้างแบบจำลอง&#8221; ที่เหมือนจริง ซึ่งผมอยากจะโฟกัสแค่การสร้าง Texture ของลวดลายต่างๆ ทั้งที่เป็นลวดลายธรรมชาติและไม่ธรรมชาติ และการจำลองสถานการณ์ต่างๆ ที่บางทีอาจจะไม่ใช่ Direct simulation แต่แค่ให้ได้ความรู้สึกเหมือนจริง ซึ่งก่อนอื่นจะต้องศึกษาเรื่อง Procedural Texture Generation และ &#8220;ธรรมชาติของ Patterns&#8221; เสียก่อน ทำให้วิชานี้อาจจะมี nature แปลกๆ หน่อยสำหรับสาขา animation เนื่องจากจะมีคณิตศาสตร์ปนๆ อยู่บ้่าง (แต่ไม่ใช่เรื่องแปลก เพราะว่าการสร้าง texture หรือการศึกษา CGI; computer generated imaginary นี่ แทบจะเป็น math กันล้วนๆ ในเบื้องหลัง) ก่อนที่จะไปถึงเรื่อง Fractals ซึ่งเป็น [...]]]></description>
			<content:encoded><![CDATA[<p>เริ่มใช้ pencast กับวิชาอื่นที่สอน นอกจาก User Interface บ้าง วิชานี้เป็นวิชา Visual Simulation สอนให้กับคณะ ICT ซึ่งเนื้อหาหลักเป็น &#8220;การสร้างแบบจำลอง&#8221; ที่เหมือนจริง ซึ่งผมอยากจะโฟกัสแค่การสร้าง Texture ของลวดลายต่างๆ ทั้งที่เป็นลวดลายธรรมชาติและไม่ธรรมชาติ และการจำลองสถานการณ์ต่างๆ ที่บางทีอาจจะไม่ใช่ Direct simulation แต่แค่ให้ได้ความรู้สึกเหมือนจริง ซึ่งก่อนอื่นจะต้องศึกษาเรื่อง Procedural Texture Generation และ &#8220;ธรรมชาติของ Patterns&#8221; เสียก่อน ทำให้วิชานี้อาจจะมี nature แปลกๆ หน่อยสำหรับสาขา animation เนื่องจากจะมีคณิตศาสตร์ปนๆ อยู่บ้่าง (แต่ไม่ใช่เรื่องแปลก เพราะว่าการสร้าง texture หรือการศึกษา CGI; computer generated imaginary นี่ แทบจะเป็น math กันล้วนๆ ในเบื้องหลัง) ก่อนที่จะไปถึงเรื่อง Fractals ซึ่งเป็น &#8220;พระเอก&#8221; ของวิชา ต่อไป</p>
<p>สำหรับ Pencast ครั้งนี้จะ ตะกุกตะกักเล็กน้อย (เนื่องจากตัวเองก็ไม่ได้พูดเรื่องทำนองนี้มานานพอควร แล้วปกติจะพูดเรื่องทำนองนี้แต่กับพวกที่มี background เป็น math) และมีบางส่วนที่ไม่ได้ลงตรงนี้ เนื่องจากเปิดหน้าหนังสือลงใน visualizer และตัว pencast ไม่ได้บันทึกตรงนั้นไว้ให้ และการสนทนาต่างๆ ที่เกิดขึ้นระหว่างพักจะถูกตัดหมด และ 2 ครั้งก่อนหน้านี้ ไม่มีการบันทึกไว้ ดังนั้นหลายท่านที่มาฟัง อาจจะรู้สึกไม่ต่อเนื่อง หรือช่วงการ &#8220;Intro&#8221; มันหายไป ขออภัยด้วยครับ</p>
<p>ป.ล. สำหรับน้องคณะ ICT ที่ใช้งานครั้งแรกนะครับ ช่วย <font color="red">รอหน่อย</font> นะครับ เพราะว่ามันต้องทำการ download ไฟล์เสียงทั้งหมดก่อน ไม่งั้นเสียงไม่มา ก็ขนาดไฟล์ตามที่ผมระบุนะครับ</p>
<ol>
<li>ตอนที่ 1: Procedural Generation Introduction ขนาด 7.5 MB
<div class="pencast"><a href="http://www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/MLSOverviewPage?sid=f1M4JXbpV0C5" target="_blank">6.24 VS: Procedural Textures 1</a><br /><small>brought to you by <a href="http://www.livescribe.com/" target="_blank">Livescribe</a></small><br /><object width="228" height="316"><param name="movie" value="http://www.livescribe.com/media/swf/embedPlayer.swf"></param><param name="FlashVars" value="path=http%3A//www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/flashXML%3Fxml%3D0000C0A8011600003A98DC1E000001294516CFC4B141E79F&amp;embedversion=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.livescribe.com/media/swf/embedPlayer.swf?path=http%3A//www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/flashXML%3Fxml%3D0000C0A8011600003A98DC1E000001294516CFC4B141E79F&amp;embedversion=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="228" height="316"></embed></object></div>
<p></p>
<li>ตอนที่ 2: Patterns &#038; Textures ขนาด 8.9 MB
<div class="pencast"><a href="http://www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/MLSOverviewPage?sid=Nt697vQNwCVn" target="_blank">6.24 VS: Procedural Textures 2</a><br /><small>brought to you by <a href="http://www.livescribe.com/" target="_blank">Livescribe</a></small><br /><object width="228" height="316"><param name="movie" value="http://www.livescribe.com/media/swf/embedPlayer.swf"></param><param name="FlashVars" value="path=http%3A//www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/flashXML%3Fxml%3D0000C0A8011600003A9A0E1E0000012945174D5BB284CC84&amp;embedversion=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.livescribe.com/media/swf/embedPlayer.swf?path=http%3A//www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/flashXML%3Fxml%3D0000C0A8011600003A9A0E1E0000012945174D5BB284CC84&amp;embedversion=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="228" height="316"></embed></object></div>
<p></p>
<li>ตอนที่ 3: 1D Texture generation with simple Dynamical Equation (&#038; Glimpse of Fractals) ขนาด 4.3 MB<br /> 
<div class="pencast"><a href="http://www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/MLSOverviewPage?sid=wXH4HhHJhm6Q" target="_blank">6.24 VS: Procedural Textures 3</a><br /><small>brought to you by <a href="http://www.livescribe.com/" target="_blank">Livescribe</a></small><br /><object width="228" height="316"><param name="movie" value="http://www.livescribe.com/media/swf/embedPlayer.swf"></param><param name="FlashVars" value="path=http%3A//www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/flashXML%3Fxml%3D0000C0A8011600003A98E01E000001294516CFC4B141E79F&amp;embedversion=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.livescribe.com/media/swf/embedPlayer.swf?path=http%3A//www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/flashXML%3Fxml%3D0000C0A8011600003A98E01E000001294516CFC4B141E79F&amp;embedversion=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="228" height="316"></embed></object></div>
<p>
</ol>
<p>ไฟล์เอกสาร (PDF) ครับ: <a href="http://www.rawitat.com/wp-content/uploads/2010/06/VS3_1.pdf" title="VS3_1.pdf">VS3_1.pdf</a>, <a href="http://www.rawitat.com/wp-content/uploads/2010/06/VS3_2.pdf" title="VS3_2.pdf">VS3_2.pdf</a>, <a href="http://www.rawitat.com/wp-content/uploads/2010/06/VS3_3.pdf" title="VS3_3.pdf">VS3_3.pdf</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rawitat.com/2010/06/25/450/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pencast: Digital Camera Image Sensor 101</title>
		<link>http://www.rawitat.com/2010/06/16/423/</link>
		<comments>http://www.rawitat.com/2010/06/16/423/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 07:14:24 +0000</pubDate>
		<dc:creator>rawitat</dc:creator>
				<category><![CDATA[กล้อง/เลนส์]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Pencast]]></category>
		<category><![CDATA[Science]]></category>

		<guid isPermaLink="false">http://www.rawitat.com/2010/06/16/423/</guid>
		<description><![CDATA[ตั้งแต่งาน WWDC มีเสียงเรียกร้องให้ผมอธิบายเรื่อง Backside Illuminated Sensor หลายเสียง และเนื่องจากตัวเองก็เคยเขียนเรื่องพวกนี้อยู่แล้ว เลยจัดเต็มเลยดีกว่า ไม่เฉพาะกับ Backside Illuminated ล่ะ ก็พบกับ Pencast ความยาวประมาณ 9 นาทีครึ่งตอนนี้ได้ครับ ป.ล. ขนาดไฟล์เสียงตอนนี้คือ 1.9 MB นะครับ น่าจะโหลดได้เร็วกว่าของตอนที่ผมบันทึกจากการสอนในห้องเรียนเยอะ แต่ก็เหมือนเดิมนะครับ รอโหลดนิดนึง 6.16 Digital Camera Image Sensor 101brought to you by Livescribe ส่วนนี่ก็เช่นเดิมครับ PDF ที่ export มา: 6.16.Digital_Image_Sensor_101.pdf]]></description>
			<content:encoded><![CDATA[<p>ตั้งแต่งาน WWDC มีเสียงเรียกร้องให้ผมอธิบายเรื่อง Backside Illuminated Sensor หลายเสียง และเนื่องจากตัวเองก็เคยเขียนเรื่องพวกนี้อยู่แล้ว เลยจัดเต็มเลยดีกว่า ไม่เฉพาะกับ Backside Illuminated ล่ะ ก็พบกับ Pencast ความยาวประมาณ 9 นาทีครึ่งตอนนี้ได้ครับ</p>
<p>ป.ล. ขนาดไฟล์เสียงตอนนี้คือ 1.9 MB นะครับ น่าจะโหลดได้เร็วกว่าของตอนที่ผมบันทึกจากการสอนในห้องเรียนเยอะ แต่ก็เหมือนเดิมนะครับ รอโหลดนิดนึง</p>
<p>
<div class="pencast"><a href="http://www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/MLSOverviewPage?sid=2nVpjsRh1hz9" target="_blank">6.16 Digital Camera Image Sensor 101</a><br /><small>brought to you by <a href="http://www.livescribe.com/" target="_blank">Livescribe</a></small><br /><object width="228" height="316"><param name="movie" value="http://www.livescribe.com/media/swf/embedPlayer.swf"></param><param name="FlashVars" value="path=http%3A//www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/flashXML%3Fxml%3D0000C0A8011600003A98060F0000012928CB7D9B31FD5B42&amp;embedversion=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.livescribe.com/media/swf/embedPlayer.swf?path=http%3A//www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/flashXML%3Fxml%3D0000C0A8011600003A98060F0000012928CB7D9B31FD5B42&amp;embedversion=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="228" height="316"></embed></object></div>
</p>
<p>ส่วนนี่ก็เช่นเดิมครับ PDF ที่ export มา:<br />
<a href="http://www.rawitat.com/wp-content/uploads/2010/06/6.16.Digital_Image_Sensor_101.pdf" title="6.16.Digital_Image_Sensor_101.pdf">6.16.Digital_Image_Sensor_101.pdf</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rawitat.com/2010/06/16/423/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Computer Everywhere</title>
		<link>http://www.rawitat.com/2008/04/12/144/</link>
		<comments>http://www.rawitat.com/2008/04/12/144/#comments</comments>
		<pubDate>Sat, 12 Apr 2008 13:42:15 +0000</pubDate>
		<dc:creator>rawitat</dc:creator>
				<category><![CDATA[ไปเจอมา]]></category>
		<category><![CDATA[Just-a-Thought]]></category>
		<category><![CDATA[Science]]></category>

		<guid isPermaLink="false">http://www.rawitat.com/2008/04/12/computer-everywhere/</guid>
		<description><![CDATA[อ่านบทความเรื่อง 10 weirdest computers หรือคอมพิวเตอร์ที่แปลกประหลาด (อาจจะ) เหนือจินตนาการ 10 แบบ (อ่านจาก slashdot อีกที) เท่าที่อ่านๆ ดูก็ไม่เห็นมีอะไรแปลกประหลาดตรงไหน ใครที่แม่นๆ computation theory และเข้าใจเรื่อง computational equivalence ก็คงจะมองทุกอย่างเป็นคอมพิวเตอร์ได้ไม่ยากอยู่แล้ว เพียงแต่เราจะหาวิธีเขียน instruction ให้มัน compute อะไรเฉพาะเจาะจงได้ยังไงนี่อีกเรื่องนึง (คนละเรื่องเลย ยากง่ายต่างกันคนละเร่ือง) บางแบบก็เป็นที่รู้จักกันโคตรจะดี เช่น optical computer, quantum computer, DNA computer หรือว่าบางแบบก็อาจจะแปลกหน่อย แต่ว่าไม่ใช่เรื่องใหม่ เช่น billiard ball computer, slime mould computer, water wave computer เป็นต้น เอาเป็นว่า ลองอ่านกันดูเล่นๆ ละกันครับ สนุกไปอีกแบบ]]></description>
			<content:encoded><![CDATA[<p>อ่านบทความเรื่อง <a href="http://technology.newscientist.com/article/dn13656-ten-weirdest-computers.html?DCMP=ILC-hmts&#038;nsref=news1_head">10 weirdest computers</a> หรือคอมพิวเตอร์ที่แปลกประหลาด (อาจจะ) เหนือจินตนาการ 10 แบบ (อ่านจาก <a href="http://science.slashdot.org/science/08/04/11/1819220.shtml">slashdot</a> อีกที)</p>
<p>เท่าที่อ่านๆ ดูก็ไม่เห็นมีอะไรแปลกประหลาดตรงไหน ใครที่แม่นๆ computation theory และเข้าใจเรื่อง computational equivalence ก็คงจะมองทุกอย่างเป็นคอมพิวเตอร์ได้ไม่ยากอยู่แล้ว เพียงแต่เราจะหาวิธีเขียน instruction ให้มัน compute อะไรเฉพาะเจาะจงได้ยังไงนี่อีกเรื่องนึง (คนละเรื่องเลย ยากง่ายต่างกันคนละเร่ือง)</p>
<p>บางแบบก็เป็นที่รู้จักกันโคตรจะดี เช่น optical computer, quantum computer, DNA computer หรือว่าบางแบบก็อาจจะแปลกหน่อย แต่ว่าไม่ใช่เรื่องใหม่ เช่น billiard ball computer, slime mould computer, water wave computer เป็นต้น</p>
<p>เอาเป็นว่า ลองอ่านกันดูเล่นๆ ละกันครับ สนุกไปอีกแบบ</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rawitat.com/2008/04/12/144/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CountryData, CityData ใน Mathematica 6</title>
		<link>http://www.rawitat.com/2008/04/10/141/</link>
		<comments>http://www.rawitat.com/2008/04/10/141/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 11:42:20 +0000</pubDate>
		<dc:creator>rawitat</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Science]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.rawitat.com/2008/04/10/countrydata-citydata-%e0%b9%83%e0%b8%99-mathematica-6/</guid>
		<description><![CDATA[ใช้ Mathematica มาตั้งหลายปี (ห้าปีได้แล้วมั้ง? ถ้าเป็นแฟนก็คงกำลังอยู่ในช่วงคบใกล้เลิกพอดี จากระยะเวลา &#8230;.) เพิ่งจะรู้ว่าเวอร์ชันนี้มันมีของเล่นใหม่เยอะตอนตามอ่าน Wolfram Blog น่ะแหละ ของเล่นอื้อซ่าเลย วันนี้ลองเข้าไปอ่านๆ ดู เจอของดีน่ะ ว่ามันมี CountryData กับ CityData ให้ใช้ด้วยแฮะ พอเรียกใช้แล้วมันจะติดต่อกับ server ของทาง Wolfram แล้ว update ข้อมูลใหม่ให้เราเองตามที่เราต้องการ เจ๋งดีอ่ะ แต่ว่าช้านิดแฮะ อย่างว่า สงสัยไม่ Net เรามันไม่ค่อยจะเร็วเท่าไหร่ ก็ข้อมูลมันเยอะ นี่ลองทำตามตัวอย่างดูหน่อย CountryData["France", "Shape"] แล้วก็รอชาตินึง (ก็พวกเล่นลงข้อมูลทีเดียวทั้งโลกนี่หว่า) ก็ได้ผลเป็นรูปร่างของประเทศฝรั่งเศส นอกจากนั้นก็ยังมี attribute ให้เล่นอีกหลายตัว เช่น Population หรือว่าข้อมูล GDP แต่ละปี เสร็จแล้วเราก็ลองของไทยดูบ้าง&#8230; อืมม สิบปากว่าไม่เท่าตาเห็น ลองดูเองดีกว่า เจ๋งแฮะ ทำให้ชักอยากจะกลับมาลองเล่น Mathematica [...]]]></description>
			<content:encoded><![CDATA[<p>ใช้ Mathematica มาตั้งหลายปี (ห้าปีได้แล้วมั้ง? ถ้าเป็นแฟนก็คงกำลังอยู่ในช่วงคบใกล้เลิกพอดี จากระยะเวลา &#8230;.) เพิ่งจะรู้ว่าเวอร์ชันนี้มันมีของเล่นใหม่เยอะตอนตามอ่าน <a href="http://blog.wolfram.com/">Wolfram Blog</a> น่ะแหละ ของเล่นอื้อซ่าเลย</p>
<p>วันนี้ลองเข้าไปอ่านๆ ดู เจอของดีน่ะ ว่ามันมี <a href="http://reference.wolfram.com/mathematica/ref/CountryData.html">CountryData</a> กับ <a href="http://reference.wolfram.com/mathematica/ref/CityData.html">CityData</a> ให้ใช้ด้วยแฮะ พอเรียกใช้แล้วมันจะติดต่อกับ server ของทาง Wolfram แล้ว update ข้อมูลใหม่ให้เราเองตามที่เราต้องการ</p>
<p>เจ๋งดีอ่ะ</p>
<p>แต่ว่าช้านิดแฮะ อย่างว่า สงสัยไม่ Net เรามันไม่ค่อยจะเร็วเท่าไหร่ ก็ข้อมูลมันเยอะ นี่ลองทำตามตัวอย่างดูหน่อย</p>
<pre>
CountryData["France", "Shape"]
</pre>
<p>แล้วก็รอชาตินึง (ก็พวกเล่นลงข้อมูลทีเดียวทั้งโลกนี่หว่า) ก็ได้ผลเป็นรูปร่างของประเทศฝรั่งเศส นอกจากนั้นก็ยังมี attribute ให้เล่นอีกหลายตัว เช่น Population หรือว่าข้อมูล GDP แต่ละปี</p>
<p>เสร็จแล้วเราก็ลองของไทยดูบ้าง&#8230; อืมม สิบปากว่าไม่เท่าตาเห็น ลองดูเองดีกว่า</p>
<table border="0" align="center">
<tr>
<td><center><img src="http://www.rawitat.com/wp-content/uploads/2008/04/mathematica1.jpg" width="404" height="480" alt="mathematica1.png" /></center></td>
</tr>
</table>
<p>เจ๋งแฮะ ทำให้ชักอยากจะกลับมาลองเล่น Mathematica 6 จริงๆ จังๆ ซะแล้ว (ตอนที่ 5 ออกนะ ไม่ค่อยมีความรู้สึกว่ามันต่างจาก 4 เท่าไหร่ พวก WOW factor แบบนี้ต่ำพอควร หรือว่าผมคิดไปเองก็ไม่รู้)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rawitat.com/2008/04/10/141/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alternate Path of Life</title>
		<link>http://www.rawitat.com/2008/03/04/125/</link>
		<comments>http://www.rawitat.com/2008/03/04/125/#comments</comments>
		<pubDate>Tue, 04 Mar 2008 02:12:37 +0000</pubDate>
		<dc:creator>rawitat</dc:creator>
				<category><![CDATA[Just-a-Thought]]></category>
		<category><![CDATA[Poem]]></category>
		<category><![CDATA[Science]]></category>

		<guid isPermaLink="false">http://www.rawitat.com/2008/03/04/alternate-path-of-life/</guid>
		<description><![CDATA[ลองฝันสิ ถึงทุกอย่าง ที่เคยฝัน ลองฝันสิ ถึงทุกอย่าง ที่เคยหวัง ลองคิดถึง ทุกอย่าง ที่ไม่พัง ถ้าความฝัน ความหวัง คือความจริง&#8230;. Had you ever imagined a world where you had re-made some choice you chose? Had you ever asked yourself &#8220;what if&#8221;? Had you ever think you&#8217;re walking a wrong path? Had you ever thought &#8220;if I didn&#8217;t do what I&#8217;ve done&#8221;? It&#8217;s a [...]]]></description>
			<content:encoded><![CDATA[<p>ลองฝันสิ ถึงทุกอย่าง ที่เคยฝัน<br />
ลองฝันสิ ถึงทุกอย่าง ที่เคยหวัง<br />
ลองคิดถึง ทุกอย่าง ที่ไม่พัง<br />
ถ้าความฝัน ความหวัง คือความจริง&#8230;.</p>
<hr />
Had you ever imagined a world where you had re-made some choice you chose? Had you ever asked yourself &#8220;what if&#8221;? Had you ever think you&#8217;re walking a wrong path? Had you ever thought &#8220;if I didn&#8217;t do what I&#8217;ve done&#8221;?</p>
<p>It&#8217;s a dream.</p>
<p>Or no, it&#8217;s not.</p>
<p>All the things that could happened, had happened.</p>
<p>Somewhere, elsewhere, in the alternate universe. One of the infinite number in the Multiverse. Everything you wish it happens, happens. When you make a choice, you choose which universe you&#8217;ll be in. Another part of you will be walking the different path. All the paths will be walked.</p>
<p>It&#8217;s not a dream. It&#8217;s as real as you and me, and everything we see.</p>
<p>Choices are irreversible. I know I can&#8217;t take anything back. I know I made lots and lots of wrong turns in my life. I know I chose many bad choices. Especially between us.</p>
<p>Nonetheless, all the better choices will be walked, by you and me. It&#8217;s just somewhere, elsewhere.</p>
<p>However, one question remains: will myself in any other alternate universe will be writing the same blog, asking the same question, wishing himself the same thing I do?</p>
<p>So, as I&#8217;m writing this, so might he. All of us, all of me, can rest assure, all the paths we think we should have taken, had really been taken by us.</p>
<p>And now, we might be wishing the same thing: life in the alternate universe.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rawitat.com/2008/03/04/125/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Joke: Schrödinger&#8217;s Cat (+ ข่าวเรื่อง Quantum Computer)</title>
		<link>http://www.rawitat.com/2007/12/15/106/</link>
		<comments>http://www.rawitat.com/2007/12/15/106/#comments</comments>
		<pubDate>Fri, 14 Dec 2007 20:58:03 +0000</pubDate>
		<dc:creator>rawitat</dc:creator>
				<category><![CDATA[Humorous]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Science]]></category>

		<guid isPermaLink="false">http://www.rawitat.com/2007/12/15/joke-schrodingers-cat-%e0%b8%82%e0%b9%88%e0%b8%b2%e0%b8%a7%e0%b9%80%e0%b8%a3%e0%b8%b7%e0%b9%88%e0%b8%ad%e0%b8%87-quantum-computer/</guid>
		<description><![CDATA[ขำมากๆ&#8230;..! พอดีอ่านเรื่อง Light-based Quantum Circuit Does Basic Maths จาก Slashdot เป็นเรื่องเกี่ยวกับความก้าวหน้าของงานวิจัยในการสร้าง quantum computer ของออสเตรเลีย (Queensland) ที่พัฒนา light-based 4-qubit quantum computer (ZDNet) โดยใช้เลเซอร์ในการ entangle photons ผ่าน linear optical circuit (ที่เหลืออ่านตาม link และ /. เอาเองนะครับ) เจอ joke ที่สุดยอดมากๆ (IMO) &#8211; Wanted &#8211; Schrödinger&#8217;s Cat Dead or Alive จาก username Intron และมี reply ต่อมาจาก username geekoid &#8211; Wanted [...]]]></description>
			<content:encoded><![CDATA[<p>ขำมากๆ&#8230;..!</p>
<p>พอดีอ่านเรื่อง <a href="http://science.slashdot.org/article.pl?sid=07/12/14/2023257">Light-based Quantum Circuit Does Basic Maths</a> จาก <a href="http://slashdot.org">Slashdot</a></p>
<p>เป็นเรื่องเกี่ยวกับความก้าวหน้าของงานวิจัยในการสร้าง quantum computer ของออสเตรเลีย (Queensland) ที่พัฒนา <a href="http://www.zdnet.com.au/news/hardware/soa/Light-based-quantum-circuit-does-basic-maths/0,130061702,339284517,00.htm">light-based 4-qubit quantum computer</a> (ZDNet) โดยใช้เลเซอร์ในการ entangle photons ผ่าน linear optical circuit (ที่เหลืออ่านตาม link และ /. เอาเองนะครับ)</p>
<p>เจอ joke ที่สุดยอดมากๆ (IMO)</p>
<blockquote><p>
&#8211; Wanted &#8211;</p>
<p>Schrödinger&#8217;s Cat<br />
<br />Dead <b>or</b> Alive
</p></blockquote>
<p>จาก username Intron และมี reply ต่อมาจาก username geekoid</p>
<blockquote><p>
&#8211; Wanted &#8211;<br />
Schrödinger&#8217;s Cat<br />
Dead <b>and</b> Alive
</p></blockquote>
<p>โอ๊ย&#8230;. ขำมาก! (ถ้าไม่ get ลองหาเรื่องเกี่ยวกับ Schrödinger&#8217;s Cat อ่านดูนะครับ :-) และถ้าอยากอ่านเต็มๆ ผมแนะนำให้เข้าอ่านที่ตัวข่าวและบทความใน /. ดูครับ</p>
<p>จริงๆ ที่ /. มี comment ขำๆ เยอะครับ และมีความรู้ดีๆ เยอะครับ เรียกว่าเป็นอีก web นึงที่ผมต้องอ่านทุกวันมาตั้งแต่เรียน ป. ตรี :-)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rawitat.com/2007/12/15/106/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Smallest Turing Machine Found &amp; Proved!</title>
		<link>http://www.rawitat.com/2007/10/26/93/</link>
		<comments>http://www.rawitat.com/2007/10/26/93/#comments</comments>
		<pubDate>Fri, 26 Oct 2007 08:15:53 +0000</pubDate>
		<dc:creator>rawitat</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Science]]></category>

		<guid isPermaLink="false">http://www.rawitat.com/2007/10/26/wolframs-23-turing-machine-is-universal/</guid>
		<description><![CDATA[Alex Smith นักศึกษาปริญญาตรีจากมหาวิทยาลัย Birmingham ได้พิสูจน์ว่า Turing Machine ที่มี 2 states และ 3 colors (symbols) เป็น Universal Turing Machine (UTM) ซึ่งเป็น UTM ที่เล็กที่สุดที่จะเป็นไปได้ การพิสูจน์นี้ทำให้ Alex ได้เงินรางวัล $25,000 จาก Wolfram Research Prize และเป็นการสิ้นสุดการหา UTM ที่เล็กที่สุดที่จะเป็นไปได้ (มีการค้นหากันมาครึ่งศตวรรษแล้ว) และมันเป็น fact ที่รู้กันว่า ไม่มี Turing Machine ที่มี 2 states, 2 symbols จะเป็น Universal ได้ ซึ่งการพิสูจน์นี้เป็น insight ที่อาจจะส่งผลให้มีการเปลี่ยนแปลงบางอย่างในโลกของ computing เช่นอาจจะนำไปสู่การสร้าง computing machine [...]]]></description>
			<content:encoded><![CDATA[<p>Alex Smith นักศึกษาปริญญาตรีจากมหาวิทยาลัย Birmingham ได้พิสูจน์ว่า Turing Machine ที่มี 2 states และ 3 colors (symbols) เป็น <a href="http://en.wikipedia.org/wiki/Universal_Turing_machine">Universal Turing Machine</a> (UTM) ซึ่งเป็น UTM ที่เล็กที่สุดที่จะเป็นไปได้</p>
<p>การพิสูจน์นี้ทำให้ Alex ได้เงินรางวัล $25,000 จาก <a href="http://www.wolframscience.com/prizes/tm23/">Wolfram Research Prize</a> และเป็นการสิ้นสุดการหา UTM ที่เล็กที่สุดที่จะเป็นไปได้ (มีการค้นหากันมาครึ่งศตวรรษแล้ว) และมันเป็น fact ที่รู้กันว่า ไม่มี Turing Machine ที่มี 2 states, 2 symbols จะเป็น Universal ได้</p>
<p>ซึ่งการพิสูจน์นี้เป็น insight ที่อาจจะส่งผลให้มีการเปลี่ยนแปลงบางอย่างในโลกของ computing เช่นอาจจะนำไปสู่การสร้าง computing machine ที่ระดับโมเลกุล เป็นต้น ซึ่ง comment นี้สามารถอ่านได้จาก <a href="http://www.wolframscience.com/prizes/tm23/solution_news.html">blog ของ Stephen Wolfram</a> เอง</p>
<p>นอกเรื่องนะ&#8230;..</p>
<p>ผมรู้สึกเฉยๆ และค่อนไปทางไม่ค่อยจะชอบ Stephen Wolfram เท่าไหร่ เพราะว่าอะไรหลายๆ อย่าง ตอนแรกก็ admire นะ แต่ว่าพอหนังสือ <a href="http://www.wolframscience.com/">A New Kind of Science</a> (หนังสือ online full version จากเจ้าของเอง) ออกมานี่ค่อนข้างจะ negative เพราะว่า claim ผลงานชาวบ้านเป็นของตัวเองเยอะเหลือเกิน โดยเฉพาะการพิสูจน์ว่า <a href="http://en.wikipedia.org/wiki/Rule_110_cellular_automaton">Cellular Automata กฏ 110</a> ซึ่งเทียบเท่ากับ Turing Machine มี 2 states, 5 symbols ว่าเป็น UTM ที่ Wolfram claim ว่าเป็นของตัวเอง ทั้งที่จริงๆ คนที่พิสูจน์ได้จริงๆ คือ Matthew Cook ซึ่งทำงานเป็นผู้ช่วยวิจัยให้กับ Wolfram</p>
<p>เรื่อง Cook กับ Wolfram และการพิสูจน์กฏ 110 นี่ควรหาอ่านได้ยาวๆ จากหลายๆ ที่บน internet แต่ว่าเพราะ Wolfram ไล่ฟ้องชาวบ้านเค้าทั่วไปหมดที่พูดเรื่องนี้ทำให้อาจจะหาไม่ค่อยจะได้</p>
<p>อ่อ ลืมไป ใครคิดจะอ่าน A New Kind of Science นี่ พยายามลองหา review ของนักวิทยาศาสตร์ที่เป็น critiques มาลองอ่านดูก่อนก็ดีนะครับ เพราะว่ามันมีอะไรหลายๆ อย่างที่ อืมมมมม ไม่ค่อยจะดีเท่าไหร่ แต่ว่าคนที่ไม่รู้ deep technical หรือว่า deep theoretical understanding มาก่อนเลย อาจจะได้รับความรู้อะไรหลายอย่างผิดๆ ไปเยอะพอควร เช่น</p>
<ul>
<li>review ของ <a href="http://www.ams.org/notices/200302/fea-gray.pdf">Lawrence Gray</a> อันนี้เจ๋งมาก
<li>หรือของ <a href="http://www.cscs.umich.edu/~crshalizi/reviews/wolfram/">Cosma Shalizi</a>
<li>หรือว่า <a href="http://books.slashdot.org/article.pl?sid=02/05/21/146210&#038;mode=thread&#038;tid=134">ใน slashdot</a> แต่ว่าเลือกเชื่อ comment/review ใน slashdot เอาเองนะ &#8230;
</ul>
<p>จริงๆ มีเยอะกว่านี้เยอะ แต่ว่าไม่ได้เก็บ link ไว้เลย ตอนนี้ขี้เกียจหา แต่คิดว่าหาไม่ยาก</p>
<p>อีกอย่าง หนังสือเล่มนั้น dismissed prior knowledge แทบจะทั้งหมดเลย ทั้งๆ ที่อะไรหลายๆ อย่างมีคนค้นพบมาก่อนแล้ว และเป็น known facts เสียด้วยซ้ำ โดยเฉพาะเรื่องที่ระบบที่มีกฏพื้นฐานที่เรียบง่าย สามารถมีพฤติกรรมที่ซับซ้อนยากยิ่งต่อความเข้าใจ และเรื่องอื่นๆ ฯลฯ อ่อ ใช่ หนังสือเล่มนั้น (edition ที่ผมมี) ไม่มี reference เลยนะครับ และ Wolfram พูดถึงทุกอย่างใน passive tone มาก</p>
<p>A New Kind of Science (NKS) ก็เป็น interesting read ครับ แต่ว่าอย่าไปเชื่อมันมากนัก เพราะว่าหลายๆ อย่างในนั้นก็ไม่ได้ significant ขนาดที่คนเขียนหนังสือพยายามจะให้มันเป็น</p>
<p>แต่ว่าการที่พิสูจน์ได้ว่า TM ขนาด 2 states, 3 symbols เป็น UTM นี่ significant ครับ โดยไม่เกี่ยวกับ Stephen Wolfram :-P และครั้งนี้ผมเห็นด้วยและยินดีที่ Wolfram ให้ credit ที่ถูกต้องกับคนที่ค้นพบความจริงข้อนี้ครับ</p>
<p>อ่าน <a href="http://www.wolframscience.com/prizes/tm23/TM23Proof.pdf">PDF ของการพิสูจน์</a> ของ Alex Smith ครับ</p>
<p><font color="green">[update 1]:</font> เพิ่ม list ของ review หนังสือ A New Kind of Science</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rawitat.com/2007/10/26/93/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>หนังสือที่อยากได้ (Complex Systems) และ amazon.com</title>
		<link>http://www.rawitat.com/2007/10/03/72/</link>
		<comments>http://www.rawitat.com/2007/10/03/72/#comments</comments>
		<pubDate>Wed, 03 Oct 2007 03:25:10 +0000</pubDate>
		<dc:creator>rawitat</dc:creator>
				<category><![CDATA[Book]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Science]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.rawitat.com/2007/10/03/%e0%b8%ab%e0%b8%99%e0%b8%b1%e0%b8%87%e0%b8%aa%e0%b8%b7%e0%b8%ad%e0%b8%97%e0%b8%b5%e0%b9%88%e0%b8%ad%e0%b8%a2%e0%b8%b2%e0%b8%81%e0%b9%84%e0%b8%94%e0%b9%89-complex-systems-%e0%b9%81%e0%b8%a5%e0%b8%b0/</guid>
		<description><![CDATA[เมื่อวานนี้ Amazon ส่ง e-mail มาโฆษณาหนังสือ &#8230; เห็นเล่มนี้แล้วอยากได้มาก Complex and Adaptive Dynamical Systems: A Primer โดย Claudius Gros มีกำหนดออกวันที่ 1 พย. ปีนี้ น่าจะเป็นของขวัญวันเกิดให้ตัวเองได้ดีเลยนะเนี่ย มี description (เอามาจาก Amazon): We are living in an ever more complex world, an epoch where human actions can accordingly acquire far-reaching potentialities. Complex and adaptive dynamical systems are ubiquitous in the world [...]]]></description>
			<content:encoded><![CDATA[<p>เมื่อวานนี้ Amazon ส่ง e-mail มาโฆษณาหนังสือ &#8230; เห็นเล่มนี้แล้วอยากได้มาก</p>
<table border="0" align="center">
<tr>
<td><center><br />
<a href="http://www.amazon.com/gp/product/3540718737/ref=pe_pe_5050_6664470_pe_snp_737"><img src="http://ec1.images-amazon.com/images/I/51ekrmOHJEL._AA240_.jpg"></a><br />
</center></td>
</tr>
</table>
<p>
<a href="http://www.amazon.com/gp/product/3540718737/ref=pe_pe_5050_6664470_pe_snp_737">Complex and Adaptive Dynamical Systems: A Primer</a> โดย Claudius Gros มีกำหนดออกวันที่ 1 พย. ปีนี้ น่าจะเป็นของขวัญวันเกิดให้ตัวเองได้ดีเลยนะเนี่ย</p>
<p>มี description (เอามาจาก Amazon):</p>
<blockquote><p>
We are living in an ever more complex world, an epoch where human actions can accordingly acquire far-reaching potentialities. Complex and adaptive dynamical systems are ubiquitous in the world surrounding us and require us to adapt to new realities and the way of dealing with them.</p>
<p>This primer has been developed with the aim of conveying a wide range of &#8220;commons-sense&#8221; knowledge in the field of quantitative complex system science at an introductory level, providing an entry point to this both fascinating and vitally important subject.</p>
<p>The approach is modular and phenomenology driven. Examples of emerging phenomena of generic importance treated in this book are: &#8211; The small world phenomenon in social and scale-free networks; &#8211; Phase transitions and self-organized criticality in adaptive systems; &#8211; Life at the edge of chaos and coevolutionary avalanches resulting from the unfolding of all living; &#8211; The concept of living dynamical systems and emotional diffusive control within cognitive system theory.</p>
<p>Technical course prerequisites are a basic knowledge of ordinary and partial differential equations and of statistics. Each chapter comes with exercises and suggestions for further reading &#8211; solutions to the exercises are also provided.
</p></blockquote>
<p>อยากได้ชะมัด .. นี่ถ้ายังอยู่ญี่ปุ่นนี่คงจะสั่งไปแล้วนะเนี่ย..</p>
<p>นี่แหละ power ของการเก็บข้อมูล และการวิเคราะห์พฤติกรรมผู้ใช้ ผมเคยซื้อหนังสือเกี่ยวกับ Chaos Theory, Fractals, Complex Systems theory จาก Amazon ไว้หลายสิบเล่ม (นอกจากหนังสืออื่นๆ นะ ไว้วันหลังจะทำ reading list ให้) ไม่พอนะ ผมอาจจะมีพฤติกรรมการซื้อหนังสือจากสำนักพิมพ์ Springer เยอะด้วย พอเอาข้อมูลนี้มาวิเคราะห์นะ ระบบ computer ที่ Amazon ก็เลยไม่ลังเล (computer มันลังเลเป็นที่ไหน) ในการที่จะส่ง e-mail มาบอกผมว่า มีหนังสือใหม่เล่มนี้นะ สนมั้ย</p>
<ul>
<li>ถ้า Amazon ส่งโฆษณามามั่ว มีหนังสือใหม่อะไรก็ส่งมาหมด ผมก็คงสั่งโปรแกรม e-mail client ของผมให้ filter มันไปเป็น junk แบบถาวร
<li>ถ้าส่งมาแบบ 50 mail มีดีซักอัน ผมก็คงจะ filter มันเข้าไปอยู่ใน mailbox ที่ไม่สำคัญ อยากอ่านก็อ่านอยากลบก็ลบ (แต่ไม่ใช่ junk) แล้วปกติก็จะลบมากกว่าอ่าน
<li>ถ้ามันส่งมาแบบ 10 mail ผมคิดว่าเข้าท่าซัก 1 เนี่ยสิ ค่อยน่าสนหน่อย
</ul>
<p>อีกอย่าง ยิ่งผมซื้อเยอะเท่าไหร่ Amazon ก็ยิ่งวิเคราะห์พฤติกรรมการซื้อของผมได้ดีขึ้นเท่านั้น ยิ่งมีคนซื้อของจาก Amazon เยอะขึ้นเท่าไหร่ Amazon ก็ยิ่งวิเคราะห์พฤติกรรมของทุกคนโดยรวมได้ดีขึ้นเท่านั้น เพราะว่านอกจากจะวิเคราะห์แค่จากตัวผมเองแล้ว ก็ยังวิเคราะห์จากคนที่ซื้อของใกล้เคียงกับที่ผมซื้ออีกด้วย ว่าคนพวกนั้นซื้ออะไร ผมน่าจะสนใจตาม อะไรทำนองนี้</p>
<p>ซึ่งมันก็เป็น hit-and-miss</p>
<p>แต่ว่าทุกครั้งที่ผมซื้อ Amazon ก็ยิ่งมีโอกาสได้เงินจากผมมากขึ้นในอนาคต</p>
<p>การใช้ computer และทฤษฎีต่างๆ อย่างฉลาดในเชิงธุรกิจ บางทีมันเพิ่มโอกาสในการทำธุรกิจ ในการขายของ ในการเชื่อมโยง ในการบริหารจัดการมากขึ้นอย่างมากมาย</p>
<p>แต่น่าเสียดาย (อีกล่ะ พักนี้มีแต่เรื่องน่าเสียดาย) ที่หลายๆ คนในบ้านเราที่ศึกษาทฤษฎี ไม่สามารถนำตรงนี้ไปใช้งานจริงได้เท่าไหร่ และไม่สามารถประยุกต์ใช้ในเชิงธุรกิจได้อย่างมีประสิทธิภาพเท่าที่ควร หรือไม่ได้เอาเสียเลย</p>
<p>ปล. ใครมีประสบการณ์สั่งหนังสือจาก Amazon พักหลังๆ ช่วยบอกหน่อยนะครับ ว่าดีมั้ย (การขนส่งและ delivery นะ) เพราะว่าเคยสั่งครั้งนึงเมื่อนานมาแล้วตอนกลับมาเยี่ยมบ้าน ตอนนั้น delivery ในบ้านเราห่วยสุดๆ&#8230;. เลยเข็ด</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rawitat.com/2007/10/03/72/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>ทำไม arithmetic ในคอมพ์จึงยาก?</title>
		<link>http://www.rawitat.com/2007/10/03/71/</link>
		<comments>http://www.rawitat.com/2007/10/03/71/#comments</comments>
		<pubDate>Tue, 02 Oct 2007 18:07:46 +0000</pubDate>
		<dc:creator>rawitat</dc:creator>
				<category><![CDATA[ไปเจอมา]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Science]]></category>

		<guid isPermaLink="false">http://www.rawitat.com/2007/10/03/%e0%b8%97%e0%b8%b3%e0%b9%84%e0%b8%a1-arithmetic-%e0%b9%83%e0%b8%99%e0%b8%84%e0%b8%ad%e0%b8%a1%e0%b8%9e%e0%b9%8c%e0%b8%88%e0%b8%b6%e0%b8%87%e0%b8%a2%e0%b8%b2%e0%b8%81/</guid>
		<description><![CDATA[วันก่อน peter (ซี้เก่าสมัยเรียนที่ Tsukuba) ส่งเรื่อง bug ใน Excel 2007 มาให้อ่าน (อันที่ peter ส่งมาไม่ใช่อันนี้นะ แต่ว่าก็เรื่องเดียวกัน) ก็ตกใจเล็กน้อยนะ แต่ว่าก็ไม่ได้มากอะไร เพราะว่าจริงๆ ก็รู้อยู่ว่า computer arithmetic มันยาก &#8230;.. อ่าว มันจะยากได้ไงล่ะ ก็วิธีการก็รู้ๆ กันอยู่นี่นา จริงๆ แล้วไม่หรอก เพราะว่าการทำ computer arithmetic มันมีปัจจัยเยอะมาก .. อย่างที่ว่าน่ะแหละ devils are in details &#8230; แทบทุกเรื่องน่ะแหละ เราจะลง details แค่ไหนเท่านั้นเอง พอดีไปเจอนี่มา Wolfram Blog: Arithmetic is Hard &#8212; To Get Right ที่มีคำอธิบายค่อนข้างจะละเอียด แต่ว่าอ่านตามได้ง่ายๆ [...]]]></description>
			<content:encoded><![CDATA[<p>วันก่อน peter (ซี้เก่าสมัยเรียนที่ Tsukuba) ส่งเรื่อง <a href="http://groups.google.com/group/microsoft.public.excel/browse_thread/thread/2bcad1a1a4861879/2f8806d5400dfe22">bug ใน Excel 2007</a> มาให้อ่าน (อันที่ peter ส่งมาไม่ใช่อันนี้นะ แต่ว่าก็เรื่องเดียวกัน)</p>
<table border="0" align="center">
<tr>
<td><center><br />
<img src="http://blog.wolfram.com/marks/excel1.gif"><br />
</center></td>
</tr>
</table>
<p>
ก็ตกใจเล็กน้อยนะ แต่ว่าก็ไม่ได้มากอะไร เพราะว่าจริงๆ ก็รู้อยู่ว่า computer arithmetic มันยาก &#8230;..</p>
<p>อ่าว มันจะยากได้ไงล่ะ ก็วิธีการก็รู้ๆ กันอยู่นี่นา จริงๆ แล้วไม่หรอก เพราะว่าการทำ computer arithmetic มันมีปัจจัยเยอะมาก .. อย่างที่ว่าน่ะแหละ devils are in details &#8230; แทบทุกเรื่องน่ะแหละ เราจะลง details แค่ไหนเท่านั้นเอง</p>
<p>พอดีไปเจอนี่มา</p>
<ul>
<li><a href="http://blog.wolfram.com/2007/09/arithmetic_is_hardto_get_right.html">Wolfram Blog: Arithmetic is Hard &#8212; To Get Right</a>
</ul>
<p>ที่มีคำอธิบายค่อนข้างจะละเอียด แต่ว่าอ่านตามได้ง่ายๆ และที่สำคัญ ถ้าใครคุ้นๆ ชื่อ ก็คงจะร้องอ๋อ ว่านี่มันพวกที่ทำ Mathematica ซึ่งเป็น Mathematical Package ที่ถือกันว่าดีที่สุดตัวหนึ่งนี่นา (มีชื่อมากเรื่องประสิทธิภาพ เรื่อง programmability .. ภาษา Mathematica นี่สุดยอดมากเหมือนกัน และเรื่องความแม่นยำ &#8212; แต่ว่าแพงมาก) ใน blog นั้นเขาเขียนขาย/เชียร์ Mathematica มากไปนิด (ก็แน่นอน) ผมก็เลยเอาใจความตรงที่เป็นสาระของเรื่องนี้มาเขียนให้อ่านกันใหม่เป็นภาษไทยก็แล้วกันนะ ตามนี้เลย</p>
<ul>
<li>มันยากเพราะว่าวิธีการทำ arithmetic ที่อยู่ในตำราคณิตศาสตร์เบื้องต้น (วิธีที่เราชอบคิดกัน) มันไม่มีประสิทธิภาพเพียงพอ เช่นการคูณเลข ถ้าเราต้องการคูณเลขที่มีตัวเลขทั้งหมด <i>n</i> ตัว จะต้องใช้การคูณทั้งหมด <i>n^2</i> ครั้ง แต่ว่าจริงๆ แล้วจาก algorithm ขั้นสูง เราก็รู้วิธีการที่จะทำได้ใน <i>n^1.58</i>, <i>n log n</i> หรือแม้แต่น้อยกว่านั้นสำหรับ <i>n</i> ที่มีค่ามากๆ ดังนั้นถ้า <i>n</i> มันใหญ่พอ มันจะเห็นความแตกต่างได้ชัดเจนมาก เรื่องเวลาที่ใช้ในการคำนวณ (เสี้ยววินาที เทียบกับเป็นนาที อะไรทำนองนั้น) ตัวอย่างของ algorithm ดังกล่าวก็เช่น <a href="http://mathworld.wolfram.com/KaratsubaMultiplication.html">Karatsuba algorithm</a>
<li>Algorithm เหล่านี้ แม้ว่าจะมีประสิทธิภาพสูงกว่า (และมีความแม่นยำสูงกว่า) วิธีการแบบ school-book มาก .. แต่ว่าเนื่องจากความซับซ้อนของมัน ก็ทำให้พวกมันมี bug ง่ายกว่าเช่นกัน
<li>นอกจากนั้นยังมีเรื่องของการเก็บค่าตัวเลขทศนิยมไว้ในหน่วยความจำ ซึ่งปกติจะเก็บเป็นฐาน 2 เพื่อคำนวณ แต่ว่าเมื่อจะนำมาแสดงผล จะต้องเปลี่ยนฐานเลขให้เป็นฐาน 10 ซึ่งโดยปกติจะต้องทำการ round ตัวเลขฐาน 2 พวกนั้นให้เป็นเลขฐาน 10 ที่มีความใกล้เคียงที่สุด จากรูปข้างล่างนี่จะเห็นว่ามีความคลาดเคลื่อนในการแสดงผล<br />
<table border="0" align="center">
<tr>
<td><center><br />
<img src="http://blog.wolfram.com/marks/excel3.gif"><br />
</center></td>
</tr>
</table>
<p></p>
<li>ปัญหาหลักๆ จริงๆ มาจากการทำ base conversion ซึ่งจาก binary เป็น decimal จะใช้การคูณเป็นหลัก และจาก decimal เป็น binary จะกลับกันคือใช้การหารเป็นหลัก ประเด็นมันอยู่ที่ว่า บางที (สำหรับตัวเลขบางตัว) การคูณหรือหารนั้นจะต้องทำที่ precision ที่มากกว่าตัวเลขนั้นๆ เพื่อให้ได้ค่าที่ถูกต้อง
<li>แต่ว่าระบบคำนวณหลายระบบดันผูกติดกับ fixed precision ของ hardware ที่ใช้งาน ดังนั้นในหลายๆ งานจึงไม่สามารถที่จะได้การแปลงเลขฐานที่ถูกต้องสำหรับตัวเลขหลายๆ ตัว
<li>ความผิดพลาดยังเกิดได้จาก &#8220;เลขทด&#8221; (carries) หรือตัวเลขที่เกิดจากกระบวนการทดเลขน่ะแหละครับ ซึ่งระบบซอฟต์แวร์หลายตัวก็จะทำงานพลาดถ้ามีการทดมากๆ ไป ซึ่ง bug แบบนี้มีมาตั้งแต่สมัยไหนสมัยไรแล้ว โปรแกรมหลายตัวในปัจจุบันก็ยังมีปัญหาเรื่องนี้อยู่นะ
<li>ปัญหาหนักอีกที่หนึ่งสำหรับ computer arithmetic ก็คือ ในกรณีทั่วๆ ไป มันค่อนข้างจะ &#8220;ง่าย&#8221; ที่จะทำให้มัน &#8220;เกือบถูกต้อง&#8221; (คือ ถูกกับ input case ทั่วๆ ไป แต่ว่ากับ input บางตัวจริงๆ จะทำให้เกิดปัญหาขึ้นมา)
<li>และปัญหาที่หนักที่สุดก็คือพวก bug กับตัวเลขบางตัวที่มี bit pattern บางประเภทจริงๆ พวกนี้จะหาเจอยากมากในระหว่าง testing หรือว่าเรียกได้ว่า rare bug เลยก็ว่าได้ มันหายากขนาดที่ว่าเราอาจจะทดสอบกับตัวเลขเป็นพันๆ ล้านตัว แต่ว่าไม่เจอพวกมันเลยก็ได้
</ul>
<p>ยังเชื่อใจโปรแกรมหลายตัวของท่านอยู่อีกหรือเปล่าเนี่ย?</p>
<p><u>อ้างอิง</u>: <a href="http://blog.wolfram.com/2007/09/arithmetic_is_hardto_get_right.html">Wolfram Blog: Arithmetic is Hard &#8212; To Get Right</a></p>
<p>ปล. หลังจากคุยกันเสร็จ ผมกับ peter ก็ joke เล่นกันต่อว่า เฮ้ย นี่แหละ เห็นมั้ย OpenOffice.org ไม่ compatible กับ MS-Office อีกอย่างแล้วนะ (ค่าที่คำนวณมันได้ไม่เท่ากัน ใส่ตัวเลขข้างบนเข้าไปแล้ว OO.o มันคำนวณถูก&#8230;) แถม peter เล่าให้ฟังว่า บางคนตลกร้ายกว่านั้น บอกให้เพิ่ม tag MultiplyLikeExcel2007 ลงไปใน spec ของ <a href="http://en.wikipedia.org/wiki/Office_Open_XML">OOXML</a> ด้วยนะ ขำกลิ้งเลย</p>
<p>ปล.2 จริงๆ Slashdot ก็มีลง แต่ว่าพักหลังๆ ผมอ่าน /. น้อยลงมั้ง ก็เลยไม่ค่อยได้สังเกตหรือว่าใส่ใจ อันนี้ link:</p>
<ul>
<li><a href="http://it.slashdot.org/it/07/09/24/2339203.shtml">Slashdot | Excel 2007 Multiplication Bug</a>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.rawitat.com/2007/10/03/71/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

