84412-84946 subjects 84801-86097

^ Trying to figure out thread safety
84605 [agemoagemo y] (Having been told of a solution to one problem
84615 [billk cts.co] A mutex sounds to me - if I understand correctly what

^ 1.8.1 preview2 (was: Re: 1.8.1 failure)
84606 [matz ruby-la] Thank you for the report.  I just put preview2 at
84612 [tom infoethe] Yours,

^ 64-bit Ruby on Solaris?
84611 [djberge qwes] Solaris 9
84616 [matz ruby-la] Seems like configure failed to detect platform stdio information.  I
84618 [djberge qwes] Ok - below is the stdio.h file.  Please let me know what else you need.
84619 [decoux moulo] ...
84620 [djberge qwes] Ok - I've attached 3 stdio files, including stdio_impl.h, in case it's
84621 [decoux moulo] ...
+ 84633 [djberge qwes] As an experiment, I commented out the offending lines in config.h and
+ 84635 [djberge qwes] Sorry if the attachment on that last post didn't come through properly -
  84643 [decoux moulo] ...
  84644 [djberge qwes] /usr/ccs/bin/ld (Sun's).  Attempting to use GNU's ld resulted in a
  84645 [decoux moulo] ...
  84646 [djberge qwes] Ah, ok
  84647 [decoux moulo] ...
  84648 [djberge qwes] root@sp5wd-b1-/usr/ccs/lib/sparcv9-548>file *
  84658 [decoux moulo] ...
  84662 [djberge qwes] Apparently I'm cursed.  I'm nearing the point of re-installing the OS
  84663 [decoux moulo] ...

^ InstallerBase
84613 [dcarrera mat] Though it's not common to post Tcl projects in a Ruby list, I would like

^ Ruby 1.8.0 failure on AIX 4.3.3 with GCC
84617 [philippe.luc] -1) ext/cursor.c lines 512 et 1201 : The lines et columns parameters are
84642 [matz ruby-la] I want to see exact error messages.
84677 [philippe.luc] ...

^ Since today is October 31...
84626 [hal9000 hype] srand 0
+ 84627 [jamesUNDERBA] Neat.
+ 84629 [rubytalk box] hmm, it doesn't work for me :-(
| 84630 [hal9000 hype] No, that's because the PRNG changed with 1.7.x
| 84631 [rubytalk box] yeah, I know ... :-/ But I'm just too lazy to reinstall Ruby on all
| 84632 [hal9000 hype] Hmm, not that I know of.
+ 84634 [ruby-talk wh] (0..67).inject(3709168338536711372250064398972826945394701253532720163819002017081215416156693026){|i,x|print
  84636 [dcarrera mat] Now THAT was cool!
  84637 [hal9000 hype] I'm sure it is... but it doesn't work for me. (self.wtf?)
  84638 [rubytalk box] ran into same problem ... after removing the newline after print
  84639 [hal9000 hype] Oh, of course, of course.

^ rexml 2.5.8  warning
84640 [khindenburg ] Runing rexml 2.5.8 with Ruby 1.8.0, just with a 'require rexml/
84641 [dblack super] See thread starting at <http://www.ruby-talk.org/84500>.

^ Re: [ba-rb] BA-rb ( Bay Area Ruby Users Group ) - 'Generating Code in Ruby' by Jack Herrington.
84649 [jos catnook.] Count me in again, too.

^ Another fun but useless program
84650 [hal9000 hype] I intended to make this one shorter/stranger/etc., but I ultimately
84653 [ng johnwlong] Hal, you are *really* making ruby an art.

^ The new allocation scheme and extensions
84651 [shu aria.ruf] In 1.6, when writing an extension which required Data_Wrap_Struct, the
+ 84652 [matz ruby-la] If you have chance to update the extension, use new allocation scheme
+ 84790 [pbrannan atd] inline VALUE ruby_16_new(int argc, VALUE * argv, VALUE klass)
  84819 [kubo jiubao.] static VALUE foo_s_allocate(VALUE klass)

^ How can I marshall File::Stat, and do file tests?
84654 [sroberts uni] Basically, I'm building a Hash of paths to their File::Stat, and
84666 [sroberts uni] Seems to be a long-standing oddity, discussed in ruby-talk #74175 and

^ Ruby language reference
84655 [afan_shah ya] I have just started using Ruby but I am still unfamiliar with the internals or core language designs of Ruby. It would be better if you can provids me an updated Ruby language reference (or specification) in english.
+ 84656 [dcarrera mat] Afan,
| 84657 [bruce codedb] A little more friendly in terms of everyday use.
| 84659 [david.dandre] dv
| 84660 [jbritt ruby-] James Britt
| 84670 [imobachgs so] I'm trying to locate so much documentation about ruby as possible, and I wish
| + 84671 [bruce codedb] Bruce Williams - bruce@codedbliss.com - http://codedbliss.com
| | 84672 [jbritt ruby-] And http://stdlib-doc.rubyforge.org/
| + 84675 [dave pragpro] OI'm trying to locate so much documentation about ruby as possible, and
|   84683 [kgergely mla] Who knows about the pixaxe book?
+ 84669 [ng johnwlong] ___________________

^ [ANN] soap4r/1.5.1 with wsdl4r/0.0.4
84661 [nakahiro sar] Soap4r/1.5.1 is out.

^ CGI uses file size to distinguish between regular values and files
84664 [david loudth] I've been having a ton of problems handling file uploads with CGI.rb
84674 [simon ecnetw] I haven't used Ruby's file upload facility, but since no-one else has
84676 [d.borodaenko] Why, you can always check if the parameter you've got _is_ a Tempfile,
84678 [austin halos] Why should I have to make that distinction in *my* code? I've got a Perl app
+ 84681 [Jesper Jespe] I'm using the CGI module for file upload - I think it works,
| 84685 [austin halos] This is what I *don't* want. I shouldn't *have* to handle it
| 84693 [d.borodaenko] def params(keys)
| 84699 [austin halos] Sort of. I want it to work that way in the default CGI library. There should
| 84702 [john wishdev] The original response from Simon Kitching was the best on this topic.
| 84704 [austin halos] Actually, my complaint is subtly different than the OP's complaint. cgi.rb
+ 84692 [d.borodaenko] For starters, how would one move a small file, treated as StringIO,
  84700 [austin halos] I didn't miss that. What's wrong, though, is that the CGI library is
  84701 [simon ecnetw] Is it really returning "different values for parameters"?
  84703 [austin halos] As I'm understanding it -- I haven't yet put together tests for this
  84708 [matz ruby-la] I understand the problem, but not yet think of the best solution.  Any
  + 84711 [austin halos] I think that it might be worth considering a variation on what
  + 84712 [austin halos] I was thinking about doing some code for this, but I really don't think I'll
  | 84730 [david loudth] I'm thinking this shouldn't be a too hard issue to address, though.
  + 84713 [akr m17n.org] I think
  | 84727 [matz ruby-la] How about
  | + 84729 [david loudth] I think this will best serve my needs within the current constraints of
  | + 84731 [akr m17n.org] I see.  It is a solution but I found that I misunderstand the problem.
  | | 84732 [david loudth] I like the last solution better by far. You'd be able to keep most
  | + 84756 [d.borodaenko] That is better than my ftools-based solution, since it solves the
  + 84764 [matz ruby-la] How about moving to another CGI library, for example Narf?
    84771 [austin halos] I will look at narf to give my opinion on it. I would like to see something

^ Firebird database and DBI?
84665 [khaines enig] Does anyone know if there is a DBI driver for the Firebird database, or
84667 [dali insula.] IMHO the driver for interbase should work with Firebird although I have not
84668 [khaines enig] Thanks.  I should have thought of that.  I'll give it a whirl.

^ [ANN] cerise 0.4
84673 [will cesmail] cerise is a web application server, somewhat similar to J2EE servers

^ 64-bit Ruby on Solaris - solved
84679 [djberge qwes] All,
84680 [hgs dmu.ac.u] I'm fairly sure I didn't mention that!  I did ask which version of

^ Ruby bindings
84686 [elathan phys] Consider I have a collection of some C++ libs, in which I have
+ 84688 [dcarrera mat] Daniel Carrera |   Aleph-0 bottles of beer on the wall, Aleph-0 bottles
| 84689 [elathan phys] Wow! Are you the king of the fastest reply? Thanks!
+ 84690 [vjoel PATH.B] ...
+ 84714 [a.neundorf-w] Maybe Ruby/DL already helps ?

^ ruby dbi documentation
84691 [lists debona] I have a problem locating any good documentation for ruby DBI.
84725 [mneumann nte] I fear there's nothing else available, except chapter 3 of Ruby
84777 [lists debona] but it doesn't really go over the functions and what they do either,

^ Test/Unit question
84694 [STUCKNER MUL] ...
84696 [nathaniel NO] of the
+ 84697 [James.Weiric] Dang ... Now I have an excuse to upgrade.
+ 84698 [STUCKNER MUL] Thanks, I will give that a try!

^ Opening Net::HTTP from mod_ruby script
84695 [d.borodaenko] Did anyone try that? While implementing Pingback client[1], I've stuck
84716 [aamine lover] I could not reproduce the error.
84751 [d.borodaenko] /usr/lib/ruby/1.8/net/protocol.rb:83:in `initialize': Insecure operation - initialize (SecurityError)
84752 [aamine lover] It is an error raised on $SAFE=3 or higher.
84758 [d.borodaenko] This parameter is not set in Apache configs, `$stderr << $SAFE` prints 1.

^ exceptions
84705 [simon ecnetw] I'm puzzled about how to associate custom information with an Exception
+ 84706 [rpav mephle.] Yes, just subclass Exception and treat it like a normal class (since
+ 84707 [vjoel PATH.B] class MyException < Exception
  + 84709 [dblack super] I'm not sure what Exception's initialize does, but it might be good
  + 84710 [simon ecnetw] Hah! the raise operator (presumably a method in Kernel?) can take an
    84722 [ruby-talk pc] yes it is,

^ RUBY Project in West Bengal (India)
84715 [sabymus redi] ...
84717 [nvivek ncst.] There aren't too many ruby programmers in India. Infact, the only one I
84718 [k-zimir gmx.] is it kind of rude to ask or could i have a copy as well??
84719 [sabymus redi] ...
84723 [dali insula.] Please note that the book in the Windows help format is a part of the Windows
84733 [david.naseby] For Windows printing, see http://www.ruby-talk.org/32861
84748 [sabymus redi] ...

^ Problem in Ruby with Mysql
84720 [sabymus redi] ...
84721 [m_libby ands] Is Mysql.rb your own code? I couldn't find any file like that in the RAA
84724 [dali insula.] - mysql-ruby which uses the native client library
84728 [m_libby ands] I guess I missed that! Thanks for the information. :)

^ optparse behaviour
84726 [christian.mu] I have some problems mit optparse (ruby-1.8.0).
84763 [nobu.nokada ] Right, fixed now.  Thank you.

^ Prolog like facilities.
84734 [john.carter ] Somebody asked me to do something that was partially solved by tsort,

^ Managing metadata about attribute types
84735 [simon ecnetw] I'm porting the Apache Jakarta Commons Digester (written in Java) to
+ 84736 [james rubyxm] Are you familiar with the XMLDigester project listed in the RAA?
+ 84737 [rpav mephle.] Yep.  I'll take this opportunity to shamelessly plug some modules.  I
| 84743 [simon ecnetw] Thanks for your reply.
| 84746 [rpav mephle.] Hope you find it useful.  You may still want to couple it with
+ 84739 [chad chadfow] # Hi,
| 84742 [simon ecnetw] Yes. I'm not strictly looking for "the type of the target attribute". As
| 84757 [drbrain segm] ...
+ 84740 [austin halos] You may want to note xml-configfile in addition to XMLDigester that
| 84741 [simon ecnetw] Thanks for your reply.
| 84744 [austin halos] ...
| 84745 [rpav mephle.] <big snip>
| + 84750 [rich infoeth] I as well have tried to stay out of this but...
| | + 84753 [chad chadfow] #
| | | 84754 [rich infoeth] Right.  The big reason for testing the namespace for an object that you
| | + 84759 [rpav mephle.] Right, but each string in XML is representative of a general desired
| |   84760 [dblack wobbl] Cutesy, perhaps, but not the same as type casting.  For one thing, a
| |   84761 [chr_mail gmx] H'm you are closet type-ist after all:-)
| + 84768 [austin halos] Actually, it's demonstrably correct. It's exactly to the point and
|   + 84775 [simon ecnetw] I don't think that the concept of strict typechecking deserves quite
|   | 84779 [rpav mephle.] Yeah same, I'm not sure why it's a big deal... it's been pretty
|   + 84776 [rpav mephle.] This is a specific case that does not generalize.
|     84778 [david.naseby] <snip lots>
|     84781 [rpav mephle.] A platypus is most certainly not a duck---it neither walks like a duck
+ 84762 [simon ecnetw] What a vigorous discussion I seem to have triggered :-)
  + 84769 [austin halos] It's not simply a matter of conversion from a String, as I'll
  | 84773 [simon ecnetw] I hope you realise that the StockItem was just an example I made up out
  | + 84774 [david.naseby] Just weighing in with a small point, but
  | + 84782 [austin halos] class Weight
  + 84770 [dblack wobbl] I believe that's by design; as I understand it, the StrongTyping
  + 84780 [rpav mephle.] This is the fundamental philosophical disagreement, or
    + 84786 [dblack wobbl] At this point you're waging a battle directly against the design of
    + 84797 [rpav mephle.] Not at all.  The fact you _can_ do something doesn't mean you must do
      + 84806 [dblack wobbl] My point was that it was not, ipso facto, a program design error to
      + 84858 [ng johnwlong] Ryan,
        + 84859 [rpav mephle.] Well, the main advantage I have gained, aside from debugging bonuses,
        | 84878 [jamesUNDERBA] <snip />
        | + 84879 [rpav mephle.] The error is that somewhere I inserted an Object when I should have
        | | + 84881 [dblack wobbl] You must not be a big fan of class methods :-)
        | | + 84884 [rpav mephle.] I'm not sure what your point is here.  The only conceivable point I
        | |   + 84886 [dblack wobbl] The point is that objects which have methods defined in their
        | |   + 84888 [chr_mail gmx] On a related note instead of
        | + 84882 [chad chadfow] #
        |   84885 [jamesUNDERBA] No, thank you.
        |   84887 [chad chadfow] #
        + 84866 [austin halos] I don't think most Ruby programmers use it, much less most
        + 84870 [dblack wobbl] There's no improvement in error messages that I can see with the
          84873 [jamesUNDERBA] In some ways this discussion reminds me of issues in teaching OO

^ A question about SMS
84747 [sabymus redi] ...
84749 [dali insula.] The answer is yes but as far as I know there is no straithforward way (I mean
84755 [terje elde.o] There's a third way.  You can use one of the many online sms providers.  It's

^ how to create path subdirectories
84765 [kean pcdom.o] looking for a way to create /test1/test2/test3/test4 subdirectories all
84766 [vjoel PATH.B] No loop needed :)
84767 [kean pcdom.o] thanks it's work like a charm:)

^ Updating path in windows
84772 [harryo qiqso] I'm writing a simple install script for some software.  The final thing I need to do is to add into the path the directory where the software has been written.
84788 [djberge qwes] To programmatically add or modify system environment variables, add them

^ Bye-bye
84783 [Robert.Koepf] Let me say good-bye to the list:  "Bye, I'll leave you in two days."
+ 84785 [uu9r stud.un] Concurrent Clean, pure functional like Haskell, but without monads (they use
+ 84796 [cpine hellot] Have you looked at Joy or Icon?  Both cool languages.
+ 84798 [rpav mephle.] <languages snipped>
| 85253 [invalid see-] OCaml - functional
+ 84799 [dan sidhe.or] Forth is very nice, as is Postscript. And you might want to try either

^ ruby-dev summary 21730-21822
84784 [aamine lover] This is a summary of ruby-dev ML in these days.

^ Inheritence Diagram of Ruby classes...
84791 [thomas_adam1] Has anyone got, or know of a diagram that shows how the ruby classes are
84800 [drbrain segm] Using ObjectSpace.each_object(Class) and a bit of code (like in the
84802 [thomas_adam1] Eric,
+ 84803 [austin halos] It will generate an arbitrary hierachy.
| 84823 [zdennis mkte] Since this thread has came up I've been doing some digging, thanks to Eric
| 84828 [dali insula.] I made a few graphical charts some time ago. It is not updated for Ruby 1.8 but
+ 84804 [drbrain segm] Dang, oops!

^ Using blocks in C (with File.open)
84793 [jim freeze.o] I have written some code in Ruby to parse a file and yield
84795 [decoux moulo] ...