123
 123

Thu 09 October, 2008

Click here to bookmark this link.Channel Image07:50 広島西空港» Matzにっき
宮崎からSAABで広島西空港。 そんな空港があるのは知らなかった。 広島空港とは別なのね。 バスで広島駅。新幹線で岡山へ。
add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl
Click here to bookmark this link.Channel Image07:50 岡山» Matzにっき
岡山の技術者の人20人くらいと夕食(というか飲み会というか)。 大変楽しかった。 特に実際にプログラミングする人と話を出来たのがよかった。 講演とかで巡業(?)すると、結構偉い人とお話しする機会が多くて、 それはそれで貴重なんだけど、やっぱりこういうプログラミングに直結する話題が好きだ。 現状仕事でRuby使えないとか、まだRubyはじめてないとかいう人も多かったけど。 その辺が岡山でのRubyの温度感がわかる。 あと、アエラの記事は結構インパクトがあったみたいで(持ってきてる人が何人もいた)、 こういう場で、キリスト教各..
add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl
Click here to bookmark this link.Channel Image07:50 宮崎講演「Rubyと地方から発信するオープンソース」» Matzにっき
とかいうようなタイトルで講演。 その後、元Sunの樋口さん(宮崎出身)の講演とか、OpenOffice.orgの講習会とか。 私は飛行機の時間があるので、途中で失礼して、昼食をいただいた後 空港へ。 家族の希望により東国原知事のグッズ購入。って、ほんとにこんなのがいいの?
add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl
Click here to bookmark this link.Channel Image07:50 原稿» Matzにっき
日経Linuxの原稿書き。順調に遅れている(だめじゃん)。 今月(12月号)のテーマは「XML」。 べ、べつにXMLが大嫌いってわけじゃないんだからねっ。
add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl
Click here to bookmark this link.Channel Image07:50 default_internal» Matzにっき
[ruby-core:18985]で提示されたパッチをベースに取り込む。 ただし、マジックコメント拡張は取り込まなかった。 あとは-Uオプションの実現か。それと 各種ライブラリのdefault_internal対応。 readlineとか。 悩んでいるのは、default_internalが指定された時に、 scriptを読み込んでくる時にscript encodingから default_internalに変換するかどうか。 default_internalは内部エンコーディングなのだから、 リテラルのエンコーディングと一致していた方が 使いやすいだろうが、 default_internalの方が表現できるレパートリーが小さかっ..
add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl

Wed 08 October, 2008

Click here to bookmark this link.Channel Image22:27 deontology: Ethical theory ...» Projectionist
de•on•tol•o•gy
[dee-on-tol-uh-jee]noun
Ethical theory concerned with duties and rights.

add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl
Click here to bookmark this link.Channel Image22:27 By default, Mail Goggles is...» Projectionist
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 add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl
Click here to bookmark this link.Channel Image20:07 Comments Are Now Enabled» { |one, step, back| }

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 add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl
Click here to bookmark this link.Channel Image08:57 A fashion is nothing but an...» Projectionist
A fashion is nothing but an induced epidemic.

George Bernard Shaw


add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl
Click here to bookmark this link.Channel Image08:57 pamprodactylous: Having all...» Projectionist
pam•pro•dac•ty•lous
[pam-proh-dak-tuh-luhs]adjective
Having all toes pointing forward, as in certain birds.

add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl
Click here to bookmark this link.Channel Image08:08 移動» Matzにっき
福岡経由で宮崎に移動。意外と近いもんだ。 冷や汁というのは初めて食べた。 意外といける。が、シソとミョウガはやっぱり苦手。
add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl

Tue 07 October, 2008

