61691-63257

61436-65714 subjects 61901-68478

^ Mac OSX, X Ruby and Tk
61691 [peter semant] Whilst hunting down what I thought was a bug in my code I found a
61692 [jim freeze.o] Best I can tell is that your stack is too small. There have
61703 [peter semant] Thanks I will give that a try.

^ ANN: saprfc - Ruby extension for RFC calls to an SAP R/3 System
61699 [piers ompa.n] Announcing the release of saprfc - Ruby extension for RFC calls to an

^ [ANN] Ruby SunOS Packages
61713 [mxvera qwest] Greetings,
61715 [mxvera qwest] FYI - This was built with gcc 3.2, not Suns cc...

^ newbie question about solaris and ruby/tk
61716 [jean-francoi] Ihave installed the SUN's package of ruby under solaris 8.
61717 [decoux moulo] tcl/tk is not installed on your system, ruby can't find libtk8.3.so

^ determine if a certain process is running on win32?
61719 [jonnypichler] is it possible to determine if a certain process is running on win32?

^ Unit Testing in dynamic environments
61720 [whitton atla] I'm just starting to get into unit testing, and I can already see how powerful
+ 61721 [hgs dmu.ac.u] There is an idea called Mock Objects, where your object pretends to
| + 61724 [whitton atla] Fantastic! This is just what I've been looking for.
| + 61778 [jweirich one] The comments on http://www.b13media.com/dev/ruby/mock.html indicate that
+ 61723 [gsinclair so] Several times in the past, I've created test data in test tables (or
+ 61794 [bulatz integ] you can test invariants (predicates) instead of concrete values
+ 61799 [jweirich one] The key is to provide predictable results for the unit test

^ Reading the code passed inside a block?
61726 [sera fhwang.] Is it possible to read the code passed in a block, as, say, a String?
+ 61729 [kentda stud.] Not really, AFAIK.
+ 61730 [ptkwt shell1] Also check out the link on that page to Guy Decoux's ii.

^ Mac OSX stacksize - was Re: [ANN] YAML.rb 0.49.1 -- Perfecting the parser, new merge indicator, base60
61727 [jim freeze.o] Setting it from the terminal only works for that terminal IIRC.

^ Re: Mac OSX stacksize
61728 [jim freeze.o] This is all I know so far.

^ FXRuby always on top
61732 [erne powerna] Does anyone know how to keep an FXRuby main window the topmost window in the

^ ANN: FXRuby API Documentation - Preview
61734 [lyle users.s] All,
61743 [vjoel PATH.B] Looks great! This will be be big help.
61748 [lyle users.s] I'm not sure I follow; are you talking about setXXX() methods that are
61755 [vjoel path.b] Sorry...  writing too much code and not enough English lately...

^ getoptlong
61741 [lists debona] Using ruby 1.6.8 what's the cleanest way of accessing a specific option
61761 [lists debona] Ack! no replies, well, to save one who would replied, I ended up doing

^ [ANN] dbi-dbrc 0.2.0
61742 [djberge qwes] I'm happy to announce dbi-dbrc 0.2.0
61788 [botp delmont] Is the password hashed in file?
61856 [djberge qwes] No, it's plain text, but see the four rules for the .dbrc file before your
61885 [vjoel PATH.B] Just to be malicious... what about someone using a linux boot floppy to
61887 [djberge qwes] Heh.  Of course, if someone with physical access to your machine is willing
61888 [vjoel PATH.B] But the data stored in the database might be much more valuable than
+ 61897 [probertm nor] Will this help.
+ 61905 [eric.schwart] The general rule of thumb for security is that if they can touch the box,

^ Anonymizer and analyzer for IRC logs.
61747 [kentda stud.] This is a long shot in the dark, blindfolded and walking backwards, but

