95525-96104

95273-96909 subjects 95737-96238

^ [ann] coverage 0.1
95525 [neoneye adsl] Ruby - Coverage
95529 [feldt ce.cha] Just wanted to note that you have some users of this...
95531 [neoneye adsl] awesome, I have only played with it as an experiment.
+ 95533 [feldt ce.cha] I would probably test the statement coverage calc independently of the
| 95549 [neoneye adsl] Good suggestion, I will keep that in mind.
+ 95548 [neoneye adsl] Its now fixed, I have released a version 0.2, which you may want to try
+ 95624 [neoneye adsl] Now in version 0.2, a 'coverage' dir is being created in the current dir.
  95651 [feldt ce.cha] Sounds nice, thx.

^ std-lib require crosslinking sporiadic
95540 [cc1 cec.wust] I'm assuming this is probably a known issue, but a number of the files
95556 [sroberts cer] I think that the tools that come with ruby (the ruby exe itself, ri,

^ WEBrick (Was: Re: Complete Ruby API?)
95541 [drbrain segm] Have you looked at WEBrick?  It is part of Ruby 1.8.  See

^ Rite C API
95543 [ccos alphali] on 02/08/01, William Djaja Tjokroaminata <billtj@y.glue.umd.edu>
95555 [mailinglists] Rite is still pure Vapourware. So it may still take years to see the
95557 [dblack wobbl] Matz describes Rite as "a full rewrite of the interpreter", so

^ [newbie] from string to operator
95546 [yvon.thorava] case operand
+ 95547 [surrender_it] getMemory.__send__('+',getNumber)
+ 95554 [thomas_adam1] Or use the "===" operator....

^ copy/paste in FXText
95551 [martindemell] I've been playing around with FXIrb, and I've run into a weird
95584 [lyle knology] I don't think I've ever used a text editor or word processor that didn't
95594 [martindemell] I experimented with Word and gvim - I think my mistake is in persisting

^ how to create random numbers with OpenSSL ?
95552 [surrender_it] I wonder what is the procedure to create crypto-strong random numbers

^ forwardable.rb
95559 [dave pragpro] I'm being dense today, but can anyone think of a real-world application
95567 [neoneye adsl] The only usage I can think of is unittesting. Imagine that the Values
95568 [neoneye adsl] Here is the opposite example: Trying to reopen a class inside a method

^ Need some advice on PickAxe II
95560 [dave pragpro] It's looking as if we're moving towards agreement with Addison Wesley
+ 95561 [sroberts cer] I think the original Pickaxe library section was so useful mostly
| 95563 [kapheine hyp] I'm not sure I agree with this. Programming Ruby fits very well as an
| 95565 [sroberts cer] But Programming Ruby V1 already has chapters such as I suggest!
| 95580 [kapheine hyp] Oh yes, don't get me wrong, they would definitely be nice to have. But
+ 95562 [ jimm io.com] The PDF looks great. I like the "cookbook" summary. That, paired with the new
+ 95564 [aredridel nb] I really like it. It's something that the ruby community lacks: a single
+ 95566 [cc1 cec.wust] I think this is an excellent idea, what the community is particularly
| 95577 [mailinglists] And immediately followed by shaking your head because you can't find
| + 95579 [jamesUNDERBA] Wrox went bankrupt over a year ago.
| | 95581 [hal9000 hype] Don't tell me that! I was going to buy them as soon as I sold
| | 95582 [jamesUNDERBA] Gee,  thanks.
| | + 95585 [michael_s_ca] OTOH (mine), the couple books I got from Wrox I really like(d).
| | | 95638 [jrb3 eidogen] Hmm, sounds like either self-publishing, shoveling it over to
| | + 95588 [dooby d10.ka] As an Englishman trying to get to grips with the North American tongue,
| |   95589 [hal9000 hype] Yes, James and I had an email exchange this afternoon wherein I assured
| + 95590 [cc1 cec.wust] I'm not saying we don't need the API, it just bothers me when people
|   95641 [jrb3 eidogen] <thePennyDrops>Oh, of course!</thePennyDrops>  Unit-test libraries
|   95650 [sroberts cer] In my experience with our test code, good test code makes hideous example
+ 95573 [jamesUNDERBA] Yes.
+ 95574 [gsinclair so] That's a sensible approach, but I think you should be flexible about
| 95759 [gavin refine] A. The dropping of full API documentation in favor of terse cookbook
+ 95597 [charleshixsn] I am remembering how wonderful the first "Java in a Nutshell" book
| 95612 [dave pragpro] I see that as the role of books such as The Ruby Way and the Developers
| + 95619 [markusjais y] I think it is ok to remove the GUI stuff.
| + 95690 [lyle knology] It's also worth noting that 100% of this publisher's books to date have
+ 95606 [chad chadfow] Personally, I never pull out the pickaxe as a reference.  I think its
| + 95607 [nathaniel ta] ...
| + 95608 [nathaniel ta] I guess I'm just the opposite... the number one thing I've used my
|   + 95610 [curt hibbs.c] I would side with Chad on this one -- I don't use it for an API reference.
|   + 95611 [neoneye adsl] I _avoid_ libraries which uses camelCase, luckily many of them
|   | + 95614 [surrender_it] well, we should ho the way a language for the OZ platform do (can't
|   | | 95620 [neoneye adsl] Jikes!   too much flexibility for me, it would take long time to
|   | + 95643 [bg-rubytalk ] Trying to understand your religion here.  If both methods and variables
|   |   + 95645 [neoneye adsl] In Ruby I don't feel a need to distinguish between methods and variables.
|   |   | + 95655 [aredridel nb] That's exactly one reason I use ruby: uniform access. I often make
|   |   | + 95665 [ptkwt aracne] Not only that, but the attr_* methods turn variables into methods, so that
|   |   | + 95723 [shasckaw sky] For Bertand Meyer, creator of Eiffel, Uniform Access is the best way.
|   |   |   95730 [app1tam ups.] And I PREFER camel case.
|   |   |   95731 [michael_s_ca] Let's
|   |   + 95654 [aredridel nb] (variable). Perhaps I am used to it from my love of the English
|   |   + 95659 [dagbrown LAR] read_number <= reads a number
|   |     95661 [bg-rubytalk ] My point is that 'read' is both a verb and a noun.  So is 'hit' and
|   |     + 95666 [dblack wobbl] read_number  # method
|   |     + 95669 [dagbrown LAR] You just made my argument for me.  A difference in naming scheme just
|   + 95613 [dave pragpro] The new version has an entire chapter on Test::Unit :)
|   + 95647 [ptkwt aracne] I'd just like to second Nathaniel's opinion.  I also carry the Pickaxe in
|     + 95648 [matt technor] Youngsters these days....  In my day, I carried multiple boxes of punch
|     | 95649 [feldt ce.cha] It might have been mentioned already but I would really like a section
|     + 95658 [gsinclair so] The problem is that there are lots of libraries that are useful but
|     | + 95667 [ptkwt aracne] Right, the idea was that libraries that people ask questions about the
|     | | 95671 [surrender_it] ehy, I asked about openssl one or two days ago :)
|     | + 95799 [jim_kerr agi] I agree with Gavin. erb is a prime example of what he's talking
|     + 95660 [billk cts.co] "Third!"  :)  I use Pickaxe as a reference... however I definitely
|       95674 [nathaniel ta] I'd agree with the sectioning complaint... really, I'd like to see just
|       95679 [dave pragpro] Agreed - that's the way the new book looks already.
|       95882 [djberg96 hot] What about a "complete API reference" on an included CD?  You save a
+ 95703 [bob.news gmx] "Dave Thomas" <dave@pragprog.com> schrieb im Newsbeitrag
| + 95738 [dave pragpro] Could you perhaps contact whoever is responsible for that install and
| + 95740 [jamesUNDERBA] Did you run rdoc?
|   95873 [bob.news gmx] "James Britt" <jamesUNDERBARb@neurogami.com> schrieb im Newsbeitrag
+ 95756 [nedardstark ] Having one page summaries of each library seems to be a useful way to
+ 95922 [p_bossi_AGAI] My 2 cents (slightly related to libs): what do you think about a new
| 95926 [dave pragpro] I'm thinking on having an appendix on packaging with RubyGems - do
| 95935 [ptkwt aracne] That probably is the way to go.  At this point RubyGems seems to be
| 95955 [chad chadfow] Funny, Phil...I was going to suggest the same thing.   Dave, the sooner
+ 96053 [unet rexx.co] I loved the first Pickaxe, and I agree that with ri available,

