123
 123

Fri 17 October, 2008

Click here to bookmark this link.Channel Image14:14 Ripples – Jim Henson» Projectionist
Click here to bookmark this link.Channel Image14:14 Greatest weakness? It’...» Projectionist
Greatest weakness? It’s possible that I’m a little too awesome.

Barack Obama


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:29 Four years ago ...» James Britt - Code, Content, Caffiene

RubyConf2008 is less than a month away. 500 or so people will attend.

Four years ago in Virginia I spoke at RubyConf. People were always taking pictures of the speaker, so I decided that the speaker should take a picture of the audience.

This (taken with my cell phone) is it:

That’s pretty much everyone attending the conference. That was when you really could know the name of everyone who attended. When almost everyone there was making a living doing Not Ruby work, but banging out a cool Ruby project on the side. When folks hung out in the bar and lobby hacking on Ruby code (and not playing Werewolf) ‘til the wee hours.

Different.


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

Thu 16 October, 2008

Click here to bookmark this link.Channel Image12:39 My Day, Yesterday» Projectionist
Click here to bookmark this link.Channel Image12:39 Cannot construct the infini...» Projectionist
Cannot construct the infinite type.

Glasgow Haskell Compiler


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:12 Wii+Ruby notes» James Britt - Code, Content, Caffiene

I added some notes about my Wii+Ruby talk to the Ruby::AZ site.

If anyone has question about it, please drop me some E-mail (see here for contact details) .

When I have an actual complete app I’ll post the code.


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

Wed 15 October, 2008

Click here to bookmark this link.Channel Image21:12 RailsConf '09: Accepting proposals for Vegas!» Riding Rails - home

RailsConf 2009 is going to Las Vegas, baby. It’s happening from May 4-7 at the Las Vegas Hilton. Last year was an astounding success with probably the best session line-up of any of the many RailsConfs we’ve had yet. We’re hell bent on repeating that for 2009, but we need your help.

The call for proposals has opened and will stay open until February 17th, 2009. That’s a really long call for proposals and we’re doing it to get even more timely information available for the conference. If Rails 3.0 magically appears in January, we want to make sure there are sessions covering it.

The registration for the conference will open in January of 2009.


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 Image09:08 You Don’t Own Me R...» Projectionist

You Don’t Own Me – Lesley Gore


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 Image09:08 I hope revert the 4 methods...» Projectionist
I hope revert the 4 methods replacing.

Fujioka


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

Tue 14 October, 2008

Click here to bookmark this link.Channel Image13:31 原稿完了» Matzにっき
夜眠れなくて(昼寝したからか)、 夜中に起き出して、原稿書き。 少々遅くなったが、完成。提出。
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:31 フォーゲルパーク» Matzにっき
下の子供ふたりを連れてフォーゲルパークへ。 いつもなら、すぐに喧嘩してしまうふたりだけれど、 今日は終始仲良しであった。 鳥に餌をあげたいが、鳥が近づくと恐くて泣いてしまう末娘。 フラミンゴやオオハシにはちゃんと餌をやれなかった。 池の鳥たちに餌を投げてやるのは大丈夫らしい。 今日はペリカンに魚を投げることにも成功。 最後にエミューにも餌をやりたいと言っていたが、 彼らは満腹のようで目の前に餌を出しても 完全無視であった。 フクロウショーとソフトクリームを堪能して帰宅。 楽しかったがくたびれた。
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 Image09:11 総大会» Matzにっき
半年に一度の総大会を衛星中継で見るために米子へ。 親戚に会ったりしたのも楽しかった。 が、途中、かなりうとうとしてしまった。 やっぱ、原稿書きで疲れてたのかなあ。 せっかくの機会だったのになあ。 いくら後から読むことはできると言っても、 直接目で見て、感じると言うのは得がたい機会だし、 それになかなかまとまって時間を取るのは難しいし。 そういえば、DVDで見たいと思ってる映画が何本かあるんだけど、 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 Image09:11 反省» Matzにっき
娘と対立した(妻と私が)。 いくら偉そうにしてても、 なかなか思春期の子供と共感してあげられない。 「子供の心のわからない大人にはなるまい」と 子供のころ決心したのに。 小学生のころ、仮面ライダーとウルトラマンを区別できない大人に会った時に。
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:04 eructation: The act or an i...» Projectionist
e•ruc•ta•tion
[i-ruhk-tey-shuhn]noun
The act or an instance of belching.

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:04 My only ambition is to enjo...» Projectionist
My only ambition is to enjoy the peace and quiet that I require in order to work.

Giorgio Morandi


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

Sun 12 October, 2008

Click here to bookmark this link.Channel Image05:49 ophidian: Of, relating to, ...» Projectionist
o•phid•i•an
[oh-fid-ee-uhn]adjective
Of, relating to, or resembling snakes.

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 Image05:49 History does not change, bu...» Projectionist
History does not change, but what we want from it does.

