111775-112412

111604-121692 subjects 111991-187464

ri question
111775 [cmills@fr es] How do you redefine your search in the following instance?
111784 [jamesUNDERBA] I've seen this sort of duplication on one of my Windows boxes where I've
111787 [cmills@fr es] Thanks!  That worked.

1.8.2preview2 does not use LDFLAGS
111782 [hramrach@ce ] It looks like a little bug in mkmf.rb
+ 111814 [nobu.nokada@] DLDFLAGS is different from LDFLAGS.  Use DLDFLAGS to pass
| 111872 [hramrach@ce ] I know it is different and I do not use it directly, it is used when
| 111950 [nobu.nokada@] $ ./configure DLDFLAGS="..."
| 111974 [hramrach@ce ] No, you cannot. Or at least should not.
+ 111994 [hramrach@ce ] @@ -960,7 +960,7 @@
  112183 [hramrach@ce ] Since nobody seems interested I should probably add some
  112335 [nobu.nokada@] CPPFLAGS=/somewhere-else/include LDFLAGS=/somewhere-else/lib \
  112371 [hramrach@ce ] You seem to be fixated on DLDFLAGS :)

[ANN] regexp 0.11    (useful for debugging big regexps)
111785 [neoneye@ad l] Debugging regular expressions becomes easier with this package.
111809 [Ara.T.Howard] wow - that is very cool simon!  i can't remember is this dfa or nfa re?
111810 [neoneye@ad l] Its nfa, still without optimizations.. but good for debugging big regexps :-)
111816 [assaph@av ya] What happened to the gem releases?
111821 [chadfowler@g] I don't think Simon has done rubygems releases of a few of those libs
111822 [assaph@av ya] There are a couple of regexp-engine releases on the gem repository (gem
111827 [neoneye@ad l] the wrong number.
111828 [assaph@av ya] (gem

[RCR] Unified type conversion framework
111786 [rff_rff@re o] You can find the full text at
111837 [tunah.usenet] Cool! Occasionally I think about doing something like this, so I can
111840 [rff_rff@re o] I think most of us did, this is why I'm telling this is not something new :)
+ 111880 [pbrannan@at ] I think you mean Hash[*anArray].  IMO, It's not totally unintuitive, but
| 111896 [flgr@cc n. e] Actually converting an assoc array to a Hash is done via
| 111958 [tunah.usenet] db.select_all(...).map {|foo,bar| [foo,bar]}.to_h
| 111959 [gsinclair@so] require 'extensions/all'
| + 111961 [markus@re li] Well, as long as we're playing "show me yours and I'll show you mine," I
| | 111963 [gsinclair@so] I like that game :)
| | + 111968 [rff_rff@re o] def build_hash (ary)
| | + 112007 [markus@re li] I call that "Enumerable#collect_hash_with_key"; in my extensions I tried
| + 111965 [martindemell] build_hash {|key, val| {key => val}}
+ 111960 [tunah.usenet] I think there needs to be a difference between implicit conversions (if

Re: Ruby-Nuby forum> Fear and intimidation keep coming up.  I just hate to see that.  It's
111789 [rff_rff@re o] well, but it's obvious. To get the idea that the list is friendly you

yaml nuby question - duplicate keys
111795 [djberg96@ho ] Ruby 1.8.2
+ 111796 [jamesUNDERBA] Try this (off the top of my head)
+ 111798 [dblack@wo bl] You could store them as an array of hashes, if that doesn't interfere
+ 111800 [jgb3@em il b] data[0]['foo']['user']
+ 111811 [ruby-talk@wh] It looks like you're trying to emulate XML, nnn?  Yeah, the above isn't
  111873 [djberg96@ho ] Thanks Why, James, Jamis, and David for all your responses.

Mozilla/WEBrick strangeness
111801 [rcoder@gm il] Here's the situation: I have a simple webapp hosted under WEBrick. The
111806 [jamesUNDERBA] Do you have a pause in your code or some check to ensure that the server
111807 [rcoder@gm il] James,

Extending ruby with crypto++
111808 [dwerder@gm .] I'd like to use some encryption functions from the crypto++ library
+ 111812 [jm@tr ns ct ] I haven't tried this myself, but have you looked at ruby's dl package?
+ 111815 [nobu.nokada@] Add have_library("stdc++") to extconf.rb.
| + 111830 [dwerder@gm .] I don't use any build system for this little wrapper, or do you mean I
| | + 111832 [decoux@mo lo] It's best if you give the complete example, but try it with
| | + 111844 [nobu.nokada@] Then how do you compile it?
| | | 111989 [dwerder@gm .] When it was plain C without the C++ stuff I just used gcc from
| | + 111846 [fgp@ph o. rg] C++ is much stricter when it comes to what kindes of type-casts are
| | | + 111995 [dwerder@gm .] This explains a lot.. but I can't find this export keyword ?!?
| | | | 111996 [ryco@gm .n t] its extern, not export
| | | + 111997 [dwerder@gm .] Found it, the keyword is extern instead of export, but I solved it as
| | + 112330 [elathan@ph s] #ifdef __cplusplus
| + 111841 [dwerder@gm .] I did some work to make a test case.
|   111842 [decoux@mo lo] It's called "name mangling". You must compile a.c with g++
+ 111847 [rff_rff@re o] I won't help you, but are you sure you could'nt mock up something with

[ANN] Test::Unit::Reporter 0.2.0
111818 [alex@ve k. n] in HTML and other formats.
111831 [Bil.Kleb@NA ] Does this mean you are moving toward being able to feed CruiseControl?
111845 [alex@ve k. n] Not that I explicitly thought about it, befiore you asked, but it's the

Where does Instiki store pages on OSX?
111825 [ptkwt@ar cn ] I know the Instiki FAQ says they're stored in
111826 [lucsky@ma .c] You just forgot that weird little thingy called the tilde (~) ;)
111911 [ptkwt@ar cn ] Sure enough.  There it is.  I forgot that each user has a Library folder -

Creating new scope
111833 [george.mosch] x = 0
111836 [purple.dot_m] If I do this on my machine, it prints 1 and 1.
111893 [discord@ma .] Currently, creating the variable beforehand *ensures* that it will be
+ 111895 [flgr@cc n. e] x = 1
+ 112163 [george.mosch] Is there something i can do now?
  112166 [rff_rff@re o] maybe try another ruby binary?

ruby-dev summary 24171-24235
111839 [aamine@lo er] This is a summary of ruby-dev ML in these days.
+ 111850 [transami@ru ] that seems bad.
| 111852 [aamine@lo er] I forgot to note that his proposal is for *Ruby 2*.
+ 111856 [spam0504@bs ] What would be the meaning of xxx!='something'. I'd read it
+ 111860 [kristof@vl e] Interesting.
+ 111867 [rff_rff@re o] idx, = "foo bar".index(/oo/)
| 111978 [matz@ru y- a] Because that is a hidden global variable.
+ 111881 [pbrannan@at ] s/gracefully //
| 111891 [Ara.T.Howard] for me (in ruby) it simply produces false - isn't that graceful?
| 111952 [nobu.nokada@] In recent 1.9, an exception will raise when the command won't
+ 111948 [bg-rubytalk@] To me, this isn't a big loss.  It improves readability /
  111977 [g_ogata@op u] If all you want is pattern matching when receiving Arrays, it's
  111979 [kristof@vl e] Yes, but with the proposed scheme for multiple values, this will not

STACK_LEVEL_MAX on IA64 (was Re: Update: Compilation fails for Altix (IA64))
111843 [Bil.Kleb@NA ] Where do we go from here?

Traffic Dip?
111849 [bob.news@gm ] is it just me or has the traffic here dropped significantly during the
111854 [drossruby@ya] I have been getting many messages a day (30-50). What
+ 111857 [bob.news@gm ] "David Ross" <drossruby@yahoo.com> schrieb im Newsbeitrag
| 111859 [drossruby@ya] wel yes thats correct, I recieved around the same
| 111865 [DocBoobenste] Traffic seems normal, though a bit more concentrated in fewer threads.
+ 111914 [snowzone5@ho] a few months ago, i was getting that kind of volume...when it dropped
  + 111920 [drossruby@ya] okay weird. Didn't you get around 60 emails today like
  | + 111992 [bob.news@gm ] "David Ross" <drossruby@yahoo.com> schrieb im Newsbeitrag
  | | 112001 [drossruby@ya] hehe, well. I have many people on ignore for a long
  | + 112352 [snowzone5@ho] nope...been like that for awhile now...i could keep checking the
  + 111921 [discord@ma .] These are the total numbers of messages received on the ruby-talk

Order of Operations Question
111862 [zdennis@mk e] dir = Dir.new( d ) if( File.directory?( d=$*.shift ) )
111863 [zdennis@mk e] Please ignore...i realized I was passing in a nonexistent directory.
111866 [decoux@mo lo] I hope that you have seen that ruby will call the method #d in Dir.new()
111868 [zdennis@mk e] Yeah, I learned that the hard way ;), I am initializing d to nil just
111871 [decoux@mo lo] I don't have this problem
111874 [zdennis@mk e] You're right...I must have had a typo when i was trying earlier...but it

