<?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>We Project</title>
	<atom:link href="http://www.we.in.th/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.we.in.th</link>
	<description>Fabric of the Symphony</description>
	<lastBuildDate>Mon, 22 Feb 2010 05:02:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Tomcat 6.x: Cluster Basic Checkpoints</title>
		<link>http://www.we.in.th/tomcat-6-x-cluster-basics/</link>
		<comments>http://www.we.in.th/tomcat-6-x-cluster-basics/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 03:55:43 +0000</pubDate>
		<dc:creator>sitdh</dc:creator>
				<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.we.in.th/?p=566</guid>
		<description><![CDATA[
			
				
			
		

ทุกๆ Session attribute ต้อง implement &#8220;java.io.Serializable&#8220;
เอา comment (&#8220;&#60;!&#8211; Comment &#8211;&#62;&#8221;) ของแท็ก Cluster ใน server.xml ออก
หากมีการเปลี่ยนหรือต้องการกำหนดค่า Valve สำหรับ Cluster ต้องแต่ใจว่า ReplicationValve ต้องประกาศภายใต้แท็ก Cluster ใน server.xml
ถ้า instance (ของ tomcat หรือ tomcat node หรือ node) ทำงานอยู่ในเครื่องเดียวกัน ก็ต้องให้แน่ใจว่าค่าในแอททริบิวต์ port (ในแท็ก Cluster) ไม่ซ้ำกัน ซึ่ง tomcat เองก็ฉลาดพอที่จะ resolve เองได้ โดยที่หา port ที่อยู่ในช่วงระหว่าง 4000 &#8211; 4100
อย่าลืมใส่ &#60;distributable/&#62; ใน web.xml ของ application
ถ้าใช้ mod_jk ก็ให้ใส่ค่าในแอททริบิวต์ jvmRoute [...]]]></description>
		<wfw:commentRss>http://www.we.in.th/tomcat-6-x-cluster-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ลายน้ำใน Pages</title>
		<link>http://www.we.in.th/pages-watermark/</link>
		<comments>http://www.we.in.th/pages-watermark/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 07:55:50 +0000</pubDate>
		<dc:creator>sitdh</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[pages]]></category>
		<category><![CDATA[Tutorail]]></category>

		<guid isPermaLink="false">http://www.we.in.th/?p=560</guid>
		<description><![CDATA[
			
				
			
		
1. เปิดเอกสารที่ต้องการใส่ลายน้ำ 
2. ใส่ข้อความหรือรูปภาพที่จะน้ำมาทำลายน้ำ
3. คลิ้กที่ต้นแบบในข้อ 2 เลือกเมนู &#8220;Format&#8221; > &#8220;Advanced&#8221; > &#8220;Move Object to Section Master&#8221;
4. จะได้ลายน้ำดังรูป 
5. ถ้าหากต้องการแก้ไขให้ดับเบิ้ลคลิ้กที่ลายน้ำ Pages จะถามว่าจะให้เปลี่ยนลายน้ำนี้ไปสู่โหมดที่คลิ้กเลือกได้หรือไม่ อันนี้แล้วแต่ชอบ จากนั้นจึงแก้ไขได้ตามใจ ผลการเปลี่ยนแปลงก็จะเป็นไปในทุกๆ หน้าใน Section (ในกรณีที่มีหลาย Section ในเอกสารสามารถเลือกได้ว่าส่วนไหนไม่ต้องการใส่ลายน้ำ)
Pages, iWork &#8216;09, Apple
]]></description>
		<wfw:commentRss>http://www.we.in.th/pages-watermark/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>แสดงหัวตารางซ้ำ</title>
		<link>http://www.we.in.th/repeat-table-header/</link>
		<comments>http://www.we.in.th/repeat-table-header/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 12:44:39 +0000</pubDate>
		<dc:creator>sitdh</dc:creator>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[Introduction]]></category>
		<category><![CDATA[OpenOffice.org]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Tutorail]]></category>
		<category><![CDATA[Writer]]></category>

		<guid isPermaLink="false">http://www.we.in.th/?p=536</guid>
		<description><![CDATA[
			
				
			
		
บันทึกความจำกันอีกตอนหนึ่งเพราะช่วงนี้ต้องใช้ OpenOffice.org (OO.o) อย่างหนักเมื่อก่อนไม่ค่อยได้ใช้มากเท่าไหร่นักอย่างมากก็พิมพ์งานนิดหน่อย แต่ช่วงนี้เริ่มต้องใช้รูปแบบที่ซับซ้อนขึ้น ตอนนี้กว่าจะหาเจอก็นานอยู่เหมือนกัน หรืออีกเหตุผลหนึ่งก็เพราะไม่คุ้นกับ OO.o เท่าไหร่นัก 
การสั่งให้แสดงหัวตารางซ้ำอัตโนมัติเป็นฟังก์ชั่นที่สำคัญอีกฟังก์ชั่นหนึ่งเพราะช่วยให้ทำงานกับตารางที่มีข้อมูลที่มีความยาวหลายหน้าได้ง่ายและสะดวกมากยิ่งขึ้น อย่างเช่นในตัวอย่างด้านบน ข้อมูลมีความยาวมากกว่าที่จะใส่ในหน้ากระดาษแผ่นเดียวได้ วิธีการแก้ไขของผมเองคือแยกตารางส่วนที่เกินออกมาแล้วค่อยใส่หัวตารางใหม่ แต่ปัญหาจะเกิดขึ้นเมื่อต้องการเปลี่ยนแปลงหัวตาราง ซึ่งมันจะไม่ใช่ภาระเลยหากมีแค่เพียงตารางเดียวหรือ 2 ตาราง และหากมีการเปลี่ยนแปลงเนื้อหาภายในตารางที่ส่งผลให้ความยาวของตารางก่อนหน้าเปลี่ยนไปก็จะส่งผลกระทบไปสู่ตารางถัดไปอย่างหลีกเลี่ยงไม่ได้ 
ดังนั้นวิธีแก้ไขที่เจอก็คือกำหนดให้แสดงหัวตารางซ้ำ สามารถเข้าไปกำหนดค่าได้ 2 วิธีคือ 1 เมื่อคลิ้กที่ตารางจะมีแถบเครื่องมือ Table ดังเช่นรูปที่ 3 จากนั้นคลิ้กที่ปุ่มที่อยู่ในกรอบสีแดง และวิธีที่ 2 คือจากเมนู Table เลือก Table Properties... ดังรูปที่ 4 
จะได้หน้าต่าง Table Format ดังรูปที่ 5 จากนั้นเลือกที่แถบ Table Flow และคลิ้กเลือกที่ Repeat Heading และเปลี่ยนจำนวนแถวของหัวตารางที่ต้องการให้แสดงซ้ำตามต้องการจากนั้นจะได้ตารางดังรูปที่ 6 ซึ่งหากแก้ไขหัวตารางในรูปที่ 6 นี้ก็จะส่งผลไปยังหัวตารางที่เห็นในรูปที่ 1 ด้วย
ฟังก์ชั่นนี้เป็นฟังก์ชั่นพื้นฐานที่พบได้ในโปรแกรม [...]]]></description>
		<wfw:commentRss>http://www.we.in.th/repeat-table-header/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache Ant in Actions I &#8211; Overview</title>
		<link>http://www.we.in.th/ant-in-actions-1-overview/</link>
		<comments>http://www.we.in.th/ant-in-actions-1-overview/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 16:15:25 +0000</pubDate>
		<dc:creator>sitdh</dc:creator>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[Introduction]]></category>
		<category><![CDATA[Ant]]></category>
		<category><![CDATA[Apache Ant]]></category>
		<category><![CDATA[OpenSource]]></category>

		<guid isPermaLink="false">http://www.we.in.th/?p=521</guid>
		<description><![CDATA[
			
				
			
		
ช่วงนี้ได้มีโอกาสจับงาน Java ที่ต้องมี Source ไฟล์มาเกี่ยวข้องด้วยเยอะ ไอ้การจะมานั่งจัดการไฟล์จำนวนมากด้วยมือก็เห็นจะไม่ใช่เรื่องดีเท่าไหร่ งานนี้ก็เลยต้องอาศัย Build Tools มาช่วยงานสักหน่อย ก็ได้แค่โปรแกรมที่ชื่อว่า Apache Ant หรือที่รู้จักกันดีและเรียกกันสั้นๆ ว่า Ant ตัวนี้สักหน่อย
Ant เป็นเครื่องมือที่ช่วยจัดการงานต่างๆ ที่เราต้องทำเข้าไว้ด้วยกัน ในรูปแบบของชุดคำสั่ง เทียบได้กับ make ใน unix ซึ่งข้อดีของ Ant คือ มันเป็น OS Independent ที่เขียนขึ้นมาด้วย Java ทำให้เขียนโปรแกรมแล้วนำคำสั่งชุดคำสั่งนี้ไปทำงานหรือแก้ไขที่ได้ก็ได้โดยให้ผลลัพธ์ (จาก Ant) เช่นเดียวกัน
Build File
คือชุดคำสั่งของ Ant ที่เราเขียนและกำหนดไว้เพื่อให้ Ant ทำตาม อยู่ในไฟล์ &#8216;build.xml&#8217; (เป็นค่า default) จะเรียกว่า build file มีโครงสร้างตามรูปด้านล่าง ภายใน build file ดังกล่าวจะหมายถึง 1 โปรเจ็คที่เรากำลังสนใจอยู่ [...]]]></description>
		<wfw:commentRss>http://www.we.in.th/ant-in-actions-1-overview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Software Architecture: Test Case Writing</title>
		<link>http://www.we.in.th/software-architecture-test-case-writing/</link>
		<comments>http://www.we.in.th/software-architecture-test-case-writing/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 08:12:44 +0000</pubDate>
		<dc:creator>sitdh</dc:creator>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Slide]]></category>

		<guid isPermaLink="false">http://www.we.in.th/?p=508</guid>
		<description><![CDATA[
			
				
			
		
ความจริงเป็นสไลด์ที่ต้องเอาไปพูดให้พี่ที่ทำงานฟัง คิดว่ามันคงพอจะมีประโยชน์บ้าง เลยเอามาอัพใส่ไว้ใน blog ซะหน่อย แต่ต้องขอบอกก่อนนะครับว่าผมค่อนข้างใหม่กับเรื่องพวกนี้ ถ้าจะเอาจริงเอาจังล่ะก็ให้อ่านตรงสไลด์ 2 สุดท้ายแล้วกัน :D 
Software Architecture: Test Case Writing
View more presentations from Sitdhibong Laokok.

แก้ไข 2009.11.09: ตอนแรกอัพโหลดให้เป็นไฟล์ของ Keynote แต่เนื่องจากมีปัญหาเรื่อง Transition ของ สไลด์นิดหน่อยจึงเปลี่ยนเป็น PDF แทน แต่ถ้าใครต้องการไฟล์ที่เป็น Keynote ก็ยินดีให้ครับ :) (goto.champ [at] gmail [dot] com)
]]></description>
		<wfw:commentRss>http://www.we.in.th/software-architecture-test-case-writing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create Bootable Live USB Drive for Mac OS X</title>
		<link>http://www.we.in.th/create-bootable-live-usb-drive-for-mac-os-x/</link>
		<comments>http://www.we.in.th/create-bootable-live-usb-drive-for-mac-os-x/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 03:44:11 +0000</pubDate>
		<dc:creator>sitdh</dc:creator>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.we.in.th/?p=481</guid>
		<description><![CDATA[
			
				
			
		
1. ดาวน์โหลด image ไฟล์ ที่ต้องการ (สำหรับผมคือubuntu-9.10-netbook-remix-i386.iso)
2. เปิด Terminal ขึ้นมา
3. สั่งแสดงรายการของ device ทั้งหมดที่เชื่อมต่ออยู่กับเครื่อง ด้วยคำสั่ง

	# diskutil list

ผลที่ได้: จะบอกว่าขณะนี้มี device ชื่อว่า Potter ขนาด 2GB เชื่อมต่ออยู่ (ข้อมูลจะเป็นลักษณะเดียวกันแต่จะไม่เหมือนกันทุกอย่างขึ้นอยู่กับว่าเครื่องคอมพิวเตอร์เครื่องนั้นมี device เชื่อมต่ออยู่มากแค่ไหน)

:
/dev/disk2
   #:                       TYPE NAME    [...]]]></description>
		<wfw:commentRss>http://www.we.in.th/create-bootable-live-usb-drive-for-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ลองชิม &#8216;Matcha&#8217;</title>
		<link>http://www.we.in.th/matcha-green-tea/</link>
		<comments>http://www.we.in.th/matcha-green-tea/#comments</comments>
		<pubDate>Sun, 25 Oct 2009 14:40:13 +0000</pubDate>
		<dc:creator>sitdh</dc:creator>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[Update]]></category>

		<guid isPermaLink="false">http://www.we.in.th/?p=463</guid>
		<description><![CDATA[
			
				
			
		
เรื่องของเรื่องก็คือว่าดื่มน้ำชาที่ขายๆ ในบ้านเราก็หลายยี่ห้อมีทั้งชอบและไม่ชอบ แต่อย่างหนึ่งที่เคยบ่นเกี่ยวกับน้ำชาเรื่อยก็คือเรื่อง &#8220;น้ำ&#8221; ที่เอามาชงน้ำชานี่ล่ะ เพราะน้ำก็เป็นส่วนหนึ่งที่มีผลกับรสของชา เท่าที่ลองชิมมีน้อยรายมากๆ ที่ให้ความสำคัญกับ &#8220;น้ำ&#8221; ที่เอามาชง (ลองชิมตอนที่ไม่เย็นดูจะได้รสกร่อยของน้ำ) ส่วนวันนี้ที่อยากเขียนก็คือไปเห็นชาใหม่ของ &#8220;โออิชิ&#8221; ชื่อว่า &#8216;Matcha&#8217; เลยอยากลองชิมดูซะหน่อยว่าจะเป็นเหมือนที่หวังไว้หรือเปล่า :)
แรกเห็น : ขวดไฮโซใช้ได้เลยทีเดียว ดูเหมือนจะคุ้มค่ากับราคา &#8220;30 บาท&#8221; แรกเห็นนึกว่าเป็นขวดแก้วแต่พอลองจับ อ้าวพลาสติกนี่น่าแต่ก็ไม่แปลกครับเป็นการออกแบบ เข้าใจว่าต้องการเน้นความใสของน้ำแร่ในขวด ซึ่งก็ได้ผลนะ ดูสะอาดใช้ได้
ความคาดหวัง : อย่างแรกคือเคยเห็นว่ามันเปลี่ยนสีได้ (ยังไม่เห็นโฆษณาในทีวี) สงสัยอยู่เหมือนกันว่าทำไมตอนแรกก็เห็นใสๆ แต่ทำไมกลายเป็นสีเขียวขุ่นๆ ได้หว่า แต่พอแกะมาดูก็ถึงบางอ้อ ต้องผสมผงชาด้วยนี่หว่า เรื่องที่หวังไว้เลยเปลี่ยนไป เพราะเคยชิมชาเขียวญี่ปุ่นแบบผงมาแล้วก็เลยคิดว่า โอ้ว มันต้องเป็นแบบนั้นแน่ๆ เลย
เริ่มแกะ : ตัวสินค้าไม่มีอะไรมากครับ ประกอบด้วยกัน 2 ส่วนคือ &#8220;น้ำแร่&#8221; และ &#8220;ผงชาเขียว&#8221; วิธีดื่มก็คือเอาผงชาที่อยู่ในป้ายที่ห้อยมากับขวดผสมแล้วก็เขย่า เราก็จะได้น้ำชาที่ขายในราคา &#8220;30 บาท&#8221; เหมือนในรูปด้านล่าง
ลองชิม : ผิดคาดจากที่คิดไว้ [...]]]></description>
		<wfw:commentRss>http://www.we.in.th/matcha-green-tea/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Document Version Control with SVN</title>
		<link>http://www.we.in.th/document-version-control-with-svn/</link>
		<comments>http://www.we.in.th/document-version-control-with-svn/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 10:51:04 +0000</pubDate>
		<dc:creator>sitdh</dc:creator>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Slide]]></category>

		<guid isPermaLink="false">http://www.we.in.th/?p=454</guid>
		<description><![CDATA[
			
				
			
		
วันนี้เอาสไลด์ที่พูดให้พี่ๆ ในที่ทำงานฟังเรื่องการใช้ SVN กับงานเอกสารมาทิ้งไว้แล้วกัน ความจริงทำไว้นานและพูดไปนานมากแล้วเหมือนกัน แต่ด้วยทักษะภาษาอังกฤษของผมเองเลยยังไม่กล้าเอาออกมาให้ใครดูเท่าไหร่ แต่ตอนนี้ก็เฉยๆ ครับ เริ่มด้านแล้ว :P ถ้ามีคำแนะนำเรื่องเนื้อหา หรือภาษาก็ยินดีนะครับ เขียนทิ้งเอาไว้ได้ ส่วนถ้าใครอยากได้เป็น PDF ลิงค์จะอยู่ด้านล่างครับ
Introduce to SVN
View more presentations from Sitdhibong Laokok.

PDF: Introduce to SVN
]]></description>
		<wfw:commentRss>http://www.we.in.th/document-version-control-with-svn/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Subversion in Actions II</title>
		<link>http://www.we.in.th/subversion-in-actions-2/</link>
		<comments>http://www.we.in.th/subversion-in-actions-2/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 05:43:56 +0000</pubDate>
		<dc:creator>sitdh</dc:creator>
				<category><![CDATA[Introduction]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[Tutorail]]></category>

		<guid isPermaLink="false">http://www.we.in.th/?p=419</guid>
		<description><![CDATA[
			
				
			
		
คราวที่แล้วเขียนเกี่ยวกับการใช้ Subversion (svn) เบื่องต้น ได้แก่ การสร้าง Repository, เพิ่มไฟล์เข้าสู่ index ใน working copies (add), และส่งเข้าสู่ Repository (commit) ส่วนตอนนี้ก็จะขอพูดส่วนเกี่ยวกับคำสั่งต่างๆ ที่เอาไว้ติดตามความเคลื่อนไหว และการเปลี่ยนแปลงของ Repository ครับ 
ข้อมูลประจำรุ่น (log)
เป็นข้อมูลประจำสำหรับรุ่นนั่น เช่น Revision ผู้ commit วันเวลา จำนวนบรรทัดที่เปลี่ยนแปลง และบันทึกประจำรุ่น มีรูปแบบตามนี้ครับ

REVISION_NO &#124; USER_NAME &#124; DATE_TIME &#124; LINE_CHANGED

MESSAGE_LOG

ตัวอย่างเช่น

  $ svn log file:///Users/sitdh/Repository/helloSVNServer
  ------------------------------------------------------------------------
  r2 &#124; sitdh &#124; 2009-09-10 00:40:52 +0700 (Thu, 10 Sep [...]]]></description>
		<wfw:commentRss>http://www.we.in.th/subversion-in-actions-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Subversion in Actions I</title>
		<link>http://www.we.in.th/subversion-in-actions-1/</link>
		<comments>http://www.we.in.th/subversion-in-actions-1/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 17:56:11 +0000</pubDate>
		<dc:creator>sitdh</dc:creator>
				<category><![CDATA[Introduction]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[Tutorail]]></category>

		<guid isPermaLink="false">http://www.we.in.th/?p=375</guid>
		<description><![CDATA[
			
				
			
		
การทำเวอร์ชั่นเป็นอีกเรื่องที่ผมพึ่งศึกษาครับ ตอนนี้ทำทั้ง software และงานเอกสาร มีประโยชน์ดีเหมือนกันใช้ไปก็ชักติดใจ ยังแอบคิดเหมือนกันว่าทำไมไม่รู้จักกันก่อนหน้านี้เนี้ยะ T-T หลักๆ ที่ใช้คือ Subversion (SVN) ครับ เพราะว่าเอาไปใช้เรื่องานเอกสารกับพี่ในห้อง (ซึ่งไม่ได้มาทาง software) เพราะเห็นว่า plugin มันง่ายดีบน Windows แต่ถ้าเป็นงานส่วนตัว ก็ใช้ Git ง่ายทีเดียว ความจริงอยากเขียน Git แต่คิดว่า Git บน Windows ยังไม่เกิดแน่ๆ เลยขอเป็น SVN ก่อนแล้วกัน ส่วน Git ค่อยมาเก็บตกเอาทีหลัง ไหนๆ วันนี้ก็ฤกษ์ดีแล้ว (เห็นเขาว่ากัน แต่ส่วนตัวเฉยๆ มาก) เลยขอเอาคำสั่งที่คิดว่าน่าจะใช้กันบ่อยๆ มาลงดีกว่า
ส่วนประกอบของ Subversion
SVN ประกอบด้วย 2 ส่วนก็คือ ทางฝั่งขวาคือฝั่ง Server หรือศัพท์ทางเทคนิคจะเรียกว่า Subversion Server จะเก็บ Repository ที่เราสร้าง [...]]]></description>
		<wfw:commentRss>http://www.we.in.th/subversion-in-actions-1/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