^ Linux Editor
61749 [dwerder gmx.] What's your favorite ruby editor on linux?
+ 61752 [vjoel PATH.B] I like nedit. I've slowly built up a small but comfortable set of macros
| + 61758 [transami tra] nedit eh? well, i like vim, but can't stand it. know what i mean? emacs? no
| + 61760 [fugalh falco] Is there anything other than vim? ;-)
| + 63197 [tihen.willia] Could you send them to me (or are they available somewhere).  On the
|   63257 [vjoel PATH.B] I'm updating it now with some recent changes.
+ 61763 [Ephaeton gmx] I'm using nvi, for vim is to vi what emacs is to .. uhm ... cat ?
| 61766 [Ephaeton gmx] Uhm, pardon my bad english. Maybe this will make it clear...
| 61787 [ ted php.net] This group never ceases to amaze and delight!
+ 61813 [ruby joelh.d] I use vim and somtimes anjuta http://anjuta.sourceforge.net it is a C++-IDE
+ 61818 [angus quovad] joe.
| 61824 [wbn localhos] emacs is better since it has the syntax highlite feature
+ 61834 [scobianchi r] Eclipse (www.eclipse.org), with the Coloring Editor Plugin for editing
| 61857 [michael_s_ca] If I may ask, what is it about eclipse with ruby that you like?  For
| + 61858 [djberge qwes] I like the visual CVS interface and tools.  Very handy.  It *does* have
| | 62033 [transami tra] does any editor do effective eruby highlighting?
| | 62034 [tim bates.id] There is an eruby.vim syntax highlighting script for vim which does a good
| + 61867 [scobianchi r] Well...
+ 61837 [joey joeygib] I"m using ActiveState Komodo. It's $29 but pretty nice. It is really
+ 61861 [bub squeeek.] jed
  61862 [wmoxam klick] nano (clone of pico)    :)

^ quick: it responds, it evaluates, and is not empty
61757 [transami tra] if self.respond_to?(:ameth)
+ 61768 [ahoward fsl.] i'm assuming :ameth and ameth are meant to be a Symbol and String
| 61772 [dblack candl] Because if you just have respond_to?(ameth), then ameth will
+ 61774 [dblack candl] I think it's probably worth having a temp variable here to avoid
| 61783 [gsinclair so] begin
| + 61785 [dblack candl] I do actually like that construct -- it's just kind of (comparatively)
| | + 61839 [transami tra] now that is a very interesting idea. NACK as in Not ACKnowledged, yes? reminds
| | + 61853 [martindemell] A quick hack would be to have a NackClass, mix in Singleton, and have a
| + 61801 [bulatz integ] try
+ 61797 [bulatz integ] ((not ameth.to_s.empty?) and ...) rescue 0
  61842 [transami tra] thanks, this seems the most concise answer, although i hesitate to use rescue.
  + 61846 [bulatz integ] i dont know. on the my side, i like 'when NACK' idea - may be because
  | 61848 [transami tra] i agree, nack would be good. i suppose returning nil if the method doesn't
  | + 61854 [gsinclair so] Not at all!
  | | 61855 [dblack candl] It can be done, but it's not a general solution, because there might
  | | 61864 [ahoward fsl.] why not add a new return value to Object::respond_to? ?
  | | + 61866 [transami tra] but this does not free one from using respond_to? i.e. instead of: if
  | | | 61900 [ahoward fsl.] i see your point, but see my post to david.  in general i love syntax
  | | | 61904 [martindemell] The point, though, is to return a nack *instead of* throwing an
  | | | 61917 [transami tra] i like it too, expcept too...
  | | | 61919 [martindemell] Last, I'd say - by the semantics of 'method_missing', you'd want your
  | | + 61872 [dblack candl] This is different, though, from having the (attempted) call to the
  | |   61896 [ahoward fsl.] yes.  but the same thing can be accompished.
  | |   61899 [dblack candl] But then it's unnecessary.  respond_to? returning false is already the
  | |   + 61903 [ahoward fsl.] i finally got this.  too much of the coffee-beer-coffee-beer cycle...
  | |   | 61908 [dblack candl] See <http://www.rubygarden.com/article.php?sid=110> -- there was a
  | |   + 61934 [gsinclair so] I don't entirely disagree, but "welcome to the world of exception
  | |     + 61935 [transami tra] class Object
  | |     | 61939 [martindemell] This would be more extensible if you called v.empty? and provided an
  | |     + 61942 [dblack candl] Well, "random" is a bit extreme... :-)  My main focus in all of this
  | |       61946 [ahoward fsl.] it seems like what you are after then are dynamic interfaces, after all
  | |       61955 [dblack candl] I guess, though to me conceptually and practically a NACK
  | + 62140 [bulatz integ] EXPRESSION except DEFAULT VALUE
  + 61849 [dblack candl] However, it doesn't do what you originally were doing.  false.to_s is
    61850 [dblack candl] I should add: it also doesn't duplicate the respond_to? functionality,
    61863 [transami tra] David, the subtilties you pervade.

