38582-39644

38363-39452 subjects 38772-43039

^ New features in 1.7
38582 [martindemell] Is there a list somewhere of all the new features introduced in the 1.7
38594 [matz ruby-la] See doc/NEWS file in the source.
38689 [martindemell] Thanks.

^ [ANN] Ruby-Poll-0.01
38585 [ged FaerieMU] This is to announce the release of Ruby-Poll, an object-oriented
+ 38588 [tobiasreif p] While I didn't like all the green at first, I'm imrpessed with your
| + 38589 [ged FaerieMU] It actually requires a bit more than just template changes to RDoc, but I'll
| | 38590 [tobiasreif p] (I thought so :| )
| | 38601 [curt hibbs.c] I second that! I would love to see this in RDoc.
| + 38636 [jean_hugues_] Two questions.
|   38647 [ged FaerieMU] I'm no expert, so take this for what it's worth. I personally prefer poll()
|   38683 [jean_hugues_] I like the idea of encapsulating poll(). I would like the same idea applied
|   38814 [ged FaerieMU] I'll try to do something like this for the next release. Perl's IO::Poll does
+ 39621 [nconway klam] Very cool project.

^ Experimental language jtpl
38587 [j.travnik sh] this might (or might not) be useful to ruby developers
38606 [elanthis awe] But those are the most fun languages to hack on.  ^,^
38631 [j.travnik sh] yes :-)
38632 [j.travnik sh] Sorry,
38638 [elanthis awe] I might just be an idiot (might? everyone asks), but I don't exactly see
38669 [j.travnik sh] To understand it better look at it in ruby.

^ GC problem in C++ extension
38592 [pbrannan atd] #include <string>
+ 38597 [pbrannan atd] Ouch, I should proofread before I post.  The correct change to make to
| 38602 [nobu.nokada ] It's not predictable when an object will be gargage-collected.
| 38605 [pbrannan atd] The problem is that I need to test to make sure that my code works, by
+ 38617 [matz ruby-la] Unfortunately, GC timing is not controllable, even if you call
  38646 [pbrannan atd] VALUE obj;
  38650 [decoux moulo] pigeon% cat uu.cc

^ Fixnum to_c
38599 [ralph.mason ] I know there must be a more elegant way to conver from a fixnum to a
+ 38600 [usa osb.att.] Fixnum#chr mey help you.
+ 38609 [vinfoley iqu] Why don't you use Integer#chr?

^ RE: article about testers using Ruby.
38608 [robert.calco] This is a multi-part message in MIME format.
38729 [marick visib] Thank you for your comments. I will think about them as I write the next
38768 [robert.calco] This is a multi-part message in MIME format.
38801 [marick visib] Wait... I now realize you're basing your critique on the abstract, not the

^ Ruby Servlet Libraries?
38610 [bcox virtual] What are people's experiences with Servlets vs CGI in Ruby? What
38626 [sean chitten] Ehh...  as soon as I give Jim a shout and we get some pair programming
38637 [bcox virtual] You bet I'm interested. If you could send me what you have now, I
39035 [sean chitten] Almost done with ruby-session and it's integration with ruby-tmpl

^ ANN: TaskMaster 0.1.2
38622 [ptkwt shell1] TaskMaster is an object-oriented framework that makes it easy to

^ [ANNOUNCE] Imlib2-Ruby 0.4.0
38627 [pabs pablotr] I just posted Imlib2-Ruby version 0.4.0, my Ruby bindings for Imlib2
+ 38769 [phlip_cpp ya] anywhere for the Imlib2 source?
| 38812 [pabs pablotr] I mention that in the README.  The version of Imlib2 I have installed is
| 39149 [xlucid users] <rant apology="yes" excuse="Sorry, but its touched a raw
| 39216 [pabs pablotr] Imlib2 1.0.5 or newer (it should link against 1.0.4 as well).  There is
+ 38771 [phlip_cpp ya] Below my sig is a Ruby script that is attempting to convert a color PNG to

^ Ruby crash when drawing an Icon in FXDCWindow
38628 [dmg tragsate] an strange behaviour of FXDCWindow::drawIcon is happenning. Ruby
38640 [lyle knology] Without any more information, I have the feeling that you have constructed a
38719 [dmg tragsate] Yes, that works.

^ Replacing groups of methods: How would *you* do this?
38633 [hal9000 hype] Question for you.
+ 38641 [dblack candl] Could you do conditional execution?
| 38651 [hal9000 hype] I could, but I dislike if-statements that
| 38653 [dblack candl] class Thing
+ 38642 [ronjeffries ] Why not the Strategy pattern?
| 38652 [hal9000 hype] I don't know that one, but I'll look it up...
+ 38687 [martindemell] How about using alias to swap in and out sets of methods, rather than