^ Nedit users using Ruby?
95572 [gschoep digi] Just starting to develop a bunch of scripts in Ruby and was wondering if
95575 [gsinclair so] Google "nedit ruby" has some promising-looking leads.
95578 [gschoep digi] Groovy. Thanks now that was simple. One that is complete and nice is
95662 [vjoel PATH.B] It's a little simple for my tastes. I've cleaned up my nedit stuff on
95798 [jf505 yahoo.] You can find it on
95804 [vjoel PATH.B] Hm, thanks! Looks like it will require some adaptation, but it's a good
95808 [vjoel PATH.B] Actually, it was almost perfect. The one thing I didn't like was that it

^ [ANN] Copland 0.2.0 "Appalachian 'Spring' "
95576 [jgb3 email.b] Copland 0.2.0 "Appalachian 'Spring' " is available for download!
95586 [rich infoeth] And just a note for those that are using the Alpha of RubyGems, I

^ [ANN] ZenWeb version 2.17.0 released
95583 [ryand-ruby z] ZenWeb version 2.17.0 has been released!

^ Odd DBI Heisenbug with tinyints being retrieved as either Fixnums or Strings
95587 [sera fhwang.] I'm using MySQL tinyints to map to Ruby Boolean values in Lafcadio,

^ SNMP module for Ruby
95591 [daniel night] The one system administration-ish module that Ruby is missing is a good a SNMP
95592 [drbrain segm] SNMP=20
95593 [daniel night] It seems like this one also hasn't been updated since 2001 and I've yet to try
95639 [drbrain segm] The version I referenced works fine.

