62710-65057

62389-62860 subjects 62941-66151

^ Adding a ContactItem to a Contact Folder.
62710 [smurdon dnam] This is a multi-part message in MIME format.
62711 [maksa sezamp] Adding a ContactItem to a Contact Folder.Hello,
62712 [transami tra] those method names (i.e. Add, Save) really have capital first letters? that
+ 62713 [smurdon dnam] This is a multi-part message in MIME format.
| 62714 [smurdon dnam] This is a multi-part message in MIME format.
+ 62783 [drbrain segm] uby.

^ Windows ports: performance of cygwin vs mswin32 ruby
62720 [vil iis.nsk.] I found that recently released ruby 1.6.8 from the
62728 [nobu.nokada ] To handle signals correctly.  It has been improved in 1.7 or
62844 [vil iis.nsk.] Yes, ruby 1.8.0 [i386-mswin32] works fine,

^ cascading configuration variables
62730 [wilbert oswf] a little follow-up on loading config data as Ruby source files. I want my
+ 62732 [nobu.nokada ] Retrieving a constant needs to traverse the ancestors of that
| + 62734 [wilbert oswf] is it possible to exclude ('mixout') a module again?
| | 62739 [decoux moulo] module A
| + 62736 [ahoward fsl.] the
|   62781 [nobu.nokada ] Though it may be good, I guess an instance method of Module is
+ 62813 [gsinclair so] I think there's an RAA package called PseudoHash or something that
  62825 [vjoel PATH.B] PseudoHash appears to be an ordered hash.

^ "exclude" (was: Re: cascading configuration variables)
62742 [wilbert oswf] well, I would think B and all ancestors of B. But the stuff from A would still
62743 [decoux moulo] Unfortunately no : ruby never include twice the same module. If you remove
62749 [wilbert oswf] I understand. But if every module has a list of (pointers to) different
+ 62751 [wilbert oswf] Sorry, little error on my part: This does not issue a warning but it
+ 62755 [decoux moulo] Well, with my previous example

