Sun 29 July, 2007

add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furlSat 28 July, 2007

add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furlFri 27 July, 2007

add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
Tip Offline RDoc
Run the gem_server executable bundled with RubyGems and point your browser at localhost:8808
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furlThu 26 July, 2007

add to del.icio.us. look up in del.icio.us.
add to furl
- A new IronRuby community site
It's great to see some folks stepping up to help us track what's going on in the IronRuby community. Thanks!
add to del.icio.us. look up in del.icio.us.
add to furl
django master class的最后连续提到了几个非python的软件:
1)capistrano,这是一个ruby写的,用于软件的部署,能同时对多个服务器操作。
2)perlbal,这是一个perl写的,用于负载平衡,在django book中提及过。
3)memcached,这是一个用c写的,用于memory caching,能加快访问速度。
4)再次提到ajax,对jquery则格外青睐,都是用它来示例。
同时django team这些也不是关起门来自己做,眼睛还是会关注ror的,前面test framework中,反复提到了rails中test,我想他们是吸取别人的经验,利用python,使之更pythonic,呵呵,这是一个不变的情结。文中还提到了很多google code上的项目,这些项目也进入了他们的视线。
捏合这么多种软件的思路,我想是必要的,因为世界本身就是复杂的,多样的,个人的喜好是不同,但目的是一样的,就是让工具为人服务,减轻人的负担,这就提出了一个要求,就是尽可能让工具简单化,上面提到的,包括python本身,都具有这样的特质。随便说两句,有想法再写。...
add to del.icio.us. look up in del.icio.us.
add to furl
“ I’m really open minded but Larry Wall is insane. ”
Marcel
add to del.icio.us. look up in del.icio.us.
add to furl
“ The data-parallel languages of the future will be functional languages. ”
Simon Peyton Jones
add to del.icio.us. look up in del.icio.us.
add to furl

add to del.icio.us. look up in del.icio.us.
add to furlWed 25 July, 2007

add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
1)unit testing
2)middleware
3)signal
4)form & ajax
5)openid
6)template tag pattern
7)custom field
8)。。。
我也要仔细看看,品味一番了。确实很难得的资料!...
add to del.icio.us. look up in del.icio.us.
add to furlTue 24 July, 2007

add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
Rails框架国际化插件的新动向
本文介绍两款比较新的而且非常容易使用的Rails框架国际化插件。这是Rails框架中文软件必不可少的工具。
软件的国际化是软件开发的一个重要工作,尤其是我们中文,框架是大部分是英文,没有现成的方法马上可以直接进入中文软件的开发。Rails框架本身也没有相关的软件包,要进行Rails框架软件的国际化,就需要依靠第三方Rails框架的插件,开始使用比较多的有:Gettext ,相关资料 [ 1 ],和 Globalize 。二者功能比较强大,同时也带来安装和使用的复杂性。
》》详细阅读
add to del.icio.us. look up in del.icio.us.
add to furl
By way of Tim Heuer :
John lam just announced the first drop of the ironruby sourcecode! the source is licensed under the microsoft permissive license (BSD-style). also the team has announced that they will be accepting source code contributions for the ironruby libraries! this is phenomenal. there will be a lot of work to make that happen and the intention is to get ironruby on to rubyforge by end of august. John also announced that in some some micro-benchmark tests, ironruby is testing significantly faster than ruby 1.8.6 in some areas and on par in others. john will be at oscon as previously mentioned demonstrating some ironruby code, talking about the dynamic language runtime, working with ironruby in silverlight, etc.
(Not sure why, but all of Tim’s posts seem to follow an E. E. Cummings approach to capitalization.)
Edit: See also John’s post.
add to del.icio.us. look up in del.icio.us.
add to furlMon 23 July, 2007

add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
In willkürlicher Reihenfolge:
Dank an die Schwedenmusik für ihre originellen neuen Stücke.
Dank an die WG-Trommler für einen alkoholischen Fixpunkt.
Dank an das Fußvolk der Schweden für groben Klamauk beim Fechten.
Dank an die Bäckerei Zoll für belegte Brötchen morgens um halb sechs.
Dank an den Stecken für warme Seelen und Memminger Gold.
Dank an die RAN für ihr Vordach.
Dank ans Tweety für den Treffpunkt.
Dank den Izmir-Döner für die guten und scharfen Pizzas.
Dank an den Schimmeldöner, weil er bis sechs auf hat.
Dank an den REWE-Mitarbeiter, der fast die Marmelade wegen einer Palette 5,0 fallengelassen hat.
Dank an alle, die lieber das Schützenfestlied als was von Landser sangen.
Bis nächstes Jahr verbleibe ich mit einer
Scheene Schütza!
NP: Bob Dylan—A Hard Rain’s A-Gonna Fall
add to del.icio.us. look up in del.icio.us.
add to furlSun 22 July, 2007