[ANN] Korundum 3.3.1 beta
111875 [Richard_Dale] This is the first release of the Korundum Qt/KDE ruby bindings on Rubyforge.
+ 111915 [horacio.lope] What's the minimum KDE version required ?
| 111944 [Richard_Dale] Thanks! I've tested building with Qt 3.3.x and KDE 3.3, but it should work
| 111957 [horacio.lope] Do we have QWidgetFactory in the new release ?
| 111984 [Richard_Dale] No, not for this release. I did work out how to use QWidgetFactory with
| 112120 [horacio.lope] That's okay, most applications will do fine with rbuic, and it's not
+ 111917 [brianwisti@y] Excellent! It looks like I got my broadband connection back up just in

method by string ?
111883 [roelandmoors] I'm creating a program which uses a ruby source file as config
+ 111885 [decoux@mo lo] $mode.send($method)  # ruby will be able to call also private and
| 111889 [roelandmoors] $mode.send($method) if $mode.methods.include?($method)
+ 111886 [roelandmoors] $mode.method($method)
  + 111888 [msparshatt@y] This won't do what you want. It'll return a Method
  + 111890 [bob.news@gm ] "Roeland Moors" <roelandmoors@telenet.be> schrieb im Newsbeitrag

Available to work at a basic rate
111892 [keith_hodges] Dear Rubists