Voltaire


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 Image05:49 Greed – Milton Friedman» Projectionist
Click here to bookmark this link.Channel Image05:10 東京» Matzにっき
土曜日だというのに早起きして東京へ移動。 10時くらいには秋葉原に着。 講演前に渡辺千賀さんがあいさつに来てくださる。 「シリコンバレーに来たらまた遊びによってくださいよ」とか そんな話を。前回(もう1年半以上前になるのか)は、大変楽しかったので、 次回も機会があればとは思うのだが、 そんなに海外に行かないし。 来年のRubyConfが西海岸なら可能性があるかな。 そこから「ハワイだったらどうしよう(ま)」、 「ハワイってプログラマいないらしいですよ(わ)」、 「知り合いがハワイでゲームプログラミングの会社を始めたけど、..
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 Image05:10 原稿書き» Matzにっき
羽田空港のラウンジで、 昨日が〆切を一生懸命書く。 苦労の甲斐があって、まあまあ進んだので「新たな〆切」には間に合うのではないだろうか。 ちょっと例題が陳腐だけど。
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 Image05:10 パソナテックカンファレンス» Matzにっき
講演。今回はRubyは直接関係なし。「まつもと的仕事の楽しみ方」とかいうようなテーマ。 以前から話していた、差別化とか成功のための戦略とかそんな話。 「目標大事」とか「戦略大事」、「差別化大事」、「行動大事」とかいう話を45分間。 かなり無茶な話もしたが、聴衆の皆さんにはついてきていただけただろうか。 「あの話を聞いて、なんか行動を起こしました」って人がいるといいんだけどなあ。 その後、いくつかの話(楽天の森さんを含む)を聞いてから帰る。 夕べあんまり寝てないから眠くてしょうがない。 カンファレンスとか勉強会..
add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl

Sat 11 October, 2008

Click here to bookmark this link.Channel Image06:11 Articles are Back!» { |one, step, back| }

I’ve received a lot of requests for my old articles …

The Article Section has been Restored

When I changed to my new hosting machine, I moved all my blog posts but didn’t move any of the articles. Of course I intended to move them eventually but never got around to it.

A lot of people have been asking for this article or that presentation, or pointing out that a number of old bookmarked links are no longer any good. So due to popular demand the Articles and Presentations section of onestepback.org is now restored.

Enjoy


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:19 2 Weeks in Rails (October 10, 2008)» Riding Rails - home

Welcome to yet another edition of this Week in Rails where we summarize some of the most interesting stories of the past two weeks. If you’d rather listen to these stories with additional detail check out the Rails Envy Podcast episode #49 and #50

Michael Koziarski recently removed country_select from edge rails. Apparently Rails was using the ISO 3166 Long Names standard list of countries, but some people don’t think this list is politically correct. For instance it lists “Taiwan” as “Taiwan, province of China”. Rather then change this one and have to deal with other debatable country names, country_select has been moved to a plugin, so you can fork your own friendlier list of countries.

Rails built in REST support is great, but if you’ve really spent time making your API usable, you’ve probably found that you had to make tweaks to what gets rendered to the page when a user wants xml or json. Chris Heald wrote up one solution on his blog this week, which shows you how to use xml builder to produce xml which gets translated for your xml, json, and maybe even yaml output formats.

If you ever find yourself needing to add role-based authorization to your Rails app, you should check out a blog post this week by Ernie Miller. He gives a unique implementation worth taking a look at.

Hosting, Performance, and Tuning

If you use Slicehost as your ISP for websites, Mark Reynolds wrote up a script that will install and fully configure your slice to get up and running with Rails, Mysql, and Thin.

We all should probably be load testing our applications more then we do, but this isn’t something that’s done easily. Luckily our favorite Ruby Hero, Ilya Grigorik recently wrote up a tutorial which serves as a great guide to accurately benchmarking our Rails apps.

If you’re looking for additional tools to help fine tune your Ruby code, Dan Mayer wrote up a great overview of just about everything available.

Databases

Alexander Lang recents wrote up a blog post entitled A CouchDB primer for an ActiveRecord mindset. He gives a simplified introduction to Couch db, goes over a few Ruby libraries that interface with it, and lastly introduces his new Ruby library called CouchPotato.

A few weeks back Rama McIntosh published a really useful script on his blog if you ever need to convert your application from one database to another using ActiveRecord.

Library News

Is your rails app pre-Rails 2.1 and you’re envious of those readable named_scope methods? Ken Collins has back-ported named_scope to Rails 1.2.6 and 2.0.4 so you can take advantage of using this method.

If you’re using RSpec to test your Rails app, you may be interested to know that the RSpec Story Runner (where you do your integration tests) is going to be replaced by a Cucumber. Although it’s typically not a good thing to be replaced by a Cucumber, this particular one is a library written by Aslak Hellesoy which should bring some increased organization and additional benefits to your integration tests. If you want to get a head start on consuming the cucumber, then check out Aslak’s blog post.