^ ruby dbi installation issue
95595 [info irvineh] charset="iso-8859-1"
95596 [info irvineh] Nevermind, I figured it out myself.
95673 [charleshixsn] I second that request.  And that at least a few drivers for the most

^ deterministic SIGSEGV using tcltk and ruby 1.8.1
95598 [chris_guenth] I am getting  a SIGSEGV using ruby-tk (ruby 1.8.1 under red-hat linux).
95601 [decoux moulo] Try the patch given in [ruby-talk:88830]

^ Dealing with the clipboard in ruby...
95599 [ggarramuno a] Is there a platform independent way of dealing with the clipboard to implement

^ newbie erb question
95600 [_ebuffer_ ho] I'm trying to use some erb templates to generate some code with ruby. It's
95870 [bret pettich] <%  code_lines.each do |line| %>
95915 [david loudth] <%= code_lines.join %>
96104 [_ebuffer_ ho] Thanks, those are good tips that I'll definitely use!

^ trial version of Ruby/Tk (Re: Bus Error with tk app)
95602 [nagai ai.kyu] I'm very sorry I'm late to release the trial version.

^ Create a directories list with sub-directories
95603 [dirk.einecke] I've a problem. How can I create a directory list with all
+ 95604 [emmanuel.tou] To get all those files, simply do
+ 95605 [surrender_it] => ["a", "e", "a/b", "a/c", "a/c/d", "e/f"]
+ 95626 [vadimn redha] As others pointed out, you can use the Find module.  Its
  + 95629 [dirk.einecke] Wow! Wonderful! Thanks a lot.
  | 95678 [assaph avaya] On a lot of systems you can use the 'tree' command.
  + 95709 [dirk.einecke] I have one question: With your code the files in a folder will be print
    95761 [vadimn redha] #!/usr/bin/ruby
    95838 [dirk.einecke] Well - the script is very good and works like a charm. But at the moment

^ Ruby style guidance (was: Re: Need some advice on PickAxe II)
95615 [dblack wobbl] Also the Ruby code in the Ruby distribution itself will give you a
95622 [surrender_it] That page is nice, but It seem somehow "too little".
+ 95628 [mailinglists] Ruby is the successor of Perl, so there are many ways to do it.
| 95635 [dblack wobbl] I am reminded of my favorite (unfortunately anonymous) quotation from
| 95646 [jim weirichh] David, I like that quote too ... but I always thought that it was
| 95657 [dblack wobbl] my name several times, but it wasn't from me originally.  I even once
+ 95630 [dblack wobbl] I imagine it's because it's a draft :-)  It's not exhaustive, but I
+ 95631 [jamesUNDERBA] There's a sort-of style guide on the rubygarden wiki, but it conflates

