83342-83743

83142-83786 subjects 83564-84219

^ log4r style
83342 [gruby sysarc] I have been looking at log4r for a project that involves a
83346 [usenet1 nosp] Maybe you could create a simple Module for it and include it in every

^ YAML warning
83344 [jim freeze.o] src/yaml.y.rb:208: warning: ambiguous first argument; make sure
83475 [ruby-talk wh] There should be no yaml.y.rb references in YAML modules later than 0.49.2.
83489 [jim freeze.o] Ahh yes. It was an old copy of yaml lying around.

^ Re: bidirectional iterators, seeking advices
83347 [thomas First] I'd say no. Feel free to have one internally, but you don't have to show it
83348 [bob.news gmx] "Simon Strandgaard" <qj5nd7l02@sneakemail.com> schrieb im Newsbeitrag

^ Re: your mail
83350 [drbrain segm] e': No
83351 [austin halos] I'm not sure if these are present in the current packages, but in the next

^ I NEED YOUR ASSISTANCE
83358 [felixking ku] Investment opportunity

^ like vi.agra, but lasts ll weeked btkeu ubge
83383 [oe795zg aol.] <html>

^ Re: Article on ARTIMA - a little bit emotional
83390 [kingsley ice] One of the reasons I love Ruby is because of how I feel when I code in it. I

^ mixing in class methods
83391 [markjreed ma] Okay, probably a dumb question, but: is there any way to define
83392 [rpav mephle.] module M
+ 83393 [Eric.Anderso] I can't remember the details off the top of my head by I think it involved
+ 83397 [gsinclair so] Alternatively,
  83399 [markjreed ma] Okay, those both work, assuming all I want is class methods from the module.
  + 83402 [nathaniel NO] module M
  | + 83406 [markjreed ma] Perfect!   I keep forgetting that most of the innards of Ruby are
  | + 83418 [swap gmx.net] Actually the append_feature + super trick is somewhat
  |   83425 [bob.news gmx] "Christoph" <swap(news_chr)@gmx.net> schrieb im Newsbeitrag
  |   + 83440 [markjreed ma] Yes, but what if you add a 'def instance_method1' to M?    Class C
  |   | 83550 [swap gmx.net] On a serious note: The following might give you an idea on
  |   + 83548 [swap gmx.net] Hm, just being my silly self, what about the following
  + 83404 [gsinclair so] Yes, it's too much to ask :)  Ruby doesn't know the difference between
    83417 [ahoward fsl.] ~/eg/ruby > cat classvar.rb

^ Accessing IRunningObjectTable
83398 [qewrty2 yaho] How do you access the IRunningObjectTable in windows?  I would like to

^ Under 16 only!
83403 [decepgal car] This is a multi-part message in MIME format.

^ URGENT   ASSISTANCE
83407 [graceabonime] The Palace of King of Ogoni Kingdom,

^ Getting a list of the files in a directory
83408 [revision17 p] a bunch of files in a directory to a way I want them to be (just to
+ 83409 [mwilson13 co] The good thing about these questions is that they are somewhat easier
+ 83410 [markjreed ma] It's in the Dir class, not the File class, which is why you didn't
+ 83430 [jim freeze.o] The easy way is to use the glogging feature of Dir#[].
  83434 [bob.news gmx] "Jim Freeze" <jim@freeze.org> schrieb im Newsbeitrag
  83441 [jim freeze.o] That works to. :)
  83459 [bob.news gmx] "Jim Freeze" <jim@freeze.org> schrieb im Newsbeitrag

