Forum: Ruby Ruby Weekly News 13th - 19th March 2006

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
unknown (Guest)
on 2006-03-20 12:09
(Received via mailing list)

Ruby Weekly News 13th - 19th March 2006

   Ruby Weekly News is a summary of the week's activity on the ruby-talk
   mailing list / the comp.lang.ruby newsgroup / Ruby forum, brought to
   by Tim S..

   [ Contribute to the next newsletter ]

Articles and Announcements

     * Best of Ruby Q. now available

       "Quizmeister James Edward G. II selected the best 25 Ruby
       from last year, then carefully collected answers and annotated
       The result is "The Best of Ruby Q.", a wonderful book which
       teach any Ruby programmer new techniques and approaches to

       Dave T.: "(oh, and I happen to think it's one of our nicer
       covers, too...)"

     * Ruby Hacking Guide Translation

       Vincent I. said he'd finished translating the second
chapter of
       Minero AOKI's "Ruby Hacking Guide" into English.

       "This book explains the internals of the ruby interpreter. And
even if
       you do not care about how the interpreter works, I think it can
       have a better understanding of Ruby and how to make extension

       The news was well received.

     * Next Beta of Rails Recipes available

       "The fourth beta of Rails Recipes, Chad F.'s book or writing
       world Rails, is now available", announced Dave T..

       "The book now features contributions from three members of the
       Core Team, and includes countless suggestions for existing
       This is definitely the book to have on using Rails in the real

     * RubyCorner a meeting place for the Ruby blogging community

       Anibal Rojas announced RubyCorner, a directory of Ruby blogs.

       Lyle J. pointed out two sites that fill the same role;
       Artima's Ruby Buzz and Planet Ruby.


  What's the best way to split this kind of string?

   Sam K. asked how to split a string into sequences of repeated
   (in particular, where the characters are digits), e.g.

 "111223133" => ["111", "22", "3", "1", "33"]

   Ross B. gave two ways of doing it:


 s.scan(/(\d)(\1*)/).map! { |e| e.join }

  obscure ruby bug tracker

   Chris describes his long journey trying to find the Ruby bug tracker

   "Maybe a little effort in making the bug tracker a bit easier to find
   in order..."

  Small optimization tips

   Vincent F. shared a couple of changes that improved performance in
   script, including using Set instead of Array when you are only using
   << and include?.

   Set#include? usually takes constant time (having a Hash underneath),
   Array#include? is linear in the number of elements in the array.

  Constraint Processing (#70)

   Jay A. created this week's Ruby Q..

   "For this quiz the goal is to make a constraint processing library
   ruby. A Constraint Satisfaction Problem consists of variables,
domains for
   each variable, and constraints among the variables."

  Python looking better ...

   Python got a new homepage, which led to questions about the
   redesign effort which has been quiet since last year.

   Curt H.: "I can assure you that it is still progressing. It has
   slow progress, but much faster in recent months (thanks to John
   Hopefully a few more months and it'll be all finished."

  Why's Poignant Guide site down?

   Mark V. was having trouble accessing Why's Poignant Guide to

   Mental said there's been a general problem with Why's server, which
   unfortunately happened while he's at the SXSW music festival.
   it's all back up now.

New Releases

A few of the releases this week ...

  Third Drop of RubyCLR

   John L. set out the third release of his RubyCLR bridge.

   "There is now a pretty cool Avalon (Windows Presentation Foundation)
   sample in this release. It renders math equations from a quick and
   Ruby DSL that I hacked up yesterday. I think it really shows off some
   the cool things you can do when you have a powerful client-side

   "I did a lot of perf tuning in this release, so dynamic compilation
   of the interop shims should be much faster. Runtime performance is
   good - I can parse a 7.5MB XML doc using XmlTextReader (a pull-mode
   parser) which results in over a million calls across the interop
   in about 2s."

  Nabaztag 0.1

   Paul B.:

   > I'm pleased to announce the public release of our Nabaztag
   > library for Ruby.
   > The Nabaztag ( is a small electronic
   > with lights, motorised ears, and speech.
   > The library enables control of the text-to-speech, ear movement,
   > choreography features of a Nabaztag device. It implements a small
   > for choreography commands.
   > Paul.
   > PS - Yes, we actually use this at work!

   > It performs a couple of announcement functions. First, it reports
   > success or failure of builds on the continuous integration machine.
   > Second, it announces every time our review aggregation service
   > a ping. It's nothing that couldn't be handled by a computer playing
   > few samples (or using OS X's text-to-speech), but it's more
   > this way!

  rcov 0.2.0 - code coverage tool for Ruby

   Mauricio F. posted rcov 0.2.0, a Ruby code coverage tool thats
   20-300 times faster than the `coverage' tool.

   "typically, the program being inspect runs only ~3 times slower than
   without rcov (i.e. not 200 times slower as with some other tools)".

   It also features "more accurate coverage information through code
   inference using simple heuristics".

   This release has prettier output, and a more convenient interface.
This topic is locked and can not be replied to.