32594-33243

32370-33220 subjects 32803-33708

^ rdtool and RDoc
32594 [ptkwt shell1] I haven't tried RDoc yet, but I plan to real soon.

^ open source projects, sponsoring
32602 [tobiasreif p] would it make sense to setup a Wiki page for exchange of sponsoring offers?
+ 32604 [ptkwt shell1] I can see that it would be easy to get Open Source developers to
| 32625 [tobiasreif p] Ideas are welcome :)
| 32659 [ptkwt shell1] Is SourceXchange still in operation?
| 32662 [rich infoeth] As a former CTO, I can say that one way to convince your company's business
| + 32682 [nhodgson big] Another one to use is "keeping this closed does not contribute to
| + 32683 [nhodgson big] Another one to use is "keeping this closed does not contribute to
+ 32613 [chadfowler c] offers?
  32678 [ianm actives] Yep you're thinking of SourceExchange ( sponsored by HP ) and CoSource - run

^ Anyone in Bangalore, India?
32615 [chadfowler c] Now that Dave has started this trend....

^ Array#splice method
32617 [x ichimunki.] I'm rewriting the examples in "Mastering Algorithms with Perl" (the
+ 32620 [matju sympat] The closest Ruby equivalent to Perl's splice(\@a,$i,$n,$v) function is
| 32693 [x ichimunki.] Thanks (to everyone) for the great answers. Once again Ruby excels at this
| 33243 [matju sympat] Okay, so my 2nd proposal was buggy. The former, iirc, was better.
+ 32621 [matz ruby-la] Most of them can be accomplished by other methods; that's why I didn't
| 32630 [tobiasreif p] 1. This   ^ caused a parse error in irb, it worked without the dot.
| 32632 [matz ruby-la] Just a typo.  Sorry.
+ 32622 [pcs3 mailhos] Just from checking perldoc it seems splice is uneccessary in ruby, since

^ Problem with Ruby Tk
32627 [peter semant] I'm having some problems with the following code. When I click on either
32631 [matz ruby-la] Since Ruby/Tk's "self swap" hack, you can't access instance variables
32635 [peter semant] Brilliant, it works now.
32706 [nagai ai.kyu] And, another sample is here. :-)
32713 [peter semant] Ooh, very nice, I like it.

^ segfault without --enable-shared
32645 [paul atdesk.] #include <ruby.h>
32647 [decoux moulo] I can't reproduce the coredump with 1.6.5
32651 [paul atdesk.] That seems to solve the problem.  In my real-life program, I was using

^ popen3 and buffering
32646 [paul atdesk.] loop do
+ 32652 [ysantoso jen] I'd use gets and puts instead of the more primitive read and write. Using gets and puts, I get the lines as they are being outputted. Ruby 1.6.5.
| 32655 [paul atdesk.] This doesn't seem to help.  The problem is not in read/write, but in
+ 32657 [nobu.nokada ] $>.sync = true	# or $defout.sync = true
| 32665 [paul atdesk.] So a call to setvbuf ought to solve the problem...
| 32669 [harryo zipwo] You should be able to use
| 32692 [nobu.nokada ] Sorry, it didn't look obvious.
| 32727 [paul atdesk.] [pin, pout, perr, $stdin, $stdout, $stderr].each { |io| io.sync = false }
+ 32738 [paul atdesk.] Here's one possible solution.  Does anyone know how to get rid of this
  32785 [decoux moulo] What I've not understood is why you want to use a constant (PIPE_BUFFERS)
  + 32786 [nobu.nokada ] If you mean IO instance object's instance variable, I guess he
  | 32789 [decoux moulo] Sorry but I don't understand : ruby mark instance variables, where is the
  | 32792 [nobu.nokada ] Sorry, I was stupid.  You're right.
  + 32801 [paul atdesk.] I'm not sure I understand why either.  An instance variable makes
    32802 [decoux moulo] Something like this, in this case (not tested)
    32806 [paul atdesk.] I'm doing something similar to that.
    + 32811 [decoux moulo] It depend of your system
    + 32900 [j.travnik sh] I had similar problem, see

^ C API/method arguments
32648 [cbgb u.washi] i hope i'm not being a complete list newbie, but i was wondering if
32649 [decoux moulo] Well, you have in README.EXT
32667 [cduck u.wash] so chalk that up as a newbie not reading the documentation well enough

^ problems with string interpolation
32653 [ahoward fsl.] i'd like do a gsub such that some characters are escapes for later use
32654 [decoux moulo] Well, it's normal you are replacing the string by the original string
32740 [ahoward fsl.] that you
32743 [decoux moulo] Well you have 2 steps with this construct
32753 [josb cncdsl.] Slightly off-topic: what's confusing for me personally here is that in a
32784 [decoux moulo] Can you give me the name of this P language ?
32867 [josb cncdsl.] Oh I am such an idiot, I take that back. This P language behaves identically.