Capistrano 2.0 is real. (What is Capistrano?)
Install it thus:
gem install capistrano
It’s been through four preview releases, and has seen significant changes since 1.4.1. If you’re currently using 1.4.1, be sure to check out the upgrade documentation at http://www.capify.org. If you’re altogether new to Capistrano, you might like to read about getting started.
Since the last preview release (number four, version 1.99.3), the changes are primarily bug fixes, but the following featureish modifications snuck in, too:
- The uploader has added a tiny bit of sleep to prevent the CPU from going bonkers during uploads.
- You can specify the $CAPISTRANO:HOST$ placeholder in the filenames that you give to “put”, and it will be replaced with the actual host that the file is being uploaded to.
Also, some people reported SFTP uploads were hanging for them. If this happens to you, try adding the following line to the top of your recipe file:
set :synchronous_connect, true
That will cause connections to the servers to be established serially, rather than in parallel, so if you’ve got a lot of servers that you are connecting to, it might make things a bit time-consuming. However, this appeared to work around the hanging SFTP issue.
You can read the complete changelog here. If you are using Capistrano at all, please also consider joining the mailing list, it’s a great place to share tips and report issues.
KNOWN ISSUES
Yes, there are a few of these. Two are of immediate significance:
- If you try to use the ‘put’ command to upload a file to two or more hosts via a gateway, you run a good chance of encountering “corrupted mac” errors. This is due to design flaws in Net::SSH and Net::SFTP, and (to my knowledge) cannot be worked around. The current best practice is to upload to a single host, and then use scp or rsync from the remote hosts to pull the file.
- A very few people have reported commands hanging inexplicably and infrequently. I suspect this is also due to flaws in Net::SSH, but I’m not certain yet.
add to del.icio.us. look up in del.icio.us.
add to furl
周末,跨越了大半个北京城和几个老朋友聚到了一起,由于有一段时间没有见到,自然一个个都变成了话痨。一个朋友的精神状态对比于之前见到的他来说,明显好了许多,生活显然也丰富多彩了一些。聊到原因,他从之前一个很糟糕的情况逐渐摆脱了出来,心情好了,自然而然人的状态也随之好转了。当然,朋友们也看到了我类似的变化。加入到ThoughtWorks后,我整个人的状态变得明显不同了,更活泼了。按照一个朋友的说法,明显是被释放的结果。
曾经和老妈聊天,我说找工作的标准是“钱多和心情好” 至少有一样。其实,虽然我也知道金钱的重要性,但我一直没有树立了一个良好的追逐金钱的观念,所以,我真正看重的是心情。工作最初的部门给我留下了一些很美好的回忆,其中一个重要的原因就是那里给了我一个良好的心情,周围的环境让我感到很舒服,所以,在那里我的表现也得到了大家的认可。虽然后来我离开了那里,但原因也与环境无关。反而,每次我回到沈阳,都会回到那个部门与一些老朋友叙旧。在我正式离职之前,我还曾经到那个部门与大家分享了一些Ruby的东西。
之后工作的那个部门,虽然我从中也学到了不少的东西,但自己整体评价我那两年的表现,很糟糕。自我分析的结果是,我一直没有找一个让自己心情愉快的理由。虽然大家也经常在一起玩,但那个部门的整体氛围一直不是我很喜欢的,人和人之间表现得也不是那么友善。正所谓祸不单行,有一段时间,我觉得自己很“背”,把该倒的霉在那一段时间都倒了。所以,在这种氛围中工作了一段时间之后,我感觉很压抑。我知道自己肯定会离开,只是不知道什么时候,下一个落脚点会在哪里,直到我找到了ThoughtWorks。
一个朋友看到我写的那篇《一月思想工作者》给出的评价是如鱼得水。经过长时间的压抑之后,我感觉自己一下子解脱了。我很快就融入了这样的环境中,以至于一些新来的同事误以为我已经在这里工作了很长的时间。ThoughtWorks给了我一个我喜欢的环境。我不会为了那些没有意义的东西,消磨自己锐气。
在ThoughtWorks的招聘流程中,有一条原则,如果应聘者让你感觉不舒服,你就完全有理由拒绝这个应聘者。这是一条看似不合理的原则,但对于维护一个良好的企业文化却至关重要。因为招进来的人是要和我们一起工作的。如果这个人在应聘过程中让人不舒服,那么在日后的工作过程中,他可能也同样会表现得让不舒服,让人不舒服的结果就会是影响工作效率,精力被浪费在一些无谓的地方。事实上,正是有这样一条原则,所以,几乎与所有ThoughtWorker在一起都会让人感觉很舒服。不管这个人来自哪里,即便是刚刚认识,也会很快就会熟悉起来。
你的工作环境给了你怎样的心情呢?
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
