intel 3945网卡问题
这个问题貌似已经出现很就了,因为一直没用wifi所以没太注意,直到昨天想用了。。。
我记得是某一天更新的时候提示网卡驱动被linux-firmware代替了,之后就一直提示我无限网卡被禁用。
强行ifconfig wlan0 up的话会提示:
SIOCSIFFLAGS: Operation not possible due to RF-kill
https://bbs.archlinux.org/viewtopic.php?id=98913
在官方论坛里找到了解决方法
sudo pacman -S rfkill
ggarlic 14 ~ > rfkill list
0: hp-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: yes
然后unblock掉1和0
sudo rfkill unblock 0
sudo rfkill unblock 1
最后就是ifconfig wlan0 up了
enjoy~
PS:在金主席的blog里发现一个疑似神器autojump,archlinux下可以直接用pacman安装,在community里
lifehacker里的介绍http://lifehacker.com/5583546/autojump-is-a-faster-way-to-browse-your-filesystem
刚刚在google的时候,发现自己火星了,linuxtoy在09年2月的帖子:http://linuxtoy.org/archives/autojump.html
毕业了
西电Archlinux正式源上线(仅限内网)
引用自Bigeagle的帖子:
地址:
ftp://202.117.113.151/archlinux
ftp://202.117.113.152/archlinux
目前开了三个仓库:core、extra和community,testing没开。限速4M
在/etc/pacman.d/mirrorlist 里加上
Server = ftp://202.117.113.151/archlinux/$repo/os /i686(或者x86_64,按实际情况改)
Server = ftp://202.117.113.152/archlinux/$repo/os/i686
这个更新源由bigeagle和lvzongting维护,每天凌晨5点更新仓库,第一个星期为公测期,可能会出现暂时连不上的情况。
有问题请发邮件
justin.w.xd#gmail dot com
lvzongting#gmail dot com
如有愿意与我们合作提供服务器进行负载均衡,请联系我们
——献给ggarlic
—————————————–引用完毕———————————————-
感谢郭嘉,感谢bigeagle跟lvzongting两位同学的辛苦劳作,向你们致敬~
——————————–验证,请忽略---------------------------
乐铺活动验证
翩翩来迟的arch源
不容易啊,在几个archer的忽悠+力挺之下,学校网络中心的linux源里有了arch源,估计在毕业之前还能用上几天,内牛满面啊~~
其他具体情况我不了解,无法泄露更多情况
恩,以后在学校里忽悠人用arch的重任就要落在汪童鞋肩上了,恩,任重而道远。
——————————————update————————————————————
http://ggarlic.org/blog/2010/06/the-archlinux-repo-of-xdu-is-online/
—————————————————————————————————————-
最后,扔张调查结果吧。你希望学校的linux源里有哪些发行版,多选
该评论已关闭
Arch vs. Ubuntu
先说明一句:月经贴,不喜误入
作为一个“领先十年的系统”的用户,我常对自己用的系统有过高的幻想,比如ganquan已经纠正过的“专为i686优化,速度快”,嗯,现在各个主流发行版基本都是默认i686跟O2编译了。
前两天在Phoronix看到一篇文章Is Arch Linux Really Faster Than Ubuntu?,很好的一篇流言终结者,正如结论所说
“At least when both Arch and Ubuntu are put in as much a stock configuration as possible to reflect the “out of the box” experience encountered by most users, the numbers shown on this Intel Core 2 Duo notebook show the performance to be about the same.”
“Arch比ubuntu快”这一流言被终结了,那么是不是用Arch的理由就减少了呢?看看这篇文章:Three Things Phoronix couldn’t measure ,链接是wordpress.com的,该怎么办你懂的。文中提到了Phoronix无法进行的三个对比:
- AUR. 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 Ubuntu hasn’t offered xmms for years now. Having a script-based system that allows you to confidently build software — and customize it before you do — is a huge bonus for me.
- pacman. 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.
- Svelte. 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 the systems you build yourself are innately faster than the ones Ubuntu releases. Look around this site for a few illustrations of that. (And yes, you can do similar things with Ubuntu.)
此文更多的不是从性能还是从“简单够用”“KISS”的角度来对比的,第一条我深以为然,AUR的便捷性一定要用过才有感觉,至于Ubuntu的PPA可能有发展成AUR的趋势。第二条pacman我只能说刚刚够用,不过我的确更喜欢aptitude。第三条则是我最喜欢的地方,完全按照自己的想法去构建系统,使用Arch你可以按照自己的想法来构建系统,但是使用Ubuntu你只能使用按照他们的想法构建起来的系统。
当然,纯粹比较两个系统是没有意义的,我也能说出Arch的一堆缺点,比如由于追新导致的稳定性和兼容性问题,包命名不是很规范等等。各个系统都有自己的哲学,我用Arch更多的是认同Arch的哲学–The Arch Way。Arch的依赖关系十分简洁,不会像debian/ubuntu那样依赖一堆莫名其妙的包。
所以,下一次ganquan同学再忽悠我去Debian的时候,麻烦你给可以让我立刻动心的东西 :laugh:
对了,还有adaml同学,到Arch老窝去说理要慎之又慎,Arch在中国有成为下一个小白系统的趋势,看看Ubuntu论坛里那些被喷死的视窗跟苹果粉吧
就这样吧。。。
终于让chromium中文字体差不多正常了
不知道从什么时候起,chromium中文字体就变难看了,下面是我用的6.0.405.0(47356的效果)
放大之后能看出来是文泉驿正黑,但我设置的chromium的默认字体是微米黑啊,系统默认字体是花纹黑体,囧
再来看一张163的效果
放大之后可以看出来是宋体
解决方法:
对于第二张图的情况,我把simsun删除就正常了。但是我有些软件还是需要simsun的,纠结啊。twitter上的 @poplarch 说“之前chromium中将点阵字体强制开启AA渲染,比较难看,于是现在整理一下字体之后移除所有点阵,一切恢复正常了,chromium网页显示终于听话了。”
第一张图中的情况,跟 @jxwr 讨论的结果是编辑/etc/fonts/conf.avail/66-wqy-zenhei-sharp.conf,将其中antialias的值修改为true即可。
true
我的LaTeX处女文
毕设要写论文了,试试LaTeX,安装配置过程我就不废话了,网上一搜一大把,我就不掺和了,紧跟时代潮流,我用的XeLaTeX。上图是王道。
求解:这个英文字体看着有点恶心,设置了Times New Roman,但英文看着还是不像Times New Roman。
然后是代码
\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 &= mc^2 \\
m &=\frac{m_0}{\sqrt{1-\frac{v^2}{c^2}}}
\end{align}
\end{document}
PS:有些话你不能放到网上,不能四处乱说,但你实在想说咋办?对着黑洞说!
#!/bin/bash echo $1 >/dev/null
PS2:美帝的网络好得呱呱叫,打倒美帝,我用ssh更新chrome,见图中速度。从ssh服务器再下载到本地就只有100K多一点的速度了,更加坚定了我为共产主义献身的决心,再说一遍,打倒美帝!!!

