<?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-16493933</id><updated>2011-04-22T10:56:22.943+07:00</updated><title type='text'>kong's blog</title><subtitle type='html'>entering the open source realm...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://suksit.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://suksit.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>kong</name><uri>http://www.blogger.com/profile/11551449845525462962</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>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-16493933.post-114632589043732823</id><published>2006-04-29T21:53:00.000+07:00</published><updated>2006-04-29T22:51:31.720+07:00</updated><title type='text'>Bye Bye Blogger...</title><content type='html'>Yeah, I've moved to a new site -- &lt;a href="http://suksit.com"&gt;suksit.com&lt;/a&gt; (That's my first name ^^). Because I miss some features that Blogger does not provide so I just create my own blog using &lt;a href="http://drupal.org"&gt;Drupal&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;However, thanks to Blogger for providing me a place to start blogging :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16493933-114632589043732823?l=suksit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suksit.blogspot.com/feeds/114632589043732823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16493933&amp;postID=114632589043732823' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114632589043732823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114632589043732823'/><link rel='alternate' type='text/html' href='http://suksit.blogspot.com/2006/04/bye-bye-blogger.html' title='Bye Bye Blogger...'/><author><name>kong</name><uri>http://www.blogger.com/profile/11551449845525462962</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-16493933.post-114580869593949527</id><published>2006-04-23T22:35:00.000+07:00</published><updated>2006-04-23T23:52:50.930+07:00</updated><title type='text'>Emacs and X.Org rgb</title><content type='html'>Due to &lt;a href="http://suksit.blogspot.com/2006/04/blognone-tech-day-2006.html"&gt;Blognone Tech Day 2006&lt;/a&gt; effect, I came home and installed &lt;a href="http://www.gnu.org/software/emacs"&gt;Emacs&lt;/a&gt; to try it out. &lt;code&gt;emerge -av emacs&lt;/code&gt; went fine without any errors but when I try to start emacs from Terminal, here's what I got:&lt;div class="codeblock"&gt;$ emacs&lt;br /&gt;Undefined color: "black"&lt;/div&gt;Googling around, I found that Emacs was looking for "rgb.txt"  which did not exist on my system.&lt;br /&gt;&lt;br /&gt;This is because I'm using &lt;a href="http://x.org"&gt;X11R7.0&lt;/a&gt; -- a completely modularized X Window System, and it doesn't come with all the tools like X11R6.x package. So I have to manually &lt;code&gt;emerge -av rgb&lt;/code&gt; to get the rgb application.&lt;br /&gt;&lt;br /&gt;After emerge finished, I tried to run Emacs again and still got the same error. Another google search, it suggested I should take a look at &lt;code&gt;/etc/X11/xorg.conf&lt;/code&gt; for RgbPath. In my &lt;code&gt;xorg.conf&lt;/code&gt;, it reads:&lt;br /&gt;&lt;div class="codeblock"&gt;RgbPath     "/usr/lib/X11/rgb"&lt;/div&gt;But "rgb.txt" wasn't there, so where is it? I typed in &lt;code&gt;locate rgb.txt&lt;/code&gt; and found that the file was in &lt;code&gt;/usr/share/X11&lt;/code&gt;. Then I modified &lt;code&gt;xorg.conf&lt;/code&gt; according to the path that &lt;code&gt;locate&lt;/code&gt; told me:&lt;br /&gt;&lt;div class="codeblock"&gt;RgbPath     "/usr/share/X11/rgb"&lt;/div&gt;Restarted X, called up Terminal, typed "emacs" then hit Enter... and wheeeee! Emacs popped up! Time to check it out!&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/2764/1567/1600/emacs.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/2764/1567/320/emacs.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;ps. Now I know one Emacs command -- &lt;code&gt;C-x C-c&lt;/code&gt; :P&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16493933-114580869593949527?l=suksit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suksit.blogspot.com/feeds/114580869593949527/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16493933&amp;postID=114580869593949527' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114580869593949527'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114580869593949527'/><link rel='alternate' type='text/html' href='http://suksit.blogspot.com/2006/04/emacs-and-xorg-rgb.html' title='Emacs and X.Org rgb'/><author><name>kong</name><uri>http://www.blogger.com/profile/11551449845525462962</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-16493933.post-114573172791057658</id><published>2006-04-22T23:45:00.000+07:00</published><updated>2006-04-23T02:17:22.720+07:00</updated><title type='text'>Blognone Tech Day 2006</title><content type='html'>Today I went to &lt;a href="http://www.blognone.com/node/1982"&gt;Blognone Tech Day 2006&lt;/a&gt; seminar at Kasetsart University from 1.00pm to 5.30pm. The concept of the seminar was "Developer's Exchange", which was a mixed of various topics.&lt;br /&gt;&lt;br /&gt;Each topic was described in a short and easy-to-understand way -- mainly to give the concept/overview about the topic and to introduce the presenter whom the audiences can contact later if they need more details.&lt;br /&gt;&lt;br /&gt;Here're the topics covered today:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.rubyonrails.org/"&gt;Ruby on Rails&lt;/a&gt; by &lt;a href="http://pphetra.blogspot.com"&gt;Polawat Phetra&lt;/a&gt;&lt;br /&gt;I was late and by the time I arrived the presentation was almost finish. However, I still had a chance to see some demos and was impressed to see that your can create an AJAX-ed webpage with only a few lines of Ruby code.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.python.org"&gt;Python&lt;/a&gt; on &lt;a href="http://www.zope.org"&gt;Zope&lt;/a&gt; by &lt;a href="http://howforge.com"&gt;Sugree Phatanapherom&lt;/a&gt;&lt;br /&gt;Couldn't really catch up the details because I was sitting in the far back and could not see well. However, I think it's more difficult than RoR, and Sugree said there are not many hosts that support Zope. So just knowing that "Zope" exists is enough for me :)&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.mono-project.com/Main_Page"&gt;Mono&lt;/a&gt;: Open Source .NET Framework by &lt;a href="http://www.onedd.net"&gt;Wiennat&lt;/a&gt;&lt;br /&gt;A nice presentation about .NET Framework architecture, why Mono was developed and its features. BTW, Mono = Monkey XD&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/Emacs"&gt;Emacs&lt;/a&gt;: Hacker's Text Editor by &lt;a href="http://mm.co.th/poonlap"&gt;Poonlap&lt;/a&gt;&lt;br /&gt;Brief history of Emacs and introduction of its features. I've never seen a text editor that is capable of playing games, surfing internet, checking emails or even providing an AI to talk to. I just came back and emerged emacs right away, gotta try it!&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/Ip_pbx"&gt;IP PBX&lt;/a&gt; using &lt;a href="http://www.asterisk.org"&gt;Asterisk&lt;/a&gt; by &lt;a href="http://www.tel.co.th"&gt;Dome Charoenyost&lt;/a&gt;&lt;br /&gt;Completely lost about what the presenter said (out of my field, I guess). But we sure did enjoy the presentation and laughted a lot ^^&lt;/li&gt;&lt;li&gt;Linux Virtualization using &lt;a href="http://www.cl.cam.ac.uk/Research/SRG/netos/xen"&gt;Xen&lt;/a&gt; by &lt;a href="http://www.boonjing.com"&gt;Somphol Boonjing&lt;/a&gt;&lt;br /&gt;Shows another solution for virtual hosting on Linux. But I still think &lt;a href="http://www.vmware.com"&gt;VMWare&lt;/a&gt; is better...&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/Game_theory"&gt;Game Theory&lt;/a&gt; by &lt;a href="http://www.cpe.ku.ac.th/~jtf"&gt;Jittat Fakcharoenphol&lt;/a&gt;&lt;br /&gt;Describes the Nobel Prize-winning theory of &lt;a href="http://en.wikipedia.org/wiki/John_Forbes_Nash"&gt;John Nash&lt;/a&gt; (there is a movie about him -- &lt;a href="http://en.wikipedia.org/wiki/A_Beautiful_Mind"&gt;A Beautiful Mind&lt;/a&gt;). There were a bunch of examples, but I'm still not clear about how can it be used in real life =.=&lt;/li&gt;&lt;li&gt;&lt;a href="http://conferences.oreillynet.com/etech"&gt;Emerging Technology 2006&lt;/a&gt; by &lt;a href="http://www.bunditcenter.com"&gt;ปรเมศวร์ มินศิริ&lt;/a&gt;&lt;br /&gt;Shows that the world is walking towards Web 2.0. In the future, all applications will run on internet and will be platform-independent.&lt;/li&gt;&lt;li&gt;Thai Word Breaking using ZWSP by &lt;a href="http://lewcpe.com"&gt;Wason Liwlompaisan&lt;/a&gt;&lt;br /&gt;An idea of how to break Thai words correctly e.g. "ตากลม" can be separated into "ตา-กลม" and "ตาก-ลม" and both words do make sense. Lew's solution is to have a special &lt;a href="http://en.wikipedia.org/wiki/Unicode"&gt;Unicode&lt;/a&gt; character -- "ZWSP" (I guess it stands for something like "Zero-Width Space") -- inserted between each word. It seems to be an elegant solution but I still wonder how can we manage to input this special charecter between each word we typed?&lt;/li&gt;&lt;/ul&gt;Phew!... Quite a lot of topics in just 4 hrs and a half, right? However, it helps opening my vision about programming and new technology a lot. And I just love the &lt;a href="http://www.blognone.com/node/2046"&gt;Blognone t-shirt&lt;/a&gt;!! Hope there will be a seminar like this again :)&lt;br /&gt;&lt;br /&gt;ps. Too bad I didn't get the &lt;a href="http://static.flickr.com/43/124016526_cae3b93732_o.jpg"&gt;Ubuntu Stickers&lt;/a&gt; :(&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16493933-114573172791057658?l=suksit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suksit.blogspot.com/feeds/114573172791057658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16493933&amp;postID=114573172791057658' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114573172791057658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114573172791057658'/><link rel='alternate' type='text/html' href='http://suksit.blogspot.com/2006/04/blognone-tech-day-2006.html' title='Blognone Tech Day 2006'/><author><name>kong</name><uri>http://www.blogger.com/profile/11551449845525462962</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-16493933.post-114535597072316542</id><published>2006-04-18T17:05:00.000+07:00</published><updated>2006-04-19T00:26:17.236+07:00</updated><title type='text'>DOS vs UNIX line breaks</title><content type='html'>I was writing a &lt;a href="http://en.wikipedia.org/wiki/Shell_script"&gt;shell script&lt;/a&gt; to parse some data in &lt;a href="http://en.wikipedia.org/wiki/Comma-separated_values"&gt;csv&lt;/a&gt; format generated by Microsoft Excel and was wondering why the script didn't work as I expected.&lt;br /&gt;&lt;br /&gt;I took a look at the .csv file using &lt;code&gt;more&lt;/code&gt; command and it looked OK to me...&lt;br /&gt;&lt;br /&gt;Half an hour passed by and I still cannot figure the problem out, I used &lt;code&gt;vi&lt;/code&gt; to open the csv file and saw that there were additional &lt;code&gt;^M&lt;/code&gt; characters everywhere in the file.&lt;br /&gt;&lt;br /&gt;After googling around for a while, I found that the &lt;code&gt;^M&lt;/code&gt;'s were there because the csv file contained "carriage return (&lt;code&gt;\r&lt;/code&gt;)" characters, which is the default line break character in Windows, instead of "new line (\n)" characters as it should be. To fix this problem, I have to execute the command &lt;div class=codeblock&gt;tr "\r" "\n" &lt; inputdata.csv &gt; gooddata.csv&lt;/div&gt; to remove all ^M's and after that my script worked just fine.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16493933-114535597072316542?l=suksit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suksit.blogspot.com/feeds/114535597072316542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16493933&amp;postID=114535597072316542' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114535597072316542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114535597072316542'/><link rel='alternate' type='text/html' href='http://suksit.blogspot.com/2006/04/dos-vs-unix-line-breaks.html' title='DOS vs UNIX line breaks'/><author><name>kong</name><uri>http://www.blogger.com/profile/11551449845525462962</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-16493933.post-114533056182574362</id><published>2006-04-18T09:32:00.000+07:00</published><updated>2006-04-18T10:29:40.280+07:00</updated><title type='text'>Xfce 4.4 beta1 released!</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/2764/1567/1600/desktop-icons.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/2764/1567/320/desktop-icons.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;div align="center"&gt;Image from &lt;a href="http://xfce-diary.blogspot.com"&gt;Xfce Diary&lt;/a&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;a href="http://xfce.org"&gt;Xfce&lt;/a&gt; is a lightweight desktop environment for various *NIX systems. Designed for productivity, it loads and executes applications fast, while conserving system resources.&lt;/blockquote&gt;&lt;a href="http://foo-projects.org/pipermail/xfce4-dev/2006-April/019590.html"&gt;Xfce 4.4 beta1&lt;/a&gt; was released yesterday. Here are some new features:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;&lt;a href="http://thunar.xfce.org/news.html#2006-04-16"&gt;Thunar File Manager&lt;/a&gt;&lt;/b&gt; a new file manager that replaces xffm.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Desktop Icons&lt;/b&gt; the most requested feature is now implemented.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Panel&lt;/b&gt; is completely rewritten. You can now add/remove as many panel as you wish, panel plugins can be downloaded at &lt;a href="http://xfce-goodies.berlios.de"&gt;xfce-goodies&lt;/a&gt;, including xfapplet which allows you to use GNOME applet on Xfce panel.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Others&lt;/b&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Preferred Applications&lt;/b&gt; allows you to choose default application for web browsing, mail reading etc.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Mousepad&lt;/b&gt; a notepad-like application for Xfce&lt;/li&gt;&lt;li&gt;&lt;b&gt;Orage&lt;/b&gt; a calendar application for Xfce. I'll just use &lt;a href="http://calendar.google.com"&gt;Google Calendar&lt;/a&gt; anyway ;)&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;More info and screenshots are available at &lt;a href="http://xfce-diary.blogspot.com"&gt;Xfce Diary&lt;/a&gt;. Give it a try! And you may never want to use GNOME or KDE again XD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16493933-114533056182574362?l=suksit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suksit.blogspot.com/feeds/114533056182574362/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16493933&amp;postID=114533056182574362' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114533056182574362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114533056182574362'/><link rel='alternate' type='text/html' href='http://suksit.blogspot.com/2006/04/xfce-44-beta1-released.html' title='Xfce 4.4 beta1 released!'/><author><name>kong</name><uri>http://www.blogger.com/profile/11551449845525462962</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-16493933.post-114517915366495361</id><published>2006-04-16T15:28:00.000+07:00</published><updated>2006-04-23T23:42:48.626+07:00</updated><title type='text'>Gmail File Space</title><content type='html'>If you are using Firefox and Gmail, there's a cool extension called &lt;a href="http://www.rjonna.com/ext/gspace.php"&gt;gspace&lt;/a&gt; which allows you to use Gmail as your file storage. It's similar to &lt;a href="http://en.wikipedia.org/wiki/Gmail_Drive"&gt;Gmail Drive&lt;/a&gt; in term of functions -- to store and retrieve files from your Gmail account.&lt;br /&gt;&lt;br /&gt;But unlike Gmail Drive, which can only be used on Windows, gspace runs on Firefox -- which means it can be used on (hopefully) any platform that supports Firefox. Well, at least it runs on my Gentoo Linux box :)&lt;br /&gt;&lt;br /&gt;To use gspace, you'll need:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://getfirefox.com"&gt;Mozilla Firefox&lt;/a&gt; (of course!) with&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.rjonna.com/ext/gspace.php"&gt;gspace&lt;/a&gt; extension&lt;/li&gt;&lt;li&gt;A &lt;a href="http://gmail.com"&gt;Gmail&lt;/a&gt; account&lt;/li&gt;&lt;/ul&gt;Just install the extension and restart Firefox and you're done. Start gspace by selecting Tools &gt; GSpace menu in Firefox.&lt;br /&gt;&lt;br /&gt;gspace UI looks just like an FTP client (screenshot from gspace website is &lt;a href="http://www.rjonna.com/ext/gimages/gspace-big.gif"&gt;here&lt;/a&gt;), you can select a file from your computer and upload it to your Gmail account, or download a file from your Gmail account to your harddisk. It's that simple!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16493933-114517915366495361?l=suksit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suksit.blogspot.com/feeds/114517915366495361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16493933&amp;postID=114517915366495361' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114517915366495361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114517915366495361'/><link rel='alternate' type='text/html' href='http://suksit.blogspot.com/2006/04/gmail-file-space.html' title='Gmail File Space'/><author><name>kong</name><uri>http://www.blogger.com/profile/11551449845525462962</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-16493933.post-114494334310055340</id><published>2006-04-13T22:16:00.000+07:00</published><updated>2006-04-13T23:36:29.946+07:00</updated><title type='text'>One thing I don't like about Blogger.com</title><content type='html'>Is that I cannot categorize my blog entries. At first, I think this blog will be about my experience using Linux and open source softwares. But after a while, I found that there are many things I want to write about and I just have a feeling that there should be a way to group the same kind of posts together using tag or category. It not only helps finding a post easier but also gives an overview of what my blog is about to the visitors.&lt;br /&gt;&lt;br /&gt;Why didn't google implement this feature? Or maybe it's already there but I just don't know? &lt;br /&gt;&lt;br /&gt;Now I'm looking for a Wordpress host and found some interesing ones e.g. &lt;a href="http://blogsome.com/"&gt;Blogsome&lt;/a&gt;, &lt;a href="http://blogthing.com/"&gt;Blogthing&lt;/a&gt; and &lt;a href="http://www.wordpress.com/"&gt;Wordpress.com&lt;/a&gt; (actually I got these links from the closed signup page of &lt;a href="http://weblogs.us"&gt;Weblogs.us&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;Hmmm... -_-a&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16493933-114494334310055340?l=suksit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suksit.blogspot.com/feeds/114494334310055340/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16493933&amp;postID=114494334310055340' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114494334310055340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114494334310055340'/><link rel='alternate' type='text/html' href='http://suksit.blogspot.com/2006/04/one-thing-i-dont-like-about-bloggercom.html' title='One thing I don&apos;t like about Blogger.com'/><author><name>kong</name><uri>http://www.blogger.com/profile/11551449845525462962</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-16493933.post-114456130009394194</id><published>2006-04-09T11:57:00.000+07:00</published><updated>2006-04-09T12:50:41.393+07:00</updated><title type='text'>Bangkok International Book Fair 2006</title><content type='html'>Here're the books that I bought:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.matichonbook.com/index.php?mnuid=5&amp;selmnu=490404140555"&gt;&lt;img width="66" height="98" style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/2764/1567/320/kungfu.0.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;a href="http://www.matichonbook.com/index.php?mnuid=5&amp;selmnu=490310160745"&gt;&lt;img width="66" height="98" style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/2764/1567/320/kafka.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;a href="http://www.matichonbook.com/index.php?mnuid=5&amp;selmnu=490330194148"&gt;&lt;img width="66" height="98" style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/2764/1567/320/business_fastfood.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;a href="http://www.successmedia.com/productdetail.php?product_id=5"&gt;&lt;img width="66" height="98" style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/2764/1567/320/B005.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;a href="http://www.amazon.com/gp/product/1843535173/sr=8-1/qid=1144561682/ref=pd_bbs_1/002-7974635-8359244?%5Fencoding=UTF8"&gt;&lt;img width="66" height="98" style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/2764/1567/320/1843535173.02._SCLZZZZZZZ_.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16493933-114456130009394194?l=suksit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suksit.blogspot.com/feeds/114456130009394194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16493933&amp;postID=114456130009394194' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114456130009394194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114456130009394194'/><link rel='alternate' type='text/html' href='http://suksit.blogspot.com/2006/04/bangkok-international-book-fair-2006.html' title='Bangkok International Book Fair 2006'/><author><name>kong</name><uri>http://www.blogger.com/profile/11551449845525462962</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-16493933.post-114434074736320550</id><published>2006-04-06T22:56:00.000+07:00</published><updated>2006-04-06T23:30:43.566+07:00</updated><title type='text'>Cool Firefox Wallpapers</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.opensourcepal.org"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/2764/1567/320/firefoxsurf.jpg" border="0" alt="Firefox Surf Gear" Title="Firefox Surf Gear" /&gt;&lt;/a&gt;&lt;div align="center" style="font-size:3pt"&gt;(image from &lt;a href="http://www.opensourcepal.org"&gt;OpenSourcePal.org&lt;/a&gt;)&lt;/div&gt;&lt;br /&gt;I was looking for a new wallpaper at &lt;a href="http://www.deviantart.com"&gt;deviantART&lt;/a&gt; and saw this &lt;a href="http://www.deviantart.com/view/31382299"&gt;Nova - Mozilla Firefox&lt;/a&gt; wallpaper. The author's comment said he made it for the contest at &lt;a href="http://opensourcepal.org"&gt;OpenSourcePal.org&lt;/a&gt; so I followed the link.&lt;br /&gt;&lt;br /&gt;There are many nice wallpapers there, all of them are related to open source softwares such as &lt;a href="http://getfirefox.com"&gt;Firefox&lt;/a&gt;, &lt;a href="http://www.mozilla.com/thunderbird"&gt;Thunderbird&lt;/a&gt;, &lt;a href="http://openoffice.org"&gt;OOo&lt;/a&gt;, some Linux distros etc. If you're a Firefox fan, I'm sure you don't wanna miss it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16493933-114434074736320550?l=suksit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suksit.blogspot.com/feeds/114434074736320550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16493933&amp;postID=114434074736320550' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114434074736320550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114434074736320550'/><link rel='alternate' type='text/html' href='http://suksit.blogspot.com/2006/04/cool-firefox-wallpapers.html' title='Cool Firefox Wallpapers'/><author><name>kong</name><uri>http://www.blogger.com/profile/11551449845525462962</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-16493933.post-114431982380846683</id><published>2006-04-06T17:06:00.000+07:00</published><updated>2006-04-19T13:56:49.306+07:00</updated><title type='text'>Fixing Azureus Error Messages</title><content type='html'>Every time I start &lt;a href="http://azureus.sourceforge.net"&gt;Azureus&lt;/a&gt;(2.4.0.2) on my Gentoo Linux box, two error messages will pop up, saying&lt;div class="codeblock"&gt;&lt;b&gt;Open Error&lt;/b&gt; '' could not be opened: Not a file &lt;/div&gt;and&lt;div class="codeblock"&gt;&lt;b&gt;Error&lt;/b&gt; Failed to access torrent file ''. Ensure sufficient temporary file space available (check browser cache usage).&lt;/div&gt;&lt;br /&gt;That looks like Azureus tries to open a file with empty name every time it starts up. And if you take a look at the file &lt;code&gt;/usr/bin/azureus&lt;/code&gt;, you will see that the line responsible for calling up Azureus reads:&lt;div class="codeblock"&gt;java -cp $(java-config -p systray4j,azureus-bin 2&gt;/dev/null) -Djava.library.path="${AZDIR}" org.gudy.azureus2.ui.swt.Main "$1"&lt;/div&gt;&lt;br /&gt;So the problem is when we start Azureus with no arguments, $1 will become an empty string,  and Azureus will try to find a file named '', which, of course, does not exist.&lt;br /&gt;&lt;br /&gt;To fix this, we have to check whether $1 is empty or not, and then call Azureus in appropriate way. What I did is replacing that line with:&lt;div class="codeblock"&gt;if [ "$1" == "" ]; then&lt;br /&gt;    java -cp $(java-config -p systray4j,azureus-bin 2&gt;/dev/null) -Djava.library.path="${AZDIR}" org.gudy.azureus2.ui.swt.Main&lt;br /&gt;else&lt;br /&gt;    java -cp $(java-config -p systray4j,azureus-bin 2&gt;/dev/null) -Djava.library.path="${AZDIR}" org.gudy.azureus2.ui.swt.Main "$1"&lt;br /&gt;fi&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;And no more error messages on startup! :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16493933-114431982380846683?l=suksit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suksit.blogspot.com/feeds/114431982380846683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16493933&amp;postID=114431982380846683' title='24 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114431982380846683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114431982380846683'/><link rel='alternate' type='text/html' href='http://suksit.blogspot.com/2006/04/fixing-azureus-error-messages.html' title='Fixing Azureus Error Messages'/><author><name>kong</name><uri>http://www.blogger.com/profile/11551449845525462962</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>24</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16493933.post-114395209617737026</id><published>2006-04-02T11:23:00.000+07:00</published><updated>2006-04-06T18:45:38.310+07:00</updated><title type='text'>A story of destin… er distro’s.</title><content type='html'>I just bumped into this post @ &lt;a href="http://www.tripthelight.net/weblog"&gt;CoffeeBuzz's Linux Blog&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;(quoted from original post)&lt;blockquote&gt;2 people (Bob and his girlfriend Claire) are completely new to Linux. Claire decides shes UBER l33T!?!!111 and decides to install Gentoo. Bob, being an experienced windows user decides to play it safe in GUI-land with ubuntu...&lt;/blockquote&gt;&lt;br /&gt;&lt;a href="http://www.tripthelight.net/weblog/?p=3"&gt;read more&lt;/a&gt; :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16493933-114395209617737026?l=suksit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suksit.blogspot.com/feeds/114395209617737026/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16493933&amp;postID=114395209617737026' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114395209617737026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114395209617737026'/><link rel='alternate' type='text/html' href='http://suksit.blogspot.com/2006/04/story-of-destin-er-distros.html' title='A story of destin… er distro’s.'/><author><name>kong</name><uri>http://www.blogger.com/profile/11551449845525462962</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-16493933.post-114382061860019881</id><published>2006-03-31T20:47:00.000+07:00</published><updated>2006-04-06T18:29:47.786+07:00</updated><title type='text'>revdep-rebuild</title><content type='html'>Yesterday after I executed &lt;code&gt;emerge --sync &amp;&amp; emerge -uDav world&lt;/code&gt; to update my system, portage asked whether I want to update &lt;a href="http://en.wikipedia.org/wiki/Expat_(XML)"&gt;expat&lt;/a&gt;-1.95.8 to expat-2.0.0 so I answered yes. Emerge went fine with no error and I was about to surf the internet. I clicked on the Firefox icon but after a few minutes, nothing  showed up. So I tried clicking it again (in case I missed :P), the harddisk LED blinked for a few times then stop and Firefox window never appeared.&lt;br /&gt;&lt;br /&gt;I thought "well I should try starting it from the command line so that I can see some error messages", so I clicked on the Terminal icon to bring up a new terminal emulator. But, as you may guess, nothing popped up.&lt;br /&gt;&lt;br /&gt;After a few more clicks, I found that most of my Xfce stuffs, &lt;a href="http://thunar.xfce.org/index.html"&gt;Thunar&lt;/a&gt;, OpenOffice.org and some other apps using gtk were also broken!&lt;br /&gt;&lt;br /&gt;However, I still had a Terminal left opened after emerging the update so I tried to run Firefox and a few other apps using command line and found that they all complained about "cannot find &lt;code&gt;libexpat.so.0&lt;/code&gt;". After that I tried to re-emerge Terminal, Thunar and the whole Xfce stuffs. After re-emerging, those applications worked again.&lt;br /&gt;&lt;br /&gt;Now the question was how many apps do I have to re-emerge? I tried the command &lt;code&gt;equery d expat&lt;/code&gt; and got about 5-6 packages that depend on expat. I re-emerge them all except Firefox and OpenOffice.org because it was too time-consuming. But the result was not what I expected, I still could not open gThumb, Gaim, EasyTAG etc.&lt;br /&gt;&lt;br /&gt;The problem was that most of the broken apps were not listed when I executed the &lt;code&gt;equery&lt;/code&gt; command above. This was annoying, I didn't know exactly which apps need to be re-emerged. I could not access Gentoo Forums because Firefox was the only browser installed on the system and I was too sleepy to re-emerge Firefox (it would take more than an hour with my AthlonXP 1600+). So I decided to run &lt;code&gt;emerge -e world&lt;/code&gt; to rebuild everything and went to bed. Yeah that was silly, I know =.=&lt;br /&gt;&lt;br /&gt;Nevertheless, this evening I got my system up and running. Then I went to Gentoo Forums and found a sticky post about expat-2.0.0 in no time. They suggest running &lt;code&gt;revdep-rebuild&lt;/code&gt; to fix the problem, which I never knew before. I always thought that &lt;code&gt;revdep-rebuild&lt;/code&gt; is to be used after running &lt;code&gt;emerge --depclean&lt;/code&gt; only!&lt;br /&gt;&lt;br /&gt;Well, at least the next time this happen again I will know what to do &gt;_&lt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16493933-114382061860019881?l=suksit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suksit.blogspot.com/feeds/114382061860019881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16493933&amp;postID=114382061860019881' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114382061860019881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114382061860019881'/><link rel='alternate' type='text/html' href='http://suksit.blogspot.com/2006/03/revdep-rebuild.html' title='revdep-rebuild'/><author><name>kong</name><uri>http://www.blogger.com/profile/11551449845525462962</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-16493933.post-114355663408678540</id><published>2006-03-28T20:00:00.001+07:00</published><updated>2006-04-06T23:33:24.706+07:00</updated><title type='text'>REAL Transparent Terminal</title><content type='html'>Many terminal emulators in Linux come with so-called "Transparent background" option, which makes your terminal window *LOOKS* transparent by displaying your desktop wallpaper as terminal background instead of a solid color. This looks good if you have only one terminal window on your desktop, but if you have many windows placed over each other, you'll get a feeling that this "transparency" is fake (well, at least that's what I feel :P).&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/2764/1567/1600/screenshot-20060328-201813-scaled.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger/2764/1567/320/screenshot-20060328-201813-scaled.jpg" alt="Terminal with pseudo transparency" title="Terminal with pseudo transparency" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Thanks to Benedikt Meurer @ &lt;a href="http://xfce-diary.blogspot.com"&gt;Xfce Diary&lt;/a&gt;, who did the &lt;a href="http://xfce-diary.blogspot.com/2006/03/transparent-terminal-hack.html"&gt;transparent Terminal hack&lt;/a&gt; to enable *REAL* transparency in &lt;a href="http://os-cillation.de/index.php?id=42&amp;L=5"&gt;Terminal&lt;/a&gt; (a very popular terminal emulator used by Xfce users). &lt;br /&gt;&lt;br /&gt;This hack consists of two patches, which you can find from the link above. In addition, here're things that you need for these patches:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Latest Terminal from SVN&lt;/li&gt;&lt;li&gt;xfce4-dev-tools (to compile Terminal)&lt;/li&gt;&lt;li&gt;VTE 0.11.18 (the author mentioned it should also work with newer versions)&lt;/li&gt;&lt;/ul&gt;Once I applied the patches and re-compiled Terminal and VTE, here's the result.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/2764/1567/1600/screenshot-20060328-201830-scaled.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger/2764/1567/320/screenshot-20060328-201830-scaled.jpg" border="0" alt="Terminal with real transparency" title="Terminal with real transparency" /&gt;&lt;/a&gt;&lt;br /&gt;Quite impressive, isn't it? :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16493933-114355663408678540?l=suksit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suksit.blogspot.com/feeds/114355663408678540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16493933&amp;postID=114355663408678540' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114355663408678540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114355663408678540'/><link rel='alternate' type='text/html' href='http://suksit.blogspot.com/2006/03/real-transparent-terminal_28.html' title='REAL Transparent Terminal'/><author><name>kong</name><uri>http://www.blogger.com/profile/11551449845525462962</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>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16493933.post-114334275367937743</id><published>2006-03-26T09:08:00.000+07:00</published><updated>2006-04-17T03:07:38.573+07:00</updated><title type='text'>Firefox and gcc Optimization Flag</title><content type='html'>As you might already know, to optimize Gentoo we have to set a couple of variables which impact Portage behaviour. Those variables are stored in &lt;code&gt;/etc/make.conf&lt;/code&gt;. Some of the important variables are CFLAGS and CXXFLAGS, which define the optimization flags for the gcc and C++ compiler respectively. My CFLAGS and CXXFLAGS are defined as follow:&lt;div class="codeblock"&gt;CFLAGS="-march=athlon-xp -pipe -O3"&lt;br /&gt;CXXFLAGS="${CFLAGS}"&lt;/div&gt;&lt;br /&gt;(quoted from Gentoo Linux x86 Handbook)&lt;br /&gt;&lt;blockquote&gt;One of the options in CFLAGS is the -O flag (that is capital O, not zero), which specifies the gcc optimization class flag. Possible classes are s (for size-optimized), 0 (zero - for no optimizations), 1, 2 or 3 for more speed-optimization flags.&lt;/blockquote&gt;&lt;br /&gt;As you see, I use -O3 for more speed optimization and that works well with most applications on my Gentoo box.&lt;br /&gt;&lt;br /&gt;However, when I use &lt;a href="http://getfirefox.com"&gt;Firefox&lt;/a&gt; on this machine I noticed some strange behaviour such as the font size is not the same as what I configured in Preferences. No matter what size I specified in  the "Minimum font size" setting, it always show as small font as possible. So I have to hit Ctrl + "+"  several times in order to be able to read the content of the web.&lt;br /&gt;&lt;br /&gt;Moreover, sometimes when I move back/forward between each page, the font size just randomly got decreased automatically, which is quite annoying.&lt;br /&gt;&lt;br /&gt;I saw some people discuss about this problem in Gentoo Forums and they said it's Firefox 1.5.0 's bug. Some even suggest to downgrade to Firefox 1.0.7 but  I don't think that's a good idea.&lt;br /&gt;&lt;br /&gt;So I have been living with the font problem like for a month, then I got a new problem . My Firefox just doesn't like some web site, sometimes when I click on a link from Google, or try to read an email in my Gmail account, Firefox crashes! Fortunately I have installed &lt;a href="http://tmp.garyr.net"&gt;Tab Mix Plus&lt;/a&gt; extension, which can restore the last session I was surfing before Firefox crashed -- but that's not the right solution for sure.&lt;br /&gt;&lt;br /&gt;This time I'm pretty certain that the problem is related to the optimization flag because I have read it somewhere and it said more speed optimization = less stable software. So I edited the &lt;code&gt;/etc/make.conf&lt;/code&gt; and put -O2 instead of -O3 and executed &lt;code&gt;emerge -av mozilla-firefox&lt;/code&gt; before I went to bed last night...&lt;br /&gt;&lt;br /&gt;This morning I came to check the results, emerge went fine and Firefox seems to be happy with my emails and other web sites. More than that, I noticed that the fonts displayed on the web are bigger, like it should be according to my settings in Preferences. Surprisingly, I have fixed both of my problems at the same time. Yeah! :D&lt;br /&gt;&lt;br /&gt;Now I changed my CFLAGS option back to -O3 and have to remind myself to change it to -O2 before emerging Firefox. That's all :)&lt;br /&gt;&lt;br /&gt;---------------------&lt;br /&gt;&lt;b&gt;edited: 17 Apr 2006&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Here's some useful information about &lt;a href="http://www.mozilla.org/unix/dpi.html"&gt;Mozilla DPI-related Font Size Issues on Unix&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16493933-114334275367937743?l=suksit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suksit.blogspot.com/feeds/114334275367937743/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16493933&amp;postID=114334275367937743' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114334275367937743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114334275367937743'/><link rel='alternate' type='text/html' href='http://suksit.blogspot.com/2006/03/firefox-and-gcc-optimization-flag.html' title='Firefox and gcc Optimization Flag'/><author><name>kong</name><uri>http://www.blogger.com/profile/11551449845525462962</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-16493933.post-114330187999693022</id><published>2006-03-25T22:26:00.000+07:00</published><updated>2006-03-26T02:28:51.990+07:00</updated><title type='text'>Accessing ext2/ext3 File System from Windows</title><content type='html'>Although Linux does support read/write files on FAT32 partition, I always format my Windows partition using NTFS, so I ended up having to create a FAT32 partition to share files between Windows and Linux. And that wastes quite a lot of my harddrive space.&lt;br /&gt;&lt;br /&gt;However, today I was reading blog archives at &lt;a href="http://poonlap.blogspot.com/2005/08/ext23.html"&gt;Poonlap's Linux Blog&lt;/a&gt; and found a very interesting entry about &lt;a href="http://www.fs-driver.org/index.html"&gt;IFS (Installable File System) for Windows&lt;/a&gt;. This is just what I have been looking for -- the way to read/write files on Linux (ext2/ext3) partition when I work in Windows without having to shut down Windows and boot into Linux.&lt;br /&gt;&lt;br /&gt;Now I am just hoping that some day Linux would fully support writing files on NTFS partition (or maybe WinFS that will come with Windows Vista?) :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16493933-114330187999693022?l=suksit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suksit.blogspot.com/feeds/114330187999693022/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16493933&amp;postID=114330187999693022' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114330187999693022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114330187999693022'/><link rel='alternate' type='text/html' href='http://suksit.blogspot.com/2006/03/accessing-ext2ext3-file-system-from.html' title='Accessing ext2/ext3 File System from Windows'/><author><name>kong</name><uri>http://www.blogger.com/profile/11551449845525462962</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-16493933.post-114327860094674785</id><published>2006-03-25T16:23:00.000+07:00</published><updated>2006-04-06T23:35:25.443+07:00</updated><title type='text'>My Desktop</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/2764/1567/1600/cube.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/2764/1567/320/cube.jpg" border="0" alt="My desktop cube in the middle of spinning" title="My desktop cube in the middle of spinning" /&gt;&lt;/a&gt;&lt;br /&gt;My Gentoo GNU/Linux desktop running Xfce4, XGL and compiz.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16493933-114327860094674785?l=suksit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suksit.blogspot.com/feeds/114327860094674785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16493933&amp;postID=114327860094674785' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114327860094674785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114327860094674785'/><link rel='alternate' type='text/html' href='http://suksit.blogspot.com/2006/03/my-desktop.html' title='My Desktop'/><author><name>kong</name><uri>http://www.blogger.com/profile/11551449845525462962</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-16493933.post-114291690185356960</id><published>2006-03-21T11:49:00.000+07:00</published><updated>2006-03-25T17:59:45.700+07:00</updated><title type='text'>Web Badges/Buttons</title><content type='html'>Looking for a nice web badge/button for your site?&lt;br /&gt;&lt;br /&gt;There's a tutorial on how to create web badges and a LARGE collection of nice web badges/buttons ready for use at &lt;a href="http://www.zwahlendesign.ch/en/node/19"&gt;ZwahlenDesign&lt;/a&gt;. Check it out :)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;updated:&lt;/b&gt;&lt;br /&gt;If you need something for your forum signature, try this one: &lt;a href="http://userbars.com"&gt;Userbars.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16493933-114291690185356960?l=suksit.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suksit.blogspot.com/feeds/114291690185356960/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16493933&amp;postID=114291690185356960' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114291690185356960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16493933/posts/default/114291690185356960'/><link rel='alternate' type='text/html' href='http://suksit.blogspot.com/2006/03/web-badgesbuttons.html' title='Web Badges/Buttons'/><author><name>kong</name><uri>http://www.blogger.com/profile/11551449845525462962</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></feed>
