105314-106468 subjects 105721-106925

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

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

arguments to Thread#raise ?
105507 [pbrannan@at ] exc = StandardError.new("foo")
105509 [decoux@mo lo] This is Kernel#raise which can take 3 arguments : exception, message,
105512 [pbrannan@at ] 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@at ] The code is much easier to read/follow this way, too.
+ 105577 [matz@ru y- a] 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@pr gp o] 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@ad l] 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@ad l] Im happy to hear that.

open-uri: problem handling https?
105539 [jm@zz zz zz ] open-uri works great with http but when I use https (same url), it
105650 [akr@m1 n. rg] open-uri doesn't support https yet.
105787 [jm@zz zz zz ] Thanks!
105847 [akr@m1 n. rg] 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@li u] 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@zz zz zz ] 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@gm ] 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@gm ] "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@gm ] ...
|   105661 [sean.zuzu@gm] word on graph & concurrency theory, reading up on petri nets now
|   105664 [bob.news@gm ] "zuzu" <sean.zuzu@gmail.com> schrieb im Newsbeitrag
|   + 105666 [bob.news@gm ] etc.
|   + 105667 [sean.zuzu@gm] word, i think i've heard that before.  if i think of the specific
|     105670 [bob.news@gm ] "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@gm ] "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@gm ] "zuzu" <sean.zuzu@gmail.com> schrieb im Newsbeitrag
|     105791 [sean.zuzu@gm] ugh, this sounds bloated already.
|     105976 [bob.news@gm ] "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@gm ] ...
+ 105614 [surrender_it] I'll use L4::Pistachio wich should have become stable as of now.

best practice in ruby
105563 [csshsh@st uc] im wondering what is a best practice for some design question i have
105580 [sean@ce so t] I would protect the data in a class designed primarily to save/load from an

speeding ruby development
105567 [lists@za a. ] I personally would very much like Ruby development to be sped up. We
+ 105570 [sdate@ev re ] As far as I know, Matz does work on Ruby full time ... he is paid by his
+ 105576 [matz@ru y- a] 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@wo bl] This is not entirely outside the scope of what Ruby Central is
| + 105581 [lists@za a. ] +1. (But please allow other methods since PayPal doesn't support all
| | 105584 [jamesUNDERBA] It exists: rubycentral.org
| + 105583 [sean@ce so t] Is it just going slow, or is it worse than that?  Is lack of funding the main
|   105648 [matz@ru y- a] 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@gm il] If you're going to do the work to support something (paying people to
| + 105620 [morg@bo ge y] Wouldn't it be a good idea to make a webform where you can register if
| | 105624 [cmills@fr es] Not to be negative, but the cost of registering =~ 0, while actually
| | 105628 [dblack@wo bl] That's the theory behind Ruby Central, Inc., though as I mentioned
| | + 105633 [sean.zuzu@gm] Idea Futures
| | + 105649 [matz@ru y- a] If it's not too hard, start accepting donation without tax deduction,
| |   105705 [dblack@wo bl] Not hard at all; we're all set up with our PayPal account
| + 105623 [mailinglists] I just waited for someone like you :-)
|   105679 [daniel@da ie] Very true, but what about those of us who are very busy, or very
|   105683 [robertm@sp l] +1
+ 105654 [just-for-new] Why do you need a Ruby 2?
  + 105658 [cmills@fr es] See http://www.rubygarden.org/ruby?Rite
  | + 105674 [lists@za a. ] 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@za a. ] I don't like this either.
  |   + 105751 [dblack@wo bl] 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@za a. ] I disagree. What features exactly do you see as the signs of second
  |   + 105805 [flgr@cc n. e] I'd like to think that Ruby was well-designed from the beginning on
  + 105672 [lists@za a. ] 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@ma .c] Proper threading and a reentrant interpreter, for example.

Proposal for Hash#invert
105571 [han.holl@po ] 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@po ] [ cut ]
+ 105582 [bob.news@gm ] "Han Holl" <han.holl@pobox.com> schrieb im Newsbeitrag
  105680 [han.holl@po ] No, I don't think so. arbitrate will be empty if there is no block
  105692 [bob.news@gm ] "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@pr gp o] 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@pr gp o] 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@en g] $copy =~ s{<!--#include\s+virtual\s*=\s*"([^"]*)"\s*-->}{get($1)}gem
105588 [khaines@en g] And....nevermind.  I figured out where I was being thick.  gsub with a block
105643 [jm@zz zz zz ] We ran into the same question earlier today.  Maybe the documentation
+ 105659 [bob.news@gm ] "Randy Lawrence" <jm@zzzzzzzzzzzz.com> schrieb im Newsbeitrag
+ 105682 [graham@ro kc] 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@pr gp o] And if anyone who has both broad and deep Ruby web development
+ 105644 [botp@de mo t] you nailed it.
| 105673 [rasputnik@he] Definitely, I've had big trouble trying to get my head round
| 105676 [botp@de mo t] 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@hy e] I have a confession. 'ri' has never worked for me, and I have never
+ 105598 [dave@pr gp o] Can't help you there, but to get ri working, I suggest (assuming you're
| 105600 [hal9000@hy e] I asked for that, didn't I? :) "My mind is going, Dave..."
| 105602 [hal9000@hy e] 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@hy e] I'm trying that now. Sounds like it should be added so that
  | + 105627 [cc1@ce .w st] 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@ce .w st] Right I understand why it would bother them, but it doesn't seem to hard
  + 105625 [dave@pr gp o] 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@ce so t] Why not split Ruby into two distributions, the core Ruby binaries and
    105642 [cc1@ce .w st] irb, ri, rdocs etc are all very small.  All the documentation is from

