162639-163765 subjects 163128-181006

^ Ruby Quiz for building up Ruby?
162902 [hgs dmu.ac.u] I put this suggestion to James Edward Gray II as a means to an
+ 163036 [jqshenker gm] This might be a really fun way to improve Ruby! Good idea. However, Ithink it should compliment the original RubyQuiz, not replace it...RubyQuizzes in the past have been fun quickies, and this is adifferent, more practical and involved beast...
| 163039 [dbalmain.ml ] ...
| 163040 [dbalmain.ml ] ...
| 163041 [jqshenker gm] I was talking about these more practical and complicated solutions ingeneral, this particular one might be good as a RubyQuiz (uh, I didn'tread the spec the first time... ;).
+ 163137 [ruby.brian g] I now you did not ask for an implementation right now, but with the
| + 163143 [dbalmain.ml ] ...
| + 163146 [hgs dmu.ac.u] ...
+ 163149 [rascal1182 g] I think it's a good idea.  Quizzes are great for fun and learning, but
  163161 [james graypr] I'm all for quizzes that help build Ruby technologies.  I strongly
  + 163202 [rascal1182 g] It pretty much already was a quiz, without the waiting period.  If
  + 163205 [ruby.brian g] I think it is a good idea to use quizzes to advance certain libraries.
    163244 [sillewille g] I agree with this.  I think it would be a great idea to often and

^ RCR 323 - was: Re: overriding #inspect
162906 [hgs dmu.ac.u] Interesting, but what do you mean by "reachable"?  I think the RCR

^ mod_ruby object persistence
162916 [tsuraan gmai] How long do objects stick around in mod_ruby?  I have a really simple
162987 [drbrain segm] A class will stay around as long as its apache process is alive.  Of

^ [SUMMARY] Ducksay (#52)
162917 [james graypr] ...
+ 162923 [dave burt.id] ...
+ 162924 [dave burt.id] ...
+ 162933 [nobu.nokada ] Pretty.
+ 162943 [pit capitain] I'm not sure about the efficiency. The inject() version builds a new
  162945 [james graypr] I didn't make that very clear.
  + 162960 [dbatml gmx.d] I'm not sure what you mean with "copy the whole array". The Enumerable#map
  | 162965 [james graypr] I meant that you have to create a second Array of equal size.
  + 162966 [flori nixe.p] ary.max { |a,b| a.size <=> b.size }.size
    162975 [james graypr] Very nice.  I forgot max() can take a block.
    162981 [flori nixe.p] ary.max_by { |x| x.size }.size

^ [OT] Okay, it's not chunky bacon, but it's still funny.
162919 [rmagick gmai] For some reason this made me think of _why...
163052 [jqshenker gm] That's absolutely great! :p

^ obj()
162931 [daniel.schie] class Klass
+ 162934 [ruby.brian g] class Klass
+ 162935 [nobu.nokada ] (obj)("a", "b") # now does work in 1.9
| + 162955 [gwtmp01 mac.] obj.call("a", "b")
| + 162957 [dblack wobbl] Please tell me that's just "experimental"... :-)
|   163030 [matz ruby-la] Now it's removed from 1.9
+ 162938 [sean.ohalpin] class Klass
+ 162959 [dblack wobbl] But they aren't.
  162961 [Daniel.Berge] TOO...MUCH...LISP.
  163234 [surrender_it] I think "TOO...MUCH...SCHEME", common lisp works with lambdas and

^ Looking at Rails for the first time...
162944 [steve_rubyta] I'm trying to create my first ever rails application.. following as
162989 [drbrain segm] Rails has its own mailing list filled with people happy to quickly

^ TMail and GPG/PGP encryption?
162950 [michael schu] key. Rails's ActionMailer is based on TMail, therefore the question

^ Initializing a Struct from an array
162951 [drjflam gmai] ...
+ 162952 [cribbsj oakw] current = Foo.new(*h)
+ 162953 [ruby.brian g] Foo.new(*h)
  162954 [drjflam gmai] ...
  163086 [bob.news gmx] Additional recommendation: don't do "select *" in production code, always

162956 [beth squalor] i have written a slighly bastardized version of the class web page
162968 [sean.ohalpin] Have you made sure your text input tags have a name attribute?

^ append_feathers
162958 [dblack wobbl] I just accidentally typed "append_feathers" instead of
+ 162969 [sean.ohalpin] Let's just hope this doesn't result in another slew of fowl puns.
+ 162973 [hgs dmu.ac.u] That would be the frictionless spherical mallard?
+ 162979 [mrkode gmail] ...
| 163087 [bob.news gmx] LOL - thanks for making my day!
+ 163097 [ruby.brian g] module Kernel
| 163117 [dblack wobbl] ...
| + 163121 [hgs dmu.ac.u] ...
| + 163136 [ruby.brian g] Oh, thats true. I wanted to escape the problem of undefined constants,
+ 163133 [dooby d10.ka] ...

^ ASCII Isometric Graphics...
162962 [CBlair1986 g] I've just got a bit of a question, here. I suppose my mind's a bit too
+ 162978 [markus stber] Heh, another Ruby quiz. ;)
| + 162984 [lukfugl gmai] Heh, we got pretty similar solutions there, Markus. Great minds... ? :)
| + 162992 [dbatml gmx.d] class AsciiCanvas
+ 162983 [lukfugl gmai] Rather than accomadating 1/0 or true/false, I just did 1/0. Handling

