16 Apr '12, 7am

chris blogs: Dynamic Variables in Ruby:

« Blindschleichen, Pazifische und Gürkinen April 2005 Papa Razi und Soldaten » 24apr2005 · Dynamic Variables in Ruby Many Lisps provide dynamically scoped or special variables additionally to lexically scoped ones. Some (for example Elisp or ye olde MacLisp) even soley provide dynamically scoped variables. In fact, Scheme was the first lisp-based language to make lexical scoping popular. Now, what’s the difference between dynamic and lexical scoping? Lexical scoping should be known to every Rubyist, as this is the usual (and the only one provided by default) way of scoping. Lexical scoping has the major advantage of enabling closures, that is, pieces of code that save their lexical environment. For example, in Ruby you can write: def adder(n) v = 0 # v is lexically scoped here lambda { v += n } # v and n are accessed from the closure end add1 = adder(10) p add1.call #=> 10...

Full article: http://chneukirchen.org/blog/archive/2005/04/dynamic-vari...

Tweets

Thanks to @peterc for mentioning @btvrubyconf i...

rubyweekly.com 16 Apr '12, 1am

"Peter does all the hard work of keeping up with the ruby world outside of my twitter feed and emails me a nice summary ev...

@frsyuki 違った... orz

jp.rubyist.net 16 Apr '12, 11pm

なお、非 ASCII な文字を含むリテラルを magic comment なしに書いていた場合、US-ASCII ではない文字が存在しているとして、invalid multibyte char というエラーになります。これはソースコードの可搬性...

The Hornets' @slicenanddice gets "Dynamic" in today's #kicksoncourt

The Hornets' @slicenanddice gets "Dynamic" in t...

nicekicks.com 17 Apr '12, 4pm

made the jump from the NBA Developmental League to the New Orleans Hornets this week. Like any Huskie would, he raised his...

Ruby5 - Garbage Collection in Ruby 2.0 / これ作ったの...

ruby5.envylabs.com 17 Apr '12, 1am

April 10th, 2012 Railcar tries to make setting up Rails easier before the Japanese bullet train zooms by, CoffeeConsole co...

ASCIIcast 54 - Debugging Ruby (revised) (pro)

railscasts.com 16 Apr '12, 7pm

#54 Debugging Ruby (revised) Apr 07, 2012 | 7 minutes | Debugging , Tools This episode will show you how to debug a rails ...

RubyKaigi が毎年やってるってことになってる

ruby-lang.org 15 Apr '12, 11am

Ruby programmers around the world are getting involved in more and more conferences, where they get together to share repo...

Вышел Ruby 1.9.3-p194

rubyflow.ru 20 Apr '12, 4am

Вышел Ruby 1.9.3-p194Сергей Резванов Как сообщается на официальном сайте - вышла новая версия ruby 1.9.3-p194. Нововведени...

@clemensk @ryanbigg it is.

@clemensk @ryanbigg it is.

rubyinside.com 17 Apr '12, 9pm

The Ruby standard library (a.k.a. stdlib) is a collection of Ruby libraries that, at one time or another, have been consid...

というわけで日本語版も書きました:「Ruby 1.9.3-p194リリース」

ruby-lang.org 20 Apr '12, 10am

Ruby 1.9.3-p194 がリリースされました。 このリリースはRubyGemsに対するセキュリティフィックスを含んでいます。これは、リモートレポジトリへのSSLサーバ検証についてのものです。それ以外にも、多くの修正が含まれています。 R...

Ruby 1.9.2-p320 is released This release also i...

ruby-lang.org 21 Apr '12, 11pm

This release include Security Fix for RubyGems: SSL server verification failure for remote repository. And many bugs are f...

Ruby 1.9.3-p194 is released This release includ...

ruby-lang.org 20 Apr '12, 3am

This release include Security Fix for RubyGems: SSL server verification failure for remote repository. And many bugs are f...

SOS SEO: Kommentar zu Seo-Quartett für Blogs vo...

@gerald: Das muss jeder Blogbetreiber für sich wissen, viele erlauben es (gerade in SEO Blogs). Aber wenn es hier nicht ge...

The latest Maxcom's Varifocal Wide Dynamic Range CCTV camera MXC-D650-WDR - San Francisco Luxury News

The latest Maxcom's Varifocal Wide Dynamic Rang...

sfluxe.com 15 Apr '12, 5pm

MXC-B540 is a Weatherproof CCTV Bullet Camera equipped with a Sony 1/3” Super HAD Colour CCD and IR illuminators that can ...

bdb: Improved Ruby Bindings for Berkeley DB:

rubyinside.com 15 Apr '12, 6am

While Ruby bindings already exist for BDB, Matt Bauer has just released some all new shiny ones that are fast and easy to ...

@AllenJlawson

ruby-lang.org 28 Apr '12, 9pm

Certain members of the Ruby community feel very strongly that you should never use a package manager to install Ruby, and ...