Archive for August, 2007

改变生活状态

最近的几个月暑假, 过得很是有感觉. 生活状态大不一样.

首先, 是玩命工作, 玩命娱乐.  自从和居家旅行必备男人徐云鹏同学一起住以来, 每天按时做饭, 按时吃饭, 胃溃疡彻底好了. 每天看看电视, 打打电子游戏(Wii),  生活无比乐趣.  上个月搬家时候和美国小孩比赛玩滑板, 从台阶上跳下来搁了一下, 人没问题, 滑板裂了, 于是极其浪费地扔了. 最近准备买个好的. 今天看了一个运动, 叫 parkour, 极其酷,而且符合我蹦蹦跳跳爬上爬下的习性(以前同学都叫我猴子), 准备学习一下怎么玩.

其次, 养成了小资的习惯–每周看电影. 电影真便宜, 6, 7块钱就能看到大片. 变形金刚, 波恩的身份, 辛普森一家, 哈里波特, 一个不放过. 除了看电影, 周边的餐馆, 酒吧, 咖啡厅, 公园, 都趁着暑假的空闲转了转. 还有就是每次从图书馆巨大的美国文学书边走过的时候,总觉得很内疚, 总觉得自己在捡芝麻丢西瓜. 于是, 借了”麦田守望着”(The catcher in the rye), “在路上”(On the road) 等所谓的名著, 算是补补英语.

最后, 考完了驾驶许可证(不是驾照), 准备最近买车, 考驾照, 然后开车乱转. 过四个轮子上的生活.

要认真工作, 享受生活.

(客座Blog 好久没开展了. 我的要求是随便写什么, 都不一定要和自己的职业相关, 就像写在自己的Blog上一样.  我是想让我这边的读者, 能够认识你, 和你交流, 让大家的视野更加多元一点.  有人愿意自荐么,没人的话, 我要点名了哈 ) 

Comments (7)

人不知莫若己莫为

最近互联网上出了不少事情, 让很多人身名受累. 第一件事情一个外企女白领, 和一个外国人在一起, 拍了一些不适合公开的照片, 不小心泄露出来了. 于是, 网络上好几天的热门关键词都是这个. 第二个事情居然是我认识的一个人, 做了一件事情, 结果居然被捅到BBS上把身份资料都暴露出来了.

我相信每个人如果把隐私揭开, 都不可能很好看. 不过轮到被公开了, 一旦那么点怕见光的东西被置于公众眼光下, 众口铄金, 所有的名誉, 面子, 都荡然无存了. 因为世界是小的, 总有无数眼睛在大千世界逡巡, 所以背着人干的事情不见得就是真的别人不知道. 而且网络又极大的消除了信息传递成本. 所以, 做了什么事情, 一时间, 似乎整个地球都知道了.

想到这里, 不禁战战兢兢. 我从开始写博客以来, 就是实名的(当然我反对博客强制实名). 我的所有的资料网上都能 Google 到, 这个页面的旁边就是我的介绍我的照片. 我的网络常用id 是 mathena (或者xumathena), 没任何马甲. 所以哪天要是自己不小心被揪住了不好的小辫子, 估计一刻钟不到, 全网络就知道了. 不过, 我还是会坚持实名写作, 因为我喜欢坦率的说话, 我不希望别人认为是个狗在写博客. 而且实名以后, 如果真有我不想让别人知道的事情, 那就尽量提醒自己不要去做. 有了这个达摩克利斯之剑, 相信做事情会更加慎重, 所以也是好事情. 其实, 做人做事写博客这些, 本来就是想通的. 如果写博的时候能够想着接受读者监督, 及时纠正一些缺点, 我想, 说不定对做人做事也是有所帮助的. (比如不要随意做价值判断, 要有精英意识等等, 都是通过和读者交流得到的很有启发的人生经验).

总结起来就是, 欢迎大家监督我的各种言论和行为, 我自己呢, 就提醒提醒自己, 别做不能见人的事情, 因为至少有1000 双眼睛看着我呢. (大家踊跃订阅RSS, 多监督我哈 :)

Comments (4)

不合格左派看平等

今天小百合上一篇帖子引起了大家争论, 我们是否应该责怪因为出身导致的不平等. 我是一个绝对的经济左派. 说说我的想法.

一般说, 平等大致有三种. 起点的平等, 过程的平等和结果的平等. 起点的不平等是大家共知的: 有人出自名门, 有人天赋异秉. 就算生理上, 也有黑发金发高大矮小之分. 因此, 起点的不平等是内在的, 无法通过其他手段消除的. 过程的不平等是右派极力消除的. 在资本主义国家, 所谓的人生而平等, 主要就是讲的过程平等. 比如说, 两个人竞争一个目标, 不应当因为暗箱操作而让一个人遭受不公平. 或者说因为机会不平等, 一个人获得了比另一个更加多的机会, 从而造成最后结果不一样, 这也就是自由市场和鼓励竞争理论. 结果不平等是左派极力消除的, 左派认为, 分配制度应当给富人征收比较高的税收, 从而补贴竞争失败的穷人. 这个算是国家福利理论. 应该说, 当前所有国家, 基本上都是左右糅和, 既保护竞争和竞争所得, 也兼顾社会财产的二次分配. 同时, 通过征收高额遗产税, 消除世袭政治资本, 来部分消除起点不平等.