^ 'make' errors on AIX with Ruby 1.6.6
32656 [tgphelps igl] I just downloaded Ruby 1.6.6, and did "configure" and "make" on my AIX
+ 32701 [drosih rpi.e] This is probably the same problem I ran into on one of our (RPI)
+ 32702 [matz ruby-la] /* -*- C -*-
+ 32846 [kloster sunf] As of 1/30/02, I am having the exact same issue installing on AIX
  32859 [tgphelps igl] The fix, from Matz, is to replace ext/digest/defs.h with the following

^ howto copy files from NT box to NT servers
32660 [Desai.Dinaka] I have NT box and five NT servers on LAN. I would like to copy few files from
32661 [tgphelps igl] "copy" is a builtin command of the CMD shell. You probably have to run a
+ 32663 [chris.morris] You might also try these Windows-ized versions of system and `
+ 32690 [nobu.nokada ] Win32API version.
  32721 [chris.morris] Also, ftools.rb (in the distribution) has a copy routine. I haven't tried it

^ Documenting Fortran 90 source via Rdoc's engine?
32666 [W.L.Kleb LaR] Any chance this could be made to work?  Easily?
32668 [Dave Pragmat] How compatible would the intermediate object model be? Right now I
32679 [W.L.Kleb LaR] "Fairly straightforward" I write, expecting something to
32680 [Dave Pragmat] Not at all. You see, if someone writes "this is fairly

^ What is special about TCPServer?
32670 [john.carter ] I have a wee problem inheriting from TCPServer
32687 [r2d2 acc.umu] Because TCPServer implements TCPServer.new.
+ 32695 [nobu.nokada ] It has changed in recent CVS version.  It works in 1.7.
+ 32700 [john.carter ] Aha! Thanks. All I needed to do was override TCPServer.new and invoke

^ ANN: Automation Server DLL can by used by Ruby on Win32
32672 [mkelly2002NO] I created an InProcess Automation Server .dll wrapping

^ Test connection InterBase with Apache
32676 [marnaudo inw] i am testing the right way to connect Interbase via Apache and html
+ 32703 [matz ruby-la] I don't think so.  Interbase module itself do nothing with Apache.
+ 33099 [marnaudo inw] I don't think so.  Interbase module itself do nothing with Apache.

^ Whoops!
32677 [harryo zipwo] Sorry, people.  There were a bunch of messages from me a couple of

^ Cardinal - project looking for a leader
32681 [ptkwt shell1] A few weeks back I proposed the Cardinal project - basically a project to
32856 [Erik.Bagfors] From talking to the parrot-people (well, dan anyway), trying parrot and
+ 32864 [alan digikat] I'm interested in working on this project, but have a time problem too
+ 32868 [ptkwt shell1] Good point: working with the parrot folks now lets us give them input.

^ require problem - uninitialized constant Set (NameError)
32684 [dcorbin impe] I took the ruby code here (http://www.hypermetrics.com/rubyset.html) and
32696 [rich infoeth] require "set" # note the quotes

^ (the diff) Re: TypeError verus NoMethodError
32685 [chr_news gmx] This is a multi-part message in MIME format.
+ 32708 [matz ruby-la] The point is: when we agree Fixnums and Symbols are NOT singletons,
+ 32836 [chr_news gmx] this did not make it to my news-server  so I  grabbed it from blade
  32879 [matz ruby-la] I think I will go for this.

^ (the diff) Re: TypeError verus NoMethodError
32686 [chr_news gmx] This is a multi-part message in MIME format.

^ Weekly RCR Summary
32688 [RubyGarden t] This is an automatically generated list of Ruby Change Requests.

^ ruby extensions in C and booleans
32689 [mmaciaszek g] I was trying to create some simple windows with curses. This
+ 32691 [nobu.nokada ] RTEST(bf)
+ 32710 [rokosm kloka] From ruby.h

^ Open3 (more on  thread)
32694 [lists.ruby-t] I was searching through the ruby-talk.org archive (very helpful!) on
32699 [nobu.nokada ] Like this?
32709 [lists.ruby-t] another script that ended with 'exit 1'.  I then ran this mess like
32715 [nobu.nokada ] Otherwise the script blocks till the child process exits.  If

^ tkCanvas
32705 [Jean-Francoi] does someone knows why I can't get the size of the items displayed on a
32707 [nagai ai.kyu] Am I misunderstanding your question?

^ Hal Fulton's Set class
32716 [dcorbin impe] I'm attempting to use this class
+ 32733 [matt lickey.] See the union! method.
| 32734 [dcorbin impe] def union!(other)
| 32737 [matt lickey.] Yep, looks like you have to create a new Set that has the new elements
+ 32778 [hal9000 hype] Ahh... I really should remove that thing or rewrite it.
  32796 [dcorbin impe] I might do so, but I'm sure I have less experience with Ruby that you
  32797 [jason jvoege] bin/viewcvs.cgi/*checkout*/rubycollections/rubycollections/rbc/set.rb?