google图书引发的悲剧
同学让我给他下本google图书中的书,找了个小工具google book download,结果下的不但不全还导致了严重后果。
还有什么比这更悲剧的,账户被锁定,一切google服务无法登陆。
不过好在已经解除锁定了 :D
一些有意思的新闻
大晚上的不睡觉总能发现一些好玩的新闻。
首先是,RT @saltlakefirst: 上海世博会表达了愿意把日本歌星冈本真夜的歌曲《不变的你就好》作为主题曲。冈本高兴地同意。http://is.gd/bztb2 。
其次是,RT @google: A refresher on our approach to controversial content & free expression: http://bit.ly/arKIwQ,后面我会贴出全文。
第三还是关于EXPO的,RT @TwoCold: 快来吧,快走吧 http://is.gd/bzucQ 。
第四是,gizmodo.com/5520164/ this-is-apples-next-iphon,也不知道gizmodo花了多少钱搞到的那台传说中的iphone 4G
第五是,BREAKING!! Second volcano in Iceland erupts! (REUTERS),明早起来有新闻可看了。fgw近期无飞机可打了。
ok,下面放重点文章,我不评论,我就看看。前三条放在一起已经说明我很麻木,我很淡定,我很草泥马了。此刻跟我一起看文章的三只草泥马玩偶也是这样认为的。PS:那些被狗屎无良媒体洗脑的人应该好好Search那段
Controversial content and free expression on the web: a refresher
Censorship of the web is a growing problem. According to the Open Net Initiative, the number of governments that censor has grown from about four in 2002 to over 40 today. In fact, some governments are now blocking content before it even reaches their citizens. Even benign intentions can result in the specter of real censorship. Repressive regimes are building firewalls and cracking down on dissent online — dealing harshly with anyone who breaks the rules.
Increased government censorship of the web is undoubtedly driven by the fact that record numbers of people now have access to the Internet, and that they are creating more content than ever before. For example, over 24 hours of video are uploaded to YouTube every minute of every day. This creates big challenges for governments used to controlling traditional print and broadcast media. While everyone agrees that there are limits to what information should be available online — for example child pornography — many of the new government restrictions we are seeing today not only strike at the heart of an open Internet but also violate Article 19 of the Universal Declaration of Human Rights, which states that: “Everyone has the right to freedom of opinion and expression; this right includes freedom to hold opinions without interference and to seek, receive and impart information and ideas through any media and regardless of frontiers.”
We see these attempts at control in many ways. China is the most polarizing example, but it is not the only one. Google products — from search and Blogger to YouTube and Google Docs — have been blocked in 25 of the 100 countries where we offer our services. In addition, we regularly receive government requests to restrict or remove content from our properties. When we receive those requests, we examine them to closely to ensure they comply with the law, and if we think they’re overly broad, we attempt to narrow them down. Where possible, we are also transparent with our users about what content we have been required to block or remove so they understand that they may not be getting the full picture.
On our own services, we deal with controversial content in different ways, depending on the product. As a starting point, we distinguish between search (where we are simply linking to other web pages), the content we host, and ads. In a nutshell, here is our approach:
Search is the least restrictive of all our services, because search results are a reflection of the content of the web. We do not remove content from search globally except in narrow circumstances, like child pornography, certain links to copyrighted material, spam, malware, and results that contain sensitive personal information like credit card numbers. Specifically, we don’t want to engage in political censorship. This is especially true in countries like China and Vietnam that do not have democratic processes through which citizens can challenge censorship mandates. We carefully evaluate whether or not to establish a physical presence in countries where political censorship is likely to happen.
Some democratically-elected governments in Europe and elsewhere do have national laws that prohibit certain types of content. Our policy is to comply with the laws of these democratic governments — for example, those that make pro-Nazi material illegal in Germany and France — and remove search results from only our local search engine (for example, www.google.de in Germany). We also comply with youth protection laws in countries like Germany by removing links to certain material that is deemed inappropriate for children or by enabling Safe Search by default, as we do in Korea. Whenever we do remove content, we display a message for our users that X number of results have been removed to comply with local law and we also report those removals to chillingeffects.org, a project run by the Berkman Center for Internet and Society, which tracks online restrictions on speech.
Platforms that host content like Blogger, YouTube, and Picasa Web Albums have content policies that outline what is, and is not, permissible on those sites. A good example of content we do not allow is hate speech. Our enforcement of these policies results in the removal of more content from our hosted content platforms than we remove from Google Search. Blogger, as a pure platform for expression, is among the most open of our services, allowing for example legal pornography, as long as it complies with the Blogger Content Policy. YouTube, as a community intended to permit sharing, comments, and other user-to-user interactions, has its Community Guidelines that define its own rules of the road. For example, pornography is absolutely not allowed on YouTube.
We try to make it as easy as possible for users to flag content that violates our policies. Here’s a video explaining how flagging works on YouTube. We review flagged content across all our products 24 hours a day, seven days a week to remove offending content from our sites. And if there are local laws where we do business that prohibit content that would otherwise be allowed, we restrict access to that content only in the country that prohibits it. For example, in Turkey, videos that insult the founder of modern Turkey, Mustafa Ataturk, are illegal. Two years ago, we were notified of such content on YouTube and blocked those videos in Turkey that violated local law. A Turkish court subsequently demanded that we block them globally, which we refused to do, arguing that Turkish law cannot apply outside Turkey. As a result YouTube has been blocked there.
Finally, our ads products have the most restrictive policies, because they are commercial products intended to generate revenue.
These policies are always evolving. Decisions to allow, restrict or remove content from our services and products often require difficult judgment calls. We have spirited debates about the right course of action, whether it’s about our own content policies or the extent to which we resist a government request. In the end, we rely on the principles that sit at the heart of everything we do.
We’ve said them before, but in these particularly challenging times, they bear repeating: We have a bias in favor of people’s right to free expression. We are driven by a belief that more information means more choice, more freedom and ultimately more power for the individual.
Posted by Rachel Whetstone, Vice President, Global Communications and Public Affairs
![1 [1600x1200]](http://farm5.static.flickr.com/4135/4757052452_7d8e55c5cf.jpg)









在
在 