^ How to pass a given block to a subroutine
95616 [mailinglists] I have a method 'foo' that takes a block, but the yield should
+ 95617 [decoux moulo] def foo(*args, &block)
| 95623 [neoneye adsl] Im too slow.. Decoux you are too fast.. ;-)
+ 95618 [sroberts cer] Is this what you want?
+ 95758 [angel tyrex.] El mar, 23-03-2004 a las 15:32, Lothar Scholz escribióº
  96017 [angel tyrex.] s/yield/block/g

^ rubygems working with non-gems libs?
95621 [raphael.baud] I wanted to try SDS (http://www.starware.one.pl/software/sds/index.html).
+ 95627 [neoneye adsl] Place this file within Ruby's path and set the env variable.
| 95634 [neoneye adsl] Ok.. I have cleaned up the require-hack code a little bit.
| 95644 [neoneye adsl] I have refined the gem-require hack a bit more.
+ 95656 [childNOSPAM ] New SDS version (to be release in a few weeks) will be probably

^ [ann] coverage 0.2
95625 [neoneye adsl] download it from here: tgz, zip, gem.

^ How to avoid duplicate object creations?
95632 [ssm fnord.no] I have a program that will create a lot of objects, mainly of type
+ 95633 [thomas_adam1] You might be able to use the "freeze" method from the Object class.
+ 95637 [bob.news gmx] "Stig Sandbeck Mathisen" <ssm@fnord.no> schrieb im Newsbeitrag
  + 95640 [ssm fnord.no] Brilliant, thank you.  I think I need to study it for a while, to see
  | + 95652 [sroberts cer] Notice that these methods don't modify YouClass.new() to return other
  | | 95705 [bob.news gmx] "Sam Roberts" <sroberts@certicom.com> schrieb im Newsbeitrag
  | | 95780 [vjoel PATH.B] For Marshalled objects, you can define a YourClass._load and
  | + 95708 [bob.news gmx] "Stig Sandbeck Mathisen" <ssm@fnord.no> schrieb im Newsbeitrag
  + 95728 [ahoward fatt] check out

^ Tempfile consuming a lot of memory
95636 [thomass delt] I'm using a lot of Tempfile's and I have been made aware that they
95653 [matz ruby-la] Tempfile allocates far lot more objects internally than plain File
+ 95663 [nobu.nokada ] lib/tempfile.rb:1.20 looks like a commit miss, doesn't it?
| + 95676 [matz ruby-la] Fixed, I think.
| | 95680 [nobu.nokada ] Re-opening tempfile fails.  @data should not be nil, I guess.
| + 95712 [thomass delt] What do you mean? Is the latest CVS version better?
+ 95711 [thomass delt] No, I need to hang on to them for a while. All in all I may easily
| 95713 [surrender_it] close(unlink_now=false)
+ 95735 [thomas First] I can understand that, but this fragment uses 320MB of memory, ie. about
  95736 [mailinglists] Have you tried the same under Linux ?
  + 95749 [batsman.geo ] It takes 330MB on my system.
  + 95755 [thomas First] 58 processes: 57 sleeping, 1 running, 0 zombie, 0 stopped
    + 95757 [thomas First] TempFile2
    | 95806 [matz ruby-la] This is a good hint.  Thomas, can you try this patch?
    | 95849 [thomas First] Yes, it is much better. The footprint of my original application just went
    | 95851 [matz ruby-la] Good to hear that.
    + 95760 [mailinglists] I also had a quick look at TempFile and couldn't find something in the

^ ruby 1.9 (cvs) installation problem...
95664 [charleshixsn] This is on a Debian Sid system.  FWIW, I ran rdoc against the source
95670 [charleshixsn] I solved this problem by copying over the Ruby1.8 ruby/rdoc folder to
+ 95672 [dave pragpro] Sounds like you may have an old RDoc installed which the new one is
+ 95675 [nobu.nokada ] Due to the change on ruby.h at 10 March, you have to recompile
  95702 [charleshixsn] I did recompile them.  I assume that the problem was caused by the

^ mmap question
95668 [djberg96 hot] Ruby 1.8.1
+ 95692 [ahoward fatt] i know the system call is safe across forking - but it seems like there might
+ 95714 [decoux moulo] Like said it has internal state, try this

^ Rdoc templates
95677 [mdavis sevas] What paths does rdoc check when looking for templates?
95681 [dave pragpro] It is now... :)
95699 [mdavis sevas] Excellent!  Thanks.

