<?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>I&#039;m AI.</title>
	<atom:link href="http://www.im-ai.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.im-ai.com/blog</link>
	<description>&#34;ปัญญาประดิษฐ์ได้&#34;</description>
	<lastBuildDate>Thu, 17 Jun 2010 17:02:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Fatal error: Call to undefined function: mssql_connect()</title>
		<link>http://www.im-ai.com/blog/?p=214</link>
		<comments>http://www.im-ai.com/blog/?p=214#comments</comments>
		<pubDate>Wed, 16 Jun 2010 13:49:51 +0000</pubDate>
		<dc:creator>Ultra MCU</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[SQL/Database]]></category>
		<category><![CDATA[Fatal error: Call to undefined function: mssql_connect()]]></category>
		<category><![CDATA[PHP SQL Server]]></category>

		<guid isPermaLink="false">http://www.im-ai.com/blog/?p=214</guid>
		<description><![CDATA[พอดีวันนี้ต้องลองทดสอบดูว่า PHP สามารถใช้ฐานข้อมูลของ SQL Server ได้ไม๊
ไปอ่านเจอ ว่าให้ Un Comment ในไฟล์ php.ini บรรทัด extension=php_mssql.dll ออก จากนั้น Reboot Apache
แต่ปรากฏว่ามันเกิด Error นี้ขึ้นครับ
Fatal error: Call to undefined function: mssql_connect()
ไปเปิดเจอในเว็ป เค้าให้ copy file &#8220;ntwdblib.dll&#8221; ไปใส่ไว้ใน c:\\windows\system32 ครับ เท่านี้ก็เรียบร้อย ^^
]]></description>
		<wfw:commentRss>http://www.im-ai.com/blog/?feed=rss2&amp;p=214</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MFTMirr does not match  เมื่อ Mount NTFS บน Linux</title>
		<link>http://www.im-ai.com/blog/?p=212</link>
		<comments>http://www.im-ai.com/blog/?p=212#comments</comments>
		<pubDate>Sun, 13 Jun 2010 16:58:42 +0000</pubDate>
		<dc:creator>Ultra MCU</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[$MFTMirr does not match]]></category>
		<category><![CDATA[Failed to mount]]></category>
		<category><![CDATA[Input/output error NTFS]]></category>

		<guid isPermaLink="false">http://www.im-ai.com/blog/?p=212</guid>
		<description><![CDATA[พอดีวันนี้ เจอปัญหาว่า เอาแผ่น Ubuntu Live CD ไป Mount Drive ใน Windows(Windows พังเปิดไม่ได้) แล้ว Mount ไม่ได้มันขึ้นแบบนี้
&#8220;$MFTMirr does not match $MFT(record3). Failed to mount &#8216;/dev/sdb5&#8242;:  Input/output error NTFS is either inconsistent, or there is a hardware  fault, or it&#8217;s softRAID/FakeRAID hardware. In the first case run chkdsk  /f on Windows then reboot into Windows [...]]]></description>
		<wfw:commentRss>http://www.im-ai.com/blog/?feed=rss2&amp;p=212</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>เมื่อ Database Server บูตไม่ขึ้น แล้วไฟล์ Backup ของ Database ถูกเก็บไว้ใน RAID 5 ทำยังไง</title>
		<link>http://www.im-ai.com/blog/?p=209</link>
		<comments>http://www.im-ai.com/blog/?p=209#comments</comments>
		<pubDate>Sun, 13 Jun 2010 16:38:23 +0000</pubDate>
		<dc:creator>Ultra MCU</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[SQL/Database]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[backup file]]></category>
		<category><![CDATA[วิธีก็อปปี้ไฟล์ เครื่องบูตไม่ได้]]></category>
		<category><![CDATA[เครื่องบูตไม่ได้]]></category>

		<guid isPermaLink="false">http://www.im-ai.com/blog/?p=209</guid>
		<description><![CDATA[เมื่อเช้าผมเจอปัญหาว่า Database Server(Windows 2003) ตัวหนึ่งในประเทศ เกิดบูตไม่ติดขึ้นมา มันก็เลยเป็นปัญหา ที่ต้องเข้าไปแก้
ตอนแรกคิดว่าเป็นที่ Windows พังกะว่าลง WIndows หรือ Repair ใหม่ก็น่าจะหาย แต่พอไปถึงมันไม่ใช่แบบนี้ ปัญหามันอยู่ที่ Hardware
ก็เลยตัดสินใจว่า ต้องหาวิธีเอาไฟล์ Backup Database ออกมาให้ได้่ก่อน แล้วไปรันในเครื่องสำรอง เพราะ ไฟล์ ถูกเก็บอยู่ในอีก Partition นึงด้วย Harddisk 4 ลูกและทำ RAID 5 ไว้ ก็เลยใช้วิธี ใช้ แผ่น Ubuntu Live Cd Boot เข้าไปก่อน แล้วจากนั้นก็ไป Copy ไฟล์ออกมาจาก Drive แค่นี้ก็เรียบร้อย
]]></description>
		<wfw:commentRss>http://www.im-ai.com/blog/?feed=rss2&amp;p=209</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>วิธี set เวลาใน solaris</title>
		<link>http://www.im-ai.com/blog/?p=206</link>
		<comments>http://www.im-ai.com/blog/?p=206#comments</comments>
		<pubDate>Fri, 11 Jun 2010 19:44:59 +0000</pubDate>
		<dc:creator>Ultra MCU</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[date solaris]]></category>
		<category><![CDATA[time solaris]]></category>

		<guid isPermaLink="false">http://www.im-ai.com/blog/?p=206</guid>
		<description><![CDATA[#date [MM][DD][hh][mi][YY]
[MM] คือเดือน (month)
[DD] คือวัน (date)
[hh] คือชั่วโมง (Hour)
[mi] คือนาที (Minute)
[YY] คือปี (Year)
Ex. date 0612024110   // 12-06-2010 02:41
]]></description>
		<wfw:commentRss>http://www.im-ai.com/blog/?feed=rss2&amp;p=206</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>วิธี convert string to int/float, int/float to string ใน Objective C</title>
		<link>http://www.im-ai.com/blog/?p=202</link>
		<comments>http://www.im-ai.com/blog/?p=202#comments</comments>
		<pubDate>Thu, 22 Apr 2010 07:24:07 +0000</pubDate>
		<dc:creator>Ultra MCU</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[convert int to string]]></category>
		<category><![CDATA[IPhone SDK]]></category>
		<category><![CDATA[Objective C]]></category>
		<category><![CDATA[string to int]]></category>
		<category><![CDATA[textfield cocoa]]></category>

		<guid isPermaLink="false">http://www.im-ai.com/blog/?p=202</guid>
		<description><![CDATA[พอดีว่าง ๆ เลยหาโหลด IPhone SDK มาลองเล่น ๆ ดู เขียนไปมึน ๆ ไปก็มัน ๆ ดี
สมมุติว่า เรามี TextField(Windows เรียก TextBox) อันนึง TagId = 1
แล้วเราต้องการ Convert ไปใส่ในตัวแปล Int หรือ Float
UITextField *txtNumber = (UITextField *)[window viewWithTag:1];
float fNumber;
fNumber = [[txtNumber text] floatValue];
float nNumber;
nNumber = [[txtNumber text] intValue];
และถ้าเราอยาก Convert จาก Int/Float เป็น String ลงใน text field
txtShowF.text = [NSString stringWithFormat:@"%f", fNumber];
txtShowN.text = [NSString [...]]]></description>
		<wfw:commentRss>http://www.im-ai.com/blog/?feed=rss2&amp;p=202</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>select concat   String  กับ  NULL = NULL</title>
		<link>http://www.im-ai.com/blog/?p=200</link>
		<comments>http://www.im-ai.com/blog/?p=200#comments</comments>
		<pubDate>Tue, 20 Apr 2010 09:34:41 +0000</pubDate>
		<dc:creator>Imnuke</dc:creator>
				<category><![CDATA[SQL/Database]]></category>

		<guid isPermaLink="false">http://www.im-ai.com/blog/?p=200</guid>
		<description><![CDATA[select concat(&#8216;Imnuke&#8217;,&#8217;  &#8217;,'Im-AI&#8217;)   =  Imnuke Im-AI
select concat(&#8216;Imnuke&#8217;,&#8217;  &#8217;,'Im-AI&#8217;,NULL)   =  NULL
วันนี้เจอปัญหาโปรแกรมดึงข้อมูลวิธีการใช้ยาแล้วไม่ยอมแสดง
หลังจากตรวจสอบพบว่า  มีการนำค่ามา Concat  กัน  ซึ่งเวลา  Query  ข้อมูลออกมาดู
โปรแกรมไม่แสดงบอกว่าเป็น  NULL  หรือ  &#8221;   ก็ไล่ไปไล่มาว่าทำไมข้อมูลไม่ยอมออก
และแล้วก็พบว่า  select concat   String  กับ  NULL = NULL
มีอยู่ 1  ฟิลที่มีค่าเป็น  NULL  โอ้วววววววว
แล้วก็ไม่บอกตั้งแต่แรกว่าเป็น null  เพราะแสดงออกมาเป็นค่าว่างเหมือนกัน
]]></description>
		<wfw:commentRss>http://www.im-ai.com/blog/?feed=rss2&amp;p=200</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Check CPU stat in solaris</title>
		<link>http://www.im-ai.com/blog/?p=196</link>
		<comments>http://www.im-ai.com/blog/?p=196#comments</comments>
		<pubDate>Sat, 10 Apr 2010 05:29:37 +0000</pubDate>
		<dc:creator>Ultra MCU</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[prstat]]></category>
		<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://www.im-ai.com/blog/?p=196</guid>
		<description><![CDATA[วิธีตรวจสอบ การใช้ CPU และ RAm ใน Solaris
#prstat -a -s rss
Ex. &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;
bash-3.00# prstat -a -s rss
PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP
422 root       26M 9032K sleep   59    0   0:01:12 0.1% Xorg/1
9 root     8636K 7604K sleep   59    0   0:00:15 0.0% svc.configd/16
7 root     9292K 6832K sleep   59    0   0:00:16 0.0% svc.startd/12
457 root     6380K 4588K sleep   [...]]]></description>
		<wfw:commentRss>http://www.im-ai.com/blog/?feed=rss2&amp;p=196</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript Syntax</title>
		<link>http://www.im-ai.com/blog/?p=187</link>
		<comments>http://www.im-ai.com/blog/?p=187#comments</comments>
		<pubDate>Thu, 25 Mar 2010 06:53:35 +0000</pubDate>
		<dc:creator>Ultra MCU</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[javascript syntax]]></category>

		<guid isPermaLink="false">http://www.im-ai.com/blog/?p=187</guid>
		<description><![CDATA[วิธีใช้ charAt
charAt คือการ Access เข้าไปใน string แบบ array (string คือ array of char)
ถ้าใน C++ เราใช้แบบนี้ได้เลย
string str
str = &#8220;0123456789&#8243;;
printf(&#8220;%c&#8221;,str[0]);
แต่ถ้าเป็น Javascript ต้องใช้แบบนี้
var str;
str = &#8220;0123456789&#8243;;
print(str.charAt[0]);
วิชีการใช้ length ใช้สำหรับหาความยาว string อันนี้ใช้เหมือนภาษาอื่น คือ .length ได้เลย
การเพิ่ม method เข้าไปใน Obj ของ Javascript
จากตัวอย่างจะเป็นการ trim


String.prototype.trim = function () {
    return this.replace(/^\s*/, "").replace(/\s*$/, "");
}

var str;
str = "123456789      [...]]]></description>
		<wfw:commentRss>http://www.im-ai.com/blog/?feed=rss2&amp;p=187</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>คุณเก็บ Adapter macbook แบบไหน</title>
		<link>http://www.im-ai.com/blog/?p=178</link>
		<comments>http://www.im-ai.com/blog/?p=178#comments</comments>
		<pubDate>Thu, 11 Mar 2010 14:39:06 +0000</pubDate>
		<dc:creator>Imnuke</dc:creator>
				<category><![CDATA[MAC]]></category>

		<guid isPermaLink="false">http://www.im-ai.com/blog/?p=178</guid>
		<description><![CDATA[เมื่อก่อนเคยเห็น Adapter Notebook  ทั่วไปจะมีสายสำหรับรัดเก็บสาย Adapter
แต่พอมาใช้  mac  เห็นมีแต่ตัวล็อคเล็ก  ๆ  เวลาเก็บสายทีไรก็ม้วน ๆ ไว้
พอจะเอามาใช้ทีไรก็พันตลอดเลย  555

ทีนี้มาดูกันว่าจะเก็บสายยังไงดี

พอดีบังเอิญหยิบ  adapter  ขึ้นมาแล้วเห็นมีรอยแยก   ก็งงว่ามันรอยแยกอะไร

เอะมันง้างออกมาได้ด้วย

สรุปว่าเค้าเก็บสายกันแบบนี้นี่เอง
ตัวล็อคเล็ก ๆ ก็เอามาล็อคไว้แบบนี้
พึ่งรู้จริง ๆ   55555
]]></description>
		<wfw:commentRss>http://www.im-ai.com/blog/?feed=rss2&amp;p=178</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>วิธี Access Folder Application Data ใน Windows 7</title>
		<link>http://www.im-ai.com/blog/?p=176</link>
		<comments>http://www.im-ai.com/blog/?p=176#comments</comments>
		<pubDate>Tue, 09 Mar 2010 08:23:50 +0000</pubDate>
		<dc:creator>Ultra MCU</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Application data Windows 7]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.im-ai.com/blog/?p=176</guid>
		<description><![CDATA[C:\Users\%USERNAME%\AppData\Roaming
ไปที่ Path นี้ครับ
]]></description>
		<wfw:commentRss>http://www.im-ai.com/blog/?feed=rss2&amp;p=176</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