^ Soap::RPC::Driver Question
162963 [wshaddix gma] ...
163022 [nakahiro sar] Set $KCODE = 'UTF8' if you don't have iconv or uconv been installed.
+ 163139 [wshaddix gma] What is iconv and uconv? Also $KCODE = 'UTF8' before creating the soap
+ 163154 [wshaddix gma] require 'soap/rpc/driver'
  163229 [nakahiro sar] There's no easy way to control the namespace names for now.

^ Re: Ruby readline - completion based on already-entered commands
162964 [mcw cs.ubc.c] i'm new to ruby, and having the problem Bill Atkins was having with
162998 [nohmad gmail] $ cat rlcomp.rb
163001 [nohmad gmail] Oops, I misread your question. Sorry for noise.
163010 [mcw cs.ubc.c] yip

^ help with fastcgi
162970 [erne powerna] I'm really frustrated.
163018 [erne powerna] I figured this out after some serious head scratching.

^ Argument Passing Syntax
162982 [gwtmp01 mac.] Why are arguments to the '[]' method parsed differently
+ 163024 [dave.burt gm] I haven't seen that syntax error before. I don't see any reason why
+ 163033 [drbrain segm] uses call_args (and friends)
+ 163095 [sean.ohalpin] Because () and [] are parsed differently. [] is primarily an array
  + 163120 [gwtmp01 mac.] But *why* are they parsed differently?  Just "because"?
  | 163189 [drbrain segm] Eric Hodel - drbrain@segment7.net - http://segment7.net
  | 163223 [gwtmp01 mac.] I've looked through the parse.y file, so I understand the mechanical
  | 163233 [drbrain segm] IIRC, #[] and #call doing the same thing is a (relatively) recent
  | 163245 [gwtmp01 mac.] This was my first thought about this also, which is why
  + 163126 [gwtmp01 mac.] Here is a related thought.

^ [ANN] Instant Rails 1.0 preview3 Released
162986 [curt.hibbs g] ...

^ I was sold by Ruby
162988 [ngoc yahoo.c] Something to share with you (ladys and guys). My boss want me to compare
+ 162990 [ruby-talk wh] Hey, that's great.  May your enjoyment continue.
| + 162993 [ruby.brian g] Don't worry if this sounds strange. _why is our local weird genious.
| + 162996 [christophe.g] ngoc, don't take it personally, _why is always like that ;) .
|   163004 [    s xss.de] read "babel-17", one of matz' favourites, IIRC.
|   + 163021 [Neville.Burn] ROFL
|   | 163029 [lyndon.samso] For Gods sake man, don't encourage him :-)
|   + 163083 [christophe.g] You'd think that as a conlanger I would have already read it ;) . But strangely
+ 163088 [bob.news gmx] Great stuff!  What about your boss - was he sold, too?

^ Strange problem with regular expressions and tainted values
162997 [x7 danisch.d] I have a ruby program which fetches some web pages, and for security

^ ===, include?, =~
162999 [gwtmp01 mac.] I started this post after wondering why
163002 [eric_mahurin] This was the main reason that sent me off making Object#duck to

