Ruby 关于 Unicorn 的官网为啥看起来那么古老,开发者之一 Eric Wong 做出了回答

1c7 · May 28, 2016 · Last by psvr replied at May 31, 2016 · 3879 hits

发这个话题主要是觉得肯定有其他人也好奇为啥 Unicorn 官网这么老的样子。。

想看总结的请直接拉到最下面 https://unicorn.bogomips.org/


总之事情是这样的

最近折腾 Unicorn 发现官网好像是上个世纪的一样,完全的 HTML,眼花缭乱。 然后根据官网找到的邮件问了下, 为啥 Unicorn 这么出名网站还看起来这么过时? 而且为什么不把源代码放到 Github 上面?别人可以开 Wiki, 开 Issue,很方便的啊。

然后作者回复了:

( 邮件是公开的,想看原文可以看:http://bogomips.org/unicorn-public/20160526215736.GA11631%40dcvr.yhbt.net/t/#

我翻译下邮件全文

Please don't send HTML email; it is bloated, spammy and your 麻烦别发 HTML 格式的邮件,这种邮件体积很大,跑到我的垃圾邮件文件夹里了。 mail got stuck in my spam filter instead of hitting the list.

About the Subject, unicorn itself is outdated by design: 关于你邮件的主题,Unicorn 本身从设计上来说就是过时的

http://unicorn.bogomips.org/PHILOSOPY.html http://unicorn.bogomips.org/DESIGN.html

This list rejecting HTML is another "outdated" characteristic of the project :) 这个项目的公开邮件列表拒绝 HTML 格式的邮件 是这个项目另一个"过时"的特征

Being outdated is not bad IMHO; more of us had slower computers and connections back then and needed to make every byte matter. Many "modern" websites are slow and inaccessible to poor and/or low-eyesight users. 以我的观点来看,过时并不是坏事,在以前,我们大部分人的电脑和网络都很慢, 所以要让每一个字节都发挥作用。 很多 "现代" 网站都很慢,而且对于眼神不好 (low-eyesight) 的用户来说很难用

The CSS on the old website was as big as the README page; slowing or even breaking rendering. Nowadays it does not depend on CSS at all, and is designed to reduce scrolling for users on small screens (or big screens and giant fonts :) CSS 在老网站上占的大小和 README 页面一样大; 会拖慢甚至让页面走形(breaking rendering).
如今 CSS 不是问题了,不过不用 CSS 是为了让用户不管用什么大小的屏幕都尽可能少滚动页面。

Enabling CSS may also be dangerous: 启用 CSS 可能会造成一些安全问题

http://thejh.net/misc/website-terminal-copy-paste

Slow connections still come from poorer areas and even the well-off have connectivity trouble over Tor or mobile. Some of us have bad eyesight and need gigantic fonts and custom colors to read. Web designers should not set colors or fonts for us. 现在依然有穷困的地方网络连接很慢,或者他们用的是手机或者开了 Tor。 我们之中的一些人眼神不好,需要很大的字体和自定义颜色来阅读。 设计师不应该替我们把 颜色和字体预设好了。

A "modern" website also sets unrealistic expectations for maintainers and potential contributors. unicorn is a daemon, it can never require a graphical interface to run, so users should not be expected to run one, either. 一个现代的网站同样的对维护者和潜在贡献者设置了一个不现实的期望值. Unicorn 是一个 Deamon(后台) 程序,它不需要图形界面, 所以用户也不应该期望有个图形界面。

Fame and being widely used are accidents since I little effort into marketing. It's nice to have it solve some problems for users, but market dominance is harmful to ecosystems. Unicorn 出名,而且有很多人用,这件事完全是个意外,我都没怎么做推广。 不过能给其他人解决我所遇到的问题是很棒的事情。 但市场主导地位对生态系统来说是不好的。(Why??)

and why not put source code on Github, 邮件原文:为啥不把代码放到 Github 上面

GitHub bundles a proprietary, centralized messaging platform we cannot opt-out of. It also requires registration, terms-of-service, and JavaScript to use. Github 是一个中心化的平台,we cannot opt-out of.(没懂,因为中心化所以就不想放上去?) Github 需要你注册账户,同意用户协议,还有启用浏览器的 JS 来使用。

Plain-text email is universal and interoperable. unicorn and Ruby do not require registration, terms-of-service or JavaScript to use; so contributing should never require those things, either; even anonymous contributions are welcome. Plain-text email is the only additional requirement, anybody with Internet access hopefully has that. 纯文本电子邮件是世界通用的. 当你使用 Unicorn 和 Ruby 时,不需要注册账户,不需要同意服务协议,也不需要启用浏览器的 JS。 所以给 Unicorn 贡献代码也不应该要求这些事情。 哪怕你是匿名贡献代码我们也是欢迎的。 纯文本邮件只是唯一的一个额外要求而已。 任何有网络连接的人应该都能发纯文本电子邮件。

Write some Github Wiki, A contributor guide, Thing like that.

