## 237266-238157

237002-243274 subjects 237421-246391
```
^ [QUIZ] String Equations (#112)
237266 [james graypr] 1.  Please do not post any solutions or spoiler discussion for this quiz until
+ 237524 [invalid gmx.] Shouldn't there be a requirement that an equations is invalid if there is
| 237556 [james graypr] If you want to make shorter equations a goal for your solution, go
| 237570 [  hli web.de] If you don't have this requirement, you have either none or an infinite
| 237578 [james graypr] That's why the quiz asks for any of the possible solutions.
| 237633 [invalid gmx.] Ah, this is where I didn't read properly. Also this may be the reason why I
+ 237549 [sander.land ] Here is my solution.

^ Trying to send a soap message directly at a server
237269 [thedossone g] I've now tried 2 different methods of sending a soap message (read in
+ 237273 [mid niANTISP] Have you tried SOAP4r?
| 237274 [thedossone g] I have had a look previously, what I'm needing is a howto I suppose. The
+ 237275 [mid niANTISP] require "soap/wsdlDriver"
+ 237583 [B.Candler po] So what happens when you try these methods?
237991 [thedossone g] That nothing was going out over HTTP at all.
238009 [B.Candler po] require 'net/http'
238053 [thedossone g] I'll try that, thanks. RI didn't turn up anything like that example. It

^ Re: No Subject
237271 [daniel.schie] I'm sorry Dave, I'm afraid I can't do that.

^ bug is ruby regexp
237277 [nickblack1 g] \$ irb(main):001:0> num = "10"
+ 237280 [james graypr] A character class ([...]) with a range of 9-1 is not valid in a
| + 237283 [Rob AgileCon] => "10"
| + 237347 [brabuhr gmai] \$ perl -e 'print "foo" if 9 =~ /[9-13]/'
+ 237349 [robert.mccor] are there any filterable subscriptions to this board?
+ 237372 [timx nospam.] Its not a bug. The problem is you are mixing up characters and numbers. Regular

^ Regular Expression issue
237281 [anon1m0us ya] looking for users and groups. The users are listed with Employee
237296 [brian.corbin] Instead of capturing each data element one at a time with separate

^ Re: String Equations (#112)
237285 [dan fluentra] cool quiz.
+ 237288 [james graypr] I like it.  ;)
| 237300 [dan fluentra] James Gray
+ 237345 [sander.land ] Started
237398 [dan fluentra] Thanks Sander that was useful in finding some bugs! I've added what

^ Fastri-server problem?
237287 [renard nc.rr] I have downloaded and install fastri from the tarball.
237313 [ mfp acm.org] You can also run fastri-server as a win32 service (IIRC the gem is named
+ 237366 [botp delmont] Indexing RI docs for ZenTest version 3.4.3.
| 237395 [ mfp acm.org] Don't really know. Do you get a new .fastri-fulltext directory with
| 237506 [renard nc.rr] on my WindowsXP machine
| 238154 [ mfp acm.org] If  fri -S test works after that then we can disregard that puzzling message.
+ 237394 [ mfp acm.org] I don't really know anything about ruby-services. Dan?

^ Beginner questions: sorting csv files
237290 [michael.scha] I am a newbie with Ruby and I had a couple of questions while
+ 237343 [w_a_x_man ya] [ [9,'ash','cube'],
| 237346 [michael.scha] Thank you very much.  I did not realize  it was so simple.  Do you know
| 237353 [w_a_x_man ya] a =
| 237379 [w_a_x_man ya] Before writing each record (i.e., each array of fields) to the file,
| 237401 [michael.scha] Thank you very much.
| 237811 [michael.scha] Hey,
| 237814 [olsonas gmai] require 'rubygems'
| 237818 [michael.scha] Thank you very much.
+ 237820 [olsonas gmai] Come to think of it, I'd do the whole thing using FasterCSV. When
237823 [james graypr] mycsv.sort_by { |row| row.values_at(2, 0, 1) }.each do |row|
237824 [olsonas gmai] Ahh, neat, good to know.
237933 [michael.scha] thanks
237992 [michael.scha] on the daily return, I wanted to define two if statements so that two
238157 [michael.scha] Also, Does anyone have any recommendations about books that have a large

^ Calling a class method from an extended object
237291 [francois.bea] class MockControllerBase; end
237293 [dblack wobbl] You've included the module in the singleton class of @controller,
237295 [francois.bea] 2007/2/2, dblack@wobblini.net <dblack@wobblini.net>:> I would do it differently, because I've never been a fan of the> InstanceMethods/ClassMethods thing.  I prefer just to include or> extend separate modules as needed and where needed.  But I know it's> very popular.

^ Re: [QUIZ]
237294 [james graypr] Ah good catch.  I should have been more specific.
237297 [ma3oxuct gma] So this means that we can eliminate a word altogether?
+ 237301 [technodolt g] So, if I have my list as
| 237311 [james graypr] Correct.
+ 237309 [james graypr] Yes.  This is what is meant by "zero or more" in the quiz.

^ What's up with Time.local ?
237299 [pbailey bna.] I need to check some file dates against the budgetary periods of our
+ 237302 [drbrain segm] If you put a 0 in front of a number you are specifying an octal
+ 237304 [m_goldberg a] In Ruby starting an integer with a leading zero designates that it is
+ 237305 [jos catnook.] Numeric literals starting with `0' are interpreted as octal numbers. Try
+ 237306 [artur_spruce] The problem is the leading zero. Time.local(2007, 9, 9, 0, 0) works
237326 [pbailey bna.] You're all brilliant. Thanks. Yes, when I re-looked into my book that

