<?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>~kengz/blog &#187; Computer</title>
	<atom:link href="http://www.kengz.com/tag/computer/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kengz.com</link>
	<description>le blog de kengz</description>
	<lastBuildDate>Sun, 27 Jun 2010 08:49:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>เมื่อถูกท้าทาย</title>
		<link>http://www.kengz.com/2008/09/22/%e0%b9%80%e0%b8%a1%e0%b8%b7%e0%b9%88%e0%b8%ad%e0%b8%96%e0%b8%b9%e0%b8%81%e0%b8%97%e0%b9%89%e0%b8%b2%e0%b8%97%e0%b8%b2%e0%b8%a2/</link>
		<comments>http://www.kengz.com/2008/09/22/%e0%b9%80%e0%b8%a1%e0%b8%b7%e0%b9%88%e0%b8%ad%e0%b8%96%e0%b8%b9%e0%b8%81%e0%b8%97%e0%b9%89%e0%b8%b2%e0%b8%97%e0%b8%b2%e0%b8%a2/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 19:24:19 +0000</pubDate>
		<dc:creator>kengz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[word challenge]]></category>

		<guid isPermaLink="false">http://www.kengz.com/2008/09/23/%e0%b9%80%e0%b8%a1%e0%b8%b7%e0%b9%88%e0%b8%ad%e0%b8%96%e0%b8%b9%e0%b8%81%e0%b8%97%e0%b9%89%e0%b8%b2%e0%b8%97%e0%b8%b2%e0%b8%a2/</guid>
		<description><![CDATA[หลังจากที่ไม่ได้เปิด Facebook มานาน วันนี้ลองเข้าไปดูเล่น ๆ ปรากฎว่ามี Invitation มาให้เล่นเกมส์ word challenge
ไอ้เราก็ลองเล่นไปเล่นมา รู้สึกสนุกดีนะ แต่คิดศัพย์ไม่ค่อยออกเลย ก็เลยเขียน script มาช่วยค้นหาศัพย์ ซึ่งเขียนด้วย perl
ก่อนอื่นก็ไปหา dictionary ก่อนเลยไม่ค่อยมีที่ถูกใจ จนมาพบกับ web นึงซึ่งค่อนข้างดูแปลก (รึเปล่า)
นั่นคือ http://zyzzyva.net/ ตรงข้างล่างมีรวบรวมศัพย์หลาย ๆ แบบ เราก็เลยจับเอามายำกันซะ ให้เหลือศัพย์ที่มีความยาว 3 &#8211; 6 ตัวอักษร
จากนั้นก็เขียน perl เพื่อมา search ศัพย์จากตัวอักษรที่มีอยู่ ซึ่ง algorithm ไม่มีอะไรมาก คืออ่าน file เข้ามาแล้วก็ก็จัดการเรียงตัวอักษรซะใหม่ แล้วจึงค่อยจัดเก็บเข้า mem แบบ hash จะได้ไม่ต้องมาวน loop เพื่อ search หลาย ๆ รอบ จากนั้นก็ส่วนของการรับ ]]></description>
		<wfw:commentRss>http://www.kengz.com/2008/09/22/%e0%b9%80%e0%b8%a1%e0%b8%b7%e0%b9%88%e0%b8%ad%e0%b8%96%e0%b8%b9%e0%b8%81%e0%b8%97%e0%b9%89%e0%b8%b2%e0%b8%97%e0%b8%b2%e0%b8%a2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
