105454-106187

105275-106468 subjects 105685-106451

^ Class#=== has interesting results
105454 [cc1 cec.wust] Why does this happen?
+ 105459 [quixoticsyco] whatisit = case obj
| 105460 [cc1 cec.wust] Right I was trying to use it in an example almost exactly like that
| + 105465 [quixoticsyco] I'm not sure what you mean.  StartCommand is not and instance of
| + 105466 [nobu.nokada ] case
+ 105461 [batsman.geo ] A is not an instance of A; see the ri info for Module#===.
  105510 [cc1 cec.wust] At what point does it cause trouble for it to also return true if the
  + 105511 [halostatue g] Class === Array
  | 105522 [cc1 cec.wust] Which works because array is a descendent of class.  I understand that.  I'm
  | 105531 [aredridel nb] Because then it would match some instances of class Class, instances of
  + 105515 [dblack wobbl] At the point where you call it :-) It can't do both; there would be no
    105523 [cc1 cec.wust] Sorry perhaps I didn't word my question well.  I meant when does it cause a
    105525 [dblack wobbl] It doesn't match the descendants of A, but rather instances of the
    105526 [quixoticsyco] He is asking why isn't === defined as
    + 105527 [quixoticsyco] Er, scratch this definition.  obj.is_a?(self) is the same thing
    + 105529 [dblack wobbl] Right, but the question becomes less relevant given that the method
      + 105532 [pit capitain] Ack.
      | 105534 [cc1 cec.wust] def parse(str)
      + 105533 [cc1 cec.wust] I don't think you would generally pass either an instance of string or
        105536 [dblack wobbl] The problem is more fundamental, though: you would be unable to know

^ change font for FXTreeItem
105469 [asdf asdf.co] An FXRuby question: Is it possible to change the font of single
105482 [lyle.johnson] Not, not easily. You'd need to subclass FXTreeItem and override one or

^ custom test runner with testunit
105471 [csshsh struc] is there a way to use a custom test runner easily with testunit?
105703 [nathaniel ta] No... you have to either hack test/unit or explicitly specify your

^ RubyGems & Ruby Installer [was **RC3** Ruby Installer for Windows 1.8.2-14 Release Candidate]
105477 [curt hibbs.c] The list of desirable inclusions could easily be endless and very much

^ Regexp exercise
105478 [nkh SP_tele2] I have a string from which I want to extract a value. I have found four
+ 105480 [angus quovad] ["Olivier D." <nkh@SP_tele2_AM.fr>, 2004-07-07 14.37 CEST]
| 105484 [nkh SP_tele2] Thanks for the advice. It's just that it took me two days to remember
+ 105483 [decoux moulo] value = string[/b: (\d+)/, 1]
| 105485 [nkh SP_tele2] Wonderful, exactly the "hacker's way" I was looking for.
| 105488 [dblack wobbl] You'll find this documented in ri.  (Not that I want to discourage you
+ 105487 [dblack wobbl] In addition to the other answers, if you want to grab the value as an
+ 105893 [bob.news gmx] I'm not 100% but as far as I remember $1 is thread local, i.e. no two

^ Missing configure in ruby CVS: Build problems on Mingw
105499 [eule space.c] I am trying to compile the current cvs HEAD of the Ruby language itself

^ Downloadable file "on the fly"
105503 [nospam linac] I'd like to have a cgi script produce it's output
105506 [decoux moulo] Try this (*not tested*)
105561 [nospam linac] Thanks.

^ [ANN]: Ruby/GSL
105504 [ytsunesada y] Ruby/GSL, a Ruby interface to GSL (GNU Scientific Library)
105545 [botp delmont] very cool. Thank you for the interface.

^ [ANN] aeditor 1.3 (now works on windows) is released
105505 [neoneye adsl] This application is a programmers editor.

