123
 123

Fri 26 September, 2008

Click here to bookmark this link.Channel Image01:52 I love good-enough» Suave's Blog
在 agilechina 邮件组看到一个说法很不错: 对于相对复杂的产品或系统来说,zero-bug 是一种理想,good-enough 是我们的原则。Good-enough 原则就是一种权衡投入产出比的原则:不充分的测试是不负责...
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 Image01:11 Google Code crash?» Suave's Blog
从昨天开始 google code 的 svn 一直不能用,直接访问 googlecode.com 会被重定向到 google.com,持续了24小时多,现在终于好了。googlecode 生病刚好赶上了项目的一个关键时间点,SCM 的健康状态对项目真...
add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl

Thu 25 September, 2008

Click here to bookmark this link.Channel Image17:43 Disparition de Guy Decoux» Matzにっき
誰も知らないRubyハッカーとしても知られる Guy Decoux(フランス語では「ぎー・でくー」と発音するらしい)が実は7月の初めに火事のため亡くなっていたことが報告される。 ショック。 今回の訃報ではじめて彼の年齢や顔が明らかになった(私にとっては)。 53歳。まだまだ若いのに。 とても残念である。惜しい人を亡くした。 一度も会ったことはなかったが、大変親しみを感じていただけに ショックが大きい。
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 Image06:11 This Week in Rails (September 24, 2008)» Riding Rails - home

Welcome to the sixth addition of This Week in Rails, where we’ll take a look of the past two weeks of innovation in the Rails community. If you’d rather listen to this content on your ipod with additional Ruby news, check out the Rails Envy Podcast #47 and #48.

The Rails Guides Hackfest is in full swing, improving the Rails documentation by leaps and bounds. Rails Routing from the Outside In by Mike Gunderloy is a great read if you’re ever confused by Rails Routing. If you want to help with the Guide hackfest, there are several guides up that you can help review.

If you ever need to build a website which allows users to upload videos and then needs to encode them, definitely check out Panda, an open source video encoding application which uses EC2, S3, and SimpleDB. The application itself is written in Merb, but it’s designed to run separately on ec2 and can easily integrate with your rails app on the front end.

If you’d like to ensure your Rails application is well written, Matt More wrote up a Rails Code Quality Checklist which serves as a great guide to Rails best practices. Also, if you need help discovering where your code might need a little re-factoring check out Roodi a new gem by Marty Andres that gives you instant feedback about your Ruby code by examining a few metrics including cyclomatic complexity, method length, bad method names, and blank blocks or loops. Lastly, if you’ve been following the “skinny controller, fat model” best practice, you may have found yourself with really fat models (not so good). Paul Barry suggests one way to deal with this using concerned_with.

If you’re about to start a new Rails application then you might consider using Bort, a Rails starter application from Jim Neath. Bort contains RESTful Auth, Will Paginate, Exception Notifier, Asset Packager, a Capistrano Recipe, and everything is tested by RSpec. If you’d rather start your system with email login instead of username, Matt Hall put together a fork of bort for this.

Implementing a page with multiple file uploads in Rails is no easy task. Luckily, Brian Getting wrote up a tutorial which makes it look easy.

Clemens Kofler wrote up a Guide to Memoization which walks through all the details of this convention and looks at the new “memoize” helper in Edge Rails ActiveSupport. If you don’t know what this word means, please do take the time to read his tutorial.

If you’ve ever developed a plugin, you may have just decided to manually run your tests every time you change your code. Last week Ken Collins recently put out a new library called Autotest Railsplugin which makes it dirt simple to run autotest on plugins you’re developing.

Lastly, if you’re looking for other Ruby/Rails podcasts, check out the Rails Podcast which recently featured Jim Weirich at erubycon, Rubyology which recently interviewed Avi Bryant, the Learning Rails podcast which recently covered how to deploy your rails app, Railscasts which recently covered starling and workling, and the Rails Brazil Podcast if you speak Portuguese.

That’s all for now. If you create or discover any notable tools or blog posts this week, feel free to send me an email (Gregg@RailsEnvy).

Image Credit: Still on the right track by janusz l


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

Wed 24 September, 2008

Click here to bookmark this link.Channel Image19:09 upgrade my blogs to wordpress 2.6» Suave's Blog
前两天看到消息说 Safari 支持 Google Gears 了,大快人心,终于不用在龟速的 FireFox 上面用 GDocs 了。后来发现 Wordpress 2.6 也支持 Gears,就异想天开的以为 WP 也可以直接离线发文了,于是乎决定给...
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:28 I Just Switched To Google Apps For My Domain» Joey Gibson's Blog
I’ve been using Gmail for a few years now, just having it send mail as joey@joeygibson.com, and not using the actual @gmail.com address at all. Or so I thought. Most email clients displayed email from me the way I wanted, but Outlook showed it like this From: joey2048@gmail.com (on behalf of joey@joeygibson.com) I knew about this back [...]
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 Image03:15 Cat beating up a printer» Projectionist
Click here to bookmark this link.Channel Image03:15 A rumble has commenced in m...» Projectionist
A rumble has commenced in my descending bowel, heralding a tremendous defecation.