Click here to bookmark this link.Channel Image14:57 AERA最新号にまつもとゆきひろ氏» Matzにっき
知らなかった。取材は春ごろで、「4月くらいには載るんじゃないか」という話だったけど、 私の宣教師時代の話とか、あんまりプログラミングに関係ない話ばかり取材していたので、 「いや、これは偏りすぎてるってことでボツになったんでないか」と思っていたのだった。 忘れた頃に記事になるとは。本屋さんに行って買って来なきゃ。 ... 買ってきた。 ちょっと間違いがあった。事前にチェックさせてくれたらよかったのに。 「RubyはGoogleの公用言語の一つ」ではない。公用言語はC++, Java, Python, JavaScriptのみ。 Google社内にRubyフ..
add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl
Click here to bookmark this link.Channel Image11:55 An Asteroid’s A-Comin’» Joey Gibson's Blog
At the bowling alley tonight, after discussing the stock market for a while, my friend says to me, “Did you hear about the asteroid that’s supposed to hit us tomorrow?” I thought he was kidding. So I whipped out my shiny iPhone and checked to see what Google could tell me about this. To my [...]
add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl
Click here to bookmark this link.Channel Image00:20 Apple世界:如何安装应用软件到iPhone» 天天红玉世界
如何安装应用软件到iPhone
  • 说明
    • 安装 Apple iTunes
    • 连接 PC或者Apple 与 iPhone
    • 在软件Apple iTunes中,注册iTunes Store(仅仅Apple帐号是不够的)
    • 现在可以通过iPhone手机,下载iPhone软件

add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl
Click here to bookmark this link.Channel Image00:06 ragelとdcgとパターンマッチと〜社内勉強会ログ〜» Matzにっき
これだけ人材がいるのに積極的に情報交換しないのは もったいなくないか、ということで社内勉強会。 家庭の事情で先に帰ってしまったのだが、それなりに有意義であった。 「正規表現よりこっち」とか「リテラルが〜」とか「Prologサイコー」とか、 本質的でない発言に惑わされそうだったが、 よーく考えてみると、Ragelのようなのが標準ライブラリとしてついてきたら、 JSONとかYAMLみたいな構文解析系は楽勝で書けるようになるし、 それはそれで新しい世界が広がるのではないか。 たとえば class HttpParser Ragel::Base rules -END main..
add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl

Mon 06 October, 2008

Click here to bookmark this link.Channel Image23:14 高效开发的敲门砖» 梦想风暴
回想一下:
* 怎样启动一个程序?
* 怎样切换到一个文件上去?

曾经的我这样做:
* 点开“开始”菜单,在“程序”中,一项项寻找过去……
* 在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 add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl

Sun 05 October, 2008

Click here to bookmark this link.Channel Image03:11 Why I Love Closures» Joey Gibson's Blog
I’ve been a big fan of closures for years. I was first introduced to them in Smalltalk, where they were just called blocks. Ruby has them and also calls them blocks. Java does not have them, though there are proposals (such as this one) to add them to a future version of the language. Groovy [...]
add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl

Sat 04 October, 2008

Click here to bookmark this link.Channel Image13:46 In terms of academic browni...» Projectionist
In terms of academic brownie points, you don’t get many unfortunately.

Simon Peyton-Jones


add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl
Click here to bookmark this link.Channel Image13:46 paralanguage: The set of no...» Projectionist
par•a•lan•guage
[par-uh-lang-gwij]noun
The set of nonphonemic properties of speech, such as speaking tempo, vocal pitch, and intonational contours, that can be used to communicate attitudes or other shades of meaning.

add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl
Click here to bookmark this link.Channel Image00:19 Valentine for Perfect Stran...» Projectionist

Valentine for Perfect Strangers


add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl
Click here to bookmark this link.Channel Image00:18 I don’t know if you know th...» Projectionist
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 add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl
Click here to bookmark this link.Channel Image00:17 opisthognathous: Having rec...» Projectionist
op•is•thog•na•thous
[op-is-thog-nuh-thuhs]adjective
Having receding jaws.

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

Thu 02 October, 2008

Click here to bookmark this link.Channel Image14:14 You can not be any more tha...» Projectionist
You can not be any more than you can imagine being.

Tobias Wolff


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