^ Threads creating threads creating threads...
38635 [tpeters uni-] I have already asked this question in [ruby-talk:19661], but I will ask it
38692 [tpeters uni-] My previous posting was not clear enough, I'll try to enhance it.
38731 [matt lickey.] Ideally, your program would run forever.
38736 [jean_hugues_] Isn't it rather the block that refers to the stack, rather than the thread
+ 38774 [t-peters gmx] No. I've already used a method for thread creation instead of a block in
| 38791 [jean_hugues_] about C's setjmp()/longjmp() to switch context. Question: How do you set up
| 38820 [cputney whis] Matz,
| 38851 [jean_hugues_] Interesting article. However they rely on some sigaltstack() unix specific
+ 38783 [matz ruby-la] Hmm, I thought this behavior requires the knowledge about internal of
  38792 [jean_hugues_] No intimate knowledge of structure of jmpbuf is necessary at all, it is
  38793 [matz ruby-la] I'm well prepared though debugging Ruby's user thread code. ;-)
  38794 [jean_hugues_] Yes. You got it.

^ object question
38643 [roy milican.] Greetings,
+ 38649 [pete mcbreen] Roy J. Milican asked
+ 38656 [mwg fluffy.i] Object returns object, i.e. reference to itself, or 'self'. Object.id

^ [OT] Re: [ANN] Ruby-Poll-0.01
38644 [tobiasreif p] It works in IE6 and NN6; perhaps you want to see if it's worth filing a
38682 [jean_hugues_] I just did. I would not hold my breath however.

^ =?ks_c_5601-1987?B?c3Vic2NyaWJlIENpYm8gRWluZQ==?=
38645 [cibo16 empal] PGh0bWw+Cjx0aXRsZT48L3RpdGxlPgo8L2hlYWQ+Cjxib2R5Pgo8cHJlPgpzdWJzY3JpYmUgQ2li

^ Ruby golf (FFT)  Was: Freshmeat article about Ruby
38648 [szegedy nosp] (The function fft modifies the vals array in place.
+ 38655 [pit capitain] On 20 Apr 2002, at 0:09, Christian Szegedy started the golf game
| 38665 [nat.pryce b1] Sounds like we need a suite of unit tests for the FFT function.
| + 38676 [szegedy t-on] Now, I have learned something, I did not know that Integer#times
| + 38679 [szegedy t-on] I think that the other parts of the two implementations (fft vs. sft)
+ 38657 [dblack candl] I highly recommend including the following disclaimer in every
  + 38659 [alan digikat] Heh, maybe we should write a unit test so that we can golf faster ;)
  | 38664 [pate eylerfa] Does it make sense to try to find a non-golf metaphor for a ruby coding
  | 38667 [dblack candl] Funny you should ask.  Last year we *almost* had a sort of
  + 38661 [szegedy nosp] You are completely right. I tested my code with the following function
  + 38662 [szegedy nosp] I haven't reduced the code size everywhere. I tried to maintain
  | 38666 [dblack candl] Ah, OK, that's cool, but it's not golf :-)
  | 38668 [pate eylerfa] Ruby Figure Skating ;)
  | + 38670 [michael_s_ca] Ruby chess?
  | + 38688 [dblack candl] I love it!  Only we have to watch out for corrupt judges :-)
  + 38663 [pbrannan atd] s, j=2**n, 0

^ String to method name
38654 [switch atdot] I feel like I have a learning disability asking this, but what I am
38660 [decoux moulo] Well, it depend what you want to do but
+ 38672 [switch atdot] Now, that's good 2/3 of it, (1/3 was easy "Mojo Jojo" == badGuy), but,
| 38673 [decoux moulo] You have not given enough information. Imagine this example
| 38678 [switch atdot] I realize that, but I'm not going to do any changing.  The gist of what
| 38684 [lyle knology] It sounds like you're just talking about a Hash object (SenslessNames) whose
| 38693 [switch atdot] Thanks a lot... it does help, a little.  The problem is, I am trying to
| 38699 [lyle knology] line.scan(/^(\S+)\s(\S+)\s(.*)$/).flatten
+ 38680 [switch atdot] First of all, that last post made no sense (all the text I typed

^ readline with no echo?
38658 [probertm nor] Is this possible to do easily?  I don't need
38674 [j.travnik sh] On Linux and other unices it can be done using curses
+ 38675 [probertm nor] Thank you.
+ 38686 [tsiivola cc.] ...

^ Fw: http://www.rubyconf.com/
38671 [webmaster ru] This is a multi-part message in MIME format
38677 [jjenning ste] sly.

^ [Patch] Various cleanups
38681 [m.rokos sh.c] 1) cleanup MACRO in eval 2
38755 [m.rokos sh.c] Maybe it wasn't good idea to state only URL for d/l them.

