Fri 28 December, 2007

add to del.icio.us. look up in del.icio.us.
add to furlThu 27 December, 2007

add to del.icio.us. look up in del.icio.us.
add to furl
Ruby语言:Ruby语言1.9.0 Windows版本几点说明
- 说明
- Windows系统基本安装命令
mkdir d:\opt\ruby1.9
SET RUBY_HOME=d:\opt\ruby1.9
cd d:\opt\ruby1.9
wget ftp://ftp.ruby-lang.org/pub/ruby/binaries/mswin32/unstable/ruby-1.9.0-0-i386-mswin32.zip
7za x ruby-1.9.0-0-i386-mswin32.zip
bin\ruby -v
bin\irb - Windows系统第三方软件包安装方法说明
- 下载第三方软件包,使用文件名称包含mswin32的文件,如
wget http://jarp.does.notwork.org/win32/zlib-1.1.4-1-mswin32.zip - 解压该下载的软件包,如
7za x zlib-1.1.4-1-mswin32.zip - 复制该软件包的bin目录下的文件至%RUBY_HOME%\bin中,如
cp bin\. %RUBY_HOME%\bin\.
- 下载第三方软件包,使用文件名称包含mswin32的文件,如
- Windows系统第三方软件包清单
http://jarp.does.notwork.org/win32/openssl-0.9.8d-2-mswin32.zip
http://jarp.does.notwork.org/win32/pdcurses-2.60-1-mswin32.zip
http://jarp.does.notwork.org/win32/readline-4.3-2-mswin32.zip
http://jarp.does.notwork.org/win32/zlib-1.1.4-1-mswin32.zip
http://jarp.does.notwork.org/win32/pdcurses-2.60-1-mswin32.zip - 参考资料
add to del.icio.us. look up in del.icio.us.
add to furlWed 26 December, 2007


2007年圣诞节礼物!
- 说明
- Ruby语言1.9版本是Ruby语言历史上最重要的新里程碑版本!
- Ruby语言1.9版本是性能和速度的大幅度提升。
- 参考资料
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
It’s Christmas, so that means a new Ruby. Ruby 1.9.0 was released today.
Note that this is a development release.
add to del.icio.us. look up in del.icio.us.
add to furlTue 25 December, 2007

在ThoughtWorks待了大半年,听的见的经历的最多的当然是敏捷。圣诞之夜,不妨整理一下现时心目中的敏捷。
提及敏捷,主要是两种反映,济世良药或是洪水猛兽,当然,也有人置身事外。其实,敏捷只不过是一种软件开发方法而已,与传统软件开发方法开发方法并无本质区别:敏捷也需要知道到底软件要干什么,所以,分析需求不可或缺;敏捷最终也是把软件提交给客户,所以,也要一行行把代码写出来;敏捷出的软件也会有错误,所以,测试阶段是不可缺少的;敏捷出的软件业务也会变化,所以,代码也需要维护;敏捷的情况下,为了在给客户展示,所以,偶尔也要加班……
如此说来,敏捷是不是和传统软件没有分别了呢?显然不是,任何事物一旦拉高到本质的高度,恐怕都没有区别了,就像“人”可以涵盖人这个物种,但事实上,人还有男人、女人、好人、坏人……等等众多区别手段。
相信大多数人有这样的感觉,念书的时候,总有那么一些怪物,看起来,玩得不比别人少,书读得不比别人多,但考试成绩总比别人。这样的怪物是怎样炼成的呢?说起来,很简单,他们懂得了一些学习的方法,所以,他们可以在同样的时间内,取得比别人高许多的结果。
做事,是有方法的。
好的做事方法绝对是大幅度的提高效率的。相对来说,敏捷就是一种好的工作方法。
敏捷重视人在软件开发中的价值,所以,在敏捷团队中,开发者在团队中地位很高,这让我们在心理上得到了极大的满足,于是乎,心情很是愉悦。在很多强调传统软件工程的团队中,开发者不过是一颗螺丝钉,一个可有可无的角色,受重视程度自然很一般,除了自力更生,心情上与敏捷团队不可同日而语。两种团队,我都经历过,差异极大。其实,无论在什么样的团队中,我们都要完成类似的工作——编写代码,但是,想必人人都清楚,心情对于一个人工作的影响。
除了完成工作,我们需要的还有发展。专业技能上的成长,除了自己摸索,更重要的还有吸收来自别人的营养。在传统的方法团队中,除了读书,只有偶尔大家的交流才能让人得到向别人学习的机会,大多数情况下,我们所能做的就是单枪匹马的孤军奋战。幸运的话,也许能够走上的正确的道路,大多数人必然会绕很大的圈子,更不幸者,也许就此失去了对软件开发的兴趣,或默默忍受编程带给自己的痛苦,或干脆离开这个是非圈。
在敏捷团队中,过程本身采用的一些方法就是前人经验的总结,比如测试驱动开发。结对编程可以让人有机会观察别人是如何工作的,从中吸取养分,这些细节是几乎不可能从书本或是课堂学到的,比如,在ThoughtWorks工作之前,我从未意识到快捷键对工作的帮助如此之大,当看到其他人按键如飞后,我决定在今后的开发中,尽可能多的使用快捷键。在两个人共同开发的过程中,我们有机会看到自己同伴对于一个问题思考的过程,这对于我们的提高绝对是有益的,特别是和一些高水平的人合作。良性循环和恶性循环显然不是一回事。
软件是为人服务的。软件开发是为了将软件创造出来,而不是为了为难开发团队。如果你曾经在传统开发团队工作过,提到这一点,脑子中多半会浮现出“文档”这两个字。敏捷团队也会写文档,但我们写的是那些对客户有价值的文档,而不是把时间浪费在那些为了过级而编写而且完成之后便会束之高阁的文档。不给自己找麻烦是很必要的。
敏捷和某些传统软件开发过程可以说是殊途同归,比如,CMM到了最高的级别,会向自适应的方向发展,而敏捷本身也是在过程中不断的进行自我调整,做到兵来将挡。当然,走到一起之前,二者的差别显得还是很大。
以上这些都是站在我——一个开发者——的角度体会的敏捷,显然,并不全面。某些人提到敏捷,还会有更加伟大的角度,比如,业务之类的,那不是我所擅长的。
既然敏捷如此之好,为什么敏捷团队还是如此有限?回到最初那个读书的比喻上,优等生的方法不见得是每个人都知道的。即便知道了,相信、学习到掌握还要有一个过程。敏捷是不是终极解决方案,我想不会,天外总有天,如果哪一天,我知道更好的方法,我愿意接受。
写下这些文字的时候,Ruby 1.9.0发布了,感谢Ruby开发团队带给大家的圣诞礼物!
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 furlMon 24 December, 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
Frohe Weihnachten, ein schönes Fest, und einen guten Rutsch ins neue Jahr wünscht euch Christian Neukirchen
Merry Christmas and a Happy New Year!
NP: Die Roten Rosen—Merry X-Mas Everbody
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
When I went to the release party at Red Hot Robot for Daniel Davis’ new epic, After Halloween, I was lucky enough to get Daniel to stencil my laptop cover.
I just now got around to snapping some pix:
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 furlSun 23 December, 2007