^ Beginner Question - Pagination, Each?
237308 [deheacock ea] Many thanks to anyone willing to assist.
237318 [jgbailey gma] ...
237325 [deheacock ea] <%= link_to 'Go to page >', { :page => @member_pages.each do () end} %>
237336 [deheacock ea] Well a few more hours of searching the web produced this excellent link.

^ Silly Code from The Muppet Laboratories
237312 [shortcutter ] ... for lazy typers - can also be used for obfuscation.  Might make your
237314 [james graypr] James Edward Gray II
+ 237315 [gavin refine] On Feb 2, 12:08 pm, James Edward Gray II <j...@grayproductions.net>
+ 237316 [shortcutter ] Umpf!  I better stop posting now in order to prevent more embarrassment...

^ MySQL database and Ruby
237319 [none none.co] I am new to programming ruby and currently as part of university assignment
237328 [GENIE prodig] Here's a good tutorial.  Please direct future questions to the Rails
237331 [none none.co] Thank you Mike.

^ Rails Conf Registration Open
237320 [rich infoeth] Hey all,
237329 [dejan.dimic ] I will gladly come but we have some problems with Visas.

^ Reading several data entries per line from screen
237321 [alex.decaria] Is there a single, easy method in Ruby that will let me read multiple
237333 [ruby.hardwar] Is this what you are looking for?
237334 [alex.decaria] Yes, Thank You!

^ Inject error when no default starting value given?
237323 [olsonas gmai] I have an Event model which has_many :attendees. My Attendee model has a
+ 237324 [olsonas gmai] Misposted, moving to the rails forum.
+ 237342 [gwtmp01 mac.] You gave a Rails example, but it is really a generic Ruby question.

^ Redbox question
237332 [cragmor gmai] This may come acrossed as a really dumb question. I am wanting to
237335 [ruby philip.] javascript_include_tag is the name of a method... so what you have above

^ Bugs in Matrix#rank
237337 [sander.land ] I think I found some bugs in Matrix#rank

237338 [rcmn73 gmail] i'm trying to add a workstation "monnomdemachine" to a group "mygroup"
237358 [garbagecat10] Looks like you gave the parameters to Net::LDAP#add_attribute in the wrong
237360 [rcmn73 gmail] are we talking about
237362 [garbagecat10] Yes. Re-read the rdoc. The DN which specifies the entry to which you are
237459 [rcmn73 gmail] i think i'm using it properly.
237656 [rcmn73 gmail] I finally found my mistake and fixed it that way.
237674 [garbagecat10] Ah. Sounds like the problem was a schema violation all along, then. That
237680 [rcmn73 gmail] yes it was.thx.
237684 [rcmn73 gmail] and i forgot my 2nd question.would ldap.modify be faster than
+ 237686 [garbagecat10] #add_attribute and #modify are essentially the same protocol on the wire. I
+ 237687 [garbagecat10] I have to confess that I 'm still not clear on what you want to do in regard

^ (none)
237339 [giordano.sca] unsubscribe