^ How to merge two files like the following with the XML parser
163000 [karenmiddleo] I have two text files.
+ 163005 [m.fellinger ] ...
+ 163093 [dooby d10.ka] ...

^ Format BigDecimal
163012 [dcorbin mach] I poked around, but I could not find a clear answer on how to format a
163019 [dave.burt gm] You want my_big_decimal.round(2).to_s("F")
+ 163129 [meta pobox.c] I've been working on it.  It's not my code, I'm just one of those people
| 163144 [dave burt.id] ...
| + 163160 [james graypr] Gavin is really the best person to answer this.  He's our fearless
| + 163201 [meta pobox.c] I pick based on things I'm interested in and knowledgeable about, with a
|   + 163203 [james graypr] It goes the other way too.  I've lobbied Gavin to mark REXML as well
|   + 163240 [dave burt.id] ...
+ 163376 [dcorbin mach] Many thanks.

^ [ANN] priority-queue 0.1.2
163013 [ruby.brian g] I finally released a polished up version of my priority queue extension.
163112 [tom infoethe] Haven't looked at that in a while... but any updates will be posted
163249 [daniel.amela] ...
163277 [ruby.brian g] I have not looked very deep into rbtree. Maybe it is possible to
163318 [vjoel path.b] but, Brian, your implementation sounds like it is better suited to being

