What have you found for these years?

2011-08-03

[ANN] ripl-rc 0.2.4 released

ripl-rc

by Lin Jen-Shin (godfat)

DESCRIPTION:

ripl plugins collection, take you want, leave you don't.

p.s. ripl is an IRB replacement.

REQUIREMENTS:

  • Tested with MRI 1.8.7, 1.9.2 and Rubinius 1.2, JRuby 1.6
  • ripl

INSTALLATION:

gem install ripl-rc

SYNOPSIS:

Please read the README on Github.

CHANGES from 0.2.3:

* [ensure_after_loop] A plugin which would make sure after_loop is called.
                      (Some plugins need to do cleaning up in after_loop)

* [anchor]            Fixed a bug for buggy EditLine, which would raise
                      weird exception upon calling `HISTORY == nil`.
                      Now we use `.nil?` to lookup if it's nil or not.

* [multiline_history] Fixed a bug when multiline evaluation raised an
                      exception, it wouldn't handle the history correctly.
                      Moving the handling to an ensure block fixed this.

* [squeeze_history]   (Internal) Take the advantage of the new history API

LICENSE:

Apache License 2.0

Copyright (c) 2010-2011, Lin Jen-Shin (godfat)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

2011-08-02

Ruby and Rails (and Web)

這篇是一半的抱怨。

很多人會說我是 Rails 高手,其實我跟 Rails 一點都不熟,
而且不喜歡 Rails, 碰到問題第一個懷疑是 Rails 的錯... (經驗談)

我猜可能有一半的原因是我在 ptt 是 Ruby 板板主,然而卻
沒有人知道我也是 PLT 板板主,雖然自己也覺得有點慚愧,
PLT 板上的問題大多無法回答,甚至很多都是講錯的。
(有人想接手嗎?而且編輯精華區太累了 orz)

對很多 (Web) Rails 新手而言,((UI =) Web =) Rails = Ruby
所以有時候會聽到很多 JavaScript 或 Rails 的問題,其實
我根本無法回答啊。或是根本就沒有任何興趣...

有些時候實在很懶得回答,因為沒有興趣;
有些時候不知道怎麼回答比較好,因為我根本不熟悉,
自己是能用硬幹的方式弄,但不確定這樣到底好不好;
有些時候則是根本就不知道答案是什麼....

嘛,不過基於禮貌,基本上只要是問我的問題,我多少都會回答,
只是長度和時間的問題而已。只是有時候真的會想抱怨,可不可以
問些我比較有興趣的問題啊。其實我根本不在乎 model association...

現在在做的東西,雖然仍然是架在 Rails 上,但我幾乎很少碰 MVC 的
東西了。跟別人一起寫東西 (pair programming), 忽然驚覺自己跟 Rails
超不熟的啊。以人月神話為例的話,比較有興趣的還是 toolsmith 或
language lawyer 的部份..

雖然我是有點難過沒很多人在用 ripl-rc 啦。那是我平常最常用的工具...
剛剛找到一個 multiline history 的 bug, 剛修好,晚點放新版。

--
剛在 Ruby 板回答了一個跟 web server 有關的問題,有感。
上個工作常常在研究這些,很有興趣,現在都沒機會了,有點難過 XD
很希望能在 Rainbows! 上面做點東西,看能不能想辦法讓他幹掉 Thin...
Goliath 也一直沒機會試試看 :(

All texts are licensed under CC Attribution 3.0