^ Getting the dynamic IP address of a dialup interface (ppp0)
62752 [batsman.geo ] I need to get the dynamic IP address of the ppp0 interface
+ 62784 [drbrain segm] ifconfig should be virtually the same everywhere, so parsing should be
| 62786 [batsman.geo ] Great! I have been reading ifconfig's (net-tools's) sources, and
| 62809 [drbrain segm] Remember, UNIX is about processing text, don't worry about all the messy
+ 62972 [whitton atla] You could always register with dyndns.org(it's free!) and have a

^ ruby-talk digest mode?
62758 [dcarrera mat] Does anyone know if there is a "digest" mode for ruby-talk?
62806 [dsafari para] Let me shamelessly promote the RWN here. It was started to allow people to

^ Re: Recursively getting files
62759 [ahoward fsl.] require 'find'

^ Strange cgi.rb <--> StringIO problem
62766 [delirious_no] I hope someone can help me figure out this strange behaviour because
62773 [delirious_no] Note that installing the shim package (that contains StringIO) solved

^ common regular expressions
62767 [mgarriss ear] Sorry if this a stupid question but I am new to ruby AND regular
+ 62769 [dcarrera mat] Never heard of such a list.  The O'Reilly book "Mastering Regular
| 62774 [sroberts uni] Including one for a valid rfc822 email address list, which takes about
| 62775 [dcarrera mat] I only meant to write an "approximate" RE that would work most of the
| + 62779 [simon simon-] And who's going to have crazy things like pluses or hyphens in their
| + 62787 [sroberts uni] Oh, hey, I know that! I wasn't trying to trash your regexp.
+ 62771 [alan digikat] You might look at the URI at http://arika.org/ruby/uri. It goes a bit beyond
+ 62776 [michael_s_ca] To be strictly pedantic, I don't think there is such a thing.  For the truly
| + 62778 [dcarrera mat] Yes, there is actually.  Email is a strict protocol, just like FTP and
| | + 62788 [sroberts uni] I think Mikes referring to a perl conversation about validity,
| | + 62801 [michael_s_ca] As another person noted, I wasn't saying you couldn't check for RFC-822
| + 63014 [billtj z.glu] Isn't this the very last example in the book "Mastering Regular
+ 62777 [martindemell] martin
+ 62811 [gsinclair so] The Perl Cookbook has a chapter on regular expressions, and concludes
+ 62853 [mike_thomas ] later...
  + 62858 [mgarriss ear] Perfect!  Thank you.
  + 62898 [sroberts cer] One of those doesn't allow _ in the domain name,

^ rubynet-announce digest, Vol 1 #22 - 1 msg
62768 [rubynet-anno] Send rubynet-announce mailing list submissions to

^ "undefined ref to 'flock'" when compiling 1.8 under cygwin
62794 [coma_killen ] Trying to build Ruby 1.8 preview under cygwin.
62842 [eban os.rim.] Try the latest CVS version of Ruby 1.8.
62863 [coma_killen ] Thanks. With latest CVS it now works fine to compile for cygwin
62928 [eban os.rim.] I think that your gcc is old.  It has not taken adjustment
62947 [coma_killen ] Thanks Watanabe-san. Problem was that a cygwin install with
62970 [eban os.rim.] /usr/lib/zlib*.a and /usr/include/zlib.h are only for

^ It would be nice to be able to get a regexes string back...
62804 [sroberts uni] class Decoder
62810 [drbrain segm] [23:27] drbrain@huphu:~/ruby/borges$ ri Regex.source
62832 [sroberts uni] Thats funny! I did a ri Regex and looked at the methods that looked
62849 [drbrain segm] I have occasionally thought it would be nice to be able to see the doc
62878 [gsinclair so] You'll get it soonish.  Core classes are being RDoc'ed, so method

^ Pragmatic Programmer? (was: Re: Updates to Programming Ruby: Request for Help)
62805 [waisun.chia ] Dave,

^ Organizing our efforts, as well as the modules itself.
62807 [smurdon dnam] This is a multi-part message in MIME format.
+ 62865 [dcarrera mat] I'll try to address your comments.
| 62869 [martindemell] That'd be the 'Application' part of RAA. A supplementary website
| 62871 [smurdon dnam] This is a multi-part message in MIME format.
| 62873 [smurdon dnam] This is a multi-part message in MIME format.
| 62874 [dcarrera mat] I have an idea.  In the mockup site I made
| 62879 [gsinclair so] Good idea.
| 62880 [smurdon dnam] This is a multi-part message in MIME format.
+ 63044 [nahi keynaut] Thank you for your comment.  I try to answer your question about
  63054 [gsinclair so] It's "engrish" ;)

^ Ruby Weekly News
62812 [Dave Pragmat] Ruby Weekly News: 01/27/2003

^ My last word on aliases ;)
62815 [gsinclair so] Fair enough, you don't want to group aliases before their target, but
+ 62830 [gsinclair so] It seems that once per N months, I am bound to send something to -talk
| 62833 [dave pragmat] Ah - now I see what you're thinking, and why there's a disconnect.
| 62835 [gsinclair so] "Equal billing" would mean that both names get the full documentation
+ 62837 [matt lickey.] Yes I've been thinking about an RDoc feature that allows the
| 62876 [gsinclair so] Sounds like you want some more classes.
+ 62851 [matt lickey.] Yes I've been thinking about an RDoc feature that allows the

^ Very nasty piece of code
62816 [peter semant] Whilest writing my RTF tools library I had a need to convert from &#XX;
+ 62817 [bulatz integ] smth like
| 62818 [peter semant] Neither of those actually parse!
| 62819 [bulatz integ] sorry, use
| 62820 [peter semant] Nope still broken. Remember string sub does some very nasty things with
+ 62821 [behrends cse] string.gsub!(/&#[0-9a-fA-F]{2};/) {|x| "\\'#{x[2,2]}" }
+ 62822 [bulatz integ] sorry. below is tested code :)

^ Test::Unit -> order of tests?
62836 [batsman.geo ] I'm new to Unit Testing and wanted to learn on it by writing the tests
+ 62839 [ahoward fsl.] i had a similar problem.  nameing your tests in a manner which sorts lexically
+ 62845 [mgarriss ear] IMHO, it would be nice if they were run in the order they were defined.
| 62852 [ahoward fsl.] agreed.
| + 62855 [chad chadfow] I humbly disagree with this.  If the order of the tests is guaranteed, it
| | + 62859 [pbrannan atd] I disagree with this.  I have a test that check for a specific bug in
| | | + 62868 [michael_s_ca] Then you have coupling between tests, which is generally considered "bad".
| | | + 62875 [gsinclair so] I'm no UT expert, but there *must* be another way to achieve this
| | + 62861 [ahoward fsl.] this may be true _most_ of the time, but there are cases where it's too
| |   62867 [matt lickey.] The point of the TestCase class is to make it easy to set up a series
| |   62899 [wkb airmail.] This is a *great* solution for test cases that must be run in a certain
| |   + 62902 [gsinclair so] Just a thought.  JUnit allows specification of test order.  Does
| |   | 62919 [nathaniel ta] * Allow the selection of multiple test orderings.
| |   | 62935 [alan digikat] It occurs to me that you might to support unordered tests by providing a
| |   | + 62962 [alan digikat] Nevermind -- Note to self, must remember to read all branches of the thread before posting..
| |   | + 63210 [ tom u2i.com] Something I've wished for: I'd like my tests to be ordered such that
| |   + 62923 [nathaniel ta] methods
| |     + 62929 [gsinclair so] Emit the random number seed so that it is repeatable, and give a
| |     | 62937 [nathaniel NO] Excellent idea. As Matt says, I'd have to insulate myself from the
| |     + 62930 [matt lickey.] class TestCase
| |       + 62931 [bystr mac.co] Matz called "perlish" this
| |       + 62938 [nathaniel NO] order
| |         62940 [matt lickey.] Ooh, yeah, yuck.  The included module won't have a list of methods in
| |         62971 [wkb airmail.] I'll mention right off the bat that I'm a Ruby newbie, but based on an
| + 62856 [kentda stud.] Not arguing that it would be nice, since it is possible to scan the
|   62866 [batsman.geo ] The way I had written it, I couldn't easily separate the handshake from
+ 62862 [mgarriss ear] require 'dbi'
  62939 [jweirich one] [... code elided ...]