Binx Bolling


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 Image03:15 obstipation: Severe constip...» Projectionist
ob•sti•pa•tion
[ob-stuh-pey-shuhn]noun
Severe constipation caused by intestinal obstruction.

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 Image02:51 Google世界: 第一款Google智能手机问世» 天天红玉世界
免费无限存放图片在slide.com!
  • 说明
    • 使用Dream手机必须要Google Mail账号
    • 开放的第三方手机软件
    • Dream手机在触摸屏下隐藏的侧滑式键盘
    • 在电子邮件中进行复制粘贴操作
    • Gmail 可以做到推送功能,不需要自己更新
    • Dream手机真正的致命弱点在于外表和操作方面缺乏突破
    • Dream手机的目标用户必定不会是时尚一族

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

Mon 22 September, 2008

Click here to bookmark this link.Channel Image02:36 最近のプログラミング (3)» 青木日記
Ruby が楽だという話をするはずなのに、 気付くとシェルスクリプトに対する不満に変わっているのはなぜだろう。 やっぱねー、Ruby はいいよねー。 例外あるからエラー処理が楽だし、配列もハッシュテーブルもあるし。 ちなみにシェルスクリプトの嫌なところをもう一つ。 以下のコードで $stat が絶対に変化しない理由を述べよ。 #!/bin/ksh main() { stat=0 cat $file | procfile exit $stat } procfile() { if ! sed ..... then echo $0: error: sed failed 12 stat=1 return 1 fi } main #@ ヒント: 次のコードなら $stat は変化する #!/..
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 Image02:36 最近のプログラミング (2)» 青木日記
そんなわけで結論としてはやっぱり Ruby がいいなあー、 ということになったのであった。 最近はちょっとしたツールくらいしか書いてないけど、実に楽だ。 each と map がサクッと書けるだけで感動できる。 もっとも、そのへんはシェルスクリプトでも意外と 同じようなことができるわけだが、 行より細かい単位の文字列処理がからむと Ruby が圧倒的に楽でいい。 awk とか sed とか cut とか expr とか駆使して チマチマ処理していると発狂しそうになる。 そもそも echo に移植性がない時点で泣ける。 こないだ発見したバグなんてひどかっ..
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 Image02:36 最近のプログラミング» 青木日記
さて、3ヶ月近く放置したことで この日記を見る人も激減していると思うので、 ここぞとばかりに適当なことを書き散らすことにする。 ふつぱいらのコンパイラがJavaなので、 最近家ではJavaばっかり書いている。 さんざんJavaで書きまくってると、 Javaも意外と悪くないなあと思うようになってきた。 先入観イクナイ。 でも Java 1.4 は本当にイクナイ。 generics のない静的型付きオブジェクト指向言語なんてありえん。 キャストの嵐がめどすぎる。 コンパイラも実は 1.4 対応なんだけど、Java 5 にすればよかった。 まさか 2 年以上かか..
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 Image02:36 ping» 青木日記
生きてます。 ようやく終わりが見えたきた。気がする。 (00:31)
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 Image02:36 AMD64のRIP相対アドレッシング» 青木日記
AMD64 はいいよねー。何がいいって、 汎用レジスタの本数が増えたことが一番だが、 RIP(プログラムカウンタ)相対アドレッシングが地味によい。 おかげで PIC でもグローバル変数アクセスが超簡単。 グローバル変数からのロードもこんなコードで一発ですよ。 movq gv@GOTPCREL(%rip), %rax x86だとサンクをcallしてスタックから 戻りアドレスを取って……と激しくめどい。 (02:31)
add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl

Sat 20 September, 2008

Click here to bookmark this link.Channel Image23:02 I’m Loving Grammar Girl» Joey Gibson's Blog
I may be a bit late in discovering her podcast, but last week I found out about Grammar Girl, and it’s been love ever since. For those of you who are later to the game than I, Grammar Girl is a semi-weekly podcast about English grammar. I am a self-styled Grammar Nazi, so when I [...]
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:45 Fifty People, One Question» Projectionist
Click here to bookmark this link.Channel Image22:45 Melancholia is the profane ...» Projectionist
Melancholia is the profane ground out of which springs the sacred.

Eric G. Wilson


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:44 ommatophore: A movable stal...» Projectionist
om•mat•o•phore
[uh-mat-uh-fawr]noun
A movable stalk ending with an eye, as found in certain snails.

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 Image01:38 卖房» Suave's Blog
有了孩子以后原来的住处就不够用了,准备卖掉,朋友们有感兴趣的尽快联系我(suave.su # gmail.com 把#换成@),也欢迎大家帮忙推荐我家这个精品房源! 海淀南路的房子,一室一厅,建筑面积48...
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:43 读《日本非营利组织》» Suave's Blog
这两天读了上次在民促会买的《日本非营利组织》,是国家级的考察团去日本考察回来后出的一本书,比较客观的介绍了日本非盈利组织的情况,主要介绍了很多日本相关的政策法规,发展历...
add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl

Fri 19 September, 2008

Click here to bookmark this link.Channel Image17:23 The Fukuoka Ruby Delegation» John Lam on Software
I had the honor of meeting with a delegation from Fukuoka, Japan this morning at Microsoft's Executive Briefing Center. Part of the delegation represents the Ruby Business Commons, one of the largest Ruby SIGs in Japan (> 500 people as...
add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl

Thu 18 September, 2008

Click here to bookmark this link.Channel Image03:10 Ignite Phoenix 2 in the works.» James Britt - Code, Content, Caffiene

The next Ignite Phoenix is scheduled for Wednesday, October 29, 2008.

Presentation proposals are now being accepted.

As with the previous event, it will be held at the offices of Jobing.com.


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