^ arguments to Thread#raise ?
105507 [pbrannan atd] exc = StandardError.new("foo")
105509 [decoux moulo] This is Kernel#raise which can take 3 arguments : exception, message,
105512 [pbrannan atd] It essentially does the same as Kernel#raise under the hood, but I'm
105528 [nobu.nokada ] The former calls the later if the target thread is current.
+ 105575 [pbrannan atd] The code is much easier to read/follow this way, too.
+ 105577 [matz ruby-la] I like this.  Commit to the HEAD.  Do you think it's good enough for

^ ruby-1.8.1: problem running rdoc --ri on Linux
105535 [see_signatur] Dear Ruby experts,
105543 [dave pragpro] Could you try this with a 1.8.2 snapshot?
105635 [see_signatur] Ruby-1.8.2 snapshot 2004.07.08 had no problems running rdoc and ri.

^ GEM /FXRuby problems
105537 [Meino.Cramer] this was the first time I tried to use Ruby Gems.
105541 [lyle.johnson] You've installed fox-1.2.0, or fox-1.0.x? It should be looking for a
105547 [Meino.Cramer] thank you for your reply ! :)
+ 105549 [lyle.johnson] No problem.
| 105551 [Meino.Cramer] Oh, yes, I will (I got a little confused in my head with all these
| 105569 [lyle.johnson] You think you're confused, you should try being the code maintainer. ;)
+ 105553 [neoneye adsl] AEditor has only been tested with fox 1.0.x so far.
  105558 [Meino.Cramer] Ok, I got it running with FOX/FXRuby 1.0.x
  105568 [neoneye adsl] Im happy to hear that.

^ open-uri: problem handling https?
105539 [jm zzzzzzzzz] open-uri works great with http but when I use https (same url), it
105650 [akr m17n.org] open-uri doesn't support https yet.
105787 [jm zzzzzzzzz] Thanks!
105847 [akr m17n.org] Not near future.  I'm not sure how open-uri should maintain the set of
105912 [carl.youngbl] You might want to take a look at curl and see how they do it.  I

^ 1.8.2 info
105540 [catcher linu] Is there a general what 1.8.2 will have (or not have)? This could be changes
105557 [surrender_it] I think you'd want to take a look at the changelog in the cvs,
105831 [jm zzzzzzzzz] The filesize difference between ruby-1.8.1.tar.gz and the latest stable
105854 [surrender_it] we're expecting for _why to write a page like the one he did for ruby

^ ruby-doc.org URL-based Documentation Queries not working?
105552 [demerzel gma] Is the URL based query feature working? I tried the sample query on the page,
105573 [jamesUNDERBA] This may have broke with a Ruby upgrade.  I'll go take a look.

^ ruby interpreter as mach kernel server (beside bsd)
105560 [sean.zuzu gm] ruby, starting the interactive ruby shell, but with filesystem access
+ 105562 [bob.news gmx] "zuzu" <sean.zuzu@gmail.com> schrieb im Newsbeitrag
| 105616 [sean.zuzu gm] one important aspect i have neglected to emphasize is the nature of
| + 105617 [sean.zuzu gm] oops, i meant "actor"; classic mistake. http://cliki.tunes.org/Actor
| | 105896 [Richard_Dale] That's interesting - I've just implemented a ruby version of DCOP for the
| + 105655 [bob.news gmx] charset="iso-8859-1"
|   105661 [sean.zuzu gm] word on graph & concurrency theory, reading up on petri nets now
|   105664 [bob.news gmx] "zuzu" <sean.zuzu@gmail.com> schrieb im Newsbeitrag
|   + 105666 [bob.news gmx] etc.
|   + 105667 [sean.zuzu gm] word, i think i've heard that before.  if i think of the specific
|     105670 [bob.news gmx] "zuzu" <sean.zuzu@gmail.com> schrieb im Newsbeitrag
|     105677 [sean.zuzu gm] word.  and appearantly in 20% of situations, relying on the OS (or
|     105690 [bob.news gmx] "zuzu" <sean.zuzu@gmail.com> schrieb im Newsbeitrag
|     105696 [sean.zuzu gm] i think i've touched on this already as well...
|     105737 [bob.news gmx] "zuzu" <sean.zuzu@gmail.com> schrieb im Newsbeitrag
|     105791 [sean.zuzu gm] ugh, this sounds bloated already.
|     105976 [bob.news gmx] "zuzu" <sean.zuzu@gmail.com> schrieb im Newsbeitrag
|     106069 [martindemell] This might mesh well with Oz's dataflow concurrency, where the thread
|     106103 [surrender_it] I think this maps quite good to the actor model in Io
|     106187 [bob.news gmx] charset="iso-8859-1"
+ 105614 [surrender_it] I'll use L4::Pistachio wich should have become stable as of now.

^ best practice in ruby
105563 [csshsh struc] im wondering what is a best practice for some design question i have
105580 [sean celsoft] I would protect the data in a class designed primarily to save/load from an

^ speeding ruby development
105567 [lists zara.6] I personally would very much like Ruby development to be sped up. We
+ 105570 [sdate everes] As far as I know, Matz does work on Ruby full time ... he is paid by his
+ 105576 [matz ruby-la] I'm not satisfied with the current pace.  The spirit indeed is
| + 105578 [ruby-lists l] i for one will stick in as much as i
| + 105579 [dblack wobbl] This is not entirely outside the scope of what Ruby Central is
| + 105581 [lists zara.6] +1. (But please allow other methods since PayPal doesn't support all
| | 105584 [jamesUNDERBA] It exists: rubycentral.org
| + 105583 [sean celsoft] Is it just going slow, or is it worse than that?  Is lack of funding the main
|   105648 [matz ruby-la] Since I am paid for Ruby, I don't need any funding.  Some among other
+ 105615 [surrender_it] well, rubycentral should be deputed to this kind of things..
| 105618 [lymans gmail] If you're going to do the work to support something (paying people to
| + 105620 [morg borgeby] Wouldn't it be a good idea to make a webform where you can register if
| | 105624 [cmills frees] Not to be negative, but the cost of registering =~ 0, while actually
| | 105628 [dblack wobbl] That's the theory behind Ruby Central, Inc., though as I mentioned
| | + 105633 [sean.zuzu gm] Idea Futures
| | + 105649 [matz ruby-la] If it's not too hard, start accepting donation without tax deduction,
| |   105705 [dblack wobbl] Not hard at all; we're all set up with our PayPal account
| + 105623 [mailinglists] I just waited for someone like you :-)
|   105679 [daniel danie] Very true, but what about those of us who are very busy, or very
|   105683 [robertm spel] +1
+ 105654 [just-for-new] Why do you need a Ruby 2?
  + 105658 [cmills frees] See http://www.rubygarden.org/ruby?Rite
  | + 105674 [lists zara.6] perhaps i should say i want rite (or cardinal, or any other improved
  | + 105742 [just-for-new] Well I'm very much suprised that most seem to appreciate Ruby 2. I
  |   + 105748 [halostatue g] Most of the changes planned for Ruby2 -- except Rite, IIRC -- will be
  |   + 105749 [surrender_it] I have some bad feelings towards ruby2, mainly because the language
  |   | 105777 [lists zara.6] I don't like this either.
  |   + 105751 [dblack wobbl] I too sometimes find myself worrying that Ruby 2.x will include too
  |   | + 105768 [mailinglists] As long as "eval.c" looks like it does today i don't trust anyone.
  |   | + 105769 [carl.youngbl] One thing that I think should be done with the native threads is to
  |   + 105774 [lists zara.6] I disagree. What features exactly do you see as the signs of second
  |   + 105805 [flgr ccan.de] I'd like to think that Ruby was well-designed from the beginning on
  + 105672 [lists zara.6] os threads, gc improvements, (and perhaps precompilation/bytecode too).
  | 105725 [mailinglists] I second that. Having no real threads makes ruby very very unuseable for
  + 105675 [lucsky mac.c] Proper threading and a reentrant interpreter, for example.

^ Proposal for Hash#invert
105571 [han.holl pob] The current Hash#invert implementation will silently throw away keys that
+ 105572 [nobu.nokada ] Sounds good, but the block can't get the key?
| 105604 [han.holl pob] [ cut ]
+ 105582 [bob.news gmx] "Han Holl" <han.holl@pobox.com> schrieb im Newsbeitrag
  105680 [han.holl pob] No, I don't think so. arbitrate will be empty if there is no block
  105692 [bob.news gmx] "Han Holl" <han.holl@pobox.com> schrieb im Newsbeitrag

^ ri no longer supports -f Tagged ? (Re: ruby-doc.org URL-based Documentation Queries not working?)
105585 [jamesUNDERBA] It appears that the -f Tagged option is no longer part of ri.
105586 [dave pragpro] The new version doesn't, but it would be fairly easy to add it you
105591 [jamesUNDERBA] That might work; I'll need to adjust the markup.
105595 [dave pragpro] 1. What does ri -v say?
105601 [jamesUNDERBA] On the laptop, which supports -f html, I get

^ Efficient way to do a simple Perl thing with Ruby
105587 [khaines enig] $copy =~ s{<!--#include\s+virtual\s*=\s*"([^"]*)"\s*-->}{get($1)}gem
105588 [khaines enig] And....nevermind.  I figured out where I was being thick.  gsub with a block
105643 [jm zzzzzzzzz] We ran into the same question earlier today.  Maybe the documentation
+ 105659 [bob.news gmx] "Randy Lawrence" <jm@zzzzzzzzzzzz.com> schrieb im Newsbeitrag
+ 105682 [graham rockc] chapter 22 about half an hour ago.  It ought to have been there already,

^ ruby docs ok
105592 [snowzone5 ho] ruby docs may not be as abundant as something like  perl, but the
105608 [lyle.johnson] In my opinion, books like "Programming Ruby" and "Ruby in a Nutshell"
105622 [snowzone5 ho] ruby docs ok
105626 [dave pragpro] And if anyone who has both broad and deep Ruby web development
+ 105644 [botp delmont] you nailed it.
| 105673 [rasputnik he] Definitely, I've had big trouble trying to get my head round
| 105676 [botp delmont] arg.
+ 105646 [lyle.johnson] I'm not even *doing* web development, and I'd buy it. ;)
  105647 [mrmargolis w] Seconded(Though I do dabble in web-development).

^ While we're discussing 'ri'...
105597 [hal9000 hype] I have a confession. 'ri' has never worked for me, and I have never
+ 105598 [dave pragpro] Can't help you there, but to get ri working, I suggest (assuming you're
| 105600 [hal9000 hype] I asked for that, didn't I? :) "My mind is going, Dave..."
| 105602 [hal9000 hype] Hmm, doesn't work for me. I think I'll probably just switch to
+ 105605 [jamesUNDERBA] I grabbed the latest 1.8.2 source.
  + 105609 [hal9000 hype] I'm trying that now. Sounds like it should be added so that
  | + 105627 [cc1 cec.wust] When you configure do a --enable-install-doc and then it will
  | | + 105636 [jamesUNDERBA] I don't recall that even being mentioned when I did ./configure --help.
  | | | 105637 [jamesUNDERBA] But, indeed, it *is* there, last item in right before Optional Features.
  | | + 105639 [cameron.mcbr] Just to add another vote, I think it'd be really useful to have that
  | + 105629 [jamesUNDERBA] make test works for me.
  | + 105630 [batsman.geo ] Some of the core devels opposed that since they build several times a
  |   105641 [cc1 cec.wust] Right I understand why it would bother them, but it doesn't seem to hard
  + 105625 [dave pragpro] Perhaps you  might mention that over on ruby-core...
    105634 [jamesUNDERBA] I just might.  I believe there was previous discussion there on whether
    105638 [sean celsoft] Why not split Ruby into two distributions, the core Ruby binaries and
    105642 [cc1 cec.wust] irb, ri, rdocs etc are all very small.  All the documentation is from

^ Anomoly using pattern to remove superfluous final \, if present
105651 [NoOne Nowher] The following Ruby script displays use of a pattern to remove a superfluous
+ 105656 [bob.news gmx] "Richard Lionheart" <NoOne@Nowhere.com> schrieb im Newsbeitrag
+ 105657 [dooby d10.ka] You changed =~ to !=
| + 105663 [bob.news gmx] "daz" <dooby@d10.karoo.co.uk> schrieb im Newsbeitrag
| | 105732 [NoOne Nowher] I originally sent this reply directly to you rather than the group.  It's
| | 105738 [bob.news gmx] "Richard Lionheart" <NoOne@Nowhere.com> schrieb im Newsbeitrag
| | 105877 [NoOne Nowher] Au contraire ... that's my feeble at French,  a language I can't speak :-)
| | + 105891 [flgr ccan.de] Moin!
| | + 105892 [r.klemme gmx] speak :-)
| | + 105899 [NoOne Nowher] Again I squeezed out a little more education through NG posts!  I heartily
| + 105709 [NoOne Nowher] Daz,
+ 105671 [eule space.c] superfluous
  105733 [NoOne Nowher] Like my reply to Robert, I originally sent this reply directly to you rather

^ Secure Database Systems
105660 [sarahtanemba] I was wondering if it is possible to create a secure database system
+ 105764 [carl.youngbl] Even though this is probably off-topic for a Ruby forum, you have
| 105767 [carl.youngbl] a) Write an password-based authentication system to keep unauthorized
| 105795 [sarahtanemba] One thing I've learned just yesterday that there are such thing called  -
| + 105796 [carl.youngbl] What you are referring to is actually a book called TRANSLUCENT
| | 105858 [sarahtanemba] Thanks Carl.
| | 105860 [carl.youngbl] Sarah, at this point I think you should read the book(s) I mentioned.
| + 105803 [sean celsoft] I personally usually develop a layer above the database where business logic
|   105859 [sarahtanemba] available database system that include those (configurable) business logic
+ 105800 [jm zzzzzzzzz] 1.  Use 2-factor authentication.  So if a password gets stolen, it isn't
+ 105801 [jm zzzzzzzzz] One more thing...ssh tunneling is your best friend.  If the
+ 105816 [gordonb.zirt] It depends on how you define 'secure' and what your security policy
+ 105822 [maustin firs] they are actually going to allow you to do this??  I certainly