^ FOX - undefined method `repaint'
32717 [vladare yaho] I receive this message when I start the program under Windows 2000, but
32726 [ljohnson res] Could you maybe send me your program (or another that demonstrates the

^ 68k Mac version
32720 [west ioa.com] I seem to recall reading that there was a 68k Macintosh version of Ruby
32723 [hisa imasy.o] First, I praise that you are using the old Mac carefully. But

^ Re:
32722 [Eugene.Scrip] Yes, it is ok. It is my misunderstanding of mod_ruby. I add paths in
32728 [nobu.nokada ] Hmmm, I'm not sure about mod_ruby, but it seems to initialize

^ mailing list problems
32724 [avdi yahoo.c] I hate to post this to the list at large, but I haven't
32725 [nobu.nokada ] In the header,

^ [ANN] Log4r 1.0.1 - remote logging and assorted updates
32729 [leon ugcs.ca] Added remote logging (with ROMP), log reports via email, and various

^ FOX newbie help, hooking up button click to method
32731 [chris.morris] Whipped up my first FOX dealy ... and it don't work. It creates the form,
32748 [ljohnson res] Yes, I can see what you're doing wrong ;)

^ [ANN] RbProf 0.2.1
32732 [feldt ce.cha] RbProf is a profiler included in the AspectR distribution. Readme is

^ newbie help String#method!
32736 [L4 stetson.n] This is a multi-part message in MIME format.
+ 32741 [matt lickey.] You can replace one string value with another with the String#replace
| 32749 [L4 stetson.n] Yeah, I figured something like gsub!(/(\A|\s)\w/) { $&.upcase }
| 32756 [matt lickey.] self.[](0..-1, @rs)
+ 32742 [decoux moulo] Well, there are many ways. A stupid one is
  32745 [dempsejn geo] a quick question: in perl, using $& hits your whole program with a
  32781 [decoux moulo] Yes, you don't have this problem in ruby.

^ do not delete ! get rich - hurry up and act now !
32750 [whynot getri] This is a multi-part message in MIME format

^ Learning the APIs
32751 [dcorbin impe] 9 months ago, when I last tried to find time to mess with Ruby, I seem
+ 32752 [tobiasreif p] the incredibly awesome RDoc
+ 32754 [armin approx] I guess you meant ri, written by Dave and Andy.
+ 32755 [alwagner uar] the music is nothing if the audience is deaf."

^ strange behavior
32757 [mengx nielse] Below is a simple program
32760 [matz ruby-la] * constants defined in the class/module.
+ 32767 [paul atdesk.] If a constant is visible in an outer class, is there a good reason for
| 32774 [matz ruby-la] I don't think so.  It makes constants globally scoped (well, mostly).
| 32820 [mengx nielse] I think the problem here may be how "include" works.
| + 32823 [mengx nielse] An indirectly related topic, A class method can not be called
| | + 32826 [alan digikat] How would you differentiate between the following?
| | + 32827 [paul atdesk.] class A
| |   + 32829 [mengx nielse] Exactly confusing. I myself never use the same name for both class
| |   | + 32831 [mengx nielse] Introspection can always be played to get things done. What I meant
| |   | | 32842 [matz ruby-la] Ruby is following old Smalltalk convention.  For me, C++/Java/whatever
| |   | + 32866 [r2d2 acc.umu] Well, there are plenty of examples in the standard library
| |   + 32840 [chr_news gmx] Why not do this?
| |     32841 [paul atdesk.] IMO, a method should not have to know the name of the class in which it
| |     32855 [chr_news gmx] One problem is that at the ``time of method body declaration''
| |     32857 [paul atdesk.] The context is, however, known at the time that the method is called.  I
| |     + 32863 [chr_news gmx] The problem might be that  ``class_name" a.k.a.  "thismethod'' would have
| |     + 32896 [decoux moulo] This not this that you want ?
| |       32901 [mengx nielse] That was actually what I meant.
| |       + 32903 [mengx nielse] Looks like I have to yield since matz is doing this way.
| |       | + 32905 [decoux moulo] You have the response in [ruby-talk:32842]
| |       | + 32911 [alan digikat] I think that requiring the qualifier is desireable because it
| |       |   32914 [mengx nielse] I agree. Basically, we end up with trading one convenience for another.
| |       |   32915 [mengx nielse] So Ruby does not "follow symlink" when it tries to look up in calling module's
| |       |   32917 [Dave Pragmat] Think of 'include' as inserting a reference to (a proxy for) the
| |       + 32906 [matz ruby-la] That's the point.  Altough you might expect that, it shouldn't.
| |       + 32907 [Dave Pragmat] That's a cut-and-paste include. Ruby's is by reference, and is closer
| + 32843 [matz ruby-la] Have you tried B.constants?  B.constants => []
+ 32919 [paul atdesk.] Here's a problem related to the original poster's problem.  When I do
  + 32921 [alan digikat] hmm.. include is different from extend.
  + 32931 [nobu.nokada ] You need to use singleton class to access a costant in an
  + 32940 [matz ruby-la] Just in case you don't get the Alan's point, "extend" extends the
  + 32945 [decoux moulo] Write it like this
    32959 [mengx nielse] As Dave mentioned, "include" use a proxy for the included module.
    + 32963 [decoux moulo] C don't ask for the constants of B
    + 32964 [pit capitain] I didn't thoroughly follow the many posts in this thread, but I think
      32965 [mengx nielse] I meant the implementation of Ruby could be changed to search
      + 32966 [decoux moulo] How many scripts do you break ?
      + 32971 [matz ruby-la] No limitation.  It's intended behavior.  I advise you to try to

^ [ANN] PerfCtr 0.1.0
32758 [feldt ce.cha] Small wrapper extension for high-resolution timing on Windows. When PAPI

^ Ruby and Morphic?
32759 [ljohnson res] So I'd like to look into an extension for FXRuby that allows you to (easily)
+ 32763 [pcs3 mailhos] It's slow, but if you can live with that it's an excellent OO API.
| 32765 [vruz ruby-es] The original Morphic for Self  runs only on some Mac OSes, right ?
| 32770 [pcs3 mailhos] The Self 4.1.4 distribution also runs on Solaris (Sparcs only), and OSX
+ 32764 [matju sympat] I've always wished for a _simplified_ Morphic written in Ruby.
| 32798 [ljohnson res] Based on your response and some of the others, it's becoming clearer that
| 32805 [ jimm io.com] True. It's an object scripting system as well. Every Morphic object is
+ 32766 [vruz ruby-es] Squeak/Smalltalk
+ 32768 [vruz ruby-es] [massive snip]
+ 32775 [vruz ruby-es] [massive snip]

^ RDoc, imagemaps, help
32776 [Dave Pragmat] Well, I've managed to get client-side image maps working with RDoc
+ 32777 [pit capitain] Thanks, Dave, that's great. Since I've been the first who mentioned
| 32791 [Dave Pragmat] Yup - that was it. It seems to work in all the browsers I have now.
| 32845 [W.L.Kleb LaR] Can you commit it?  I'm giving a short (non-networked) Rdoc pitch
| + 32852 [Dave Pragmat] It should have been committed (as they say) earlier this morning.
| + 32853 [W.L.Kleb LaR] My error, it was already there...
|   32862 [Dave Pragmat] Done.
+ 32782 [djkea2 mugca] Well I don't have NS to test it but the SHAPE attribute of AREA should

^ Ruby on AIX
32787 [dazh_ribrogg] Does anybody know where a SMIT-installable (for AIX) image of Ruby
+ 32790 [schneiker ju] Over a year ago.
| 32819 [moumar netco] I successfully compiled Ruby on AIX. If you want i can email you the archive.
+ 32812 [tgphelps igl] Ruby 1.6.4 compiles and installs just fine on my AIX 4.3.3 machine, with

^ Re[2]:
32793 [Eugene.Scrip] I can't. We use .htaccess and some VirtualHosts, but RubyAddPath don't work there.

^ trouble changing mtime on symlinks
32794 [0bz63fz3m1qt] I need to change the time on some symlinks.
32795 [nobu.nokada ] Remove the symlink and link it again.
32800 [0bz63fz3m1qt] This was NOT what i asked for.
32804 [nobu.nokada ] If your system has lutime(2), you can use Kernel#syscall.
32815 [nobu.nokada ] Shell script to make system call module, needs GCC.
32821 [0bz63fz3m1qt] Thanks you are my hero ;-)

^ $: in mod_ruby
32799 [nobu.nokada ] Then, can you set $: in handler itself?  If not, I have no
32957 [Eugene.Scrip] I had the same idea but there was something wrong with it, I don't
threads.html
top