<?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>MEMOBALL.info</title>
	<atom:link href="http://www.memoball.info/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.memoball.info</link>
	<description>All of my Memories</description>
	<lastBuildDate>Thu, 22 Jul 2010 06:17:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ใช้ gtalk ผ่าน pidgin สำหรับ domain ขององค์กร</title>
		<link>http://www.memoball.info/07/%e0%b9%83%e0%b8%8a%e0%b9%89-gtalk-%e0%b8%9c%e0%b9%88%e0%b8%b2%e0%b8%99-pidgin-%e0%b8%aa%e0%b8%b3%e0%b8%ab%e0%b8%a3%e0%b8%b1%e0%b8%9a-domain-%e0%b8%82%e0%b8%ad%e0%b8%87%e0%b8%ad%e0%b8%87%e0%b8%84/</link>
		<comments>http://www.memoball.info/07/%e0%b9%83%e0%b8%8a%e0%b9%89-gtalk-%e0%b8%9c%e0%b9%88%e0%b8%b2%e0%b8%99-pidgin-%e0%b8%aa%e0%b8%b3%e0%b8%ab%e0%b8%a3%e0%b8%b1%e0%b8%9a-domain-%e0%b8%82%e0%b8%ad%e0%b8%87%e0%b8%ad%e0%b8%87%e0%b8%84/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 06:11:12 +0000</pubDate>
		<dc:creator>spnball</dc:creator>
				<category><![CDATA[Application]]></category>
		<category><![CDATA[gtalk]]></category>
		<category><![CDATA[pidgin]]></category>

		<guid isPermaLink="false">http://www.memoball.info/?p=479</guid>
		<description><![CDATA[สามารถตั้งค่าของ pidgin ได้ดังนั้

เข้าไปที่เมนู Account -&#62; Manage
กดปุ่ม Add..
กรอกรายละเอียดส่วนตัวดังนี้


Username ชื่อบัญชี
Domain : ชื่อโดเมนขององค์กร
Resource : ใสอะไรก็ได้
Password : รหัสผ่าน


กรอกรายละเอียด ในแทป Advance


ทำเครื่องหมายในช่อง Force old SSL
Connect port : 443
Connect server : talk.google.com



]]></description>
			<content:encoded><![CDATA[<p>สามารถตั้งค่าของ pidgin ได้ดังนั้<span id="more-479"></span></p>
<ul>
<li>เข้าไปที่เมนู Account -&gt; Manage</li>
<li>กดปุ่ม Add..</li>
<li>กรอกรายละเอียดส่วนตัวดังนี้<br />
<a href="http://www.memoball.info/wp-content/uploads/2010/07/Screenshot.png"><img class="size-full wp-image-482 aligncenter" src="http://www.memoball.info/wp-content/uploads/2010/07/Screenshot.png" alt="Screenshot" width="322" height="451" /></a></p>
<ul>
<li>Username ชื่อบัญชี</li>
<li>Domain : ชื่อโดเมนขององค์กร</li>
<li>Resource : ใสอะไรก็ได้</li>
<li>Password : รหัสผ่าน</li>
</ul>
</li>
<li>กรอกรายละเอียด ในแทป Advance<br />
<a href="http://www.memoball.info/wp-content/uploads/2010/07/Screenshot-1.png"><img class="size-full wp-image-484 aligncenter" src="http://www.memoball.info/wp-content/uploads/2010/07/Screenshot-1.png" alt="Screenshot-1" width="323" height="452" /></a></p>
<ul>
<li>ทำเครื่องหมายในช่อง Force old SSL</li>
<li>Connect port : 443</li>
<li>Connect server : talk.google.com</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.memoball.info/07/%e0%b9%83%e0%b8%8a%e0%b9%89-gtalk-%e0%b8%9c%e0%b9%88%e0%b8%b2%e0%b8%99-pidgin-%e0%b8%aa%e0%b8%b3%e0%b8%ab%e0%b8%a3%e0%b8%b1%e0%b8%9a-domain-%e0%b8%82%e0%b8%ad%e0%b8%87%e0%b8%ad%e0%b8%87%e0%b8%84/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>http proxy สำหรับ apt-get</title>
		<link>http://www.memoball.info/07/http-proxy-%e0%b8%aa%e0%b8%b3%e0%b8%ab%e0%b8%a3%e0%b8%b1%e0%b8%9a-apt-get/</link>
		<comments>http://www.memoball.info/07/http-proxy-%e0%b8%aa%e0%b8%b3%e0%b8%ab%e0%b8%a3%e0%b8%b1%e0%b8%9a-apt-get/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 03:27:20 +0000</pubDate>
		<dc:creator>spnball</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.memoball.info/?p=474</guid>
		<description><![CDATA[ในกรณีที่เครื่องของเราอยู่หลังเครื่อง proxy เช่น เครื่องใน office ทั่วไป จะไม่สามารถใช้งาน apt-get ได้เนื่องจาก apt-get ต้องไปดึง file ผ่าน http ซึ่งไม่สามารวิ่งทะลุผ่าน gateway ได้โดยตรง
apt-get จึงต้องวิ่งผ่าน proxy โดยสามารถทำได้โดยเติม ใน file .bashrc ใน home directory

# apt-get proxy
export http_proxy=http://[proxy ID or domain]:[port]/
export ftp_proxy=ftp://[proxy ID or domain]:[port]/

อย่าลืม log in ใหม่
แต่ในกรณีจากการทดสอบ จะไม่สามารถใช้ sudo ได้ เพราะมันจะไม่โหลด environment ของ user ของเราไปด้วย ดังนั้นจึงต้องเข้าด้วย sudo -s เพื่อไปเป็น root ก่อน
เมื่อเข้าไปแล้วลอง export environment [...]]]></description>
			<content:encoded><![CDATA[<p>ในกรณีที่เครื่องของเราอยู่หลังเครื่อง proxy เช่น เครื่องใน office ทั่วไป จะไม่สามารถใช้งาน apt-get ได้เนื่องจาก apt-get ต้องไปดึง file ผ่าน http ซึ่งไม่สามารวิ่งทะลุผ่าน gateway ได้โดยตรง<br />
apt-get จึงต้องวิ่งผ่าน proxy โดยสามารถทำได้โดยเติม ใน file <strong>.bashrc </strong>ใน home directory<span id="more-474"></span></p>
<pre>
# apt-get proxy
export http_proxy=http://[proxy ID or domain]:[port]/
export ftp_proxy=ftp://[proxy ID or domain]:[port]/
</pre>
<p>อย่าลืม log in ใหม่<br />
แต่ในกรณีจากการทดสอบ จะไม่สามารถใช้ sudo ได้ เพราะมันจะไม่โหลด environment ของ user ของเราไปด้วย ดังนั้นจึงต้องเข้าด้วย sudo -s เพื่อไปเป็น root ก่อน<br />
เมื่อเข้าไปแล้วลอง export environment ออกมาดู จะเป็น http_proxy เป็นค่าที่เราใส่เข้าไป</p>
<pre>
user# export
</pre>
<p>จะสังเกตว่าปลายทางที่เราไปดึงข้อมูลจะเป็น ip หรือ domain ของ proxy</p>
]]></content:encoded>
			<wfw:commentRss>http://www.memoball.info/07/http-proxy-%e0%b8%aa%e0%b8%b3%e0%b8%ab%e0%b8%a3%e0%b8%b1%e0%b8%9a-apt-get/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Memcache &amp; MySQL PHP Session Handler</title>
		<link>http://www.memoball.info/03/memcache-mysql-php-session-handler/</link>
		<comments>http://www.memoball.info/03/memcache-mysql-php-session-handler/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 04:19:56 +0000</pubDate>
		<dc:creator>spnball</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.memoball.info/?p=457</guid>
		<description><![CDATA[ช่วงนี้กำลังหาโซลูชั้นเพื่อที่จะทำ centralized session ตรงกลาง เพราะเนื่องจากเริ่มมี web application หลายตัว และในบางส่วนจำเป็นต้องมีการใช้ session ร่วมกัน จึงหาการแก้ปัญหาที่ตอบโจทย์ดังกล่าวว่าจะมีการรวม session มาไว้ที่เดียวกันและมีประสิทธิภาพสูงสุดได้อย่างไร ซึ่งในโซลูชั่นสุดท้ายผมคงต้องขอไม่พูดถึง เพี่อเป็นความปลอดภัยของระบบ แต่จะกล่าวแค่เฉพาะแนวคิดเฉยๆ ครับ

การทำ centralized session หรือ เซสชั่นกลางนั้น เราสามารถทำได้ง่ายๆ โดยการหาตัวมารับหน้าที่เป็น data pool หรือที่เก็บรวบรวมข้อมูลตรงกลาง ซึ่งที่ผมจะนำไปใช้คือ MySQL สำหรับ บรรจุข้อมูลตรงกลาง ทุกเครื่องสามารถนำไปใช้งานได้ โดยเป็นข้อมูลเดียวกัน แต่เนื่องจาก MySQL จะทำการ update cache ทุกครั้งที่กำการอัพเดตข้อมูล
http://pureform.wordpress.com/2009/04/08/memcache-mysql-php-session-handler/
This is protected content. Please Login or Register for access.ช่วงนี้กำลังหาโซลูชั้นเพื่อที่จะทำ centralized session ตรงกลาง เพราะเนื่องจากเริ่มมี web application หลายตัว [...]]]></description>
			<content:encoded><![CDATA[<p>ช่วงนี้กำลังหาโซลูชั้นเพื่อที่จะทำ centralized session ตรงกลาง เพราะเนื่องจากเริ่มมี web application หลายตัว และในบางส่วนจำเป็นต้องมีการใช้ session ร่วมกัน จึงหาการแก้ปัญหาที่ตอบโจทย์ดังกล่าวว่าจะมีการรวม session มาไว้ที่เดียวกันและมีประสิทธิภาพสูงสุดได้อย่างไร ซึ่งในโซลูชั่นสุดท้ายผมคงต้องขอไม่พูดถึง เพี่อเป็นความปลอดภัยของระบบ แต่จะกล่าวแค่เฉพาะแนวคิดเฉยๆ ครับ<br />
<span id="more-457"></span><br />
การทำ centralized session หรือ เซสชั่นกลางนั้น เราสามารถทำได้ง่ายๆ โดยการหาตัวมารับหน้าที่เป็น data pool หรือที่เก็บรวบรวมข้อมูลตรงกลาง ซึ่งที่ผมจะนำไปใช้คือ MySQL สำหรับ บรรจุข้อมูลตรงกลาง ทุกเครื่องสามารถนำไปใช้งานได้ โดยเป็นข้อมูลเดียวกัน แต่เนื่องจาก MySQL จะทำการ update cache ทุกครั้งที่กำการอัพเดตข้อมูล</p>
<p><a href="http://pureform.wordpress.com/2009/04/08/memcache-mysql-php-session-handler/">http://pureform.wordpress.com/2009/04/08/memcache-mysql-php-session-handler/</a><br />
<br/><div id="wp-private-box"><b>This is protected content. Please <a href="http://www.memoball.info/wp-login.php">Login</a> or <a href="http://www.memoball.info/wp-register.php">Register</a> for access.</b></div><br/><p>ช่วงนี้กำลังหาโซลูชั้นเพื่อที่จะทำ centralized session ตรงกลาง เพราะเนื่องจากเริ่มมี web application หลายตัว และในบางส่วนจำเป็นต้องมีการใช้ session ร่วมกัน จึงหาการแก้ปัญหาที่ตอบโจทย์ดังกล่าวว่าจะมีการรวม session มาไว้ที่เดียวกันและมีประสิทธิภาพสูงสุดได้อย่างไร ซึ่งในโซลูชั่นสุดท้ายผมคงต้องขอไม่พูดถึง เพี่อเป็นความปลอดภัยของระบบ แต่จะกล่าวแค่เฉพาะแนวคิดเฉยๆ ครับ<br />
<span id="more-457"></span><br />
การทำ centralized session หรือ เซสชั่นกลางนั้น เราสามารถทำได้ง่ายๆ โดยการหาตัวมารับหน้าที่เป็น data pool หรือที่เก็บรวบรวมข้อมูลตรงกลาง ซึ่งที่ผมจะนำไปใช้คือ MySQL สำหรับ บรรจุข้อมูลตรงกลาง ทุกเครื่องสามารถนำไปใช้งานได้ โดยเป็นข้อมูลเดียวกัน แต่เนื่องจาก MySQL จะทำการ update cache ทุกครั้งที่กำการอัพเดตข้อมูล</p>
<p><a href="http://pureform.wordpress.com/2009/04/08/memcache-mysql-php-session-handler/">http://pureform.wordpress.com/2009/04/08/memcache-mysql-php-session-handler/</a><br />
<!--protected--></p>
<pre>
memcache = new Memcache;
            $this-&gt;lifeTime = intval(ini_get("session.gc_maxlifetime"));
            $this-&gt;initSessionData = null;
            $this-&gt;memcache-&gt;connect("127.0.0.1",11211);

            return true;
        }

        function open($savePath,$sessionName) {
            $sessionID = session_id();
            if ($sessionID !== "") {
                $this-&gt;initSessionData = $this-&gt;read($sessionID);
            }

            return true;
        }

        function close() {
            $this-&gt;lifeTime = null;
            $this-&gt;memcache = null;
            $this-&gt;initSessionData = null;

            return true;
        }

        function read($sessionID) {
            $data = $this-&gt;memcache-&gt;get($sessionID);
            if ($data === false) {
                # Couldn't find it in MC, ask the DB for it

                $sessionIDEscaped = mysql_real_escape_string($sessionID);
                $r = mysql_query("SELECT `sessionData` FROM `tblsessions` WHERE `sessionID`='$sessionIDEscaped'");
                if (is_resource($r) &amp;&amp; (mysql_num_rows($r) !== 0)) {
                    $data = mysql_result($r,0,"sessionData");
                }

                # Refresh MC key: [Thanks Cal <img src='http://www.memoball.info/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> ]
                $this-&gt;memcache-&gt;set($sessionID,$data,false,$this-&gt;lifeTime);
            }

            # The default miss for MC is (bool) false, so return it
            return $data;
        }

        function write($sessionID,$data) {
            # This is called upon script termination or when session_write_close() is called, which ever is first.
            $result = $this-&gt;memcache-&gt;set($sessionID,$data,false,$this-&gt;lifeTime);

            if ($this-&gt;initSessionData !== $data) {
                $sessionID = mysql_real_escape_string($sessionID);
                $sessionExpirationTS = ($this-&gt;lifeTime + time());
                $sessionData = mysql_real_escape_string($data);

                $r = mysql_query("REPLACE INTO `tblsessions` (`sessionID`,`sessionExpirationTS`,`sessionData`) VALUES('$sessionID',$sessionExpirationTS,'$sessionData')");
                $result = is_resource($r);
            }

            return $result;
        }

        function destroy($sessionID) {
            # Called when a user logs out...
            $this-&gt;memcache-&gt;delete($sessionID);
            $sessionID = mysql_real_escape_string($sessionID);
            mysql_query("DELETE FROM `tblsessions` WHERE `sessionID`='$sessionID'");

            return true;
        }

        function gc($maxlifetime) {
            # We need this atomic so it can clear MC keys as well...
            $r = mysql_query("SELECT `sessionID` FROM `tblsessions` WHERE `sessionExpirationTS`lifeTime));
            if (is_resource($r) &amp;&amp; (($rows = mysql_num_rows($r)) !== 0)) {
                for ($i=0;$idestroy(mysql_result($r,$i,"sessionID"));
                }
            }

            return true;
        }
    }

    ini_set("session.gc_maxlifetime",60 * 30); # 30 minutes
    session_set_cookie_params(0,"/",".myapp.com",false,true);
    session_name("MYAPPSESSION");
    $sessionHandler = new SessionHandler();
    session_set_save_handler(array (&amp;$sessionHandler,"open"),array (&amp;$sessionHandler,"close"),array (&amp;$sessionHandler,"read"),array (&amp;$sessionHandler,"write"),array (&amp;$sessionHandler,"destroy"),array (&amp;$sessionHandler,"gc"));
    session_start();
?&gt;
</pre>
<p><!--protected--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.memoball.info/03/memcache-mysql-php-session-handler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>70 web application ที่น่าสนใจ</title>
		<link>http://www.memoball.info/02/70-web-application-%e0%b8%97%e0%b8%b5%e0%b9%88%e0%b8%99%e0%b9%88%e0%b8%b2%e0%b8%aa%e0%b8%99%e0%b9%83%e0%b8%88/</link>
		<comments>http://www.memoball.info/02/70-web-application-%e0%b8%97%e0%b8%b5%e0%b9%88%e0%b8%99%e0%b9%88%e0%b8%b2%e0%b8%aa%e0%b8%99%e0%b9%83%e0%b8%88/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 02:12:03 +0000</pubDate>
		<dc:creator>spnball</dc:creator>
				<category><![CDATA[Web Application]]></category>

		<guid isPermaLink="false">http://www.memoball.info/?p=447</guid>
		<description><![CDATA[This is protected content. Please Login or Register for access.
]]></description>
			<content:encoded><![CDATA[<br/><div id="wp-private-box"><b>This is protected content. Please <a href="http://www.memoball.info/wp-login.php">Login</a> or <a href="http://www.memoball.info/wp-register.php">Register</a> for access.</b></div><br/><!--/protected--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.memoball.info/02/70-web-application-%e0%b8%97%e0%b8%b5%e0%b9%88%e0%b8%99%e0%b9%88%e0%b8%b2%e0%b8%aa%e0%b8%99%e0%b9%83%e0%b8%88/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thinkpad mouse x200si trackpoint</title>
		<link>http://www.memoball.info/02/thinkpad-mouse-x200si-trackpoint/</link>
		<comments>http://www.memoball.info/02/thinkpad-mouse-x200si-trackpoint/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 07:48:17 +0000</pubDate>
		<dc:creator>spnball</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.memoball.info/?p=444</guid>
		<description><![CDATA[setup การใช้ thinkpad ครับ http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint

This is protected content. Please Login or Register for access.
]]></description>
			<content:encoded><![CDATA[<p>setup การใช้ thinkpad ครับ <a href="http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint">http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint</a><br />
<span id="more-444"></span><br />
<br/><div id="wp-private-box"><b>This is protected content. Please <a href="http://www.memoball.info/wp-login.php">Login</a> or <a href="http://www.memoball.info/wp-register.php">Register</a> for access.</b></div><br/><!--/protected--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.memoball.info/02/thinkpad-mouse-x200si-trackpoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java-script ใน css</title>
		<link>http://www.memoball.info/02/java-script-%e0%b9%83%e0%b8%99-css/</link>
		<comments>http://www.memoball.info/02/java-script-%e0%b9%83%e0%b8%99-css/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 12:40:58 +0000</pubDate>
		<dc:creator>spnball</dc:creator>
				<category><![CDATA[HTML & CSS]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.memoball.info/?p=442</guid>
		<description><![CDATA[ท่านสามารถใส java-script ไว้สำหรับทำการแก้ bug ของ ie6 ซึ่งไม่สามารถแสดงผลได้อย่างถูกต้อง โดยการใส่ expression ดังตั่วอย่าง

#container{
	width: expression(document.body.clientWidth &#62; 1100)? "1100px" : "auto";
	/* For web browsers supporting it */
	max-width: 1100px;
}

]]></description>
			<content:encoded><![CDATA[<p>ท่านสามารถใส java-script ไว้สำหรับทำการแก้ bug ของ ie6 ซึ่งไม่สามารถแสดงผลได้อย่างถูกต้อง โดยการใส่ expression ดังตั่วอย่าง</p>
<pre>
#container{
	width: expression(document.body.clientWidth &gt; 1100)? "1100px" : "auto";
	/* For web browsers supporting it */
	max-width: 1100px;
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.memoball.info/02/java-script-%e0%b9%83%e0%b8%99-css/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ThinkFinger</title>
		<link>http://www.memoball.info/02/thinkfinger/</link>
		<comments>http://www.memoball.info/02/thinkfinger/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 13:56:31 +0000</pubDate>
		<dc:creator>spnball</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.memoball.info/?p=438</guid>
		<description><![CDATA[Thinkpad Finger-print for Ubuntu
เพิ่งได้ thinkpad X200si มาใช้ครับ ก็เลยหาวิธีลง Finger-print สำหรับ Ubuntu ครับ
จึงเอา link มาฝากกันครับ https://wiki.ubuntu.com/ThinkFinger

This is protected content. Please Login or Register for access.
(ขอเก็บเนื้อหาไว้สำหรับใช้ส่วนตัว ตามลิขสิทธิ์ครับ) กด link เพื่อไปดูได้เลยครับ
]]></description>
			<content:encoded><![CDATA[<h2>Thinkpad Finger-print for Ubuntu</h2>
<p>เพิ่งได้ thinkpad X200si มาใช้ครับ ก็เลยหาวิธีลง Finger-print สำหรับ Ubuntu ครับ<br />
จึงเอา link มาฝากกันครับ <a href="https://wiki.ubuntu.com/ThinkFinger">https://wiki.ubuntu.com/ThinkFinger</a><br />
<span id="more-438"></span><br />
<br/><div id="wp-private-box"><b>This is protected content. Please <a href="http://www.memoball.info/wp-login.php">Login</a> or <a href="http://www.memoball.info/wp-register.php">Register</a> for access.</b></div><br/><!--/protected--><br />
(ขอเก็บเนื้อหาไว้สำหรับใช้ส่วนตัว ตามลิขสิทธิ์ครับ) กด link เพื่อไปดูได้เลยครับ</p>
]]></content:encoded>
			<wfw:commentRss>http://www.memoball.info/02/thinkfinger/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>วาดภาพบน HTML5</title>
		<link>http://www.memoball.info/02/%e0%b8%a7%e0%b8%b2%e0%b8%94%e0%b8%a0%e0%b8%b2%e0%b8%9e%e0%b8%9a%e0%b8%99-html5/</link>
		<comments>http://www.memoball.info/02/%e0%b8%a7%e0%b8%b2%e0%b8%94%e0%b8%a0%e0%b8%b2%e0%b8%9e%e0%b8%9a%e0%b8%99-html5/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 00:09:25 +0000</pubDate>
		<dc:creator>spnball</dc:creator>
				<category><![CDATA[HTML & CSS]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.memoball.info/?p=436</guid>
		<description><![CDATA[ถ้าคุณอยากมีโปรแกรมวาดภาพซักตัวบนเวป โดยที่คุณไม่ต้องใช้ flash คุณสามารถลองใช้ http://mugtug.com/sketchpad/ ตัวนี้ได้เลยครับ
]]></description>
			<content:encoded><![CDATA[<p>ถ้าคุณอยากมีโปรแกรมวาดภาพซักตัวบนเวป โดยที่คุณไม่ต้องใช้ flash คุณสามารถลองใช้<a href="http://mugtug.com/sketchpad/"> http://mugtug.com/sketchpad/</a> ตัวนี้ได้เลยครับ</p>
]]></content:encoded>
			<wfw:commentRss>http://www.memoball.info/02/%e0%b8%a7%e0%b8%b2%e0%b8%94%e0%b8%a0%e0%b8%b2%e0%b8%9e%e0%b8%9a%e0%b8%99-html5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>รูปในเวปผมหายไปไหน</title>
		<link>http://www.memoball.info/02/%e0%b8%a3%e0%b8%b9%e0%b8%9b%e0%b9%83%e0%b8%99%e0%b9%80%e0%b8%a7%e0%b8%9b%e0%b8%9c%e0%b8%a1%e0%b8%ab%e0%b8%b2%e0%b8%a2%e0%b9%84%e0%b8%9b%e0%b9%84%e0%b8%ab%e0%b8%99/</link>
		<comments>http://www.memoball.info/02/%e0%b8%a3%e0%b8%b9%e0%b8%9b%e0%b9%83%e0%b8%99%e0%b9%80%e0%b8%a7%e0%b8%9b%e0%b8%9c%e0%b8%a1%e0%b8%ab%e0%b8%b2%e0%b8%a2%e0%b9%84%e0%b8%9b%e0%b9%84%e0%b8%ab%e0%b8%99/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 00:33:59 +0000</pubDate>
		<dc:creator>spnball</dc:creator>
				<category><![CDATA[HTML & CSS]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.memoball.info/?p=432</guid>
		<description><![CDATA[เมื่อหลายวันก่อนผมทำการแก้ไขเวปเซอร์วิช ซึ่งเป็น web-apllication ตัวหนึ่งที่ผมดูและอยู่ ปรากฏว่ารูปที่เป็นส่วนประกอบของผมหายไปอย่างลึกลับเมื่อผู้ใช้งานทั่วไปเข้าไปใช้ ซึ่งในเบื้องต้น ผมใช้ ubuntu+firefox ไม่เกิดข้อผิดพลาดใดๆ ในกรณีดังกล่าว จะเป็นเฉพาะ HTTP over SSL (HTTPS) 
สาเหตุ
สาเหตุก็เป็นเพราะว่า รูปผมมันเป็น http แต่เวปมันเป็น https บราวเซอร์จะไม่ยอมโหลดรูปให้ ปัญหาดังกล่าวจะเป็นเกือบทุกบราวเซอร์ โดยบางเครื่องอาจมีการถามก่อนว่าจะโหลดหรือไม่ ตามแต่ผู้ใช้งานจะเป็นผู้ตั้งไว้ แต่จุดที่สังเกตได้ง่ายๆ คือด้านมุมขวาล่าง จะมีรูปแม่กุญแจอยู่ ถ้าเป็นกรณีนี่มีการโหลด http บนเวป https จะมีรูปเครื่องหมายตกใจสีแดงปรากฎอยู่บนรูปแม่กุญแจนั้น
วิธีแก้ไข
วิธีแก้ไขที่ดีที่สุดน่าจะอยู่ที่ตัวผู้เขียนเวปเอง โดยทำการกำหนด link ต่างๆ ในหน้าเวปของเราให้เป็น https ซะ
]]></description>
			<content:encoded><![CDATA[<p>เมื่อหลายวันก่อนผมทำการแก้ไขเวปเซอร์วิช ซึ่งเป็น web-apllication ตัวหนึ่งที่ผมดูและอยู่ ปรากฏว่ารูปที่เป็นส่วนประกอบของผมหายไปอย่างลึกลับเมื่อผู้ใช้งานทั่วไปเข้าไปใช้ ซึ่งในเบื้องต้น ผมใช้ ubuntu+firefox ไม่เกิดข้อผิดพลาดใดๆ ในกรณีดังกล่าว จะเป็นเฉพาะ HTTP over SSL (HTTPS) <span id="more-432"></span></p>
<h2>สาเหตุ</h2>
<p>สาเหตุก็เป็นเพราะว่า รูปผมมันเป็น http แต่เวปมันเป็น https บราวเซอร์จะไม่ยอมโหลดรูปให้ ปัญหาดังกล่าวจะเป็นเกือบทุกบราวเซอร์ โดยบางเครื่องอาจมีการถามก่อนว่าจะโหลดหรือไม่ ตามแต่ผู้ใช้งานจะเป็นผู้ตั้งไว้ แต่จุดที่สังเกตได้ง่ายๆ คือด้านมุมขวาล่าง จะมีรูปแม่กุญแจอยู่ ถ้าเป็นกรณีนี่มีการโหลด http บนเวป https จะมีรูปเครื่องหมายตกใจสีแดงปรากฎอยู่บนรูปแม่กุญแจนั้น</p>
<h2>วิธีแก้ไข</h2>
<p>วิธีแก้ไขที่ดีที่สุดน่าจะอยู่ที่ตัวผู้เขียนเวปเอง โดยทำการกำหนด link ต่างๆ ในหน้าเวปของเราให้เป็น https ซะ</p>
]]></content:encoded>
			<wfw:commentRss>http://www.memoball.info/02/%e0%b8%a3%e0%b8%b9%e0%b8%9b%e0%b9%83%e0%b8%99%e0%b9%80%e0%b8%a7%e0%b8%9b%e0%b8%9c%e0%b8%a1%e0%b8%ab%e0%b8%b2%e0%b8%a2%e0%b9%84%e0%b8%9b%e0%b9%84%e0%b8%ab%e0%b8%99/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Download file over SSL Error with Internet Explorer</title>
		<link>http://www.memoball.info/02/download-file-over-ssl-error-with-internet-explorer/</link>
		<comments>http://www.memoball.info/02/download-file-over-ssl-error-with-internet-explorer/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 00:20:14 +0000</pubDate>
		<dc:creator>spnball</dc:creator>
				<category><![CDATA[HTML & CSS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Application]]></category>
		<category><![CDATA[web bug]]></category>

		<guid isPermaLink="false">http://www.memoball.info/?p=427</guid>
		<description><![CDATA[เมื่ออาทิตย์ก่อน ผมเจอปัญหาที่ทำอยู่ที่ทำงานครับ ซึ่งงานผมเป็น service ที่ทำงานอยู่บน SSL หรือพูดให้ฟังดูง่ายๆ คือ https นั้นเอง ปัญหาที่ผมกับผู้ใช้งานเซอร์วิชก็คือ ไม่สามารถดาวโหลดแฟ้มข้อมูลได้
ปัญหา
ไม่สามารถโหลดไฟล์ผ่าน SSL  โดยปัญหานี้พบกับเฉพาะ Internet Explorer 7 (IE7 โดย IE รุ่นอื่น ยังไม่ได้รับรายงานปัญหาดังกล่าว) ส่วนบราวเซอร์ตัวอื่นยังไม่พบปัญหาเช่นนี้ โดย error ที่พบ IE จะขึ้นมาที่ผู้ใช้ว่า &#8220;the file could not be written to the cache&#8221; ทำให้ไม่สามารถดาวโหลดไฟล์ได้
วิธีการแก้ไข
สามารถเลือกแก้ไขได้โดยวิธีใดวิธีหนึ่งดังนี้
สำหรับ server admin หรือ webmaster
ห้ามใส่ cache-control หรือ pragma: no-cache ลงใน header ของ http ในส่วนที่เป็น oct-stream หรือ file-download
สำหรับ client [...]]]></description>
			<content:encoded><![CDATA[<p>เมื่ออาทิตย์ก่อน ผมเจอปัญหาที่ทำอยู่ที่ทำงานครับ ซึ่งงานผมเป็น service ที่ทำงานอยู่บน SSL หรือพูดให้ฟังดูง่ายๆ คือ https นั้นเอง ปัญหาที่ผมกับผู้ใช้งานเซอร์วิชก็คือ ไม่สามารถดาวโหลดแฟ้มข้อมูลได้<span id="more-427"></span></p>
<h2>ปัญหา</h2>
<p>ไม่สามารถโหลดไฟล์ผ่าน SSL  โดยปัญหานี้พบกับเฉพาะ Internet Explorer 7 (IE7 โดย IE รุ่นอื่น ยังไม่ได้รับรายงานปัญหาดังกล่าว) ส่วนบราวเซอร์ตัวอื่นยังไม่พบปัญหาเช่นนี้ โดย error ที่พบ IE จะขึ้นมาที่ผู้ใช้ว่า <strong>&#8220;the file could not be written to the cache&#8221; </strong>ทำให้ไม่สามารถดาวโหลดไฟล์ได้</p>
<h2>วิธีการแก้ไข</h2>
<p>สามารถเลือกแก้ไขได้โดยวิธีใดวิธีหนึ่งดังนี้</p>
<h3>สำหรับ server admin หรือ webmaster</h3>
<p>ห้ามใส่ cache-control หรือ pragma: no-cache ลงใน header ของ http ในส่วนที่เป็น oct-stream หรือ file-download</p>
<h3>สำหรับ client (ผมยังไม่ได้ลองครับ)</h3>
<p>เข้าไป uncheck ตามลำดับดังนี้ IE Tools -&gt; Internet Options -&gt; Advanced -&gt; Security -&gt;<strong> Do not save encrypted<br />
pages to disk </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.memoball.info/02/download-file-over-ssl-error-with-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