^ Absolute class name?
83411 [markjreed ma] If I do
83412 [nobu.nokada ] It works in 1.8.
83443 [markjreed ma] MJR =  me
+ 83445 [decoux moulo] It was corrected a little after the release of 1.8.0
| 83447 [markjreed ma] Ah!  Thanks.  So any idea when these little fixes going to add up to a
| 83452 [markjreed ma] Also, where can I get this patch?  It's not in the 2003-09-09 diffs
| 83453 [markjreed ma] irb(main):001:0> RUBY_RELEASE_DATE
| + 83513 [nobu.nokada ] The parser in irb hasn't been updated.
| + 83514 [matz ruby-la] irb doesn't support this syntax yet.
|   83572 [markjreed ma] Oh, so I see.  Thanks!
|   83579 [matz ruby-la] Ah, historical reason, reserved to be solved in the future (Rite).
+ 83505 [markjreed ma] NN = Nobu Nokada
  83512 [nobu.nokada ] It's for 1.6, constant scope rule has changed in 1.8.

^ I AWAIT YOUR URGENT RESPONSE
83413 [peterujani n] This is a multi-part message in MIME format

^ C or C++?
83416 [code joechen] I'd like to start writing Ruby extensions.  Does it make a difference
+ 83419 [seth cql.com] Write using the same language and libraries that Ruby itself is written in.
+ 83423 [sean celsoft] Ruby is really C-oriented.  It longjmps on errors, so the stack doesn't
| 83426 [thomas First] I think I understand what you mean. Is it that destructors may not be called
| + 83428 [bob.news gmx] "Thomas Sondergaard" <thomas@FirstNameGoesHereSondergaard.com> schrieb im
| + 83460 [sean celsoft] Destructors don't get called, correct.
|   83462 [decoux moulo] With C++, never try to mix 'try {} catch {}' with rb_protect() even with C
+ 83431 [maillist bes] Why do you want to write extensions? Why cant you write ruby code? If
  + 83435 [aleksei.guze] I think C is useful for acessing some system resources.
  + 83436 [dblack super] It's not an either-or choice; lots of Ruby programmers do both.
    83450 [chad chadfow] # Hi --