^ How do Rakefiles "know" about built-in Rake methods?
237341 [cohen.jeff g] I'm looking into a way to let business users write functional tests in
+ 237354 [tim.pease gm] Jim defined the basic rake methods [task, rule, file, directory, ...]
+ 237355 [GENIE prodig] The task method is defined by Rake at the top level, i.e. a normal
+ 237361 [daniel.schie] module TestContainer
+ 237364 [nicksieger g] Systir was made to solve this exact problem.  Have a look, it's not a lot of
237373 [cohen.jeff g] Wow, thanks everyone for all the help... I've got a lot to investigate

^ Mixing Rake and Turn
237348 [djberg96 gma] I've got some test tasks that I've got setup via a Rakefile.  I'd like
237351 [tim.pease gm] When you run your unit tests from within rake, they are actually run
237356 [djberg96 gma] Thanks Tim, it does.
237357 [djberg96 gma] Upon further review, using TestTask#ruby_opts *does* work. The bug was
+ 237399 [frdrch gmail] But you have now a dependency to turn. If you share your program with
| 237408 [djberg96 gma] In one project I have way too many files for that to be feasible. A
+ 237615 [frdrch gmail] /usr/bin/ruby1.8: no such file to load -- turn (LoadError)
237651 [tim.pease gm] t.ruby_opts << '-rubygems'
237652 [james graypr] No, I don't think so.

^ config.h on Linux for building racc
237352 [jack ganssle] I'm trying to build racc, the yacc-like thing for Ruby. I get this
+ 237370 [drbrain segm] \$ ls /usr/local/lib/ruby/1.8/i686-darwin8.8.2/config.h
+ 237374 [george.ogata] I'll assume you mistyped the filename ("/config.h", not ".config.h"),
237415 [jack ganssle] Thanks much... updating ruby did the trick.

237371 [donn cmscms.] I cannot figure out how to get a font loaded.  I have in c:\windows/
237376 [halostatue g] There are issues with TrueType fonts at this point. Even if those

^ Bus error in IRB when trying: require "fox16"
237375 [zcvohland gm] I have spent a couple of days trying to get the Fox GUI library to
237406 [lyle.johnson] Just curious: Why still running Ruby 1.8.1?

^ Using fork to conserve memory
237377 [dan-ml dan42] Lately I've been bothered by the large start-up time and memory consumption of
+ 237382 [jan.svitok g] I'd say it should be possible to modify mongrel_cluster to do this
+ 237409 [ara.t.howard] you realize that this is __exactly__ what running rails, or any cgi, under
| 237499 [dan-ml dan42] No, fastcgi creates a bunch of worker processes and loads the full rails
| + 237507 [rsanheim gma] Mongrel will use up plenty of memory, generally around 30 megs per
| | + 237509 [dan-ml dan42] I was talking about processes, not threads. The point is to use the
| | | 237511 [khaines enig] I experimented with this idea a little bit, with Mongrel, just doing some
| | | + 237513 [ara.t.howard] and you've just touched the tip of the iceberg: file locks are inherited, as
| | | | 237538 [dan-ml dan42] Really? if I remember correctly, rails caching can work with a memory-store
| | | + 237542 [dan-ml dan42] It's a LOT faster than loading the full rails environment though, and that's
| | |   237563 [ara.t.howard] it'd be great if you wanted to hack on acgi.  my plans were to
| | + 237514 [ara.t.howard] why?  can you elaborate?
| |   237520 [snacktime gm] Well there really aren't that many options to start with.   Mongrel
| + 237512 [ara.t.howard] yes, i realize that.  still, the concept is to start the workers before the
| | 237536 [dan-ml dan42] Interesting. I had though about db connections but hadn't followed the reasoning
| | + 237547 [tomp earthli] It seems like you need to figure out how easily a forked child can be
| | + 237562 [ara.t.howard] i don't think it's a show stopper for a roll your own solution for a specifc
| + 237551 [tom.hurst cl] I've been running simple Ruby FastCGI's using multiple forked processes
+ 237410 [ara.t.howard] you may also be interested in this work i did some time ago
+ 237519 [aldursys gma] I would just launch the relevant number of mongrel processes before

