101343-102078 subjects 101841-102893

RubyConf 2004 preregistration -- reminder
101598 [dblack@wo bl] Just a reminder to preregister for the upcoming Ruby Conference, if

ActiveScriptRuby -> .asp ?
101599 [jos@ca no k.] I'm trying to make ActiveScriptRuby work with the Windows Installer version.

(Newbie question) Subclasses
101604 [sven_schott@] I just had a question with regards to subclasses. At the moment, I am
101605 [vjoel@PA H. ] Not a stupid question at all.

Class#initialize does not get called?
101620 [itsme213@ho ] class Class
101625 [bob.news@gm ] "Its Me" <itsme213@hotmail.com> schrieb im Newsbeitrag

Re: separating ruby-talk from comp.lang.ruby? (please no!)
101622 [fugalh@xm ss] Some people like myself don't have the time or inclination to be
101687 [gsinclair@so] The problem with semiregular lurkers is that they don't notice

Re: [RCR] Numeric#of, Object.newx?
101632 [aero6dof@ya ] To me, creating multiple instances of initialized objects feels like

Need help with memory consumption...
101633 [chk@on in .d] My DLL creates some objects, loads a script, calls some functions in the
101637 [chk@on in .d] Okay, I must correct myself: the count of objects increases.

Visitor Pattern in Ruby
101635 [cc1@ce .w st] design pattern to walk an abstract syntax tree hiearchy.  I was most
+ 101638 [bob.news@gm ] "Charles Comstock" <cc1@cec.wustl.edu> schrieb im Newsbeitrag
| 101646 [cc1@ce .w st] [cut]
| 101645 [bob.news@gm ] "Charles Comstock" <cc1@cec.wustl.edu> schrieb im Newsbeitrag
| 101661 [cc1@ce .w st] If you don't check the superclass then the usefulness of the visitor pattern
| 101666 [bob.news@gm ] "Charles Comstock" <cc1@cec.wustl.edu> schrieb im Newsbeitrag
| 101664 [cc1@ce .w st] It was designed as far as I can tell for use with compilers, that is where it
| + 101667 [bob.news@gm ] "Charles Comstock" <cc1@cec.wustl.edu> schrieb im Newsbeitrag
| + 101708 [aero6dof@ya ] Another place I've seen it used effectively is scene graph traversal.
+ 101695 [chr_mail@gm ] The following "included" redefinition is superfluous since any
  101833 [cc1@ce .w st] Your probably correct, originally the way I had to do it required a module eval

net/ftp problem
101642 [greg@br nd .] I'm trying to recurse a directory and chmod the files on a remote ftp site.
101651 [decoux@mo lo] You can't mix 2 ftp commands

Struct derivation
101648 [trash@ph lk ] It's impossible to me to inherit a class from Struct when the class does not
+ 101639 [surrender_it] then do the same thing :)
+ 101644 [aero6dof@ya ] class X < Struct.new(:foo,:bar)
  101654 [trash@ph lk ] You're right. However it should be written class X < Struct.new("X", :foo, :bar)
  101649 [bob.news@gm ] "Philipp Kern" <trash@philkern.de> schrieb im Newsbeitrag