而在当今中国, 因为 20年来政治体制的改革, 一下子从表面的结果平等跳跃到市场经济, 左派突然发现, 没了市场. 因为人人都在讲按劳分配, 讲私有财产的合法保护, 讲效率优先, 兼顾公平. 似乎整个社会都在按着经济自由主义的设计在发展. 人们不禁要问, 左派经济学家干什么去了? 照我看, 左派经济学家是暂时在右派阵营推动过程和机会平等了.

20多年改革, 现在回过头来看, 是伪平等逐渐瓦解, 各方面不平等逐渐暴露的过程. 80年代初期出现了官倒, 然后一直就是腐败现象屡禁不止, 到处有钱权交易. 90年代初期, 一些民营企业一直享受不到外资企业待遇; 90年代后期, 国家资产被少数人收购, 职工下岗. 可以说, 现今的中国, 在过程平等方面欠缺太多了. 这20年, 从体制到政策, 都极大程度的释放了生产力, 但是不平等现象依然在社会各处存在. 因此, 激进的左派一直反对物权法, 认为很多非法所得将会被法律保护. 而据我观察, 右派和新兴的中产阶级, 民营业主, 一直在积极推动物权法, 因为物权法代表过程平等所得能够被保护. 如果没有法律保护物权, 过程平等就无从谈起. 从这个意义上说, 右派想通过肯定现有状态来保护过程所得, 并通过这个法律保证以后的过程平等. 而左派则从原来关心分配平等, 转而更加关心过程实质上不平等, 因此左派经济学家实际上是在帮助右派完成过程平等.

就我个人对历史的观察, 右派的改革往往都需要左派完成才能彻底. 比方说法国大革命时期资产阶级和城市手工业者(左派)的参与使得法国没有出现君主立宪而是共和制. 而明治维新因为右派 倡导而显得不够彻底. 中国近代的革命也是, 国民党推翻军阀, 以及毛泽东所说的无产阶级帮助资产阶级完成新民主主义革命, 也是如此. 究其原因, 因为左派是带着”阴谋”参与右派改革的. 右派是妥协的保守的, 因此最后达成的改革, 往往是进步但权宜的. 而左派总是想着下一步的动作, 并通过统一战线来达到这个目的. (关于统一战线思想, 各国左派政党都在使用). 因此左派达到的结果, 是激进的较为彻底的.

在构建社会平等这件事情上, 我觉得右派在做一件好事. 如果非要在社会过程不平等和社会结果不平等两者之间选取一个最先解决, 我觉得现实的左派应当会选择先解决社会过程不平等. 举个例子, 假设洪灾到来, 国家是多发赈灾款和社会保障, 还是杜绝发放中的人为贪污? 就当前而言, 中央政府在处理下一级事务上, 还是比较重视公平的. 因为整个社会的市场化, 中央政府的宏观调控和措施越来越注意公共福利和社会保障. 因此在目前这个阶段, 是要保证二次分配过程的公平, 以及政府倡导的推进整个社会的民主和谐. 只有达到右派所说的机会公平和法律保护的过程公平, 才能真正有实现民主和谐的基础. 好比物质资产没有极大丰富之前的共产主义只是谎言一样, 过程和机会不公平之前的结果公平, 只会越来越让左派无法立足.

百合上帖子里面说:

我是一个享受不到公平的冷落人, 但我心依然很坦然。我会努力, 但我不会去跟着指责正享受着的不公平因为有一天, 经过自己的努力,我也会成为一个享受着不公平的人, 或许, 我也会让我的子女,去理所当然的享受属于他们的不公平。这个社会,奋斗才是王道!!!!

这个是一个经典的美国梦版本, 可惜如果没人主张平等机会以便让你能够通过奋斗胜出, 并且奋斗所得能够得到保护,如果没人主张平等的社会福利让你能有一个好的起点, 不要担心奋斗失败后的社会保障, 一个人就算奋斗一生, 也和做个小蜜蜂养蜂王没区别.

