<?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-2540649402182938344</id><updated>2011-07-07T20:25:12.995-07:00</updated><title type='text'>Ideas, Views &amp; Thought Sparks</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://philofellow.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://philofellow.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>philofellow</name><uri>http://www.blogger.com/profile/09897887939597975905</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>16</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2540649402182938344.post-8958412842312877418</id><published>2009-08-30T15:10:00.000-07:00</published><updated>2009-08-30T19:20:05.388-07:00</updated><title type='text'>speed up video card of T41</title><content type='html'>Mine is radeon M7500.&lt;br /&gt;And in my xorg.conf, I have:&lt;br /&gt;-------------------------------------------&lt;br /&gt;Section "Device"&lt;br /&gt;  Identifier "Configured Video Device"&lt;br /&gt;  Boardname "ATI Radeon"&lt;br /&gt;  Busid "PCI:1:0:0"&lt;br /&gt;  Driver "radeon"&lt;br /&gt;  Screen 0&lt;br /&gt;  Vendorname "ATI"&lt;br /&gt;  Option "MergedFB" "off"&lt;br /&gt;  Option "AccelMethod" "EXA"&lt;br /&gt;  Option "EXANoComposite" "false"&lt;br /&gt;  Option "AGPFastWrite" "On"&lt;br /&gt;  Option "FBTexPercent" "50"&lt;br /&gt;  Option "MigrationHeuristic" "greedy" # the most effective option&lt;br /&gt;  Option "DRI" "true"&lt;br /&gt;  Option "GARTSize" "256"&lt;br /&gt;  Option "AGPMode" "4"&lt;br /&gt;  Option "Colortiling" "On"&lt;br /&gt;EndSection&lt;br /&gt;-------------------------------------------&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2540649402182938344-8958412842312877418?l=philofellow.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://philofellow.blogspot.com/feeds/8958412842312877418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://philofellow.blogspot.com/2009/08/speed-up-video-card-of-t41.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/8958412842312877418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/8958412842312877418'/><link rel='alternate' type='text/html' href='http://philofellow.blogspot.com/2009/08/speed-up-video-card-of-t41.html' title='speed up video card of T41'/><author><name>philofellow</name><uri>http://www.blogger.com/profile/09897887939597975905</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-2540649402182938344.post-4461775168716208094</id><published>2009-08-15T19:46:00.000-07:00</published><updated>2009-08-16T07:32:14.176-07:00</updated><title type='text'>ubuntu 256 bit color urxvt (from internet)</title><content type='html'>Steps used to recompile urxvt with the 256 bit color patch.&lt;br /&gt;$ apt-get source rxvt-unicode&lt;br /&gt;$ sudo apt-get build-dep rxvt-unicode&lt;br /&gt;$ cd rxvt-unicode*&lt;br /&gt;$ patch -p1 &lt; doc/urxvt-8.2-256color.patch &lt;br /&gt;$ sudo dpkg-buildpackage -us -uc&lt;br /&gt;$ sudo dpkg -i rxvt-unicode_9.05-4_i386.deb&lt;br /&gt;$ echo "rxvt-unicode hold" | sudo dpkg --set-selections&lt;br /&gt;in your .Xdefaults file, type: rxvt.termName=xterm, so that most ssh to other machine will support 256 color.&lt;br /&gt;&lt;br /&gt;The last step makes sure apt doesn't reinstall the old package the next time you update.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2540649402182938344-4461775168716208094?l=philofellow.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://philofellow.blogspot.com/feeds/4461775168716208094/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://philofellow.blogspot.com/2009/08/ubuntu-256-bit-color-urxvt-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/4461775168716208094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/4461775168716208094'/><link rel='alternate' type='text/html' href='http://philofellow.blogspot.com/2009/08/ubuntu-256-bit-color-urxvt-from.html' title='ubuntu 256 bit color urxvt (from internet)'/><author><name>philofellow</name><uri>http://www.blogger.com/profile/09897887939597975905</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-2540649402182938344.post-2709441303456724631</id><published>2009-08-14T09:52:00.000-07:00</published><updated>2009-08-14T18:42:19.369-07:00</updated><title type='text'>opera keyboard issues</title><content type='html'>I found that sometime my keyboard didn't respond in opera. I can get this fixed by start a terminal and close it, then my keyboard come back. &lt;br /&gt;But today I found a solution.&lt;br /&gt;It is caused by conflict between it and scim.&lt;br /&gt;So:&lt;br /&gt;sudo apt-get install scim-qtimm&lt;br /&gt;sudo vim /usr/bin/opera&lt;br /&gt;&lt;br /&gt;add "export export QT_IM_MODULE=SCIM" at second line.&lt;br /&gt;&lt;br /&gt;restart opera and all is fine.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2540649402182938344-2709441303456724631?l=philofellow.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://philofellow.blogspot.com/feeds/2709441303456724631/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://philofellow.blogspot.com/2009/08/opera-keyboard-issues.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/2709441303456724631'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/2709441303456724631'/><link rel='alternate' type='text/html' href='http://philofellow.blogspot.com/2009/08/opera-keyboard-issues.html' title='opera keyboard issues'/><author><name>philofellow</name><uri>http://www.blogger.com/profile/09897887939597975905</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-2540649402182938344.post-8668801223843189243</id><published>2009-08-13T18:59:00.000-07:00</published><updated>2009-08-13T19:33:39.006-07:00</updated><title type='text'>Opera with Chinese font config</title><content type='html'>First, you need to have YaHei font, which I think can give you best profile when Chinese+English is showing. I even use it as the font in terminal. I think it is better than WenQuanYi.&lt;br /&gt;Methods of installing YaHei is in another post of mine.&lt;br /&gt;&lt;br /&gt;1. Tools-&gt;Preferences-&gt;advanced-&gt;fonts; all change to YaHei Consolas Hybrid.&lt;br /&gt;2. type opera:config in address bar, search antialiasing and dismark it.&lt;br /&gt;3. open a terminal, type:&lt;br /&gt;echo 'html,body,*{font-family:"YaHei Consolas Hybrid" !important;}' &gt; ~/.opera/styles/user/user.css&lt;br /&gt;4. restart opera, view-&gt;style-&gt;user.css.&lt;br /&gt;tools-&gt;preferences-&gt;general-&gt;language-&gt;details-&gt;encoding to assume...-&gt;gb18030&lt;br /&gt;5. restart opera. &lt;br /&gt;You will find the Chinese font is perfect.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2540649402182938344-8668801223843189243?l=philofellow.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://philofellow.blogspot.com/feeds/8668801223843189243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://philofellow.blogspot.com/2009/08/opera-with-chinese-font-config.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/8668801223843189243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/8668801223843189243'/><link rel='alternate' type='text/html' href='http://philofellow.blogspot.com/2009/08/opera-with-chinese-font-config.html' title='Opera with Chinese font config'/><author><name>philofellow</name><uri>http://www.blogger.com/profile/09897887939597975905</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-2540649402182938344.post-1952524850826834024</id><published>2009-06-21T00:46:00.000-07:00</published><updated>2009-06-21T00:53:12.583-07:00</updated><title type='text'>Chinese configure in wine</title><content type='html'>1. add wine-cn source&lt;br /&gt;&lt;span style="font-style:italic;"&gt;wget -O- 'http://keyserver.ubuntu.com:11371/pks/lookup?op=get&amp;search=0x84DD336194625C2F' | sudo apt-key add -&lt;br /&gt;&lt;br /&gt;echo -e "deb http://ppa.launchpad.net/wine-cn/ppa/ubuntu jaunty main\ndeb-src http://ppa.launchpad.net/wine-cn/ppa/ubuntu jaunty main" | sudo tee /etc/apt/sources.list.d/wine-cn.list&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;2. &lt;br /&gt;&lt;span style="font-style:italic;"&gt;sudo apt-get update&lt;br /&gt;sudo apt-get install wine&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;3. &lt;br /&gt;If you "Locale" is not zh_CN, &lt;span style="font-weight:bold;"&gt;MODIFY&lt;/span&gt; the command line in &lt;span style="font-style:italic;"&gt;~/.local/share/applications/wine-Programs-XXX.desktop&lt;/span&gt; &lt;span style="font-weight:bold;"&gt;TO &lt;/span&gt;&lt;span style="font-style:italic;"&gt;env LANG=zh_CN.UTF-8 wine "C:\Program Files\XXX.exe"&lt;/span&gt; to provide Chinese support.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2540649402182938344-1952524850826834024?l=philofellow.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://philofellow.blogspot.com/feeds/1952524850826834024/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://philofellow.blogspot.com/2009/06/chinese-configure-in-wine.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/1952524850826834024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/1952524850826834024'/><link rel='alternate' type='text/html' href='http://philofellow.blogspot.com/2009/06/chinese-configure-in-wine.html' title='Chinese configure in wine'/><author><name>philofellow</name><uri>http://www.blogger.com/profile/09897887939597975905</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-2540649402182938344.post-1446690929467440459</id><published>2009-06-20T23:41:00.000-07:00</published><updated>2009-06-20T23:46:37.422-07:00</updated><title type='text'>Chinese font configuration in ubuntu 9.04</title><content type='html'>I prefer YaHei font, due to its good mix of Chinese and English&lt;br /&gt;1. Download from http://rs54l33.rapidshare.com/files/34563809/5101584/YaHei.Consolas.1.11b.zip&lt;br /&gt;2. Copy the ttf file to ~/.fonts&lt;br /&gt;3. &lt;span style="font-style:italic;"&gt;fc-cache -fv&lt;/span&gt; (to refresh the font list)&lt;br /&gt;4. Right click on desktop -&gt; Change Desktop Background -&gt; Fonts. Change all to YaHei ....&lt;br /&gt;&lt;br /&gt;Done.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2540649402182938344-1446690929467440459?l=philofellow.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://philofellow.blogspot.com/feeds/1446690929467440459/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://philofellow.blogspot.com/2009/06/chinese-font-configuration-in-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/1446690929467440459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/1446690929467440459'/><link rel='alternate' type='text/html' href='http://philofellow.blogspot.com/2009/06/chinese-font-configuration-in-ubuntu.html' title='Chinese font configuration in ubuntu 9.04'/><author><name>philofellow</name><uri>http://www.blogger.com/profile/09897887939597975905</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-2540649402182938344.post-9086021787331662888</id><published>2009-06-18T23:40:00.000-07:00</published><updated>2009-06-19T00:17:42.852-07:00</updated><title type='text'>watch video in ubuntu 9.04</title><content type='html'>1. Remove totem media player.&lt;br /&gt;   &lt;br /&gt;Remove totem media player from synaptic. &lt;br /&gt;&lt;span style="font-style:italic;"&gt;   sudo rm /usr/share/applications/totem.desktop&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;2. Install mplayer, codec and plugin for firefox&lt;br /&gt;&lt;br /&gt;   &lt;span style="font-style:italic;"&gt;sudo apt-get install mplayer mplayer-fonts mozilla-mplayer&lt;/span&gt;&lt;br /&gt;   download all-20071007.tar.bz2 from http://www2.mplayerhq.hu/MPlayer/releases/codecs/&lt;br /&gt;   &lt;span style="font-style:italic;"&gt;tar jxvf all-20071007.tar.bz2 /usr/lib/codecs/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;3. Fix realplayer codec: drvc.so&lt;br /&gt;&lt;br /&gt;   &lt;span style="font-style:italic;"&gt;sudo apt-get install libstdc++5&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;4. Add restricted video format&lt;br /&gt;&lt;br /&gt;   &lt;span style="font-style:italic;"&gt;sudo apt-get install ubuntu-restricted-extras&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;5. Also better to do the following:&lt;br /&gt;&lt;br /&gt;   &lt;span style="font-style:italic;"&gt;sudo wget http://www.medibuntu.org/sources.list.d/jaunty.list --output-document=/etc/apt/sources.list.d/medibuntu.list&lt;br /&gt;   sudo apt-get update &amp;&amp; sudo apt-get install medibuntu-keyring &amp;&amp; sudo apt-get update&lt;br /&gt;   sudo apt-get install w32codecs &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Enjoy now!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2540649402182938344-9086021787331662888?l=philofellow.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://philofellow.blogspot.com/feeds/9086021787331662888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://philofellow.blogspot.com/2009/06/watch-video-in-ubuntu-904.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/9086021787331662888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/9086021787331662888'/><link rel='alternate' type='text/html' href='http://philofellow.blogspot.com/2009/06/watch-video-in-ubuntu-904.html' title='watch video in ubuntu 9.04'/><author><name>philofellow</name><uri>http://www.blogger.com/profile/09897887939597975905</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-2540649402182938344.post-1734437620447864863</id><published>2009-05-23T23:40:00.000-07:00</published><updated>2009-05-24T00:59:35.586-07:00</updated><title type='text'>config ubuntu</title><content type='html'>My laptop has little resources(Thinkpad T41) so I need to shut down all the desktop effect as follows:&lt;br /&gt;1. Don't use compiz.&lt;br /&gt;2. gconf-editor:&lt;br /&gt;    1)/apps/panel/toplevels, for all the panel, clear "enable_animations"&lt;br /&gt;    2)/apps/metacity/general, mark "reduced_resources"&lt;br /&gt;    3)/apps/panel/global, clear "enable_animations"&lt;br /&gt;    4)/desktop/genome/interface, mark "accessibility"&lt;br /&gt;3. sudo vim ~/gtkrc-2.0, add: gtk-menu-popup-delay = 0&lt;br /&gt;4. (important)&lt;br /&gt;   sudo vim /etc/hosts:&lt;br /&gt;    change: 127.0.0.1   localhost&lt;br /&gt;            127.0.1.1   your-laptop&lt;br /&gt;    to:     127.0.0.1   localhost your-laptop&lt;br /&gt;            127.0.1.1   your-laptop&lt;br /&gt;5. sudo vim /etc/default/console-setup&lt;br /&gt;    ACTIVE_CONSOLES="/dev/tty[1-6]" -&gt; ACTIVE_CONSOLES="/dev/tty[1-2]"&lt;br /&gt;   cd /etc/event.d/&lt;br /&gt;    for each tty3-tty6, comment lines start with "start on runlevel".&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2540649402182938344-1734437620447864863?l=philofellow.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://philofellow.blogspot.com/feeds/1734437620447864863/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://philofellow.blogspot.com/2009/05/config-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/1734437620447864863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/1734437620447864863'/><link rel='alternate' type='text/html' href='http://philofellow.blogspot.com/2009/05/config-ubuntu.html' title='config ubuntu'/><author><name>philofellow</name><uri>http://www.blogger.com/profile/09897887939597975905</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-2540649402182938344.post-8928642385263154740</id><published>2009-05-03T02:04:00.000-07:00</published><updated>2009-05-03T02:06:09.034-07:00</updated><title type='text'>Best background color for programmers</title><content type='html'>grass green.&lt;br /&gt;color code: #90EE90&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2540649402182938344-8928642385263154740?l=philofellow.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://philofellow.blogspot.com/feeds/8928642385263154740/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://philofellow.blogspot.com/2009/05/best-background-color-for-programmers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/8928642385263154740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/8928642385263154740'/><link rel='alternate' type='text/html' href='http://philofellow.blogspot.com/2009/05/best-background-color-for-programmers.html' title='Best background color for programmers'/><author><name>philofellow</name><uri>http://www.blogger.com/profile/09897887939597975905</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-2540649402182938344.post-1597158921055152993</id><published>2009-05-02T00:52:00.000-07:00</published><updated>2009-05-02T01:04:27.877-07:00</updated><title type='text'>eps file issues in latex</title><content type='html'>EPS file is the most commonly used figure type in latex. &lt;br /&gt;&lt;br /&gt;Two issues involved:&lt;br /&gt;&lt;b&gt;1. Decide bounding box and output a neat graph.&lt;/b&gt;&lt;br /&gt;Use the shell program here to get it done: http://www.gnuplot.info/scripts/files/fixbb&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2.Solve the eps-pdflatex conflict.&lt;/b&gt;&lt;br /&gt;If you want to directly generate pdf file from tex file. Add following lines:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;\usepackage{epstopdf}&lt;/span&gt;&lt;br /&gt;before your:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;\begin{document}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Also, simply use command: &lt;span style="font-style:italic;"&gt;pdflatex -shell-escape yourfile.tex&lt;/span&gt; to compile your tex file. Final pdf will be built.&lt;br /&gt;The reason is it will automatically generate yourgraph.pdf and use it in your tex file.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2540649402182938344-1597158921055152993?l=philofellow.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://philofellow.blogspot.com/feeds/1597158921055152993/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://philofellow.blogspot.com/2009/05/eps-file-issues-in-latex.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/1597158921055152993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/1597158921055152993'/><link rel='alternate' type='text/html' href='http://philofellow.blogspot.com/2009/05/eps-file-issues-in-latex.html' title='eps file issues in latex'/><author><name>philofellow</name><uri>http://www.blogger.com/profile/09897887939597975905</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-2540649402182938344.post-517305578209280217</id><published>2009-05-01T16:39:00.000-07:00</published><updated>2009-05-03T15:19:18.692-07:00</updated><title type='text'>Vim+latexsuite in ubuntu 9.04</title><content type='html'>After struggling a whole day, I finally got vim+latexsuite work in ubuntu 9.04.&lt;br /&gt;&lt;br /&gt;Here is the points(at least work for me):&lt;br /&gt;1. &lt;span style="font-weight:bold;"&gt;DON'T&lt;/span&gt; download the latex-suite file from http://vim-latex.sourceforge.net/ and unzip into ~/.vim/. It just simply doesn't work because vim-addons cannot find it, even if ~/.vim/ is in the runtimepath of vim. I don't know why.&lt;br /&gt;2. &lt;span style="font-weight:bold;"&gt;USE&lt;/span&gt; &lt;span style="font-style:italic;"&gt;sudo apt-get install vim-latex&lt;/span&gt; to let ubuntu install it for you. Also do &lt;span style="font-style:italic;"&gt;sudo apt-get install vim-addons-manager&lt;/span&gt; if you haven't. &lt;br /&gt;3. &lt;span style="font-style:italic;"&gt;sudo vim-addons -w install latex-suite&lt;/span&gt;&lt;br /&gt;4. &lt;span style="font-style:italic;"&gt;vim-addons&lt;/span&gt;&lt;br /&gt;5. You should see &lt;br /&gt;#name User Status    System Status&lt;br /&gt;&lt;span style="font-style:italic;"&gt;latex-suite installed&lt;/span&gt;(or removed, doesn't matter)     &lt;span style="font-style:italic;"&gt;installed&lt;/span&gt;&lt;br /&gt;6. put your own tex.vim file in /usr/share/vim/addons/ftplugin/&lt;br /&gt;7. In .vimrc, add:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;   set runtimepath+=/usr/share/vim/addons&lt;br /&gt;   filetype plugin on&lt;br /&gt;   set grepprg=grep\ -nH\ $*&lt;br /&gt;   filetype indent on&lt;br /&gt;   let g:tex_flavor="latex"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;8. &lt;span style="font-style:italic;"&gt;sudo vim yourfile.tex&lt;/span&gt;&lt;br /&gt;9. you will see an error involved with remoteOpen.vim. But latex-suite works. &lt;br /&gt;&lt;br /&gt;Right, it's wierd that I need to use sudo to launch vim. If I only type &lt;span style="font-style:italic;"&gt;vim yourfile.tex&lt;/span&gt;, the remoteOpen.vim error will also occur and latex-suite will not be called.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Update:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. I eliminate those error by commenting out the specific lines in remoteOpen.vim&lt;br /&gt;2. The reason that I can only use sudo to launch latexsuite is because the privilege of .vimrc is superuser. I "chown" it to my own user and get it done.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2540649402182938344-517305578209280217?l=philofellow.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://philofellow.blogspot.com/feeds/517305578209280217/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://philofellow.blogspot.com/2009/05/vimlatexsuite-in-ubuntu-904.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/517305578209280217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/517305578209280217'/><link rel='alternate' type='text/html' href='http://philofellow.blogspot.com/2009/05/vimlatexsuite-in-ubuntu-904.html' title='Vim+latexsuite in ubuntu 9.04'/><author><name>philofellow</name><uri>http://www.blogger.com/profile/09897887939597975905</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-2540649402182938344.post-2823438990555889533</id><published>2009-03-07T23:07:00.000-08:00</published><updated>2009-03-07T23:15:13.177-08:00</updated><title type='text'>Universe will expand or collapse?</title><content type='html'>I have a question about the modern physics. &lt;br /&gt;According to some theory, the universe will first expand then collapse if its mass is less than some constant C. We also know that the value of an object's mass is different if we observe it in different inertial reference systems. Suppose there is a small universe and two observers in different inertial reference systems. One finds that its mass is larger than the constant C and he will observe an expanding then collapse. The other finds that its mass is smaller than C so he observes an forever expanding. Is it possible?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2540649402182938344-2823438990555889533?l=philofellow.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://philofellow.blogspot.com/feeds/2823438990555889533/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://philofellow.blogspot.com/2009/03/universe-will-expand-or-collapse.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/2823438990555889533'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/2823438990555889533'/><link rel='alternate' type='text/html' href='http://philofellow.blogspot.com/2009/03/universe-will-expand-or-collapse.html' title='Universe will expand or collapse?'/><author><name>philofellow</name><uri>http://www.blogger.com/profile/09897887939597975905</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-2540649402182938344.post-2408317336157854035</id><published>2009-02-26T23:18:00.000-08:00</published><updated>2009-02-26T23:26:27.525-08:00</updated><title type='text'>Install video card for CQ50 laptop</title><content type='html'>It's nvidia 8200M. And I finally got nvidia driver 180.22 working on it. It's not perfect but at least the definition is 1280*960. I actually tested 178.xx before, and found it also work. &lt;br /&gt;The most important is to clean all the former nvidia files out of your system before you start to install new driver. It can be done by searching "nvidia" in the Synaptic Package Manager and get rid of them. The new nvidia package can not remove old version or related stuffs.&lt;br /&gt;Details are in here:&lt;br /&gt;http://www.nvnews.net/vbulletin/showthread.php?t=72490&lt;br /&gt;&lt;br /&gt;Or you can search "install nvidia linux" online.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2540649402182938344-2408317336157854035?l=philofellow.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://philofellow.blogspot.com/feeds/2408317336157854035/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://philofellow.blogspot.com/2009/02/install-video-card-for-cq50-laptop.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/2408317336157854035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/2408317336157854035'/><link rel='alternate' type='text/html' href='http://philofellow.blogspot.com/2009/02/install-video-card-for-cq50-laptop.html' title='Install video card for CQ50 laptop'/><author><name>philofellow</name><uri>http://www.blogger.com/profile/09897887939597975905</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-2540649402182938344.post-1592814139460349058</id><published>2009-02-26T15:28:00.000-08:00</published><updated>2009-02-26T15:49:27.205-08:00</updated><title type='text'>Install wireless for pressario CQ50 in Ubuntu</title><content type='html'>After struggling for a whole day, I finally found the right package for my Atheros wireless card.&lt;br /&gt;It's very simple, watch this post:&lt;br /&gt;http://ubuntuforums.org/showpost.php?p=5535562&amp;postcount=3&lt;br /&gt;Or you can search "compat wireless ath9k" online.&lt;br /&gt;You can also type&lt;br /&gt;&lt;br /&gt;  echo 'ath9k' | sudo tee -a /etc/modules&lt;br /&gt;&lt;br /&gt;to let your wireless auto-start when boot.&lt;br /&gt;&lt;br /&gt;I tried to compile several drivers by myself but all failed to work, until I found the link above. So don't waste your time to compile yourself, just use the script in the link.&lt;br /&gt;Good luck.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2540649402182938344-1592814139460349058?l=philofellow.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://philofellow.blogspot.com/feeds/1592814139460349058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://philofellow.blogspot.com/2009/02/install-wireless-for-pressario-cq50-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/1592814139460349058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/1592814139460349058'/><link rel='alternate' type='text/html' href='http://philofellow.blogspot.com/2009/02/install-wireless-for-pressario-cq50-in.html' title='Install wireless for pressario CQ50 in Ubuntu'/><author><name>philofellow</name><uri>http://www.blogger.com/profile/09897887939597975905</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-2540649402182938344.post-3356680555683446491</id><published>2009-02-22T12:53:00.000-08:00</published><updated>2009-02-22T13:41:03.606-08:00</updated><title type='text'>How about making an info-all-in-one website</title><content type='html'>The layout can be simple as google search, which only includes a search box. It can also contain multiple tabs right above the search box, which represent different source website. The tabs structures as a tree. Following is an example:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Search&lt;/b&gt;&lt;br /&gt;Text Search         |      deals search           |           flight search  &lt;br /&gt;google | yahoo | baidu     nextag | slickdeals                priceline  |   ...&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Translation&lt;/b&gt;&lt;br /&gt;Chi-&gt;Eng&lt;br /&gt;dict.cn   |   youdao   |...&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Jobs&lt;/b&gt;&lt;br /&gt;monster   |    dice    |...&lt;br /&gt;&lt;br /&gt;Sorry that it doesn't support complicate html syntax here, so I only show it in text.&lt;br /&gt;Actually a child-tab will only appear when its father-tab is selected. So the layout can be very neat.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2540649402182938344-3356680555683446491?l=philofellow.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://philofellow.blogspot.com/feeds/3356680555683446491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://philofellow.blogspot.com/2009/02/how-about-making-info-gathering-website.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/3356680555683446491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/3356680555683446491'/><link rel='alternate' type='text/html' href='http://philofellow.blogspot.com/2009/02/how-about-making-info-gathering-website.html' title='How about making an info-all-in-one website'/><author><name>philofellow</name><uri>http://www.blogger.com/profile/09897887939597975905</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-2540649402182938344.post-5944818381112607513</id><published>2009-02-19T22:18:00.000-08:00</published><updated>2009-02-19T23:04:46.166-08:00</updated><title type='text'>How to expand domestic demand in China?</title><content type='html'>As we all know, expanding domestic demand is the first priority of Chinese government to stimulate economy. However, the pressure from housing, medical care as well as education are the largest obstacles which impede Chinese people from unfilling their pockets. The fear of losing money always  brings the desire of making fast money. So what is the largest demand in China now? Not clothes, not food, not house, but money.&lt;br /&gt;Money is commodity, for sure. If people don't want to buy clothes, food, etc., give them the chance to buy money. Make the illusion that he can buy more money with less cash. The clever Chinese government is doing that currently. Based on my estimation, they will boost another big bull market and let its value doubled. In that way, an illusion that there is a place where less cash can exchange for more cash will be created. It has been created again and again in the past and never failed. Then, government sell in the peak and raise thousands of billions.&lt;br /&gt;The next step is to use that money to bail out companies, which were struggling on their decreasing export to abroad, but now can sell their productions to the government. Then, the government can sell those productions to its people for free or in large discount. In that way, the government acts as an intermediary agent, who successfully help the manufactures to sell out their goods.&lt;br /&gt;Great, domestic demand is expanded at last!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2540649402182938344-5944818381112607513?l=philofellow.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://philofellow.blogspot.com/feeds/5944818381112607513/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://philofellow.blogspot.com/2009/02/how-to-expand-domestic-demand-in-china.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/5944818381112607513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2540649402182938344/posts/default/5944818381112607513'/><link rel='alternate' type='text/html' href='http://philofellow.blogspot.com/2009/02/how-to-expand-domestic-demand-in-china.html' title='How to expand domestic demand in China?'/><author><name>philofellow</name><uri>http://www.blogger.com/profile/09897887939597975905</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>
