Need help finding a pithy corouting example228 (11/9/2008 3:19:40 PM) comp.lang.ruby I'm looking for a concise but interesting example of corotuines to illustrate symmetrical fibers for the 1.9 edition of the PickAxe. Way back in the dim past, I remember a logic puzzle to do with laying do... Dave
Looking for an archive of pre 2000 ruby-talk231 (10/24/2008 3:23:21 AM) comp.lang.ruby Mark-Logic goes back to 2002, and Google Groups to mid 2000. blade seems to start in 2005. Is there an archive of the older list anywhere? ... Dave
[ADV] New Beta of PickAxe3423 (5/28/2008 4:07:50 PM) comp.lang.ruby I've been thinking long and hard about the tutorial section of the PickAxe. It's the section of the book that seems to create the most emotion in readers: most folks seem to like the unconventional style ... Dave
[ADV] Pushed a new beta of PickAxe 3928 (3/19/2008 8:09:00 PM) comp.lang.ruby I've just finished a first pass through the built-in library reference for the third edition of the PickAxe. Totting up the numbers, I see 6 more classes and something like 200 new methods. A boatload of th... Dave
[ANN] B1.03 of Programming Ruby now available534 (1/10/2008 11:55:23 PM) comp.lang.ruby I'll keep it brief :) * Updated through the end of "Ruby in its Setting". * Includes a new chapter on Ruby 1.9's character encoding support. * removed libraries no longer in 1.9 * Chapter One lists the major c... Dave
Embedding 1.9646 (1/7/2008 9:44:08 PM) comp.lang.ruby Folks: I'm working on the "Extending Ruby" chapter (now an appendix) for the third PickAxe, and I'm finding a whole bunch of conflicting information. Reading the source, it seems like there's no canonical ... Dave
[Corrected][ANN] Third edition of "Programming Ruby" now in beta330 (12/13/2007 11:08:02 PM) comp.lang.ruby Ruby 1.9 is just around the corner, so it looks like a good time to =20 create a new edition of Programming Ruby. So, I'm pleased to announce =20= that the Third Edition of the PickAxe has just entered beta. ... Dave
[ANN] Third edition of "Programming Ruby" now in beta947 (12/13/2007 10:53:52 PM) comp.lang.ruby Ruby 1.9 is just around the corner, so it looks like a good time to =20 create a new edition of Programming Ruby. So, I'm pleased to announce =20= that the Third Edition of the PickAxe has just entered beta. ... Dave
ruby 1.9.1: Encoding trouble: broken US-ASCII String1928 (12/14/2008 5:08:30 PM) comp.lang.ruby Hi, Right now, I'm not exactly thrilled by the way ruby 1.9 handles encodings. Could somebody please explain things or point me to some reference material: I have the following files: testEncoding.rb: #!/usr... micathom(296)
Buiding anamgrams725 (12/26/2008 9:30:39 AM) comp.lang.ruby I'm studying ruby (and I really love it even more than python) and I want to do a little exercise. I want to create an efficient module to generate every possible anagrams of a word, of any given size... I al... kerny404(114)
Regular Expression Trouble436 (12/26/2008 4:41:20 PM) comp.lang.ruby Hey! I'm writing a little script to rename files with weird names but common bits to a common format. Here's the regular expression I use to extract the common data: /.*s?(\d?\d)x?e?(\d\d).*\.(\w{3})$/i It's... chris.webstar(4)
Syntax error I don't understand1033 (12/28/2008 10:28:33 AM) comp.lang.ruby (I'm using Ruby 1.8.6.) I'm trying to add a random number to an array. I do: a = [] a << rand 3 But ruby replies with "syntax error, unexpected tINTEGER, expecting kDO or '{' or '('" Why's that? When I... albertschlef(195)
[from Monkey Patching Thread]1.8 to 1.9 compatibility250 (1/2/2009 9:28:20 PM) comp.lang.ruby As I said in the former thread, I have given some thoughts on this. But I am not a guru and I would like many more opinions on this. 90% of the possible things are quite trivial or easy, like using enumerator,... robert.dober(2193)
VERY simple question about "?"2425 (1/4/2009 11:58:07 AM) comp.lang.ruby I absolutely love Ruby, but...I've always found the subject of Ruby operators to be a small nightmare. First, it's hard to find a complete table - the best I've found says gleefully at its bottom "and there a... tomcloyd1(337)
RD -> RDoc conversion223 (1/8/2009 5:25:26 PM) comp.lang.ruby Good evening (at least in central Europe), does anybody know about a tool which converts RD documentation to RDoc? I mean inline documentation in source files. It doesn't have to have any advanced features - c... severus(19)
Implementing each and <=>1028 (1/13/2009 7:08:05 PM) comp.lang.ruby I have a data model and would like to let it be Enumerable. I want to confirm if this is the way of implementing each and : def each @list.each { |item| yield item } end def (other) @... sentinel.2001(154)
Quizmaster Retiring: Revenge of the Sith3726 (1/14/2009 11:37:31 PM) comp.lang.ruby Sorry for the dorky subject line... A bit over a year ago, mid-November of 2007, James Gray announced he was retiring as the Ruby Quiz master. He had run the quiz for nearly three years, a wonderful achiev... matt9097(95)
[ANN] Ruby 1.9.1 is released4930 (1/30/2009 4:38:35 PM) comp.lang.ruby -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, folks. I am proud to announce the release of Ruby 1.9.1. This is the first stable release of Ruby 1.9 series. Ruby 1.9 is a new series of Ruby. It is modern,... yugui(25)