30512-32908 subjects 30922-33253
^ Severe issue with two Threads and load and eval
30743 [frodo.hobbit] I have trouble with executing load and eval in two concurrent Ruby Threads.
+ 30744 [erik bagfors] Hmm.. It works here on a linux-box...
| 30749 [pit capitain] On my Windows NT with ruby 1.6.4 (2001-06-04) [i386-cygwin] it
| 30754 [frodo.hobbit] "Pit Capitain" <firstname.lastname@example.org> schrieb im Newsbeitrag
| 30755 [decoux moulo] This is a well known problem, use a Mutex
+ 30763 [frodo.hobbit] The keyword for this is "autoload and Thread" - refer
^ New to Ruby - doing Web project
30746 [dcorbin impe] I'm starting to learn Ruby, and I've decided on a small web/integration
+ 30747 [jfontan cesg] I don't know if there's a "direct" way to do it, but mount and umount can be
+ 30748 [armin approx] There are several different ones at http://www.ruby-lang.org/en/raa.html
+ 30797 [chadfowler c] It's been a long time since it's been touched, and was written early in my
30807 [james rubyxm] On a side note, I'm trying to track all XML-related ruby projects at rubyxml.com
^ Fixing RUDL C extension and Ruby for Visual C
30750 [danny frouke] A few days ago I've tried to get my extension library to work with Visual
+ 30751 [martin optus] I built RUDL a couple of months ago with Ruby1.6.5 on win2k with vc6.0. It
+ 30762 [nobu.nokada ] How did you edit?
30778 [danny frouke] win32\makefile looks like this (rubyw_install_name was added manually)
30781 [nobu.nokada ] It's not needed (OK to be), append this line at last instead.
^ DBI::InterfaceError: Unsupported Type (typeid=1034)
30752 [mmaciaszek g] While experimenting with DBI and my PostgreSQL database I
+ 30775 [alan digikat] I don't know if this matters, but you're missing a ';' at the end
+ 30799 [jweirich one] The column named relacl in the pg_class has a type ID of 1034.
30838 [mmaciaszek g] I don't really need the relacl column. I was just experimenting
^ Ruby books
30753 [Stephan.Kaem] Seems that Dave & Andy's "Programming Ruby" is translated to German
+ 30756 [james rubyxm] idioms and colloquial use. Basically, an author's style.
| 30828 [rcena epcor.] Speaking of translations, Matz original Ruby manual, which someone
+ 30757 [Dave Pragmat] It was of interest to me too! I had no idea this was in the
| 30758 [mjais web.de] this is sort of strange, I think. why do the publisher not inform
| 30806 [james rubyxm] Wouldn't they need to tell you that you were getting additional royalties?
| 30813 [Dave Pragmat] International sales take forever to appear on royalty
| 30814 [sergei dolma] Wow! Could you tell more about russian version?..
| 30815 [Dave Pragmat] Sorry - all I know is I was chatting with our editor and he mentioned
+ 30759 [mjais web.de] do you know, if there will also be a free online version of the german
30764 [Stephan.Kaem] Check
30766 [tobiasreif p] got mine today :)
^ regexen for strings that can be converted to numbers
30760 [tobiasreif p] what are the regexen for strings that can be converted to various types
30767 [nobu.nokada ] class String
30770 [tobiasreif p] Elegance lies in the beauty of condensed truth :)
^ Hexadecimal float (Re: regexen for strings that can be converted to numbers)
30772 [nobu.nokada ] I found;
+ 30787 [paul atdesk.] 3 The expected form of the subject sequence is an optional plus or
+ 30853 [Stephan.Kaem] At least it doesn't work that way on my Win2K box running the Pragmatic Ruby
30880 [paul atdesk.] Perhaps the C89 standard did not allow this to occur? If so, then this
^ Question about RubyCocoa and GnuStep
30782 [ptkwt shell1] that says that basically Cocoa is the name for the OpenStep API and that
30784 [gehlker fast] I'm poking around in the RubyCocoa source right now trying to see why this
30786 [cjack cjack.] In theory, it's possible to do this, but it would be a significant amount of
+ 30817 [gehlker fast] I think this overstates. Foundation pretty much works. At least my code
+ 30842 [Laurent.Jull] As the author of RIGS (Ruby Interface to GNUStep) I think Chris
30855 [hisa imasy.o] "Cocoa or GNUStep application (.app) written by Ruby has compatibility
30909 [laurent mold] Yes this is the long term objective.
30933 [hisa imasy.o] Feel free to ask me, too. And the following URL may be helpful for
^ Embedding in multithreaded win32 app?
30783 [melis cs.utw] What I have is a research tool that runs a physical simulation while using a
^ Something ODD with UDPSocket - Five second wait?
30788 [ralph.mason ] Here is an odd thing, so odd that I am sure it must be something I am doing
30844 [daniel zeped] I don't know enough about Ruby's UDPSocket internals, but "I get an X second wait"
^ Build question: confused about ext/Setup and static linking
30789 [ptkwt shell1] I was under the impression that if you want a module that is named in
30798 [nobu.nokada ] That's right.
30802 [ptkwt shell1] Because it looks like if I uncomment the line that library is dynamically
30831 [nobu.nokada ] I see. You confuse WHAT would be linked statically. It does
30836 [ptkwt shell1] I think so... so it means that there is a curses.so created under ext, but
^ dup, clone, and "deep copy"
30790  I see that Object#dup creates a new object and copies its instance
^ When trying to pack Ruby scripts in one .exe file under Windows.
30792 [abrantes.car] I am trying to pack into a single .exe file (i use Ruby 1.6.5 cygwin distrib
30793 [ps radiac.mi] I have looked into this a bit. Me and Robert Feldt discussed this on the list
30800 [abrantes.car] Thank you for your answer,
30808 [ps radiac.mi] I guess not, I haven't got a windows box so a windows solution isn't something
^ Re: [ANN] rpkg 0.1 (long!)
30803 [kero a26074.] Cool. What's wrong with dpkg? Don't tell me RH ppl do not have
+ 30805 [elanthis awe] dpkg == overkill
+ 30832 [list chromat] I suppose nothing is wrong with dpkg, provided that it runs on
30972 [kero chmeee.] OK, I never tried compiling dpkg for Windows (heck, I don't use Windows
30976 [list chromat] They are, in fact. I just wonder whether a few hundred lines of Ruby
30980 [kero a26074.] Hehe :) As said, I do not use Windows, so I 1) do not know what is
31003 [list chromat] Can't blame you for that. ;-)
31086 [ser germane-] Massimiliano,
31097 [list chromat] LOL, you're absolute right, a hard installation for a program that
31328 [ser germane-] Thanks.
^ Where do I find RubyWrap
30811 [spanton7 att] Where do I find the programRubyWrap for packaging a set of ruby codes for
30946 [ptkwt shell1] Phil
^ ANN: REXML 1.2.5
30818 [ser germane-] Guten Abend,
^ REXML ANN URL fix
30819 [ser germane-] <sigh> Even my announcements have bugs.
^ (DBI || RUnit || Ruby || My_Understanding).bug?
30824 [z4k4ri4 bigf] Is it a bug or not?
30837  Try overriding eql? as well as ==.
^ When it comes to packing Ruby script files in one .exe under Windows.
30825 [alexandre.ab] I am trying to pack into a single .exe file (i use Ruby 1.6.5 cygwin distrib
30826 [ahoward fsl.] has anyone written an interface to SysV::IPC? if not, are any others
31165 [j.travnik sh] see
^ Extension with C++
30827 [mahinakhon h] I'm a beginner in programming Ruby.
+ 30858 [tony perforc] Marrying Ruby and C++ can be a little awkward as Dave and Andy mention in the
+ 30863 [elanthis awe] It's actually not all that difficult; you just need to make C wrappers
^ Question on rbconfig.rb
30833 [info chromat] What is the purpose of CONFIG['datadir']?
^ What is the best way to learn Ruby?
30839 [moontoeki ao] What is the best way to learn Ruby?
+ 30840 [dempsejn geo] code.
+ 30865 [comp.lang.ru] - - Don't study to much. Just start writing... If you've
+ 30900 [mkelly2002NO] If you want to learn the Smalltalk type features
| 30901 [armin approx] I suggest you try to find a tiny project and try to code it
+ 32564 [quadzero use] <snip, for brevity>
32576 [info mjais.d] I think one way is to read existing code. go to the Ruby application archiv
^ The * operator...
30841 [sean chitten] What's the * operator called when used in a method's arguments?
+ 30843 [matz ruby-la] Unary * in actual argument list is a syntax, not a method. It expands
| 30846 [hal9000 hype] Hmm. I wonder if Sean is one of those people (like me)
| 30852 [matz ruby-la] I think it's still not an operator. I'd name it the "array expansion
+ 30879 [matju sympat] I would say that this unary * is not an "operator", or at least, not at
30887 [tobiasreif p] that sounds interesting.
^ Plz Help: Ruby and IIS
30847 [ A A.A] I have been searching for days for a way to get eRuby to pass its
+ 30850 [anany ece.vi] I sense much NT in you.
| 30926 [ A A.A] I got this installed and working, however im still left with the
| 30932 [james rubyxm] Do your files have the .asp extension?
+ 30862 [james rubyxm] I had problems running ActiveScriptRuby, where Ruby libs/classes could not be found.
^ Interspersed quotes (was Re: The Ruby Way)
30851 [hal9000 hype] I hope you are right, and I hope that includes Outlook Express and
^ respond_to? and public/private
30857 [holmberg iar] The Object#respond_to? method has a second boolean flag that tells
+ 30886 [paul atdesk.] This definitely seems like a problem. Your solution makes sense,
+ 30985 [matz ruby-la] Do you mean
31133 [holmberg iar] I was rather "naive" and looked for some way to decide if a method
31155 [matz ruby-la] A bug.
^ Question: How to wrap pipes to struct in c-extensions
30859 [mulperi iki.] I'm wrapping a c library to ruby class. There is one sturct like
30861 [decoux moulo] Well, you really want to have a Struct object ?
30864 [mulperi iki.] I just happended to look ext/etc module, but yes I could use Data
^ rpkg directories fix
30860 [list chromat] Dave and others: I've just uploaded a fixed rpkg that uses rbconfig to
^ Dir.entries have no home
30866 [ronjeffries ] def filesUnderManagement
+ 30870 [dblack candl] It would be mildly out of character for me to post what turns out to
+ 30874 [list chromat] Stumbled over this in rpkg just a couple of days ago and did about the
| 30875 [dblack candl] Which reminds me... In Ruby 1.7.x you have the block form of Dir.chdir,
+ 30903 [ronjeffries ] Thanks David and Massimilano for your interesting and helpful replies.
| + 30905 [STUCKNER MUL] This is a very legitimate concern. I have wanted to know which files have
| | 30911 [ronjeffries ] Problem with a File object, if I understand it, is that it's open. I
| + 30917 [Dave Pragmat] and/or...
| | + 30918 [dblack candl] There's a rejected RCR (from me :-) that proposed a second argument to
| | + 30992 [ronjeffries ] Yes. Or maybe Dir itself is the wrong model. Some files are
| | | + 30995 [tobiasreif p] Tobi
| | | + 31012 [Gareth.McCau] Some. It's true in Unix (in all its many varieties), although
| | | 31158 [nobu.nokada ] Under MacOS, : for current, :: for parent, ::: for parent of
| | + 30999 [matz ruby-la] <snip method names>
| | + 31006 [dblack candl] I certainly think we should be thinking mainly about adding things,
| | | 31011 [ptkwt shell1] Or some already existing code could be broken...
| | + 31018 [list chromat] Or maybe there is good reason to the addiction. :-)
| + 30928 [list chromat] I don't know, but the snippet I reported works under 1.6.6, and the
| | 30993 [ronjeffries ] Yes a FileDescription is just what I'm talking about. I think I recall
| + 31004 [list chromat] Does this help you? Should be pretty portable, too.
| 31038 [list chromat] Some afterthoughts...
| 31043 [ronjeffries ] I'm not seeing what you envision as the difference in responsibilities
| 31067 [list chromat] FileHandle would fulfill FileDescription's role, too.
+ 30919 [dsafari xtra] I too have found file operations to cumbersome. It seems to me like my mind
^ SMB client library
30867 [ps radiac.mi] has anyone been working on a smb client library for ruby? i can't seem to find
30889 [hefa users.s] Quite funny you'd ask. I was planning on releasing it tomorrow... =)
30914 [ps radiac.mi] sometime the world just smiles at me - this now and this morning i got a 6gb
^ "each" in iterator: confusion
30869 [alwagner uar] I do not understand why this code runs forever. Is it because
+ 30877 [dblack candl] The problem is right there. When you say 'super', you're calling
+ 30878 [Dave Pragmat] 'super' is not a pointer to the superclass's vtable, but the name of
+ 30881 [alwagner uar] Ah, hah! Thank you both. It seems so obvious when you point it
^ File management routines?
30872 [list chromat] Is there any collection of file management routines, such as recursive
+ 30899 [chris.morris] I don't know of such a collection, but I've got a delTree method I can
| 30930 [list chromat] Thanks a lot. :-)
+ 30941 [ptkwt shell1] Check http://www.rubycookbook.com
| 30950 [kjana dm4lab] ....And there's a candidate, fileutils.rb, available from CVS, which is
+ 31127 [mulperi iki.] I've been using amstd/fileutils.rb for a long time.
^ eruby does not output error message
30883 [fujita uni-m] I've just compiled ruby 1.6.6, eruby 0.9.7 and mod_ruby 0.9.5.
30884 [jfontan cesg] I don't know much about eruby, but, have you tryed reading error_log from
30888 [fujita uni-m] This is what the error_log says. It is the same what eruby says when
30891 [alan digikat] This is how eruby/mod_ruby has always worked for me. If you find a
+ 30896 [fujita uni-m] Just try to invoke eruby using the option -Mc for CGI mode.
| 30898 [alan digikat] How would you get mod_ruby to add -Mc when invoking eruby?
| 30904 [fujita uni-m] That's an interesting question. In fact I don't know how to do this. I
+ 31369 [shugo ruby-l] (1) Please put the following script to docroot/ruby/server_error.rb.
+ 31464 [alan digikat] Is this a feature of mod_ruby-0.9.7? Right now, I'm using
+ 31465 [alan digikat] Whooops, I'm getting ahead of myself here,
31509 [shugo netlab] It's a feature of mod_ruby-0.9.4 or later.
^ gsub: arrays as parameters
30890 [dempsejn geo] This is a multi-part message in MIME format.
30892 [dblack candl] It looks more like a new, different method (where the first argument
30893 [dempsejn geo] Thanks for the advice! I believe the idea is a good one (pretty much
+ 30897 [dblack candl] I *knew* I wasn't looking at it closely enough :-) I missed the point
| 30916 [dempsejn geo] Ok, while I do think it is useful to have a built-in regex function that
+ 30929 [list chromat] of it would be enough to make my point, but somebody might find it
+ 30948 [dempsejn geo] thanks Massimiliano...if you don't mind, I'll hang onto this for the
+ 30951 [dblack candl] The three-dot ellipsis is correct in cases where something inside a
+ 30952 [dblack candl] Whoops, I meant to put that the other way around: the four-dot ellipsis
+ 30977 [list chromat] Never seen that case. Oh, to be fair I should have added that the
30978 [dblack candl] Right, my example was wrong. Hmmm... I'm convinced there's one out
^ problem with CGI-mode in eruby 0.9.7?
30894 [fujita uni-m] the problem that I just get an Apache Internal Server Error if there is
31368 [shugo ruby-l] This is not a bug.
^ [ANN] Ruby/SMB - ruby interface to the libsmbclient library
30902 [hefa users.s] After a long time of lurking in the Ruby community I have finally
30915 [ps radiac.mi] thanks mate! just what i almost have been producing myself, only I haven't
^ New Windows binary?
30912 [bobx linuxma] I know that Andy (I think) is busy preparing the 1.6.6+ version of the
^ MetaRuby : RubySchema.rb howto?
30920 [tobiasreif p] in a program that generates Ruby programs, I'd like to use MetaRuby's
30953 [matju sympat] There is no RubyProgram class, because any Expr can qualify as a Ruby
30969 [tobiasreif p] sounds good!
31079 [matju sympat] #to_s already has a meaning; it will be named differently. #inspect
31089 [tobiasreif p] looking good :)
+ 31131 [feldt ce.cha] FYI, I've played with the following way of specifying pretty-printers for
| + 31134 [tobiasreif p] Looks good. Would the above be the actual usage? Or could I pass
| | 31136 [feldt ce.cha] No there is no connection between PPDoc's and RubySchema yet. I just
| + 31137 [akr m17n.org] prettyprint.rb (and pp.rb) is written by me.
| 31138 [feldt ce.cha] I'll take a better look at your code. I'd like to merge my PPDoc stuff
| + 31139 [feldt ce.cha] I forgot the link to this paper. It can be found a bit down on the page
| + 31140 [akr m17n.org] Since Wadler's pretty printing is very simple, I think it is possible.
| 31142 [feldt ce.cha] require 'pp'
| 31213 [akr m17n.org] Agreed. FillGroup should be there at least.
+ 31367 [matju sympat] I'm really lousy at pretty-printing (witness the smelly stuff in the cvs
31371 [tobiasreif p] If I generate 10 classes, I'd like to be able to specify if they all go
31402 [matju sympat] Well, that's something you can specify when you eval() the result.
31413 [tobiasreif p] I'm confused. I thought I specify that when I do .to_string, or to_pp,
31421 [matju sympat] Sorry, *I* am confused. To answer your question, you can split a tree
31428 [tobiasreif p] Exactly. (What made you think I doubt that?)
31582 [matju sympat] oops. goof. never mind.
^ Newbie Q's...
30921 [wildbill spe] I have just installed Ruby 1.6.6 under Linux. I have d/l'd the FAQ
30943 [ptkwt shell1] Welcome...
+ 30944 [ptkwt shell1] I dug around in the RAA and found rbwrap by Robert Feldt. It might be
| 30964 [wildbill spe] and
+ 30965 [wildbill spe] Thanks...glad to be here...