Archive for the ‘Life’ Category

Big surprises of the day: gift from Google, Rubinius, etc.

Saturday, May 17th, 2008

We were having massive earthquake the last several days in China. Though Hangzhou is almost not affected, there were many people died in Sichuan province and the number of death is still growing. I’m very sorry about that. But I can’t do more besides denoting some money and blessing. My hometown, Guizhou, is just near to Sichuan. My mother was willing to be a volunteer to help the suffering people. I talked much to her to prevent her from going. Maybe I’m selfish, but it’s still really very dangerous there. And I’m holding the point that while many people died, those living people should treasure their lives; every people has his own value in the world. I’m trying to work hard, for me, and for those people who should have lived longer. I really hate death! :(

So this is still a good day. First of all, I just received the surprise book from Google as the start of Program Gift. But we were asked not to reveal the book name until every GSoCer has received the book. I’ll follow this rule. If some GSoCer know the book name before he gets his one, it won’t be such a big surprise for him. However, what I do want to say now is that I love this book very much! I’d thank Google very much!

Read the rest of this page »

Google Reader 终于增加 note 的功能了

Tuesday, May 6th, 2008

Google Reader noteGoogle Reader 可以 share 自己觉得有趣的文章,然而却无法指明自己为什么觉得有趣,今天打开 Google Reader ,发现左边侧栏有了一个 Note 的菜单。里面列出了自己的 notes ,还有一个 note button ,使用这个 note button 可以在任何地方把看到的有趣的文章 share 到 Google Reader 并添加自己的评注了,这也是一直期待的功能,因为有时候许多文章并不是在 Google Reader 里看到的,有些文章甚至没有 RSS Feed ,不方便用 Google Reader 进行订阅。

而 Reader 的文章内容的工具条那里除了原来简单的“Share”按钮,也多出来了一个“Share with note”按钮:

Google Reader Note

Wonderful! :) 我想应该好好学习 Google 如何了解用户的需求的了,而且他们自己的工程师们也肯定每天都在用自己的产品吧!

ps: 为 Blog 增加了验证码的功能,终于可以摆脱垃圾评论了。 :D

流水帐:GSoC、SRTP、MSTC、考试、游戏、动漫……

Friday, May 2nd, 2008

其实连流水帐也算不上,因为根本没有什么连续性,其实生活本是如此嘛,杂乱无章,如果是一成不变,那就不叫生活了。而且这样的跳跃性似乎更适合我的思维。最近也发生了不少事情,姑且罗列一些吧。本来不是很喜欢在 Blog 上写这类的东西,但是似乎是有些压抑了,再加上受到动漫游戏里虚拟世界的那些美好生活的刺激吧,也想找个“人”倾诉(或者唠叨)一下。 :p

Google Summer of Code

前段时间一直在忙的 GSoC 申请也算告一段落了。大三也快结束了,同学们都开始找事情做了吧,特别是暑期的实习,好像 Google 、微软的都有宣讲会面试之类的,我想如果做 GSoC 的话就不会有时间做实习了,而 GSoC 本身其实也是实习性质的,这样就不用再去关心那些实习的事情了。但其实也算是一个借口吧,我还是太懒了,麻烦的事情我都不想去管,能逃避的就逃避了。

Read the rest of this page »

Google Summer of Code 2008: First Chapter

Wednesday, April 23rd, 2008

Google Summer of Code 2008Finally, I was accepted by Thousand Parsec and will work on Schemepy with Timothy Robert Ansell this summer. I hope this would be an enjoyable summer. :)

It’s been a fairly long time since the announcement of Google Summer of Code 2008. I’ll try to write something about that period. I learned a lot from this and it’s really (some what) by coincidence that I ended up working with Schemepy. :p

Announcement

It was roughly summer of 2007 when Jack told me about Google Summer of Code. But applying period for GSoC2007 has ended that time. Then when I read the announcement of GSoC2008 this year in the Google Reader in late February, I was excited. I checked the website of GSoC and some projects accepted in year 2007, 2006 and 2005.

Read the rest of this page »

“软件工程”课告一段落

Sunday, April 20th, 2008

“软件工程”也是计算机专业的必修课之一。我一向对诸如敏捷开发、极限编程之类的东西比较感兴趣,“拥抱变化”给我的印象非常深刻,所以我意识里也有些抵制传统的软件工程。我觉得,对于小的项目来说,花那么多的时间在繁琐的软件工程流程上简直就是浪费;而对于大的项目来说,不管你花多少时间来做计划都是徒劳,因为需求总是会变化,我们要做的只能是“拥抱变化”而不是永远停滞在设计阶段。

但是我想既然这个课是由 CYJJ 来上,应该至少不会无聊到哪里去吧。二十多章的内容被压缩在了 8 周的短学期中,上课又是一百多号人的班级,唯一能吸引人的就是课件里穿插的各种故事(或者说叫做 IT 八卦)了。到最后一周的时候才幡然醒悟:上课似乎没有听进去过几个字。厚厚的一本书,考前看了一遍,也没有记住什么实质性的东西,DFD、ACD、SCD……一堆一堆的概念。当然为了避免这个课变成那种背概念的文科课,配套有几个 project :

  • Software Requirements Specification
  • System Design
  • Test Specification
  • Subsystem Version 1.0
  • Subsystem Version 2.0
  • Web Design
  • Final Integration of System

