<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-10481751</id><updated>2011-04-22T10:52:47.933+07:00</updated><title type='text'>golB s'uA</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>31</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-10481751.post-9146637043119737727</id><published>2008-06-19T02:21:00.001+07:00</published><updated>2008-06-19T02:22:43.413+07:00</updated><title type='text'>รู้มั๊ย</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold; font-family: Tahoma;font-size:xx-large;" &gt;รู้มั๊ยอ่ะ&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: Tahoma;font-size:xx-large;" &gt;ว่าเป็นห่วง&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-9146637043119737727?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/9146637043119737727/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=9146637043119737727' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/9146637043119737727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/9146637043119737727'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2008/06/blog-post.html' title='รู้มั๊ย'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-1552315242572734952</id><published>2008-05-12T23:21:00.003+07:00</published><updated>2008-05-12T23:52:18.729+07:00</updated><title type='text'>ใช้ Queue ใน Python</title><content type='html'>คนที่เคยทำงานกับ threading ใน Python น่าจะเคยเจอปัญหาในการจัดการกับ lock มาบ้างไม่มากก็น้อย&lt;br /&gt;&lt;br /&gt;ใน Python ก็มี module ตัวนึงชื่อว่า Queue มาช่วยจัดการปัญหานี้ &lt;br /&gt;&lt;br /&gt;วิธีการทำงานของมันจะคล้ายกับการทำงานแบบ multithreading ทั่วไป กล่าวคือมีตัวคิวเป็นตัวแจกงาน&lt;br /&gt;และ worker วิ่งเข้ามารับงานไปเรื่อยๆ จนกว่าจะหมด&lt;br /&gt;&lt;br /&gt;ข้อดีของ Queue ก็คือเราสามารถเลี่ยงปัญหา race condition ได้ เพราะ Queue จะจัดการพวก lock ต่างๆ ของมันเอง&lt;br /&gt;ตัวอย่างรูปแบบการใช้งาน Queue แบบหนึ่ง&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;                   ---------&lt;br /&gt;                   | Queue |&lt;br /&gt;                   ---------&lt;br /&gt;                   /   |   \&lt;br /&gt;                  /    |    \&lt;br /&gt;                 /     |     \&lt;br /&gt;               ----- ----- -----&lt;br /&gt;               | W | | W | | W |&lt;br /&gt;               ----- ----- -----&lt;br /&gt;                 |     |     |&lt;br /&gt;                 |     |     |&lt;br /&gt;               -----------------&lt;br /&gt;               |    Results    |&lt;br /&gt;               -----------------&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;เริ่มต้นเลยต้องสร้าง Queue instance ขึ้นมาก่อน&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;import threading&lt;br /&gt;import Queue&lt;br /&gt;&lt;br /&gt;cmdqueue = Queue.Queue()&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;จากนั้นเราจะต้องสร้าง worker function ขึ้นมาก่อน โดนสั่งให้ worker อยู่เฉยๆ รอ item ที่มาจากคิว มาดูตัวอย่างกัน&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;def workerThread(queobject):&lt;br /&gt;     while True:&lt;br /&gt;          vars = queobject.get()&lt;br /&gt;          print vars&lt;br /&gt;          queobject.task_done()&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;queobject ในที่นี้คือ Queue instance ที่เราจะส่งเข้าไปให้นั่นเอง&lt;br /&gt;โปรดสังเกตว่ามี method ชื่อ get() กับ task_done() อยู่ในที่นี้&lt;br /&gt;queobject.get() ทำหน้าที่รับข้อมูลจาก queue มา method นี้โดยค่าปริยายจะหยุดทำงาน จนกว่าจะมีข้อมูลมาจาก queue&lt;br /&gt;พอทำงานเสร็จปุ๊บ เราก็จะบอกคิวว่า worker ตัวนี้ว่างแล้ว เอางานใหม่มา โดยใช้ method ชื่อ queobject.task_done()&lt;br /&gt;อย่าลืมเชียวนะครับ!&lt;br /&gt;&lt;br /&gt;หลังจากที่เรามีคิวและ worker เรียบร้อยแล้ว ก็ถึงเวลาสั่งให้ worker ทำงาน โดยใช้ threading.Thread&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;for i in range(4):&lt;br /&gt;     worker = threading.Thread(target=workerThread, args=(cmdqueue,))&lt;br /&gt;     worker.setDaemon(True)&lt;br /&gt;     worker.start()&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Worker 4 ตัวจะ start ขึ้นมาเพื่อรอข้อมูลจากคิว ใครที่ถนัดหน่อยสามารถใช้ module อื่นๆ เอาจำนวนของ cpu ของเครื่องมาใช้ก็ได้&lt;br /&gt;&lt;br /&gt;ตอนนี้เราก็มีทุกอย่างพร้อมใช้งาน เราสามารถส่งข้อมูลเข้าไปในคิวได้แล้ว วิธีส่งก็ใช้ method ชื่อ put แบบนี้&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;for i in range(2000):&lt;br /&gt;     data = {&lt;br /&gt;          'id': i,&lt;br /&gt;     }&lt;br /&gt;     cmdqueue.put(data)&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;ข้อสังเกต: ถ้าเอาโค้ดนี้ไปรันเลย เราจะไม่ได้อะไรออกมา เพราะว่า python จะไม่หยุดรอ (block) ให้ queue ว่าง หลังจากที่ put ข้อมูลเข้าไปแล้วจะถือว่า process นั้นเสร็จสิ้นทันที เราตั้งค่า setDaemon(True) ไว้ตอน start worker เพื่อที่จะให้ worker ทั้งหลายตายไปพร้อมกับตัว process กันปัญหา zombie thread&lt;br /&gt;&lt;br /&gt;Queue instance มี method ที่ชื่อว่า join() เอาไว้สั่งให้ตัว program block ไว้จนกว่าทุกอย่างใน queue จะถูกดึงออกไปและได้รับ task_done() กลับมา แบบนี้&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;for i in range(2000):&lt;br /&gt;     data = {&lt;br /&gt;          'id': i,&lt;br /&gt;     }&lt;br /&gt;     cmdqueue.put(data)&lt;br /&gt;cmdqueue.join()&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;เป็นอันเสร็จสิ้น ลองเล่นได้เลยครับ&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-1552315242572734952?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/1552315242572734952/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=1552315242572734952' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/1552315242572734952'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/1552315242572734952'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2008/05/queue-python.html' title='ใช้ Queue ใน Python'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-5161185009703862307</id><published>2008-05-05T10:07:00.002+07:00</published><updated>2008-05-05T10:21:28.181+07:00</updated><title type='text'>just a big boy private club</title><content type='html'>I have been encountering with Buddhism related matter during past few weeks. It has shaken my faith in Buddhism that I have been holding on to for years.&lt;br /&gt;&lt;br /&gt;I myself is a Buddhist. I believe in its doctrine. I behave the way Buddhist should behave, though not all of what other people have been doing, but that's not a big deal.&lt;br /&gt;&lt;br /&gt;The story of one monk and his female friend has come to my attention. Talking to female is not prohibited for monk. But he must talk to female ones without passion. (At least that's my understanding) &lt;br /&gt;&lt;br /&gt;That monk calls and talks to his female friend for more than 30 minutes every night. Plus longer time during holidays. He also mentioned about other monks bullying young newly ordained monks and videotaped them.&lt;br /&gt;&lt;br /&gt;This totally ruins my belief and faith in what I am believing.&lt;br /&gt;You made yourself become a monk because you want to study Buddhism's doctrine, discipline yourself and learn how to live calmly.&lt;br /&gt;&lt;br /&gt;Not just to be a part of big boy private club, where people who can join must be bald, no eyebrows, wearing orange and do not eat dinner.&lt;br /&gt;&lt;br /&gt;I believe there's a lot of Supatipanno (Monk who does good). I tend to make myself hold on to those monks. I wish them with all my heart the courages to continue studying and spreading out good Buddhism doctrines.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-5161185009703862307?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/5161185009703862307/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=5161185009703862307' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/5161185009703862307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/5161185009703862307'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2008/05/just-big-boy-private-club.html' title='just a big boy private club'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-1819971541386174206</id><published>2008-01-15T18:03:00.000+07:00</published><updated>2008-01-15T18:19:38.957+07:00</updated><title type='text'>XML-RPC แบบง่ายๆ กับ python</title><content type='html'>XML-RPC เป็น Remote Procedure Call ประเภทนึงที่ใช้ XML เป็นสื่อกลางในการส่งข้อมูลผ่านตัวแปร HTTP&lt;br /&gt;&lt;br /&gt;Python สามารถทำงานกับ XML-RPC ได้ทั้งเป็น XML-RPC Server หรือเป็น XML-RPC Proxy&lt;br /&gt;พูดง่ายๆ ก็คือเราเรียกใช้ Class หรือ Function ที่อยู่บน Server ได้โดยที่ไม่ต้องเขียน Network Server เอง&lt;br /&gt;&lt;br /&gt;Module หลักๆ ที่จะใช้ก็คือ SimpleXMLRPCServer กับ xmlrpclib&lt;br /&gt;การใช้งาน server แบบง่ายๆ ก็คือ&lt;br /&gt;&lt;br /&gt;# ตัวอย่าง class ที่อยู่บน Server&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;class xmlrpcsample:&lt;br /&gt;    def printme(textmesg):&lt;br /&gt;       return textmesg.upper()&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;ต่อไปเราก็สร้าง XML-RPC Server&lt;br /&gt;&lt;br /&gt;# server bind เข้ากับทุก interface ที่ port 12345&lt;br /&gt;&lt;br /&gt;address = ('0.0.0.0',12345) &lt;br /&gt;server = SimpleXMLRPCServer.SimpleXMLRPCServer(address)&lt;br /&gt;&lt;br /&gt;# สร้าง class object มา&lt;br /&gt;&lt;br /&gt;classobj = xmlrpcsample()&lt;br /&gt;&lt;br /&gt;# register ตัว class เข้ากับ XML-RPC server&lt;br /&gt;&lt;br /&gt;server. register_instance(classobj)&lt;br /&gt;&lt;br /&gt;# เริ่มทำงานได้&lt;br /&gt;&lt;br /&gt;server.serve_forever()&lt;br /&gt;&lt;br /&gt;เป็นอันว่าจบในส่วนของ Server ต่อไป Client จะเรียกใช้งาน Class นี่ที่อยู่บน server ก็ใช้งานง่าย&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;import xmlrpclib&lt;br /&gt;server = xmlrpclib.ServerProxy("http://127.0.0.1:12345")&lt;br /&gt;server.printme('helloworld')&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;เป็นอันจบ&lt;br /&gt;ข้อควรระวัง function ต้อง return ค่าทุกครั้ง ถ้าไม่ return ค่า จะต้อง set allow_none=True ตอนที่เรียก ServerProxy&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-1819971541386174206?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/1819971541386174206/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=1819971541386174206' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/1819971541386174206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/1819971541386174206'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2008/01/xml-rpc-python.html' title='XML-RPC แบบง่ายๆ กับ python'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-4356327247960321086</id><published>2007-05-06T17:31:00.000+07:00</published><updated>2007-05-06T17:59:49.827+07:00</updated><title type='text'>ชีวิตในปี 1973 กับ 2007</title><content type='html'>เห็นว่าฮาดี เลยแปลเก็บไว้&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;เหตุการณ์: แจ๊คขับรถเข้าไปจอดในที่จอดรถของโรงเรียน พร้อมกับปืนในที่เก็บปืนหลังรถ&lt;br /&gt;1973: ครูใหญ่เดินออกมา มองไปที่ปืนของแจ๊ค เดินไปที่รถของครูใหญ่แล้วหยิบปืนของเค้ามาอวดบ้าง&lt;br /&gt;2007: โรงเรียนปิดตาย FBI ถูกเรียกมา แจ๊คถูกส่งเข้าคุกและไม่มีโอกาสได้เห็นรถหรือปืนของเค้าอีกเลย จิตแพทย์ถูกเรียกมาเพื่อรักษาครูและนักเรียนที่บาดเจ็บทางจิตใจ&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;เหตุการณ์: จอห์นนี่และมาร์คมีเรื่องทะเลาะและชกต่อยกันหลังเลิกเรียน&lt;br /&gt;1973: ผู้คนเข้ามามุงดู มาร์คชกชนะ ทั้งคู่จับมือกันแล้วกลายเป็นเพื่อนรักกัน&lt;br /&gt;2007: ตำรวจเข้าคุมสถานการณ์ หน่วย SWAT ถูกเรียกมาเพื่อจับกุมทั้งคู่ ในข้อหาทำร้ายร่างกาย ทั้งคู่โดนไล่ออก แม้ว่าจอห์นนี่จะเป็นคนเริ่ม&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;เหตุการณ์: เจฟฟรี่ย์อยู่ไม่นิ่งในห้องเรียน รบกวนคนอื่นๆ&lt;br /&gt;1973: เจฟฟรี่ย์ถูกส่งไปห้องครูใหญ่ ถูกตี กลับมานั่งเรียนนิ่งๆ&lt;br /&gt;2007: เจฟฟรี่ย์ถูกบังคับให้กินยา Ritalin จนกลายเป็นซอมบี้ ขณะที่โรงเรียนได้เงินเพิ่ม เพราะเจฟฟรี่ย์อยู่ในหมวดนักเรียนพิการ&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;เหตุการณ์: บิลลี่ทำกระจกของพ่อแตก แล้วถูกพ่อตี&lt;br /&gt;1973: บิลลี่วังมากขึ้น โตขึ้นมาเป็นคนปกติ เรียนต่อมหาวิทยาลัย และกลายเป็นนักธุรกิจที่ประสบความสำเร็จ&lt;br /&gt;2007: พ่อของบิลลี่ถูกจับกุมข้อหาละเมิดสิทธิเด็ก บิลลี่ถูกส่งไปอยู่ในบ้านอุปถัมภ์ และเข้าแก๊ง (มีต่อ แต่ไม่ค่อยเกี่ยวกับบิลลี่ เลยไม่แปล)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;เหตุการณ์: มาร์คปวดหัว เลยเอายาแก้ปวดหัวไปโรงเรียน&lt;br /&gt;1973: มาร์คแบ่งยาให้กับครูใหญ่ ในบริเวณสูบบุหรี่&lt;br /&gt;2007: มาร์คถูกตำรวจจับกุมในข้อหาพกพายา ถูกไล่ออก รถของเค้าถูกค้นเพื่อหายาและอาวุธ&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(ข้อต่อจากอันนี้ไม่แปล เนื่องจากเป็นตลกการเมือง)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;เหตุการณ์: จอห์นนี่เอาเศษประทัด ที่เหลือจากงานดอกไม้ไฟวันชาติ ใส่ในขวดสี แล้วเอาไปจุดใส่รังมด&lt;br /&gt;1973: มดตาย&lt;br /&gt;2007: กระทรวงความมั่นคงแห่งมาตุภูมิ, หน่วยปราบปรามยาเสพย์ติดและอาวุธ และ FBI ถูกเรียกมา จอห์นนี่ถูกตั้งข้อหาก่อการร้ายภายในประเทศ FBI สอบสวนพ่อแม่ของจอห์นนี่ พี่น้องของเค้าถูกแยกไปอยู่บ้านอุปถัมภ์ คอมพิวเตอร์ถูกยึด พ่อของจอห์นนี่ถูกใส่ชื่อไว้ในบุคคลที่ต้องถูกจับตามอง และไม่สามารถขึ้นเครื่องบินพาณิชย์ได้อีกตลอดชีวิต&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;เหตุการณ์: จอห์นนี่หกล้มหัวเข่าถลอกขณะที่กำลังวิ่งในช่วงปิดเทอมแล้วร้องไห้ ครูแมรี่เข้ามาปลอบใจและกอดเค้า&lt;br /&gt;1973: แป๊บเดียวหลังจากนั้นจอห์นนี่รู้สึกดีขึ้น และกลับไปวิ่งเล่นต่อ&lt;br /&gt;2007: ครูแมรี่ถูกกล่าวหาว่าเป็นนักล่าสวาทและถูกให้ออกจากงาน พร้อมถูกจำคุกสามปี&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;บ้ากันได้ฮาจริงๆ&lt;br /&gt;&lt;br /&gt;&lt;b&gt;ที่มา:&lt;/b&gt; http://www.insane.com/jokes-1973-vs-2007/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-4356327247960321086?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/4356327247960321086/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=4356327247960321086' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/4356327247960321086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/4356327247960321086'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2007/05/1973-2007.html' title='ชีวิตในปี 1973 กับ 2007'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-369100868857691833</id><published>2007-03-09T22:44:00.000+07:00</published><updated>2007-03-09T23:16:09.757+07:00</updated><title type='text'>จัดการกับ command line argument</title><content type='html'>เวลาเรียกใช้งานโปรแกรม การ parse ค่า parameter ต่างๆ มักจะเป็นเรื่องน่าปวดหัว ถึงขนาดว่าต้องมีตัวช่วยเช่น GNU getopt มาดูกันว่าใน Python จะง่ายขนาดไหนกับการอ่านค่า parameter ที่ส่งผ่านมาจาก command line&lt;br /&gt;&lt;br /&gt;ใน Python มีหลายวิธีที่เราจะจัดการกับ command line argument หรือเรียกให้เท่ๆ ว่า argv (argument vector) โดยมีโมดูลหลายตัวที่จะทำให้เรายุ่งวุ่นวายกับ argv พวกนี้ได้ ตัวแรกที่เป็นพื้นฐานที่สุด คือโมดูล sys นี่เอง อีกตัวนึงที่มี feature หรูหราฟู่ฟ่าขึ้นมาหน่อย คือโมดูลชื่อ getopt ซึ่งจะคล้ายๆ กับ package getopt ของ GNU แต่การใช้งาน getopt ยังไม่ง่ายสมชื่อ Python เลยมีโมดูลชื่อ optparse ซึ่งออกแบบมาสำหรับการเรียกใช้งานโปรแกรมแบบ GNU/POSIX โดยเฉพาะ มาเริ่มใช้งานโมดูลตัวนี้กันเลยดีกว่า&lt;br /&gt;&lt;br /&gt;เริ่มต้น ก็ต้อง import เข้ามาก่อนตามระเบียบ เพราะโมดูลใน Python มาในรูปของ Class&lt;br /&gt;&lt;blockquote&gt;import optparse&lt;br /&gt;parser = optparse.OptionParser()&lt;/blockquote&gt;ต่อจากนั้น ก็เริ่มทำงานได้ด้วยการเพิ่ม option ต่างๆ ที่เราต้องการเข้าไป เช่น&lt;br /&gt;&lt;blockquote&gt;parser.add_option('-f','--file')&lt;/blockquote&gt;method นี้จะเป็นการเพิ่ม option เข้าไปใน parser object ของเรา สังเกตว่ามันจะ support ทั้ง argument แบบสั้น -f หรือแบบยาว --file เพื่อลูกเล่นที่หรูหรากว่าเดิม method add_option ยังมีของเล่นอีก&lt;br /&gt;&lt;blockquote&gt;parser.add_option('-f','--file',action='store',type='string',dest='filename')&lt;/blockquote&gt;การกำหนดค่าต่างๆ สำหรับ add_option ก็คือการเพิ่มรายละเอียดเข้าไปในการ parse หา argument นั่นเอง action คือการกำหนดว่าหลังจาก parse เจออันนี้แล้ว ให้ทำอะไร ซึ่งค่าปริยายคือ store หรือให้เก็บค่าไว้ในตัวแปรตามชื่อที่เรากำหนดไว้ในส่วนของ dest&lt;br /&gt;&lt;br /&gt;type เป็นการกำหนดประเภทของ argument โดย optparse จะแสดงข้อผิดพลาด หากมีการใส่ค่า argument ที่ไม่ตรงตามกฎ เช่นเรากำหนด type ให้เป็น int แต่ผู้ใช้ใส่ค่ามาเป็น string โมดูลก็จะแสดงข้อผิดพลาดออกไปให้&lt;br /&gt;&lt;br /&gt;การจัดการกับ argument ที่เป็น boolean ก็สามารถทำได้ โดยการเปลี่ยน action เช่น&lt;br /&gt;&lt;blockquote&gt;parser.add_option('-v','--verbose',action='store_true',dest='verbose')&lt;/blockquote&gt;ถ้า optparse เจอ -v หรือ --verbose ใน command line argument มันจะทำให้ตัวแปรชื่อ verbose มีค่าเป็น True ทันที&lt;br /&gt;&lt;br /&gt;การกำหนดค่า default ก็ทำได้ง่ายๆ ด้วยการใส่ parameter default=xxx เข้าไปในส่วนของ method add_option และที่เด็ดสุดๆ ของ module ตัวนี้ คือการสร้าง help ให้เอง เพียงเราใส่ help='รายละเอียดการใช้งาน' เข้าไปเพิ่มในส่วนของ add_option เมื่อผู้ใช้พิมพ์คำสั่งตามด้วย -h มันก็จะแสดง help ออกมา ตัวอย่างคำสั่งแบบใส่ทุกอย่าง ก็จะดูคล้ายๆ แบบนี้&lt;br /&gt;&lt;blockquote&gt;parser.add_option('-f','--file',action='store','dest='filename',default='/tmp/xxx',help='Specify file name')&lt;/blockquote&gt;หลังจากกำหนดค่า option ให้หมดแล้ว ก็ต้องเรียกตัว parser ให้ทำงาน ด้วยคำสั่งแบบนี้&lt;br /&gt;&lt;blockquote&gt;(optlist, args) = parser.parse_args()&lt;/blockquote&gt;โมดูลก็จะจัดการ parse ค่าที่มาจาก command line ให้เราโดยเสร็จสรรพ ส่วนของ option (พวก -a -b -c หรือ --file อะไรทั้งหลาย) ก็จะถูกเก็บไว้ใน dictionary ชื่อ optlist และ argument ก็จะถูกเก็บไว้ใน list ชื่อ args นั่นเอง&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-369100868857691833?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/369100868857691833/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=369100868857691833' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/369100868857691833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/369100868857691833'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2007/03/command-line-argument.html' title='จัดการกับ command line argument'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-117128131576734317</id><published>2007-02-12T18:41:00.000+07:00</published><updated>2007-02-12T19:36:47.746+07:00</updated><title type='text'>โมดูล ConfigParser</title><content type='html'>เวลาเขียนโปรแกรม สิ่งนึงที่สำคัญคือการสร้างและใช้งาน config file &lt;br /&gt;Python มีโมดูลที่น่าใช้งานตัวนึงชื่อ ConfigParser ซึ่งมันสามารถอ่าน configuration file ที่อยู่ในรูปแบบเดียวกับ inf ไฟล์ได้ มาดูวิธีใช้งานแบบง่ายๆ กัน&lt;br /&gt;&lt;br /&gt;เริ่มแรกเลย ต้องมี config file ที่มีรูปแบบดังนี้&lt;br /&gt;&lt;blockquote&gt;[section]&lt;br /&gt;attr1 = value1&lt;br /&gt;attr2 = value2&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;ต่อจากนั้นก็ import module เข้ามา ด้วยการใช้คำสั่ง&lt;br /&gt;&lt;blockquote&gt;import ConfigParser&lt;/blockquote&gt;&lt;br /&gt;โมดูลตัวนี้ประกอบด้วย class ชื่อ ConfigParser เราก็เลยต้อง instantiate module ขึ้นมาด้วยคำสั่ง &lt;br /&gt;&lt;blockquote&gt;config = ConfigParser.ConfigParser()&lt;/blockquote&gt;&lt;br /&gt;ขั้นตอนต่อไป เราจะใช้ method ชื่อ read() เพื่ออ่านไฟล์ config ดังนี้ โดยชื่อไฟล์อาจจะใส่เป็น path ไปเลยก็ได้ หรือว่าจะใส่ไว้ในค่าตัวแปร เพื่อความง่ายต่อการจัดการ&lt;br /&gt;&lt;blockquote&gt;config.read("config.cfg")&lt;/blockquote&gt;&lt;br /&gt;หลังจากนั้นเราก็เรียกใช้ method ชื่อ get, getint, getfloat, getboolean ได้ตามใจต้องการ โดยมี ตัวอย่าง syntax คือ&lt;br /&gt;&lt;blockquote&gt;varname = config.get('section','attr1')&lt;/blockquote&gt; &lt;br /&gt;เราก็จะได้ค่ามาจาก config ไฟล์แบบง่ายๆ&lt;br /&gt;&lt;br /&gt;นอกจากนี้ module ConfigParser ยังทำอะไรได้อีกเยอะแยะ แต่ไม่มีเวลาอ่าน :-P&lt;br /&gt;ถ้าสนใจไปหาอ่านได้ที่ http://docs.python.org/lib/module-ConfigParser.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-117128131576734317?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/117128131576734317/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=117128131576734317' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/117128131576734317'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/117128131576734317'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2007/02/configparser.html' title='โมดูล ConfigParser'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-115912199802759447</id><published>2006-09-25T01:19:00.000+07:00</published><updated>2006-09-25T01:20:11.793+07:00</updated><title type='text'>i'm kyle!</title><content type='html'>&lt;div width="250" height="76"&gt;&lt;embed src="http://www.comedycentral.com/games/assets/south_park/personality_quiz/images/animations/PQ-Kyle-v1.swf" quality="maximum" bgcolor="#61b4d6" width="250" height="300" name="http://www.comedycentral.com/games/assets/south_park/personality_quiz/images/animations/PQ-Kyle-v1.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" scale="showall" name="index" /&gt;&lt;br /&gt;&lt;a href="http://www.comedycentral.com/motherload/?ml_collection=75235" target="_blank" border="0"&gt;&lt;img src="http://www.comedycentral.com/games/assets/south_park/personality_quiz/images/images/SP-PQ-button-1.gif" width="134" height="76" border="0" alt="WATCH MORE CLIPS ON MOTHERLOAD"&gt;&lt;/a&gt;&lt;a href="http://www.comedycentral.com/games/brainteasers/sp_personality_quiz_boys.jhtml" target="_blank" border="0"&gt;&lt;img src="http://www.comedycentral.com/games/assets/south_park/personality_quiz/images/images/SP-PQ-button-2.gif" width="116" height="76" border="0" alt="FIND OUT WHICH CHARACTER YOU ARE"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-115912199802759447?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/115912199802759447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=115912199802759447' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/115912199802759447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/115912199802759447'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2006/09/im-kyle.html' title='i&apos;m kyle!'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-115660153795417182</id><published>2006-08-26T21:11:00.000+07:00</published><updated>2006-08-26T21:12:17.973+07:00</updated><title type='text'>WOW!</title><content type='html'>WOW!.. 5 Months after last post!&lt;br /&gt;&lt;br /&gt;I guess my fire is fading...&lt;br /&gt;No power to do anything...&lt;br /&gt;&lt;br /&gt;sigh*&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-115660153795417182?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/115660153795417182/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=115660153795417182' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/115660153795417182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/115660153795417182'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2006/08/wow.html' title='WOW!'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-114416739389793716</id><published>2006-04-04T23:10:00.000+07:00</published><updated>2006-04-04T23:16:33.926+07:00</updated><title type='text'>Frens come and go</title><content type='html'>Typical friends do come and go...&lt;br /&gt;&lt;br /&gt;They come to you when they want something from you.&lt;br /&gt;They go away from you when you don't have anything to give them.&lt;br /&gt;&lt;br /&gt;They treat you like no one when you got nothing important to them.&lt;br /&gt;They treat you like someone when you got something important to them.&lt;br /&gt;&lt;br /&gt;They saw you when you're important to them.&lt;br /&gt;They didn't see you when you're not important to them.&lt;br /&gt;&lt;br /&gt;How long will I be able to live like this?&lt;br /&gt;How long will I be able to be a good giver?&lt;br /&gt;How long will I be able to ignore bad things that they've done to me?&lt;br /&gt;&lt;br /&gt;Do I have to live alone?&lt;br /&gt;Or do they have to change?&lt;br /&gt;Or is it me that have to change?&lt;br /&gt;&lt;br /&gt;Or it's my fault that I'm in wrong place, wrong time with wrong people?&lt;br /&gt;To Thai people,&lt;br /&gt;Internship = photocopying, faxing, making coffee and chatting?&lt;br /&gt;Tech Show = where you can get a lot of notebooks, pens and t-shirts&lt;br /&gt;Party = getting girls by saying 'making friends'&lt;br /&gt;&lt;br /&gt;Life sucks&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-114416739389793716?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/114416739389793716/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=114416739389793716' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/114416739389793716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/114416739389793716'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2006/04/frens-come-and-go.html' title='Frens come and go'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-114227076523347634</id><published>2006-03-14T00:19:00.000+07:00</published><updated>2006-03-14T00:26:05.256+07:00</updated><title type='text'>so what the heck are all these for??</title><content type='html'>just finished my midterm exams... where people turned themselves into nerds and became a-s-s (in certain cases, they do!)&lt;br /&gt;&lt;br /&gt;had two parties in a row -_-' now i'm so sick of partying...&lt;br /&gt;&lt;br /&gt;and why do my friends HAVE TO HAVE LOVE PROBLEMS???&lt;br /&gt;or it's just their attention-getters???&lt;br /&gt;&lt;br /&gt;people gone weird when they got drunk...&lt;br /&gt;one girl cried, laugh and cried... &lt;br /&gt;if love can do this to people? let's not have it...&lt;br /&gt;&lt;br /&gt;grow up! ! ! it's ok to cry ... but don't laugh then cry and then laugh again&lt;br /&gt;it would hurt ur brain!... make u become an a-s-s faster!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-114227076523347634?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/114227076523347634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=114227076523347634' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/114227076523347634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/114227076523347634'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2006/03/so-what-heck-are-all-these-for.html' title='so what the heck are all these for??'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-113829604180982960</id><published>2006-01-27T00:13:00.000+07:00</published><updated>2006-01-27T00:20:41.820+07:00</updated><title type='text'>It's technology that brought us together</title><content type='html'>Who said technology makes people idiot?&lt;br /&gt;I'm the one who's against that quote!&lt;br /&gt;&lt;br /&gt;Thanks to technology (Mostly from Apple) that brought me and my girlfriend together&lt;br /&gt;&lt;br /&gt;Although we're half a world apart - New York and Thailand,&lt;br /&gt;Lots of my friends are having long-distant relationships too!&lt;br /&gt;Obviously I'm the last man standing here :-)&lt;br /&gt;One year and looking good&lt;br /&gt;&lt;br /&gt;Cheap overseas call through Skype&lt;br /&gt;Nice VDO Chat via iChat - H. 264 is far beyond my expectation, even on 128k upstream link&lt;br /&gt;"Our calendar" by iCal - No more time difference (with use of DAV)&lt;br /&gt;&lt;br /&gt;Cheers to inventors!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-113829604180982960?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/113829604180982960/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=113829604180982960' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/113829604180982960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/113829604180982960'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2006/01/its-technology-that-brought-us.html' title='It&apos;s technology that brought us together'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-112636920629290544</id><published>2005-09-10T23:18:00.000+07:00</published><updated>2005-09-10T23:20:06.300+07:00</updated><title type='text'>IRINN! Where the heck are you???</title><content type='html'>No call, no IM, no.. no and no no no...&lt;br /&gt;&lt;br /&gt;I cannot call you, your mom pick up da phone - say she borrowed ur phone - and prolly will return it to you in 6 hours!&lt;br /&gt;Do I have to wait until morning??!?!?!?!??!?! 8o| grrr grrr...&lt;br /&gt;&lt;br /&gt;skype me, then :-) miss you na roo pa hah?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-112636920629290544?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/112636920629290544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=112636920629290544' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/112636920629290544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/112636920629290544'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2005/09/irinn-where-heck-are-you.html' title='IRINN! Where the heck are you???'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-112627258363712829</id><published>2005-09-09T20:21:00.000+07:00</published><updated>2005-09-09T20:29:43.643+07:00</updated><title type='text'>Irinn, come back to me</title><content type='html'>My intention of writing this blog was to 'bitch' about anything that i want to (coz no one's gonna come and read it)&lt;br /&gt;&lt;br /&gt;and now, im gonna change it - let's say add another intention&lt;br /&gt;TO TELL MY GIRLFRIEND HOW MUCH I LOVE (and MISS) HER!!!&lt;br /&gt;&lt;br /&gt;noon ka, I don't know how to say 'i miss you a lot' anymore laew&lt;br /&gt;i already did it sooo many times&lt;br /&gt;&lt;br /&gt;I miss the time I'm being with you.&lt;br /&gt;I miss your hug, your kiss and whatsoever we did when we're still together.&lt;br /&gt;&lt;br /&gt;Only the distance that keeps us apart, only distant (darn you!)&lt;br /&gt;&lt;br /&gt;although a lot of technologies keeps us in touch&lt;br /&gt;but it's not like when I'm with real you roo mai?&lt;br /&gt;&lt;br /&gt;I'll wait for the day you come back ok?&lt;br /&gt;I'll wait to see you running to me, jump and hug me at the airport :-P&lt;br /&gt;&lt;br /&gt;love you tee sud na ka&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-112627258363712829?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/112627258363712829/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=112627258363712829' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/112627258363712829'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/112627258363712829'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2005/09/irinn-come-back-to-me.html' title='Irinn, come back to me'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-112421793912269874</id><published>2005-08-17T01:44:00.000+07:00</published><updated>2005-08-17T01:45:39.130+07:00</updated><title type='text'>S+ARCK Mouse</title><content type='html'>Finally I bought it ... without being hesitate... &lt;br /&gt;&lt;br /&gt;S+ARCK!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-112421793912269874?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/112421793912269874/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=112421793912269874' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/112421793912269874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/112421793912269874'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2005/08/sarck-mouse.html' title='S+ARCK Mouse'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-112274903751269995</id><published>2005-07-31T01:39:00.000+07:00</published><updated>2005-07-31T01:43:57.516+07:00</updated><title type='text'>Funny fact about Windows</title><content type='html'>A lot of my friends were bitching about how their windows laptops are dull, color-less and blah-blah...&lt;br /&gt;&lt;br /&gt;All they want is the 'dock' just like what is in my iBook :-)&lt;br /&gt;&lt;br /&gt;too bad, but it's only available in Mac OS !!!&lt;br /&gt;then some people argued - no! there's a windows version available too!&lt;br /&gt;&lt;br /&gt;so I googled for "apple dock in windows xp" and got 300k++ results...&lt;br /&gt;i guess a lot of windows users just LOVE the Dock!&lt;br /&gt;&lt;br /&gt;Redmond, start your photocopier!&lt;br /&gt;&lt;br /&gt;I also came up with this conclusion&lt;br /&gt;"How to turn your PC into a Mac?" = "Sell it! and go buy Mac!" (dumb-dumb)&lt;br /&gt;&lt;br /&gt;cheers!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-112274903751269995?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/112274903751269995/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=112274903751269995' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/112274903751269995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/112274903751269995'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2005/07/funny-fact-about-windows.html' title='Funny fact about Windows'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-112248158651579103</id><published>2005-07-27T23:21:00.000+07:00</published><updated>2005-07-27T23:26:26.520+07:00</updated><title type='text'>Sorry for undue development</title><content type='html'>Dear one domain name registrar&lt;br /&gt; I'm feeling very happy with your undergoing development to your system. You know how MUCH of loss you've caused me???!?!?? I gave AL(MOST)L my trust on you! More than 20 of my domain names are registered with you. And look what have you done to me!&lt;br /&gt;&lt;br /&gt;No more, I'm transferring all my domain names to some other 'more reliable' registrar&lt;br /&gt;&lt;br /&gt;YOU SUCK!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-112248158651579103?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/112248158651579103/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=112248158651579103' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/112248158651579103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/112248158651579103'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2005/07/sorry-for-undue-development.html' title='Sorry for undue development'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-111880614156805093</id><published>2005-06-15T10:26:00.000+07:00</published><updated>2005-06-15T10:29:01.573+07:00</updated><title type='text'>Now it's time for paperwork</title><content type='html'>CAT IDC is now banning people who dont have 'proper' document to access their IDC.&lt;br /&gt;&lt;br /&gt;This sucks, how could I obtain a writen consent from my boss if something goes wrong at 2am in the morning??&lt;br /&gt;&lt;br /&gt;God bless CAT, they have to most stupid boards ever!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-111880614156805093?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/111880614156805093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=111880614156805093' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/111880614156805093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/111880614156805093'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2005/06/now-its-time-for-paperwork.html' title='Now it&apos;s time for paperwork'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-111755764709474298</id><published>2005-05-31T23:38:00.000+07:00</published><updated>2005-05-31T23:40:47.096+07:00</updated><title type='text'>Everybody loves Lingo</title><content type='html'>Been trying to write an ActionScript on Macromedia FlashMX for 2 hours. It turned out to be nothing.&lt;br /&gt;This is far beyond my ability. Is there any way to have a on enterFrame() trigger like Lingo in Director?&lt;br /&gt;&lt;br /&gt;I'm switching back to Director :-P boo... Flash&lt;br /&gt;(Maybe I'm stupid, there's such a thing in actionScript.)&lt;br /&gt;&lt;br /&gt;God bless&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-111755764709474298?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/111755764709474298/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=111755764709474298' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/111755764709474298'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/111755764709474298'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2005/05/everybody-loves-lingo.html' title='Everybody loves Lingo'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-111596101063608716</id><published>2005-05-13T12:08:00.000+07:00</published><updated>2005-05-13T12:10:10.640+07:00</updated><title type='text'>how nerd I am</title><content type='html'>Just took this nerd quiz, haha.. this is fun!!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.nerdtests.com/ft_nq.php?im"&gt;&lt;img src="http://www.nerdtests.com/images/ft/nq.php?val=9603" alt="I am nerdier than 34% of all people. Are you nerdier? Click here to find out!"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-111596101063608716?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/111596101063608716/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=111596101063608716' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/111596101063608716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/111596101063608716'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2005/05/how-nerd-i-am.html' title='how nerd I am'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-111529995774825130</id><published>2005-05-05T20:29:00.000+07:00</published><updated>2005-05-05T20:32:37.756+07:00</updated><title type='text'>Tough life</title><content type='html'>10 projects coming in ... yeahhh...&lt;br /&gt;10 x 100 working hours are required... aww...&lt;br /&gt;10 x xxx USD is coming also... woooww....&lt;br /&gt;0.3 x 10 x xxx USD is also coming as TAX... mann...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-111529995774825130?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/111529995774825130/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=111529995774825130' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/111529995774825130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/111529995774825130'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2005/05/tough-life.html' title='Tough life'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-111376559877267294</id><published>2005-04-18T02:17:00.000+07:00</published><updated>2005-04-18T02:19:58.773+07:00</updated><title type='text'>iBook speed booster!</title><content type='html'>I never before thought that RAM can improve the overall performance this much.&lt;br /&gt;Just bought a brand new 256MB SDRam for my iBook.. with the price around 55USD...&lt;br /&gt;&lt;br /&gt;What I got is amazing, stunning, shocking and awesomee&lt;br /&gt;Never before my iBook got faster.. way faster&lt;br /&gt;&lt;br /&gt;cheers Mac..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-111376559877267294?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/111376559877267294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=111376559877267294' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/111376559877267294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/111376559877267294'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2005/04/ibook-speed-booster.html' title='iBook speed booster!'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-111277114242900234</id><published>2005-04-06T14:03:00.000+07:00</published><updated>2005-04-06T14:05:42.430+07:00</updated><title type='text'>Sorry girl</title><content type='html'>Sorry my girlfriend, I just wanted you to be more grow-up.&lt;br /&gt;I hope what I did did not hurt you.&lt;br /&gt;&lt;br /&gt;I'm sorry&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-111277114242900234?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/111277114242900234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=111277114242900234' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/111277114242900234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/111277114242900234'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2005/04/sorry-girl.html' title='Sorry girl'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-111089806588649092</id><published>2005-03-15T21:43:00.000+07:00</published><updated>2005-03-15T21:47:45.886+07:00</updated><title type='text'>Sorry</title><content type='html'>As a professor assistant, I had to do my duty, grading the exams.&lt;br /&gt;&lt;br /&gt;Unfortunately, scores that came out were not quite impressive for many people.&lt;br /&gt;I made a lot of people cry, feeling miserable and somehow wanna drop the subject.&lt;br /&gt;&lt;br /&gt;Sorry, but I was just doing my duty. It's life, Take it!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-111089806588649092?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/111089806588649092/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=111089806588649092' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/111089806588649092'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/111089806588649092'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2005/03/sorry.html' title='Sorry'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-110856856383928398</id><published>2005-02-16T22:41:00.000+07:00</published><updated>2005-02-16T22:49:38.503+07:00</updated><title type='text'>LiveStrong LiveStrong</title><content type='html'>&lt;span style="font-family:verdana;"&gt;A pack of 10 Livestrong wristband has just arrived!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;How sweet, hope many people do still want it...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Using Mac is becoming easier and easier...&lt;br /&gt;&lt;br /&gt;Being a teacher-assistant can harm your life!&lt;br /&gt;Students are yearning... (perhaps dying) for the SCORES!!!&lt;br /&gt;&lt;br /&gt;They're gonna buy me everything I want, just to make their scores up!&lt;br /&gt;Christ, this world has gone insane...&lt;br /&gt;&lt;br /&gt;Peace out for those students.. amen&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-110856856383928398?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/110856856383928398/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=110856856383928398' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/110856856383928398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/110856856383928398'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2005/02/livestrong-livestrong.html' title='LiveStrong LiveStrong'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-110844190811901028</id><published>2005-02-15T11:30:00.000+07:00</published><updated>2005-02-15T11:31:48.120+07:00</updated><title type='text'>I'm switched</title><content type='html'>&lt;span style="font-family: verdana;"&gt;Yea... Hello Apple!&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; &lt;span style="font-family: verdana;"&gt;Just bought an iBook and having fun with it :-)&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; &lt;span style="font-family: verdana;"&gt;Nice to see something... (that should be) better than Microsoft Windows&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-110844190811901028?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/110844190811901028/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=110844190811901028' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/110844190811901028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/110844190811901028'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2005/02/im-switched.html' title='I&apos;m switched'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-110801394958804900</id><published>2005-02-10T12:38:00.000+07:00</published><updated>2005-02-10T12:39:09.593+07:00</updated><title type='text'>Forwarded Messages</title><content type='html'>&lt;span style="font-family: verdana;"&gt;Have you ever think about the price of your e-mails?&lt;/span&gt;&lt;br /&gt; &lt;span style="font-family: verdana;"&gt;I'm gonna show you one example of its price&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; &lt;span style="font-family: verdana;"&gt;Situation: You have 100 people in your contact list, all of them love to forward stuff. One day you got a good e-mail (with pornos, pictures.. whatever) and you decided to forward this e-mail to every people in your contact list. Let's assume the size of the message is 100 kilobytes (actually it's definitely bigger than this, but I'm not good at doing math)&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; &lt;span style="font-family: verdana;"&gt;You (100 kb) =&gt; 100 people (100 x 100 kb = 10,000 kbytes or 10 megabytes)&lt;/span&gt;&lt;br /&gt; &lt;span style="font-family: verdana;"&gt;see? 10 megabytes in one single 'send' click&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; &lt;span style="font-family: verdana;"&gt;Now when your friends got your messages, they decided again to forward your mail to other 100 people in their contact list&lt;/span&gt;&lt;br /&gt; &lt;span style="font-family: verdana;"&gt;Your friend (100 kb) =&gt; 100 people (10 megabytes)&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; &lt;span style="font-family: verdana;"&gt;what do we have now? you and your friend? 20 megabytes&lt;/span&gt;&lt;br /&gt; &lt;span style="font-family: verdana;"&gt;imagine your rest of 99 friends... how many space a single e-mail can occupy??&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; &lt;span style="font-family: verdana;"&gt;How about the price of storage?&lt;/span&gt;&lt;br /&gt; &lt;span style="font-family: verdana;"&gt;Yea you might say it's cheap nowadays... It's cheap.. true...&lt;/span&gt;&lt;br /&gt; &lt;span style="font-family: verdana;"&gt;But think of other cost.. Internet connections, Bandwidth, computer server...&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; &lt;span style="font-family: verdana;"&gt;STOP FORWARDING STUPID STUFF TODAY!&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-110801394958804900?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/110801394958804900/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=110801394958804900' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/110801394958804900'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/110801394958804900'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2005/02/forwarded-messages.html' title='Forwarded Messages'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-110785029603524488</id><published>2005-02-08T16:05:00.000+07:00</published><updated>2005-02-08T15:11:36.036+07:00</updated><title type='text'>Reasons why Thai's biggest ISP sucks</title><content type='html'>&lt;span style="font-family:verdana;"&gt;I've been put into the 'state-of-patience' for days while waiting for CAT (Communication Authority of Thailand) to fix their networks. But all my patience yields is the unavailability of my server. Currently my company lose almost 1000$ a day while waiting for this stupid ISP to work!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;How come you can see the IIS running on Linux Operating system? (Check it out at &lt;/span&gt;&lt;a href="http://www.netcraft.com/whats"&gt;&lt;span style="font-family:verdana;"&gt;www.netcraft.com/whats&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;"&gt;) enter 'www.netbranch.co.th' for the URL and you'll see the magic made by CAT...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;They're suppose to be the best ISP in Thailand. Now they can be only the best... happiness ruiner... CAT sucks&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-110785029603524488?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/110785029603524488/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=110785029603524488' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/110785029603524488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/110785029603524488'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2005/02/reasons-why-thais-biggest-isp-sucks.html' title='Reasons why Thai&apos;s biggest ISP sucks'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-110727372399381942</id><published>2005-02-01T22:58:00.000+07:00</published><updated>2005-03-15T22:04:18.523+07:00</updated><title type='text'>Expectations</title><content type='html'>&lt;span style="font-family:verdana;"&gt;What (the hell) on earth people are expecting for?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Girls - Nice guy? Rich guy? Unlimited credit card?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Guys - Nice girl? Rich girl? Unlimited gadgets?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;At one point, I don't think people can have everything they want!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Imagine if we have 1 trillion dollars... what would we spend it for?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Buying a space station maybe?... &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;For nerds,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Their only expectations might be getting good grades...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Come on people... step out, get some fresh air...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;There are lifes for you to live!&lt;br /&gt;&lt;br /&gt;By the way, the SMC PCMCIA Wireless LAN Adapter SUCKS!&lt;br /&gt;Their driver is having a problem with my Windows XP... Gee..&lt;br /&gt;Should have bought LinkSYS... It doesn't even need the driver..&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-110727372399381942?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/110727372399381942/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=110727372399381942' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/110727372399381942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/110727372399381942'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2005/02/expectations.html' title='Expectations'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-110702164166109473</id><published>2005-01-30T00:58:00.000+07:00</published><updated>2005-01-30T01:00:41.660+07:00</updated><title type='text'>Exhausted</title><content type='html'>Completed The 'Front Page' of the Front-End module at 1.00am ... This sucks&lt;br /&gt;&lt;br /&gt;Other people in the company would be having such a great time in their beds... and me?&lt;br /&gt;&lt;br /&gt;Hahaha.... running out of idea...&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-110702164166109473?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/110702164166109473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=110702164166109473' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/110702164166109473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/110702164166109473'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2005/01/exhausted.html' title='Exhausted'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481751.post-110700870383146974</id><published>2005-01-29T21:22:00.000+07:00</published><updated>2005-01-29T21:25:03.830+07:00</updated><title type='text'>Hello World</title><content type='html'>&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;My First Blog... My First Blog!!!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:Verdana;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;Welcome to my first blog... If you don't know me, then it's fine... I don't think we've ever meet...&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10481751-110700870383146974?l=aiau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aiau.blogspot.com/feeds/110700870383146974/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10481751&amp;postID=110700870383146974' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/110700870383146974'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481751/posts/default/110700870383146974'/><link rel='alternate' type='text/html' href='http://aiau.blogspot.com/2005/01/hello-world.html' title='Hello World'/><author><name>au</name><uri>http://www.blogger.com/profile/09491399995386634400</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