西方(美国)的政治经济制度未必是最好的, 只是有些地方的确值得借鉴学习. 对于起点的公平, 美国一直极力强调政治正确, 刻意淡化性别, 种族, 智力, 体力, 身体健康程度等差别, 不少部门都声明每个人拥有均等的被雇佣权利. 通过高额遗产税, 和整个社会文化对出身寒门的成功人士的推崇和鼓励, 使得出身公平被有意识的模糊和淡化. 过程公平方面美国做得比中国要好太多了, 民主和透明的政府, 言论的自由, 对市场和竞争的鼓励以及保护, 各种各样保护私人权益的法律, 都在保护着想有美国梦的人, 能够通过奋斗实现美国梦. 显然这不是完美的, 不过算是比较值得学习的. 至于社会福利, 论公平比不上朝鲜, 论福利水平比不上北欧. 不过论福利水平, 比朝鲜好太多了. 民主党(左派)也一直在推进医疗等方面的改革, 有些经验, 是有价值的.

Comments (11)

看不懂就算了, 我不说了

这20年, 我们这代人从幼儿园到研究生, 而我党对我们的教育却正好反弹琵琶. 我们的祖国是花园, 花园里花朵真灿烂.
上篇文章已经隐藏. 本博之前就决定不评论谷歌和百度战略, 不写国内新闻评论. 今后也不写任何我党之国**是***. 想念家乡的河蟹了. 只吃,不说.

hexie.jpg

Comments (4)

Protected: 二十年政治考试题和学生守则

This post is password protected. To view it please enter your password below:


Enter your password to view comments

和谐社会感动美国

1
1
1
1
1

五份报纸, 一个版式. 美国记者感慨: 中国真和谐.

来源1: 传说中的“一个编辑做了四份日报

来源 2: 大家来找茬(日报版)

Comments (5)

推荐几篇关于密码学的文章

最近一段时间, 争取经常推荐优秀的技术文章.

统统告…告诉我密码——DES

统统告…告诉我密码——RSA

统统告…告诉我密码——MD5

虽然网上这种入门文章非常多, 但往往缺少技术细节, 看完依然不知道实践中要掌握什么. 这几篇文章在入门和技术细节中达到了比较好的折衷(当然具体写程序的时候还是有很多技术细节要注意的).

对了, 作者是高中生.

Comments (3)

Qi Xi (Chinese Valentine’s Day)

[Disclaim: Some text here are cited from Wikipedia under the GNU Document Licence]

Qi Xi (七夕; Pinyin: qī xī; “The Night of Sevens”) is Chinese Valentine’s Day (sometimes called Magpie Festival) It’s on the seventh day of the seventh lunar month on the Chinese calendar; thus its name. In 2007, this festival falls today, August 19.

There is a very romatic story of Cowherd and Weaver Girl. As in late summer, the stars Altair and Vega are high in the night sky, our ancestors observed that and a love story came out.

A young cowherd named Niulang (Chinese: 牛郎; Pinyin: niú láng, “the cowherd”, the star Altair) happens across seven fairy sisters bathing in a lake. Encouraged by his mischievous companion the ox, he steals their clothes and waits to see what will happen. The fairy sisters elect the youngest and most beautiful sister Zhinü (Simplified Chinese: 织女; Traditional Chinese: 織女; Pinyin: zhī nǚ, “the weaver girl”, the star Vega) to retrieve their clothing. She does so, but since Niulang has seen her naked, she must agree to his request for marriage. She proves to be a wonderful wife, and Niulang a good husband, and they are very happy together. But the Goddess of Heaven (in some versions Zhinü’s mother) finds out that a mere mortal has married one of the fairy girls and is furious. (In another version, the Goddess forced the weaver fairy back to her former duty of weaving colorful clouds in the sky because she could not do her job while married to the mortal.) Taking out her hairpin, the Goddess scratches a wide river in the sky to separate the two lovers forever (thus forming the Milky Way, which separates Altair and Vega).

qixi2.jpg

Zhinü must sit forever on one side of the river, sadly weaving on her loom, while Niulang watches her from afar and takes care of their two children (his flanking stars β and γ Aquilae).

But once a year all the magpies in the world take pity on them and fly up into heaven to form a bridge (鵲橋, “the bridge of magpies”, Que Qiao) over the star Deneb in the Cygnus constellation so the lovers may be together for a single night, the seventh night of the seventh moon.

qixi3.jpg

There are also lots of traditions, but now in China, we usually treat Qi Xi as the second Valentine’s Day in a year. We also have many beautiful poems about Qi Xi, one of my favourite is:

秋夕 –(唐)杜牧
红烛秋光冷画屏,
轻罗小扇扑流萤。
天阶夜色凉如水,
坐看牵牛织女星。

Translated as:

The painted screen is chilled in silver candlelight,
She uses silken fan to catch passing fireflies.
The steps seem steeped in water when cold grows the night,
She lies watching heart-broken stars shed tears in the skies.

I am not so that sad, of course ;)

Comments (1)

A Gmail bug explained

Here is a quite funny picture I found today on digg. It is called the Best Phishing Email, Ever. Despite the funny nature of this hilarious letter, have someone really noticed that in this letter, we have G mail or Gma il instead of Gmail? (one extra blank in between the letter “G” and “m”, or “a” and “i”).

