<?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>LongSpine.com</title>
	<atom:link href="http://longspine.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://longspine.com</link>
	<description>Yes, we are lazy.</description>
	<lastBuildDate>Tue, 06 Jul 2010 10:49:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<atom:link rel="next" href="http://longspine.com/feed/?page=2" />

		<item>
		<title>Trac Served by Lighttpd on Debian Lenny</title>
		<link>http://longspine.com/how-to/trac-served-by-lighttpd-on-debian-lenny/</link>
		<comments>http://longspine.com/how-to/trac-served-by-lighttpd-on-debian-lenny/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 10:49:58 +0000</pubDate>
		<dc:creator>poomk</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[trac]]></category>

		<guid isPermaLink="false">http://longspine.com/?p=231</guid>
		<description><![CDATA[Last week I found a very nice Trac+Lighttpd tutorial at landschoff.net. It was comprehensive and practical, however, I found that the configuration part does not fit my demand. Generally, Trac is installed for each project we need to put online. Sadly though, programmers are low-paid, so one domain name may contain more than one projects. [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I found a very nice Trac+Lighttpd tutorial at <a href="http://www.landschoff.net/blog/2009/01/trac-hosted-on-debian-unstable-lighty/">landschoff.net</a>. It was comprehensive and practical, however, I found that the configuration part does not fit my demand.</p>
<p>Generally, Trac is installed for each project we need to put online. Sadly though, programmers are low-paid, so one domain name may contain more than one projects. That&#8217;s why I needed more detailed on Trac configuration.</p>
<p>Despite the facts that Trac has very confusing manual, I found that the<a href="http://trac.edgewall.org/wiki/TracFastCgi"> FastCGI section</a> is pretty clear, step-by-step.</p>
<p>Conclusion: If you&#8217;re looking for a guide about Trac+Lighttpd configuration, I&#8217;d recommend the <a href="http://www.landschoff.net/blog/2009/01/trac-hosted-on-debian-unstable-lighty/">landschoff.net version</a>, and if you need more detailed configuration guide, just follow the <a href="http://trac.edgewall.org/wiki/TracFastCgi">standard manual</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://longspine.com/how-to/trac-served-by-lighttpd-on-debian-lenny/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>เปรียบเทียบยอดผู้เสียชีวิตจากสถานการณ์นองเลือด</title>
		<link>http://longspine.com/rant/deathtoll/</link>
		<comments>http://longspine.com/rant/deathtoll/#comments</comments>
		<pubDate>Sat, 15 May 2010 16:21:55 +0000</pubDate>
		<dc:creator>poomk</dc:creator>
				<category><![CDATA[Rant]]></category>
		<category><![CDATA[politics]]></category>
		<category><![CDATA[Thailand]]></category>

		<guid isPermaLink="false">http://longspine.com/?p=216</guid>
		<description><![CDATA[เปรียบเทียบยอดผู้เสียชีวิตจากสถานการณ์นองเลือด เคยมีผู้พูดว่า เหตุการ &#8220;พฤษภาทมิฬ&#8221; หรือเหตการณ์สมัย พฤษภาคม ปีพ.ศ.2553 นั้นเป็นเหตุการณ์นองเลือดที่เลวร้ายที่สุดของประวัติศาสตร์ไทยสมัยใหม่ ซึ่งส่งผลให้มีผู้เสียชีวิตเป็นจำนวนมาก ทว่าเมื่อเปรียบเทียบกับข่าวสถานการณ์การเมืองไทยในปัจจุบันแล้ว ผู้เขียนมาความสงสัยว่าเหตุการณ์นองเลือดในครั้งก่อนๆ กับเหตุการณ์ในปัจจุบันนั้นเหตุการณ์ไหน&#8221;เลวร้าย&#8221;กว่ากัน ในบทความนี้ได้ใช้ดัชนีวัดคือจำนวนผู้เสียชีวิต จำนวนผู้เสียชีวิตในเหตุการณ์นองเลือดบางเหตุการณ์ที่ผ่านมาพร้อมสาเหตุและข้อมูลโดยย่อมีดังนี้ ตุลาคม พ.ศ. 2519 ยอดรวม 41 ราย [1] ฝ่ายรัฐบาล (ฝ่ายขวา): พรรคประชาธิปัตย์ (เสนีย์ ปราโมช, สมัครสุนทรเวช), กลุ่มลูกเสือชาวบ้าน, กลุ่มนวพล, กลุ่มกระทิงแดง, ฯลฯ ฝ่ายต่อต้านรัฐบาล (ฝ่ายซ้าย): นิสิต/นักศึกษา เหตุการณ์สำคัญ: การประท้วงต่อต้านฝ่ายขวาต่อการกลับมาของจอมผลถนอม กิตติขจร การกล่าวหาฝ่ายซ้ายว่าต้องการล้มพระมหากษัตริย์ การกล่าวหาฝ่ายซ้ายว่าเป็นคอมมิวนิสต์ พฤษภาคม พ.ศ. 2535 (พฤษภาทมิฬ) ยอดรวม 40 ราย [2] ฝ่ายรัฐบาล: &#8220;พรรคมาร&#8221; (พรรคสามัคคีธรรม, พรรคชาติไทย, ฯลฯ) ผู้ประท้วง: &#8220;พรรคเทพ&#8221; (พรรคความหวังใหม่, [...]]]></description>
			<content:encoded><![CDATA[<p><strong>เปรียบเทียบยอดผู้เสียชีวิตจากสถานการณ์นองเลือด</strong></p>
<p>เคยมีผู้พูดว่า เหตุการ &#8220;พฤษภาทมิฬ&#8221; หรือเหตการณ์สมัย พฤษภาคม ปีพ.ศ.2553 นั้นเป็นเหตุการณ์นองเลือดที่เลวร้ายที่สุดของประวัติศาสตร์ไทยสมัยใหม่ ซึ่งส่งผลให้มีผู้เสียชีวิตเป็นจำนวนมาก ทว่าเมื่อเปรียบเทียบกับข่าวสถานการณ์การเมืองไทยในปัจจุบันแล้ว ผู้เขียนมาความสงสัยว่าเหตุการณ์นองเลือดในครั้งก่อนๆ กับเหตุการณ์ในปัจจุบันนั้นเหตุการณ์ไหน&#8221;เลวร้าย&#8221;กว่ากัน ในบทความนี้ได้ใช้ดัชนีวัดคือจำนวนผู้เสียชีวิต</p>
<p style="text-align: center;"><a class="highslide img_2" href="http://longspine.com/wp-content/uploads/2010/05/Soldiers_in_blcak_may.jpg" onclick="return hs.expand(this)"><img class="size-thumbnail wp-image-222 aligncenter" title="Soldiers in Black May" src="http://longspine.com/wp-content/uploads/2010/05/Soldiers_in_blcak_may-150x150.jpg" alt="Soldiers in Black May" width="150" height="150" /></a></p>
<p>จำนวนผู้เสียชีวิตในเหตุการณ์นองเลือดบางเหตุการณ์ที่ผ่านมาพร้อมสาเหตุและข้อมูลโดยย่อมีดังนี้</p>
<ul>
<li>ตุลาคม พ.ศ. 2519
<ul>
<li>ยอดรวม 41 ราย [1]</li>
<li>ฝ่ายรัฐบาล (ฝ่ายขวา): พรรคประชาธิปัตย์ (เสนีย์ ปราโมช, สมัครสุนทรเวช), กลุ่มลูกเสือชาวบ้าน, กลุ่มนวพล, กลุ่มกระทิงแดง, ฯลฯ</li>
<li>ฝ่ายต่อต้านรัฐบาล (ฝ่ายซ้าย): นิสิต/นักศึกษา</li>
<li>เหตุการณ์สำคัญ:
<ul>
<li>การประท้วงต่อต้านฝ่ายขวาต่อการกลับมาของจอมผลถนอม กิตติขจร</li>
<li>การกล่าวหาฝ่ายซ้ายว่าต้องการล้มพระมหากษัตริย์</li>
<li>การกล่าวหาฝ่ายซ้ายว่าเป็นคอมมิวนิสต์</li>
</ul>
</li>
</ul>
</li>
<li>พฤษภาคม พ.ศ. 2535 (พฤษภาทมิฬ)
<ul>
<li>ยอดรวม 40 ราย [2]</li>
<li>ฝ่ายรัฐบาล: &#8220;พรรคมาร&#8221; (พรรคสามัคคีธรรม, พรรคชาติไทย, ฯลฯ)</li>
<li>ผู้ประท้วง: &#8220;พรรคเทพ&#8221; (พรรคความหวังใหม่, พรรคประชาธิปัตย์, พรรคพลังธรรม, ฯลฯ) และกลุ่มผู้ประท้วง</li>
<li>เหตุการณ์สำคัญ:
<ul>
<li>การประท้วงต่อต้านรัฐบาลที่ไม่ได้มาจากการเลือกตั้ง (พล.ต.จำลอง ศรีเมือง, น.พ. เหวง โตจิราการ, นายสมศักดิ์ โกศัยสุข)</li>
<li>แผนไพรีพินาศ</li>
<li>การพระราชทานพระราชดำรัส วันที่ 20 พฤษภาคม</li>
</ul>
</li>
</ul>
</li>
<li>สิงหาคม พ.ศ. 2551 (ม็อบเสื้อเหลือง)
<ul>
<li>ยอดรวม 1-2 ราย (น้องโบว์) [3]</li>
<li>ฝ่ายรัฐบาล :พรรคพลังประชาชน</li>
<li>ฝ่ายผู้ชุมนุม: กลุ่มพันธมิตรประชาชนเพื่อประชาธิปไตย (พธม.)</li>
<li>เหตุการณ์สำคัญ:
<ul>
<li>การวิพากษ์วิจารณ์ว่าเป็นรัฐบาลตัวแทนของ พ.ต.ท.ทักษิณ ชินวัตร</li>
<li>การยกปราสาทเขาพระวิหารขึ้นทะเบียนเป็นมรดกโลก</li>
<li>การที่ผู้ชุมนุมเข้ายึดธรรมเนียบรัฐบาลและสถานที่สำคัญต่างๆ</li>
<li>การสลายการชุมนุมโดยใช้กระสุนยางและแก๊ซน้ำตา</li>
<li>การที่นายกฯพ้นจากตำแหน่งเนื่องจากเป็นพิธีกรรายการอาหาร</li>
</ul>
</li>
</ul>
</li>
<li>เมษายน พ.ศ. 2552 (ม็อบชนม็อบ, ประชุมผู้นำอาเซียน)
<ul>
<li>ยอดรวม 2-6 ราย [4][5]</li>
<li>ฝ่ายรัฐบาลและผู้สนับสนุน: พรรคประชาธิปัตย์, กลุ่มพธม., และกลุ่มเสื้อน้ำเงิน</li>
<li>ฝ่ายผู้ชุมนุม: แนวร่วมประชาธิปไตยต่อต้านเผด็จการแห่งชาติ (นปช.)</li>
<li>เหตุการณ์สำคัญ:
<ul>
<li>การประท้วงต่อต้านรัฐบาลที่ไม่ได้มาจากการเลือกตั้ง</li>
<li>การกระทบกระทั่งระหว่างม็อบเสื้อแดงและม็อบเสื้อน้ำเงิน</li>
<li>การยกเลิกการประชุุมผู้นำอาเซียน</li>
<li>การชุมนุมที่แยกดินแดง</li>
</ul>
</li>
</ul>
</li>
<li>พฤษภาคม พ.ศ. 2553 (ม็อบเสื้อแดง, พฤษภาเลือด)
<ul>
<li>ยอดรวม 88 ราย [6]</li>
<li>ฝ่ายรัฐบาล: พรรคประชาธิปัตย์</li>
<li>ฝ่ายผู้ชุมนุม: กลุ่มนปช.</li>
<li>เหตุการณ์สำคัญ:
<ul>
<li>การประท้วงให้เกิดการเลือกตั้งใหม่</li>
<li>การใช้กระสุนจริงเพื่อปราบปรามผู้ชุมนุม</li>
<li>การที่มีบุคคลที่สามลอบยิงทั้งฝ่ายรัฐบาลและฝ่ายผู้ชุมนุม</li>
<li>ความล้มเหลวของการเจรจาระหว่างนายกรัฐมนตรรีและแกนนำผู้ชุมนุม</li>
<li>การที่สถานที่หลายแห่งในกรุงเทพฯถูกเผาหลังจากสลายการชุมนุม</li>
</ul>
</li>
</ul>
</li>
</ul>
<p><em>หมายเหตุ ยอดผุ้เสียชีวิตแตกต่างกันขึ้นอยู่กับแหล่งข่าว</em></p>
<p>จากตัวเลขดังกล่าว เห็นได้ว่าเหตุการณ์นองเลือดบางเหตุการณ์นั้นเลวร้ายไม่แพ้เหตุการณ์พฤษภาทมิฬเมื่อวัดจากจำนวนผู้เสียชีวิต เหตุการณ์นองเลือดเช่นนี้อาจจะเกิดขึ้นต่อไปอีกเรื่อยๆ นอกเสียจากว่าสังคมไทยจะเรียนรู้การอยู่ร่วมกันโดยสงบ และมีความสามารถในการบริหารความดขัดแย้งไม่ให้เกิดเป็นความคาดแค้นอำมหิต อย่างที่เคยเป็นมาอย่างไม่เปลี่ยนแปลงในสังคมไทย</p>
<p><span style="text-decoration: underline;">เชิงอรรถ</span></p>
<p>[1] <a href="http://th.wikipedia.org/wiki/%E0%B9%80%E0%B8%AB%E0%B8%95%E0%B8%B8%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%93%E0%B9%8C_6_%E0%B8%95%E0%B8%B8%E0%B8%A5%E0%B8%B2">http://th.wikipedia.org/wiki/เหตุการณ์_6_ตุลา</a>, เข้าถึงเมื่อวันที่ 15 พฤษภาคม 2553<br />
[2] <a href="http://www.oknation.net/blog/doctornursethailoyalty/2009/05/17/entry-1">http://www.oknation.net/blog/doctornursethailoyalty/2009/05/17/entry-1</a>, เข้าถึงเมื่อวันที่ 15 พฤษภาคม 2553<br />
[3] <a href="http://www.rssthai.com/reader.php?t=local&amp;r=12540">http://www.rssthai.com/reader.php?t=local&amp;r=12540</a>, เข้าถึงเมื่อวันที่ 15 พฤษภาคม 2553<br />
[4] <a href="http://www.straitstimes.com/Breaking%2BNews/SE%2BAsia/Story/STIStory_364350.html">http://www.straitstimes.com/Breaking%2BNews/SE%2BAsia/Story/STIStory_364350.html</a>, เข้าถึงเมื่อวันที่ 15 พฤษภาคม 2553<br />
[5] <a href="http://enews.mcot.net/view.php?id=9548&amp;t=2">http://enews.mcot.net/view.php?id=9548&amp;t=2</a>, เข้าถึงเมื่อวันที่ 15 พฤษภาคม 2553<br />
[6] <a href="http://www.voicetv.co.th/content/13906/%E0%B9%80%E0%B8%AA%E0%B8%B5%E0%B8%A2%E0%B8%8A%E0%B8%B5%E0%B8%A7%E0%B8%B4%E0%B8%9588%E0%B8%A3%E0%B8%B2%E0%B8%A2%E0%B8%9A%E0%B8%B2%E0%B8%94%E0%B9%80%E0%B8%88%E0%B9%87%E0%B8%9A1885%E0%B8%84%E0%B8%99%E0%B8%88%E0%B8%B2%E0%B8%81%E0%B9%80%E0%B8%AB%E0%B8%95%E0%B8%B8%E0%B8%9B%E0%B8%B0%E0%B8%97%E0%B8%B0">http://www.voicetv.co.th/content/13906/เสียชีวิต88รายบาดเจ็บ1885คนจากเหตุปะทะ</a>, เข้าถึงเมื่อวันที่ 25 พฤษภาคม 2553</p>
]]></content:encoded>
			<wfw:commentRss>http://longspine.com/rant/deathtoll/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No More Markdown Plugin!</title>
		<link>http://longspine.com/uncategorised/no-more-markdown-plugin/</link>
		<comments>http://longspine.com/uncategorised/no-more-markdown-plugin/#comments</comments>
		<pubDate>Mon, 10 May 2010 14:54:36 +0000</pubDate>
		<dc:creator>poomk</dc:creator>
				<category><![CDATA[Uncategorised]]></category>

		<guid isPermaLink="false">http://longspine.com/?p=200</guid>
		<description><![CDATA[I&#8217;ve been using Markdown for WordPress and bbPress since the creation of this website, September 2009. It replaces the default visual and html editors with a simple, syntax-based editor. After half a year of using this plugin, problems occurred. The disadvantage of this plugin is that one is forced to use Markdown. And because of that, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://wordpress.org/extend/plugins/markdown-for-wordpress-and-bbpress/">Markdown for WordPress and bbPress</a> since the creation of this website, September 2009. It replaces the default visual and html editors with a simple, syntax-based editor. After half a year of using this plugin, problems occurred.</p>
<p>The disadvantage of this plugin is that one is forced to use Markdown. And because of that, there are many conflicts with some other plugins especially when html and short-tags involve. And once the Markdown plugin is disabled, all posted articles will turn into markdown code. It seems like this plugin didn&#8217;t even translate Markdown syntax into HTML before publishing, instead HTML is rendered real-time when being viewd.</p>
<p>In the end I had to choose between using Markdown (with restricted freedom), or the original Visual &amp; HTML editor. Despite of the extra efforts, I chose the original editor. So I can be free from the architectural flaw of this plugin.</p>
<p>If you are the one who use this plugin, think twice. It might ruin all your posts someday if the website is modified.</p>
]]></content:encoded>
			<wfw:commentRss>http://longspine.com/uncategorised/no-more-markdown-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Love and Red</title>
		<link>http://longspine.com/rant/141/</link>
		<comments>http://longspine.com/rant/141/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 13:18:20 +0000</pubDate>
		<dc:creator>poomk</dc:creator>
				<category><![CDATA[Rant]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[politics]]></category>
		<category><![CDATA[Thailand]]></category>

		<guid isPermaLink="false">http://longspine.com/?p=141</guid>
		<description><![CDATA[ว่าด้วย &#8220;ชาตินี้ที่รัก เราคงรักกันไม่ได้&#8221; ว่าด้วยบทความของสมหญิง อาชาวานิชสกุล บทความนี้เป็นมุมมองของคนคนหนึ่ง ว่าด้วยความรู้สึกของผู้เขียนต่อมุมมองที่หลายๆฝ่าย เช่นเสื้อเหลือง และ&#8221;เสื้อขาว&#8221; มองเสื้อแดง ผมคิดว่ามันเป็นการเขียนที่ดี เพราะทำให้ผู้อ่านได้ตระหนักว่าการต่อสู้ของเสื้อแดงนั้นไม่ใช่เพราะถูกจ้าง หรือถูกหลอกใช้ ดังข้อเขียนในสองหัวข้อแรก ข้อหลังๆเป็นการสรุปคร่าวๆถึงประเด็นที่เสื้อแดงคิดว่าตัวเองกำลังต่อสู้ขณะในนี้ โดยจบลงที่ข้อที่ห้าที่ท้อใจต่อสังคมรอบตัว ผมไม่เห็นด้วยที่ว่าบทความนี้ยัดเยียดความเกลียดชัง ผมเห็นว่ามันเป็นการสะท้อนว่าความเกลียดชังซึ่งมันเกิดเพราะแต่ละฝ่ายไม่ได้&#8221;ฟัง&#8221;หรือ&#8221;เข้าใจ&#8221;ในสิ่งที่เขาต่อสู้กันเสียที และในมุมมองของผู้เขียนเมื่อไม่ฟังกันมันก็ยากที่จะรักกันได้ หลายหน่วยงานดูว่ามีเจตนาแอบแฝงและยากที่จะไว้ใจกันได้ ผู้เขียนจึงตั้งชื่อหัวข้อออกมาออกแนวประชดสังคมว่า &#8220;ชาตินี้ที่รัก เราคงรักกันไม่ได้&#8221; ซึ่งชื่อนี้ ผมว่ามันกัดได้เจ็บดีพราะคำว่า&#8221;รัก&#8221;คำที่มักใช้โดยไม่สนใจถึงมูลเหตุความขัดแย้งในช่วงหลายปีที่ผ่านมา มีการใช้คำว่า&#8221;รักกัน&#8221;เพื่อเรียกร้องให้ฝ่ายตรงข้ามถอนตัวแทนฝ่ายตัวเอง ผมว่าการเยียวยารักษาสังคมเพื่อให้เรายังรักกันได้ ไม่ใช่ว่าต้องเพิกเฉยต่อแนวคิดต่างๆแล้วบอกให้หยุด ซึ่งมันเป็นไปไม่ได้เพราะความขัดแย้งมันยังไม่หายไปไหน ตรงกันข้ามเราต้องศึกษาลึกถึงความขัดแย้งเพื่อที่จะไม่ให้เกิดการกระทบกระทั่งกันไปมากกว่านี้ และบทความนี้เป็นบทความหนึ่งที่เขียนสรุปมาได้ดีและค่อนข้างเห็นภาพในมุมหนึ่งของสังคม *หมายเหตุ โพสท์นี้มีที่มาจากการตอบคอมเมนท์ในเฟสบุค* ส่วนเสริม 1 (จากการตอบคอมเมนท์) ผมขอตอบเกี่ยวกับบทความเหล่านี้ก่อนนะ เพราะกำลังเป็นประเด็นร้อน บทความที่ผมยกขึ้นมาในเฟสบุค มันมักมีอยู่สามแบบคือบทความวิชาการ บทความทั่วไปและข่าว ซึ่งผมคิดว่ามันมีข้อแตกต่างกันอย่างเห็นได้ชัดอยู่ 1. ข่าว ตัวสำนักข่าวจะพยายามหลีกเลี่ยงความเห็นส่วนตัวค่อนข้างชัด มีการอ้างแหล่งที่มาของข่าว คลิป หรือตัวเลขต่างๆ เช่นอ้างจากกรมประชาสัมพันธ์ หรืออ้างมาจากนสพอื่นอีกทีเช่นล่าสุดที่ข่าวสดลงว่ามีทหารใช้ปืนจ่อหัว เนื้อข่าวของหลายๆสนพก็บอกว่า &#8220;นสพข่าวสดลงข่าวว่า&#8230;&#8221; ข่าวพวกนี้มักไม่มีการสรุป มีแต่ปลายเปิดให้ผู้อ่านหรือผู้ดูคิดเอง 2. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>ว่าด้วย &#8220;ชาตินี้ที่รัก เราคงรักกันไม่ได้&#8221;</strong></p>
<p>ว่าด้วย<a href="http://www.prachatai.net/journal/2010/04/29088">บทความของสมหญิง อาชาวานิชสกุล</a></p>
<p>บทความนี้เป็นมุมมองของคนคนหนึ่ง ว่าด้วยความรู้สึกของผู้เขียนต่อมุมมองที่หลายๆฝ่าย เช่นเสื้อเหลือง และ&#8221;เสื้อขาว&#8221; มองเสื้อแดง</p>
<p>ผมคิดว่ามันเป็นการเขียนที่ดี เพราะทำให้ผู้อ่านได้ตระหนักว่าการต่อสู้ของเสื้อแดงนั้นไม่ใช่เพราะถูกจ้าง หรือถูกหลอกใช้ ดังข้อเขียนในสองหัวข้อแรก ข้อหลังๆเป็นการสรุปคร่าวๆถึงประเด็นที่เสื้อแดงคิดว่าตัวเองกำลังต่อสู้ขณะในนี้ โดยจบลงที่ข้อที่ห้าที่ท้อใจต่อสังคมรอบตัว</p>
<p>ผมไม่เห็นด้วยที่ว่าบทความนี้ยัดเยียดความเกลียดชัง ผมเห็นว่ามันเป็นการสะท้อนว่าความเกลียดชังซึ่งมันเกิดเพราะแต่ละฝ่ายไม่ได้&#8221;ฟัง&#8221;หรือ&#8221;เข้าใจ&#8221;ในสิ่งที่เขาต่อสู้กันเสียที และในมุมมองของผู้เขียนเมื่อไม่ฟังกันมันก็ยากที่จะรักกันได้ หลายหน่วยงานดูว่ามีเจตนาแอบแฝงและยากที่จะไว้ใจกันได้ ผู้เขียนจึงตั้งชื่อหัวข้อออกมาออกแนวประชดสังคมว่า &#8220;ชาตินี้ที่รัก เราคงรักกันไม่ได้&#8221;</p>
<p>ซึ่งชื่อนี้ ผมว่ามันกัดได้เจ็บดีพราะคำว่า&#8221;รัก&#8221;คำที่มักใช้โดยไม่สนใจถึงมูลเหตุความขัดแย้งในช่วงหลายปีที่ผ่านมา มีการใช้คำว่า&#8221;รักกัน&#8221;เพื่อเรียกร้องให้ฝ่ายตรงข้ามถอนตัวแทนฝ่ายตัวเอง</p>
<p>ผมว่าการเยียวยารักษาสังคมเพื่อให้เรายังรักกันได้ ไม่ใช่ว่าต้องเพิกเฉยต่อแนวคิดต่างๆแล้วบอกให้หยุด ซึ่งมันเป็นไปไม่ได้เพราะความขัดแย้งมันยังไม่หายไปไหน ตรงกันข้ามเราต้องศึกษาลึกถึงความขัดแย้งเพื่อที่จะไม่ให้เกิดการกระทบกระทั่งกันไปมากกว่านี้ และบทความนี้เป็นบทความหนึ่งที่เขียนสรุปมาได้ดีและค่อนข้างเห็นภาพในมุมหนึ่งของสังคม</p>
<p>*หมายเหตุ โพสท์นี้มีที่มาจากการตอบคอมเมนท์ในเฟสบุค*</p>
<p><strong>ส่วนเสริม 1 (จากการตอบคอมเมนท์)</strong></p>
<p>ผมขอตอบเกี่ยวกับบทความเหล่านี้ก่อนนะ เพราะกำลังเป็นประเด็นร้อน</p>
<p>บทความที่ผมยกขึ้นมาในเฟสบุค มันมักมีอยู่สามแบบคือบทความวิชาการ บทความทั่วไปและข่าว ซึ่งผมคิดว่ามันมีข้อแตกต่างกันอย่างเห็นได้ชัดอยู่</p>
<p>1. ข่าว ตัวสำนักข่าวจะพยายามหลีกเลี่ยงความเห็นส่วนตัวค่อนข้างชัด มีการอ้างแหล่งที่มาของข่าว คลิป หรือตัวเลขต่างๆ เช่นอ้างจากกรมประชาสัมพันธ์ หรืออ้างมาจากนสพอื่นอีกทีเช่นล่าสุดที่ข่าวสดลงว่ามีทหารใช้ปืนจ่อหัว เนื้อข่าวของหลายๆสนพก็บอกว่า &#8220;นสพข่าวสดลงข่าวว่า&#8230;&#8221; ข่าวพวกนี้มักไม่มีการสรุป มีแต่ปลายเปิดให้ผู้อ่านหรือผู้ดูคิดเอง</p>
<p>2. บทความของนักเขียนซึ่งไม่ใช่บทความวิชาการ มันไม่สามารถอ้างอิงสรุปอะไรได้อยู่แล้ว แต่บทความประเภทนี้เป็นการสะท้อนมุมมองของคนคนหนึ่ง และเป็นการสะท้อนภาพของสังคมในช่วงนั้นได้ ซึ่งผมว่าแค่นี้มันก็ค่อนข้างมีคุณค่าแก่การอ่านแล้ว</p>
<p>3. สุดท้ายคือบทความวิชาการ ซึ่งเป็นบทความที่เราเอาข่าว และประเด็นทางสังคมมาอธิบายโดยหลักการ มีเป้าหมาย มีบทสรุป บทความเช่นนี้เป้นสิ่งสำคัญในการที่จะพาไปสู่ความเข้าใจ ซึ่งถ้าขาดบทความประเภท1และ2 บทความแบบนี้ก็ยากที่จะเกิด</p>
<p>ผมเข้าใจว่าหลายๆคนอาจเข้าใจจุดประสงค์ผิดว่านี่คือ&#8221;ข่าว&#8221; แต่ไม่ใช่เลย มันเป็นบทความทั่วไปจากเสื้อแดงต่างหาก บทความนี้มันมีจุดเด่นในการอธิบายความรู้สึก และมีการเปิดเรื่อง ดำเนินเรื่อง และจบเรื่องที่สวยในโครงสร้าง ผมคิดว่าทุกคนอาจมองเห็นตรงนี้ เพราะเป็นบทความที่ดึงดูดคนจำนวนมากอ่านได้</p>
<p>ถึงตรงนี้ ผมคิดว่ามันสำคัญหากเรารู้จักเลือกอ่านตามความต้องการ เช่นอยากรู้ว่าทักษิณ ถูกหรือผิด ถ้าผิดผิดอย่างไรหรือผิดเพราะอะไร บทความอย่างนี้ต้องอ่านจากบทความประเภท 3. คือวิชาการว่าด้วยเรื่องนี้ ซึ่งก็มีการถกเถียงกันว่าทักษิณถูกหรือไม่ก้ว่ากันไป แต่ถ้าไปอ่านจากบทความประเภท 1. เราก็จะไม่ได้ข้อสรุป หรือจากประเภท 2. เราก็ไม่ได้ความชัดเจน ไม่ว่าจะอ่านของสนพฝ่ายไหน</p>
<p>การฟังข่าวสารทั้งสองขั้วเองสุดท้ายก้ต้องจบอยู่ทที่แยกแยกสารออกจากข่าวประกาศ ไม่เช่นนั้นการสุดท้ายเราก็ได้รับข้อมูลด้านที่ฟังแล้วถูกใจอยู่ดี</p>
<p>บทความครั้งนี้ที่ผมยกมา คือเพื่ออยากให้เห็นแนวคิดของบทความแบบที่ 2. ของคนคนหนึ่ง ซึ่งผมว่ามันชัดเจนในแง่แนวคิด ดีกว่าไปฟังคำด่ากันในกระทู้ที่ไม่ได้เนื้อหาหรือแง่คิดอะไร</p>
<p><strong>ส่วนเสริม 2 (จากการตอบคอมเมนท์)</strong></p>
<p>เรื่องอีกเรื่องหนึ่งคือ การหาทางออกของสถานการณ์นี้ ผมคิดว่าคนส่วนใหญ่นั้นพยายามหาทางออกโดยดีกันทั้งนั้น</p>
<p>ทว่าทางออกที่ดีนั้นจะเริ่มได้อย่างไร?</p>
<p>บางคนอาจบอกว่า เริ่มได้จากให้เสื้อแดงหยุดชุมนุม บางคนอาจบอกให้รัฐบาลยุบส?nbsp;า ซึ่งแต่ละข้อเสนอนั้นเป็นจริงได้ลำบากมาก ถ้าพูดในเชิงวิชาการเราอาจเรียกได้ว่ามันเป็นการตัดสินใจระหว่าง lose-lose และ lose-win ซึ่งมันก็ต้องจบลงที่สมดุลแห่งความรุนแรงแบบนี้</p>
<p>ทางออกทุกทางที่ผมได้ยิน และที่ผมคิดได้ในตอนนี้นั้นจะเกิดกรณีดังกล่าวทั้งหมด ฝ่ายทหารจะมาปฎิวัติก็ไมไ่ด้เสียแล้วเพราะตัวเองก็ตกอยู่ในสถานการณ์เดียวกัน</p>
<p>บางคนอาจคิดว่าเรื่องแบบนี้ไม่ใช่ lose-win หรอื lose-lose แต่เป็นเรื่องของความถูกต้อง เราควรทำตามสิ่งที่ถูกต้องไม่ว่าจะได้เปรียบหรือเสียเปรียบ</p>
<p>แน่นอนผมก็พยายามทำเช่นนั้น แต่ว่าทั้งเสื้อเหลือง เสื้อแดง และสีอื่นๆก็ต่างคิดว่าตัวเองนั้นถูก ต่างฝ่ายก็มีข้ออ้างมีข้อสนับสนุน และผมเชื่อว่าต่างฝ่ายต่างก็มีเหตุมีผล ผมเชื่อว่าทุกคนพยายามเพื่อความถูกต้อง หลายคนอาจไม่เชื่อเช่นเกียวกับผมในข้อนี้</p>
<p>ดังนั้น ไม่ว่ แนวคิดเรื่องความถูกต้องนั้นไม่ให้ทางออกกับปัญหานี้ แนวคิดผมจึงเป็นแนวคิดว่าต้องหาข้อเสนอที่ลงตัวไม่ให้เกิดสมดุลแบบปัจจุบัน</p>
<p>ซึ่งผมก็ยังหาไม่เจอ</p>
<p>ที่แย่กว่านั้นคือผมยังไม่เห็นว่ามีใครหาตรงนี้เจอ เราจึงต้องถกเถียงกันอีกก่อนที่สถานการณ์จะแย่ไปกว่านี้ ผมรู้สึกว่ามันเป็นความรับผิดชอบที่ต้องยกเรื่องต่างๆเหล่านี้ขึ้นมาคุย แทนที่จะเงียบเพื่อความปลอด?nbsp;ัยของตัวเองแล้วปล่อยให้คนตายเปล่าไปอีกเรื่อยๆ</p>
<p>&#8220;คิดต่างได้แต่ไม่แตกแยก&#8221; สมดุลย์นี้ยังไม่มีในเมืองไทยปัจจุบันที่เป็น &#8220;แตกแยกได้ถ้าคิดต่าง&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://longspine.com/rant/141/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>14-3</title>
		<link>http://longspine.com/rant/14-3/</link>
		<comments>http://longspine.com/rant/14-3/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 02:34:36 +0000</pubDate>
		<dc:creator>poomk</dc:creator>
				<category><![CDATA[Rant]]></category>
		<category><![CDATA[politics]]></category>
		<category><![CDATA[Thailand]]></category>

		<guid isPermaLink="false">http://longspine.com/?p=128</guid>
		<description><![CDATA[หลายๆคนพูดถึงความรุนแรงที่อาจเกิดขึ้น บ้างก็ว่าฝ่ายหนึ่งนั้นจะเป็นผู้เริ่ม บ่างก็ว่าอีกฝ่ายจะเป็นผู้ก่อ แต่ว่าฝ่ายเหล่านั้นคืออะไร? หลายๆคนว่าฝ่ายเหล่านั้นคือเสื้อสี บ้างก็ว่าตัวเองนั้นสีแดง บ้างก็ว่าตัวเองนั้นสีเหลือง บ้างก็ใส่สีให้คนอื่นอยู่เรื่อยไป หลายๆคนว่าตัวเองนั้นเป็นกลาง แต่&#8220;ตรงกลาง&#8221;ที่ว่านั้นคือที่ตรงไหน? ถ้าไม่รับการรัฐประหารจะเป็นแดงหรือไม่ ถ้าเขารับคตส.เขาจะเป็นเหล่ืองเสียเพียงใด เรื่องการเมืองที่ซับซ้อนนั้นยังมีตรงกลางอยู่จริงหรือ? หรือว่าการอยู่ตรงกลางนั้นคือการปฎิเสธความคิดทางการเมืองของตัวเอง ความรุนแรงที่อาจเกิดคงไม่มีใครอยากให้มันเกิด แต่เรื่องนี้ซับซ้อนและยากเกินกว่าที่ใครจะควบคุม การเรียกร้องขอให้ต่างฝ่ายต่างไม่ใช้ความรุนแรงนั้นอาจไม่ได้ผล สิ่งที่อาจทำได้คือการเลี่ยงการเผชิญหน้า การหลีกเลี่ยงฯนั้นแม้ทำได้หลายทาง แต่ผู้เริ่มการหลีกเลี่ยงฯนั้นก็อาจตกอยู่ในฝ่ายที่เสียเปรียบ อาจเพลี่ยงพล้ำไปในทางการเมือง ที่น่าสงสัยคือการหลีกเลี่ยงนั้นจะทำให้ยุติปัญหาได้จริงหรือไม่ ความขัดแย้งที่มีมานานนั้นมีต้นเหตุหลายๆเรื่อง และที่ใดมีเหตุที่นั้นก็ต้องมีผลของเหตุเหล่านั้น เพียงแต่ว่าเหตุนั้นคืออะไร? หลายๆคนว่าเหตุนั้นเกิดเช่นนี้ บ้างก็ว่าเหตุเกิดเพราะเช่นนั้น เหตุของเราที่ไม่ลงกันนั้นคงไปไม่ถึงผลลัพท์ที่ลงตัว หลายๆคนว่าเหตุนั้นซับซ้อนยากเกินกว่าที่จะแก้ไข ถ้าคิดเช่นนั้นผลลัพท์ที่อาจเกิด ก็ต้องเป็นสิ่งที่เราต้องยอมรับหรือไม่ หลายๆคนที่กล่าวมา ทั้งหมดล้วนมีความรู้สึก ทั้งหมดล้วนมีความคิด ทั้งหมดล้วนเป็นคนเหมือนกันใช่ไหม? &#8220;เราจะทำอย่างไร&#8221; นี่คือคำถาม หรือเป็นเพียงความเชื่อ เชื่อว่าเราทำอะไรได้ หลายๆคนก็คงยังคิดกันต่อไป]]></description>
			<content:encoded><![CDATA[<p><em>หลายๆค</em>นพูดถึงความรุนแรงที่<strong>อาจ</strong>เกิดขึ้น บ้างก็ว่าฝ่ายหนึ่งนั้นจะเป็นผู้เริ่ม บ่างก็ว่าอีกฝ่ายจะเป็นผู้ก่อ แต่ว่าฝ่ายเหล่านั้นคืออะไร?</p>
<p><em>หลายๆคน</em>ว่าฝ่ายเหล่านั้นคือเสื้อสี บ้างก็ว่าตัวเองนั้นสีแดง บ้างก็ว่าตัวเองนั้นสีเหลือง บ้างก็ใส่สีให้คนอื่นอยู่เรื่อยไป</p>
<p><em>หลายๆคน</em>ว่าตัวเองนั้นเป็นกลาง แต่<strong>&#8220;ตรงกลาง&#8221;</strong>ที่ว่านั้นคือที่ตรงไหน?</p>
<p>ถ้าไม่รับการรัฐประหารจะเป็นแดงหรือไม่ ถ้าเขารับคตส.เขาจะเป็นเหล่ืองเสียเพียงใด เรื่องการเมืองที่ซับซ้อนนั้นยังมีตรงกลางอยู่จริงหรือ? หรือว่าการอยู่ตรงกลางนั้นคือการปฎิเสธความคิดทางการเมืองของตัวเอง</p>
<p>ความรุนแรงที่อาจเกิดคงไม่มีใครอยากให้มันเกิด แต่เรื่องนี้ซับซ้อนและยากเกินกว่าที่ใครจะควบคุม การเรียกร้องขอให้ต่างฝ่ายต่างไม่ใช้ความรุนแรงนั้นอาจไม่ได้ผล สิ่งที่อาจทำได้คือการเลี่ยงการเผชิญหน้า</p>
<p>การหลีกเลี่ยงฯนั้นแม้ทำได้หลายทาง แต่ผู้เริ่มการหลีกเลี่ยงฯนั้นก็อาจตกอยู่ในฝ่ายที่เสียเปรียบ อาจเพลี่ยงพล้ำไปในทางการเมือง ที่น่าสงสัยคือการหลีกเลี่ยงนั้นจะทำให้ยุติปัญหาได้จริงหรือไม่</p>
<p>ความขัดแย้งที่มีมานานนั้นมีต้นเหตุหลายๆเรื่อง และที่ใดมีเหตุที่นั้นก็ต้องมีผลของเหตุเหล่านั้น เพียงแต่ว่าเหตุนั้นคืออะไร?</p>
<p><em>หลายๆคน</em>ว่าเหตุนั้นเกิดเช่นนี้ บ้างก็ว่าเหตุเกิดเพราะเช่นนั้น เหตุของเราที่ไม่ลงกันนั้นคงไปไม่ถึงผลลัพท์ที่ลงตัว</p>
<p><em>หลายๆคน</em>ว่าเหตุนั้นซับซ้อนยากเกินกว่าที่จะแก้ไข ถ้าคิดเช่นนั้นผลลัพท์ที่<strong>อาจ</strong>เกิด ก็ต้องเป็นสิ่งที่เราต้องยอมรับหรือไม่</p>
<p><em>หลายๆค</em>นที่กล่าวมา ทั้งหมดล้วนมีความรู้สึก ทั้งหมดล้วนมีความคิด ทั้งหมดล้วนเป็นคนเหมือนกันใช่ไหม?</p>
<p>&#8220;เราจะทำอย่างไร&#8221; นี่คือคำถาม หรือเป็นเพียงความเชื่อ เชื่อว่าเราทำอะไรได้</p>
<p><em>หลายๆคน</em>ก็คงยังคิดกันต่อไป</p>
]]></content:encoded>
			<wfw:commentRss>http://longspine.com/rant/14-3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Tray Selection Problem in HP LaserJet 4000</title>
		<link>http://longspine.com/uncategorised/tray-selection-problem-in-hp-laserjet/</link>
		<comments>http://longspine.com/uncategorised/tray-selection-problem-in-hp-laserjet/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 11:19:30 +0000</pubDate>
		<dc:creator>poomk</dc:creator>
				<category><![CDATA[Uncategorised]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://longspine.com/?p=114</guid>
		<description><![CDATA[If the printer has extended trays, e.g. tray 3, and if the PostScript (PS) driver is used, the printer will always select the paper from tray 1, even though there&#8217;s no paper in that tray. So far, I have found no &#8220;solution&#8221; to the problem. The best thing we can do is avoiding the automatic [...]]]></description>
			<content:encoded><![CDATA[<p>If the printer has extended trays, e.g. tray 3, and if the PostScript (PS) driver is used, the printer will always select the paper from tray 1, even though there&#8217;s no paper in that tray.</p>
<p>So far, I have found no &#8220;solution&#8221; to the problem. The best thing we can do is avoiding the automatic paper tray selection by setting different paper size and type.</p>
<blockquote><p>HP LaserJet 4000 Family Printers &#8211; Default Paper Tray Selections</p>
<p>ISSUE:<br />
If a job is sent to the printer, which paper tray will the HP LaserJet 4000 family printer pull paper from if a specific paper tray is not selected within the software application or printer properties.</p>
<p>SOLUTION:<br />
If the HP LaserJet 4000 family printer has all of the trays set to the same paper size and paper type, it will select paper from the paper trays in the following order when &gt;Tray 1 = First in the Paper Handling menu on the printers front control panel.</p>
<p>NOTE: If Tray 1 = CASSETTE, it will be the last tray to have paper taken from it.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8211; TABELLE &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Using a PCL driver to print Using a PostScript (R) Emulation driver to print PostScript Emulation (Tray 4 not installed)<br />
Tray 1 (MP Tray) Tray 1 (MP Tray) Tray 1 (MP Tray)<br />
Tray 4 (if installed) Tray 4 (If Installed) Tray 3 (Standard on the 4000T/TN models optional on 4000/N)<br />
Tray 3 (Standard on the 4000T/TN models, optional on 4000/N) Tray 3 (Standard on the 4000T/TN models, optional on 4000/N) Tray 2<br />
Tray 2 Tray 2</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8211; TABELLE &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Configure Tray 1 = FIRST:<br />
1. Press the MENU button.<br />
2. Press the ITEM button until Paper Handling Menu appears in the control panel display and press the Select button.<br />
3. Press the ITEM button until Tray 1 Mode appears in the control panel display and press Select .<br />
4. Press the Value button to until FIRST appears in the control panel display and press Select . If paper is loaded in Tray 1, the printer will pull paper from that tray first.</p></blockquote>
<p>From: <a href="http://debianforum.de/forum/viewtopic.php?f=15&amp;p=739745#p739744">debianforum.de</a></p>
]]></content:encoded>
			<wfw:commentRss>http://longspine.com/uncategorised/tray-selection-problem-in-hp-laserjet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Framemaker and its mouse-scrolling problem</title>
		<link>http://longspine.com/uncategorised/framemaker-and-its-mouse-scrolling-problem/</link>
		<comments>http://longspine.com/uncategorised/framemaker-and-its-mouse-scrolling-problem/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 15:04:33 +0000</pubDate>
		<dc:creator>poomk</dc:creator>
				<category><![CDATA[Uncategorised]]></category>

		<guid isPermaLink="false">http://longspine.com/?p=103</guid>
		<description><![CDATA[Introduction Related to my master thesis, I have to use the old Framemaker 5.5 on Windows XP. It is an interesting publishing program and, in my opinion, it&#8217;s a good compromise between Latex and OpenOffice (or Microsoft Words). It&#8217;s worth to mention that there&#8217;re many WYSIWYG implementations of Latex. A program called LyX is one [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Introduction</strong></p>
<p><strong></strong>Related to my master thesis, I have to use the old Framemaker 5.5 on Windows XP. It is an interesting publishing program and, in my opinion, it&#8217;s a good compromise between Latex and OpenOffice (or Microsoft Words).</p>
<p>It&#8217;s worth to mention that there&#8217;re many WYSIWYG implementations of Latex. A program called <a href="http://www.lyx.org/">LyX </a>is one of the most popular. However, I tried to use it in my CFD report but I felt that it was not right. There must be something wrong with the GUI, because most of the Latex commands I need are hard to find. After that I just switched back to Vim+Latex which was still not the best solution.</p>
<p>On the other hand, Framemaker has a lot better GUI with additional basic drawing tools. There are still some issues that it uses proprietary (close) formats, the cost is relatively high for home users, and mouse-scrolling doesn&#8217;t work properly. Only the latter problem can be solved so far.</p>
<p>The cause of this problem could be that its legacy cross-platform design doesn&#8217;t support mouse wheel at the beginning. It might be the same case as many UNIX/Linux terminals that have their own implementation of middle-click. This problem can be solved by using another application that grabs the mouse-wheel commands and translate it into new commands that are supported by Framemaker.</p>
<p><strong>Solution for Windows Users</strong></p>
<p>Install <a href="http://ehiti.de/katmouse/">KatMouse</a> or the equivalent program such as Logitech MouseWare. I chose KatMouse because it does its very function while not interfering with the default mouse-setting at all.</p>
<p><strong>Solution for Mac Users</strong></p>
<p>I have read about a program called <a href="http://www.usboverdrive.com/USBOverdrive/News.html">USB Overdrive</a> which does the same trick. I haven&#8217;t tried it out though.</p>
<p><strong>Further Readings</strong></p>
<ul>
<li>http://www.tek-tips.com/faqs.cfm?fid=5003#</li>
<li>http://kb2.adobe.com/cps/323/323607.html</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://longspine.com/uncategorised/framemaker-and-its-mouse-scrolling-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Lighttpd and Subversion on Debian Lenny</title>
		<link>http://longspine.com/how-to/install-lighttpd-and-subversion-on-debian-lenny/</link>
		<comments>http://longspine.com/how-to/install-lighttpd-and-subversion-on-debian-lenny/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 16:15:13 +0000</pubDate>
		<dc:creator>poomk</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svnserve]]></category>

		<guid isPermaLink="false">http://longspine.com/?p=50</guid>
		<description><![CDATA[Introduction This article is a step-by-step guide for installing Lighttpd (pronounced lighty) and Subversion on Debian Lenny. My previous setup was Subversion with Apache, however Apache was too heavy for my virtual private server so I had to move to Lighttpd. Most resources from the previous article are used in this article as well. Sadly, [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Introduction</strong></p>
<p>This article is a step-by-step guide for installing Lighttpd (pronounced lighty) and Subversion on Debian Lenny.<br />
My previous setup was Subversion with Apache, however Apache was too heavy for my virtual private server so I had to move to Lighttpd. Most resources from the previous article are used in this article as well.</p>
<p>Sadly, however, there is no mod_svn for Lighttpd, and it will not be implemented in the near future. <a href="http://forum.lighttpd.net/topic/59#6369">This</a> is one of the good reasons why not.</p>
<p>The most common solution is to use mod_proxy and forward the command to Apache with the module dav_svn, but it doesn&#8217;t make sense to run Apache in parallel with Lighttpd if we tried to avoid using Apache since the beginning.</p>
<p>My solution was to use <strong>svnserve</strong>, which is the default server for svn and has a relatively better performance than WebDAV on Apache. The operations of lighttpd and svnserve are totally decoupled, which means we <strong>do not</strong> need to configure Lighttpd for svnserve and vice versa.</p>
<p>If you prefer using Apache than svnserve, as many people did, use this <a href="http://redmine.lighttpd.net/wiki/lighttpd/ApacheSubversionRecipe">very simple guide</a>.</p>
<p>Otherwise, please follow the following steps:</p>
<p><strong>Install and Configure Lighttpd</strong></p>
<p>Install the package from <em>aptitude</em>:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> lighttpd</div></div>
<p>Edit the config file:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>lighttpd<span style="color: #000000; font-weight: bold;">/</span>lighttpd.conf</div></div>
<p>Change the default document root by editing <em>server.document-root</em>:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">server.document-root = <span style="color: #ff0000;">&quot;/var/www/example1.com/&quot;</span></div></div>
<p>Where <em>example1.com</em> is the directory where you default website is located.</p>
<p>If you need to create a virtual host, add the following virtual host at the end of the file (otherwise skip this step):</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #007800;">$HTTP</span><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #ff0000;">&quot;host&quot;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> == <span style="color: #ff0000;">&quot;(^|\.)example2\.com&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span><br />
server.document-root = <span style="color: #ff0000;">&quot;/var/www/example2.com/&quot;</span><br />
<span style="color: #7a0874; font-weight: bold;">&#125;</span></div></div>
<p>Don&#8217;t forget to change <em>example2.com</em> to your own directory.</p>
<p>Noted that Lighttpd has a module called <em>simple-vhost</em>, however, it&#8217;s not the robust choice and I don&#8217;t recommend it.</p>
<p>Now save the file and reload Lightty by:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>lighttpd force-reload</div></div>
<p>Try accessing the website by using your browsers. The default location is at <em>/var/www/example1.com/</em>, but if you enter your website with the name <em>example2.com</em> you&#8217;ll be redirected to your virtual host at <em>/var/www/example2.com/</em> instead (this requires a DNS).</p>
<p><strong>Install and Configure Subversion</strong></p>
<p>Install subversion from <em>aptitude</em>:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> subversion</div></div>
<p>A new subversion user group should be created. This can be done by creating a new user called <em>svn</em> and and the existing users to this group, as follows:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> useradd <span style="color: #c20cb9; font-weight: bold;">svn</span><br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> usermod <span style="color: #660033;">-a</span> <span style="color: #660033;">-G</span> <span style="color: #c20cb9; font-weight: bold;">svn</span> user1</div></div>
<p>Where <em>user1</em> is an existing user that is added to the group <em>svn</em>.</p>
<p>Set a new password for the user <em>svn</em>:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">passwd</span> <span style="color: #c20cb9; font-weight: bold;">svn</span></div></div>
<p>Create a new directory for repositories, and create a new repository for testing:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">svn</span><br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">svnadmin</span> create <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>svn<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">test</span><br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">chown</span> <span style="color: #660033;">-R</span> <span style="color: #c20cb9; font-weight: bold;">svn</span>:<span style="color: #c20cb9; font-weight: bold;">svn</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">svn</span></div></div>
<p>This will create a new directory called <em>/var/svn</em> which contains a new testing repository <em>test</em>.</p>
<p>Don&#8217;t forget to change the permission for all users in the group <em>svn</em> for the test project:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #660033;">-R</span> g+<span style="color: #c20cb9; font-weight: bold;">w</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>svn<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">test</span></div></div>
<p>Test the setting by usinf the <em>file</em> protocol:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">svn</span> <span style="color: #c20cb9; font-weight: bold;">co</span> <span style="color: #c20cb9; font-weight: bold;">file</span>:<span style="color: #000000; font-weight: bold;">///</span>var<span style="color: #000000; font-weight: bold;">/</span>svn<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">test</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">test</span></div></div>
<p>This will check out our test project to <em>/tmp/test</em>. You should get an output like &#8220;Checked out revision 0&#8243;.</p>
<p><strong>Using svnserve</strong></p>
<p>Now, assuming that you need some level of security for your code, which will be transmitted through the Internet or LAN, we have to enable ssh tunneling for svnserve. The good news is that you can use the protocol svn+ssh, by default. This will make a ssh connection to you server, run svnserver, and stop svnserver after the command is executed. This is an example:</p>
<p>(on the client side)</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">svn</span> list <span style="color: #c20cb9; font-weight: bold;">svn</span>+<span style="color: #c20cb9; font-weight: bold;">ssh</span>:<span style="color: #000000; font-weight: bold;">//</span>example.com<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>svn<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">test</span></div></div>
<p>This command will list the subversion project at the location <em>/var/svn/test</em> of the server <em>example.com</em>. If you want to specify the username, just add the username and @ before the hostname as in this example:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">svn</span> list <span style="color: #c20cb9; font-weight: bold;">svn</span>+<span style="color: #c20cb9; font-weight: bold;">ssh</span>:<span style="color: #000000; font-weight: bold;">//</span>user1<span style="color: #000000; font-weight: bold;">@</span>example.com<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>svn<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">test</span></div></div>
<p>Don&#8217;t forget to change <em>user1</em>, <em>example.com</em>, and <em>/var/svn/test</em> to your own setting.</p>
<p>If SSH key authentication was not set, you will be asked for your password <strong>twice</strong>. If you feel annoyed by this strange design, set the  public key authentication up. If you don&#8217;t know how to do it, I found <a href="http://www.petefreitag.com/item/532.cfm">this</a> a nice and simple guide for beginners.</p>
<p><strong>Other port than 22?</strong></p>
<p>If, for a security reason, your ssh server doesn&#8217;t run on port 22, you need to edit <em>/etc/subvesion/config</em> in the client side (assuming you client also uses Debian Lenny):</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>subversion<span style="color: #000000; font-weight: bold;">/</span>config</div></div>
<p>Now in the <em>[tunnel]</em> section add the following line:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ssh2222 = <span style="color: #007800;">$SVN_SSH_2222</span> <span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #660033;">-p</span> <span style="color: #000000;">2222</span> <span style="color: #660033;">-o</span> <span style="color: #007800;">ControlMaster</span>=no</div></div>
<p>This will use ssh tunneling on port 2222 instead of the default port 22. You can change the port to you own setting and also change <em>ssh2222</em> and <em>SVN_SSH_2222</em> to the name you prefer. ControlMaster option must be turned off, according to the default configuration file.</p>
<p>On the client side you can list the repository by using the command:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">svn</span> list <span style="color: #c20cb9; font-weight: bold;">svn</span>+ssh2222:<span style="color: #000000; font-weight: bold;">//</span>user1<span style="color: #000000; font-weight: bold;">@</span>example.com<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>svn<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">test</span></div></div>
<p>Good luck. Your comments are always appreciated.</p>
]]></content:encoded>
			<wfw:commentRss>http://longspine.com/how-to/install-lighttpd-and-subversion-on-debian-lenny/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Pretty Permalinks on Lighttpd</title>
		<link>http://longspine.com/how-to/wordpress-pretty-permalinks-on-lighttpd/</link>
		<comments>http://longspine.com/how-to/wordpress-pretty-permalinks-on-lighttpd/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 00:50:04 +0000</pubDate>
		<dc:creator>poomk</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mod_magnet]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://longspine.com/?p=67</guid>
		<description><![CDATA[At some point in your WordPress-life, you need a pretty permalink (name of the link at the navigation bar). On Apache we can easily use the rewrite module (mod_rewrite) which works pretty well. On the other hand, I found it confusing to make the equivalent rewrite rule on Lighttpd, therefore I use the other module [...]]]></description>
			<content:encoded><![CDATA[<p>At some point in your WordPress-life, you need a pretty permalink (name of the link at the navigation bar). On Apache we can easily use the rewrite module (mod_rewrite) which works pretty well. On the other hand, I found it confusing to make the equivalent rewrite rule on Lighttpd, therefore I use the other module called magnet module (mod_magnet) instead. And these are some simple steps how to use it:</p>
<p><strong>Install Magnet Module</strong></p>
<p>Simply install it from the default repositories.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> lighttpd-mod-magnet</div></div>
<p>Dont forget to enable the module:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> lighty-enable-mod magnet</div></div>
<p><strong>Lighttpd Configuration</strong></p>
<p>Edit the configuration file:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>lighttpd<span style="color: #000000; font-weight: bold;">/</span>lighttpd.conf</div></div>
<p>If you <strong>do not</strong> use vhosts, add the following to the end of the file:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">magnet.attract-physical-path-to = <span style="color: #7a0874; font-weight: bold;">&#40;</span> server.document-root + <span style="color: #ff0000;">&quot;/rewrite.lua&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#41;</span></div></div>
<p>If you <strong>do</strong> use vhosts, add that line to your vhost instead:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #007800;">$HTTP</span><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #ff0000;">&quot;host&quot;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> =~ <span style="color: #ff0000;">&quot;(^|\.)example\.com&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span><br />
server.document-root = <span style="color: #ff0000;">&quot;/var/www/example.com&quot;</span><br />
magnet.attract-physical-path-to = <span style="color: #7a0874; font-weight: bold;">&#40;</span> server.document-root + <span style="color: #ff0000;">&quot;/rewrite.lua&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
<span style="color: #7a0874; font-weight: bold;">&#125;</span></div></div>
<p>Where <em>example.com</em> is the name of your website and <em>/var/www/example.com</em> is the directory where your website is.</p>
<p>Make a [Lua](http://en.wikipedia.org/wiki/Lua_(programming_language)) script, assuming that Lua is supported by default (I didn&#8217;t have to install anything at that time):</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>example.com<span style="color: #000000; font-weight: bold;">/</span>rewrite.lua</div></div>
<p>Again, don&#8217;t forget change <em>/var/www/example.com</em> to your own setting.</p>
<p>Add the following Lua script into the file, thanks to <a href="http://sudhaker.com/web-development/wordpress/wordpress-permalinks-lighttpd.html">Sudhaker</a>.</p>
<div class="codecolorer-container lua default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="lua codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">attr <span style="color: #66cc66;">=</span> lighty.stat<span style="color: #66cc66;">&#40;</span>lighty.env<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;physical.path&quot;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span><br />
<br />
<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">not</span> attr<span style="color: #66cc66;">&#41;</span> <span style="color: #b1b100;">then</span><br />
lighty.env<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;uri.path&quot;</span><span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">&quot;/index.php&quot;</span><br />
lighty.env<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;physical.rel-path&quot;</span><span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">=</span> lighty.env<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;uri.path&quot;</span><span style="color: #66cc66;">&#93;</span><br />
lighty.env<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;physical.path&quot;</span><span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">=</span> lighty.env<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;physical.doc-root&quot;</span><span style="color: #66cc66;">&#93;</span> .. lighty.env<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;physical.rel-path&quot;</span><span style="color: #66cc66;">&#93;</span><br />
<span style="color: #b1b100;">end</span></div></div>
<p>Reload the module:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>lighttpd force-reload</div></div>
<p>Now visit your WordPress&#8217;s permalinks configuration, <em>http://example.com/wp-admin/options-permalink.php</em> and use the default or follow this <a href="http://codex.wordpress.org/Using_Permalinks">guide</a>. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://longspine.com/how-to/wordpress-pretty-permalinks-on-lighttpd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Opera 10 with Qt4 on Debian Lenny</title>
		<link>http://longspine.com/how-to/opera-10-with-qt4-on-debian-lenny/</link>
		<comments>http://longspine.com/how-to/opera-10-with-qt4-on-debian-lenny/#comments</comments>
		<pubDate>Sun, 13 Sep 2009 23:55:03 +0000</pubDate>
		<dc:creator>poomk</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[qt]]></category>

		<guid isPermaLink="false">http://longspine.com/?p=63</guid>
		<description><![CDATA[Opera uses Qt3 interface by default. I didn&#8217;t find it disturbing, just until when I installed Opera 10 on my workstation today. It seems like there&#8217;s some kind of bugs or problems with the configuration file, which makes the interface looks really ugly and runs incredibly slow. My solution was to install the Qt4 version [...]]]></description>
			<content:encoded><![CDATA[<p>Opera uses Qt3 interface by default. I didn&#8217;t find it disturbing, just until when I installed Opera 10 on my workstation today. It seems like there&#8217;s some kind of bugs or problems with the configuration file, which makes the interface looks really ugly and runs incredibly slow.</p>
<p>My solution was to install the Qt4 version of Opera, and here is a simple step-by-step guide:</p>
<p><strong>Download Opera</strong></p>
<p>Look for the newest version of Opera on it&#8217;s <a href="http://ftp.opera.com/pub/opera/linux/">FTP archive</a>. If you have no clues which version you should download, you probably need <a href="http://ftp.opera.com/pub/opera/linux/1000/final/en/i386/opera_10.00.4585.gcc4.qt4_i386.deb">this version</a>.</p>
<p><strong>Install Opera</strong></p>
<p>First you need to remove the previous version of opera, if you have one.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> remove opera</div></div>
<p>Now go to the directory where you downloaded your opera and install it using dpkg.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-i</span> opera_10.00.4585.gcc4.qt4_i386.deb</div></div>
<p>Change <em>opera_10.00.4585.gcc4.qt4_i386.deb</em> to the name of the file you downloaded.</p>
<p>If it asks for the replacement of the configuration, simply say no since you don&#8217;t want to set everything up again. But if it doesn&#8217;t work try to reinstall it and now have the configuration file replaced as well.</p>
<p>That&#8217;s all. This could be the easiest how-to I&#8217;ve ever written in my life though.</p>
]]></content:encoded>
			<wfw:commentRss>http://longspine.com/how-to/opera-10-with-qt4-on-debian-lenny/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