module_function question
111894 [crf@sb x. u-] Consider...
111902 [bob.news@gm ] "Martin Pirker" <crf@sbox.tu-graz.ac.at> schrieb im Newsbeitrag
+ 111985 [crf@sb x. u-] thanks for saving ~200 lines  :-)
+ 111987 [decoux@mo lo] don't work : call_test1 and call_test2 are not module functions
  111990 [bob.news@gm ] "ts" <decoux@moulon.inra.fr> schrieb im Newsbeitrag

using a hash in eval
111898 [csshsh@st uc] options = <<-END_OF_OPTIONS
+ 111903 [markus@re li] I'm not exactly sure what you are trying to do.  Do any of these do what
| 111980 [csshsh@st uc] well, basically just not so breakable. inspecting and then replacing \"
+ 111910 [Ara.T.Howard] some_method_which_expects_a_hash(YAML::load("#{ YAML::dump options }"))
+ 111954 [nobu.nokada@] define_method(:foo)
  112351 [csshsh@st uc] that unfortunately doesn't really work in my situation,
  112400 [nobu.nokada@] foo = method("#{foo}_method_which_expects_a_hash")
  112412 [csshsh@st uc] awesome! thanks a lot!

YAML transformations
111899 [hans@fu al n] I love YAML, and I love using YAML in ruby. Thank you Why and everyone
111912 [jgb3@em il b] I know that _why has been doing some of this, for WPGTR. And I've
111916 [hans@fu al n] I like the approach of instiki, to allow either markdown or textile, and

[ANN] Arrow-0.1.0
111901 [ged@Fa ri MU] I'm pleased and proud to announce (finally) the first public release of

Ruby and CruiseControl
111904 [Bil.Kleb@NA ] Jeffrey Fredricks's Continuous Integration article,
+ 111907 [csshsh@st uc] did you check out damage control yet?
| 111908 [Bil.Kleb@NA ] Awesome.
+ 111947 [mike@cl rk a] Hmm... a Rake builder would be trivial to write, and a refreshing

IOWA error
111905 [probertm@no ] component == Iowa::Component
111913 [khaines@en g] Yeah.  It's one of the bad errors that is being improved so that it makes
111919 [probertm@no ] Thanks, Kirk.

Are there known issues with rubyzip on WIndows?
111918 [jamesUNDERBA] I've been using rubyzip to manipulate OpenOffice.org files,and it works
112113 [jamesUNDERBA] One more quirk:  Same code, same Ruby, same PC, works fine when run from
112118 [jamesUNDERBA] Sorry, scratch that; wrong tests.  Things still not good on Windows.
112373 [robert.mcgov] Is it a problem with the files not being outputed in binary mode?
112380 [jamesUNDERBA] That was my first thought, and the to-level API prevents you from