Read the rest of this page »

给 YASnippet 的文档做了 css 主题

Monday, April 14th, 2008

YASnippet文档是用 reStructuredText 生成的,感觉 reStructuredText 虽然很强大,但是自带的那个 HTML Writer 的可定制性实在是不太好,而且文档不好找,许多地方都只能根据固定好的输出结构来做 css ,而 Muse 在这方面要好弄一些,主要是 Muse 比较简单,许多地方可以方便的控制了。下面是一个截图:

Document of YASnippet

还不错吧!可以点过去看看。 :) 其实是借用了 Drupal 6 的默认主题里的不少东西。

Ruby on Crack: yet another web framework

Wednesday, April 2nd, 2008

:D 愚人节里各个社区里的气氛都活跃了许多,在 Ruby-talk 的邮件列表里发现了 N 个 Ruby fork 要发布了,还有用 PHP 写的 Ruby 。其他社区也很活跃,Java 似乎是今年的一个主角:各种各样的项目都要迁移到 Java 了。 :D

不过令我敬佩的是虽然只是愚人节的玩笑,许多人都很细心地去做,比如前面的这个叫做 Brobinius 的 Ruby fork 还专门做了一个网站。还有 Antonio Cangiano 的 Ruby on Crack ,他最后一段描述的不同的人对 Ruby on Crack 的反馈:

“Those who use Crack can really appreciate the beauty of Ruby.” — Matz

“Fuck You” — DHH

“Incredible framework. I plan to publish a book about it ASAP, and I’m sure that it’ll be the first in a long series of books that I’ll write while using Crack.” — Dave Thomas

“Crack is what we really needed at Engine Yard.” — Ezra Zygmuntowicz

“Wow, what an eye opener. Crack made web programming fun again.” — Obie Fernandez

“You ass#$!@ m0#@#!@&%$” — Zed Shaw

“Once you have tried Crack for the first time, you realize how addictive it is. I simply can’t go back to Rails anymore.” — April Pesce

“Web 3.0 will belong to those on Crack.” — Tim O’Reilly

“If there is something that the Ruby community got right it’s Crack. I wish Python programmers were on Crack too!” — Guido van Rossum

“This is truly innovative and a godsend for startups. Give us about 6 years and we’ll have Arc on Crack too.”- Paul Graham

也是写得相当生动啊! :D

Rubinius 的首页改版了

Tuesday, February 5th, 2008

好久没有去看过,居然改头换面了,从前 Rubinius 的首页里面的信息量并不比 lifegoo team 的首页多多少。 :p 不过现在换了个风格,而且 Documentation 一页似乎多了不少东西! :D

Rubinius 是一个类似于 SmallTalk-80 架构的 Ruby 虚拟机,大部分代码用 Ruby 本身来写成:例如 byte-code 的编译器,这样字节码甚至可以直接在其他 Ruby 实现(比如 JRuby 或者 MRI)上加载。虽然说现在 Rubinius 还不太成熟,在各种测试中似乎都是在各个 Ruby 实现中排倒数的,但是看上去前景非常好,大家都在关注。也许会如他首页上说的那样,成为“the next generation virtual machine for the Ruby programming language”。 :)

中文真是复杂啊

Thursday, January 17th, 2008

平时用起来似乎感觉和英文没有什么大的区别,大概是人脑太强大了,中文和英文都是“小菜一碟”,所以不太能感觉得出区别吧,但是放到现在的电脑上就能明显感觉出区别来了。比如说输入,要依靠输入法,而且输入法的学问也很大。输入以后要显示,字体也是一个问题,英文字体文件可以很小,而中文的话通常会很大。最麻烦的应该还是做检索,要做索引的话需要进行分词,英文很方便,直接

text.split

Read the rest of this page »

通宵排队买票

Tuesday, January 15th, 2008

我同 cc98 上一个去内蒙方向的土木的同学和 88 上的一个老乡一起在玉泉正门口通宵排队 15 个小时买火车票。也算是买到了吧,自贺一下。

昨天下午 5 点多到玉泉正门口,本来是想去城站排队的,好歹是室内,暖和啊,可是城站临时变更售票规则,不再提前 11 天出售卧铺票,真是奇怪,火车站反而不可以买,而代售点倒是可以买。总之,昨天下午我们三个人排在第 14、15、16 这三个位置,可惜我们三个人总共就要买 9 张票,没法轮班排队,因为每个人限买三张卧铺嘛。排在最前面的一波人好像是要买去重庆的票,听说是中午一点就过来的。他们似乎有很庞大的队伍,经常轮换。我们几个从紫金港过去,换了也没地方住。

Read the rest of this page »