^ Ruby Shipping Gem Help
163014 [lists laston] I am trying to use the Ruby shipping gem (http://shipping.rubyforge.org/) to

^ [ANN] New Haven Ruby Brigade Formed!
163020 [gregory.t.br] The members of the University of New Haven Ruby Brigade have voted and

^ Escaping Attributes with Builder::XmlMarkup
163025 [daniels pron] ...
163090 [daniels pron] Further on this, the escaping performed by builder is a bit slack. I

^ "Reflecting" on my self.n00b
163026 [sillewille g] I'm admittedly quite a novice with programming.  I'm sort of playing
+ 163031 [gregory.t.br] def sp_set_url(url)
| 163032 [gregory.t.br] irb(main):027:0> class Foo
| + 163034 [sillewille g] How would I programatically find which instance variables I'm
| | 163035 [sillewille g] Doh!  Nevermind, I just saw instance_variables() in ri.  I didn't see
| + 163038 [sillewille g] This seems to work great, thanks!  I swear, this is the first way that
|   163072 [dblack wobbl] That looks kind of odd.  Instance variables default to nil anyway.  If
|   163076 [daniels pron] There's two ways you can go depending on if you want to be able to add
+ 163037 [dave.burt gm] You can save yourself some RSI by using attr_accessor.
| 163043 [sillewille g] It seems that if I use attr_accessor, I can't use
| 163047 [dave.burt gm] No, it's not - attr_accessor defines methods.
+ 163156 [Ara.T.Howard] require 'traits'
  163242 [sillewille g] Wow, that's really nice.  All of these suggestions are great.  I

^ difference between the each iterator and the collect iterator?
163046 [vasten gmail] I am a newbie as far as Ruby is concerned. I was going through the
+ 163049 [dave.burt gm] [1, 2, 3, 4].collect {|i| puts i } #=> [nil, nil, nil, nil]
+ 163058 [drbrain segm] $ ri Enumerable#collect
+ 163060 [christophe.g] #collect applies the block on each value of the array, and *returns the
+ 163071 [mow onlineho] I guess that should read [1, 2, 3, 4].collect{|i| puts i }
  163079 [daniels pron] It's the return value of those two methods
  163081 [zdennis mkte] I think Daniel means

^ Expression Evaluation Problem
163048 [xrfang hotma] I have a program which runs ok for a very long time, today I try to modify
+ 163056 [dooby d10.ka] ...
+ 163057 [drbrain segm] return is higher.
+ 163067 [nobuyoshi.na] The precedence hasn't been changed and it is checked even in

^ Stuck with modules/classes/inheritance
163054 [kevin.jackso] require 'b'
+ 163061 [drbrain segm] b = A::B.new
+ 163062 [christophe.g] require "base"
| 163063 [kevin.jackso] require 'base'
| + 163065 [drbrain segm] require 'lib/base' then
| | 163068 [kevin.jackso] Thanks, this fixes it - but the actual path 'lib/base' is incorrect in
| | 163074 [drbrain segm] The load path works from Dir.pwd, not the paths of the files you
| + 163066 [kevin.jackso] in fact from test.rb, I can require 'lib/base', but from b.rb I can't
|   163082 [christophe.g] Oops! Of course. "require"'s lookup system bit me again. IIRC it uses
|   163110 [itsme213 hot] ...
+ 163070 [dooby d10.ka] ...

^ [ANN] grandrapids.rb November Meeting and Preparing for December
163064 [zdennis mkte] Good morning everyone (12:50am constitutes as morning). The grandrapids.rb (aka Grand Rapids Ruby

^ Re: Ferret 0.1.0 (Port of Java Lucene) released
163084 [peter.r.bail] I have to say that the combination of Ruby, Eclipse, and Ferret have
163089 [dbalmain.ml ] ...

^ OSDC (Melbourne, Australia) open for registrations
163085 [jarich-spam ] Registrations for Australia?s second Open Source Developers? Conference are now

^ [ANN] Nitro + Og 0.24.0, Annotations, KirbyBase, SCGI, Og Evolution, Gen, Dynamic CSS...
163091 [george.mosch] Dear devs,
163254 [zedshaw zeds] Hey George,
163265 [george.mosch] I use a slightly older version of your code. Will update to the latest

^ [ANN] Nitro Spark 0.6.0
163092 [george.mosch] Dear devs,

163094 [puellula gma] can you help me?
+ 163102 [hgs dmu.ac.u] You've not removed all left recursion.
| 163106 [puellula gma] // PARSER
| 163108 [hgs dmu.ac.u] ...
| 163113 [puellula gma] Hugh, thank you very much for your help but I have the same problem! :(
| 163118 [hgs dmu.ac.u] Then I'm stuck.  This is what I find: they are difficult to
| 163124 [puellula gma] Hugh, thank you for your interest!
+ 163111 [eric_mahurin] Hey, we are doing the same thing!  I'm using my grammar project
  163116 [puellula gma] Eric, thank you for your message!
  163127 [eric_mahurin] convert LR LL parser
  163131 [puellula gma] Dear Eric,
  163184 [matz ruby-la] Toughest examination I have ever heard.  Indeed.
  163232 [puellula gma] but I have to implement a Ruby Editor with the parser inside. This is
  163262 [puellula gma] Mr. Matsumoto,
  + 163351 [puellula gma] OK :)
  | 163361 [hgs dmu.ac.u] That 'smtp' doesn't look right to me.... What is it?
  | 163373 [puellula gma] Hugh,
  | 163491 [eric.mahurin] ...
  | 163501 [puellula gma] interesting link :)
  + 163356 [ryand-ruby z] ST80 grammar. ST80 is much cleaner than ruby in terms of how many
    + 163359 [puellula gma] thank you for your help. I had read the document you sent to me. Oh,
    + 163365 [eric_mahurin] Ryan,

^ failed GDiff attempt was [Re: Ruby Quiz for building up Ruby?]
163099 [kevin.jackso] Well I've got to dash off early today, but here's something I've hacked
163101 [hgs dmu.ac.u] Well, I was asking if it would be acceptable as a quiz. I wasn't

^ newbie html question
163105 [Chris.Newman] ...
+ 163107 [ruby.brian g] Simple onboard possibilities would be the cgi package (though that
+ 163179 [ezra yakimah] Hey there-
  163182 [Chris.Newman] Thanks for your input!
  163183 [Chris.Newman] Thanks for your input!

^ [ANN] rttool-1.0.1
163114 [rubikitch ru] ...

^ O'Reilly Goes Ruby
163125 [danieljohnle] I may be a bit slow in finding this out but, O'Reillys CodeZoo have a
+ 163134 [jeff.darklig] ...
| + 163142 [curt.hibbs g] ...
| + 163148 [a.r.ferreira] Nope, the Ruby section at code zoo debutted at August (together with
+ 163138 [rmagick gmai] Much as I hate to knock any positive attention paid to Ruby, I have to
  163140 [lyle.johnson] Ditto. I first heard about it a month or so ago, and recommended some
  163141 [halostatue g] Hopefully it hasn't, but I don't think that they've updated the Ruby
  163151 [curt.hibbs g] ...
  + 163158 [lyle.johnson] OK, everybody, remember that Curt has the "in" at O'Reilly for us. ;)
  + 163259 [tom infoethe] So that should help keep things current automagically...