^ most popular unix scripting language
61759 [dorli hotmai] does anyone know which is the most popular unix scripting language?
+ 61762 [dan sidhe.or] I think you'll likely find that sh is the winner by rather a long way...
| 61775 [john.carter ] sh is sort of like bad breath. A lot of people have it, but it's not very
+ 61764 [Ephaeton gmx] Depends how you look at it, either C or sh :>
+ 61765 [claird laird] Yes.  Several hundreds of thousands of people know, and,
| + 61771 [tony svanstr] sh
| | + 61789 [goldbb2 eart] Do you count perl as a derivative of sh? <gg>
| | | + 61802 [bulatz integ] we count all languages which prints current directory when running script
| | | + 61807 [tokikenshi f] ksh, zsh, bash...
| | + 61791 [roberson ibd] A) number of scripts written,
| |   61792 [hal9000 hype] Thread.kill
| + 61841 [genericax ho] Accordind to DICE/monster, Perl IS the hands-down winner. Larry gets
|   61873 [lvirden yaho] All you are identifying is the list of languages which appear on resumes.
+ 61779 [matt lickey.] /bin/sh
+ 61781 [tuxfordNOSPA] If it looks like a troll and walks like a troll...
| + 61784 [dug plusthre] A number of people have replied "sh".  I think they meant "Shhhhh!".
| + 62197 [spamtrap lib] In <rv4kf-4dc.ln1@burp.earthlink.net>, on 01/17/2003
|   62276 [glennh nospa] I do like emacs (xemacs) and I'm sure it can do everything I would ever
+ 61798 [bulatz integ] bash :)
+ 61833 [nospam dv-ro] perl
| 61836 [marty supine] $author = "Herbert Rosenau <nospam@dv-rosenau.de>" ;
| 61877 [nospam dv-ro] No.
+ 61879 [dp_bozarth s] No, it's an indeterminate (at least in any practical sense)....
+ 62076 [donal.k.fell] Is this defining "popular" to mean "cheap-n-cheerful" the way Ford used to do
+ 62196 [spamtrap lib] In <f51c02db.0301161617.3622cfaa@posting.google.com>, on 01/16/2003
  62239 [gsinclair so] Who cares!?!?!?!?!?  Haven't you read the millions of existing replies

^ Re: saprfc - Ruby extension for RFC calls to an SAP R/3 System
61769 [botp delmont] cool Ruby-SAP hacker :-)
+ 61773 [botp delmont] btw, sir Piers, I also looked at your site http://www.piersharding.com/. It
+ 61804 [piers ompa.n] Thanks.
  61805 [botp delmont] Thanks. We hope you the best.