Talking about Testing, Shoulda 2.0 was recently released witch includes a few improvements and bugfixes. If you’d like an overview of everything Shoulda has to offer, Kyle Banker wrote up a great shoulda cheat sheet you should take a look at.

Noel Rappin, the same guy who brought you Rails iui, recently released TankEngine, a new rails plugin for targeting the iPhone and Mobile Safari. It uses a jQuery based javascript layer and it’s much more flexible and has better helpers then the original Rails iui.

Marc-Andre Cournoyer recently released Thin 1.0, the ultra fast Web Server. There’s quite a few people that have moved to thin from mongrel in their production environments.

Tog 0.2.1 was recently released, which is a collection of plugins that together form a social networking app. What’s great about Tog is that you can pick out just one plugin, like messaging, blogs, or CMS and bring that part into your existing Rails app.

Workling 0.3 was released last week, which serves as a great way to deal with background tasks in your Rails app, no matter what messaging queue service you’re using.

The Weather Channel provides a great API to pull down the current weather and forecasts around the world. Jared Pace recently created a Gem called WeatherMan which allows you to take full advantage of this data.

Jan De Poorter has recently revived the RailsXLS plugin which uses a java bridge and jakarata to let you use ruby to create excel spreadsheets.

Event News

The Rails Rumble is taking place October 18th and 19th. It’s a 48 hour contest where you get one weekend to design, develop, and deploy the best web app you can, using Rails.

If you didn’t make it out to the WindyCityRails conference, Josh Symonds wrote up a nice overview.

If you live in the Great Lakes Area, you should check out the Great Lakes Ruby Bash, taking place October 11th in Ann Arbor, Michigan.

Scotland on Rails is being held in Edinburgh March 26 through 28th. Tickets aren’t available yet but the call for proposals are open if you’d like to speak.

Image Credit: Blue Sky on Rails by ecstaticist, Analog Solutions 606 Mod by Formication, RailsConf Europe 2006 by Paul Watson, Rainbow by One Good Bumblebee.


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:18 松江に帰る» Matzにっき
で、夕方、特急やくもに乗って松江に帰る。 なんか途中で踏切事故(クレーン車がひっかかる)があったようで、 30分ほど遅れる。 バッテリーも新調したし、社内で原稿でもと思ったのだが、 予想外に疲れていたようで、かなりの時間寝てしまう。 もっとも、やくもは超ゆれるので、原稿書いてたら気持ち悪くなってたかもしれないけど。 そう考えると、近くの席のおじさんが初代Eee PCを取り出して、 ずっとビデオを見てたのは驚異的なことなのかもしれない。 駅まで妻に迎えに来てもらい、自宅で夕食を食べてから、 今度は空港まで車を取りに..
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:18 後楽園» Matzにっき
とはいうものの、ホテルにはチェックアウトの時間があるので、 セミナーのスタッフ(の偉い人)にピックアップしてもらう。 セミナー開始までに時間があるので、岡山の名所、後楽園に案内してもらう。 一瞬「時間が...」と思ったけれど、素直に従うことにする。 で、すばらしい庭園であった。こんな庭園をつくろうと思う人の気持ちが よくわからないけれども。なんかスケール大きすぎて(貧乏性)。 あと、後楽園は初体験のはずだけど、 庭園の一角でひどい既視感を感じた。 もしかしたら、昔に来てるのかもしれない。 そういえば、小学校の修..
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:18 原稿書き» Matzにっき
甥と姪が遊びに来ていたのだが、振り切って仕事、仕事。 さっぱり進まない。まずい。
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:18 体重» Matzにっき
今回の宮崎・岡山のツアーは、みなさんに大変よくしていただいたのだけど、 大変ご馳走していただいた副作用として、体重が増加していた。 まずい。今までの人生で一番重たい。 気持ちまで重たくなった。
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:18 セミナー» Matzにっき
「オープンソース言語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 Image01:18 いそがし» Matzにっき
ホテルで日経Linux 12月号の原稿を書く。 今日のスライドの手直しもする。 さらに11日にはパソナテックのイベントも あり、これについても考えないといけない。 なんか気持ちに余裕がない。
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:18 default_internalにともなう暗黙の変換について» Matzにっき
default_internalの導入に伴い、 今までかたくなに避けてきた暗黙の変換がとうとう導入された。 で、そうなると変換に失敗するケースも当然あるわけで。 たとえば、元のエンコーディングが期待と違っていたとか、 そもそも壊れていたとか。 同僚と話をしていて、そのような時の対処法として 壊れた変換結果を返す。エンコーディングはinternal 変換前の文字列を返す。エンコーディングはexternal 変換前の文字列を返す。エンコーディングはASCII-8BIT があげられた。 これを決めてしまえば、後は、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

Thu 09 October, 2008

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
Sources