^ ms-dos calls on Windows?  and/or, getting working directory?
38690 [brian dlwork] foo = `pwd`
+ 38691 [vmreyes us.i] The following works for me under windows/2000 dos shell.
+ 38695 [lyle knology] Dir.getwd

^ Ruby on .NET?
38694 [ronjeffries ] I scanned the .net threads here and didn't see whether there is, or is not, an
38696 [repeater luc] hmm. i'm interested to see how dotnet will influence the interpreted style
+ 38697 [ralph.mason ] I have been thinking about this a little lately because I am wanting to
| 38702 [Reply.To.The] (Paraphrasing)- The designer of Java: "...I made Java a lot like C++ because
| + 38703 [elanthis awe] I'm sure this could degenerate into another flame fest, so I'm going to
| | 38705 [tobiasreif p] I must misunderstand you, but if Ruby offers no advantage over C#, why
| | 38709 [elanthis awe] Ruby does offer advantages, just not in the areas C# is strong.  For
| | + 38712 [sma 3plus4.d] "Sean Middleditch" <elanthis@awesomeplay.com> schrieb
| | | + 38737 [jean_hugues_] I tend to think that Ruby and Smalltalk are very similar (at least at the
| | | + 38748 [elanthis awe] For you and everyone else interested in this thread, I highly suggest
| | + 38725 [ptkwt shell1] Why not?  The Parrot VM has JIT and we're planning a Ruby frontend to
| + 38707 [nat.pryce b1] do this
| | 38708 [tobiasreif p] How would you say Ruby is compared to Smalltalk?
| | + 38711 [sma 3plus4.d] "Tobias Reif" <tobiasreif@pinkjuice.com> schrieb
| | + 38746 [nat.pryce b1] About three quarters :-)
| + 38838 [cjh_nospam m] You're quite wrong about .NET anyhow. The CLR does not contain an
|   38862 [in6x059 publ] And they are in an awkward area. MS has stated several times, that
|   38904 [cjh_nospam m] OTOH MS have explicitly said that they expect others to create CLRs
+ 39161 [james rubyxm] I tried to build this using Mono (on Linux), Rotor (on FreeBSD), and the MS

^ Re: Undelivered Mail Returned to Sender
38698 [sosoruby ema] I'm new both to ruby and xemacs(emacs), I used xemacs with ruby-mode.el and
38744 [dennisn pe.n] I don't use xemacs myself, so can't commemnt much on the "features"
38745 [tom.hurst cl] might be a good idea too.  Although personally I think using spaces for

^ ruby-mode.el and xemacs
38700 [sosoruby ema] I'm new both to ruby and xemacs(emacs), I used xemacs with ruby-mode.el and