Some old-school projects have a "HACKING" file for contributors :) http://unicorn.bogomips.org/HACKING.html 一些 "老派" (old-school ) 的项目有个 HACKING 文件是给贡献者看的

You can email comments, patches or pull requests here to improve the docs (which becomes the website), so it's like a wiki with review process over email. 你可以把想发的留言通过 Email 发给我们,也可以发补丁和 pull request 来改进文档(文档也就是这个网站本身) 所以这个流程就像是通过电子邮件来 review 的 WIKI

I am a newbie just start learning Unicorn and can't find any good tutorial about Unicorn. and recommend?, 我才刚开始学 Unicorn,找不到什么好教程,有啥推荐吗?

There is a short Usage section in the README and Configurator docs: http://unicorn.bogomips.org/#label-Usage http://unicorn.bogomips.org/Unicorn/Configurator.html

But unicorn is not for everyone, so I recommend starting with rack and tutorials, since unicorn is built on rack: 但是 Unicorn 并不是适合所有人用的,所以我建议你从 Rack 教程开始看起 (starting with),因为 Unicorn 是基于 Rack 的

https://github.com/rack/rack/wiki/tutorial-rackup-howto

unicorn is one of many rack servers you can choose from. I encourage people to try other ones and evaluate based on their needs; not whatever some other websites are using. Unicorn 是各种 Rack 服务器的其中之一 我鼓励大家试用下其他服务器,并且基于自己的情况来看看适合用哪个服务器。 而不是别人用什么他们就用什么

Thank you very much.

No problem :>

邮件结束

Eric Wong 的观点我总结下就是:

1. 为啥网站丑

为了照顾网络连接慢的地方,为了照顾眼神不好的人,或者是手机用户,开了 Tor 代理的用户,让他们尽快载入页面以及尽可能少滚动页面

2. 为啥不用 Github 让别人参与贡献代码?而且那上面有 Wiki 和 Issue

Github 贡献代码要注册,我认为为了贡献代码不应该有这么个要求,哪怕匿名贡献我们也是欢迎的, Wiki 和 Issue 可以通过电子邮件的方式解决,


为啥没有分割线

我看完邮件觉得。。还是不能理解他的看法,还是觉得网站很丑。。这都什么时代了。。 而且用 Github 注册个账户咋了,又不麻烦。

你们怎么想? = =

我眼神不好,每次点导航都要借助页内搜索。尊重他的想法,然后转投 Puma 了。

#1 楼 @rei 哈哈哈哈

这是价值观的偏好,老外习惯了每个人都得有选择,而国内习惯了我这么做是是对你好,比如手机实名,支付宝实名,必须公积金不让取用来给你留着买房,比如限购防止房价上涨 那我不买房把扣我的公积金每个月发给我行不行?不行,这都是为你好,把钱发给你害怕会害怕害了你买不了房,将来孩子上不了学

But unicorn is not for everyone, so I recommend starting with
rack and tutorials, since unicorn is built on rack:
但是 Unicorn 并不是适合所有人用,所以我建议你看 rake 教程,因为 Unicorn 是基于 Rack 的

rake -> rack

#4 楼 @jasl 好的,马上改

发帖的小伙子显然很年轻,对互联网的文化历史完全没有感觉。这就是代沟啊。 不过翻译的不错👍🏼

#6 楼 @redouble 我 95 年的。谢夸

为什么不用 github,很久之前有回复了:

No.  Never.  Github is proprietary communications tool which requires
users to accept a terms of service and login.  That gives power and
influence to a single entity (and a for-profit organization at that).

Contributing to unicorn is *socially* as easy as contributing to git or
the Linux kernel.  There is no need to signup for anything, no need to
ever touch a bloated web browser.

The reason I contribute to Free Software is because I am against any
sort of lock-in or proprietary features.  It absolutely sickens me to
encounter users who seem to be incapable of using git without a
proprietary communications tool.

https://www.reddit.com/r/ruby/comments/2cdks1/eric_wong_on_why_unicorn_will_not_be_hosted_on/

#8 楼 @hooopo 啊,这样。谢谢

#8 楼 @1c7 你的邮件其实就是发送到了一个邮件列表,和 github 的 issue or pull request(据说把 patch 发上去就是 PR)是一样的:

http://bogomips.org/unicorn-public/

#10 楼 @mrpasserby 哈哈哈 你把最后一行去掉说不定能有几个赞呢

还是 puma 简单点

#11 楼 @hooopo 嗯,这样,其实我不是很懂邮件列表是啥。。我搜搜去

发现 Hongli Lai 同学也在 contributor 里面呢!

#9 楼 @1c7 关于 Github 的回答:首先 Git 和 Github 完全不是一回事。其次,显然你理解不了作者所倡导的自由、匿名、去中心化的 Hacker 文化。

古老的网站,古老的文化。

是经典,不是过时。

You need to Sign in before reply, if you don't have an account, please Sign up first.