tag:blogger.com,1999:blog-67414572009-03-23T15:26:29.187-05:00the confession of a late night programmerlife is out there.pruethttp://www.blogger.com/profile/17510054325500399649noreply@blogger.comBlogger39125tag:blogger.com,1999:blog-6741457.post-75704455032701280012009-03-23T15:17:00.002-05:002009-03-23T15:26:09.952-05:00Me, EEE and GMail<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm4.static.flickr.com/3422/3379464899_0e7c0db3b2.jpg?v=0"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 500px; height: 107px;" src="http://farm4.static.flickr.com/3422/3379464899_0e7c0db3b2.jpg?v=0" alt="" border="0" /></a><br />My <a href="http://www.flickr.com/photos/pruet/3104240250/">EEE</a> has 1024x600 screen. The height of 600 is not a big problem because we have scroll bar. But the width of 1024 is too short for all google-service-you-want-to-use, my gmail address, "New stuff in Labs!", some icons, "Older Version", and something else. So, that top line is broken into two lines, which use more space on width (It's ok for now, remember? we have scroll bar). But, Google, can you fix this? remove either "Older Version" or "New stuff.." and I can live peacefully with my 1024 width screen.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6741457-7570445503270128001?l=project-ile.net%2Flulu%2Fconfession%2Findex.html'/></div>pruethttp://www.blogger.com/profile/17510054325500399649noreply@blogger.com0tag:blogger.com,1999:blog-6741457.post-68078652168009936682009-03-23T15:14:00.002-05:002009-03-23T15:16:51.778-05:00Py-XChat-Twitter 1.3.0The new version of Py-XChat-Twitter is at the google code <a href="http://code.google.com/p/py-xchat-twitter/">project page</a>. With this version, you can dm or rt the others. Next major version (1.4?), I will implement some kind of python thread, so XChat won't get freezed when you post (or retreive) tweet.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6741457-6807865216800993668?l=project-ile.net%2Flulu%2Fconfession%2Findex.html'/></div>pruethttp://www.blogger.com/profile/17510054325500399649noreply@blogger.com0tag:blogger.com,1999:blog-6741457.post-3112937151446555452009-02-27T18:46:00.002-05:002009-02-27T18:50:54.241-05:00Twitter Script for X-Chat Ver. 1.2Ok, this is the third revision of my XChat/XChatAqua python plugin for twitter. Actually, I create a <a href="http://code.google.com/p/py-xchat-twitter/">google-code project</a> for this script, so it might be a good idea to visit the google-code to get the latest code/update. Anyway, I will post the update to the code at this blog also (otherwise, it will be too quiet here, ha ha ha).<div><br /></div><div>In this version, a new command, /replies , is added to retrieve your @replies list. Also, the update on friends' timeline with your name inside will be marked with red, to make it easier for you to see someone try to talk with you.</div><div><br /></div><div>I'm thinking what to add for the next version, any idea?</div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6741457-311293715144655545?l=project-ile.net%2Flulu%2Fconfession%2Findex.html'/></div>pruethttp://www.blogger.com/profile/17510054325500399649noreply@blogger.com0tag:blogger.com,1999:blog-6741457.post-34310294085019587452009-02-19T19:08:00.002-05:002009-02-19T19:45:44.858-05:00Twitter Script for X-Chat Ver. 1.1Ok, this is the second version of my python twitter script for x-chat. You can see the first version <a href="http://project-ile.net/lulu/confession/2008/10/twitter-script-for-x-chat.html">here</a>. In this version, two features are added:<br /><br />First, the ability to redirect the output of twitter to a particular channel. In the previous version, the messages from twitter will go to your current channel. In this version, you can specify the channel you want to redirect messages to in the configuration file, like this:<br /><br /> [twitter]<br /> username = yourusername<br /> password = yourpassword<br /> interval = 300<br /> channel = yourchannel<br /><br />Don't put # in front of your channel name.<br /><br />Second, a new command, /replies , can be used to retrieves the replies list.<br /><br />You can download it from <a href="http://project-ile.net/lulu/twitter-1.1.py">here</a>. And again, the license is <a href="http://en.wikipedia.org/wiki/WTFPL">WTFPL</a>, so do what ever you want to do with it.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6741457-3431029408501958745?l=project-ile.net%2Flulu%2Fconfession%2Findex.html'/></div>pruethttp://www.blogger.com/profile/17510054325500399649noreply@blogger.com0tag:blogger.com,1999:blog-6741457.post-44788088516691079702009-02-17T23:04:00.001-05:002009-02-17T23:04:26.240-05:00Erlang toolbar<div xmlns='http://www.w3.org/1999/xhtml'>Very useful set of command for developing software for erlang.<br/><br/>toolbar:start().<br/><br/><div class='zemanta-pixie'><img src='http://img.zemanta.com/pixy.gif?x-id=c88038f5-35ff-4e02-9241-e10c6bd4965f' class='zemanta-pixie-img'/></div></div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6741457-4478808851669107970?l=project-ile.net%2Flulu%2Fconfession%2Findex.html'/></div>pruethttp://www.blogger.com/profile/17510054325500399649noreply@blogger.com0tag:blogger.com,1999:blog-6741457.post-16078924091565761262008-12-18T00:40:00.001-05:002008-12-18T00:40:44.860-05:00Tripitaka in XML<div xmlns='http://www.w3.org/1999/xhtml'>I've produced an XML representation of the Tripitaka (Kingdom of Siam version). It can be access <a href='http://project-ile.net/tripitaka/index.html'>here</a>. The XML scheme in used is DocBook, so it should be easy to process. If you need more information in Thai, please go to this <a href='http://serenely.think-out-loud.net/2008/11/%e0%b8%9e%e0%b8%a3%e0%b8%b0%e0%b9%84%e0%b8%95%e0%b8%a3%e0%b8%9b%e0%b8%b4%e0%b8%8e%e0%b8%81%e0%b8%89%e0%b8%9a%e0%b8%b1%e0%b8%9a-xml/'>page</a>.<br/></div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6741457-1607892409156576126?l=project-ile.net%2Flulu%2Fconfession%2Findex.html'/></div>pruethttp://www.blogger.com/profile/17510054325500399649noreply@blogger.com0tag:blogger.com,1999:blog-6741457.post-80833233846036075202008-10-22T19:33:00.004-05:002008-10-22T20:01:57.386-05:00Twitter Script for X-Chat<div xmlns="http://www.w3.org/1999/xhtml"><span style="font-weight: bold;">The situation</span><br /><br />Ok, the problem is I've to many programs opened at the same time in my Macbook. One for IM, i.e., Adium, one for IRC, i.e., X-Chat-Aqua, and one for twitter, i.e., Twhirl, which is not good. In Ubuntu, Pidgin will handle whole thing beautifully (yeah, you need <a href="http://code.google.com/p/microblog-purple/">mbpidgin</a> plugin for Pidgin). Unfortunately, Adium can't do that so I've to find another way out.<br /><br />Then, I found this page on Internet discussing how to write <a href="http://arstechnica.com/journals/linux.ars/2007/08/29/send-twitter-updates-from-xchat-using-python">a python script</a> for posting tweet from X-Chat. Then, I combine it with the <a href="http://sugree.com/node/193">code</a> from the sugree himself for syncing twitter and NokNok. Finally, I got this <a href="http://project-ile.net/lulu/twitter.py">code</a> for posting tweet to and retrieve updated from twitter within X-Chat.<br /><br />First, you will need to install simplejson and python plugin for X-Chat. Then, put the code into Plugins directory of X-Chat, in my case, it is /Applications/X-Chat Aqua/Plugins. Next, you need to create a configuration file, called .xchattwitt.cfg in your home folder. Inside, put your twitter username/password and update interval like this<br /><br />[twitter]<br />username = myname<br />password = mypassword<br />interval = 300<br /><br />The interval is in second. Finally, restart your X-Chat or load the script into your X-Chat. Then, you can tweet by typing "/tweet This is my message" in any window. The updated tweets will be shown on your current window, with Twitter user name. If you don't like any of this behavior, you can change it from the code.<br /><br /><span style="font-weight: bold;">Code:</span><br />You can download the code from <a href="http://project-ile.net/lulu/twitter.py">here</a>.<br /><br /><span style="font-weight: bold;">License:</span><br />The code is distributed under <a href="http://en.wikipedia.org/wiki/WTFPL">WTFPL</a>.<br /><br /><span style="font-weight: bold;">Contact:</span><br /><a href="http://twitter.com/pruet">@pruet</a><br /><br /><span style="font-weight: bold;">Thanks:</span><br /><a href="http://arstechnica.com/authors.ars/segphault">Ryan Paul</a> and <a href="http://twitter.com/sugree">@Sugree</a></div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6741457-8083323384603607520?l=project-ile.net%2Flulu%2Fconfession%2Findex.html'/></div>pruethttp://www.blogger.com/profile/17510054325500399649noreply@blogger.com0tag:blogger.com,1999:blog-6741457.post-49689222480602532902008-05-30T22:28:00.003-05:002008-05-30T22:53:23.066-05:00First StepOk, basically, now we've only one choice and we know that it's not from the Sun. Basically it's the work of <a href="http://www.saurik.com/">the man</a> who ports <a href="http://jamvm.sourceforge.net/">JamVM</a>, <a href="http://www.gnu.org/software/classpath/">GNU Classpath</a> and Java/ObjC binding to iPhone/iPod Touch. Thank you, thank you. So, following are the steps to make your iPhone/iPod Touch Javanized:<br /><br /><ol><li> As the first step, of course, you need to jailbreak your iPhone first (I'll call it only iPhone from here, but you know, it's including iPod Touch as well). The best and easiest way is by using Ziphone.</li><li>Then, to make your iPhone usefule, please install OpenSSH, and Term-vt100 from the Installer.app</li><li>Install Cydia application manager (actually, a Debian APT GUI front-end, so if you're Debian or Ubuntu Linux users, you're at home with all that apt-* command), to do this, in Insaller.app, add http://apptapp.saurik.com to the source list, then refresh. Then, install "Cydia Installer" and after that, quit Installer.app.</li><li>Open Cydia and reload the package list. After that, please install the following packages:</li><ol><li>JamVM : this is the Java VM for iPhone</li><li> GNU Classpath : the java class library</li><li>JocStrap : Java/Objective-C binder/bridge</li><li>UICaboodle : iPhone UI library and launcher, you need this for GUI application</li><li> Java SQLite : JDBC Driver for SQLite, the database engine used by iPhone</li><li>Jikes : Java compiler, yeah, you can compile your Java code "in" your iPhone.</li><li>iPhone-Java : an example applications for Java/iPhone.</li></ol><br />If you're like me, a unix geek, you'll need the VIM, sorry Emacs, you've no place on iPhone :D . Also, I recommend to install wget, cvs (or svn), Bash, bzip2, gzip, zip, top, less, lynx, make and another everyday unix commands. You can install these program by using Cydia GUI, or apt/dpkg tools in command shell.<li> Then, you can start the terminal, fire up the vim and start writing your first Hello World in iPhone. I put an example below, well, just in case<br /><br /><span style="font-weight: bold;">Hello.java</span><br /><pre>public class Hello {<br />public static void main(String[] args)<br />{<br />System.out.println("Hello World.");<br />}<br />}</pre>Then, compile it using this command<br />$ jikes -bootclasspath /usr/share/classpath/glibj.zip Hello.java<br />It's a bit ugly because you've to tell jikes where the class library is. Anyway, you can write a shell script call "javac" like this,<br /><pre> #!/bin/sh<br />jikes -bootclasspath /usr/share/classpath/glibj.zip "$@"<br /><br /></pre>Will handle our business just fine.<br /></li><br /><li>Then, you can run your application in the usual way, i.e, java -cp . Hello</li></ol>If you want to see some picture, <a href="http://homepage.mac.com/robert.lougher/.Public/jamvm-on-iphone-screenshots/hello.jpg">look at this</a> (link from http://homepage.mac.com/robert.lougher/).<br /><br /><ol><br /></ol><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6741457-4968922248060253290?l=project-ile.net%2Flulu%2Fconfession%2Findex.html'/></div>pruethttp://www.blogger.com/profile/17510054325500399649noreply@blogger.com1tag:blogger.com,1999:blog-6741457.post-47599341871818443742008-05-30T21:35:00.001-05:002008-05-30T21:35:52.480-05:00Series of blogging on Java and iPhone/iPod Touch<div xmlns='http://www.w3.org/1999/xhtml'>Dear,<br />I'm gonna post a bunch of blog entries on Java and iPhone/iPod Touch<br />for now. I'm working on a project which will use Java and iPhone/iPod<br />Touch, so I'd like to put down my experience, and share with you guys.<br />That's all this is about.</div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6741457-4759934187181844374?l=project-ile.net%2Flulu%2Fconfession%2Findex.html'/></div>pruethttp://www.blogger.com/profile/17510054325500399649noreply@blogger.com0tag:blogger.com,1999:blog-6741457.post-63811019076486630872008-05-15T13:56:00.001-05:002008-05-15T13:59:40.136-05:00<a href="http://en.wikipedia.org/wiki/Philippe_Kahn">Philippe</a>'s 3 Rules of Software Craftsmanship:<br /><br /><span style="font-weight:bold;">#1</span> "Start with a vision"<br /><span style="font-weight:bold;">#2</span> "Throwing more bodies at software projects only makes things worse"<br /><span style="font-weight:bold;">#3</span> "There are three vectors that drive software craftsmanship: quality, schedule, and features. The challenge is that you only get to pick two"<br /><br />Side dish:<br />Phillippe's law : "The productivity of a software developer in a team of N people is diminished by dividing it by the cube root of N"<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6741457-6381101907648663087?l=project-ile.net%2Flulu%2Fconfession%2Findex.html'/></div>pruethttp://www.blogger.com/profile/17510054325500399649noreply@blogger.com0tag:blogger.com,1999:blog-6741457.post-64600223968554468492008-05-10T01:17:00.002-05:002008-05-10T02:01:01.073-05:00<a href="http://en.wikipedia.org/wiki/Alan_Perlis">Alan J. Perlis,</a>เคยกล่าวไว้ว่า<a href="http://www.cs.yale.edu/quotes.html"> "A language that doesn't affect the way you think about programming, is not worth knowing." </a> แปลลวก ๆ ก็คือ ภาษาที่ไม่กระทบต่อวิธีการคิดของคุณต่อการเขียนโปรแกรมนั้นไม่มีค่าพอที่จะไปเรียนรู้มัน ผมก็เลยลองไล่ ๆ ดูว่ามีภาษาอะไรบ้างที่"เปลี่ยน"วิธีการคิดของผมบ้างนะครับ <br /><br /><b>Pascal</b><br /><br />เป็นภาษาแรกที่หัดเขียน (เด็กรุ่นผมส่วนใหญ่ ก็คงหัดเขียน Pascal แหละ รุ่นไหนเหรอ ก็รุ่น CW/RW นะ :P) ที่สำคัญคือ ตอนนั้นผมยังไม่มีคอมพิวเตอร์เป็นของส่วนตัว แต่ไปใช้คอมพ์ที่โรงเรียนแม่ ซึึ่งทั้งโรงเรียน มีคอมพ์อยู่ตัวเดียว (PC/XT รุ่น Floppy disk 5 1/4 คู่ด้วย) ทำให้ผมสามารถใช้คอมพ์ได้แค่อาทิตย์ละ 1-2 ชั่วโมง แต่เวลาแค่ 1-2 ชั่วโมงมันไม่พอจะให้หัดเขียนโปรแกรมหรอกครับ (เขียน Hello World ก็ใช้เวลาคอมไพล์สัก 5 นาทีได้แล้ว) ถ้าต้องมัวแต่ต้องไปนั่งคิด ๆ พิมพ์ ๆ ไป แก้โค้ดไป รับรองอาทิตย์หนึ่งได้แค่โปรแกรมเดียว วิธีการที่ผมใช้ก็คือ ผมจะเขียนโปรแกรมในกระดาษก่อน แล้วลองคอมไพล์ในหัวดูว่าโปรแกรมมันควรจะทำงานยังไง เวลาเจอข้อผิดผลาด ก็แก้ในกระดาษไปแบบนี้ ข้อดีของ Pascal ก็คือ syntax มันค่อนข้างชัดเจนและอ่านง่าย ทำให้เวลาจินตนาการในหัวแล้วสมองไม่ต้องทำงานหนักมาก (ลองจินตนาการการทำงานของโปรแกรมที่เขียนด้วย Perl ดูซิครับ...) แล้วพอคิดว่าโปรแกรมทำงานได้ถูกต้องดีแล้ว ก็ค่อยเอาไปทดสอบกับคอมพ์จริง ๆ อีกที ซึ่งส่วนใหญ่ก็จะคอมไพล์ทีเดียวผ่าน :D ด้วยการหัดเขียนภาษา Pascal แบบนี้ ทำให้ผมสามารถพัฒนาการมองโปรแกรมแล้วคิดตามในหัวได้ เรียกว่าผมสามารถคิดแบบเดียวกับที่คอมพิวเตอร์คิดได้ก็ด้วยการหัดเขียน Pascal ในกระดาษนี่แหละ<br /><br />ถ้าไปหัดเขียนโปรแกรมกับคอมพสมัยนี้อาจจะทำไม่ได้ เพราะว่าคงจะใช้วิธีการเขียนไปแก้ไป (คอมพ์มันเร็ว มันทำแบบนั้นได้) ซึ่งข้อเสียก็คือ เราจะไม่สามารถคิดถึงโปรแกรมเป็น flow หรือเป็นภาพรวมได้ <br /><br /><b>C</b><br /><br />พอเขามหาวิทยาลัยก็โดนบังคับให้เขียน C ข้อดี(หรือว่าข้อเสียก็ไม่รู้) ของ C ก็คือมัน low level มาก แต่ไม่มากจนเกินไป การที่มันอยู่กึ่ง ๆ กลาง ๆ ทำให้เราสามารถคิดได้ง่ายขึ้นว่า การที่โปรแกรมทำงานอย่างหนึ่ง เช่นการคลิกเมาส์ที่ปุ่มหนึ่ง ในส่วนฮาร์ดแวร์มันเกิดอะไรขึ้นบ้าง เช่น ต้องมีการจอง memory ยังไง ต้องย้าย memory จากส่วนไหนไปไหน จำได้ว่าตอนสมัยเรียน อาจารย์ให้การบ้านภาษา C คือให้เด็กเขียน Text editor ภาษาไทย! ก็สนุกกันใหญ่แหละครับ ตั้งแต่จะสร้าง Data Structure เพื่อเก็บเอกสารยังไง จะแสดงผลภาษาไทยยังไง ต้อง map VRAM ยังไง (สมัยนั้น ยังฮิตใช้ Hercules card กันอยู่) สุดท้ายการเรียนภาษา C ก็สามารถสอนให้ผมเชื่อมการทำงานของ Software เข้ากับ Hardware ได้ อาจจะสงสัยว่าแล้ว assembly ละ คือว่า assembly มัน low level ไปนะครับ เขียนแล้วมองการทำงานของ Hardware ได้ทะลุ แต่เอามาเชื่อมกับ Software ไม่ได้<br /> <br /><b>Smalltalk</b><br /><br />จริงๆ ผมหัดเขียน C++ กับ Java มาก่อน แต่ว่าก็เป็นการเขียนแบบ procedural ธรรมดา ๆ เลย ไม่มีความเป็น OOP แต่อย่างไร เพราะตอนนั้นมันมองไม่แตกว่า OOP คืออะไร แต่พอตอนไปออสเตรเลีย ต้องได้ลงเรียนวิชา OOP ซึ่งเขาใช้ Smalltalk ในการเรียน ก็ทำให้ผมสามารถ"คิด"แบบ OOP ได้ เพราะว่าภาษามันไม่ยอมให้คิดแบบอื่นเลย ถ้าตอนนั้นไม่ได้เรียน Smalltalk ผมก็คงยังคิดแบบ OOP ไม่ได้ <br /><br />จริง ๆ หลัก ๆ ที่เห็นชัด ๆ ก็มีอยู่แค่นี้แหละครับ แต่ว่าตอนนี้กำลังพยายามลุ่มลึกกับ Python และ Haskell อยู่ รวมถึง Programming paradigm อื่น ๆ เช่น AOP, Event-Processing และ Functional Programming อยู่ครับ ก็คงต้องดูต่อไปว่าผมจะถูกเปลี่ยนด้วยภาษาไหน หรือว่า Paradigm แบบไหนอีกหรือเปล่า<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6741457-6460022396855446849?l=project-ile.net%2Flulu%2Fconfession%2Findex.html'/></div>pruethttp://www.blogger.com/profile/17510054325500399649noreply@blogger.com0tag:blogger.com,1999:blog-6741457.post-27629393206139959302008-02-23T20:15:00.003-05:002008-02-23T20:23:54.763-05:00วันก่อนเขียน <a href="http://project-ile.net/lulu/confession/2008/02/twitter-script-update-server-status.html">python script โง่ ๆ</a> หนึ่งอันเอาไว้ update status ของ server ตอนนี้ ก็เลยลองเขียน script อีกอันให้ดูฉลาดขึ้นนิดหนึ่ง โดย script ตัวนี้จะทำหน้าที่เป็น echo หรือว่า re-broadcaster สำหรับ CFP (Call For Paper) ในสาย Computer Sciences (จริง ๆ ก็สายไหนก็ได้ แต่ว่าผมอ่านแต่ CFP ของ Comp Sciences) ดังนั้น ถ้าใคร follow เจ้า twitter ตัวนี้ ก็จะได้อ่าน CFP ไปโดยปริยาย<br /><br />script ไปเอาได้<a href="http://dssg.cs.umb.edu/~pruet/cs_cfp_py.txt">ที่นี่</a> อย่างที่บอกมันก็เป็นแค่ script โง่ ๆ ก็พยายามแกะเอาเองละกัน :D<br /><br />ใครที่สนใจจะอ่าน ก็ follow cs_cfp นะครับ<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6741457-2762939320613995930?l=project-ile.net%2Flulu%2Fconfession%2Findex.html'/></div>pruethttp://www.blogger.com/profile/17510054325500399649noreply@blogger.com0tag:blogger.com,1999:blog-6741457.post-56674367293578760412008-02-22T17:57:00.002-05:002008-02-22T18:00:59.675-05:00ช่วงนี้เห็นฮิต ๆ ใช้ twitter กัน ก็เลยเขียน script สำหรับ update server status ไปออกที่ twitter วิธีใช้ก็สมัคร twitter ขึ้นมาอันหนึ่งแล้วเอา login/password ไปใส่ใน script เสร็จแล้ว ก็ follow login นั้น ก็เสร็จแล้วครับ<br /><br />อยากแก้ไขอะไร ก็ไปดูใน script ละกัน <a href="http://dssg.cs.umb.edu/~pruet/ezynetwork_py.txt">load ได้ที่นี่ครับ</a> อ้อ เป็น python ห่วย ๆ หนึ่งอัน และใช้ <a href="http://code.google.com/p/python-twitter/">Python-Twitter</a> ครับ<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6741457-5667436729357876041?l=project-ile.net%2Flulu%2Fconfession%2Findex.html'/></div>pruethttp://www.blogger.com/profile/17510054325500399649noreply@blogger.com0tag:blogger.com,1999:blog-6741457.post-33890797317177009682008-01-01T02:25:00.000-05:002008-01-01T02:37:44.176-05:00<a href="http://project-ile.net/lulu/confession/2007/01/new-year-resolution.html">ปีก่อน</a>ทำ New Year's Resolutionไว้ (ทำตามชาวบ้าน) ครบปี ก็ต้องมาให้คะแนนกันสักหน่อย เอาเป็นว่าคะแนนเต็ม 1 ละกัน<br /><br />1. พยายามนอนก่อนเที่ยงคืน<br /> ล้มเหลวโดยสิ้นเชิง เอาไป 0<br />2. ทำงานให้มีประสิทธิผลมากขึ้น<br /> น่าจะดีขึ้นนะ รู้สึกว่าทำงานได้มากขึ้น แต่ไม่มีตัวชี้วัด เอาไป 0.5<br />3. ออกไปถ่ายรูปทุกเดือน<br /> ได้เฉลี่ยสองเดือนครั้ง ก็เอาไป 0.5<br />4. Online IM ให้น้อยลง<br /> ล้มเหลวโดยสิ้นเชิง เอาไป 0<br />5. อ่าน paper ให้ได้เฉลี่ยอาทิตย์ละ 10 ฉบับ<br /> ได้เฉลี่ยอาทิตย์ละ 5-6 ฉบับ เอาไป 0.75<br />6. จัดระบบ Bibliography ให้ดีขึ้น<br /> ไม่ได้ทำอะไรเลย -_- เอาไป 0<br />7 อ่านหนังสือให้มากขึ้น<br /> เฉลี่ยก็คงเท่า ๆ เดิม ก็ยังดีที่ไม่ลดลง เอาไป 0.5<br />8. กลับไปวาดรูปอีกครั้ง<br /> มีอุปกรณ์เรียบร้อย วาดไปแล้ว .... เสี้ยวหนึ่งของรูป เอาไป 0.25<br />9. ออก <a href="http://sourceforge.net/projects/djift/">Djift</a> 0.1.0<br /> ไม่ได้แตะโค้ดเลย เอาไป 0<br />10. ออก <a href="http://sourceforge.net/projects/leklekdict/">LekLekDict</a> Platform 0.1.0<br /> แก้โค้ดไปนิดหน่อย เอาไป 0.25<br />11. หัดเขียน Python เอาไว้ใช้งานแทน Perl<br /> ใช้งาน Python เกือบ 100% มี shell นิดหน่อย ส่วน Perl เลิกใช้แล้ว เอาไป 1.0<br />12. นั่งม้ามุมฉากให้ได้ 20 นาที (ตอนนี้ 5 นาทีก็ขาสั่นแล้้ว -_-'''' )<br /> ได้สิบนาที เอาไป 0.5<br />13. รื้อฟื้นวิธีเขียนตัวเมือง<br /> ขยันได้สักสองเดือน แล้วก็ขี้เกียจเหมือนเก่า เอาไป 0.25<br />14. กลับไปเล่น keyboard/piano อีกรอบ<br /> ที่บ้านมีเปียโนไฟฟ้าแล้ว เล่นไปสักสิบรอบได้มั้ง แถมเล่นไม่จบเพลงด้วย เอาไป 0.25<br />15. ย้าย project-ile ไป host ใหม่ (ซะที)<br /> สำเร็จเรียบร้อยดี เอาไป 1.0<br />16. ทำ Driving License (ซะที)<br /> ไม่ได้ทำอะไรเลย เอาไป 0<br /><br />สรุป 16 ข้อ ได้ไป .... 5.75 คิดเป็นค่าเฉลี่ยก็ 0.36 เรียกว่าถ้าสอบ ก็ติด F<br /><br />เอาเป็นว่า ปีนี้ไม่ตั้ง Resolution ใหม่ละกัน เอาของเดิมปีที่แล้ว และลองมาดูซิว่า ปีหน้าจะทำได้คะแนนดีขึ้นหรือเปล่า -_-<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6741457-3389079731717700968?l=project-ile.net%2Flulu%2Fconfession%2Findex.html'/></div>pruethttp://www.blogger.com/profile/17510054325500399649noreply@blogger.com0tag:blogger.com,1999:blog-6741457.post-38206685711225111242007-03-20T16:42:00.000-05:002007-03-20T16:47:23.923-05:00Firefox Add-Ons Tagเคยไป tag <a href="http://veer.exteen.com/20070316/firefox-addon-blog-tag">เขา</a>ตอนนี้โดนเขา tag ก็ต้องมาตอบตามมารยาท<br />ผมใช้ Firefox อยู่ 4 เครื่อง (มีเครื่องเยอะ ๆ จะเริ่มสับสน) ก็เลยจะลง Add-Ons พวกที่ทำให้เวลาย้ายไปใช้เครื่องอื่นแล้วใช้ได้สะดวก ๆ<br /><br /><ul><li><strong>Del.icio.us Bookmarks:</strong> เอาไว้เก็บ bookmark แล้วข้ามไปดูระหว่างเครื่องได้</li><li><strong>Google Notebook:</strong> คิดอะไรออก ก็พิมพ์ ๆ ใส่เก็บไว้ ข้อเสียคือ ถ้าไม่ online ก็จะใช้ไม่ได้ บางทีเลยต้อง copy มาแปะที่ Sticky ในเครื่องด้วย น่าจะทำให้มัน Sync กันได้นะ (จดใส่ Google Notebook ไว้ก่อน)</li></ul>ส่วน Add-Ons ที่ทำให้ใช้ Internet ง่ายขึ้นก็คือ<br /><ul><li><strong>DownThemAll!:</strong> ชื่อก็บอก เอาไว้ load รูป หรือว่า link เอกสารทั้งหน้า ไม่ต้องมานั่ง load ทีละอัน</li><li><strong>Firebug:</strong> หลัง ๆ เริ่มเขียน AJAX กับพวก Javascript เยอะขึ้น มีเจ้านี้ไว้ ทำให้ชีวิตสะดวกขึ้นเยอะ</li></ul>ส่วนอันสุดท้ายนี้ จำเป็นมากสำหรับบ้านเมืองที่อาการเปลี่ยนแปลงบ่อย<br /><ul><li><strong>Forcastfox:</strong> เอาไว้ดูพยาการณ์อากาศก่อนออกจากบ้าน จะได้ทำใจไว้ก่อนว่ากลับบ้านมาจะหนาวตายหรือว่าร้อนตาย</li></ul>ใครอยากโดน tag ก็ใส่ชื่อใน comment ละกันครับ<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6741457-3820668571122511124?l=project-ile.net%2Flulu%2Fconfession%2Findex.html'/></div>pruethttp://www.blogger.com/profile/17510054325500399649noreply@blogger.com1tag:blogger.com,1999:blog-6741457.post-61566571330145319002007-02-13T23:57:00.000-05:002007-02-14T01:23:21.935-05:00<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/152/389886302_fe0821d6cf.jpg"><img style="margin: 0pt 10px 10px 0pt; cursor: pointer; width: 400px;" src="http://farm1.static.flickr.com/152/389886302_fe0821d6cf.jpg" alt="" border="0" /></a><br /><br />ความสุขพัดผ่านเข้ามาเพียงชั่วคราว แล้วก็ผ่านเลยไป<br />เหลือไว้เพียงแต่ความทรงจำที่เป็นเหมือนกลิ่นหอม<br />ที่ทำได้แต่เพียงแค่สูดดม แต่สัมผัสไม่ได้<br />ที่เป็นจริงเพียงแค่ในความฝัน แต่เป็นความว่างเปล่าเมื่อลืมตา<br /><br />ความทุกข์กลับหยั่งรากลึกเข้าในจิตใจและความทรงจำ<br />ทุกวินาที ดูดซึมเอารอยยิ้มและเสียงหัวเราะ<br />ระเหยออกเป็นไอพัดผ่านไปตามกระแสลมของกาลเวลา<br />เหลือไว้เพียงรอยเหี่ยวย่นบนใบหน้า เหมือนพื้นดินขาดน้ำชั่วกาล<br /><br />ความทรงจำเป็นเหมือนดั่งเหล้าไวน์ ที่ยิ่งนานยิ่งเข้มข้น<br />กลิ่นของมันทำให้เราหวนระลึกถึงสิ่งดี ๆ ที่ผ่านเข้ามาในชีวิต<br />จิบแรกเตือนให้เราระลึกถึงความขมขื่นฝาดฝืนของน้ำตา<br />และในตอนเช้า เหลือทิ้งไว้เพียงแต่ความปวดร้าวของจิตใจ<br /><br />นอกหน้าต่างหิมะปลิดปลิวไปตามสายลมไร้ทิศทาง<br />ชีิวิตมนุษย์ก็เป็นดั่งเช่นเกล็ดหิมะ เกิดขึ้นในชั่วพริบตา<br />แล้วล่องลอยไร้จุดหมายไปตามสายลมแห่งกาลเวลา<br />ก่อนที่จะละลายเหลือเพียงหยดน้ำหยดเล็กคล้ายหยาดน้ำตา<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6741457-6156657133014531900?l=project-ile.net%2Flulu%2Fconfession%2Findex.html'/></div>pruethttp://www.blogger.com/profile/17510054325500399649noreply@blogger.com0tag:blogger.com,1999:blog-6741457.post-22320687297685581862007-01-09T00:44:00.000-05:002007-01-09T00:46:19.323-05:00wake up<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/qAK2aTHro4Y"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/qAK2aTHro4Y" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object><br /><br />... เราจะเจอใครสักคน เมื่อเราหยุดมอง <br /> ไม่ใช่เมื่อเมื่อเดินหา<br /><br />... คนสองคนจะก้าวเดินไปพร้อมกันได้ เมื่อยืนอยู่เคียงข้างกัน <br /> ไม่ใช่เมื่อยืนจ้องตากัน<br /><br />... คนในโลกแห่งความฝัน เมื่อตื่นก็จะหายไป คนในโลกแห่งความเป็นจริง จะอยู่เคียงข้างเราเสมอ<br /> ไม่ว่ายามตื่นหรือฝัน<br /><br />... บางที การวิ่งตามหาใครสักคนอาจจะทำให้เราหาเขาไม่เจอ เพราะ"ใครสักคน"นั้น <br /> อาจจะกำลังวิ่งตามหลังเราอยู่ก็ได้<br /><br /><br />หยุดวิ่งค้นหาสักพัก รอใครสักคนมายืนอยู่เคียงข้าง เขาอาจจะไม่ใช่คนเดียวกับในฝัน แต่ไม่ว่ายามตื่นหรือหลับ <br /> เขาคนนั้นก็จะพร้อมเดินไปเรา<br /><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6741457-2232068729768558186?l=project-ile.net%2Flulu%2Fconfession%2Findex.html'/></div>pruethttp://www.blogger.com/profile/17510054325500399649noreply@blogger.com1tag:blogger.com,1999:blog-6741457.post-82269729434914498952007-01-05T15:24:00.000-05:002007-01-06T01:04:10.662-05:00Taggedอ๊ากกกก <a href="http://www.isriya.com/">โดน</a> <a href="http://en.wikipedia.org/wiki/Blog_tag">tag</a> <br /><br />เอาหน่อย(ไม่ใช่ หน่อย SNC)ละกัน<br /><br />1. "lulu" มาจากชื่อ host ที่เคยดูแล ชื่อตามลำดับคือ lala, lily, lulu, lalin แต่ชอบชื่อ lulu ที่สุด เลยเอามาใช้ซะเลย<br />2. เขียนโปรแกรมครั้งแรกตอน ม.2 กับเครื่อง PC/XT เครื่องแรกของจังหวัดลำพูน จำได้ว่าเขียนไป ไฟดูดไป เพราะตัวถังเป็นอลูมิเนียม และไม่ได้ต่อสายดิน ตอนนั้นเขียน Pascal กับ Turbo Pascal 1.0 แผ่นเถื่อนอีกต่างหาก (อยากได้แผ่นแท้ ก็ไม่มีขาย) นั่งรถจากลำพูนไปเชียงใหม่เพื่อซื้อแผ่นโปรแกรมแถวอนุสาวรีย์โอวาแปะ (เดี๋ยวนี้ร้านนั้นก็ยังอยู่ แต่กลายเป็น Software House ไปแล้ว) จำได้ว่า ไม่มีหนังสืออีกต่างหาก ต้องไปซื้อโมโครฯเล่มเก่า ๆ มา(เล่มใหม่แพงไป ไม่มีตังค์ซื้อ) นั่งแกะ แล้วก็เขียนตาม เมนูบางอันก็ไม่รู้ความหมาย ก็อาศัยจำ ๆ เอา (ประมาณเล่น FF ภาคญี่ปุ่น)<br />3. ผมเริ่มเล่นเกมจากคอมพิวเตอร์ ที่บ้านไม่ซื้อเครื่องเกมให้ ก็เลยเล่นจากคอมพ์ เกมแรก ๆ ที่เล่นก็พวก Digdug หรือว่า JBird แต่เกมแรกที่เล่นจนติดก็คือ Simcity 1.0 จำได้ว่าเล่นบน 80286 จอเขียว ติดแบบว่าเล่นข้ามวันข้ามคืน จนแม่ต้องเดินมาปิดคอมพ์ (ทำให้ติดนิสัย Save งานบ่อย ๆ ) อ้อ แผ่น Simcity ก็ซื้อมาจากร้านเดียวกัน ถามเขาว่าเกมไหนสนุก เขาก็ให้ Simcity มา<br />4. มีแต่คนสงสัยว่าทำไมผมไม่ใส่แว่น หรือว่าคอนแท็กทั้งที่ก็เล่นคอมพ์อย่างหนัก (ทำสถิติตอนเรียนป.ตรี เฉลี่ยวันละ 16 ชั่วโมง) แล้วก็อ่านหนังสือเยอะ ไม่เลือกเวลาอ่านด้วย พ่อแม่พี่น้องก็สายตาสั้นหมด ผมก็มักจะตอบว่า อะไรที่ใช้บ่อย ๆ มันก็จะแข็งแรง เหมือนเราวิ่งบ่อย ๆ ขามันก็จะโต อะไรประมาณนั้น<br />5. จีบสาวครั้งแรกตอนเรียนประถม ไปนอนเล่นนั่งเล่นที่บ้านสาวทุกวัน จนเพื่อนล้อ อารมณ์ประมาณแฟนฉันเลย ตอนนี้เขาแต่งงานไปแล้ว ส่วนผมก็......<br /><br />Tag ใครต่อดี เอา <a href="http://bact.blogspot.com/">Bact</a>, <a href="http://veer.exteen.com/">Vee</a>, <a href="http://pompoko.exteen.com/">คุณป้อม</a>, <a href="http://www.kitty.in.th">kitty</a>, กะ <a href="http://thep.blogspot.com/">ท่านเทพ</a>ละกัน<br /><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6741457-8226972943491449895?l=project-ile.net%2Flulu%2Fconfession%2Findex.html'/></div>pruethttp://www.blogger.com/profile/17510054325500399649noreply@blogger.com5tag:blogger.com,1999:blog-6741457.post-37400811580496828362007-01-01T20:21:00.000-05:002007-01-01T20:23:32.639-05:00New Year's Resolution<a href="http://pit.dogpositive.com/blog/?p=322">ใคร</a> ๆ <a href="http://plynoi.exteen.com/20061229/2006-resolution-evaluation">เขา</a> ก็<a href="http://www.isriya.com/?q=node/1303">มี </a>New Year's Resolution กัน ก็เลยเอากะเขาบ้าง<br /><br />1. พยายามนอนก่อนเที่ยงคืน<br />2. ทำงานให้มีประสิทธิผลมากขึ้น<br />3. ออกไปถ่ายรูปทุกเดือน<br />4. Online IM ให้น้อยลง<br />5. อ่าน paper ให้ได้เฉลี่ยอาทิตย์ละ 10 ฉบับ<br />6. จัดระบบ Bibliography ให้ดีขึ้น<br />7 อ่านหนังสือให้มากขึ้น<br />8. กลับไปวาดรูปอีกครั้ง<br />9. ออก <a href="http://sourceforge.net/projects/djift/">Djift</a> 0.1.0<br />10. ออก <a href="http://sourceforge.net/projects/leklekdict/">LekLekDict</a> Platform 0.1.0<br />11. หัดเขียน Python เอาไว้ใช้งานแทน Perl<br />12. นั่งม้ามุมฉากให้ได้ 20 นาที (ตอนนี้ 5 นาทีก็ขาสั่นแล้้ว -_-'''' )<br />13. รื้อฟื้นวิธีเขียนตัวเมือง<br />14. กลับไปเล่น keyboard/piano อีกรอบ<br />15. ย้าย project-ile ไป host ใหม่ (ซะที)<br />16. ทำ Driving License (ซะที)<br /><br />ชักเยอะ พอละ -_-'''<br /><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6741457-3740081158049682836?l=project-ile.net%2Flulu%2Fconfession%2Findex.html'/></div>pruethttp://www.blogger.com/profile/17510054325500399649noreply@blogger.com2tag:blogger.com,1999:blog-6741457.post-1142195860181245682006-11-27T15:36:00.003-05:002008-04-13T14:56:26.604-05:00I want to design a programming paradigm that focus on fairy tale. Should I call it, FTOP Fairy tale oriented programming language. Why ? because most of the fairy tales are happy ending, so my programming paradigm should allow or force the programmer to be happier when they finish their job.<br /><br />In my idea, a program should be the hybrid between pure OOP and prototype-based programming (e.g. wolf eat: girl.prototype(size=small, hat.type=hood, hat.color=red)) plus some indent-forced style of evil Python . This should allow to reuse a fairy tale. I mean, fox is mostly a bad guy, we should reuse them, right.<br /><br />the program may be started and ended using tags like this<br /><br />once upon a time<br />...<br />happily ever after<br /><br />Well, let's try a short program then, let's use this <a href="http://www.pitt.edu/%7Edash/type0333.html#perrault">tale</a><br /><pre><br />tale name: "Little Red Ridding Hood"<br />once_upon_a_time: <br /> little_red_ridding = human clone: <br /> prototype: {sex = woman,<br /> age = girl,<br /> size = little,<br /> living_place = country|village,<br /> appearance = prettiest}<br /> mother = human clone: <br /> prototype: {sex = woman,<br /> age = adult,<br /> mother_of = little_red_ridding, <br /> living_place = little_red_ridding.living_place}<br /> grandmother = human cone: <br /> prototype: {sex = woman,<br /> age = old,<br /> mother_of = mother}<br /> little_red_ridding_hood = cloth clone: <br /> prototype: {type = hood,<br /> color = red}<br /> little_red_ridding prototype: {hat = little_red_ridding_hood}<br /> cakes = food clone: <br /> prototype: {type = cake}<br /> mother made: cakes<br /> said: "Go, my dear, and see how your grandmother is<br /> doing, for I hear she has been very ill. Take <br /> her a cake, and this little pot of butter." <br /> to: little_red_ridding<br /> grandmother prototype: {living_place = other_village}<br /> little_red_ridding go: grandmother.living_place<br /> wolf = animal clone: <br /> prototype: {type = wolf}<br /> little_red_ridding met: wolf<br /> woodcutters = human clone: many <br /> prototype: {sex = man,<br /> age = adult};<br /> wolf wanted: (eat: girl) <br /> but: (cannot because: woodcutters location: nearby) <br /> said: "where she was going" <br /> to: little_red_ridding<br /> little_red_ridding know: !(talk: wolf) <br /> said: "I am going to see my grandmother and carry <br /> her a cake and a little pot of butter from <br /> my mother." <br /> to: wolf<br /> wolf said: "Does she live far off?" <br /> to: little_red_ridding<br /> little_red_ridding said: {"Oh I say,",<br /> "it is beyond that mill you see there, <br /> at the first house in the village."} <br /> to: wolf<br /> wolf said: {"Well,", <br /> "and I'll go and see her too. I'll go this way <br /> and go you that, and we shall see who will be<br /> there first."} <br /> to: little_red_ridding<br /> wolf ran: fast <br /> gathered: nuts <br /> ran: (after: butterflies) <br /> gathered: (bouquets of: flowers clone: many <br /> prototype: {size = little}).<br /> wolf knocked: grandmother.house;<br /> grandmother said: "Who's there?" <br /> to: wolf<br /> wolf counterfeit: little_red_ridding.voice <br /> said: {"Your grandchild, Little Red Riding Hood,", <br /> "who has brought you a cake and a little pot of<br /> butter sent you by mother."}<br /> to: grandmother<br /> grandmother prototype: {status = ill} <br /> said: "Pull the bobbin, and the latch will go up." <br /> to: wolf<br /> wolf pulled: bobbin <br /> opened: door <br /> ate: grandmother <br /> shut: door <br /> get_into: bed<br /> little_red_ridding knocked: door<br /> wolf said: "Who's there?" <br /> to: little_red_ridding<br /> little_red_ridding heard: wolf.voice <br /> afraid: wolf.voice <br /> believed: (grandmother cold: <br /> hoarse:) <br /> said: "It is your grandchild Little Red Riding <br /> Hood, who has brought you a cake and a <br /> little pot of butter mother sends you." <br /> to: wolf<br /> wolf cried: <br /> soften: wolf.voice <br /> said: "Pull the bobbin, and the latch will go up." <br /> to: little_red_ridding<br /> little_red_ridding pulled: bobbin <br /> opened: door<br /> wolf saw: (little_red_ridding came:) <br /> said: "Put the cake and the little pot of butter upon <br /> the stool, and come get into bed with me." <br /> to: little_red_ridding <br /> hide: (bedclothes under:)<br /> little_red_ridding took_ff: her.cloth <br /> moved_to: bed <br /> amazed: <br /> saw: (grandmother.nightClothes) <br /> said: "Grandmother, what big arms you have!" <br /> to: wolf<br /> wolf said: "All the better to hug you with, my dear." <br /> to: little_red_ridding<br /> little_red_ridding said: "Grandmother, what big legs you have!" <br /> to: wolf<br /> wolf said: "All the better to run with, my child." <br /> to: little_red_ridding<br /> little_red_ridding said: "Grandmother, what big ears you have!" <br /> to: wolf<br /> wolf said: "All the better to hear with, my child." <br /> to: little_red_ridding<br /> little_red_ridding said: "Grandmother, what big eyes you have!" <br /> to: wolf<br /> wolf said: "All the better to see with, my child." <br /> to: little_red_ridding<br /> little_red_ridding said: "Grandmother, what big teeth you have got!" <br /> to: wolf<br /> wolf said: "All the better to eat you up with." <br /> to: little_red_ridding <br /> ate: little_red_ridding <br />happily_ever_after:<br /></pre><br />Errr well, it's not happy ending, I should put grammatical error around here. Anyway, you got the idea :D<br /><br />I'll try to show you another program later, maybe ... snow white.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6741457-114219586018124568?l=project-ile.net%2Flulu%2Fconfession%2Findex.html'/></div>pruethttp://www.blogger.com/profile/17510054325500399649noreply@blogger.com3tag:blogger.com,1999:blog-6741457.post-1157611133476932832006-09-07T01:38:00.000-05:002006-09-07T01:38:53.486-05:00<a href="http://www.eskimo.com/~hottub/software/programming_quotes.html">Quotes</a><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6741457-115761113347693283?l=project-ile.net%2Flulu%2Fconfession%2Findex.html'/></div>pruethttp://www.blogger.com/profile/17510054325500399649noreply@blogger.com0tag:blogger.com,1999:blog-6741457.post-1142757327475507482006-03-19T03:09:00.000-05:002006-03-19T04:44:52.236-05:00มีคนบอกว่าในบล๊อคนี้ ผมเหมือนตาแก่ขี้บ่น มองโลกในแง่ร้าย หดหู่ไปวัน ๆ<br /><br />กลับไปอ่าน ก็ท่าทางจะจริง<br /><br />เอาไว้จะพยายามจะบ่นให้น้อยลงนะครับ ;)<br /><br />Come away with me<br />And I will write you a song ....<br /><br />ท่าทางไอบุ๊คจะไปไม่ไหวแล้ว หลังจากที่ฮาร์ดดิสค์ในเครื่องเสีย ก็เลยเอาไอพอดมาต่อ แล้วใช้เป็นฮาร์ดดิสค์แทนมาหลายอาทิตย์ ตอนนี้ฮาร์ดดิสค์ในเครื่องเริ่มโวยวายเสียงดังจนทนไม่ไหว สงสัยต้องเอาไปซ่อมสักที ไม่รู้ว่ากี่วันจะเสร็จ -_- เวลาไม่มี เครื่องใช้นี่มันลำบากจริง ๆ จะ save งานหรือว่าทำอะไร ก็ทำได้ไม่สนิทใจ เพราะขี้เีกียจย้ายไปมา<br /><br />ว่าจะไม่บ่นแล้วเชียว<br /><br />Come away with me<br />And I'll never stop loving you ....<br /><br /><br />ตอนบ่าย ๆ เบื่อ ๆ ก็เลยเปิดทีวีขึ้นมาดู กำลังฉายเรื่อง <a href="http://www.imdb.com/title/tt0186566/">Space Cowboy</a> จำได้ว่าดูแล้วชอบ ก็เลยนั่งดูซะเลย จริง ๆ กะจะรอดูตอนจบ เพราะชอบตอนจบมาก ไม่ใช่ตอนที่ตาคลิ้นท์พยายามจะเอายานลงจอด แต่เป็นตอนที่ค่อย ๆ ฉายไปที่ดวงจันทร์ แล้วเพลง <a href="http://www.lyricsfreak.com/f/frank-sinatra/55348.html">Fly me to the moon</a> ค่อย ๆ ดังขึ้นมา ดูทีไรแล้วน้ำตาซึมทุกที<br /><br />สงสัียจะยัง<a href="http://static.flickr.com/56/114540187_9e7ce03c93.jpg?v=0">อยาก</a>ไปดวงจันทร์อยู่แน่เลย...<br /><br />Fly me to the moon<br />Let me sing among those stars<br />Let me see what spring is like<br />On jupiter and mars<br /><br />In other words, hold my hand<br />In other words, baby kiss me<br /><br />Fill my heart with song<br />Let me sing for ever more<br />You are all I long for<br />All I worship and adore<br /><br />In other words, please be true<br />In other words, I love you<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6741457-114275732747550748?l=project-ile.net%2Flulu%2Fconfession%2Findex.html'/></div>pruethttp://www.blogger.com/profile/17510054325500399649noreply@blogger.com0tag:blogger.com,1999:blog-6741457.post-1139522139638745162006-03-16T03:51:00.000-05:002006-03-16T20:02:29.153-05:00I'm an old world programmer. I mean that I still use Vim and Makefile to do my work. So, IDE is out of question, the last IDE I prefer to use is.... <a href="http://en.wikipedia.org/wiki/Turbo_C">Turbo C</a>. What's wrong with IDE ? I think that by using IDE, we've been distracted from the content of the program, to the presentation, organization, or something else. For me, writing a program is like praying, you don't need to wear an expensive cloths or be in a big church. What you need to do is bending your knee down and starting praying. Likewise, to writing program, what you've to do is sitting down, hover your hand over a <a href="http://www.pfu.fujitsu.com/en/hhkeyboard/">keyboard</a>, and start typing. Moreover, writing program is more like communication with computer, and myself, deeply. It's like I discuss with the computer what should we do to solve problems in program, not order him. In the same time, I talk with myself what is the condition of my soul at that time. It's more like a praying that we investigate our mind and clean it up when we found that we found some unacceptable dirtiness. <br /><br />Sometime, I cried when I wrote a program, not because of unsolvable bug but because I found the similarity of my life within the program that I'm writing. Isn't our life has a BEGIN and an END ? Isn't it full of condition and loop ? Isn't it full of bug and glitch ?<br /><br />I'm not writing program to order computer, I'm sharing my life with my old friend.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6741457-113952213963874516?l=project-ile.net%2Flulu%2Fconfession%2Findex.html'/></div>pruethttp://www.blogger.com/profile/17510054325500399649noreply@blogger.com2tag:blogger.com,1999:blog-6741457.post-1141278334745537872006-03-01T23:36:00.000-05:002006-03-02T17:21:50.766-05:00My iBook has problem with startup, I think that the harddisk is defected. The worse is, the file system was corrupted, so I lost everything. Anyway, I've backup for my data,<br /><br />============================<br />Three rules of computer usage for students<br />1) backup<br />2) backup<br />3) backup<br />============================<br /><br />Anyway, I've to reinstall OS X and everything, and you know what, it corrupted again T_T . So I've to reinstaill everything again. I'd bring her to Apple Center but I don't have time and I have to use her, I mean, I can't leave her at Apple Center for a couple days because I've a couple papers to be finished.<br /><br />Anyway, sorry for going so far, my point is, after installing OS X for two consecutive times, I started to be lazy to install every software I need. At the end, you know, I install only two pieces of software!!! guess what are they, adium x and microsoft office. For the rest of software requirement, I use OS X pre-installed software. <br /><br />This comes to my thought, what we need for living, I mean, fundamentally. Beside house, food, medicine, and cloths. What else do we need ? Computer ? certainly not. Book ? may be, may be not. <br /><br />I think that we've to separate between what we need and what we want. Generally, I think that we'll have only a short list of what we need, but very long list of what we want. So, why don't we try to switch to live with what we need, not what we want. Life may be easier.<br /><br />Anyway, what is the need in our life ?<br /><br />love ?<br /><br />what is the need in your life?<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6741457-114127833474553787?l=project-ile.net%2Flulu%2Fconfession%2Findex.html'/></div>pruethttp://www.blogger.com/profile/17510054325500399649noreply@blogger.com1tag:blogger.com,1999:blog-6741457.post-1137312348865827622006-01-15T02:59:00.000-05:002006-01-16T03:42:06.713-05:00คืนนี้ฝนตก.....<br /><br />เมื่อเราเติบโตขึ้น เราต่างก็เรียนรู้ว่า ชีวิตเต็มไปด้วยทางเลือก ในวัยเด็ก เราอาจจะเลือกได้ที่จะไม่กินผัก ด้วยเหตุผลง่าย ๆ ว่า ไม่อยากกิน<br /><br />แต่เมื่อเราเติบใหญ่ขึ้น ได้เรียนรู้สึ่งต่าง ๆ มากมาย เราก็มักจะพบว่า เหตุผลง่าย ๆ เช่นนั้นไม่เพียงพออีกต่อไป คนส่วนใหญ่จึงบังคับให้ตัวเองต้องกินผัก ด้วยเหตุผลที่ซับซ้อนและทำความเข้าใจยากเช่น ร่างกายต้องการสารอาหารจากผัก ดังนั้นเราจึงต้องกินมันเข้าไป<br /><br />แม้ว่าเราจะไม่อยากกินเท่าไหร่ก็ตาม แล้วเมื่อกินไปบ่อยครั้งขึ้น เราก็จะเริ่มชิน แล้วเราก็ไม่ต้องการเหตุผลอื่นใดอีก <br /><br />คืนนี้ฝนไม่ตก.....<br /><br />เมื่อเราได้ก้าวผ่านทางเลือกง่าย ๆ เช่นการกินผัก หรือไม่กินผักมาแล้ว เราก็มักจะเจอทางเลือกที่ยากขึ้นไปอีก ยากจนบางครั้งเราไม่อยากจะเลือกทั้งสองทาง หรือว่าอยากจะเลือกทั้งสองทาง แต่เราก็รู้ดีว่ามันเป็นไปไม่ได้ ก็เหมือนกับ computer logic ที่ไม่เป็น true ก็ต้องเป็น false<br /><br />คืนนี้ฝนตก คืนนี้ฝนไม่ตก...<br /><br />แต่ถ้าเราทำความเข้าใจกับเรื่องรอบ ๆ ตัว เรื่องง่าย ๆ เช่น คืนนี้ฝนตก หรือว่า คืนนี้ฝนไม่ตกแล้ว เราก็จะตระหนักว่า ชีวิตมันก็เป็นเช่นนั้นเอง ถ้าคืนนี้ฝนตก ก็แสดงว่ามันไม่ใช่คืนที่ฝนไม่ตก แต่ถ้าคืนนี้ไม่ใช่คืนที่ฝนไม่ตก ก็แสดงว่ามันเป็นคืนที่ฝนตก<br /><br />ชีวิตมันก็เป็นเช่นนี้แหละ ไม่สุข ก็ทุกข์ ไม่ดีใจ ก็เสียใจ ไม่ทางใดก็ทางหนึ่ง ตราบใดที่เรายังเป็นมนุษย์และยังต้องตกอยู่ในห้วงของกรรม<br /><br />แล้วถ้าใครบางคนเลือกที่จะไม่อยู่ เขาก็แค่เลือกที่จะไป<br /><br />แค่นั้นเอง.....<br /><br />คืนนี้ฝนตกครับ :)<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6741457-113731234886582762?l=project-ile.net%2Flulu%2Fconfession%2Findex.html'/></div>pruethttp://www.blogger.com/profile/17510054325500399649noreply@blogger.com1