^ indentation in ruby-mode
38701 [alan digikat] (defun my-ruby-setup ()
38716 [sosoruby ema] thanx

^ Cardinal project page on Savannah
38704 [ptkwt shell1] I started a Cardinal project page at Savannah.  Those who are interested
+ 38718 [pate eylerfa] That's great, thanks for taking this and running with it.  I'll see you
+ 39156 [xlucid users] I checked out the URL.  It said 'The purpose of the Cardinal
  + 39157 [pate eylerfa] Parrot is the VM for Perl6.  It is being designed with other languages
  | 39190 [chris cmb-en] <Pine.LNX.4.30.0204262006200.27561-100000@bigfun.whirlycott.com>,
  + 39162 [ptkwt aracne] Parrot is the Virtual Machine being developed for Perl6.  The Parrot folks

^ [Patch] proper lib handling for mkmf.rb
38710 [m.rokos sh.c] during installing my exts to ruby-1.7.x I noticed that *.rb
38717 [matz ruby-la] Thank you.

^ Advice on Memory Related Performance Tuning
38714 [hutch recurs] I'm working on performance tuning a class I've written. I've been using the
39639 [ser germane-] Array.pack() and String.unpack().
39644 [hutch recurs] Thanks. This came up in another thread (I asked a couple of these questions

^ String sentinels
38715 [hutch recurs] I was looking through the source for String and noticed that there is a
38789 [matz ruby-la] All string operations are depend on len field.  But in some cases, ptr
38800 [hutch recurs] Thanks, I shouldn't have a problem then.

^ (none)
38720 [ djh mac.com] This is a multi-part message in MIME format.

^ unsubscribe
38726 [ djh mac.com] This is a multi-part message in MIME format.

^ Q: Possible Palm OS port?
38727 [hal9000 hype] Question for you. (More a matter of curiosity than
+ 38728 [ruby thorste] Good to hear; since this is my first mail to this list, you better
+ 38760 [r2d2 acc.umu] I have done my share of programming for PalmOS. I don't think it would

^ RE: Possible Palm OS port?
38730 [bill 32768.c] I've worked with an interpreted, dynamic language embedded in a large
38734 [iktindale nu] Apropos of nothing, there's also a Forth for Palm -
38868 [mwg fluffy.i] Quite functional Forth was available even for CP/M-80, so no surprise

^ a newbie about local variables
38732 [engard all.h] First of all, I greet everybody on the list as this is my first post
38758 [decoux moulo] See [ruby-talk:889] http://www.ruby-talk.org/889

^ Threading the Ruby environment
38733 [jemhoff stud] Hey hey!

^ RE: crypting ruby source
38735 [pbrengard bc] This is a multi-part message in MIME format.

^ unsubscribe
38738 [renatoalvim ] []'s

^ problem with alias
38739 [gnhurst hurs] I just discovered a problem with how alias works while
+ 38750 [hal9000 hype] [snip example]
| 38751 [gnhurst hurs] Did you try both these workarounds? I already tried
| + 38759 [decoux moulo] gsub!(/(defined\?)\s+(\w+)/, 'method_\\1 :\\2') # :-)
| + 38773 [hal9000 hype] Oh, sorry.
+ 38762 [dblack candl] I'm not sure the concept of an "original" definition is an exact fit
  38763 [decoux moulo] This is why some stupid module give an error :-)

^ A few ideas/suggestions
38740 [brailsmt yah] I have had a few ideas about some new features.  Before I submit an RCR
+ 38741 [vinfoley iqu] if $0 == __FILE__ then
| 38749 [bluetea nc.r] That is what I thought the poster was talking about as well. I
| 38780 [tsiivola cc.] Like this?
+ 38764 [tobiasreif p] I think so too.
  38765 [dblack candl] I don't think the fact that String#[] can take a regex argument is a

^ blocks vs. Procs, closures as objects?
38747 [foo bar.null] what follows is not a criticism or even a suggestion... i'm just
+ 38761 [bri tentacle] sorry, i didn't mean to be foo@bar.null.  :-/
+ 38784 [matz ruby-la] A block is not.  a Proc object is.  You can get a Proc by

^ Ruby Weekly News
38752 [Dave Pragmat] Ruby Weekly News: 04/21/2002

^ [Patch] Make -Wall compilation happier
38753 [m.rokos sh.c] this patch is for making -Wall compilation more calm.

^ [Patch-feature] IRB completion support
38754 [m.rokos sh.c] this patch is rather questionable: it enables completion support

^ [Patch] Make -Wall compilation happier 2
38756 [m.rokos sh.c] #2 of calming cure for -Wall compilation.

^ [Patch] clenup MACRO in eval.c 2
38757 [m.rokos sh.c] this patch adresses further MACROS in eval.c cleanup.

^ Novice: Each and p
38766 [ruby thorste] From the mails I got in the last days, this it seems to be about
38767 [armin approx] judging from the email address you might
38775 [ruby thorste] Moin,
+ 38776 [ms iastate.e] Thorsten, do you see where you've got a curly brace matched with an
+ 38777 [    s xss.de] This proves that 20 eyes see more than the 18 (presumably) which
  + 38778 [ruby thorste] Do you need my KtoNr. and BLZ?
  + 38779 [dblack candl] I think you mean "do", not "begin".
    38810 [    s xss.de] of course ...

^ newbie embedding
38770 [bigjim16 bti] I only recently found out about ruby and I'm interested in embedding the
38795 [decoux moulo] For example, in ruby you write
+ 38811 [bigjim16 bti] ok....that all makes sense, but when I write the following test ruby
| 38815 [decoux moulo] 1) rb_load_file() compile the file but don't execute the nodes
| 38816 [bigjim16 bti] ahh right, I understand that now...but it still crashes on the rb_const_get
| + 38853 [decoux moulo] pigeon% grep -w rb_const_get *.h
| | 38882 [bigjim16 bti] ok, that's not the problem....but the program still crashes on classy =
| | 38883 [decoux moulo] Can you try with a well known class, for example
| | 38897 [bigjim16 bti] ok.....rb_const_get(rb_cObject, rb_intern("Array")); fails in exactly the
| + 38888 [eban os.rim.] -DNT
+ 38813 [bigjim16 bti] oh yeah and also....rb_const_get isn't defined in my ruby.h header which
threads.html
top