Thu 09 October, 2008

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 furlWed 08 October, 2008

add to del.icio.us. look up in del.icio.us.
add to furl
“ By default, Mail Goggles is only active late night on the weekend as that is the time you’re most likely to need it. ”
Mail Goggles
add to del.icio.us. look up in del.icio.us.
add to furl
I’ve gone without comments on this blog for a long time …
Comments via Disqus
I’ve gone through several commenting systems for this blog over time. First was the really cool TagSurf application that allowed commenting on about any web page on the internet arbitrary tags. Unfortunately, TagSurf died a (in the words of its creator) “well deserved” death.
Then I tried a wiki for comments. That worked pretty good (aside from spam issues), but setting up a new page for comments for each new post was just too much hassle.
Now I’m trying Disqus for comments. It only took an hour or so to integrate Disqus with my ancient blogging engine (anyone else still using Rublog?).
Kick the tires and see how it works. If you have feedback … well, just leave a comment.
I guess this means I’ll have to start writing some real content here so there will be something worth commenting on … let’s see if there is anything I feel like ranting about …
(Oh, and a hat tip to Ryan Briones for pointing out Disqus when I was ready to go out and implement something from scratch.)
add to del.icio.us. look up in del.icio.us.
add to furl
“ A fashion is nothing but an induced epidemic. ”
George Bernard Shaw
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
My article about cross-platform GUI desktop application development using JRuby + Monkeybars + Swing is now up on IBM’s developerWorks.
http://www.ibm.com/developerworks/library/j-monkeybars/index.html
add to del.icio.us. look up in del.icio.us.
add to furlTue 07 October, 2008

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

- 说明
- 安装 Apple iTunes
- 连接 PC或者Apple 与 iPhone
- 在软件Apple iTunes中,注册iTunes Store(仅仅Apple帐号是不够的)
- 现在可以通过iPhone手机,下载iPhone软件
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 06 October, 2008

* 怎样启动一个程序?
* 怎样切换到一个文件上去?
曾经的我这样做:
* 点开“开始”菜单,在“程序”中,一项项寻找过去……
* 在IDE中,找到目录的根,然后一层层目录展开……
现在的我这么做的:
* 用快捷键调出一个启动程序,比如Launchy,敲入我要启动程序的名字,比如firefox,然后回车。
* 用快捷键调出文件搜索框,然后,敲入我要找的类的名字,然后回车。
我是一个程序员。
程序员是一个典型的“知之为知之,不知为不知”的职业。上面的那些做法不足为奇,但是,没有见识过,有时自己就是想不到。进入ThoughtWorks之前,我写程序非常按部就班,大多数代码都属于“纯手工”打造。进入ThoughtWorks之后,我见识到有人把快捷键运用得出神入化,运指如飞的同时,大片的代码也随之产生。那时,我才知道,快捷键的“快捷”并非浪得虚名。从那以后,我也开始刻意的运用快捷键提高自己的开发效率。快捷键,只是高效开发的一个侧面,还有哪些方法可以提高开发效率呢?
这里,我要说的是一本书,一本关于如何提高开发效率的书:Neal Ford的《Productive Programmer》。
软件开发的书有很多,讲方法、谈设计、探寻终极解决之道。《Productive Programmer》显得很与众不同,它并不打算语不惊人死不休,所以,在这本书里面,我们看到的更多是一些具体的做法:加速自己的操作、消除干扰、尽可能的自动化、用好工具等等。如果你已经是一个高效的程序员,也许会觉得这本书的内容对你来说,过于平淡无奇,因为这不是一本讲原则的书,不能指望记住几个名字就可以到处敲山震虎了。但是,正是那一条条具体的技巧时不时会让人有“哦,原来可以这么做”的感叹。所谓经验,不就是这样一点一点积累出来的嘛!
好吧!Neal Ford是一个ThoughtWorker,我承认,书中的技巧有不少是我见识过的,比如提交代码之前通过命令加入新增文件。正是因为这样,所以,这本书中的很多做法,给我留下了非常实用的感觉。知道这些技巧之后,就可以立即应用到项目之中,立竿见影。
虽然这不是明码标价的Unix书籍,但从这本书中,我读到了非常浓重的Unix味道,许多精彩的命令行操作都是源自Unix。随着自己开发经验的增多,我越发喜欢Unix的命令行,除了让人觉得很酷的操作感,命令行可以尽情发挥你的想象力高效的完成一些图形界面的操作。有人说,程序设计语言的发展,是Lisp的回归。在我看来,程序员的进步,是向Unix风格的靠拢。Unix最初就是程序员为程序员打造的系统。当然,这本书还继承了一些Unix书籍的优良传统,短小精悍。二百多页的身材让它有机会成为不错的随身读物。
一本书可以打开一扇门,读《Productive Programmer》给人带来的思考,怎样提高自己的工作效率。这本书已经为我们展示了很多方面,但,这只是一个开始,聪明的程序员总会不断找到各种各样的方式让自己生活更舒适一些。
读过这本书,我突然想,如果我初学编程时遇到这样一本书该多好,至少让我可以少走不少弯路。
add to del.icio.us. look up in del.icio.us.
add to furlSun 05 October, 2008

add to del.icio.us. look up in del.icio.us.
add to furlSat 04 October, 2008

“ In terms of academic brownie points, you don’t get many unfortunately. ”
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 furl
“ I don’t know if you know this, but Haskell has a sort of unofficial slogan: avoid success at all costs. ”
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 furlThu 02 October, 2008

“ You can not be any more than you can imagine being. ”
Tobias Wolff
add to del.icio.us. look up in del.icio.us.
add to furl