81347-82004 subjects 81833-83236

^ RubyConf, Ruby Central, Ruby Garden temporary outage
81588 [dblack super] Just to let everyone know that there's a network outage at
81601 [chad chadfow] FYI, this appears to be resolved.

^ Extract methods in a class to mixin?
81589 [flori nixe.p] I just tried to extract the methods defined in a class and make a mixin
81591 [decoux moulo] Try this
81704 [flori nixe.p] Line 23 ^^^
81705 [decoux moulo] With your *patched* version
81707 [flori nixe.p] Oh, that isn't really optimal. :)
81708 [decoux moulo] What do you do with all embedded applications which run code written by

^ Re: Calling fun taking struct and not pointer to struct?
81590 [nathaniel NO] 1) The act of using a struct in the declaration of another
81594 [feldt ce.cha] This is what I'm asking.
81596 [nathaniel NO] Hmmm... I may end up doing that for now, but it's just so ugly. It sure
81597 [feldt ce.cha] I agree it seems pretty straightforward and useful. It still depends
81603 [nathaniel NO] Well, I'm very much a C novice, but from my limited understanding of how
+ 81608 [wkb airmail.] Nathaniel,
| + 81609 [aredridel nb] ess
| + 81610 [nathaniel NO] Thanks for the info!
+ 81622 [Tim.Hunter s] Would that this were true. However, the ANSI C standard doesn't
  + 81625 [nathaniel NO] Hmmm... so the question is, is there any way to determine how the compiler
  | 81658 [cyclists nc.] Well, a starting point would be offsetof().
  | 81662 [nathaniel NO] Hmmm... but is offsetof() portable? :-/
  + 81661 [nathaniel NO] After doing some more googling, and looking more closely at the DL source,
    81665 [cyclists nc.] A compiler is free to align a structure on a boundary that is stricter
    81681 [steven.jenki] Correct. ISO C further guarantees that a pointer to a structure may be

^ posting multipart form through http.rb
81599 [chrismo clab] [snip ... file data]
81602 [decoux moulo] with
81604 [chrismo clab] Yeah, I just realized this ... I'd misassumed the Content-Type and

^ ruby-dev summary 21295-21366
81600 [aamine lover] This is a summary of ruby-dev ML in these days.