Ruby-Nuby forum
111922 [alex@ve k. n] 9 people are for,
+ 111923 [jamesUNDERBA] What poll?
| 111924 [alex@ve k. n] Of course not. Don't take this too seriously.
+ 111927 [gsinclair@so] I will, as opposed to, say, IRC, which is not really practical for me.
| 111930 [alex@ve k. n] Depends on one;s definition of "better". I want to get a personal
| 111937 [jamesUNDERBA] They're sort of apples and oranges;  one could create the equivalent of
| 111943 [drossruby@ya] Agreed. I have seen some new programmer projects that
| 111981 [alex@ve k. n] J2EE in Ruby, and suffer similar headaches.  The point of comparison
| 112004 [jamesUNDERBA] In Ruby ?
| 112050 [alex@ve k. n] with magnets"
| 112091 [jamesUNDERBA] I was being semi-facetious; I believe that nubies new to programming may
+ 111931 [brianwisti@y] I'm glad to learn that you've decided to go for it. I'd like to
| + 111932 [brianwisti@y] ... and that was *intended* to be off-list. I still need to learn how
| + 111933 [alex@ve k. n] Thanks.
+ 111935 [james@gr yp ] I know I'm only one voice, but I'm not fond of the idea of seeing
  111936 [alex@ve k. n] Notification will contain a URL back to the forum thread. Anonymous
  111939 [ml-ruby@th p] What if a person wants to follow both lists? I guess I don't much like
  + 111942 [gsinclair@so] +1 from me.
  | + 111945 [drossruby@ya] There is just warm feeling that comes from
  | | 111962 [brianwisti@y] Which definitely suggests that some moderation may be in order, since
  | + 111946 [agorilla@gm ] Yep, and it's also the perfect time to "graduate" the nuby to the main
  + 111967 [rff_rff@re o] completely agreed

rdoc bug?
111928 [jgb3@em il b] $ ruby -v
111951 [dave@pr gp o] RDoc's parsing of C assumed a style similar to the Ruby core, with no

ruby-sysutils (was Ruby for system administration)
111929 [djberg96@ho ] <big snip>
111953 [horacio.lope] Thanks Ian, it's good to have all these utils at hand.

Q: Should String.upcase! work on a segment of a string?
111938 [mghallNO@SP ] We can assign to a sub-string, so I thought that a bang-method might also work on a sub-string.
+ 111941 [gsinclair@so] s is one object; s[4..5] is another.  What you do to the second object is
| 112063 [mghallNO@SP ] I don't understand that... we can outright assign to the substring and it _does_ affect the original string.
| + 112065 [halostatue@g] There's your conceptual error: there is no distinction of RHS and LHS.
| + 112067 [markus@re li] DON'T TRY THIS TRICK AT HOME
+ 111956 [nobu.nokada@] It isn't suitable for Ruby's object model, as mentioned
+ 111986 [discord@ma .] A string and it's substrings (as accessed by [] and slice) are not

Re: Should String.upcase! work on a segment of a string?
111940 [assaph@av ya] also work on a sub-string.

Re: [ANN] Firefox Ruby Sidebar Extension (Re: ruby sidebar for firefox?)
111970 [k@v2 tu io c] actually, the server admin is lazy to set a proper mime type, so try
+ 111975 [Stephan.Kaem] Great! Thanks!
+ 112003 [jamesUNDERBA] What is this supposed to do? In firebird 0.7, I get a "install script
  112009 [k@v2 tu io c] It'll install a firefox extension, 0.9 and 0.10 only.
  112010 [jamesUNDERBA] Ah, OK.  I'll try that on another machine with a later version.

Problem with ensuring consistency .. Finalization??
111972 [charleshixsn] I want to have a class which occasionally updates a file, but I want to
+ 111983 [eule@sp ce c] Not quite sure if I really understand your problem, but I might offer
| 111993 [bob.news@gm ] "Kaspar Schiess" <eule@space.ch> schrieb im Newsbeitrag
| 112029 [charleshixsn] What's being done here is updating a database (an Sqlite database
| 112139 [bob.news@gm ] "Charles Hixson" <charleshixsn@earthlink.net> schrieb im Newsbeitrag
| 112146 [charleshixsn] Marshall is the wrong answer.  The hash will be limited to around 1500
| 112155 [bob.news@gm ] ...
| 112225 [charleshixsn] Sort of.  The disk storage is permanent, it's the hash that's
| 112320 [bob.news@gm ] "Charles Hixson" <charleshixsn@earthlink.net> schrieb im Newsbeitrag
| 112359 [charleshixsn] The cache seems to be working now... my current problem has to do with
+ 112008 [halostatue@g] Perhaps an END {} block?
| 112028 [charleshixsn] That looks like a good approach (well, the best suggested).  I'd rather
| 112068 [vjoel@PA H. ] IIRC, Kernel#at_exit has the same functionality, but you can call it
| 112131 [charleshixsn] Thanks!  That's JUST what I was looking for.
+ 112073 [flgr@cc n. e] What about using at_exit?

Net::IMAP: Encoding problems
111973 [mschmidt@at ] I've used Net::IMAP for the first time and all in all it worked very
111988 [crf@sb x. u-] def decodeqp(str)
threads.html
top