80953-92543

80782-81204 subjects 81183-81991

^ Re: OOP flavors
80953 [mwilson13 co] To me, it's all about context, or what the problem domain is.

^ exerb, bruby and ruby 1.8.0
80959 [be9-ml be9.r] Today I set out to make an .exe file of my program (which uses FXRuby).
80977 [jfontan cesg] One posibility is to compress the executable with UPX or somethink like this. It's not really secure as it can be decompressed with se same tool, but your code can not be directly seen.
80989 [be9-ml be9.r] Oh, I tried PECompact, but in vain. The resulting file goes segmentation fault :-)
+ 80994 [xrfang hotma] Please try compress the exerb rbx file then make your exe, if you make
+ 81000 [tksano m3.kc] According to Exerb's author, you can't compress executables

^ ANN: www.ruby-lang.org will be down on Sep. 11
80960 [matz ruby-la] Due to the host maintenance, services from ruby-lang.org, including
81055 [ jupp gmx.de] Saluton!
81365 [frank.schmit] .... which, given the problems CNN journalists seem to have with
81412 [ jupp gmx.de] Saluton!

^ holub and OOP flavors
80961 [code joechen] Just want to surface this link to everyone involved in the (rather large)
+ 80972 [rasputin ido] That would be my first concern, but it's also worth considering the
+ 80975 [batsman.geo ] I agree completely.
+ 80987 [easco mac.co] I read his articles after you posted your note.  His ideas are
| 81053 [djd15 po.cwr] I haven't finished reading all the articles yet (I'm on the second).
+ 80993 [hal9000 hype] I will add it to my list of things to read. Near the top of the
+ 81025 [sean cSePlso] On these points, I wholeheartedly disagree.
  81077 [code joechen] When I said "x does the fooing" I didn't mean x, the programming construct,

^ AW: YAML / Exerb problem
80963 [Meinrad.Rech] no, i got a working 180 core file, that works well if i do not include yaml.

^ [windows 9*] how to get the output of commands which contain backslashes?
80964 [tobiasreif p] I have to deal with the annoying shell of Windows.
80983 [chrismo clab] I've got the following routines in a win.rb file that I always require
80996 [tobiasreif p] Chris,
80997 [tobiasreif p] P.S.

^ Re: how to get the output of commands which contain backslashes?
80965 [usa osb.att.] cmd = '\for-programs\use\tidy\tidy.exe -v'
80968 [tobiasreif p] First of all: Thanks for replying!
80970 [usa osb.att.] Oh, sorry, I only tested on my WinXP box.
80973 [tobiasreif p] Your code
80979 [usa osb.att.] It's not work. Sorry, I mistook.

^ Re: (OT) Another Ruby-powered site
80971 [dali insula.] You can add three more machines running this combination.
81023 [ahoward fsl.] could you elaborate?  i'm in the process of setting up some new machines and
81030 [ben thingmag] For what it's worth, I'm running Linux, Apache, Ruby and MySQL for my

^ Output lines to stdout for debug
80974 [andrew walro] Is there an easy way of getting each line of a ruby script to be written to
+ 80984 [msparshatt y] The following function will do the trick
| 81917 [andrew walro] Thanks - perfect!
+ 80986 [nobu.nokada ] tracer.rb

^ INVESTMENT PROPOSAL
80988 [hobertmula n] This is a multi-part message in MIME format

^ Kernel.const_get and gets
80998 [rasputin ido] Well, rubberducking has finally failed me.
81002 [decoux moulo] it has nothing to do with const_get, remove the line
81003 [rasputin ido] KERRRR-CHUNK.  (sound of very large penny dropping).

^ PROPOSAL
81013 [dannykou20 n] This is a multi-part message in MIME format

