<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ggarlic的blog</title>
	<atom:link href="http://ggarlic.org/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://ggarlic.org/blog</link>
	<description>cat ~ggarlic/life &#62; /dev/null</description>
	<lastBuildDate>Sun, 05 Sep 2010 04:57:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>my wish list</title>
		<link>http://ggarlic.org/blog/2010/09/my-wish-list/</link>
		<comments>http://ggarlic.org/blog/2010/09/my-wish-list/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 06:07:35 +0000</pubDate>
		<dc:creator>ggarlic</dc:creator>
				<category><![CDATA[Blah]]></category>

		<guid isPermaLink="false">http://ggarlic.org/blog/?p=720</guid>
		<description><![CDATA[<p>鉴于后面几个月本blog都将处于无人管状态，提前把生日的wish list放上来好了，买不{起,到}，或者嫌贵，咱过过眼瘾总是好的。当然有人大发善心，我是绝对会收的。 :lol:</p>
<p>按口水程度由高到低排列：</p>
<strong>Amazon Kindle 3</strong>
<p style="text-align: center;"><a href="http://ggarlic.org/blog/wp-content/uploads/2010/09/big-viewer-3G-01-lrg._V188696038_.jpg" rel="lightbox[720]"><img class="alignnone size-full wp-image-721" title="kindle 3" src="http://ggarlic.org/blog/wp-content/uploads/2010/09/big-viewer-3G-01-lrg._V188696038_.jpg" alt="" width="450" height="630" /></a></p>
<strong>挨踢民工马克杯</strong>
<p style="text-align: center;"><strong><a href="http://ggarlic.org/blog/wp-content/uploads/2010/09/mingong.jpg" rel="lightbox[720]"><img class="alignnone size-full wp-image-724" title="mingong" src="http://ggarlic.org/blog/wp-content/uploads/2010/09/mingong.jpg" alt="" width="310" height="310" /></a></strong></p>
<p style="text-align: center;"><strong><br />
</strong></p>
<strong>平板读书灯</strong>
<p style="text-align: center;"><strong><a href="http://ggarlic.org/blog/wp-content/uploads/2010/09/平板读书灯5.jpg" rel="lightbox[720]"><img class="alignnone size-full wp-image-726" title="平板读书灯" src="http://ggarlic.org/blog/wp-content/uploads/2010/09/平板读书灯5.jpg" alt="" width="397" height="328" /></a></strong></p>
<p>That&#8217;s[......]</p><p class='read-more'><a href='http://ggarlic.org/blog/2010/09/my-wish-list/'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p>鉴于后面几个月本blog都将处于无人管状态，提前把生日的wish list放上来好了，买不{起,到}，或者嫌贵，咱过过眼瘾总是好的。当然有人大发善心，我是绝对会收的。 :lol:</p>
<p>按口水程度由高到低排列：</p>
<h2 style="text-align: center;"><strong>Amazon Kindle 3</strong></h2>
<p style="text-align: center;"><a href="http://ggarlic.org/blog/wp-content/uploads/2010/09/big-viewer-3G-01-lrg._V188696038_.jpg" rel="lightbox[720]"><img class="alignnone size-full wp-image-721" title="kindle 3" src="http://ggarlic.org/blog/wp-content/uploads/2010/09/big-viewer-3G-01-lrg._V188696038_.jpg" alt="" width="450" height="630" /></a></p>
<h2 style="text-align: center;"><strong>挨踢民工马克杯</strong></h2>
<p style="text-align: center;"><strong><a href="http://ggarlic.org/blog/wp-content/uploads/2010/09/mingong.jpg" rel="lightbox[720]"><img class="alignnone size-full wp-image-724" title="mingong" src="http://ggarlic.org/blog/wp-content/uploads/2010/09/mingong.jpg" alt="" width="310" height="310" /></a></strong></p>
<p style="text-align: center;"><strong><br />
</strong></p>
<h2 style="text-align: center;"><strong>平板读书灯</strong></h2>
<p style="text-align: center;"><strong><a href="http://ggarlic.org/blog/wp-content/uploads/2010/09/平板读书灯5.jpg" rel="lightbox[720]"><img class="alignnone size-full wp-image-726" title="平板读书灯" src="http://ggarlic.org/blog/wp-content/uploads/2010/09/平板读书灯5.jpg" alt="" width="397" height="328" /></a></strong></p>
<p>That&#8217;s all.And 此文另一个目的是为证明我还活着~~</p>
<p>鞠躬，下台</p>
]]></content:encoded>
			<wfw:commentRss>http://ggarlic.org/blog/2010/09/my-wish-list/feed/</wfw:commentRss>
		<slash:comments>31</slash:comments>
		</item>
		<item>
		<title>恢复/var/lib/pacman</title>
		<link>http://ggarlic.org/blog/2010/07/restore_pacman/</link>
		<comments>http://ggarlic.org/blog/2010/07/restore_pacman/#comments</comments>
		<pubDate>Sat, 31 Jul 2010 04:41:27 +0000</pubDate>
		<dc:creator>ggarlic</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[pacman]]></category>

		<guid isPermaLink="false">http://ggarlic.org/blog/?p=702</guid>
		<description><![CDATA[<p>不小心把/var/lib/pacman删除了，别问我为什么，我到现在都不知道我当时脑子怎么抽抽了，大概是热得。</p>
<p>昨晚搞到3点多终于把被删除的玩意都恢复回来了，说说怎么做的吧。</p>
<p>先看看/var/lib/pacman里都是什么东西（恢复后的）：</p>
<p style="padding-left: 30px;">local/    sync/    archlinuxf[......]</p><p class='read-more'><a href='http://ggarlic.org/blog/2010/07/restore_pacman/'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p>不小心把/var/lib/pacman删除了，别问我为什么，我到现在都不知道我当时脑子怎么抽抽了，大概是热得。</p>
<p>昨晚搞到3点多终于把被删除的玩意都恢复回来了，说说怎么做的吧。</p>
<p>先看看/var/lib/pacman里都是什么东西（恢复后的）：</p>
<p style="padding-left: 30px;">local/    sync/    archlinuxfr.db.tar.gz    community.db.tar.gz    core.db.tar.gz    extra.db.tar.gz</p>
<p>4个*.db.tar.gz文件显然是源数据库，包含了包的各种基本信息。sync/就是这四个文件解压出来的文件夹。</p>
<p>local/文件夹很重要，本地安装了哪些包，及每个包的各种基本信息都有记录。用local下的grep-2.6.3-1文件夹为例：</p>
<p style="padding-left: 30px;">grep-2.6.3.1/<br />
|__depends  依赖关系<br />
|__desc  包的描述信息<br />
|__files   包会给系统安装哪些文件<br />
|__install   安装卸载脚本</p>
<p>如果哪天不小心删除了local/的话：</p>
<ul>
<li>pacman -Q不会有任何输出，-Syu会提示你系统是最新的</li>
<li>安装包的时候，会提示你你一堆已经解决的依赖让你重新安装这些依赖（依赖地狱？）</li>
</ul>
<p>不过好在有办法恢复~~</p>
<h2>1，恢复sync/</h2>
<p style="padding-left: 30px;">这个不难，pacman -Syyu就能实现。</p>
<h2>2,  恢复local/</h2>
<p style="padding-left: 30px;">参考了archlinux的wiki：<a href="http://wiki.archlinux.org/index.php/Pacman_Tips#Restore_pacman.27s_local_database">restore pacman&#8217;s local database</a></p>
<p style="padding-left: 30px;">我懒得翻译，也懒得用自己的话写出来，点过去自己看吧。<strong>这个方法要用到pacman.log，最好保证这个文件没有被清理过。</strong>文中提供了pacman.log也不能用的时候的解决办法（这人真倒霉=.=）:使用<a href="http://bbs.archlinux.org/viewtopic.php?pid=670876">Xyne的package detection脚本</a></p>
<p style="padding-left: 30px;">至于恢复AUR的包，wiki中首先生成的pkglist.org实际上是包含AUR的包的，sort排序之后跟后面生成的不含AUR包的pkglist对比一下就得出AUR包的列表了：</p>
<pre class="brush:bash;" style="padding-left: 30px;">comm -23 pkglist.org pkglist &gt; pkg.AUR</pre>
<p style="padding-left: 30px;">然后导入安装：</p>
<pre class="brush:bash;" style="padding-left: 30px;">yaourt -S $(&lt; pkglist.AUR)</pre>
<h2>3，杂项</h2>
<p style="padding-left: 30px;">到现在基本差不多了，恢复的时候很浪费时间，不然我也不会折腾到3点才睡了。毕竟是把所有包重新下载一遍，再安装一遍（wiki中的两个方法实际上都是安装了一遍所有的包，只不过一个实际安装，一个是用fakeroot装到了自己定义的${root}下）</p>
<p style="padding-left: 30px;">都装完了，别忘了-Qdt一下，最好再查查多装了什么包没有，尤其是像我这种有洁癖的人</p>
<p>每一位删除了/var/lib/pacman的人上辈子都是折翼的天使，遇到这样的人你就嫁了吧，这样的人你伤不起。 <img src='http://ggarlic.org/blog/wp-includes/images/smilies/orz.gif' alt=':orz:' class='wp-smiley' /> </p>
<p>就这样吧。</p>
<p>EOF</p>
]]></content:encoded>
			<wfw:commentRss>http://ggarlic.org/blog/2010/07/restore_pacman/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>intel 3945网卡问题</title>
		<link>http://ggarlic.org/blog/2010/07/intel-3945-connection-problem/</link>
		<comments>http://ggarlic.org/blog/2010/07/intel-3945-connection-problem/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 01:57:28 +0000</pubDate>
		<dc:creator>ggarlic</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[autojump]]></category>
		<category><![CDATA[intel3945]]></category>
		<category><![CDATA[wifi]]></category>

		<guid isPermaLink="false">http://ggarlic.org/blog/?p=699</guid>
		<description><![CDATA[<p>这个问题貌似已经出现很就了，因为一直没用wifi所以没太注意，直到昨天想用了。。。</p>
<p>我记得是某一天更新的时候提示网卡驱动被linux-firmware代替了，之后就一直提示我无限网卡被禁用。<br />
强行ifconfig wlan0 up的话会提示:</p>
<blockquote><p>SIOCSIFFLAGS: Operation not [......]</p></blockquote><p class='read-more'><a href='http://ggarlic.org/blog/2010/07/intel-3945-connection-problem/'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p>这个问题貌似已经出现很就了，因为一直没用wifi所以没太注意，直到昨天想用了。。。</p>
<p>我记得是某一天更新的时候提示网卡驱动被linux-firmware代替了，之后就一直提示我无限网卡被禁用。<br />
强行ifconfig wlan0 up的话会提示:</p>
<blockquote><p>SIOCSIFFLAGS: Operation not possible due to RF-kill</p></blockquote>
<p><a href="https://bbs.archlinux.org/viewtopic.php?id=98913">https://bbs.archlinux.org/viewtopic.php?id=98913</a></p>
<p>在官方论坛里找到了解决方法</p>
<p><code>sudo pacman -S rfkill</code></p>
<p><code>ggarlic 14 ~ &gt; rfkill list<br />
0: hp-wifi: Wireless LAN<br />
Soft blocked: yes<br />
Hard blocked: no<br />
1: phy0: Wireless LAN<br />
Soft blocked: yes<br />
Hard blocked: yes</code><br />
然后unblock掉1和0<br />
<code>sudo rfkill unblock 0<br />
sudo rfkill unblock 1</code><br />
最后就是ifconfig wlan0 up了</p>
<p>enjoy~</p>
<p>PS：在<a href="http://roylez.heroku.com/2010/07/22/autojump.html">金主席的blog</a>里发现一个疑似神器autojump，archlinux下可以直接用pacman安装，在community里</p>
<p>lifehacker里的介绍<a href="http://lifehacker.com/5583546/autojump-is-a-faster-way-to-browse-your-filesystem">http://lifehacker.com/5583546/autojump-is-a-faster-way-to-browse-your-filesystem</a></p>
<p>刚刚在google的时候，发现自己火星了，linuxtoy在09年2月的帖子：<a href="http://linuxtoy.org/archives/autojump.html">http://linuxtoy.org/archives/autojump.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ggarlic.org/blog/2010/07/intel-3945-connection-problem/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>毕业了</title>
		<link>http://ggarlic.org/blog/2010/07/graduation/</link>
		<comments>http://ggarlic.org/blog/2010/07/graduation/#comments</comments>
		<pubDate>Sat, 03 Jul 2010 07:09:41 +0000</pubDate>
		<dc:creator>ggarlic</dc:creator>
				<category><![CDATA[Blah]]></category>

		<guid isPermaLink="false">http://ggarlic.org/blog/?p=697</guid>
		<description><![CDATA[<p>我的大学就这么结束了，四年时光。最后两天如果有人煽情一下，我绝对会哭出来的。</p>
<p><embed src="http://player.youku.com/player.php/sid/XMTg0MjQyNTUy/v.swf" quality="high" width="480" height="400" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"></embed></p>
<p>作业题：请在下面的图片中找出我来</p>
<p><a href="http://www.flickr.com/photos/ggarlic/4757052452/" title="1 [1600x1200] by ggarlic, on Flickr"><img src="http://farm5.static.flickr.com/4135/4757052452_7d8e55c5cf.jpg" width="500" height="220" alt="1 [1600x1200]" /></a></p>]]></description>
			<content:encoded><![CDATA[<p>我的大学就这么结束了，四年时光。最后两天如果有人煽情一下，我绝对会哭出来的。</p>
<p><embed src="http://player.youku.com/player.php/sid/XMTg0MjQyNTUy/v.swf" quality="high" width="480" height="400" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"></embed></p>
<p>作业题：请在下面的图片中找出我来</p>
<p><a href="http://www.flickr.com/photos/ggarlic/4757052452/" title="1 [1600x1200] by ggarlic, on Flickr"><img src="http://farm5.static.flickr.com/4135/4757052452_7d8e55c5cf.jpg" width="500" height="220" alt="1 [1600x1200]" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ggarlic.org/blog/2010/07/graduation/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>西电Archlinux正式源上线(仅限内网)</title>
		<link>http://ggarlic.org/blog/2010/06/the-archlinux-repo-of-xdu-is-online/</link>
		<comments>http://ggarlic.org/blog/2010/06/the-archlinux-repo-of-xdu-is-online/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 06:36:10 +0000</pubDate>
		<dc:creator>ggarlic</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[arch]]></category>
		<category><![CDATA[repo]]></category>

		<guid isPermaLink="false">http://ggarlic.org/blog/?p=691</guid>
		<description><![CDATA[<p>ip已变，详情请给下面两个地址发邮件咨询</p>
<p>引用自<a href="http://blog.renren.com/blog/248151116/469996200">Bigeagle的帖子</a>：<br />
地址：<br />
<a href="ftp://202.117.113.151/archlinux" target="_blank">ftp://202.117.113.151/archlinux</a><span style="text-decoration: underline;"><br />
</span> <a href="ftp://202.117.113.152/archlinux" target="_blank">ftp://202.117.113.152/archlinux</a></p>
<p>目前开了三个仓库：core、extra和community，testing没开。限速4M[......]</p><p class='read-more'><a href='http://ggarlic.org/blog/2010/06/the-archlinux-repo-of-xdu-is-online/'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p>ip已变，详情请给下面两个地址发邮件咨询</p>
<p>引用自<a href="http://blog.renren.com/blog/248151116/469996200">Bigeagle的帖子</a>：<br />
地址：<br />
<a href="ftp://202.117.113.151/archlinux" target="_blank">ftp://202.117.113.151/archlinux</a><span style="text-decoration: underline;"><br />
</span> <a href="ftp://202.117.113.152/archlinux" target="_blank">ftp://202.117.113.152/archlinux</a></p>
<p>目前开了三个仓库：core、extra和community，testing没开。限速4M</p>
<p>在/etc/pacman.d/mirrorlist 里加上<br />
Server = <a href="ftp://202.117.113.151/archlinux/" target="_blank">ftp://202.117.113.151/archlinux/</a>$repo/os /i686(或者x86_64，按实际情况改)<br />
Server = <a href="ftp://202.117.113.152/archlinux/" target="_blank">ftp://202.117.113.152/archlinux/</a>$repo/os/i686</p>
<p>这个更新源由bigeagle和lvzongting维护，每天凌晨5点更新仓库，第一个星期为公测期，可能会出现暂时连不上的情况。</p>
<p>有问题请发邮件<br />
justin.w.xd#gmail dot com<br />
lvzongting#gmail dot com</p>
<p>如有愿意与我们合作提供服务器进行负载均衡，请联系我们</p>
<p>——献给ggarlic</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;引用完毕&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>感谢郭嘉，感谢bigeagle跟lvzongting两位同学的辛苦劳作，向你们致敬~<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;验证，请忽略－－－－－－－－－－－－－－－－－－－－－－－－－－－<br />
乐铺活动验证</p>
]]></content:encoded>
			<wfw:commentRss>http://ggarlic.org/blog/2010/06/the-archlinux-repo-of-xdu-is-online/feed/</wfw:commentRss>
		<slash:comments>33</slash:comments>
		</item>
		<item>
		<title>翩翩来迟的arch源</title>
		<link>http://ggarlic.org/blog/2010/06/final-we-get-our-own-arch-repo/</link>
		<comments>http://ggarlic.org/blog/2010/06/final-we-get-our-own-arch-repo/#comments</comments>
		<pubDate>Sun, 06 Jun 2010 14:42:19 +0000</pubDate>
		<dc:creator>ggarlic</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[arch]]></category>
		<category><![CDATA[repo]]></category>

		<guid isPermaLink="false">http://ggarlic.org/blog/?p=684</guid>
		<description><![CDATA[<p>刚才bigeagle汪童鞋发了一张流出照，拿过来解解馋<br />
<a href="http://ggarlic.org/blog/wp-content/uploads/2010/06/p_large_0ITX_5c49000296622d0b.jpg" rel="lightbox[684]"><img class="alignnone size-full wp-image-685" title="p_large_0ITX_5c49000296622d0b" src="http://ggarlic.org/blog/wp-content/uploads/2010/06/p_large_0ITX_5c49000296622d0b.jpg" alt="" width="600" height="335" /></a></p>
<p>不容易啊，在几个archer的忽悠+力挺之下，学校网络中心的linux源里有了arch源，估计在毕业之前还能用上几天，内牛满面啊~~</p>
<p>其他具体情况我不了解，无法泄露更多情况  <img src='http://ggarlic.org/blog/wp-includes/images/smilies/stick_tongue.gif' alt=':stick_tongue:' class='wp-smiley' /> </p>
<p>恩，以后在学校里忽悠人用arch的重任就要落在汪童鞋肩上了，恩[......]</p><p class='read-more'><a href='http://ggarlic.org/blog/2010/06/final-we-get-our-own-arch-repo/'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p>刚才bigeagle汪童鞋发了一张流出照，拿过来解解馋<br />
<a href="http://ggarlic.org/blog/wp-content/uploads/2010/06/p_large_0ITX_5c49000296622d0b.jpg" rel="lightbox[684]"><img class="alignnone size-full wp-image-685" title="p_large_0ITX_5c49000296622d0b" src="http://ggarlic.org/blog/wp-content/uploads/2010/06/p_large_0ITX_5c49000296622d0b.jpg" alt="" width="600" height="335" /></a></p>
<p>不容易啊，在几个archer的忽悠+力挺之下，学校网络中心的linux源里有了arch源，估计在毕业之前还能用上几天，内牛满面啊~~</p>
<p>其他具体情况我不了解，无法泄露更多情况  <img src='http://ggarlic.org/blog/wp-includes/images/smilies/stick_tongue.gif' alt=':stick_tongue:' class='wp-smiley' /> </p>
<p>恩，以后在学校里忽悠人用arch的重任就要落在汪童鞋肩上了，恩，任重而道远。</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;update&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
<a href="http://ggarlic.org/blog/2010/06/the-archlinux-repo-of-xdu-is-online/">http://ggarlic.org/blog/2010/06/the-archlinux-repo-of-xdu-is-online/</a><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>最后，扔张调查结果吧。你希望学校的linux源里有哪些发行版，多选</p>
<p><a href="http://ggarlic.org/blog/wp-content/uploads/2010/06/未命名d.jpg" rel="lightbox[684]"><img class="alignnone size-full wp-image-686" title="未命名d" src="http://ggarlic.org/blog/wp-content/uploads/2010/06/未命名d.jpg" alt="" width="583" height="521" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ggarlic.org/blog/2010/06/final-we-get-our-own-arch-repo/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>该评论已关闭</title>
		<link>http://ggarlic.org/blog/2010/05/%e8%af%a5%e8%af%84%e8%ae%ba%e5%b7%b2%e5%85%b3%e9%97%ad/</link>
		<comments>http://ggarlic.org/blog/2010/05/%e8%af%a5%e8%af%84%e8%ae%ba%e5%b7%b2%e5%85%b3%e9%97%ad/#comments</comments>
		<pubDate>Tue, 25 May 2010 15:41:55 +0000</pubDate>
		<dc:creator>ggarlic</dc:creator>
				<category><![CDATA[Blah]]></category>

		<guid isPermaLink="false">http://ggarlic.org/blog/?p=681</guid>
		<description><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="420" height="363" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="wmode" value="opaque" /><param name="src" value="http://www.tudou.com/v/4Jspan1N9yA/v.swf" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="420" height="363" src="http://www.tudou.com/v/4Jspan1N9yA/v.swf" wmode="opaque" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>另附新闻一则：</p>
<p><a href="http://news.163.com/10/0525/22/67IH4GSA000146BC.html">http://news.163.com/10/0525/22/67IH4GSA000146BC.html</a></p>
<p>我就看看，不说话</p>]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="420" height="363" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="wmode" value="opaque" /><param name="src" value="http://www.tudou.com/v/4Jspan1N9yA/v.swf" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="420" height="363" src="http://www.tudou.com/v/4Jspan1N9yA/v.swf" wmode="opaque" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>另附新闻一则：</p>
<p><a href="http://news.163.com/10/0525/22/67IH4GSA000146BC.html">http://news.163.com/10/0525/22/67IH4GSA000146BC.html</a></p>
<p>我就看看，不说话</p>
]]></content:encoded>
			<wfw:commentRss>http://ggarlic.org/blog/2010/05/%e8%af%a5%e8%af%84%e8%ae%ba%e5%b7%b2%e5%85%b3%e9%97%ad/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Arch vs. Ubuntu</title>
		<link>http://ggarlic.org/blog/2010/05/arch-vs-ubuntu/</link>
		<comments>http://ggarlic.org/blog/2010/05/arch-vs-ubuntu/#comments</comments>
		<pubDate>Sat, 22 May 2010 10:40:46 +0000</pubDate>
		<dc:creator>ggarlic</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[arch]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://ggarlic.org/blog/?p=676</guid>
		<description><![CDATA[<p>先说明一句:月经贴，不喜误入</p>
<p>作为一个<a href="http://linuxtoy.org/archives/arch-linux-2010-05.html#comment-159284">“领先十年的系统”</a>的用户，我常对自己用的系统有过高的幻想，比如ganquan已经纠正过的“专为i686优化，速度快”，嗯，现在各个主流发行版基本都是默认i686跟O2编译了。</p>
<p>前两天在Phoronix看到一篇文章<a href="http://www.phoronix.com/scan.php?page=article&#38;item=ubuntu_arch_faster&#38;num=1">Is Arch Linux Really Fast[......]</a></p><p class='read-more'><a href='http://ggarlic.org/blog/2010/05/arch-vs-ubuntu/'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p>先说明一句:月经贴，不喜误入</p>
<p>作为一个<a href="http://linuxtoy.org/archives/arch-linux-2010-05.html#comment-159284">“领先十年的系统”</a>的用户，我常对自己用的系统有过高的幻想，比如ganquan已经纠正过的“专为i686优化，速度快”，嗯，现在各个主流发行版基本都是默认i686跟O2编译了。</p>
<p>前两天在Phoronix看到一篇文章<a href="http://www.phoronix.com/scan.php?page=article&amp;item=ubuntu_arch_faster&amp;num=1">Is Arch Linux Really Faster Than Ubuntu?</a>，很好的一篇流言终结者，正如结论所说</p>
<blockquote><p>“At least when both Arch and Ubuntu are put in as much a stock configuration as possible to reflect the &#8220;out of the box&#8221; experience encountered by most users, the numbers shown on this Intel Core 2 Duo notebook show the performance to be about the same.”</p></blockquote>
<p>“Arch比ubuntu快”这一流言被终结了，那么是不是用Arch的理由就减少了呢？看看这篇文章：<a href="http://kmandla.wordpress.com/2010/05/22/three-things-phoronix-couldnt-measure/">Three Things Phoronix couldn&#8217;t measure</a> ，链接是wordpress.com的,该怎么办你懂的。文中提到了Phoronix无法进行的三个对比：</p>
<ol>
<li><strong>AUR.</strong> Until you’ve used it, it’s hard to appreciate the simplicity and beauty of a community-maintained repository of installation scripts. Ubuntu, with its Debian roots, inherits a huge list of software and that’s a good thing. But for example if you want to install an esoteric addon to xmms, you’ll have to go it alone — even more so because <a href="http://kmandla.wordpress.com/2008/08/30/denial-anger-bargaining-depression-acceptance/" target="_blank">Ubuntu hasn’t offered xmms for years now</a>. Having a script-based system that allows you to confidently build software — <em>and</em> customize it before you do — is a huge bonus for me.</li>
<li><strong>pacman</strong>. In terms of number crunching, the two operating systems run hand-in-hand, but putting aptitude next to pacman is a completely different race. For all its virtues, history and accomplishments, aptitude is just nowhere near as fierce an animal as pacman. The time it takes to refresh, download and install new software in Ubuntu is ridiculous when it’s compared with Arch, and that’s not because Ubuntu relies on a GUI — it takes a long time to do those things at Ubuntu’s command line. pacman simply runs circles around aptitude, and there’s no polite way to say that.</li>
<li><strong>Svelte</strong>. Svelte isn’t an application, it’s a philosophy. Ubuntu is a top-down system, giving you everything at once and then sitting back to watch the look on your face. Arch is a bottom-up system, where you’re given the tools to assemble a system, and the opportunity to let your imagination run wild. Arch’s reputation for speed might not rely on performance at the hardware level, but simply in the fact that you don’t get any bloat, unless you install it. Those ringing praises for Arch’s speed aren’t because it moves faster at the core levels, but because <a href="http://kmandla.wordpress.com/2009/01/28/build-up-dont-tear-down/" target="_blank">the systems you build yourself are innately faster than the ones Ubuntu releases</a>. Look around this site for a few illustrations of that. (And yes, you can do similar things with Ubuntu.)</li>
</ol>
<p>此文更多的不是从性能还是从“简单够用”“KISS”的角度来对比的，第一条我深以为然，AUR的便捷性一定要用过才有感觉，至于Ubuntu的PPA可能有发展成AUR的趋势。第二条pacman我只能说刚刚够用，不过我的确更喜欢aptitude。第三条则是我最喜欢的地方，完全按照自己的想法去构建系统，使用Arch你可以按照自己的想法来构建系统，但是使用Ubuntu你只能使用按照他们的想法构建起来的系统。</p>
<p>当然，纯粹比较两个系统是没有意义的，我也能说出Arch的一堆缺点，比如由于追新导致的稳定性和兼容性问题，包命名不是很规范等等。各个系统都有自己的哲学，我用Arch更多的是认同Arch的哲学&#8211;<a href="http://wiki.archlinux.org/index.php/The_Arch_Way">The Arch Way</a>。Arch的依赖关系十分简洁，不会像debian/ubuntu那样依赖一堆莫名其妙的包。</p>
<p>所以，下一次ganquan同学再忽悠我去Debian的时候，麻烦你给可以让我立刻动心的东西  :laugh:</p>
<p>对了，还有adaml同学，到Arch老窝去说理要慎之又慎，Arch在中国有成为下一个小白系统的趋势，看看Ubuntu论坛里那些被喷死的视窗跟苹果粉吧</p>
<p>就这样吧。。。</p>
]]></content:encoded>
			<wfw:commentRss>http://ggarlic.org/blog/2010/05/arch-vs-ubuntu/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>终于让chromium中文字体差不多正常了</title>
		<link>http://ggarlic.org/blog/2010/05/the-uglychinese-fonts-in-chromium/</link>
		<comments>http://ggarlic.org/blog/2010/05/the-uglychinese-fonts-in-chromium/#comments</comments>
		<pubDate>Sat, 15 May 2010 10:49:04 +0000</pubDate>
		<dc:creator>ggarlic</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[chromium]]></category>
		<category><![CDATA[fonts]]></category>

		<guid isPermaLink="false">http://ggarlic.org/blog/?p=665</guid>
		<description><![CDATA[<p>不知道从什么时候起，chromium中文字体就变难看了，下面是我用的6.0.405.0(47356的效果)</p>
<p><a href="http://ggarlic.org/blog/wp-content/uploads/2010/05/before.png" rel="lightbox[665]"><img class="alignnone size-full wp-image-666" title="before" src="http://ggarlic.org/blog/wp-content/uploads/2010/05/before.png" alt="" width="631" height="348" /></a></p>
<p>放大之后能看出来是文泉驿正黑，但我设置的chromium的默认字体是微米黑啊，系统默认字体是花纹黑体，囧</p>
<p>再来看一张163的效果</p>
<p><a href="http://ggarlic.org/blog/wp-content/uploads/2010/05/2010-05-15-1273916502_426x212_scrot.png" rel="lightbox[665]"><img class="alignnone size-full wp-image-668" title="2010-05-15--1273916502_426x212_scrot" src="http://ggarlic.org/blog/wp-content/uploads/2010/05/2010-05-15-1273916502_426x212_scrot.png" alt="" width="426" height="212" /></a></p>
<p>放大之后可以看出来是宋体</p>
<p>解决方法：</p>
<p>对于第二张图的情况，[......]</p><p class='read-more'><a href='http://ggarlic.org/blog/2010/05/the-uglychinese-fonts-in-chromium/'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p>不知道从什么时候起，chromium中文字体就变难看了，下面是我用的6.0.405.0(47356的效果)</p>
<p><a href="http://ggarlic.org/blog/wp-content/uploads/2010/05/before.png" rel="lightbox[665]"><img class="alignnone size-full wp-image-666" title="before" src="http://ggarlic.org/blog/wp-content/uploads/2010/05/before.png" alt="" width="631" height="348" /></a></p>
<p>放大之后能看出来是文泉驿正黑，但我设置的chromium的默认字体是微米黑啊，系统默认字体是花纹黑体，囧</p>
<p>再来看一张163的效果</p>
<p><a href="http://ggarlic.org/blog/wp-content/uploads/2010/05/2010-05-15-1273916502_426x212_scrot.png" rel="lightbox[665]"><img class="alignnone size-full wp-image-668" title="2010-05-15--1273916502_426x212_scrot" src="http://ggarlic.org/blog/wp-content/uploads/2010/05/2010-05-15-1273916502_426x212_scrot.png" alt="" width="426" height="212" /></a></p>
<p>放大之后可以看出来是宋体</p>
<p>解决方法：</p>
<p>对于第二张图的情况，我把simsun删除就正常了。但是我有些软件还是需要simsun的，纠结啊。twitter上的 <a href="http://twitter.com/poplarch">﻿@poplarch</a> 说“之前chromium中将点阵字体强制开启AA渲染，比较难看，于是现在整理一下字体之后移除所有点阵，一切恢复正常了，chromium网页显示终于听话了。”</p>
<p><a href="http://ggarlic.org/blog/wp-content/uploads/2010/05/2010-05-15-1273919798_409x190_scrot.png" rel="lightbox[665]"><img class="alignnone size-full wp-image-669" title="2010-05-15--1273919798_409x190_scrot" src="http://ggarlic.org/blog/wp-content/uploads/2010/05/2010-05-15-1273919798_409x190_scrot.png" alt="" width="409" height="190" /></a></p>
<p>第一张图中的情况，跟 <a href="http://twitter.com/jxwr">@jxwr</a> 讨论的结果是编辑﻿/etc/fonts/conf.avail/66-wqy-zenhei-sharp.conf，将其中antialias的值修改为true即可。</p>
<pre class="brush:xml"><edit name="antialias" mode="assign"><bool>true</bool></edit></pre>
<p><a href="http://ggarlic.org/blog/wp-content/uploads/2010/05/2010-05-15-1273913247_585x241_scrot.png" rel="lightbox[665]"><img class="alignnone size-full wp-image-672" title="2010-05-15--1273913247_585x241_scrot" src="http://ggarlic.org/blog/wp-content/uploads/2010/05/2010-05-15-1273913247_585x241_scrot.png" alt="" width="585" height="241" /></a><br />
看着舒服多了.<br />
打完收工~</p>
]]></content:encoded>
			<wfw:commentRss>http://ggarlic.org/blog/2010/05/the-uglychinese-fonts-in-chromium/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>我的LaTeX处女文</title>
		<link>http://ggarlic.org/blog/2010/05/my-first-latex-test/</link>
		<comments>http://ggarlic.org/blog/2010/05/my-first-latex-test/#comments</comments>
		<pubDate>Sun, 09 May 2010 08:18:09 +0000</pubDate>
		<dc:creator>ggarlic</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[latex]]></category>

		<guid isPermaLink="false">http://ggarlic.org/blog/?p=640</guid>
		<description><![CDATA[<p>毕设要写论文了，试试LaTeX，安装配置过程我就不废话了，网上一搜一大把，我就不掺和了,紧跟时代潮流，我用的XeLaTeX。上图是王道。</p>
<p>求解：这个英文字体看着有点恶心，设置了Times New Roman，但英文看着还是不像Times New Roman。</p>
<p><a href="http://ggarlic.org/blog/wp-content/uploads/2010/05/2010-05-09-1273391882_552x448_scrot.png" rel="lightbox[640]"><img class="alignnone size-full wp-image-647" title="my first latex article" src="http://ggarlic.org/blog/wp-content/uploads/2010/05/2010-05-09-1273391882_552x448_scrot.png" alt="" width="552" height="448" /></a></p>
<p>然后是代码</p>
\documentclas[......]<p class='read-more'><a href='http://ggarlic.org/blog/2010/05/my-first-latex-test/'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p>毕设要写论文了，试试LaTeX，安装配置过程我就不废话了，网上一搜一大把，我就不掺和了,紧跟时代潮流，我用的XeLaTeX。上图是王道。</p>
<p>求解：这个英文字体看着有点恶心，设置了Times New Roman，但英文看着还是不像Times New Roman。</p>
<p><a href="http://ggarlic.org/blog/wp-content/uploads/2010/05/2010-05-09-1273391882_552x448_scrot.png" rel="lightbox[640]"><img class="alignnone size-full wp-image-647" title="my first latex article" src="http://ggarlic.org/blog/wp-content/uploads/2010/05/2010-05-09-1273391882_552x448_scrot.png" alt="" width="552" height="448" /></a></p>
<p>然后是代码</p>
<pre class="bursh:plain">\documentclass{article}
\usepackage{fontspec,xunicode}
\usepackage{amsmath}
\usepackage{xltxtra}
\usepackage{xeCJK}
\setmainfont{Times New Roman}
\setCJKmainfont{SimSun}

\XeTeXlinebreaklocale "zh"

\begin{document}

\title{我的 \LaTeX{} 处女文}
\author{ggarlic}
\maketitle

\section{先谢郭嘉}
感谢郭嘉，我在几天之前搞定了Texlive2009，\XeTeX{} 和 \XeLaTeX{} 真是个好东西，少了不少设置的麻烦。\\
wiki上说 \LaTeX{} 是使用 \TeX{} 的主要方式，我很好奇还真有人用plain \TeX{}写东西？
\section{测试其他}
the current version is \LaTeXe
\begin{align}
 E &amp;= mc^2	\\
 m &amp;=\frac{m_0}{\sqrt{1-\frac{v^2}{c^2}}}
 \end{align}
\end{document}</pre>
<p>PS：有些话你不能放到网上，不能四处乱说，但你实在想说咋办？对着黑洞说！</p>
<pre class="brush:shell">#!/bin/bash
echo $1 &gt;/dev/null</pre>
<p>PS2：美帝的网络好得呱呱叫，打倒美帝，我用ssh更新chrome，见图中速度。从ssh服务器再下载到本地就只有100K多一点的速度了，更加坚定了我为共产主义献身的决心，再说一遍，打倒美帝！！！<br />
<a title="Flickr 上 ggarlic 的 2010-05-09--1273376048_494x256_scrot" href="http://www.flickr.com/photos/ggarlic/4590550859/"><img src="http://farm5.static.flickr.com/4065/4590550859_53f63e0b4c_o.png" alt="2010-05-09--1273376048_494x256_scrot" width="494" height="256" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ggarlic.org/blog/2010/05/my-first-latex-test/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
	</channel>
</rss>