^ Embedding Ruby: Potential memory leaks?
62843 [stesch no-sp] I'd like to embed ruby into a C program. Are there any potential
62846 [decoux moulo] no,
63092 [stesch no-sp] VALUE foo = rb_str_new2("bar");
63093 [decoux moulo] The object is on the stack, it will be marked by the GC . see

^ tkgnuplot problem: fork() on win
62847 [lausianne gm] I just downloaded tkgnuplot, hoping I could use it to write a little
62924 [nagai ai.kyu] Tkgnuplot creates a gnuplot process and keeps inter process

^ WIN32OLE and CrossoverOffice (wine)
62870 [Antti.Karant] I am just learning ruby and am going to do a little script that
62883 [nobu.nokada ] Though I've never tried it, doesn't it work with --with-opt-dir
63002 [Antti.Karant] Neither seems to work. But then again, the include - dir does not even
63004 [nobu.nokada ] I meant WINE's header and library directories.
+ 63082 [a.bokovoy sa] I used to provide ruby-stdlibs-win32ole package in my previous builds. It
+ 63085 [Antti.Karant] akaranta@hyperion:~/cxoffice> ls -l bin/wine
  63106 [nobu.nokada ] Now I tried with win32ole in recent CVS, and succeeded to

^ getting eRuby to run under mod_ruby
62872 [ian caliban.] I have mod_ruby running fine for regular Ruby scripts, but attempting to
+ 62893 [ian caliban.] RubyRequire  apache/eruby-run
+ 63309 [transami tra] Ian,
  63345 [ian caliban.] RubyRequire  apache/eruby-run
  63350 [transami tra] good! i should have caught that myself!

^ ANN: FXRuby-1.0.18 Now Available
62877 [lyle users.s] All,
+ 63003 [jason persam] After installing FXRuby v1.0.18 over Ruby v1.6.8 (using the correct binary), I get this error when
| 63005 [CRIBBSJ oakw] This message is in MIME format. Since your mail reader does not understand
| 63008 [jason persam] Cool... that worked (well, copying to the 1.6 variant of the directory worked).
+ 63187 [mkcon gmx.de] I installed ruby
  63208 [lyle users.s] FXRuby-1.0.18 introduced an unintended dependency on Ruby/OpenGL. This

^ Ruby Gnumeric Plugin
62881 [whitton atla] Has anyone considered writing a Ruby plugin for Gnumeric? Python and Perl

^ FXTexr and widget focus
62882 [gordonhartle] Just got an annoying problem with changing focus off of a FXText
+ 62887 [STUCKNER MUL] If you know how to set focus to the next widget, then all you have to do is
+ 62905 [lyle users.s] The most straightforward solution is to intercept the SEL_KEYPRESS
  62917 [gordonhartle] Thanks for the help above, it does seem to work by itself, but I can't
  62922 [lyle users.s] I'm not quite sure I understand what the problem is, other than you're

^ [FXRuby] How to force a paint on a canvas.
62884 [STUCKNER MUL] This is a multi-part message in MIME format.
+ 62888 [daniel zeped] Try @outputCanvas.update, although you probably want to reorganize your code
| 62909 [lyle users.s] I agree with everything except the idea about tying this to the
| 62926 [daniel zeped] I agree it is not a good idea to connect the code Steve posted to SEL_MOTION. I
| 62927 [daniel zeped] And after re-reading it again, I *still* think I'm not clear enough. I mean
+ 62906 [lyle users.s] under the topic "When do I call flush(), forceRefresh(), refresh() and
  62949 [STUCKNER MUL] Thanks to both replies!
  62957 [lyle users.s] FXWindow#repaint causes a window to process all of its backlogged