^ windows line termination
81605 [chrismo clab] Why does Ruby translate \n -> \r\n automagically when writing to/from
81606 [decoux moulo] try it with the `b' switch
81630 [chrismo clab] Dang it - forgot about that *again*. Thanks for the reminder :-)
81637 [fxn hashref.] When you read/write a text file Ruby (as C or Perl) lets you see a
81667 [chrismo clab] Thanks, Xavier -- guess I just needed the confirmation to make sure I

^ What *are* variables? Which are nil now?
81612 [hgs dmu.ac.u] Reading about reflection, ObjectSpace will give you the objects in
+ 81632 [austin halos] You mean @b1.nil? -- right?
| + 81635 [chad chadfow] # > raise "@b1 is nil" if @b1.nil
| | 81700 [hgs dmu.ac.u] Yes, I'd mistyped it.
| + 81659 [hgs dmu.ac.u] Yes, didn't paste it because it was short!
|   81695 [bob.news gmx] "Hugh Sasse Staff Elec Eng" <hgs@dmu.ac.uk> schrieb im Newsbeitrag
|   81706 [hgs dmu.ac.u] [Nil#to_a]
|   + 81712 [bob.news gmx] "Hugh Sasse Staff Elec Eng" <hgs@dmu.ac.uk> schrieb im Newsbeitrag
|   | 81724 [hgs dmu.ac.u] That occurred to me later.  Originally I could not determine it was
|   + 81713 [decoux moulo] No, it call #to_ary
|     81725 [hgs dmu.ac.u] I can't see that listed either in the windows copy of the Pickaxe,
|     81726 [decoux moulo] Because, like I've said, Array#+ call #to_ary and because I've defined
|     81727 [hgs dmu.ac.u] Ah, that was the bit I missed.  Hmm, it's only Array that defines
|     81730 [decoux moulo] #compact! return nil if it don't modify the receiver : this is #compact!
+ 81654 [gsinclair so] Variables are not objects; it's as simple as that.  They are sticky
| 81673 [hgs dmu.ac.u] thanks, I missed that one.
| 81685 [gsinclair so] Heh, all I had in mind was this: if you can get a Binding to another
| + 81686 [vjoel PATH.B] Must be an irb thing. I don't see it when executing your code in ruby
| | 81687 [gsinclair so] Ah, interesting.  My instinct is to ask: "how can irb inject a local
| + 81702 [hgs dmu.ac.u] Oh, *nice*!  Yes, and I can roll that into the exception object I
+ 81696 [bob.news gmx] "Hugh Sasse Staff Elec Eng" <hgs@dmu.ac.uk> schrieb im Newsbeitrag
  81709 [hgs dmu.ac.u] This was debugging code, added after getting the error.  I wanted to

81613 [gregmakata n] This is a multi-part message in MIME format

^ Chasing a garbage collection bug
81623 [thomas First] I just discovered that I have a GC related bug, or that is to say it doesn't
81629 [thomas First] For starters, is there a way to make the GC print some information about the
81640 [vjoel PATH.B] why GC wasn't freeing an object that I though it should). Also, it's for

^ stdout in embedded ruby in win32
81634 [wilmot club-] I have just finished to convert my ruby embedded app from static ruby
+ 81638 [zdodson zdod] In my experience, the results you describe above occur when you mix
+ 81678 [nobu.nokada ] Link with msvcrt.dll.
  81682 [sean cSePlso] Not sure if this solves your problem Thierry, but here's what I did in
  81746 [wilmot club-] First , thanks all for your answers, ruby community is great !
  81819 [zdodson zdod] What you state above is consistent with my experience.  You need

^ mod_ruby for Windows?
81650 [ccccccc none] I want to develop ruby web-apps on Windows. They'll probably be deployed

^ GC - PLEASE  set me straight
81651 [thomas First] Q1) I am wondering about the rb_gc_register_address/rb_gc_unregister_address
+ 81703 [decoux moulo] The best is to simplify your code to a few lines, and *post* it
+ 81711 [tpeters uni-] Ruby's GC will not recycle objects that are referenced from the stack.
+ 81737 [sean cSePlso] It uses the address, not the value.
  + 81752 [batsman.geo ] It would probably make sense to
  + 81760 [thomas First] That is exactly what I am doing I just wanted to spell out the scenario as
    81763 [sean cSePlso] Hmm ... I'm confused about that statement.
    81772 [thomas First] Well that wont do..
    81775 [sean cSePlso] You don't need to ALLOC the VALUE though.  You can just make it a
    81783 [thomas First] That need not be true for .net objects. If you hold references to .net
    81788 [sean cSePlso] Heh ... my last MS compiler is from MSVC 4.0, circa 1995.  That hasn't
    81789 [thomas First] Excellent idea. I for one had many questions after having read the chapter

^ [ANN] rcalc 2.2 (Was: [ANN] rcalc 2.1 (Ruby Calculator))
81655 [ jupp gmx.de] Saluton!
+ 81660 [harryo qiqso] Great!  I'll give it a try.
+ 81664 [harryo qiqso] This is great!
| 81757 [ jupp gmx.de] Saluton!
+ 81732 [ejb theworld] ruby install.rb config
  + 81738 [michael_s_ca] Have you tried running "./configure --prefix=/cygdrive/c/ruby" (as
  | 81778 [ejb theworld] Thanks, Michael.
  + 81813 [ jupp gmx.de] Saluton!

^ Re: WEBrick and mod_ruby performances
81656 [dcorbin mach] But it doesn't abstract the response control for the three different environs.

^ Ruby regression testing
81668 [j_k_wd bells] Is Ruby regression tested?
81672 [surrender_it] for what I can remember, actually it is still incomplete , and there
81674 [j_k_wd bells] Perfect.  Thanks!

^ tramlaw@hotmail.com
81670 [vor_lord hot] Matt,

^ DBI/ODBC question: how to create DB programmatically?
81676 [davehal01 ha] I've been trying to figure out how to use ODBC with DBI.  So far, I have
+ 81723 [mneumann nte] There's no special command to create databases with DBI/ODBC. Usually,
+ 81748 [chrismo clab] cat = WIN32OLE.new('ADOX.Catalog')
  81808 [davehal01 ha] Thanks Chris.  That's what I was looking for.  I never thought of using

^ How are global methods defined?
81689 [androflux so] How are global methods defined in Ruby? I know you can just
81692 [gsinclair so] Top-level methods become private methods of Object, so I'm told.  That
81792 [androflux so] But why not add just add private methods to Object if it has the same
81795 [gsinclair so] Well, it doesn't cost anything, and it's a good separation of concerns.
81811 [androflux so] Ah, okay.

^ Nested struct alignment summarized
81693 [feldt ce.cha] So trying to distill the recent thread about C compilers
81698 [batsman.geo ] Expand the current method (list of structure types in dl.h (ALIGN_*)),
+ 81710 [feldt ce.cha] Below is code to assist analysis of this. I'd be interested in the
+ 81790 [cjh_nospam m] I solved the same problem for my C++ DDT (Dynamic Data Typing)

^ Sending messages to a queue
81715 [crauschuber ] Has anyone used Ruby to send a message to a message queue, ie
81719 [gsinclair so] s/ie/eg

^ Socket.accept problem via Socket.for_fd($stdin.fileno)
81716 [kalante ntlw] I am experiencing a rather infuriating problem with Socket.accept on
81717 [nobu.nokada ] I guess this has been fixed already in CVS.

^ Ruby in Systems Administration
81718 [wmwilson01 h] I was just wondering if anyone had some really cool uses for Ruby in Systems
+ 81721 [hgs dmu.ac.u] for some.
+ 81722 [d.borodaenko] Though not exactly what you're looking for, Rconf is an example of a
+ 81728 [bobgus rcn.c] There is always Expect
| 81750 [djberge qwes] We use a tcp client-server app written in Ruby to monitor applications and
+ 81753 [batsman.geo ] You could try to reach jfontan at #ruby-lang (irc.freenode.net, European
| 81853 [rodrigo.berm] It need some improvements, but at the moment it has been very useful  to
+ 81844 [rodrigo.berm] It need some improvements, but at the moment it has been very useful  to
| 81845 [djberge qwes] That looks very cool.  Please put it on RAA and RubyForge.  Thanks.
| 81846 [wmwilson01 h] I'd love to take a look.
+ 81932 [dagbrown LAR] I use webrick all the time!
  81972 [martindemell] Nifty! I was actually planning to look into webrick and write this over

^ An article on using Ruby to drive a Java hourly build...
81720 [tom infoethe] The more the merrier...
81747 [ jimm io.com] And "Read iCal Data with Ruby" is on the O'Reilly MacDevCenter site at
81771 [surrender_it] Don't forget to send this links to James Britt (the ruby-doc.org guy)
81785 [jbritt ruby-] I try to keep up on this list as well.  The two recent postings about

^ Re: Nested struct alignment summarized [LONG]
81731 [nathaniel NO] Here are my results, as well as an updated version of the script that will

^ ruby 1.8 strange behavior
81733 [sdmitry lrn.] I've started making my own C extension to ruby, and found that strange
+ 81734 [decoux moulo] The modification is intentional.
+ 81756 [batsman.geo ] a = b[0] = 1

^ Re: Ruby 1.8.0 .pkg/installer for OS X?
81735 [ilant mac.co] Thanks digi!

^ re
81739 [lurunlei eyo] 嶄忽二匍兆村寄畠斑低煤防迄協人薩

^ Localhost variability
81743 [gruby sysarc] @host = ""
81773 [surrender_it] IMO

^ [ANN] DataVision 0.7.13 released
81751 [ jimm io.com] DataVision 0.7.13 is now available from SourceForge at
81754 [michael_s_ca] This might be a personal nit, but package authors out there, please

^ Passing an Object Class from a method  to a caller
81755 [RLMuller com] This is a multi-part message in MIME format.
+ 81759 [mgarriss ear] Looks like your 'break' is passing the 'result' line and thus returning
| + 81762 [sean cSePlso] In other words, it looks like you have the last "result" expression
| + 81764 [dblack super] I think it's actually returning the result of break, which is nil
| | 81779 [mgarriss ear] def this
| + 81805 [RLMuller com] Thanks, Michael.
|   81850 [androflux so] Why go to all this trouble when you can just do "obj.class.to_s"?
+ 81761 [drbrain segm] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
+ 81766 [ged FaerieMU] This happens because your break causes the value of the last evaluated
| + 81767 [dblack super] I think break (pre-1.8.0 or without explicit value in 1.8.0) evaluates
| | 81798 [ged FaerieMU] I stand corrected.
| + 81825 [RLMuller com] Thanks very much for your help, especially going the extra mile to
|   81959 [ged FaerieMU] You're quite welcome.
+ 81827 [RLMuller com] Thanks to all of the responders. Fundamentally, I had faulty logic

^ Correctly handling the deprecation of rb_enable_super
81758 [nathaniel NO] I'm using a library (ruby-odbc 0.99 to be exact) that calls
81797 [nobu.nokada ] #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
81804 [nathaniel NO] Thanks, Nobu! Worked like a charm.
81806 [nobu.nokada ] Now rb_{enable,disable}_super() are dummy macros, so you don't
81810 [decoux moulo] Well, some persons are trying to make their libraries work even with

^ Re: backup under privileged mode (unix permissions)
81768 [sean cSePlso] It gets complicated (I've been there), and sometimes you just have to
81769 [djberge qwes] There's always 'sudo'.
81774 [sean cSePlso] What problem is that a solution for?

^ print out a variable's name and value?
81770 [ferenc engar] I want a comfortable debug function to which I can pass a variable, and
81776 [James.Weiric] def dbg(&block)
81856 [ferenc engar] WOW! Nice. :-))))

^ Global object instance?
81784 [sean cSePlso] I'm thinking, why do we have globals at all?  I wonder if it would be
81787 [gsinclair so] Kinda nutty, yeah :)
81794 [sean cSePlso] Well, what I was hoping for was a way to do it WITHOUT modifying the
81821 [bg-rubytalk ] I'm often too much of a purity person, because of that, I've been using

^ ruby gc hook - is there such a thing?
81786 [thomas First] I just thought of something. This .net finalizer is called asynchronously
81791 [sean cSePlso] What you could do is create sort of a "global collector" object that is

^ キャッシングのご案内
81802 [yuutai_oriso] ☆お急ぎでしたら☆

^ Re: %y{} patch (was: ANN: MetaTags 1.0)
81807 [berk upnet.r] Actually, I wouldn't want to creep the core language with various unrelated

^ Is modruby.net working?
81809 [surrender_it] I've been trying to download mod_ruby from modruby.net, but the
81816 [mgarriss ear] It's working for me as of this mails timestamp.  And I agree with you
81820 [tom infoethe] I can certainly suggest a home for it... modruby.rubyforge.org is still

^ [PATCH] ROMP-0.1
81812 [moonwolf moo] This is a multi-part message in MIME format.

^ OO Challenge
81814 [nospam allia] Dear Ruby Community,
+ 81815 [feldt ce.cha] Without any refactoring or rethinking of his "problem" here
| 81818 [bob.news gmx] "Robert Feldt" <feldt@ce.chalmers.se> schrieb im Newsbeitrag
| 81822 [James.Weiric] I'll throw in my version.  Logically it is structured very much like Robert
| + 81826 [bob.news gmx] "Weirich, James" <James.Weirich@FMR.COM> schrieb im Newsbeitrag
| | 81872 [nospam allia] Link is above there somewhere.
| | 82046 [bob.news gmx] "Henry Gilbert" <nospam@alliancetec.com> schrieb im Newsbeitrag
| + 81829 [Richard_Dale] I like James' solution best because he has tax_classes 'collect'ing - which
| | 81832 [James.Weiric] Add the abstractions were fairly well identified by the OP as well.  What's
| + 81889 [jweirich one] Not to beat a dead horse or anything, but I love playing with variations
+ 81835 [drbrain segm] Ok... Different groups of people
+ 81839 [sean cSePlso] For such a small variation, OO has little to offer.  Morphing is usually

^ ri request
81817 [chrismo clab] I'd love to see things like the sprintf, Time.strftime, etc.
81824 [jbritt ruby-] You can use RImport[0] to add RDoc'ed files into ri.  Results, of
81880 [surrender_it] <sidenote>
81885 [gsinclair so] I'm working on this and will hopefully have something released soon.

^ Functions in Kernel [Was Re: Global object instance?]
81823 [aredridel nb] I don't think I ever use thse.

^ Including 'ri' in Ruby distribution (was: How are global methods defined?)
81828 [thelenm cs.u] I'll throw my two cents in too... I'm a complete nuby and have been reading the

^ Mthod redefinition
81830 [Meino.Cramer] I just want to know, whether there is a way to accomplish things like
+ 81841 [austin halos] You could use the StrongTyping module if you really need it.
| 81842 [Meino.Cramer] thank you for the reply ! :)
| 81857 [ferenc engar] class Foo
| 81864 [austin halos] Ferenc's code does, more or less, what Ryan Pavlik's StrongTyping module
| 81874 [Meino.Cramer] Thank you for the explanation of duck typing !
| + 81883 [gsinclair so] There's no magic really.  In Ruby, you can only have one definition of
| + 81886 [dblack super] It's not a particular coding technique.  To quote Dave Thomas,
| + 81890 [jweirich one] I would disagree with this point of view.  I think it misses the point
+ 82045 [bob.news gmx] "Meino Christian Cramer" <Meino.Cramer@gmx.de> schrieb im Newsbeitrag
  82068 [markjreed ma] Actually, "redefinition" is a general term for defining a method which has

^ Re: Finer-grained modules (like Enumarable) for Collections?
81831 [bob.news gmx] "Its Me" <itsme213@hotmail.com> schrieb im Newsbeitrag
81843 [batsman.geo ] This can be leveraged to ease Ruby-in-Ruby or to reimplement the