^ Re: How to close application on Windows?
105665 [assaph avaya] (part of the win32-utils project).

^ I love Ruby
105681 [graham rockc] I had to say it!  I teach for LearningTree, so was able to attend a perl
+ 105684 [surrender_it] you're welcome :)
| 105701 [kristof vlee] FYI, I have written a unlambda interpreter in Ruby.  (I don't know
| 105719 [surrender_it] I wa thinking to write an unlambda interpreter just after my exams'
| + 105728 [kristof vlee] Yes, I thought it would be a real challenge, but it appeared to
| + 105807 [flgr ccan.de] Now I just *have* to post my Brainfuck interpreter where all
+ 105686 [sean.zuzu gm] grab someone else and ask them, "is it obvious which object owns these
| + 105693 [eule space.c] def foo(arg=nil)
| | + 105697 [graham rockc] I didn't even know there was a {} !
| | | 105699 [surrender_it] you're reasonable but not in this thing.
| | | + 105704 [sean.zuzu gm] it feels a bit like "v1.0" documentation and tends to be a bit too
| | | + 105714 [graham rockc] Ah, of course I had seen this.
| | + 105698 [sean.zuzu gm] why the difference in scope?
| | | 105708 [eule space.c] Actually the difference is one of 'operator precedence' and not one of
| | | 105710 [sean.zuzu gm] *lightbulb*  word.
| | + 105776 [Mike DeleteT] That is very helpful, thanks.
| + 105734 [graham rockc] I noticed about 2 minutes after I posted, when I tried to run it, which was
+ 105715 [choksheak ya] makes it easier
  105717 [dblack wobbl] I don't think there would be any way to distinguish this from a hash
threads.html
top