^ proposed RAA update plan.
62886 [dcarrera mat] I'd like to propose a very simple improvement plan for RAA.  I am
63050 [nahi keynaut] Thank you for the summary.  And also thanks to your effort about
63132 [dcarrera mat] Thank you for considering my suggestions.
64187 [nahi keynaut] Regards to #5 (two columns), I tried on.
+ 64188 [ahoward fsl.] prototype/experimental too.
+ 64215 [matt lickey.] I thought this was confusing, but the idea is good.  I think there
  65057 [nahi keynaut] Definitely.  This is the last ToDo item to be checked

^ ruby-dev summary 19380-19436
62890 [maki rubycol] This is a summary for last week on the ruby-dev mailing list.
+ 62891 [feldt ce.cha] Yes, yes, yes!!! I've feldt I've been right, all the time... :-)
| + 62892 [feldt ce.cha] Oops, freudian slip there. "feldt" should be "felt"...
| + 62894 [usa osb.att.] It's Takahasi-san's mistake.
| | 62901 [dcarrera mat] Good.  I don't like camelCase.
| + 62967 [maki rubycol] Oops, I'm sorry so much. It's my fault. Usa-san's comment in
+ 62895 [dblack candl] Please tell me this was a typo.... :-)
| 62904 [dcarrera mat] He he, yes it's a typo.
+ 62896 [gsinclair so] The standard library at the moment uses CamelCase for classes and
+ 62907 [dcarrera mat] Is that a rigid rule.  I like 4 spaces.  I can do without TABs, but I
| 62910 [gsinclair so] Only if you're writing code for the standard library!  That's the
+ 62908 [martindemell] IMO, no. It reads very badly. I'd like a.over(b), though as Gavin said,

^ camelCase, was: ruby-dev summary 19380-19436
62897 [dim colebatc] Question from a newbie here...
62903 [dblack candl] Yes, and similarly for variable names.

^ Parsing: x = y || raise "error"
62911 [gsinclair so] I more or less commonly use the following idiom (taken from recent
+ 62912 [dcarrera mat] dir = ARGV.shift || raise "Require directory argument"
| 62913 [dblack candl] dir = (ARGV.shift || (raise("Require directory argument")))
+ 62914 [ahoward fsl.] dir = ARGV.shift || raise "Require directory argument"

^ Another RDoc choke on stdlib
62915 [gsinclair so] Here's another crash scenario.  (Top-snipped)

^ Another RDoc niggle
62916 [gsinclair so] RDoc doesn't produce any class/method documentation when fed ftools.rb.
62925 [dave pragmat] There's nothing meaningful I can do here (at least until I support

^ Sorry folks...
62918 [gsinclair so] I've just noticed a quirk of my email client that is sending
62921 [smurdon dnam] This is a multi-part message in MIME format.

^ Connecting to a MS SQL database...
62932 [smurdon dnam] This is a multi-part message in MIME format.
+ 62934 [chrismo clab] This is a multi-part message in MIME format.
+ 63021 [jamesvtoomey] This code should work. You'll probably find more examples if you

^ [ANN] cLabs IEController 2003.027.0
62933 [chrismo clab] I've finally posted a download of my Ruby lib for controlling Internet

^ Re: tkgnuplot problem: fork() on win (popen3 for windows?)
62936 [ptkwt shell1] Didn't someone recently announce that they implemented popen3 for Windows?
63052 [nagai ai.kyu] Thank you for your information.
63081 [lausianne gm] thanks for the effort ...
63089 [nagai ai.kyu] Hmm...
63230 [lausianne gm] @cmd = 'c:\program files\design\
63276 [nagai ai.kyu] Well, what happen when you give the gnuplot command path to 1st argument of
63315 [lausianne gm] same thing.
63475 [nagai ai.kyu] When only require it, the part which include "gp.terminal = 'x11 1'"
63562 [lausianne gm] require 'gnuplot.rb' # maybe need change the path of library
63607 [nagai ai.kyu] Thank you for your report.
63637 [nobu.nokada ] I guess qoutes surround command path are necessary.
63640 [nagai ai.kyu] How foolish I am!
63661 [lausianne gm] files\design\gnuplot\gp371w32\pgnuplot.exe"')
63678 [nagai ai.kyu] Probably you are right.
63744 [nagai ai.kyu] I couldn't find the way to get stdout and stderr of gnuplot for
threads.html
top