gmail_scam.jpg

Last year when I was interviewed in Google, I reported this bug to Gmail team, (Sadly to say, they didn’t take it very serious, as it’s still there now). Maybe they can argue that it’s a feature, but let me take five minutes to explain why is it. (I guess it’s fairly simple and straightforward).

Let’s start from a little background about HTML. We all know that when we send colorful texts like “Google” via gmail, the email format is actually HTML. Here is a quite important aspect about HTML: An HTML user agent should treat end of line in any of its variations as a word space in all contexts except preformatted text.(Page 20, RFC1866) That is to say, a cstring in HTML source file like “a\nb\nc” will have the redering output identical to “a b c”. Therefore, it’s really confusing that we have to use <br/> to make a newline within a paragraph in HTML text, and “\n” is equivalent to a white space in most of the cases.

Now let’s go back to Gmail. When I send myself a piece of email with a colorful string “Google” via Gmail, I got “Googl e“. Via viewing the source of the HTML, we can actually find that there is a “\n” in between those letters. For example, this is a piece of HTML(javascript) excerpted from Gmail source related to this colorful Google:

\u003cfont color\u003d\”#000099\”\>G\u003c/font\>\u003cfont color\u003d\”#ff0000\”\>o\u003c/font\>\u003cfont style\u003d\”background-color:#ffffff\” color\u003d\”#ffcc00\”\>o\u003c/font\>\u003cfont color\u003d\”#3333ff\”\>g\u003c/font\>\u003cfont color\u003d\”#33cc00\”\>l\u003c/font\>\u003cfont color\u003d\”#ff0000\”\>e\u003c/font\>\n \u003c/div\>\n\u003cdiv\> \u003c/div\>\n\u003cdiv\>

Here \u003c is “<”, \u003d is “=”, without the bold “\n” in this line, the result should be “Google“. So, why we have an extra “\n” here? Who did this trick? The answer is simple: “Gmail”. For some reason, Gmail breaks a long line in HTML source file into multiple lines and sends the email out (I haven’t figure out the rule that Google uses to break lines in HTML source file). By doing several trival experiments like sending mail from Gmail to Hotmail and vice versa, I am now pretty sure the problem is caused by Gmail automaitc line breaking strategy. That is to say, Gmail client automatically inserts a newline(”\n”) symbol in the HTML source file and causes this “visual bug”. Actually this bug is quite easy to fix, for instance, just break the line at the first blank after the label name, for example, like:

<span
style=”color: rgb(255, 0, 0)”>red</span><span
style=”color: rgb(0, 255, 0″>green</span>

instead of say

<span style=”color: rgb(255, 0, 0)”>red</span>
<span style=”color: rgb(0, 255, 0″>green</span>

or

<span style=”color: rgb(255, 0, 0)”>red</span><span style=”color: rgb(0, 255, 0″>
green</span>

The first generates “redgreen“, and last two give “red green

BTW, here is a nice tip for interviewees: love your prospective employer, love their products. Eventually, you would have a very nice understanding about their culture and products. All companies are willing to hire guys who actually love their culture and products (and can even find bugs :).

PS: in preparing this article, I found that Gmail team has secretly updated the text format system from using plain old <font> to fancy (and elegant) XHTML+CSS <span>.

PS2: http://www.opinionatedgeek.com/dotnet/tools/Base64Decode/Default.aspx is a nice online tool for decoding the base64 format.

Comments (2)

博客推荐之二

今天推荐两个Blog:

1. 盎可 (http://weblog.ankhchen.com/), 副标题叫”艾丝侯”, 听上去很诗意, 真实含义懂得英语的自己揣摩吧.

其实我的Blogroll中间也有, 不过订阅RSS的人未必能看得到.
盎可刚从美国学习了一年人类学. 他对互联网, 对中国的一些观察, 观点独特, 发人深思. 这个 Blog 内容广泛, 视野开阔, 推荐订阅.
随机选择几篇优秀的文章:
站在这里
所谓辩证的看问题
iPod 和 911

2. Solrex 杨文博 (http://blog.solrex.cn/)

我的师弟, 现就读中科院, 混迹北京. 嵌入式开发高手. 这个Blog主要写他的北京生活和Linux开发技术. 他的技术文章深入浅出, 生活文章平实淡雅, 推荐订阅.
随机选择几篇优秀的文章:
如何手工写x86 Bootloader
圣经的故事
关于龙芯

—–
客座 Blog 好久没有搞了, 哪位读者想让其他人了解自己, 想来发表一篇文章, 或者想要自荐自己Blog的, 给我发信. 我的邮箱是 youxu A@T wustl.edu (把 A@T 改成 @, 前后没有空格).

Comments (8)

« Previous entries