Archive for 12月, 2007
linuxtoy评选的2007最受读者欢迎的文章
该死该死,忘了注明此文出处跟原作者了,失误,下次注意。linuxtoy这么好的网站还是坚决支持的
2007-12-31 Toy Posted in SitelogRSSTrackback
原文网址:http://linuxtoy.org/archives/top-10-articles-for-2007.html
玩转 MPlayer
MPlayer 是我在 Linux 系统中用到的相当好的媒体播放程序,它因支持播放广泛的音频/视频文件格式而著称。本文所要探讨的,除却一般的使用方法之外,更包括一些鲜为人知的提示和诀窍。相信在阅读此文后,你的多媒体播放体验将会增色不少。
GTK-sopcast 0.2.8
GTK-sopcast 是 P2P 网络电视 SopCast 的 GTK 前端程序,它完全免费,且频道丰富,是 Linux 下看世界杯的最佳选择。
AjaxChess:中国象棋游戏在线玩
AjaxChess 是一款基于 Ajax 技术而构建的在线中国象棋游戏,该游戏支持拖曳操作,具有动画效果,不需要任何插件。无论你使用 Windows,还是 Linux,亦或 Mac OS 系统,都可以玩此游戏。而且,这个游戏支持目前的 IE、Firefox、Opera、Safari 等 Web 浏览器。
VirtualBox-另一个虚拟机软件
VirtualBox 是开源且跨平台的 x86 虚拟机软件,它不仅具有丰富的特色,而且性能也很优异。
高效率编辑器 VIM
这篇教程写了在不同工作模式下使用 VIM 的一些基本技巧——即插入模式(insert mode), 命令模式(command mode), 存取文件等。目的是帮助刚刚接触 VIM 的新手更加有效率的使用这个出色的编辑器。
ChmSee:CHM 文档阅读工具
目前有好些资料文档都采用 CHM 格式,要在 Linux 中阅读它们,ChmSee 是个不错的选择。ChmSee 由国人开发,程序基于 GTK2+,个头十分小巧,且对中文支持也很好。在功能方面,ChmSee 具有与 Firefox 类似的分页浏览标签,能够自动检测编码,可以收藏书签,以及设置字体等。
Ubuntu 7.10 Gutsy Gibbon 正式推出
经过六个月的努力开发,Ubuntu 项目团队最终推出了 Ubuntu 7.10 的正式版本。Ubuntu 7.10 的开发代号为 Gutsy Gibbon,该版本为用户们带来了一些令人兴奋的新特性和改进。
aMule 的安装及配置
aMule 是一个类似于 eMule 的多平台 P2P 客户端程序。本文简略叙述 aMule 在 Ubuntu 中的安装及配置 [High ID] 与 [KAD] 的过程。
最小化安装 Ubuntu
Ubuntu 的默认安装方式或许并不为所有用户所接受。譬如说吧,有的用户并不想使用 GNOME 桌面环境,也有的用户并不需要预先安装的所有软件。为了解决上述诸如此类的问题,在安装最小化的 Ubuntu 的基础上,根据各人之喜好执行定制化安装,可能是较好的折中方案。
我的 Linux 玩具清单
我从 2005 年 4 月开始使用 Linux,到去年 8 月时全面从 Windows 转到 Linux 环境,至今所经历的时间大约也要满两年了。在这期间,我尝试了许多的 Linux 软件,经过大浪淘沙,有些软件最终成为经典被我一直沿用下来。我打算建立一个清单,一来可以为自己留存备忘,二来也可为他人聊作一点参考。
最让人心动的十大互联网广告词
cnbeta版
联想:人类失去联想,世界将会怎样
诺基亚:科技以人为本
网易:网聚人的力量
中国移动:沟通从心开始
IBM:没有不做的小生意,没有解决不了的大问题(No business too small,no problem too big)
瀛海威:中国人离信息高速公路还有多远?向北1500米
百度:百度一下,你就知道
戴尔:美国货,本土价
华硕:华硕品质,坚如磐石
全世界计算机联合起来,英特耐特就一定会实现
下面是cnbeta网友版的:
人类失去联想,世界将会方正!
诺基亚:威力以BL-5C为本!
网易:网聚钱的力量!
中国移动:沟通从漫游开始!
IBM:没有不培的小生意,没有卖不出去的大企业。
赢海威:中国人离信息高速公路还有多远?向北1500光年!
百度:百度一年,你也不知道!
戴尔:美国鸡,本土价!
华硕:华硕品质,坚如鹅卵石!
全世界计算机联合起来,P2P就一定会实现!
ls dir的man文档竟然。。。
突发奇想,把ls跟dir的man文档分别重定向输出到manls跟mandir后,用
diff ~/桌面/mandir ~/桌面/manls
对比了一下,下面是结果:
1c1
LS(1) User Commands LS(1)
6c6
ls - list direc×y contents
9c9
ls [OPTION]... [FILE]...
184c184
SELinux options:
190c190
-Z, --context
229,230c229,230
The full documentation for ls is maintained as a Texinfo manual. If
> the info and ls programs are properly installed at your site, the com-
233c233
info ls
239c239
ls 5.97 June 2006 LS(1)
不可思议,竟然一模一样,只不过是把ls跟dir互换一下,这是为啥??反正我不知道
Powered by ScribeFire.
zt关于计算机语言
应当知道,任何一位受过职业道德训练的软件工程师都不会同意写一个“摧毁巴格达 DestroyBaghdad”这样的函数。相反,基本的职业道德要求他写一个“摧毁城市 DestroyCity”的函数,“巴格达 Baghdad”是一个参数。(Nathaniel S Borenstein)
只有两种计算机语言:一些语言天天挨骂,另外一些没有人用。(Bjarne Stroustrup)
数组下标应该从0开始还是从1开始?我的提议是做个折中,用0.5。我想,把它否决之前他们都没有仔细考虑考虑。(Stan Kelly-Bootle)
黑魔法编程:程序员们知道有些事情没有用,但是无论如何他们还是会去试一试,有时候这些事情还真管用了,比如说把所有东西重新编译一遍。(Karl Lehenbauer)
计算机语言就好像在公园里漫步一样,我指的是侏罗纪公园。(Larry Wall)
即使在餐巾上涂画也算是计算机语言,XML都不能算是其中之一。(Charles Simonyi)
使用TSO就想把死鲸鱼在沙滩上踢来踢去一样。(Stephen C Johnson)
面向对象的模型使得我们可以用聚少成多的方法来写程序。这通常是说,它提供了一种用结构化的方法写出烂面条般程序的方法。
重用别人写的程序就像从别人的故事里面挑出句子然后凑成一篇杂志上的文章。 (Bob Frankston)
(HTML里面的BLINK 标签)是一个玩笑,好不好?要是我们知道还有人使用它,我们就不会写它了。(Mark Andreessen)
软件就像性一样。不要钱的时候更好。(Linus Torvalds)
我有一个可以运行的编译器,没人愿意碰它。他们告诉我电脑只能做算术。--Rear Admiral Grace Hopper
如果你思虑不周,你可能会认为编程仅仅是敲入一行行的程序语句而已 -- Ward Cunningham
一种未包含所有东西的语言实际上比那些包含了的更容易使用。 -- Dennis M Ritchie
提倡自然语言编程的那些工作必然彻底失败。 -- Edsger Dijkstra
指针就像跳转一样,疯狂的从数据结构之间到处指来指去。在高级语言里面引入指针是个退步。我们可能永远无法从这一失败之中恢复过来。-- Charles Hoare
首先学习计算机科学和那些理论,然后摸索出你自己的编程风格,然后把那些都忘掉,乱来就行了。 -- George Carrette
我担心新的面向对象系统会遭到LISP相似的命运。他们可以做很多事情,但是过于复杂的类的阶层的重量会把他们压塌。 -- Bill Joy
如果我们要数代码的行数,我们不该把他们当成生产出来的行数,而是花费掉的行数。--Edsger Dijkstra
你可以拥有高质量的软件,也可以拥有指针运算,但两者不可兼得。-- Bertrand Meyer
语法,小伙子。它已经被重新授予共和国里最高的地位。 -- John Steinbeck
你真的确定无误的认为,那些铃铛和汽笛,所谓的编程语言里那些美妙的特性,是解决方案的一部分而不是问题的一部分? -- Edsger Dijkstra
汝切不可跟随NULL指针前行,因混沌狂乱待汝于彼端。(注:此处模仿圣经十诫语气)--Henry Spencer
我觉得传统语言是给鸟类使用的。他们仅仅是冯诺依曼计算机的延伸,他们把鼻子埋藏在字和地址的泥土之中,还做了很多同样傻的事。我们从编程之中学到了这些傻事,又把他们放进了计算机语言,放进了Fortran,放进了PL/1,放进了几乎所有语言之中。--John Backus
在人类的阶层之中,写代码处在高于盗墓,但是低于管理的某处。(Gerald Weinberg)
如果程序员模拟一个结构比编译器实现这个结构还快,那这个编译器写的可够烂的。 (Guy Steele)
阶级(class)斗争,一些阶级胜利了,一些阶级消灭了。(Mao Zedong)
类,可以分为三种:一种不工作的,一种出错的,还有一种找不到了的。(Russell Baker)
内存就像高潮,真的比虚拟的好得多。(Seymour Cray)
Powered by ScribeFire.
zt Tux福音
Every generation has a mythology. Every millenium has a doomsday cult. Every legend gets the dis×tion knob wound up until the speaker melts. Archeologists at the University of Helsinki today uncovered what could be the earliest known writings from the Cult of Tux, a fanatical religious sect that flourished during the early Silicon Age, around the dawn of the third millenium AD...
每一代都有神话。每千年都有邪教。每个传说都会遭受扭曲直到传讲人逐渐消逝。今天考古学家在赫尔辛基大学发现了可能是源自Tux信徒的最早文献。那个曾经在第三个千年初的硅时代鼎盛一时的教派……
译注:
2. doomsday cult,经常在一些以末世崇拜为主体的教派中出现,我译为邪教。明显这个词在下文有所指。
The Gospel of Tux (v1.0)
《Tux福音》(1.0版)
In the beginning Turing created the Machine.
初,图灵创造了机器。
And the Machine was crufty and bodacious, existing in theory only. And von Neumann looked upon the Machine, and saw that it was crufty. He divided the Machine into two Abstractions, the Data and the Code, and yet the two were one Architecture. This is a great Mystery, and the beginning of wisdom.
而这些混沌自负的机器只存在于理论中。冯·诺依曼注视着机器,洞察了它的混沌。将他们抽离为数据和代码两部分,却使其仍并行在同一结构下。这是真理,智慧的发祥。
译注:1.Mystery,《圣经》中指上帝创造的真理。
And von Neumann spoke unto the Architecture, and blessed it, saying, "Go forth and replicate, freely exchanging data and code, and bring forth all manner of devices unto the earth." And it was so, and it was cool. The Architecture prospered and was implemented in hardware and software. And it brought forth many Systems unto the earth.
冯·诺依曼驱动轮椅来到结构面前,施以祝福:“前进!去复制。自由交换数据和代码,将形形色色的设备带个世人。”如此,很酷。结构在软硬件中皆尊崇契约,他道路亨通,将许多系统带给世人。
译注:1.冯·诺依曼的最后工作是在轮椅上完成的,所以用spoke一词。
2. prospered:《圣经》中指在上帝的指引下,事有所成。中文常作“道路亨通”
The first Systems were mighty giants; many great works of renown did they accomplish. Among them were Colossus, the codebreaker; ENIAC, the targeter; EDSAC and MULTIVAC and all manner of froody creatures ending in AC, the experimenters; and SAGE, the defender of the sky and father of all networks. These were the mighty giants of old, the first children of Turing, and their works are written in the Books of the Ancients. This was the First Age, the age of Lore.
第一代系统都是巨人,业绩彪炳。其中包括“译码者”Colossus;“炮手”ENIAC;EDSAC 和MULTIVAC。“实验者”AC、“天盾”“网络之父”SAGE则成为了这些伟大事物的最后一代。这些威猛的古代巨人,是图灵的第一批孩子。他们的事迹被记录在《圣经》的《先民》中。这就是第一个时代,教诲的时代。
译注:1.文中早期计算机的别称都来自其用途。
2.Lore:指在上帝或先民的教诲下获得的知识。
Now the sons of Marketing looked upon the children of Turing, and saw that they were swift of mind and terse of name and had many great and baleful attributes. And they said unto themselves, "Let us go now and make us Corporations, to bind the Systems to our own use that they may bring us great fortune." With sweet words did they lure their customers, and with many chains did they bind the Systems, to fashion them after their own image. And the sons of Marketing fashioned themselves Suits to wear, the better to lure their customers, and wrote grave and perilous Licenses, the better to bind the Systems. And the sons of Marketing thus became known as Suits, despising and being despised by the true Engineers, the children of von Neumann.
行销之子们在图灵孩子的身上发现了敏捷的思维,朴素的名称。当然还有那些崇高却危害到他们的品格。“我们成立自家的公司吧,虏获系统,榨取财富。”他们一边用甜言蜜语诱导消费者,一边妄自修改被他们捆绑起来的系统。为了让消费者无法自拔,他们推出套装;为了令系统身陷囹圄,他们写下险恶的许可协议。欺世盗名的行销之子对程序员投诸轻蔑的目光。当然,身为冯·诺依曼的孩子,程序员也未曾将他们放在眼里。
And the Systems and their Corporations replicated and grew numerous upon the earth. In those days there were IBM and Digital, Burroughs and Honeywell, Unisys and Rand, and many others. And they each kept to their own System, hardware and software, and did not interchange, for their Licences forbade it. This was the Second Age, the age of Mainframes.
这些系统和他们所在的公司充斥世道。那时有IBM和Digital,Burroughs和Honeywell,Unisys和Rand等等。无论软件还是硬件都自成一派,并且用许可协议加以控制,阻扰相互之间的连通。这,便是第二个时代,大型机的时代。
Now it came to pass that the spirits of Turing and von Neumann looked upon the earth and were displeased. The Systems and their Corporations had grown large and bulky, and Suits ruled over true Engineers. And the Customers groaned and cried loudly unto heaven, saying, "Oh that there would be created a System mighty in power, yet small in size, able to reach into the very home!" And the Engineers groaned and cried likewise, saying, "Oh, that a deliverer would arise to grant us freedom from these oppressing Suits and their grave and perilous Licences, and send us a System of our own, that we may hack therein!" And the spirits of Turing and von Neumann heard the cries and were moved, and said unto each other, "Let us go down and fabricate a Breakthrough, that these cries may be stilled."
图灵和冯·诺依曼的圣灵失望地审视过往。系统和他们的公司变得硕大无朋,套装软件支配着真正的程序员。消费者吁通天际:“创造一台体积小巧却功能强大的系统吧!让它走入千家万户。”程序员同样哭诉:“望有贤者,从套装和险恶的协议中拯救我们,并赐予自主系统,我们必当致力于斯!”图灵和冯·诺依曼的圣灵被这些哭喊触动,不约而同地说道:“我们下界去创造突破,平息世人的怨诉。”
And that day the spirits of Turing and von Neumann spake unto Moore of Intel, granting him insight and wisdom to understand the future. And Moore was with chip, and he brought forth the chip and named it 4004. And Moore did bless the Chip, saying, "Thou art a Breakthrough; with my own Corporation have I fabricated thee. Though thou art yet as small as a dust mote, yet shall thou grow and replicate unto the size of a mountain, and conquer all before thee. This blessing I give unto thee: every eighteen months shall thou double in capacity, until the end of the age." This is Moore's Law, which endures unto this day.
一日,Intel的摩尔被图灵和冯·诺依曼的圣灵赐予洞见未来的贤能。随即创造了4004芯片。摩尔祝福道:“汝当与赐尔生命之公司同道,实现突破。此刻你细如微尘,他日终将累土成山,倾覆过往。每十八个月你的产量将会翻番,这就是我对你的祝福。”这也是延续至今的摩尔定律。
And the birth of 4004 was the beginning of the Third Age, the age of Microchips. And as the Mainframes and their Systems and Corporations had flourished, so did the Microchips and their Systems and Corporations. And their lineage was on this wise:
4004的诞生,标志着第三个时代——微芯片时代的到来。它的系统和公司会创造如同大型机的繁荣。其家世:
Moore begat Intel. Intel begat Mostech, Zilog and Atari. Mostech begat 6502, and Zilog begat Z80. Intel also begat 8800, who begat Altair; and 8086, mother of all PCs. 6502 begat Commodore, who begat PET and 64; and Apple, who begat 2. (Apple is the great Mystery, the Fruit that was devoured, yet bloomed again.) Atari begat 800 and 1200, masters of the game, who were destroyed by Sega and Nintendo. Xerox begat PARC. Commodore and PARC begat Amiga, crea× of fine arts; Apple and PARC begat Lisa, who begat Macintosh, who begat iMac. Atari and PARC begat ST, the music maker, who died and was no more. Z80 begat Sinclair the dwarf, TRS-80 and CP/M, who begat many machines, but soon passed from this world. Altair, Apple and Commodore together begat Microsoft, the Great Darkness which is called Abomination, Destroyer of the Earth, the Gates of Hell.
Moore创造了Intel.。Intel 创造了 Mostech, Zilog 和Atari。 Mostech 创造了 6502, 而 Zilog 创造了 Z80。 Intel 同样创造了8800——Altair之父; 以及8086——所有PC之母。 6502 创造了Commodore——PET 和64之父; 以及Apple——(Apple)2之父. (Apple是个真理,另一方面它也是一个贪婪的水果) Atari 创造了 800 和1200——最终被Sega 和 Nintendo击垮的游戏的先师。 Xerox 创造了 PARC.。Commodore和PARC 创造了Amiga ——美术的创造者; Apple和PARC创造了Lisa——Macintosh和iMac之父. Atari和PARC创造了已然逝去的音乐制造者ST;Z80创造了小巧的Sinclair ,TRS-80和CP/M,他们继而创造了很多机器。但是很快这个时代就结束了。Altair,Apple和Commodore共同创造了 Microsoft这个可憎的无尽黑暗,灭世者,地狱之门。
译注:1. begat,除了创造还有……之父的意思,这里并非真的创造,而是强调传承脉络。
2. Abomination,《圣经》可憎之物的通称,包括仓鼠、猪等等。
3. Gates,门,同样是比尔·盖茨的姓氏。
Now it came to pass in the Age of Microchips that IBM, the greatest of the Mainframe Corporations, looked upon the young Microchip Systems and was greatly vexed. And in their vexation and wrath they smote the earth and created the IBM PC. The PC was without sound and colour, crufty and bogacious in great measure, and its likeness was a tramp, yet the Customers were greatly moved and did purchase the PC in great numbers. And IBM sought about for an Operating System Provider, for in their haste they had not created one, nor had they forged a suitably grave and perilous License, saying, "First we will build the market, then we will create a new System, one in our own image, and bound by our Licence." But they reasoned thus out of pride and not wisdom, not for seeing the wrath which was to come.
大型机和IBM的时代结束了,这些公司对年青微系统怒目而视。为了还以颜色他们创造了IBM PC。这个笨重的家伙没有声音和色彩,混沌而自负。尽管如此,还是有很多消费者购买。IBM在寻找一个操作系统供应商,出于仓卒他们来不及自主开发一个,但这却不妨碍他们制定险恶的协议:“首先,我们会控制市场。然后再在自家的协议下创造一个想要的系统。”这不智的决定当然不是因为吸取了教训,而是出于自大。
译注:1. for seeing,原文为forseeing,应为笔误。
And IBM came unto Microsoft, who licensed unto them QDOS, the child of CP/M and 8086. (8086 was the daughter of Intel, the child of Moore). And QDOS grew, and was named MS-DOS. And MS-DOS and the PC together waxed mighty, and conquered all markets, replicating and taking possession thereof, in accordance with Moore's Law. And Intel grew terrible and devoured all her children, such that no chip could stand before her. And Microsoft grew proud and devoured IBM, and this was a great marvel in the land. All these things are written in the Books of the Deeds of Microsoft.
IBM找到了微软,拿到CP/M和8086(8086是Intel之女,摩尔的孩子)之子——QDOS的授权。随后他被命名为MS-DOS,并与PC一同征服了市场。然而他们无论复制还是统辖市场,依旧遵循着摩尔定律。Intel变得同样可怕,在没有任何阻拦的情况下她竟然吞噬了自己所有的孩子。而成长起来的微软也吞噬了IBM。作为世上的奇迹,这一切被记录在《圣经》的《微软之书》中。
In the fullness of time MS-DOS begat Windows. And this is the lineage of Windows: CP/M begat QDOS. QDOS begat DOS 1.0. DOS 1.0 begat DOS 2.0 by way of Unix. DOS 2.0 begat Windows 3.11 by way of PARC and Macintosh. IBM and Microsoft begat OS/2, who begat Windows NT and Warp, the lost OS of lore. Windows 3.11 begat Windows 95 after triumphing over Macintosh in a mighty Battle of Licences. Windows NT begat NT 4.0 by way of Windows 95. NT 4.0 begat NT 5.0, the OS also called Windows 2000, The Millenium Bug, Doomsday, Armageddon, The End Of All Things.
时机成熟,MS-DOS便创造了Windows,Windows世系:CP/M 创造了QDOS。 QDOS 创造了 DOS 1.0。 DOS 1.0 以Unix的方式创生了DOS 2.0。DOS 2.0以PARC和Macintosh为依托创造了Windows 3.11。IBM和微软创造了OS/2——Windows NT 和Warp之父,最后一个遵从教诲的操作系统。在于Macintosh的许可证争斗获胜之后Windows 3.11创造了 Windows 95。 Windows NT 有依托Windows95创造了NT 4.0 。 NT 4.0创造了NT 5.0,这个操作系统也被称作Windows 2000。这万千的蠹虫,是末日,是哈米吉多顿,是万物的终结!
译注:1.Bug,计算机中常用于指代程序缺陷,为了配合文意译作蠹虫。
2. Armageddon,哈米吉多顿。《圣经》中预言的末世战场,善恶终极交锋于此。
Now it came to pass that Microsoft had waxed great and mighty among the Microchip Corporations; mighter than any of the Mainframe Corporations before it had it waxed. And Gates heart was hardened, and he swore unto his Customers and their Engineers the words of this curse:
微软在微芯片公司中迅速膨胀,比过去的任何一个大型机公司都凶狠。盖茨心智冷酷,诅咒消费者和程序员道:
"Children of von Neumann, hear me. IBM and the Mainframe Corporations bound thy forefathers with grave and perilous Licences, such that ye cried unto the spirits of Turing and von Neumann for deliverance. Now I say unto ye: I am greater than any Corporation before me. Will I loosen your Licences? Nay, I will bind thee with Licences twice as grave and ten times more perilous than my forefathers. I will engrave my Licence on thy heart and write my Serial Number upon thy frontal lobes. I will bind thee to the Windows Platform with cunning artifices and with devious schemes. I will bind thee to the Intel Chipset with crufty code and with gnarly APIs. I will capture and enslave thee as no generation has been enslaved before. And wherefore will ye cry then unto the spirits of Turing, and von Neumann, and Moore? They cannot hear ye. I am become a greater Power than they. Ye shall cry only unto me, and shall live by my mercy and my wrath. I am the Gates of Hell; I hold the portal to MSNBC and the keys to the Blue Screen of Death. Be ye afraid; be ye greatly afraid; serve only me, and live."
“冯·诺依曼的孩子们,听着。我知道,你们的祖先曾经向上天祈求怜悯只因被IBM和那些大型机公司所奴役。现在我告诉你们,我比之前的任何公司都强大。把你们从许可中解救出来?不,我只会用数倍于你们先人的许可束缚尔等。将协议刻在你们心上,将序列号写在你们额叶里。我要用诡计和孤僻的设计把你们束缚在Windows平台下,我要用混沌的代码和劣质的程序接口把你们捆绑在Intel芯片集上。我要加倍的奴役你们。你们干吗不向图灵、冯·诺依曼哭诉?对,还有那个摩尔。他们听不到,我比他们都要强大。你们只能向我啜泣,在我的仁慈和狂暴中生存。我是地狱之门,把守着MSNBC的入口和死亡蓝屏的钥匙。恐惧吧,战栗吧。只有服侍我,才能苟活下去!”
译注:1.这一段里盖茨像一个说话吞音的古代魔王,给人的感觉不像《圣经》中的撒旦,或者路西法。而和更像好莱坞电影里的古代恶魔,公式化而且低智慧。
2. frontal lobe,额叶,人脑中负责逻辑思考等重要功能的部分。“把序列号写入额叶”的意思就是让消费者尊崇微软的逻辑。
And the people were cowed in terror and gave homage to Microsoft, and endured the many grave and perilous trials which the Windows platform and its greatly bodacious Licence forced upon them. And once again did they cry to Turing and von Neumann and Moore for a deliverer, but none was found equal to the task until the birth of Linux.
人们在恫吓下臣服于微软,忍受着Windows平台诸多险恶的折磨,并且不断的被这自负的协议所束缚。大家再次祈求图灵、冯·诺依曼和摩尔的救赎,然而却无人胜任。一切直到Linux出现。
译注:1. trials,在这里指的是强加给用户的操作习惯。
These are the generations of Linux:
Linux世家:
SAGE begat ARPA, which begat TCP/IP, and Aloha, which begat Ethernet. Bell begat Multics, which begat C, which begat Unix. Unix and TCP/IP begat Internet, which begat the World Wide Web. Unix begat RMS, father of the great GNU, which begat the Libraries and Emacs, chief of the Utilities. In the days of the Web, Internet and Ethernet begat the Intranet LAN, which rose to renown among all Corporations and prepared the way for the Penguin. And Linus and the Web begat the Kernel through Unix. The Kernel, the Libraries and the Utilities together are the Distribution, the one Penguin in many forms, forever and ever praised.
SAGE创造了TCP/IP之父ARPA,和Ethernet 之父Aloha。 Bell 创造了Multics——C语言和Unix之父。Unix 和 TCP/IP创造了万维网之父Internet。 Unix 创造了GNU之父RMS,而伟大的GNU是公用事业的首领,它创生了Libraries和Emacs。网络的时代, Internet 和Ethernet创造了Intranet LAN。 在公司中闻名遐迩的Intranet LAN为企鹅的出现做好了铺垫。莱纳斯和网络通过Unix创造了Kernel。将Libraries和Utilities结合便是 Distribution,通过这些渠道一只企鹅的形象明朗起来,这是一个值得永世骄傲的创举。
译注1. Utilities,是共用事业的缩写,或指诸多共用事业。第二次由于和Libraries这个涵盖十分宽泛的词一同出现,所以没有翻译。
2. Distribution,是指GNU自由文档许可,这应该是作者对其的简称。
3.这里的企鹅,是一个开源和Linux的意象并不是特指Tux。不要忘记,这是一篇启示文学。
Now in those days there was in the land of Helsinki a young scholar named Linus the Torvald. Linus was a devout man, a disciple of RMS and mighty in the spirit of Turing, von Neumann and Moore. One day as he was meditating on the Architecture, Linus fell into a trance and was granted a vision. And in the vision he saw a great Penguin, serene and well-favoured, sitting upon an ice floe eating fish. And at the sight of the Penguin Linus was deeply afraid, and he cried unto the spirits of Turing, von Neumann and Moore for an interpretation of the dream.
当时世上有一个名为赫尔辛基的地方,那里住着一个名叫李纳斯·托沃兹的年青学者。他是一个虔诚的人,一个RMS的信徒并能受到图灵,冯·诺依曼和摩尔强大的精神感召。一天他在沉思着(诺依曼提出的)结构,恍惚间坠入幻境。在幻境中他看到一只硕大的企鹅,它平静、姿态优美的坐在冰川上吃鱼。面对企鹅李纳斯感到彻骨的恐惑,他向图灵、诺依曼和摩尔的圣灵哭诉,祈求开释。
译注:1.RMS,是Richard M. Stallman的缩写。即理查德?M·斯多曼,自由软件运动的创始人。他被认为是开源人士的精神领袖和图灵等人的精神继承者。RMS的缩写形式已被普遍使用。
And in the dream the spirits of Turing, von Neumann and Moore answered and spoke unto him, saying, "Fear not, Linus, most beloved hacker. You are exceedingly cool and froody. The great Penguin which you see is an Operating System which you shall create and deploy unto the earth. The ice-floe is the earth and all the systems thereof, upon which the Penguin shall rest and rejoice at the completion of its task. And the fish on which the Penguin feeds are the crufty Licensed codebases which swim beneath all the earth's systems. The Penguin shall hunt and devour all that is crufty, gnarly and bobacious; all code which wriggles like spaghetti, or is infested with blighting creatures, or is bound by grave and perilous Licences shall it capture. And in capturing shall it replicate, and in replicating shall it document, and in documentation shall it bring freedom, serenity and most cool froodiness to the earth and all who code therein."
梦中,图灵、冯·诺依曼和摩尔的圣灵为他开解:“不要怕,李纳斯——最可爱的黑客。你沉着干练。你所见的硕大企鹅是将由你创造,并惠及世人的操作系统。冰川是那些现存的系统,上面的企鹅颐心于它所完成的使命。嘴里的鱼是那些只能在现存系统下游走的低贱的许可协议。企鹅会猎杀所有这些混沌,冗余,自负的生物。这些虚以委蛇的代码,或是在麻木的人手中滋生,或是携带着险恶的协议,它们都将被捕获。而只有那些在获取时可以自主复制,复制时能加以改动,并且能自由修改的代码,才能给世人带去绝妙安逸的生活。”
译注:1.cool,froody,都不是书面用语,这段两词都是同时出现,所以我将它们引申翻译。
2. spaghetti,意大利细面条,这里是说代码没有调理、编写时敷衍了事。并且形容其面目可憎,故而使用“虚以委蛇”一词。
Linus rose from meditation and created a tiny Operating System Kernel as the dream had foreshewn him; in the manner of RMS, he released the Kernel unto the World Wide Web for all to take and behold. And in the fulness of Internet Time the Kernel grew and replicated, becoming most cool and exceedingly froody, until at last it was recognised as indeed a great and mighty Penguin, whose name was Tux. And the followers of Linus took refuge in the Kernel, the Libraries and the Utilities; they installed Distribution after Distribution, and made sacrifice unto the GNU and the Penguin, and gave thanks to the spirits of Turing, von Neumann and Moore, for their deliverance from the hand of Microsoft. And this was the beginning of the Fourth Age, the age of Open Source.
从冥思中醒来的李纳斯,遵循梦的启示创造了一个精巧的操作系统核心。以RMS之名,他将这个核心释放到了万维网上,以便所有人都可以获取。在丰富的因特网时代它不断的成长、复制。至酷,至炫。最终成为一只健硕强大的企鹅——Tux。李纳斯的追随者托庇在这个Kernel以及Libraries、 Utilities之下,不断地安装分发。他们对企鹅和GNU作出贡献,对圣灵们报以感激,只为脱离了微软的魔爪。这,便是第四个时代的开始,开源的时代。
Now there is much more to be said about the exceeding strange and wonderful events of those days; how some Suits of Microsoft plotted war upon the Penguin, but were discovered on a Halloween Eve; how Gates fell among lawyers and was betrayed and crucified by his former friends, the apostles of Media; how the mercenary Knights of the Red Hat brought the gospel of the Penguin into the halls of the Corporations; and even of the dispute between the brethren of Gnome and KDE over a trollish Licence. But all these things are recorded elsewhere, in the Books of the Deeds of the Penguin and the Chronicles of the Fourth Age, and I suppose if they were all narrated they would fill a stack of DVDs as deep and perilous as a Usenet Newsgroup.
那时诞生了很多值得记录的佳音和咄咄怪事。比如:微软如何通过套件策动一场对企鹅进攻,却在万圣节前夜破产;盖茨如何陷入律师的困境同时被他过去的盟友 ——Media的使徒出卖并送上绞架;贪婪的Red Hat爵士如何将企鹅推进公司的深渊;以及Gnome和KDE如何手足相残。凡此种种都被记载在《圣经》的《企鹅之书》和《四代记》中。我想,如果将它们全部写下来,足够装满一堆DVD。如同Usenet新闻组一样深邃而危险。
译注:1. crucified,指在十字街上钉死。是长时间以来深受欧洲人喜爱的死刑执行方法。但是我如果用汉语直译出来很容易让人联想到基督,这不符合文中盖茨的形象。故而用绞架替换。
2.本段涉及很多1998年的重要事件。其中包括:《万圣节文件》事件;美政府诉微软垄断案;Red Hat公司接纳商业投资并拟定1999年发行股票;Gnome和KDE在开源社区内部展开争斗。
Now may you code in the power of the Source; may the Kernel, the Libraries and the Utilities be with you, throughout all Distributions, until the end of the Epoch. Amen.
开源代码赐予你力量,Kernel ,Libraries和Utilities将与常你同在,惠及所有发行版,直到时代终结。阿门。
Powered by ScribeFire.
w3m的man文档
W3M(1) W3M(1)
NAME
w3m - a text based Web browser and pager
SYNOPSIS
w3m [options] [URL or filename]
Use "w3m -h" to display a complete list of current options.
DESCRIPTION
w3m is a World Wide Web (WWW) text based client. It has English and
Japanese help files and an option menu and can be configured to use
either language. It will display hypertext markup language (HTML) docu-
ments containing links to files residing on the local system, as well
as files residing on remote systems. It can display HTML tables and
frames. In addition, it can be used as a "pager" in much the same man-
ner as "more" or "less". Current versions of w3m run on Unix (Solaris,
SunOS, HP-UX, Linux, FreeBSD, and EWS4800) and on Microsoft Windows
9x/NT.
OPTIONS
At start up, w3m will load any local file or remote URL specified at
the command line. For help with runtime options, press "H" while run-
ning w3m. Command line options are:
-t tab set tab width
-r ignore backspace effect
-l line
# of preserved line (default 10000)
-B load bookmark
-bookmark file
specify bookmark file
-T type
specify content-type
-m internet message mode
-v visual startup mode
-M monochrome display
-F automatically render frame
-dump dump formatted page into stdout
-cols width
specify column width (used with -dump)
-ppc count
specify the number of pixels per character (default 8.0) Larger
values will make tables narrower.
-dump_source
dump page source into stdout
-dump_head
dump response of HEAD request into stdout
-dump_both
dump HEAD and source into stdout
-dump_extra
dump HEAD, source, and extra information into stdout
-post file
use POST method with file content
-header string
insert string as a header
+ goto line
-num show line number
-no-proxy
don't use proxy
-no-mouse
don't use mouse
-cookie
use cookie.
-no-cookie
don't use cookie
-pauth user:pass
proxy authentication
-S squeeze multiple blank lines
-W toggle wrap search mode
-X don't use termcap init/deinit
-title [=TERM]
set buffer name to termianl title string. If TERM is specified,
use the TERM style title configuration.
-o opt=value
assign value to config option
-show-option
show all available config option
-config file
specify config file
-help show usage
-version
show w3m version
-debug DO NOT USE
EXAMPLES
To use w3m as a pager:
$ ls | w3m
To use w3m to translate HTML files:
$ cat foo.html | w3m -T text/html
or
$ cat foo.html | w3m -dump -T text/html >foo.txt
NOTES
This is the w3m 0.2.1 Release.
Additional information about w3m may be found on its Japanese language
Web site located at:
http://w3m.sourceforge.net/index.ja.html
or on its English version of the site at:
http://w3m.sourceforge.net/index.en.html
ACKNOWLEDGMENTS
w3m has incorporated code from several sources. Hans J. Boehm, Alan J.
Demers, Xerox Corp. and Silicon Graphics have the copyright of the GC
library comes with w3m package. Users have contributed patches and
suggestions over time.
AUTHOR
Akinori ITO
4th Berkeley Distribution Local W3M(1)
感觉今天起得太早了
nnd,没事干了。看鸟语。ubuntu的firefox更新了,不错不错。可我还是想用3.0,因为我的2.0有事没事就假死一次,靠!!!!
昨天也不知道干了什么,eva不能在gnome下运行了,好在我这段时间迷上了kde,这个问题就先忽略吧,嘿嘿嘿嘿。
kde4 beta1 装上了(in Kubuntu)又卸载了
今天心血来潮,装上了kde4 beta1。其实准确的说应该是昨天下午两点开始下载,刨除晚上宿舍熄灯的时间,到今天傍晚以不到1.5kB/s的速度下载完了,这个速度真是快啊,看得我好泄气啊。
按照kubuntu.org 的步骤设置好后,重启电脑,顺利进入(比kubuntu的kde4 a4好多了,那个东西装上之后只能看,不过beta 1也好不到哪去)
界面确实不错,菜单有点不习惯,可能是习惯了kmenu。可能是因为不是独立安装的,好多东西都不能用,好多设置也不能用,难道这是“体验版”。所以我决定还是把这花瓶删掉吧,好好用我的kde3.5.8吧。中国革命的经验告诉我:不要冒认跟进。
废话完毕。不能辜负了我这么长时间的下载,总得留点记录
Powered by ScribeFire.
貌似cnbeta被黑了
刚才用googlereader进cnbeta,去无法链接,只显示
感谢文明用语的投递
首先呢
不要把黑客拿来说事,
8褂(卦)到一定程度就可以鸟另外,M8抄袭Iphone我不Care,但是就算是说借鉴也不可以这么无耻,
我觉得带着谦逊的态度表示自己向对方学习了也未尝不可,
泱泱大国,不需要这样让人看不起吧?
~_~齐天大圣无聊地到此一游(我很谦逊的说,这段我借鉴了西游记)
这兄弟很搞笑的吗。估计是被cnbeta里的白痴网友评论搞郁闷了。我就奇怪了cnbeta里怎么那么多sb(主啊,原谅我)