Biberach goes Web 2.0:

(Das Video von letztem Jahr gibts bei Google Video.)
Nachtrag: KD beschrieb das Christkindle-Runterlassen in seinem Tagebuch-Projekt “Tag um Tag”, das noch bis Ende Dezember veröffentlicht wird (und auch danach hoffentlich erhalten bleibt).
Weihnachtliche Erfindungen von mir:
Weihnachtsbaumfolie: selbstklebend, vorne mit geschmücktem, hinten mit beschneitem Baum als Motiv. Ans Fenster geklebt stellt sich innen eine winterliche Atmosphäre ein, und von aussen siehts auch schön aus. Und braucht keinen Platz.
Weihnachtsdöner: Mit Zimt!
NP: Woody Guthrie—Ship In The Sky
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 22 December, 2007

add to del.icio.us. look up in del.icio.us.
add to furl
- Links to Amory Lovins' lectures on measuring power efficiency in industry
- Is Walter Lewin the Feynmann of our generation?
Watch the How to make Teaching Come Alive video (this made me install Real Player after years of refusal and I didn't regret it at all).
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

- 说明
- 有点新鲜和惊喜 是一个很好的Ruby语言技术新闻与博客网站;
- 有点新鲜和惊喜 是一个日本语网站;
- 有点新鲜和惊喜 是一个类似于 rubyinside.com ,但是它更面向技术。
add to del.icio.us. look up in del.icio.us.
add to furl
Found via Boing-boing: David Byrne’s Survival Strategies for Emerging Artists — and Megastars
Great stuff there, and don’t miss the MP3s of Byrne chatting with Brian Eno.
add to del.icio.us. look up in del.icio.us.
add to furl
Fri 21 December, 2007

add to del.icio.us. look up in del.icio.us.
add to furl
A number of users have reported problems installing the latest Rails gems, especially on Windows. The solution is to upgrade RubyGems to version <strike>0.9.5</strike> 1.0.0 before upgrading. You can check your RubyGems version by:
gem --version
If <strike>0.9.5</strike> 1.0.0 is not the answer, do (you may not need to prefix with sudo, on OS X you do, some ‘nix distributions too, but not Windows):
sudo gem update --system
Then do:
sudo gem install rails
And while this should no longer be an issue, you can always install Rails from the Rails gem repository if the official one is having issues for whatever reason (such as right after a new release where the mirrors have some times not caught up and are spewing 404 errors):
sudo gem install rails --source http://gems.rubyonrails.org
If you want to use SQLite3 for a new application, first make sure that you have SQLite3 itself installed. If not, you can get it from the SQLite download page. Then make sure you have the Ruby bindings installed (the gem is called sqlite3-ruby). If you don’t, just:
sudo gem install sqlite3-ruby
If you don’t want to use SQLite3, that’s fine. Just do “rails -d mysql myapp” when creating your new application to get MySQL preconfigured. Or “rails -d postgresql myapp”. Or any other adapter you might want to use that you have installed, like Oracle, SQL Server, or what have you. The only thing we changed was which database adapter would be preconfigured if you didn’t explicitly set which to use.
UPDATE: RubyGems 1.0.0 is now out, which should fix the problems with Mongrel and Windows.
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 20 December, 2007



add to del.icio.us. look up in del.icio.us.
add to furl