Anomoly using pattern to remove superfluous final \, if present
105651 [NoOne@No he ] The following Ruby script displays use of a pattern to remove a superfluous
+ 105656 [bob.news@gm ] "Richard Lionheart" <NoOne@Nowhere.com> schrieb im Newsbeitrag
+ 105657 [dooby@d1 .k ] You changed =~ to !=
| + 105663 [bob.news@gm ] "daz" <dooby@d10.karoo.co.uk> schrieb im Newsbeitrag
| | 105732 [NoOne@No he ] I originally sent this reply directly to you rather than the group.  It's
| | 105738 [bob.news@gm ] "Richard Lionheart" <NoOne@Nowhere.com> schrieb im Newsbeitrag
| | 105877 [NoOne@No he ] Au contraire ... that's my feeble at French,  a language I can't speak :-)
| | + 105891 [flgr@cc n. e] Moin!
| | + 105892 [r.klemme@gm ] speak :-)
| | + 105899 [NoOne@No he ] Again I squeezed out a little more education through NG posts!  I heartily
| + 105709 [NoOne@No he ] Daz,
+ 105671 [eule@sp ce c] superfluous
  105733 [NoOne@No he ] 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@ce so t] 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@zz zz zz ] 1.  Use 2-factor authentication.  So if a password gets stolen, it isn't
+ 105801 [jm@zz zz zz ] 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@fi s] they are actually going to allow you to do this??  I certainly

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

I love Ruby
105681 [graham@ro kc] I had to say it!  I teach for LearningTree, so was able to attend a perl
+ 105684 [surrender_it] you're welcome :)
| 105701 [kristof@vl e] 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@vl e] Yes, I thought it would be a real challenge, but it appeared to
| + 105807 [flgr@cc n. e] 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@sp ce c] def foo(arg=nil)
| | + 105697 [graham@ro kc] 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@ro kc] Ah, of course I had seen this.
| | + 105698 [sean.zuzu@gm] why the difference in scope?
| | | 105708 [eule@sp ce c] Actually the difference is one of 'operator precedence' and not one of
| | | 105710 [sean.zuzu@gm] *lightbulb*  word.
| | + 105776 [Mike@De et T] That is very helpful, thanks.
| + 105734 [graham@ro kc] I noticed about 2 minutes after I posted, when I tried to run it, which was
+ 105715 [choksheak@ya] makes it easier
  105717 [dblack@wo bl] I don't think there would be any way to distinguish this from a hash

Preventing runtime errors
105685 [graham@ro kc] Is there any way of preventing runtime errors caused by syntax errors - if
+ 105688 [sean.zuzu@gm] how much code are you writing that you're testing part of it while
| 105691 [graham@ro kc] my programs so far are fairly small - 2-400 lines so far.
+ 105689 [michael.fivi] Yeah, if you use the interactive prompt, it would seem that this would
+ 105718 [pbrannan@at ] Syntax errors will be found when ruby loads the file.  You can get ruby
+ 105775 [billk@ct .c ] I use this construct in a server that I want to keep running

Ruby-Syntax capable editors for OS X?
105687 [michael.fivi] Cocoa/Carbon (with ruby highlighting/features) editor that you
+ 105694 [ jimm@io co ] Michael,
| 105711 [michael.fivi] I liked vim and ruby.vim was nice, but I like literally being able to
| + 105736 [tbritt@ph gm] BBEdit ($) has a Ruby syntax highlighter and function navigation plugin
| | 106314 [gavin@re in ] Plus the ability to run ruby code right from the editor and save the
| + 105770 [cmills@fr es] I don't know if anyone has mentioned this (haven't gotten through all
+ 105695 [surrender_it] IIRC XCode does syntax highlight for ruby
+ 105760 [paulNO@SP M.] I use Eclipse 3.0 + RDT plugin.
+ 105809 [doodpants@ma] I just use Xcode, which supports syntax coloring of Ruby code. It also
+ 106299 [jesjones@mi ] does color coding and includes a popup menu allowing you to jump to a

bdb 0.5.0 problem with ruby 1.8
105702 [fake_address] Got a trouble with bdb 0.5.0 (ruby lib for Berkley DB) with ruby 1.8.
105706 [decoux@mo lo] ???
105716 [fake_address] thank you for your quick reply.
105720 [decoux@mo lo] What is this version ? From ftp.ruby-lang.org
105730 [fake_address] Thank you.

105707 [mneumann@nt ] Is the following patch valuable?
105722 [nobu.nokada@] I don't like this, because there are other IO-like classes,
106000 [mneumann@nt ] I agree.
106007 [mneumann@nt ] How about putting all methods that depend on read into a module
106047 [nobu.nokada@] Nobu Nakada
106051 [surrender_it] yay for Readable and Writable!!
106177 [nobu.nokada@] I fetched those names from the thread from [ruby-dev:15830],
106178 [surrender_it] ...