^ [BUG] unknown node type 0
81014 [hal9000 hype] Who else has seen this error?
+ 81015 [decoux moulo] Generally this means that the GC has a problem.
| + 81018 [hal9000 hype] Nothing but dbm.
| + 81024 [samuel alien] I would get that while working on RERSS which is written (at the
+ 81019 [ben thingmag] I've never seen it, but it looks to me like a parser bug.  The first
+ 81039 [childNOSPAM ] I've seen this error several times. I also had a problem reproducing it.
| 81060 [steven.jenki] I've also seen the problem and this workaround in 1.6.8. Haven't done
+ 81059 [flori nixe.p] class A
| 81097 [decoux moulo] I can't reproduce the bug.
+ 81148 [mike ratdog.] I hage with a simple script (75 lines) which uses REXML to mangle some
  81196 [decoux moulo] well, a bug was found in ruby which can completely explain the error given
  91703 [pbrannan atd] I see this problem occur from time to time on ruby 1.6.8.  Is there a
  91796 [decoux moulo] Well, if it's the same problem the modification is
  92493 [pbrannan atd] Does that mean there is no patch?  Is the following the right patch?  (I
  92543 [decoux moulo] Well, it was found with 1.8.0. Probably matz has a patch for 1.8.0 but not

^ cgi bug? with iis 5 and nph
81021 [chrismo clab] if options.delete("nph") or /IIS/n.match(env_table['SERVER_SOFTWARE'])

^ webrick and ruby
81028 [ahoward fsl.] does anyone know of a development effort being made to support fastcgi in
+ 81051 [david loudth] I'd have a great interest in seeing something like this come through. A
| 81090 [martindemell] Something to add to the debate - the python guys have nicer wordplay
| 81216 [remi cherryp] Why don't you call it "Rubarb" :-)
| 81217 [easco mac.co] Given that cherries are often described as being Ruby red, I would
+ 81064 [ptkwt aracne] How about including borges as well?
  + 81065 [david.naseby] I've got ruby + webrick + amrita + borges on the boil.. Trying to fit in
  | 81067 [harryo qiqso] I read your post to the Sydney mailing list the other day, but didn't reply since I haven't really played with any of that stuff.
  | + 81068 [harryo qiqso] Sorry about that.  I intended it to go just to David!
  | + 81164 [david loudth] Very interesting!
  |   81169 [david loudth] Aber verdammt!
  |   81173 [hal9000 hype] No sweat. We've all done it. Or at least I have.
  + 81156 [ahoward fsl.] sounds good - can you explain it to me?  ;-)
    81636 [drbrain segm] in
    81641 [feldt ce.cha] But then your code will not be separated from the skin/presentation, eh?
    81653 [drbrain segm] Borges promotes heavy use of CSS, and tight coupling is a "feature".  In
    81714 [feldt ce.cha] Sounds great. Looking forward to larger examples.
    81740 [drbrain segm] r=20
    81780 [david.naseby] I think you might find ruby + borges + madeleine = memory hog. I don't
    81796 [feldt ce.cha] From your experience would you say Madeleine is the mem hog,
    81799 [drbrain segm] 03=20

^ Ruby GC eating my VALUE on the stack
81033 [sean cSePlso] I thought I had read everything I needed about the Ruby GC, but
81054 [batsman.geo ] Is there any difference if you declare the VALUE to be volatile?
81058 [sean cSePlso] That solved the problem!  I guess because volatile forces the variable

^ How do I POST a multipart request?
81042 [rvarghese us] I am writing a script to send a POST request to a webserver.

^ [ANN] Log4r 1.0.4 and update on adopting log4r
81043 [leon ugcs.ca] Oh no, just when I wanted to quit this popsicle stand, I get sucked back in!

^ Re: [ANN] Log4r 1.0.4 - where to download
81044 [leon ugcs.ca] Argh, this is an example of why I need help. :-)

^ GOOD DAY
81045 [williammadu ] ATTN; SIR/MADAM.

^ where can I get ssleay.dll for net/https usage?
81049 [chrismo clab] Sorry for the idiot post, I'm running low on time ... where can I get
81074 [nordehacedod] You'll find it in the OpenSSL package available at

^ WEBrick and mod_ruby performance
81057 [quixoticsyco] I've been scoping out ruby for an upcoming server project.
+ 81062 [ahoward fsl.] you should definitely check out fastcgi and the ruby fastcgi binding.  it's
| 81124 [d.borodaenko] What are you comparing it against: plain cgi, mod_ruby, or webrick?
| + 81145 [quixoticsyco] ahoward's post was unclear to me as well.
| + 81155 [ahoward fsl.] plain cgi.
+ 81592 [kwatch lycos] You can try 'esehttpd'
  81595 [mgarriss ear] Why am I just now hearing about this?!  Ugh.  $40 on an apache book, oh
  + 81598 [michael_s_ca] How "production quality" is esehttpd?  (As compared to apache)  Speed
  + 81607 [ahoward fsl.] this looks o.k. - but the ENTIRE webserver is blocked when running ONE cgi
    81611 [mgarriss ear] Ah, ugh, dang, and that graph on the esehttpd site was so cool.  Well
    81614 [aredridel nb] cgi.rb is that abstraction.  It handles apache requests, cgi and
    + 81618 [mgarriss ear] Excuse my noobness on this.  So when I do a look on RAA I find
    | 81619 [idan idanso.] FastCGI is a communication protocol, so it requires support from both ends,
    | 81624 [mgarriss ear] Thanks for the info.  I will look into fastcgi more carefully now.
    + 81620 [idan idanso.] Not entirely correct, fcgi can create cgi.rb enviroment, but that's not it's

