96227-98016

95994-97895 subjects 96460-99784

look/feel of Tk.getOpenFile
96227 [Ara.T.Howard] rtk'rs-
96265 [ferenc@en ar] Maybe Tk resources.

VFS
96228 [akr@m1 n. rg] open-uri.rb and pathname.rb provides a VFS for HTTP, FTP and local

prevalence (was: Re: [ANN] Madeleine 0.6)
96241 [vadimn@re ha] ...

Makefile for mysql-ruby?
96244 [rich@li hi o] I really hope nobody gets offended by my plea for some mercy.
96304 [NOSPAMcs96an] Try ruby-mysql instead of mysql-ruby.  Its written in pure ruby so

How to get internal state of DateTime in seconds
96247 [smejmoon@ya ] How do you get internal state in seconds of DateTime instance?
+ 96250 [stelid-6@st ] Use to_i if you want it as an integer number of seconds
| 96301 [smejmoon@ya ] There is no DateTime#to_i
| 96305 [ahoward@fa t] iff
| 96312 [cc1@ce .w st] Umm I don't understand how this relates, I can construct Time objects
| + 96318 [hal9000@hy e] simple method sec2dhms that took seconds and returned [days,hours,
| + 96320 [ahoward@fa t] i think i would be suprisingly difficult to do this for anything other than
|   96331 [cc1@ce .w st] Utc doesn't start out at a completely zeroed out date, so you
+ 96254 [sroberts@un ] 'possible Time & DateTime RCR: reconciling and extending their apis'

script loading question
96248 [greg@br nd .] I like working in the style of Java (one class per file) for some projects
+ 96249 [greg@br nd .] Um, ok, it worked in IRB but not in my script.  The hash if referencing a
| 96253 [neoneye@ad l] Maybe do ?
+ 96251 [surrender_it] I suppose this is reasonable, even if I'd simplify it using an agent/
  96255 [greg@br nd .] Woo hoo!  thanks much.  I could not find the info about const_get(name).
  96284 [assaph@av ya] const_get(name).

tk bind help
96252 [Ara.T.Howard] rtk'rs-
96267 [ferenc@en ar] txt=TkText.new()
96280 [ahoward@fa t] thanks. that worked.

Prototyping ruby? (Based on Software Maintenance and Prototype Based  Languages)
96263 [ferenc@en ar] I develop a ruby/tk app, and although there is no compilation, the app's

IO.seek behaving strangely on FreeBSD 4.9
96272 [whitton@at a] Initially I thought that this was a bug with rubyzip, but it appears that
96277 [neoneye@ad l] I get the EINVAL error on freebsd5.1
96281 [whitton@at a] Anybody here have a FreeBSD 4.9 system they can test on with ruby 1.8.1?
96282 [matz@ru y- a] I did.  It raises Errno::EFBIG.
96344 [thomas@Fi st] Is this something the ruby interpreter will work around?
96354 [matz@ru y- a] We just can't provide every work around for every bad behavior on

Exception#set_backtrace doesn't have any effect
96273 [neoneye@ad l] I want to attach debug information to some of my exceptions, however I
96278 [matz@ru y- a] It's a bug fixed in the latest CVS.
96279 [neoneye@ad l] Thanks.. I better use cvs-head ;-)
96283 [neoneye@ad l] Installation via cvs went fine.. no problems.

string !~ string, not possible in cvshead
96285 [neoneye@ad l] While upgrading and reinstalling misc modules I regulary use, I bumped
96289 [gfb@to es ft] [mac.gfbm:51]bystr> irb
96296 [neoneye@ad l] Thanks for the answer.

Kwartz feature requests
96287 [shu@ru ur n.] Kuwata-san he,
+ 96292 [usenet@an re] <span id="load:'first.plogic'"/>
| 96297 [shu@ru ur n.] Bah, now I feel stupid. :)
+ 96346 [shu@ru ur n.] The solution seems to be as simple as adding a || chr == ?? in Scanner#word?
  96465 [kwa@ku at -l] Sorry for late reply.
  96475 [shu@ru ur n.] Quite all right. :)

