Archive for July, 2008

Dude,Ruby 1.9 Drops Support For 9 Platforms (Ruby 1.9.0-3’s Release Bombshell)

Yuki Sonoda has announced the release of Ruby 1.9.0-3, a snapshot release of the still-experimental Ruby 1.9 (wait until Christmas for the production ready 1.9.1). Minor releases aren’t typically covered here on Ruby Inside, but the dropping of support for nine platforms in Ruby 1.9 might be of significant interest to some:
Ruby 1.9 no longer [...]

I Think Ruby Could Replace my Python Crawler Pretty Soon

One of my developers just sent me some truly incredible stats about Ruby 1.9 and its threading performance.

20 threads * 100,000 iterations
Ruby 1.9 = 1.54 s.
Ruby Enterprise = 3.01 s.
JRuby 1.1.2 = 5.82 s.
Jython 2.2.1 = 11.86 s.
Python 2.5.2 = 12.32 s.
Ruby 1.8.7 = 22.68

Since our attempt at testing Ruby as a crawler really wasn’t [...]

Introduce to Programming with Ruby!

First of all, Ruby is a programming language that has become pretty popular with the advent of Ruby on Rails . That said, Ruby is a great first programming language to learn. I won’t bore you with it’s history, even though the language has been in existence for over a decade. For the summary [...]

Ruby’s Open Classes Or: How Not To Patch Like A Monkey?

Rails developers who watched the recent Ruby 1.8.7 preview releases, soon noticed something about the 1.8.7 Preview 1: it broke Rails. The reason was the addition of a method Symbol#to_proc, which was backported from Ruby 1.9. Adding this method allows to write certain code in a more compact way (see details about Symbol#to_proc).
So what happened? [...]

How to Use Ruby on Rails for Web Development on Mac OS X

The Ruby on Rails web application framework has built up a tremendous head of steam over the last year. Fueled by some significant benefits and an impressive portfolio of real-world applications already in production, Rails is destined to continue making significant inroads in 2006. Simply put, Ruby on Rails is an open source tool [...]

Ruby on Rails: It Always include your fixtures when You are testing!

So, I have dove back into the world of Rails Tests today to test a new feature that would just be a headache to manually test. There’s too many variables, and plus, I feel guilty for not using as many rails tests as I should.
But I was wracking my brain trying to find a reason [...]

The Freelance to Ruby on Rails

If you’ve grown weary from scrolling through innumerable posts for Rails “Rock Stars” and you’re someone who’d rather cut code than coke, then this gig might be for you.
We need help building and enhancing those features that make it through our gauntlet of scrutiny and constructive laziness.
It’s an existing app that’s been cared for by [...]

Java/Ruby strings solved in the Ruby way

I’m posting this here because it seem like a topic better discussed in
the general Ruby community.
JRuby allows you pretty seamless access to Java libraries through its
Java integration layer. You can pull in just about any class,
instantiate objects, call methods, and so on. In order to make this a
bit easier, in many cases we automatically coerce [...]

What’s Going On With The Astrology of Disintegration?

One of the things that I find so fascinating about the Cure’s 1989 album, Disintegration, is it’s close correlation to the Saturn return period of band leader Robert Smith. I have wanted to write this for some years, particularly after having undergone my own Saturn Return period. For those readers who may not be familiar [...]

Ruby Programming is Art?

I realize that the Ruby language is special, in the sense that my learning curve is experienced differently than it was with Java, or even C++ back then. Some steps take a different amount of time, some others are of another nature. Specifically, I find that beyond learning the basics in Ruby (which is arguably [...]