Monthly Archives: January 2011

3 Browser Based Editors to Watch

In the last couple of weeks, there has been a fair amount of talk about three web based editors. Google has started embeding CodeMirror into Google Project Hosting, IBM is developing Orion, and Mozilla is merging Bespin/SkyWriter into Ace, Cloud9’s … Continue reading

9 Comments

Filed under development, Web Development

The Strange Ruby Splat

As of ruby 1.9, you can do some pretty odd things with array destructuring and splatting. Putting the star before an object invokes the splat operator, which has a variety of effects. First we’ll start with some very useful examples, … Continue reading

22 Comments

Filed under development, ruby

Getting to Know the Ruby Standard Library – Delegator

Today we will examine ruby’s implementation of the Proxy pattern, with the Delegator class. We have already seen and example of it in use with WeakRef. A Delegator can be used when you want to intercept calls to some object … Continue reading

3 Comments

Filed under ruby, stdlib

Getting to Know the Ruby Standard Library – WeakRef

Once again, we shall dive into the depths of ruby’s standard library and fish WeakRef out. First we’ll talk about garbage collection, then try WeakRef out, and then investigate how it works. In the course of a normal script’s execution, … Continue reading

9 Comments

Filed under ruby, stdlib