^ ruby-talk web interface broken?
95682 [ptkwt aracne] I don't subscribe to ruby-talk, I usually read c.l.r, but sometimes I've

^ Ruby's module search path
95683 [harryo qiqso] Is there an easy way to discover the path to a "require"-ed module (assuming it's a .rb file)?
95686 [neoneye adsl] You may want to look at rextra.. I found this
+ 95687 [assaph avaya] def which(libname)
| 95688 [harryo qiqso] Excellent!  Works a treat.  Thanks.
| 95689 [assaph avaya] but just
+ 95691 [harryo qiqso] From the output, I'm guessing $" is the list of requires that have been executed so far?
| 95698 [assaph avaya] been executed > so far?
| 95741 [vadimn redha] $" is aliased to $LOADED_FEATURES, but the $: variable does not seem
| + 95742 [ksibilev bel] $: == $LOAD_PATH
| | 95745 [vadimn redha] And also,  $-I == $LOAD_PATH
| + 95754 [ptkwt aracne] $: is aliased to $LOAD_PATH
+ 95701 [lists zara.6] might have been manipulated in between. Also the code above did not
  95704 [harryo qiqso] True.

^ Limits of Time
95684 [cpine hellot] We are making a website to handle all of our family pictures.  The earliest
95685 [wjl icecaver] charset="utf-8"

^ proposal - enforce lower_case for variables and methods
95693 [neoneye adsl] Ruby does already enforce CamelCase for class/modules.
+ 95694 [jamesUNDERBA] #-- Begin example ---
| + 95697 [neoneye adsl] initial letter must be upcase. Neither lowercase nor underscore.
| + 95726 [neoneye adsl] One of the first language I programmed in was AMOS for the amiga500
|   + 95727 [michael_s_ca] Perhaps, but taking away freedom is not guaranteed to reduce
|   | 95732 [app1tam ups.] -> -----Original Message-----
|   | 95734 [walter mwsew] You can have it both ways.  There is a module in RAA that will
|   + 95750 [jamesUNDERBA] I (sort of) understand the value of programming with training wheels,
|   | 95753 [neoneye adsl] Do you have a url ?
|   | 95767 [jamesUNDERBA] Interesting perspective.   I would think that such explanations would
|   + 95764 [discord mac.] behavior!
|   + 95766 [djd15 po.cwr] In matters of religion, isn't it best to let people choose their own?
+ 95695 [drbrain segm] class No_not_really
+ 95696 [harryo qiqso] Imagine a workplace where the dominant language is Java and hence people are used to using camelCase ... and it's probably specified in a coding standard, if one exists.
+ 95700 [cc1 cec.wust] I would probably prefer most library code to have similar conventions,
| 95707 [bob.news gmx] "Charles Comstock" <cc1@cec.wustl.edu> schrieb im Newsbeitrag
| 95710 [spam deck.dk] ruby-lint is a much better idea. I'd put my vote on a ruby-lint in
| 95720 [neoneye adsl] Is Ruby-Lint, a static analysis tool ?
+ 95706 [charleshixsn] I would consider this a very bad idea.
+ 95716 [timsuth ihug] There are libraries which provide a bridge between Ruby and e.g. Java, .NET
| 95718 [spam deck.dk] there's also a .NET bridge, the .net libraries capitalize their method
| + 95719 [neoneye adsl] Interesting idea. That could be useful. Unfortunatly as Anders points out,
| + 95721 [flgr ccan.de] irb(main):001:0> def FooBar(arg = :none); arg; end
| + 95725 [batsman.geo ] => 1
|   95773 [me ibotty.ne] this is a constructor. something which is named as the class it belongs to.
|   95781 [flgr ccan.de] Wrong.
|   95786 [me ibotty.ne] yep, you are right..
+ 95733 [dblack wobbl] (posting through my Usenet provider, hoping the gateway will
+ 95747 [bg-rubytalk ] Well, it enforces a leading capital, CamelCase is just a convention.
| 95748 [jfh cise.ufl] It seems a lot of people find Ruby so much closer to perfect than any other
| 95762 [dblack wobbl] Or rush out to introduce non-traditional variable and/or method names
+ 95765 [dagbrown LAR] Only for the initial letter, and the reason for that is that
threads.html
top