^ Inheriting from Fixnum
237380 [GGarramuno a] Now... this should be simple, but, alas, it is not.
+ 237388 [wonado donne] There is no "new" for "Fixnum"
+ 237389 [shortcutter ] Note that you generally should not use #kind_of? and like methods (->
| 237396 [GGarramuno a] Thanks, Robert, for the answer, but it still does not fully explain
| + 237412 [kevin.olbric] Part of the problem may be related to the fact that many of the built
| + 237424 [shortcutter ] Duck Typing is all about *not* checking.
| | 237552 [GGarramuno a] According to the docs of Numeric.coerce, it says it returns the
| | 237587 [shortcutter ] Is it a year of the century or years difference?  How would you
| | 237595 [GGarramuno a] Robert, I just made an example for you to understand.  I'm not quite
| | + 237597 [GGarramuno a] Another thing probably worth looking is in how Python handles this
| | | 237600 [GGarramuno a] Well, I looked at how it is being done in Python2.5.  Somewhat
| | + 237604 [logancapaldo] 1) Fixnum and Bignum are implementation details. If you want to
| | + 237605 [kevin.olbric] You know, there are a number of nice packages out there that can
| | + 237794 [shortcutter ] In my world a frame /is not a/ number but it may /have a/ number.  You
| + 237461 [logancapaldo] a is not a copy
+ 237830 [r.gebauer wo] As I' have learned from this thread, you can't inherit from Fixnum !

^ Problem with WEBRick and eruby
237384 [vendemotos g] I am just starting in both ruby and web development so maybe the
237387 [jan.svitok g] CGI expects data on stdin (see the message). The problem is that

^ Help problem SOAP4R with xsd:any
237390 [jima comware] Apologies in advance for cross-posting but I have been trying to resolve

^ Calling a method whose name I only know at run-time
237391 [chad zulu.ne] I have a handful of methods that perform operations on chunks of data.
237392 [chad zulu.ne] Oops, solved it.  Sorry, I missed Object#method the first time around.
237393 [jan.svitok g] And there is the Object#send that will do what you want, i.e.
237400 [dblack wobbl] It doesn't; you can use either.
237440 [chad zulu.ne] It looks like send is actually more appropriate for my needs, thanks,

^ Net::POP and SLL?
237397 [wim.vandersc] I've been trying to make a web based interface to several mailing lists
237661 [jan.svitok g] GIYF.

^ Can Not Get Ruby to Run in Windows CMD Window
237402 [bradaskins g] As the subject says.."Can Not Get Ruby to Run in Windows CMD Window"
+ 237404 [sunrayson gm] Type Ctrl+Z after that and you would get the output. I would recommed that
+ 237411 [kevin.olbric] the ruby executable reads from stdin (and is totally silent) until you
+ 237418 [david.mullet] In addition to what Kevin said, keep in mind that "ruby" runs the Ruby

^ What is the best GUI toolkit that can be used along with Ruby
237403 [sunrayson gm] I would like to build a thick client using Ruby what are the choices that I
237416 [farrel.lifso] FXRuby (FOX toolkit bindings for Ruby) is probably best supported at
237751 [sunrayson gm] Sorry for the delay. Thanks for the quick response.

^ Fail to install postgres gem
237405 [threeeyedfis] Good day!
+ 237426 [v.konrad lse] i usually install this from source (not as a gem) - this way i can
+ 237428 [tom infoethe] Hm, seems like it's not finding the PostgreSQL header and object files.
+ 237433 [threeeyedfis] Thank you so much!
| 237495 [tom infoethe] Super!  The same thing happened to me with the MySQL gem yesterday, so
+ 237438 [george.ogata] You can also achieve the same thing in one step with gem by passing

^ Two more days for OSCON CFP
237407 [glv vanderbu] ...
237476 [glv vanderbu] That's odd.  The message I sent wasn't empty, but the content was

^ win32 Ruby woes... pleas help
237413 [peter rubyra] I am going to release my first Ruby package in a few hours and I wanted
+ 237434 [dejan.dimic ] You should be a little bit more precise. Like this, I can not give any
+ 237436 [cmshea gmail] Can you try sending the output to a file?
237441 [peter rubyra] Dejan, Chris,
+ 237448 [cmshea gmail] I have no idea if this will work, but how about trying running it in a
+ 237453 [jan.svitok g] J.
237454 [peter rubyra] Vdaka ti, dobra vila! :-)
237488 [joe.swatosh ] I believe the idea is to pass the %ERRORLEVEL% on to an invoking
237517 [ml.chibbs gm] I'll fix this in the next release candidate of the one-click installer.

^ Saving class with array property with YAML
237414 [usenet marti] I'm new to Ruby and unfortuantly I can't find an example anywhere to the
+ 237423 [cdcarter gma] this should be spelled initialize, might be why you are getting an
+ 237427 [shortcutter ] First you should correct spelling errors of your initialize methods.
237629 [usenet marti] Thank you both for your kind help!