^ Instance- and class-variables (was Re: mixing in class methods)
83420 [gsinclair so] Yeah, I know the theory (but thanks for summarising anyway), but I haven't
83437 [dblack super] class Project
83442 [markjreed ma] The assymetry between class/instance variables and class/instance
83444 [decoux moulo] No, no : there are only 2 categories.
83446 [markjreed ma] Yes, I know:  @ and @@.  @ variables are instance variables of an object, and
83458 [dblack super] Also, every object should have the right to maintain state in instance
+ 83461 [dblack super] And of course the fact that it might actually be self.class.class_eval
+ 83536 [swap gmx.net] The behavior (scoping rules) of class variables changed a lot (for the
  83546 [swap gmx.net] ops this should be

^ Tips tambahan melimpahkan usaha
83427 [setyo_war ya] Selamat berbahagia para netter.

^ http-access2 POSTing
83432 [calvin8 t-on] I've been expecting a certain eMail for some time now, and I have never
+ 83449 [ahoward fsl.] so sending the authentication this way works.
| 83456 [ascalvin8 ne] Yes. After that, it get's stored in a cookie (sorry, forgot to post that
+ 83451 [nakahiro sar] I know nothing about this site but if the site use HTTP-Cookies,
  + 83454 [nakahiro sar] Wrong.  Without calling
  + 83463 [ascalvin8 ne] Thanks for your input. I toyed around with that a bit and found out the
    83486 [calvin8 t-on] By the way, dumping the output of the script to STDERR shows the POST
    83498 [calvin8 t-on] Well, http://dom.neopoleon.com/commentview.aspx/c27f3f0d-9b2c-40b8-9607-
    83552 [nakahiro sar] I'm sorry for your trouble...  I seem to break the POSTing code

^ overload rb_protect
83433 [thomas First] To use rb_protect you have to wrap the function you want to protect so it

^ Support for arbitrary iterators in Enumerable?
83438 [pcdavid emn.] I really like the way Ruby handles iteration (each/yield), and

^ Partnership and Investment Tender.
83439 [bensmith web] Dear Sir,

^ xml in Ruby
83448 [paul_vudmask] The biggest problem i have with Ruby is the sleepness
+ 83455 [chad chadfow] # Basically it is an attempt to roll xml as a native
+ 83457 [erik terpnet] Last year I made a quick hack that could do something like that.
  83470 [paul_vudmask] In-reply-to: 83448
  83473 [chrismo clab] The point of contention seems to be whether or not this is included in
  + 83476 [chad chadfow] #
  | 83483 [paul_vudmask] xml in Ruby
  + 83482 [paul_vudmask] "Chris Morris" <chrismo@clabs.org>
    + 83485 [chrismo clab] Sorry, poor word choice on my part, I didn't intend for my comment or
    + 83502 [jamesUNDERBA] It already does: String.

^ Re: xml in Ruby or no xml it's just a question
83464 [paul_vudmask] "Chad Fowler" <chad@chadfowler.com>
+ 83465 [zdennis mkte] I think it would be wonderful if Ruby could handle XML somewhat how Flash
| 83468 [chad chadfow] # I think it would be wonderful if Ruby could handle XML somewhat how Flash
| 83491 [zdennis mkte] Some of the XML stuff is custom XML written in Actionscript(AS) by Branden
| 83494 [paul_vudmask] Did you see erikss code ?
| 83495 [zdennis mkte] Oh my bad, must have missed that one. I thought he was saying he would have
| 83503 [paul_vudmask] I think he was too and so do i. It's time i checked
+ 83467 [chad chadfow] # >>--------
| 83471 [paul_vudmask] No, when i say 'style' i mean...what i want my 'data'
+ 83469 [dblack super] That's how it works: there's a core language, and then there are
| 83472 [paul_vudmask] That's how it works: there's a core language, and then
| 83479 [austin halos] Erm. Yes. And Ruby does have a single core type: an object. Sure,
| 83487 [paul_vudmask] No, we've just got a difference of opinion. Your
+ 83477 [austin halos] "Chad Fowler" <chad@chadfowler.com>
  + 83488 [paul_vudmask] <<
  + 83501 [jamesUNDERBA] And this extends perhaps more so to such things as RDF and (XML) Topic
    83504 [paul_vudmask] of these ideas have been disccussed on the
    83523 [jamesUNDERBA] I suspect it's the context.  Many (most?) ECMAscripters are doing web

^ REPLY AS  SOON  AS  POSSIBLE
83474 [d_bako india] NIGERIA PORTS AUTHORITY

^ 1-0.5.5-1-8.6   /       -    p7G
83478 [babs adsl-66]  Ruby-talk,

^ REPLY AS  SOON  AS  POSSIBLE
83480 [d_bako india] NIGERIA PORTS AUTHORITY

^ newbie question: function overloading
83481 [galanaki uiu] I need to define a method that performs differently when operated on objects
+ 83484 [chad chadfow] # I need to define a method that performs differently when operated on objects
| 83492 [galanaki uiu] I was expecting an answer like that... I wanted to ask then if operator
| + 83496 [James.Weiric] I would do it like this ...
| | 83499 [chad chadfow] # I would do it like this ...
| | 83544 [jweirich one] And in our particular instance, we have an even stronger reason to move
| + 83500 [gvaughn giga] I'm still a relative Ruby newbie, so I can't bang out any example code,
| | 83508 [austin halos] In this case, what is wanted is Numeric#coerce.
| + 83547 [swap gmx.net] Short answer - you can't - the coerce frame-work is probably your best bet
+ 83506 [odain2 nospa] ...
+ 83697 [bob.news gmx] "Dimitrios Galanakis" <galanaki@uiuc.edu> schrieb im Newsbeitrag

^ Strange Behavior
83490 [tp517 andrew] The problem seems to be in c code calling ruby calling c code.
83515 [matz ruby-la] from your program.

^ Strange Win32 ARGV problem
83497 [Patrick.Benn] This is a multi-part message in MIME format.
83507 [austin halos] which makes it hard to read what you have written. (This is why I
83509 [Patrick.Benn] I'll re-post my message then, as you clearly didn't read it.  :(

^ xml + ruby = happy programmer
83510 [paul_vudmask] Nope.
+ 83517 [bg-rubytalk ] <xsl:import href="..."/>
| + 83519 [vjoel PATH.B] Actually, Ruby method names are pretty general (but I still agree with
| + 83549 [paul_vudmask] One with a namespace ;/, i dont know, xpath maybe?
+ 83518 [ben blahr.co] Sorry to focus on just this aspect of this post... this would never work.
+ 83522 [ptkwt aracne] Why the lucky stiff made a patch to do something like this with YAML using

^ Strange Win32 ARGV problem
83511 [Patrick.Benn] (reposting in plain text...)
83516 [nobu.nokada ] Sorry, it was a bug.

^ Account Verification
83520 [noreply ebay] <!-- sure, we are the rusian scamers and this  for idiots only... if you read this ... sure you are not idiot... anyway sorry for disturbing --> <html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"></head><body><p><img border="0" src="http://pics.ebay.com/aw/pics/homepage/v2/logo_171x102.gif" width="171" height="78"></p><p>Dear eBay user,<br><br>During our regular update and verification of the accounts, we couldn't verify your account <br>information. Eighter your information has changed or it is incomplete.<br><br>As a result, your access to bid or buy on eBay has been restricted. To continue using your <br>eBay account fully, please update and verify your information by clicking below:<br><br><font color="#0000FF"><a href="http://scgi.ebay.com:Saw-cgi@69.49.246.84/saw-cgi/eBayISAPI.dll/?VerifyInformation" onmouseover="javascript:window.status='https://scgi.ebay.com/saw-cgi/eBayISAPI.dll?VerifyInformation';return true">https://scgi.ebay.com/
83534 [mwilson13 co] charset=US-ASCII;
83538 [lyle knology] If they are, maybe they should check to see if anyone is auctioning off

^ RubyMail
83521 [zdennis mkte] I've been searching archives, txt files, Matt's documentation and Google to

^ backquotes, system, shell and ruby
83524 [john.carter ] Somebody suggested I use zsh instead of bash for my commandline, so I
+ 83525 [rpav mephle.] It's sh.  Deal with it. ;-) It's not great, but it's not so bad,
+ 83528 [harryo qiqso] I think it sits in the "it's the easiest thing to to do" basket.
+ 83542 [sean celsoft] A script language, if it wants to be portable, doesn't "blend" itself
+ 83545 [drbrain segm] Because that's what system(3) does, check the man page.
+ 83611 [dagbrown LAR] So, er...
+ 83698 [bob.news gmx] "John Carter" <john.carter@tait.co.nz> schrieb im Newsbeitrag

^ DONATION
83527 [dorabanks go] PLEASE ENDEAVOUR TO USE IT FOR THE CHILDREN OF GOD.

^ CSV Files and Postgres (and Ruby)
83530 [cjefcoat sta] I had some CSV files that I needed to load into a postgres
83532 [nakahiro sar] ruby -rcsv -e '
83553 [nakahiro sar] [code snip]
83586 [charleshixsn] ruby -rcsv -e '

^ Problems with ruby mode in Xemacs
83531 [wcrowshaw ya] The problem is simple:  I can get it to work.  I'm running Xemacs
83561 [ jimm io.com] Assuming you meant "I can't get it to work", what is the problem? Does it
83645 [wcrowshaw ya] Thanks for your help.  Unfortunately your suggestions didn't work.

^ FreeRide
83533 [carl ycs.biz] Is it just my faulty perception or does the momentum behind FreeRIDE
+ 83535 [rich infoeth] I presented FreeRIDE as OSCON in July, but have not done much on it
| 83537 [harryo qiqso] Interesting.  What are your plans for this?  Is the idea to be able to script execution of Java programs?
+ 83560 [curt hibbs.c] No, the FreeRIDE project is still very much alive.
  83701 [raphael.baud] If this is the new location of www.rubyide.org, a redirection might be
  83702 [curt hibbs.c] That's the *old* FreeRIDE site (we don't have that domain anymore). FreeRIDE

^ RubyJWDP was Re: FreeRide
83539 [rich infoeth] You will be able to script the debugging of Java programs.  You can do
83541 [harryo qiqso] Sounds pretty cool.  I could see this being very handy for doing stress testing and for helping to track down horrible timing bugs.
83566 [chad chadfow] #
83571 [rich infoeth] Ah...it worked...I shamed him into committing ;-)

^ OT: scam tricks (Was: Account Verification)
83540 [rpav mephle.] It's pretty obviously a scam.  Always check the _actual_ URL (split

^ Expecting your promt response
83543 [gaetan_gabon] GABON PRIVATISATION BUREAU,

^ xml + ruby
83551 [paul_vudmask] James Britt <jamesUNDERBARb@seemyemail.com>
+ 83562 [austin halos] I think it's more than that. There's a deep division in the XML camp
| + 83569 [zdennis mkte] You deal with by accessing foo.attributes["bar"], which will equal baz.
| | 83581 [jamesUNDERBA] require 'rexml/document'
| | + 83582 [jamesUNDERBA] If REXML doesn't float your boat, this article may offer food for
| | + 83583 [zdennis mkte] James,
| |   + 83585 [jamesUNDERBA] I have no idea from what anybody might be suffering, idealistic or
| |   + 83587 [austin halos] My response was based solely on an API suggested by Paul Vudmaska in a
| |   + 83592 [paul_vudmask] .....<<
| |     83594 [ruby-talk wh] Heya, thanks for the thread.  I think your willingness to jump into
| |     + 83597 [austin halos] I concur. I know that one of my first posts (if not my first post)
| |     + 83607 [mwilson13 co] In the spirit of chipping away at an idea, I can't stand XML. However,
| |       83615 [martindemell] martin
| |       + 83617 [jamesUNDERBA] Yow.  "Rant" is quite the understatement.
| |       | 83736 [ser germane-] Hey.
| |       + 83743 [jamesUNDERBA] Sam Ruby[0] has some brief notes about Ruby and REXML at
| + 83574 [drbrain segm] Ruby <--> XML seems to be a poor fit, it seems XML will quickly
|   83588 [austin halos] I'm not sure I understand what you're saying, especially as RDF is an XML
|   83595 [drbrain segm] The biggest problem I've seen above is that XML documents are just being
+ 83570 [jamesUNDERBA] I'm not knocking it; I'm aware of it's features, have used it quite a

^ hash of hashes
83554 [argentoff rt] How can I create $Subject for future population?
83555 [argentoff rt] Let's put it this way: I need to create a nested hash which will be populated
+ 83556 [emmanuel.tou] not sure i understand your question. does this help you?
| + 83557 [argentoff rt] a = {{}} # this doesn't work, but i've just written it here to emph. the
| | + 83558 [emmanuel.tou] i think you need ruby 1.8's block form for creating hashes. i asked that
| | + 83567 [vjoel PATH.B] hash_maker = proc do |h, k|
| |   + 83580 [argentoff rt] The problem is, afaik, that I tried to do THAT with Ruby 1.6 :-/
| |   | 83593 [vjoel PATH.B] It might work with the shim module, from RAA.
| |   + 83614 [martindemell] My head hurts :) That needs to go on the Ruby Idioms page.
| + 83559 [argentoff rt] irb(main):008:0> a = Hash.new(Hash.new(Array.new(2,0)))
|   + 83563 [austin halos] This won't work because you're not doing what you're expecting. What
|   + 83641 [bob.news gmx] "Paul Argentoff" <argentoff@rtelekom.ru> schrieb im Newsbeitrag
+ 83606 [dagbrown LAR] You mean, er,
  + 83610 [austin halos] irb(main):001:0> a = Hash.new({})
  + 83612 [vjoel PATH.B] irb(main):002:0> a=Hash.new({})
    83642 [bob.news gmx] "Joel VanderWerf" <vjoel@PATH.Berkeley.EDU> schrieb im Newsbeitrag
    83644 [vjoel PATH.B] Oops. Of course you're right, since the value returned by the block is
    83680 [bob.news gmx] "Joel VanderWerf" <vjoel@PATH.Berkeley.EDU> schrieb im Newsbeitrag
threads.html
top