86418-88469

86290-90063 subjects 86651-87388

^ gnu-regexp should raise?
86418 [neoneye adsl] Why does /[]]/ not raise an exception, when /[]/ does ?
86423 [ruby-talk pc] well, it is standard to allow having ] as the first character in a []
86505 [neoneye adsl] Good idea, I will do that.

^ get the class of an instance
86429 [elathan phys] I want to get the class of an object through the Ruby C API.
86439 [cyclists nc.] VALUE foo;
87023 [elathan phys] That was the trick. Thanx. Apologies for my delayed answer.

^ Ruby advertisement article [Computerwoche]
86431 [armin xss.de] Stefan and I are writing an 10'000 character long article for the
+ 86435 [tom infoethe] was certainly much faster and easier in Ruby than in Java.  I found the
+ 86447 [matz ruby-la] How do we measure.  I have developed Ruby for 10 years, with help from
| 86467 [gsinclair so] Just like the target audience does: "guestimate".
| 86483 [matz ruby-la] Remember I worked alone for the first 3 years or so.
| 86603 [tpeters inva] Then of course it's   3 + (40 + 1) * 0.5 * (10 - 3) = 146.5 man years.
| 86659 [ jupp gmx.de] [Given that first three years Matz did Ruby development all alone
+ 86499 [ jupp gmx.de] 'Computerwoche'? Never heard of :-| How does it compare to c't and ix
  + 86500 [Lennie kwikp] Just some comments from me.
  | + 86501 [Lennie kwikp] Sorry guys, sent the message by mistake (Ctrl + Enter) before finnishing my
  | | 86614 [surrender_it] this is not about obfuscated code (I think).
  | + 86606 [ jupp gmx.de] I did move you comments below the text you are commenting...
  |   86686 [sera fhwang.] Interesting point. I read in an article (in Wired, I think?) that one
  + 86502 [stesch no-sp] Many german companys buy it and nobody wants to read it. I've seen
    86503 [Gavri_F info] wow!! this was the weirdest case of top-posting i've ever seen :-)
    86506 [Lennie kwikp] O' Sorry Im so use to top-posting as it part of the rule at our company.

^ Problem installing ruby-libxml
86449 [sera fhwang.] should preface my post by saying that my understanding of how Unix
87180 [sroberts uni] I had a problem with similar symptoms a while ago trying to install a

^ [ANN] Ruby/automation and infrastructure JOB in Gurgaon, near New Delhi, India
86494 [cbroult sapi] [I hope that message is not inappropriate]
86532 [ptkwt aracne] Is it possible for US citizens to emigrate to India and work there?
86595 [cbroult sapi] That is probably possible but I am not sure you are ready to take a
86633 [ptkwt aracne] Yeah, I guess that I'd worry about not even making enough money to afford

^ Access MS SQL Server 2000?
86495 [Lennie kwikp] charset="iso-8859-1"
86496 [raphael.baud] I tested it a very short time only (I think with a MS SQL 2000, not even
+ 86497 [Lennie kwikp] Thank you!
+ 86514 [mneumann nte] Ruby/ODBC or ODBC via DBI should work as well. Or with the ADO database

^ arity of methods defined with define_method
86504 [pbrannan atd] irb(main):005:0> [pbrannan@zaphod tmp]$ irb
86513 [nobu.nokada ] It's a bug.
86526 [matz ruby-la] Please commit.

^ (none)
86509 [SchmittR t-s] in our web service project we use asp.net on the server side.

^ X-Mail-Count
86525 [pbrannan atd] We used to put it in the subject (i.e. Subect: Re: [ruby-talk:12345]

^ Defining variables - optionally required.
86531 [NewGroups nt] Forgive the suggestion if it has been done to death before I joined in.

^ Installing Docs (Was Re: Library directory structure on windows)
86534 [gsinclair so] Thanks for opening a can of worms.  If the next Ruby Conference is in
+ 86566 [jweirich one] Yours services would be most welcome.  There was a bit of conversation
| 86569 [chad chadfow] #
+ 86593 [hgs dmu.ac.u] There is also the issue of M17N: which langauge the docs should be
  86599 [gsinclair so] Well, you can't translate English language RDoc comments into other

^ jessica, 10 million Americans
86539 [bruha xembuv] Dear Judges, Lawyers, Policemen, Guards, Counselors, Taxpayers, et. al.,

^ rb_hash_aref question: symbols vs strings
86549 [djberg96 hot] I'm writing an extension, and I'm having a little trouble with using a
+ 86571 [nobu.nokada ] Do you use Hash#each_pair or similar?  They just ignore
+ 86602 [phasis bclin] hash = Foo.test(

^ pre/post question/idea
86550 [dblack wobbl] As we're still pre-2.0, and talking about pre and post, I thought I'd
+ 86552 [david.naseby] I agree that it looks better, but my eyes completely skipped over the
| 86557 [dblack wobbl] My concern is that, as people get used to doing this, x:*** will cease
| 86568 [matz ruby-la] I prefer :pre, :post.
+ 86554 [Peter.Vanbro] You've got my vote for looks. But it means two extra keywords which breaks
| 86586 [bob.news gmx] "Peter" <Peter.Vanbroekhoven@cs.kuleuven.ac.be> schrieb im Newsbeitrag
| 86590 [transami run] Or just,
| + 86630 [hal9000 hype] I asked that, too. But after thinking about it, I decided it is
| | + 86638 [markjreed ma] Super-wrapping is wrapping the call to super within a method - basically,
| | | 86645 [transami run] *sigh*.... Thank you, Mark.
| | + 86642 [transami run] okay. no biggy either way. just seems like less for ruby to parse if we don't
| + 86635 [jweirich one] Pre and Post cannot effect the incoming parameters[1], nor can they
|   86643 [transami run] okay, i see how that can be useful. cool. these are quite a nit differnt from
+ 86556 [transami run] Sorry David, your a little late to make claims on that one. If you read my AOP
| 86564 [chad chadfow] # > As we're still pre-2.0, and talking about pre and post, I thought I'd
| + 86572 [transami run] HUH?
| | 86579 [dagbrown LAR] Please don't make personal attacks here.
| | 86581 [transami run] That's not a personal attack. From where I'm sitting, that looks to be a fact.
| + 86576 [transami run] Oh, and Chad,
+ 86560 [chad chadfow] # Hello --
  86563 [joey joeygib] I much prefer the foo:pre, foo:post way to this. Of course the first
  + 86567 [chad chadfow] #
  + 86570 [dblack wobbl] I only wish I had the skill to hack keywords into the language :-)  (On
    86596 [gsinclair so] You might be able to "predict" it by looking at the experiences of

^ State of JRuby?
86555 [dcarrera mat] Does anyone know the current state of JRuby?  From the web page it seems
86558 [joey joeygib] What specific features of 1.8 are you looking to use? Or are you just
+ 86559 [dcarrera mat] There aren't any that come to mind really.  It's just general concern.
| 86561 [dcarrera mat] - If I could manage to do project
+ 86573 [sdate everes] I meant to talk to you about this during the Ruby Conf, but somehow never
+ 86584 [ndrsbngtssn ] Sure! You're already the most active developer, the only thing you're
  86663 [mccallister ] Speaking of JRuby, does it implement continuations?
  86816 [ndrsbngtssn ] No, Kernel.callcc isn't implemented yet. Don't know how much work it
  86826 [chad chadfow] # > Speaking of JRuby, does it implement continuations?
  86830 [mccallister ] Ovidiu Predescu and Stefano Mazzochi made a very big impression on

^ Baker
86574 [transami run] Baker is a source-based package management system. It can turn any OS
86628 [neoneye adsl] I think there already exists a project with similar goals.. Rubyx.
86648 [transami run] in fact i talked to Adnrew about rubyx a good bit before strating Baker, and
86650 [neoneye adsl] How does this works?  not having a central/homedir database how?
86699 [transami run] You'll have to join us to get the scoop on that. Its pretty simple though.
86702 [neoneye adsl] known operating systems.

^ Re: soap4r: storing wiredump XMLs to a string
86575 [nakahiro sar] str = ""
86583 [SchmittR t-s] Thanks for the response.
86588 [nakahiro sar] Thank you for well baked explanation.  Perhaps I now understand your
86589 [SchmittR t-s] <!-- Added payload -->

^ bug in ruby/tk in ruby 1.8.0 ?
86577 [a.neundorf-w] I tried to execute the ruby/tk demos, which you can find at
86591 [nagai ai.kyu] The newest widget demos (bug fixed and new samples are added) are
86592 [decoux moulo] This is the method Rolodex#initialize in its version which take 0 argument
86594 [nagai ai.kyu] Thank you. I understood.

^ gtk/testrunner.rb:375: undefined superclass `ListItem' ???
86601 [Lucian.Suciu] In WinXP I tried to run a test case using 'test/unit/ui/gtk/testrunner'
86604 [nobu.nokada ] Use 'test/unit/ui/gtk2/testrunner'.
86607 [Lucian.Suciu] Sorry, but I have only 'test/unit/ui/gtk/testrunner'...
86608 [nobu.nokada ] Latest CVS or snapshot.  Note that gtk1 and gtk2 are not full
86609 [Lucian.Suciu] Thank you very much for your help!  :)

^ Using extconf.rb for executables?
86605 [ jupp gmx.de] I recently had an efficency problem with a small tool to be used with

^ gtk2/testrunner.rb:231:in `test_progress_bar': undefined method `[]'
86610 [Lucian.Suciu] Sorry, it is me again...
86611 [Lucian.Suciu] If I changed in gtk2/testrunner.rb line 231, i.e.,
86612 [nobu.nokada ] I'm not sure about this, sorry.
86613 [Lucian.Suciu] No problem, it is not a stopping issue  :)

^ SMTP Net::SMTPUnknownError
86615 [rodrigo.berm] I'm  using the Net::SMTP class, and I'm getting this error
+ 86617 [decoux moulo] This is SMTP with authentification, that you use ?
+ 86619 [decoux moulo] It's corrected in 1.8.1, the new def #check_response is
  86624 [rodrigo.berm] Thanks Guy.

^ Need library for parsing configuration files
86616 [Gavri_F info] i'm writing an application which needs to parse a configuration file on program startup. is there a prefered format for configuration files in ruby? is there a library for such a purpose? i suppose i could do the parsing myself, but i was just wondering if there is a sophisticated way out there.
86618 [transami run] I would consider Yaml.
+ 86620 [Gavri_F info] Yaml is human-readable-and-writable, agreed, but only if the human is a programmer  :-)
| 86861 [bob.news gmx] "Gavri Savio Fernandez" <Gavri_F@infosys.com> schrieb im Newsbeitrag
+ 86660 [ jupp gmx.de] - INI
  + 86662 [dblack wobbl] Conf.each {|k,v| instance_variable_set("@#{k}",v)}
  | 86730 [ jupp gmx.de] The initialization routine that maps Conf to several variables is
  + 86888 [hgs dmu.ac.u] The weakness in this is that people can put arbitrary ruby code in
    86939 [ jupp gmx.de] That only is a weakness if you want to disallow that. The program the

^ Artificial Intelligence and Machine Learning Programs in Ruby
86621 [kadoism hotm] Does anyone know artificial intelligence and machine learning programs
+ 86622 [neoneye adsl] I don't know if this is useful?
+ 86629 [mneumann nte] But they are interfaces to C libraries. Maybe that's not what you want.
+ 86709 [akimichi mbo] How about LibNeural?
+ 86767 [muraken2 nif] I try to write Sarsa in Ruby.  Follwing code is implementation
+ 86915 [tom infoethe] It's a translation of the C examples in M. Tim Jones' "AI Application

^ getting method names
86623 [sdate everes] How do I get  the name of the missing method inside  the missing_method
86626 [neoneye adsl] []
+ 86627 [Gavri_F info] ##################################################################
| 86639 [sdate everes] I knew about this but somehow just spaced out.
+ 86640 [sdate everes] Ah! I should have known better ... (/me smack forehead !)

^ ruby-dev summary: 21928-22011
86625 [maki rubycol] This is a summary of ruby-dev ML in these days.
86649 [neoneye adsl] {a: 45, b: 55, c: 65}   same as  {:a => 45, :b => 55 :c => 65}
+ 86689 [nobu.nokada ] Yes, but impossible to put spaces before colons.
| 86701 [neoneye adsl] Thanks for your insight, Nobu.
+ 86704 [matz ruby-la] Possible.

^ pre/post ideas
86632 [cc1 cec.wust] I wonder if it would be possible if we could define a syntax for multiple
86705 [matz ruby-la] It would be (and is) covered by AspectR.

^ selfassignment and close
86634 [neoneye adsl] I would like to overload the '+=' operator. But it doesn't seems to be
+ 86636 [hal9000 hype] What's happening here is that += is dependent on +, yet it is still
| 86637 [neoneye adsl] I know that. What I don't know, are if there are any tricks when dealing
| 86862 [bob.news gmx] "Simon Strandgaard" <neoneye@adslhome.dk> schrieb im Newsbeitrag
| 86882 [neoneye adsl] # move <i>n</i> steps forward
| 86898 [bob.news gmx] "Simon Strandgaard" <neoneye@adslhome.dk> schrieb im Newsbeitrag
+ 86656 [ahoward ngdc] class Iterator
  86805 [neoneye adsl] [snip code]

^ Amrita + REXML warning
86641 [naseby ihug.] I'm getting a warning using amrita-1.0.2 with REXML 2.7.1 when I set
87700 [ser germane-] There is no class or method called REXML::File, so this must be an amrita extension.

^ Underpinnings of Method Wrapping
86646 [transami run] Its important that we clearly seperate the issue of "surface" syntax from the
86657 [Peter.Vanbro] I was wondering about something... AOP is based on the idea of join
86692 [transami run] Actually they fit so well we don't even need to explictly deal with them! ;-)
86707 [Peter.Vanbro] I now realize that my question was phrased a bit badly... The idea of
86726 [transami run] The join-points are the only thing required to facilitate all of this. So I
86734 [Peter.Vanbro] Oh, I agree completely, Ruby will be able to specify the most general
86747 [transami run] How would they know? ;-)
+ 86774 [batsman.geo ] This works fine with singletons, but there is a problem if you want to
| 86785 [transami run] Thank you very much for pointing this post out. It contains a very interesting
| 86840 [nobu.nokada ] Different super class makes different class.
| 86884 [transami run] Thanks nobu. That makes sense.
| 86955 [nobu.nokada ] No.  The interpreter current implementation uses rb_cArray
| 86957 [nobu.nokada ] Sorry, built-ins are referred by class_tbl, so it won't cause
+ 86794 [Peter.Vanbro] The all-seeing eye? I believe they got feedback from a number of large
  86812 [transami run] Hmm, not sure how you're asking. Why different keywords? Or why different use?
  86824 [Peter.Vanbro] Never mind, I think I've answered my own question in meanwhile. pre and
  86831 [transami run] You're absolutely right. Hmm...Granted this is acting in accordance to an
  86835 [Peter.Vanbro] First a note: I think intrinsic and extrinsic got swapped between the
  + 86848 [transami run] Sorry, source of confusion: I used 'wrap' here to mean a combined pre and
  | 86870 [Peter.Vanbro] I know. Inner wrap and outer wrap are fine BTW.
  + 86873 [transami run] I was thinking about the terms. To really distinguish these two types of wraps
    86911 [Peter.Vanbro] Watch is OK. Monitor sounds too much like the concurrency concept. I'm not
    86943 [transami run] OK as in so-so, or OK as in yes? If just so-so we'll find something better. I
    87024 [Peter.Vanbro] I'm in the so-so zone. I've been looking for suggestions myself, but my
    87034 [transami run] You won't beleive what I just did! I am working on a program for
    87068 [Peter.Vanbro] Actually it doesn't take into account either that if a method already
    87242 [transami run] Hope your week has gone well. The couple of days off has helped me clearify
    87478 [transami run] Here is an intereseting problem that I'm currently facing and which is related
    87481 [Peter.Vanbro] class Recipe
    87491 [transami run] Yep. I recall. Template Design Pattern. Didn't know that it had a name. Well,
    87575 [Peter.Vanbro] Actually your example above could prove to be a useful application of
    87609 [transami run] Haha! Y9ou knew I would ;-)
    87686 [Peter.Vanbro] Actually counting consecutive underscores is hard. On my screen they make
    87688 [transami run] Mine too! But I was joking :) Well, half way. It would be nice to have a good
    + 87690 [transami run] But if I do it myself explicitly, I'd just add a
    | 87704 [Peter.Vanbro] Yep, that's the point. Writing it using cflow is a different way of
    + 87713 [Peter.Vanbro] OK, but even if you'd write end*5 or so, or end(5), then to see whether it
      87731 [transami run] Well, I thought of using the underscores to allow one to indent as needed to
      87747 [Peter.Vanbro] Ever programmed Haskell? There indentation is significant, and that kinda
      87761 [transami run] ``scratch scratch scratch``. Okay, that eliminates Haskell from the list :)
      + 87764 [tov eecs.har] That's not really fair, Peter.  It's not _required_ to use layout in
      | + 87779 [Peter.Vanbro] Me neither. I only criticized the layout feature of Haskell, and I like to
      | | 87834 [tov eecs.har] f x y = do
      | + 87788 [transami run] I was only joking too. Albiet I'm more inclined toward OCaml these days, as my
      + 87802 [Peter.Vanbro] I'll start changing all my "rescue SomeException => e" statements right
        87874 [transami run] e-xcellent thinking.
        87882 [Peter.Vanbro] I know. In a compiled language, the overhead of searching for the class or
        + 87934 [Peter.Vanbro] I have finished something. Should we take our discussion off-line? (I
        | 87941 [transami run] great!
        + 87963 [transami run] Sorry, about the delay. Been working on sandboxing program compiling/
          88024 [Peter.Vanbro] We will see. But it may not be so obvious to measure the decrease in speed
          88043 [pit capitain] (... long discussion snipped ...)
          88469 [transami run] Sorry, sometimes I get so busy I miss messages I should respond to!

^ You might be interested...
86647 [Admin WhereH] charset="iso-8859-1"
threads.html
top