^ Segfault
61790 [johnston cap] Appended to this message, you will find my script (currently only partly
+ 61922 [johnston cap] I havn't got any response. Does anyone have suggestions as to how to
| 61938 [decoux moulo] Well, I think that it exist a problem, not really sure if it's in pcap
| 62010 [johnston cap] Well, I may be able to, but it's difficult to reproduce the problem. The
| 62437 [decoux moulo] Well, I've had some free time to look at it. There is, at least, one
+ 61931 [nobu.nokada ] According to http://capsaicin.ca/rubydebug/prioriline.strace_crop,

^ new idea on unit testing
61803 [bulatz integ] Tarantula is a visualization system that displays the results of running
61808 [botp delmont] it's not available for download?? :-(
61809 [bulatz integ] yes :(

^ Automating Perl -> Ruby translation?
61810 [hal9000 hype] Has anyone given any thought to this
+ 61816 [gsinclair so] I don't think you'd get very far.  Syntax may not be too difficult,
| 61823 [martindemell] So do it bottom-up :) Seriously, it'd help get smoe of the more useful
| 61828 [gsinclair so] I thought we were benefiting from a lot of porting already.  What are
| 61890 [martindemell] We are, but we could always do with more :) Personally, I'd like to see
+ 61826 [simon simon-] The way to do this is to start with Perl's B::Deparse library, which
| 61876 [ptkwt shell1] Ahhh, so such a beast exists...  Well that would certainly help.
| 61878 [simon simon-] Nothing special; just instantiate an object of the appropriate class,
| 61907 [ptkwt shell1] A short example?
+ 61875 [ptkwt shell1] Parsing Perl is not easy...
  + 61881 [dcarrera mat] "Only Perl can parse Perl"   :-)
  | + 61886 [dblack candl] I thought it was "Only perl can parse Perl" :-)
  | + 61891 [martindemell] Pedantically, "only perl can parse Perl" (highlighting the distinction
  | + 61914 [hal9000 hype] Well, I'd settle for a very crude tool.
  |   + 61915 [dcarrera mat] I wonder how hard it'd be to make a "very crude" tool.  That might be
  |   | 61928 [eric.schwart] Ack, you've just broken hashes-- fix those first!
  |   + 62497 [comp.lang.ru] - - Huh? SWIG is a way to hide XS from yourself.
  |     62498 [dan sidhe.or] At 9:25 AM +0900 1/24/03,
  |     62524 [bulatz integ] ... in six days? :)
  |     62558 [dan sidhe.or] Well, mercury day, perhaps...
  + 62141 [bulatz integ] of course, perl interpreter. or i am wrong?
    62149 [ptkwt shell1] Cardinal being a project to create a Ruby frontend for Parrot (the Perl6

^ How to make TkLabel update immediately?
61811 [lausianne gm] I'm putting out some text in a window using a TkLabel. The problem is
+ 61815 [lausianne gm] I found the archive.
+ 61847 [nagai ai.kyu] Tk re-draws widgets on a idle-task.

^ How to make TkLabel update immediately?
61814 [lausianne gm] I'm putting out some text in a window using a TkLabel. The problem is

^ Feature request: Array.to_h
61820 [google tompa] I use the following snippet a lot, and think it's worth including in
61831 [dblack candl] %w{a b c d} => {"a"=>"b", "c"=>"d"}
+ 61832 [bulatz integ] p Hash[*  %w{a b c d} ]   # => {"a"=>"b", "c"=>"d"}
+ 61947 [google tompa] irb(main):014:0> h = [:a, :b, :c].to_h
  61956 [dblack candl] Whoops, sorry, I inverted your inversion.
  62064 [google tompa] I think of Arrays as mapping integers >= 0 to values, and of Hashes of
  62080 [dblack candl] (s/PERL/Perl/ :-)  Yes, there's something like that in Perl, but I'm

^ Feature request: Array.to_h (2nd part!)
61822 [google tompa] header_row = "year,month,day,price\n"
61827 [gsinclair so] # =>> {"month"=>1, "price"=>3, "day"=>2, "year"=>0}
62416 [nahi keynaut] But it doesn't do anything special treatment about
62423 [nobu.nokada ] If it is possible to override Row definition in particular
62540 [nahi keynaut] Kon'nichiwa, nakada-san,

^ [OT] Re: Linux Editor
61825 [decoux moulo] You mean this stupid thing which add colors on the screen ? I've never
+ 61830 [aurelien.deh] Warning, Emacs troll in progress...
+ 61845 [billtj z.glu] .... don't start the war, Guy...
  61913 [    s xss.de] Ladies and Gentlemen,

^ Bug in CGI::Session ?
61835 [fg siamecomm] require 'cgi'
61838 [matz ruby-la] Thank you for pointing out.  I will fix this soon.
61859 [ahoward fsl.] there is also still the issue that in lib/cgi/session.rb:77-85 the []= method
61868 [matz ruby-la] This is fixed in 1.8.0pre1.

^ Accessing Infinity
61840 [bob.news gmx] is there another way of accessing Infinity or -Infinity other than doing
61882 [vjoel PATH.B] class Float
61893 [mike stok.co] Is it reasonable to compare infinities?  I would tend to use
61895 [vjoel PATH.B] Well, Ruby's floating point number system does include two infinities,
61898 [kentda stud.] Ruby doesn't provide the two infinitive numbers. The underlying floating
+ 61906 [vjoel PATH.B] But...
| 61909 [kentda stud.] Maybe, I'm no math buff, but I was thinking more about the fact that
+ 62055 [bob.news gmx] thank you all for your remarks!  However, comparison was not my point but
  62417 [nahi keynaut] I used kind of "1.0/0.0" workarounds in soap4r.  It's for mapping

^ Ruby and no auto-increment (i.e. i++)?
61843 [christopher.] Someone recently posted a pointer to an explanation by Matz of why Ruby didn't
61851 [gsinclair so] It's in the FAQ.

^ Seattle.rb January meeting
61865 [pate eylerfa] Let's make this official!  We'll be meeting on 28 Jan, 7PM @ omnigroup.

^ BlackAdder - Visual Development with Python and Ruby
61869 [_soso softho] Check this out: http://www.thekompany.com/products/blackadder/
+ 61870 [djberge qwes] Hmm..the last time I looked at this, it didn't have much Ruby support.  That
| 61871 [djberge qwes] Regards,
+ 61984 [llothar web.] If you call simple syntax highlighting and the ability to start a script

^ [ANN] SOAP4R/1.4.8 with WSDL4R/0.0.2
61874 [nahi mwd.big] SOAP4R/1.4.8 with WSDL4R/0.0.2 is out.
61925 [nahi mwd.big] Sorry for bothering you again.

^ Multiple constructors ...
61883 [lars-m gmx.n] This is a multi-part message in MIME format.
+ 61884 [vjoel PATH.B] class Foo
+ 61889 [gfb tonesoft] This is a multi-part message in MIME format.
+ 61892 [martindemell] (plaintext please!)
  61894 [djberge qwes] Multiple constructors are a plague that needs to be wiped from the Good Land
threads.html
top