TkMenubar + Keyboard Shortcut
101650 [mhm26@dr xe ] Is there any easy way to do keyboard short cuts with tkmenubar /
101960 [nagai@ai ky ] I'm sorry but I couldn't understand your request.
102071 [nagai@ai ky ] Doesn't it work?
102297 [mhm26@dr xe ] I can use up and down once I click on `File' - but I can't use
102300 [nagai@ai ky ] Hmmm.... On my environment (Vine-2.6/GNOME), that sequence works.
102416 [mhm26@dr xe ] I'm unfortunately using windows...
102542 [nagai@ai ky ] On windows version of Tcl/Tk, it seems that  menubutton bindings
102618 [botp@de mo t] Ah, that works. But I like the your new option of using menu_spec :-)
102623 [nagai@ai ky ] I'm ready to commit new methods for TkRoot and TkToplevel. :-)
102625 [botp@de mo t] [snipped cool sample]

problems with exerb
101652 [glenn_m_smit] My first ruby program (pacman!!) is now at a point where I'd like to

[BUG?] Seqfault sorting array of Files by ctime
101657 [rob@ta as s.] (repost of a message sent to ML as it appears to have not made it to
101720 [WBrown@is ft] Robert,

RubyConf 2004 preregistration -- reminder
101658 [dblack@wo bl] Just a reminder to preregister for the upcoming Ruby Conference, if

RMail and RFC-2047
101668 [c1205@er uq ] I was playing around with the RMail package and I was missing RFC-2047
101949 [sroberts@un ] Looks like you are using ruby1.8. There's lots of warnings, too. I'll

openssl ciphers - revisited
101669 [nospam4.me@o] After extensive searching I found only two examples of using openssl
+ 101672 [surrender_it] and
+ 101819 [gotoyuzo@no ] Cipher#encrypt and Cipher#decrypt take two arguments,

Andreas' practical language comparison
101674 [no.mail@av i] It looks like Ruby is missing in "Andreas' practical language comparison"
101703 [bob.news@gm ] Partly done.  Some shorties there.  Any volunteers for GUI stuff?
+ 101711 [zdennis@mk e] I'll volunteer for some of the GUI stuff....Any specific timeframe we are
| 101718 [curt@hi bs c] How about wxRuby?
| + 101719 [zdennis@mk e] I've never used wxRuby. I'll print off some of it's documentation before I
| | 101721 [guslist@fr e] Not that I like Tk particularly, but it ships with ruby on Unix and
| | 101727 [ser@ge ma e-] Well, Ruby lacks any truly native GUI interface by this definition.  Tk
| | 101907 [trash@ph lk ] What about ruby-gnome(2) with Gtk(2)? At least the latter is also ported
| + 102139 [zdennis@mk e] I checked out wxRuby over the extended Holiday(U.S. Holiday) and I started
|   102142 [curt@hi bs c] The main developer of wxRuby (Kevin Smith) is pretty good about answering
+ 101811 [usenet@hy .i] I found time to do "Red Ball" just now, hope no one else was faster. I
  + 101920 [no.mail@av i] I didn't understand your sarcasm about Python. If you compare *equivalent* programs
  + 101965 [surrender_it] get rid of global variables using a constant, a local, and defining

RSA support in Ruby?
101678 [jm@zz zz zz ] We're using Ruby 1.8.1 and would like to use RSA to encrypt data using a
101636 [surrender_it] Are you sure ?
101679 [jm@zz zz zz ] Thanks!  I checked it out after seeing your response.

Calling a c function from ruby?
101681 [jm@zz zz zz ] I'm having trouble calling a c function from ruby and haven't been able
101675 [ bchk@gm .d ] Well in C you only get VALUE.
101818 [jm@zz zz zz ] Many thanks!!!

Latest FOX release: what ver. #; how to get it/install it?
101683 [NoOne@No he ] I've seen some references to Fox 1.2.  But the comments have led me to
101670 [lyle@kn lo y] In the beginning, there was a C++ based GUI toolkit named FOX. Later,
101789 [NoOne@No he ] Thanks again for such a comprehensive answer.  I save them in my RubyNotes

http://www.ruby-lang.org down?
101690 [Ara.T.Howard] ~ > ping www.ruby-lang.org
101692 [mailinglists] Same here, can't access the website from Germany.
101696 [ssteiner@ma ] Too many redirects occurred trying to open ?http://www.ruby-lang.org/?.
101697 [decoux@mo lo] svg% ruby -rnet/http -e 'Net::HTTP.get_print("www.ruby-lang.org", "/")'

Newsgroup / Mailing List seperation?
101693 [cc1@ce .w st] So did someone just shut down the gateway or did it actually break.  It did seem
101694 [decoux@mo lo] Apparently it was broken, it seems to work now

enviroment variable for extensions
101701 [elathan@ph s] Is there a fixed enviroment variable for Ruby to look in
101704 [sean@ce so t] $LOAD_PATH.  It's an array of dirs Ruby searches.
101707 [elathan@ph s] Sorry, I wasn't clear. I was looking for a *shell* enviroment
101709 [surrender_it] RUBYLIB ?
101710 [elathan@ph s] Thanks! Well, I deserve an 'RTFM big time' as an answer here. :-)

segfault with rb_eval_string()
101713 [elathan@ph s] I have a segfault when I use rb_eval_string() through a shared
+ 101744 [matz@ru y- a] You are calling Ruby function without initialization.
| 101751 [elathan@ph s] Thank you, I used ruby_init() before rb_eval_string() and it worked.
| 101752 [decoux@mo lo] Use rb_eval_string_protect()
| 101755 [elathan@ph s] Thanks. BTW, why error_print() is not exported in the
| 101757 [decoux@mo lo] You have $!, $@, rb_backtrace()
+ 102112 [timsuth@ih g] (I'm on the newsgroup, perhaps this has already been answered on the mailing

Can an inner class get its container at runtime?
101724 [sera@fh an .] Is there a way for an inner class to find out what class owns it? The
101731 [discord@ma .] Maybe like this?
102417 [sera@fh an .] Works like a charm, thanks! Ah, Ruby reflection.

regular expression help please
101738 [paul.rogers@] name=paul value=10 otherstuff=123
+ 101739 [flgr@cc n. e] irb(main):001:0> lines.scan(/^name=('?)(.*?)\1\s+value=('?)(\S*?)\3/)
+ 101776 [bob.news@gm ] "Paul" <paul.rogers@shaw.ca> schrieb im Newsbeitrag
  101845 [paul.rogers@] Thanks guy this is great.
  101846 [flgr@cc n. e] I'm planning to release it Real Soon Now. Still thinking about what of

Metaobjects in Ruby
101740 [DocBoobenste] I'm working on a paper for a class on Meta Programming Languages,
+ 101750 [mneumann@nt ] It probably does not exhaustively describe all of Ruby's features for
+ 101762 [sross@co ne ] Sadly, the book was left unfinished ...
| 101765 [dblack@wo bl] I know this sounds weird, but I don't think metaclasses are part of
| 101770 [chr_mail@gm ] Well, the original post asked about meta Objects in Ruby so
| 101774 [DocBoobenste] Thanks to everyone that responded. I'll be digging into the documents
+ 101763 [dblack@wo bl] I would look at the pickaxe book's chapter on reflection
| 101769 [david@lo dt ] Hal Fulton also does a marvelous job of describing reflection and
+ 101766 [surrender_it] what is intercession ?

Test::Unit: assert_follows_spec() (or something like that)
101745 [lists@za a. ] For deterministic functions/methods, the same set of inputs should
+ 101746 [neoneye@ad l] Good idea..  for ages I have been using
+ 101748 [jean_hugues_] I just started to use Test::Unit (only to discover that it provides a framework for what I have done in a ad hoc way for years). Nice.
| 101758 [flgr@cc n. e] Moin.
| + 101761 [jean_hugues_] This is definitely nice to me. Additionaly I don't like so much the idea of large distance between the code and the test code. But in your scheme a least part of the test code is close, right before the tested code, that's good I think.
| | 101780 [lists@za a. ] My current gripe with unit test code is that they're the ugliest code I
| + 101788 [surrender_it] just a question: what if you need many tests per method/class?
|   101803 [flgr@cc n. e] Many tests or many assertions?
|   101806 [surrender_it] Mh.. I'd say tests.
|   101810 [flgr@cc n. e] No, I think you should only put tests in there that also have a strong
+ 101753 [lists@za a. ] Of course the above should be written as :input, :output, etc. Too much
| 101759 [neoneye@ad l] What about :in  :out  :fail  :error
| 101779 [lists@za a. ] more closely with the other assert_*() method names, e.g. :raises
| 101786 [jim@we ri hh] How about:  assert_examples
| 101790 [itsme213@ho ] assert_cases?
| 101808 [guslist@fr e] assert_matrix?
+ 102022 [drbrain@se m] =20
  102030 [lists@za a. ] Why is that better than something like assert_follows_spec()? It's not
  + 102043 [Austin.Ziegl] It doesn't have to be, in Ruby, and I think that it is more readable --
  + 102308 [drbrain@se m] s=20
    102370 [flgr@cc n. e] def my_meth(*args)

helium.ruby-lang.org was cracked
101747 [shugo@ru y- ] = helium.ruby-lang.org was cracked
101816 [jm@zz zz zz ] Do we know if the stable-snapshot in CVS was modified?
101848 [nahi@ke na t] No.  We are still working for checking.  For now, confirmed versions are
101851 [jm@zz zz zz ] Thanks.
101889 [matz@ru y- a] First of all, you haven't find any evidence of CVS repository

eruby vs php/jsp...
101749 [xrfang@ho ma] I am planning a web site for my company that provide e-commerce related
+ 101756 [usenet@an re] I do not think that mod_ruby + eruby is a very good solution (embedding
| 101760 [beast@sy te ] I don't entirely agree. Yes, having your 'business code' in your HTML
| + 101767 [xrfang@ho ma] Thanks. I will check the template system while RAA returns operation. My
| | 101963 [r_mueller@im] Working in a PHP-MySQL Enviroment, I find some basic Problems of this
| | + 101982 [khaines@en g] That version of Iowa is old.  Very old.  And it lacked some features that
| | | 102025 [ljz@as as .c] If I recall correctly, the earlier version of iowa did not work with
| | | 102027 [khaines@en g] I'm pretty sure that I tested that configuration with no problems.  I have
| | + 101985 [carl@yo ng l] You can separate the "logic" from the "view" in PHP just as well as you
| + 101777 [paul@vu ma k] to get beat up over it.
|   101813 [xrfang@ho ma] Thanks for all the comments and suggestions. A bit more information about
|   + 101814 [khaines@en g] If there seemed to be a demand for it, I would consider it.  However,
|   | + 101817 [michael.camp] ...
|   | + 101822 [jm@zz zz zz ] There's a new trend with shared hosting that you might find appropriate
|   + 101815 [khaines@en g] If there seemed to be a demand for it, I would consider it.  However,
|   | 102110 [rasputnik@he] Is this the 'all servers share the same globals' problem?
|   | 102117 [khaines@en g] Jim and Bob are both using mod_ruby on the same host.  Jim has software that
|   + 101820 [paul@vu ma k] Hosts that support ruby...
+ 101768 [ng@jo nw on ] If you can wait a month or two, Ruby on Rails will probably be out.
+ 101773 [rb@ra hi ou ] Since I'e tried cgikit

UK Social research job to suit Excel programmer (not necessarily VBA)
101764 [buzzard@ur b] Apologies if this is an inappropriate post for this group.
101798 [xlucid@us rs] This may be a silly question, but given the title of this post why is

Mailer check - please ignore
101771 [dooby@d1 .k ] That answers my question.
101772 [dooby@d1 .k ] (It echoes.)

SOAP4R WSDL response
101783 [ jimm@io co ] I'm trying to use wsdlDriver.rb to call a Web service. I have a WSDL
101785 [ jimm@io co ] Hate to reply to my own question, but I've learned something about what

[ANN] comp.lang.ruby FAQ (DE): Rich Text Format (RTF)
101784 [ jupp@gm .d ] Bilingual posting German/English follows
101802 [mneumann@nt ] Excuse my ignorance, but where can I find it?
101807 [dooby@d1 .k ] ...
101895 [ jupp@gm .d ] Any comment on the RTF is welcome - it is the first larger RTF I

Using TclTkAqua on Mac OS X?
101787 [paul@NO rg l] I know of and admire RubyCocoa, but I'm interested in being able to use
101793 [discord@ma .] cheers,
+ 101797 [paul@NO rg l] Thanks!
+ 101799 [dave@pr gp o] Quick question: when I build this, my Tk apps have a black background,
| 101800 [paul@NO rg l] I don't know what's going on for you, I just built and tested mine and
+ 101961 [nagai@ai ky ] I didn't know the web page. (And I don't understand MacOS X.)

another FTP modules problem
101791 [greg@br nd .] (EOFError)

Tk on Mac OSX
101795 [dave@pr gp o] Does anyone have the magic extconf parameters to get tcltklib to build
101796 [dave@pr gp o] sometimes you get answers _before_ you ask the questions... :)

reverse of rb_class2name()
101801 [elathan@ph s] What is the reverse function of rb_class2name()? I want
101804 [dooby@d1 .k ] rb_path2class(path)
101805 [elathan@ph s] Yes. Thank you.

[ANN] Active Record 0.7.5: Object-relation mapping put on rails
101812 [david@lo dt ] I'm incredibly proud to present the first public release of Active
+ 101839 [carl@yo ng l] ...
+ 101898 [mneumann@nt ] I'm currenlty testing ActiveRecords by implementing the PetStore data
  101904 [mneumann@nt ] Submitted a patch to the Patch Forum at http://activerecord.rubyonrails.org
  101924 [carl@yo ng l] Active Record looks awesome.  I'm excited to try it out.  I am eager

yaml - ruby 1.8.1 (2003-12-25) [i686-linux]
101821 [paul@vu ma k] I'm trying to use yaml for the first time - i'm getting a load error
+ 101829 [khaines@en g] require 'yaml'
| 101847 [paul@vu ma k] That is what I thot, but...
| + 101865 [decoux@mo lo] How ruby was installed ?
| + 101881 [khaines@en g] This is an installation problem.  Do you have root access on the box?  If
+ 102223 [comp.lang.ru] - - You are missing

gsub!, replace with \'
101823 [clr1.10.rand] Dear Ruby-hackers,
101824 [usenet@an re] puts "hello".gsub!(/h/,"\\\\'")
+ 101825 [neoneye@ad l] In the above case \'  (slash quote)  are interpreted as post-match.
+ 101826 [clr1.10.rand] Oh, yes. This works fine. Thank you (and of course Simon).
| 101827 [neoneye@ad l] Another way to obtain same result.. without extra escaping.
| 101872 [bob.news@gm ] "Simon Strandgaard" <neoneye@adslhome.dk> schrieb im Newsbeitrag
| 101875 [neoneye@ad l] I remember when I switched to Ruby, I had difficulties understanding
| + 101878 [bob.news@gm ] "Simon Strandgaard" <neoneye@adslhome.dk> schrieb im Newsbeitrag
| + 101879 [dblack@wo bl] Hmmm... I thought Ruby was moving more in the direction of getting rid
|   + 101884 [neoneye@ad l] At first sight I wondered what you are talking about.
|   | 101886 [dblack@wo bl] I'm not sure why :-)  It was pure Ruby, not related to Perl.
|   | 101939 [neoneye@ad l] Agree we have lost syncronization here :-)
|   + 101910 [discord@ma .] hmm? I think the suggestion has nothing to do with the #{...} construct
+ 101828 [kristof@vl e] or

[BUG?] Behavior of application changes when adding non-relevant puts
101830 [felix.nawoth] Seems I ran into a Heisenbug - the behaviour of my application changes
+ 101831 [neoneye@ad l] I took a very quick look at it.
| 101832 [felix.nawoth] Looked through it - they are not related to my problem. The lines
| 101834 [neoneye@ad l] Some other issues I see, which could be dangerous.
| 101836 [dblack@wo bl] Not a big fan of introspection and/or intercession, I guess :-) In any
| + 101838 [joaopedrosa@] I think it's the Hash. Specifically, the order of its
| | + 101842 [felix.nawoth] Yep, that's it. Thanks very much.
| | + 101984 [dblack@wo bl] Sorry, gateway test, please ignore.
| + 101843 [neoneye@ad l] I like meta programming/eval with Ruby.. However I test things
+ 101835 [joaopedrosa@] Are you on Windows? What version of Ruby?
  101837 [dblack@wo bl] I don't think that happens though, because the previous
  101840 [dblack@wo bl] Except... 'n' is an abbreviation of another command (nimm), so the