[ANN] Kansas 0.0.1
96288 [khaines@en g] What Is Kansas?

how to match acented letters on windows
96298 [surrender_it] I just noticed that accented letters like טאיעשל (actually, if someone
96302 [Stephan.Kaem] irb(main):001:0> a = "Wrongly ?cc?nt?d"
96303 [peter@se an ] Well if your locale was french then you would expect the accented
96309 [discord@ma .] I wouldn't want it set based on a pre-set locale... I don't think that
+ 96328 [neoneye@ad l] Have a look at this document for more info about i18n/m17n in regexp
+ 96349 [surrender_it] I like perl solution, take a look here at the section 'matching

[OT] Re: Makefile for mysql-ruby?
96307 [ahoward@fa t] none taken.

HTML parsing by REXML
96308 [argentoff@rt] Sorry for returning to sorta well-discussed (but not in a sense I need) topic.
+ 96316 [lirion-remov] Do I understand your problem right, that REXML gives you an Exception
| + 96323 [discord@ma .] html is not xml. xhtml *is* xml.
| + 96333 [yanfali@be t] Yeah I had the same problem recently.  I think since html allows lax
|   96341 [bg-rubytalk@] It is more forgiving, and pretty easy to use.
+ 96351 [alex@pr ss r] You want Ned Konz's HTML tools.

imap problem
96310 [djberg96@ho ] Ruby 1.8.1

error handling
96311 [mopthisandth] I'm evaluating a function at various values in a for loop. The
+ 96314 [discord@ma .] This looks like a bug... sqrt() is recursing too deeply here, 1461
| 96337 [bob.news@gm ] "Mark Hubbart" <discord@mac.com> schrieb im Newsbeitrag
| + 96359 [daniels@pr n] You might want to upgrade to ruby 1.8. I don't believe sqrt is a
| + 96367 [discord@ma .] Oh. I hadn't realized that sqrt was supposed to recurse that much at
| | 96379 [bob.news@gm ] "Mark Hubbart" <discord@mac.com> schrieb im Newsbeitrag
| + 96482 [mopthisandth] Yes, one single function is 1.5Mb. It is rediculous, but true. I tried
|   96823 [bob.news@gm ] "Phidippus" <mopthisandthat@hotmail.com> schrieb im Newsbeitrag
+ 96480 [mopthisandth] I'm having hard time pinpointing where the error is generated since
  96481 [neoneye@ad l] I don't know if overloading Math.sqrt will help you?

SOAP and OpenSSL
96315 [srubin@fs sy] There isn't a whole lot of documentation online for the SOAP and OpenSSL

parent of TrueClass, FalseClass
96321 [Ara.T.Howard] any good reason these would not have a common parent Bool or something?
+ 96325 [rpav@me hl .] module Boolean; end
+ 96335 [bob.news@gm ] "Ara.T.Howard" <Ara.T.Howard@noaa.gov> schrieb im Newsbeitrag
+ 96356 [matz@ru y- a] Is there any good reason to have a common parent Bool, where true and
  + 96378 [jean_hugues_] Skip this msg unless you enjoy prospective/theoretical thinking about the
  | 96383 [batsman.geo@] If you have a real constraint propagation engine, the hint is unneeded.
  + 96396 [ahoward@fa t] well - no, except that i'm sure alot of code would break if we pulled out
    + 96403 [batsman.geo@] Object#to_bool has been suggested quite often
    + 96407 [neoneye@ad l] How about  (untested)
    | 96423 [ahoward@fa t] the "don't care" (maybe) value is a valid value in boolean logic - it could
    | 96525 [cpine@he lo ] Well, this is true of integers as well, but surely you aren't suggesting that we have some "value" of the Integer class which means "this is an integer, but we don't care which one".  That's not a "value", it's an unknown, a variable.
    + 96528 [cpine@he lo ] How about this?

EURUKO II ?
96324 [Stephan.Kaem] is there any news about a Ruby conference in Europe?
96332 [armin@xs .d ] no - we still have not decided about Berlin or Karlsruhe.
96347 [me@ib tt .n ] i can ask at Humboldt University of Berlin, if there is interest.

Problems with mysql-ruby Configuration
96326 [jason@jv eg ] I'm trying to compile mysql-ruby on my web host.  My web host has MySQL

Re: Strange rubyzip behaviour (Errno::EFBIG) - Errno::EINVAL vs Errno::EFBIG
96327 [thomas@Fi st] Aah, on my systems (ruby 1.8.1 (2003-12-25) [i686-linux] and ruby 1.8.0
96358 [nobu.nokada@] Why not just SystemCallError?

OT: VCS systems (was Re: Dormant projects (was Status of AOP in Ruby) )
96330 [rasputnik@he] For small values of 'like'...
+ 96384 [andre@di ir ] Anyone has ever tried monotone (http://www.venge.net/monotone/)?
+ 96392 [  amk@am .c ] Using the svnserve network server avoids the need for Apache 2 (though
+ 96630 [roberto@RE O] [courtesy cc of this posting sent to cited author via email]
+ 98010 [austin@ha os] The db4 dependency is not going away, but you can run SVN in a standalone
| + 98012 [andre@di ir ] I remember someone mentioning (I think it was on the OpenBSD lists)
| + 98013 [rasputnik@he] Since posting that , someone suggested building a static svn binary
+ 98011 [austin@ha os] Actually, svk (I think that's the name) implements a distributed form of
  98016 [batsman.geo@] Read http://blade.nagaokaut.ac.jp/ruby/ruby-core/2730... IIRC gabriele

Modules and TestUnit
96338 [djberg96@ho ] If I have a module, and I want to test that module's methods
96381 [david@lo dt ] I've done the latter with much success. Unless your module modifies the
+ 96388 [nathaniel@ta] ...
+ 96416 [nathaniel@ta] If the module does interfere with tests running, it's pretty easy to

[Win32] [ANN] Gui4Cli - Ruby interface (was Re: I?m too dumb to program)
96342 [dooby@d1 .k ] Okay.
96677 [rmb25612@ya ] Thanks daz!

dbi, oracle parse issues again
96343 [djberg96@ho ] Ruby 1.8.1

[ANN] AEditor 0.12 released
96350 [neoneye@ad l] download

[ANN] RDT 0.4.0 Released
96357 [cwillia1@ro ] ...
+ 96360 [jim@we ri hh] Excellent!  I'm taking a look at this now.
| 96369 [daniels@pr n] Looking nice.
| + 96370 [nick.faiz@ce] This is great, an eclipse plugin for Ruby! I'd been wondering if one had
| | 96399 [khaines@en g] It's great.  I;ve been using RDT 0.3 for a couple months now, and I love
| + 96449 [cwillia1@ro ] The project is a sourceforge.net project and therefore the bug tracker
+ 96372 [surrender_it] cool !

Wee RDoc enhancement
96365 [dave@pr gp o] As an experiment, the latest CVS RDoc from ruby-lang now supports

Clepsydra
96374 [harryo@qi so] I finally got around to listening to "Fears" this afternoon.

Re: Clepsydra  ... Whoops!
96375 [harryo@qi so] Obviously sent that to the wrong address!  I'd recommend having a listen to Clepsydra, though :-).

swig problem
96376 [dom@si na co] I am trying to wrap a function that either takes a char * or NULL
96386 [tpeters@in a] Rerun swig and recompile your extension before trying again ;)

Mailing List in Ruby
96380 [martin@zs fh] I am looking for some mailing list software in ruby (sort of similar to

Re: [ANN] Instiki 0.2.5: Works properly on Windows
96382 [botp@de mo t] just downloaded it and tried, and yes, it works immediately.

ruby/sdl and macos x error
96389 [jpt.d@ro er ] require 'sdl'

CGI oddity
96394 [sdmitry@lr .] I'm trying to use cgi.rb from stdlib, and I have following problem. When I use GET to send data to script,
+ 96395 [decoux@mo lo] well, if you have a FORM just add an INPUT tag with the type hidden,
| 96397 [sdmitry@lr .] This was just an example, there could be a lot of other query arguments and I'm not sure
+ 96398 [david@lo dt ] class CGI
  96402 [sdmitry@lr .] Thanks, I'll checkout the code and see how can I use it :)

The design of join
96401 [jim@we ri hh] I am also having problems with the phrase "much more fundamental".  I
96408 [ahoward@fa t] <snip very cool design>

Variable names
96404 [dlandrith@ma] def should_be(types, varName)
+ 96405 [dave@pr gp o] You have the file name and line number, and you may even have the file
| + 96425 [dlandrith@ma] I'm looking for something more general.  We don't actually have such a
| | 96444 [surrender_it] would'nt a proper test-only database fit the need better than type
| + 96431 [batsman.geo@] This looks like a restricted version of Eivind Eklund's types.rb. Here's
|   96441 [dlandrith@ma] I looked at this before we rolled our own, and decided against using it
+ 96406 [decoux@mo lo] Well, with this
| 96424 [dlandrith@ma] From what I understand, since 12 is a FixNum, a and b end up being
| + 96428 [discord@ma .] # set a, b and c; set a's @foo instance variable to 42
| + 96430 [djd15@po cw ] This is incorrect.  a and b would both point to the same FixNum object.
| | 96432 [dlandrith@ma] Whenever a method is called on an object, one and only one symbol is
| | + 96433 [dave@pr gp o] (1 + 2).abs
| | | 96435 [dlandrith@ma] Replies like this make this list next to useless.
| | | + 96436 [gfb@to es ft] Remarks like this make such persons unwelcome to this list.
| | | + 96437 [dave@pr gp o] I'm sorry you felt like that: that certainly wasn't my intent. I was
| | |   96442 [dlandrith@ma] Now that's helpful.  Thx.
| | + 96439 [jim@we ri hh] That statement is incorrect.
| | | 96443 [dlandrith@ma] Fair enough.  Does this work?
| | | 96445 [msparshatt@y] This thing is a reference to the receiving object.  you can use self#id
| | + 96473 [flgr@cc n. e] Or that somebody just isn't interested in talking about what you asked,
| | + 96474 [djd15@po cw ] I wasn't trying to be pedantic.
| | + 96519 [cmiller@pa t] "You guys are so unhelpful. I still don't know where I can find the
| |   96527 [dlandrith@ma] Just the same, you've hit upon why I seldom find this list to be very
| |   + 96530 [jason@jv eg ] Have you considered that perhaps the reason that this list is seldom helpful
| |   + 96532 [jgb3@em il b] David,
| |   + 96534 [djd15@po cw ] Let me see if I can do better this time.
| |   + 96537 [dave@pr gp o] I think tis might well be the underlying issue. To understand _why_
| |   + 96547 [hal9000@hy e] OK, let me take a stab at this.
| |     + 96557 [dlandrith@ma] Immensely.  Your post obviously took some time and effort to write.
| |     + 96575 [dblack@wo bl] This is a test of the news gateway.  Sorry to flood.  Dennis and
| + 96469 [decoux@mo lo] You have not understood my example. Suppose that you want to define a
+ 96440 [neoneye@ad l] You want something like this ?
+ 96459 [gsinclair@so] Since what you want doesn't (to me) intuitively exist, I suggest

Madeline - avoiding Command objects by 'Delegate'?
96409 [itsme213@ho ] Madeline is a great persistence alternative to databases. However, explicit
96411 [david@lo dt ] Have a look at madeleine/automatic.rb. It includes an interceptor
96426 [itsme213@ho ] Thanks! Is is nifty.
+ 96488 [ndrsbngtssn@] Ruby's marshalling of instance variables is more flexible than in Java,
+ 96489 [ndrsbngtssn@] Ruby's marshalling of instance variables is more flexible than in Java,

Borges - coupled to html interface?
96410 [itsme213@ho ] Why is Borges (or Seaside) coupled to an html/browser interface?
+ 96412 [khaines@en g] I would guess it's mostly because HTML is the most obvious and immediate
+ 96413 [chad@ch df w] # Why is Borges (or Seaside) coupled to an html/browser interface?
+ 96418 [drbrain@se m] Its not, really.  I asked a related question on the Seaside list in

parent of TrueClass, FalseClass, continued
96414 [djberg96@ho ] You're joking a little, I know, but consider the case of Oracle.
96415 [khaines@en g] Heh.  I skipped a lot of the middle of this thread.  Now I am going to

[newbie] assert_writes implementation
96417 [alex_verk@ma] that a particular block writes something to an output stream.
+ 96419 [nathaniel@ta] Would StringIO help?
| 96422 [alex_verk@ma] Yup, that's the thing I was looking for! Thanks for enlightening me.
+ 96420 [drbrain@se m] =20

[newbie] What is the difference between dup and clone ?
96434 [alex_verk@ma] OK, clone copies frozen state, and dup doesn't (but both copy tainted) -
96490 [g_ogata@op u] Well, one distinction is that singleton class stuff is `clone'd, but

[ANN] RedCloth 2.0.3 -- A Textile Humane Web Text Generator
96438 [ruby-talk@wh] RedCloth 2.0.3.  Available in RAA.  Shortly, from RubyGems: gem

Learning Ruby, was a C geek...
96447 [nickjohnson@] As I'm learning Ruby, I've decided to write a few programs in Ruby to get
+ 96448 [tom@in oe he] Welcome aboard!
+ 96450 [rubyguru@ho ] A few suggestions, if I may.
| 96452 [asim@pa r. o] Another suggestion would be to remove the trace statements, which
+ 96453 [walker@le ha] switch (opcode) {
| + 96462 [nickjohnson@] Yeah, thats cool.
| | 96464 [walker@le ha] They're the same thing. The following two are identical
| | 96483 [ksibilev@be ] irb(main):001:0> l = lambda{ break }
| | 96484 [ahoward@fa t] can you elaborate for those of us who are seeing double after a really long
| | 96485 [ksibilev@be ] 1. lambda{} is the same thing as Proc.new{}, except lambda has an arity
| | 96487 [ahoward@fa t] very cool - good to know.
| + 96586 [im_not_givin] AARRGH!  The suspense is killing me!
|   96602 [paul@lu n. e] Could you please send mail using a valid email user/domainname so that
|   96622 [nickjohnson@] With regard to hating spam: I would recomend www.spamgourmet.com; I never
+ 96463 [dooby@d1 .k ] Technically, case isn't as sexy in Ruby as switch is in C, but I think
+ 96468 [ptkwt@ar cn ] One thing I notice about your code that seems very C-ish is that you use
+ 96471 [msparshatt@y] I haven't got any advice over what everyone else has suggested for the

ruby, cygwin and paths
96451 [guslist@fr e] This is almost not a ruby question... But I need a ruby solution!
+ 96454 [achou@te le ] ...
+ 96455 [hal9000@hy e] There's always the "ugly" way -- don't say you heard it here.
  + 96457 [guslist@fr e] path = `cmd /c dir /b #{file}`
  | 96461 [dooby@d1 .k ] #------------------------------------------------------------------------
  + 96458 [guslist@fr e] path = `cmd /c dir /b #{file}`
threads.html
top