^ This email is personal please and from Alhaji Mantu
81061 [alhajimantu ] Dear Sir/Madam

^ optparse documentation and/or examples
81063 [mwilson13 co] Does anyone have links to documentation for optparse (now a part of the
81069 [tksano m3.kc] Download the OptionParser (optparse's formal name?) package from

^ [OT] Unit Tests and Encapsulation
81075 [easco mac.co] This may be off-topic in a Ruby list, although I have noticed that a
+ 81078 [mwilson13 co] I know nothing about bezier curves or drawing programs, so this may not
+ 81095 [batsman.geo ] This might sound silly, but would it be possible to overload, say, #==
+ 81101 [gsinclair so] It might sound icky, but isn't that what unit tests are supposed to
+ 81112 [michael_s_ca] go
| 81123 [dan tastapod] I heard an interesting take on testing an implementation of an
+ 81113 [wsdng online] I think unit test should test at least the public interface but aren't
+ 81122 [sera fhwang.] Most of the time, if you're having trouble unit-testing a class, that
| 81129 [easco mac.co] Well... I don't think that is the case in this instance.  The class
| + 81133 [wjl icecaver] This isn't directly related to this particular problem, but here is an
| | 81140 [bg-rubytalk ] I also regularly deal with cases that involve interfacing to external
| | + 81141 [aredridel nb] You can always test the failure cases, too -- and when you find one you
| | | 81147 [bg-rubytalk ] Sure that's easy.  But what happens if you can't test the "success" case
| | + 81143 [wjl icecaver] Just to add some more fuel to the discussion: another real general place
| | + 81200 [norris gfms.] I've asked similar questions when unit-testing screen-scraping applications.
| + 81247 [sera fhwang.] I'd recommend doing this exactly. After a while, any system I've
+ 81144 [wkb airmail.] Scott,

^ Re: [On Topic] Unit Tests and Encapsulation
81076 [mwilson13 co] I think this is completely on-topic.

^ optparse versions and sources
81079 [Meino.Cramer] when I look at the homepage of the author of the optparse package,
81080 [nobu.nokada ] It is obsolete now.

^ Multiple gsub statements in one line possible?
81081 [keuler porta] All-
+ 81082 [hal9000 hype] What probably happened s that the first gsub! didn't actually change
| 81083 [keuler porta] Hal-
+ 81084 [code joechen] Forgive me for stating the obvious... Do you have to do in-place gsub?  Can
| 81096 [batsman.geo ] and even
| 81185 [keuler porta] Joe- Good point. I guess I don't need an in-place gsub (!)
+ 81085 [gsinclair so] Further to Hal's response, if you remove the !s then everything will be OK.

^ Any way to advance to an iterator prematurely?
81087 [keuler porta] All-
81088 [djd15 po.cwr] (1..30).each do |x|
81186 [keuler porta] Thanks Dan. Works fine!

^ Print to the printer
81094 [sabymus redi] I have just started RUBY. But is there anything to print
81121 [easco mac.co] Printing to the printer is an operation that is very specific to each
81149 [sabymus redi] Thanks for your mail. I want to use it for LINUX and Windows
81172 [hal9000 hype] Do not be surprised if there are other Ruby users in Calcutta. The book

^ Ruby interpreter thread safety
81100 [thomas First] I have a scenario where a ruby extension module starts real/os/heavy-weight
+ 81103 [nobu.nokada ] Run the ruby interpreter in a particular os-thread, and use
| 81110 [thomas First] Could you give me an example of such a system provided queue?
+ 81104 [jweirich one] The general solution for any threaded code making calls to a non-thread
  81108 [thomas First] Got it!

^ Tanaka Akira's PrettyPrint usage? Are there any examples?
81106 [ejb theworld] I'm interested in using the prettyprint module available from RAA.
81142 [ruby-talk wh] Anything in particular you want to know?
+ 81160 [ejb theworld] Without sounding incredibly stupid, I want to know how to feed it ruby code and
+ 81161 [ejb theworld] Also, did I make a mistake in downloading the pp application from RAA?

^ REXML - external entities
81107 [tobias.grimm] Unfortunately, the REXML-site seems to be down, but maybe you can help

^ Printing in Ruby
81117 [sabymus redi] I made a simple thing in ruby for printing to the printer.
81138 [aredridel nb] [clip]

^ Thanks to all
81118 [sabymus redi] Sorry, I didn't check mailbox for about 5 days. The members send
+ 81150 [surrender_it] I use ruby-talk as a newsgroup (comp.lang.ruby), I think that could be
+ 81274 [martindemell] Add your name here: http://www.rubygarden.org/ruby?IndiaGroup

^ Enterprise ruby applications
81119 [dan tastapod] I'm looking for evidence to present Ruby as a suitable language for
81125 [tobiasreif p] "NASA Langley Research Center uses Ruby to conduct simulations [...]" etc
81127 [dan tastapod] Thanks Tobias.

^ backtick calls on Windows (9*)
81128 [tobiasreif p] I'm disappointed to see that stuff like www.ruby-talk.org/9739 and

^ Compilation errors for FXRuby-1.0.25
81130 [jfh cise.ufl] FOX Version	: fox-1.1.34
+ 81137 [jfh cise.ufl] Ack, I obviously can't read -- this version of FOX isn't supported by FXRuby.
+ 81139 [lyle users.s] As stated on the home page (I wasn't kidding!), FXRuby 1.0.x is only

^ Re: [Re: Class libpcap]
81136 [hackerotaku ] Thank you very much i am trying it out now

^ [ANN] ruby-mp3info 0.2.1 released
81146 [moumar rubyf] the new version of ruby-m3info has been released. This is v0.2.1 and
81729 [NOSPAMcs96an] Ah...  Fame at last!

^ "Code Generation in Action" review at Slashdot
81151 [fxn hashref.] Since "Code Generation in Action" was mentioned a few weeks ago I

^ how to get the list of all classes?
81152 [tobiasreif p] I'm writing a syntax highlighting program [code] for Ruby code listings
+ 81153 [wjl icecaver] $ ruby -e 'x = []; ObjectSpace.each_object { |o| x << o if o.class ==
| 81154 [rpav mephle.] x = []
| 81157 [markjreed ma] It seems odd to me that ObjectSpace doesn't mixin Enumerable, but
| + 81158 [wjl icecaver] I agree that having ObjectSpace enumerable would make sense. Actually, the
| + 81182 [androflux so] Yes, that's seemed odd to me at times as well.
|   + 81205 [markjreed ma] MJR = me
|   | 81206 [thomas_adam1] I agree with Jason here, alias is the way to go, it even speeds it up on
|   + 81209 [dblack super] class << ObjectSpace
+ 81241 [tobiasreif p] How to get the list of names which includes "print"?
  81242 [tobiasreif p] Sorry, please ignore the previous post.

^ [ANN] sys-win32etc 0.0.4
81159 [djberge qwes] This message is in MIME format. Since your mail reader does not understand
81179 [phasis bclin] when
81214 [djberge qwes] Thanks!  That worked, though the wszTemp declaration didn't need to be

^ Curriculum
81162 [hugo webfree] Hugo Kazumi Kavamura

^ TCPSocket and rescue
81163 [probertm NOS] I am trying to telnet to a large number of boxes.  I have created a
81197 [decoux moulo] you catch only StandardError, write it
81213 [probertm NOS] Guy did say ...

^ using tktable under ruby
81166 [ferenc engar] I am building a db-handling app in ruby, with Tk GUI. I have found the
81176 [nagai ai.kyu] Unfortunately, current Ruby/Tk doesn't have a general framework for
81227 [ferenc engar] Great, I wanted to write something similar (using install_cmd), and now

^ Difference between .. and ... in boolean ranges
81167 [odain2 nospa] I'm a bit confused by some Ruby behavior I'm seeing with ranges.  As I
+ 81170 [sean cSePlso] Sean O'Dell
| + 81171 [bg-rubytalk ] That'll probably work... but I'm curious to know if Oliver Dain's method
| | 81174 [odain2 nospa] Its my understanding that its not a fluke but a design decision.  The
| + 81269 [martindemell] Yes, but this is a single boolean not a boolean range. From what I
|   81277 [odain2 nospa] I think you've got the 2 dot case right, but the 3 dot case is wrong.
|   81278 [martindemell] $ irb
|   81282 [odain2 nospa] The above code is, I think, interpreted completely differently that
|   81291 [martindemell] Sorry about the confusion - I was agreeing with your point about how it
+ 81178 [jzakiya mail] for second case, you get output: "Not in the range: 5"
| 81220 [jzakiya mail] equivalent oneliners
+ 81181 [shin faculty] I think i can answer.

^ Code beautifier (was Re: Tanaka Akira's PrettyPrint usage? Are there any examples?)
81168 [ruby-talk wh] If you run pp.rb from the commandline, the library will perform some

^ module_function semantics
81180 [william will] I'm trying to understand some code in the stdlib (drb/drb.rb, to be
81198 [decoux moulo] module_function make a private method and a public singleton method.
threads.html
top