10683-11931

10443-11076 subjects 10873-12011

^ subscribe
10683 [gsemones pri] This is a multi-part message in MIME format.

^ Passing on a block to a called method
10684 [schuerig acm] Currently, when I want to pass on the block given to one method to
+ 10688 [dblack candl] def openAsText(file,&block)
| 10691 [schuerig acm] That's what I've been looking for. Thanks! Maybe I'll learn to love
| 10706 [dblack candl] I should add that, if you're definitely only deriving one value per
+ 10705 [neumann s-di] Have you tried "yield" ?

^ 
10685 [ruby_david h] # mget 10673

^ regexp to match newline
10687 [ruby_david h] s1 = "abc const  const xyz"
+ 10689 [ms iastate.e] re = /abc.*xyz/m
+ 10690 [chadfowler y] Try messing with /abc.*xyz/m or .../s.
| 10693 [ben_tilly ho] re = /abc(?m:.*)xyz/
+ 10700 [julian.romer] the docs (http://www.ruby-lang.org/en/man-1.4/syntax.html#regexp) says
+ 10701 [julian.romer] the docs (http://www.ruby-lang.org/en/man-1.4/syntax.html#regexp) says

^ stopping a thread instance
10692 [gnhurst hurs] Is there some obvious reason I am missing why
10733 [matz zetabit] Because stopping a thread from outside is bad habit in general.

^ MySQL Ruby Driver installation issue
10697 [jasowong my-] I'm trying to get the MySQL Ruby driver up and running but encounter
+ 10699 [dgjs acm.org] Well, where are "mysql.h" and "errmsg.h"?  (Hint: find / \( -name
| 10712 [ruby_david h] if you can't find the files in your local disk, you may need to install the
+ 10717 [jasowong my-] I think I have it working.  I'll know when I get back.  Thank you so

^ algorithm module(s)
10702 [j.radcliffe ] I have been giving some thought to writing modules that define some common
+ 10703 [aseltine cs.] Dunno, but I have Ruby implementations of algorithms for
+ 10707 [harryo zipwo] Would it be worthwhile attempting to build the data structures and
  10724 [wmwilson01 h] Just an aside, I've talked to Jeffrey a bit over the last couple of days on
  + 10738 [j.radcliffe ] Sounds like a great idea to me.
  | 10741 [wmwilson01 h] okey dokey, it's there.  http://www.pragprog.com/ruby?RubyAlgorithmPackage
  + 10768 [aseltine cs.] Sounds good. What's a wiki? :)
    10780 [wmwilson01 h] A wiki is a website, which can sort of be modified in place by the users.

^ Suggestion for threading model
10708 [spwhite char] I've been playing around with multi-threading. I notice that there are
+ 10710 [ben_tilly ho] I think that pervasive threading when not asked for is
| 10729 [spwhite char] You can only have deadlocks when there's resource contention. If the code is
| 10730 [ben_tilly ho] I believe that with a good scheduling algorithm it should
| + 10732 [ben_tilly ho] I do not believe your scheme covers many possible
| + 11931 [spwhite char] This is an old topic but this article reminded me of it...
+ 10711 [hal9000 hype] [huge interesting snip]
| + 10721 [feldt ce.cha] I also think itsan interesting idea and some researchers have done it in
| + 10779 [acagle subim] If you're referring to the CYC project, it spun out as a company, Cycorp
|   10814 [hal9000 hype] Thanks very much for that reference, Anthony...
|   11714 [heller host.] I was just wondering, does Ruby have to use it's own threading
+ 10713 [kjana os.xax] Probably you like to read some surveys on concurrent object oriented
  10726 [spwhite char] That was an interesting paper.
  10782 [kjana os.xax] (snipped ....)
  10977 [john_van_v y] I really appreciate reading this "thread"
  + 10982 [ben_tilly ho] First of all Ruby should run just fine on Sun.  If
  + 10988 [tarod home.c] just

^ Threading model change, proposal
10715 [gastonfong y] I have been thinking for a while on the pros and cons of relying on
10716 [alex_maranda] one
+ 10728 [akuchlin mem] Practically, I'm not sure implementing 3) buys you much.  Threads are
| 10731 [ben_tilly ho] I suspect that the most common appliation for threading is
| 10736 [akuchlin mem] But note that most GUI toolkits implement an event loop internally,
| 10737 [ben_tilly ho] I think we are talking past each other.  It makes perfect
| + 10744 [john_van_v y] In KSH we &;wait...  works just fine  ;)
| + 10748 [claird starb] There *is* a lot going on in this thread.  I agree
|   10762 [gastonfong y] 4DAB7C073C4E7F7E.939B65A2F094403A.B5AF9687CDD913D7@lp.airnews.net...
|   + 10765 [claird starb] I don't understand.  I don't think about application
|   + 10766 [claird starb] More than bad, it's unknown.  X itself isn't
+ 10734 [matz zetabit] * universal availability, even on DOS machines

^ Eric S. Raymond mentions Ruby but ...
10718 [feldt ce.cha] Ruby is mentioned in the current version of a new chapter for

^ Dir["*"] vs. Dir["**"]
10722 [hensh math.m] dir1
10723 [decoux moulo] The same, "**" is "magic" only when there is "/" in the pattern.

^ Re: Eric S. Raymond... bad-mouthing perl too !!
10725 [john_van_v y] ===============================================================================
10767 [marcbutler a] I don't believe potentially incubating a Ruby vs ESR, or Ruby vs Language
10769 [feldt ce.cha] I fully agree. We shouldn't start an advocacy "war"/dispute. I posted
10790 [john_van_v y] Glad you agree, dont worry about religous wars... I'm a pacifist ;)

^ FastCGI document
10735 [neumann s-di] I've written an initial document for the fcgi module.

^ socket docs
10740 [maurice euro] I was looking for the doc of the socket package in the
10747 [Dave Pragmat] The library reference that's online documents the built-in classes and
10776 [maurice.szmu] This message is in MIME format. Since your mail reader does not understand

^ Here you have, ;o)
10749 [cpine firaxi] This is a multi-part message in MIME format.
10755 [cpine firaxi] Very sorry!  My first virus!

^ Here you have, ;o)
10750 [cpine firaxi] This is a multi-part message in MIME format.

^ Message de l'exploitation informatique FTMS
10751 [ wss ftms.fr] Un message contient un fichier au format VB ou VBS, interdit en

^ Mail Notification
10752 [Administrato] Message contains attachments: AnnaKournikova.jpg.vbs

^ Message de l'exploitation informatique FTMS
10753 [ wss ftms.fr] Un message contient un fichier au format VB ou VBS, interdit en

^ Mail Notification
10754 [Administrato] Message contains attachments: AnnaKournikova.jpg.vbs

^ Message de l'exploitation informatique FTMS
10756 [ wss ftms.fr] Un message contient un fichier au format VB ou VBS, interdit en

^ Message de l'exploitation informatique FTMS
10757 [ wss ftms.fr] Un message contient un fichier au format VB ou VBS, interdit en

^ DON'T OPEN THAT LAST EMAIL!!!!
10759 [cpine firaxi] This is a multi-part message in MIME format.

^ How do I love ruby? [Because it's easy to fix things!]
10760 [jfn enteract] If anyone has read my messages, they have observed that I am in the midst

^ PEP ? Ruby
10763 [gastonfong y] Just a few questions.
+ 10771 [matz zetabit] Discussion here.
| 10775 [wys helbling] What about http://www.pragprog.com:8080/ruby ?
| + 10781 [wmwilson01 h] What are we looking at here, something close to a PEP?  Anyone have any good
| | 10783 [matz zetabit] I'm doing this job for years.  I don't feel the formal proposal
| | 10784 [wmwilson01 h] gotcha, I'm all over it.
| | 10789 [wmwilson01 h] Ok, I've created http://www.pragprog.com/ruby?RubyChangeRequest.
| | + 10799 [schneik us.i] # >From: matz@zetabits.com (Yukihiro Matsumoto)
| | | 10801 [wmwilson01 h] I figured most people would take it to ruby-talk first.  In the case that
| | | 10813 [dblack candl] I'm a little confused about how the Wiki area and this list/newsgroup
| | | 10815 [wmwilson01 h] SNIP
| | | + 10817 [duncan nycap] But you're flexible and you're adapting.  What more could we ask for?
| | | | 10818 [wmwilson01 h] Thank you!!  I needed that!
| | | | 10821 [matz zetabit] Here's my "me too" followup.
| | | + 10868 [dblack candl] I notice that there's a RubyWishList area on the Wiki, along with the
| | |   10893 [hgs dmu.ac.u] Good idea.
| | |   10897 [wmwilson01 h] Did you just want me to make a link to that page from the RubyChangeRequest
| | |   10898 [dblack candl] I'd suggest doing the link the other way: transfer whatever's pending
| | |   10899 [wmwilson01 h] So, I should add these as if I was adding a change request then?  Should I
| | |   10900 [hgs dmu.ac.u] Make them change requests
| | |   10902 [wmwilson01 h] done.
| | |   10903 [hgs dmu.ac.u] Thank you.
| | + 10823 [matz zetabit] Could you remove leading 0's from blade references?  E.g.
| + 10825 [Dave Pragmat] It's an alias for rubygarden that I used to get things going.
|   10827 [wmwilson01 h] Will do!
+ 10772 [alex_maranda] addition

^ Online regular expression reference?
10764 [chrismo home] Is there a handy regular expression reference online anywhere?
10770 [is.r com.is-] If you install perl, you can type
10773 [ben_tilly ho] Actually Ruby's RE engine appears to be largely Perl

^ perform. of Dir["**/*"]
10778 [hensh math.m] Now that someone has straightened me out on the use of **, I have a
+ 10786 [sent quality] Well, you're printing out 64 filenames per
| 10787 [hensh math.m] Hmm, I thought I was just printing the hash length?? Am I missing something?
+ 10794 [matz zetabit] Slow.  Since it had to create 32701 string objects, GC intervals
  + 10822 [sent quality] Um. No, you're not. Please disregard my earlier
  + 10835 [hensh math.m] I apologize in advance if some of these questions have been answered here
    + 10846 [decoux moulo] The future releases of ruby will have the patch.
    + 10849 [matz zetabit] My result was made when all direcotry information was on cache

^ ANN: RubyCHannel with the first online interpreter and tutotrial
10785 [wys helbling] Follow the links to http://www.ruby.ch/tutorial or
10788 [spwhite char] This is a great concept! It also provides an easy way for me to tell people
10791 [wmwilson01 h] SNIP
10792 [wys helbling] FIXED!
10793 [wmwilson01 h] you da' man! ;)
10798 [schneik us.i] #   http://www.ruby.ch
10832 [wys helbling] Thanks for the feedback so far.

^ Any MIME support for Ruby?
10795 [thams snooze] Anyone know of any Ruby support for reading and writing mime-format
10797 [aamine dp.u-] TMail might be help. It's found on RAA,
10819 [sent quality] I've used TMail (in the RAA) successfully to
10857 [aamine dp.u-] tmail = TMail::Mail.load_from('Mail/1'

^ ANN: ArrayMixin (now MetaRuby) 0.4
10800 [matju cam.or] MetaRuby 0.4

^ iowa, segfaults
10802 [jonas.bulow ] I just installed iowa and mod_iowa using ruby 1.6.2 on FreeBSD
10803 [avi beta4.co] Yeah... my apache module is rather delinquent in terms of error checking.
10810 [jonas.bulow ] I thought there were a sample page built into mod_iowa as described in
10811 [avi beta4.co] Hmmm.. haven't tested with BSD.  Have you tried using iowa.cgi instead of
10867 [jonas.bulow ] Yes, the same result with iowa.cgi

^ RubyChangeRequest #U001: cut operator for short-circuiting method chains
10804 [wmwilson01 h] Hugh Sasse posted this RCR (#U001) to the wiki.
10812 [wmwilson01 h] In regards to the archives that Hugh was referring to, I can finally get to

^ ?: regexp documentation?
10805 [ChrisM SNELL] I'm a regular expression novice. In a recent thread on word wrapping, there
10806 [ben_tilly ho] No.

^ Cute toy or start of something?
10807 [spwhite char] editing environment in the good ol' days.

^ Cute toy or start of something?
10808 [spwhite char] I'm not very bright today. I sent a previous version of the message. Here
10816 [schneik us.i] # Whatever you edit in the buffers is immediately loaded into irb when

^ Algorithm Package discussion
10809 [wmwilson01 h] Just wanted to make a quick note of the fact that there is a small

^ accessing password protected web page
10820 [ngalarneau m] I'm a ruby newbie.  (great language!)
+ 10828 [wmwilson01 h] I'm not positive if this will work or not, but I remember seeing something
+ 10852 [neumann s-di] It is not Ruby specific but HTTP.
| 10860 [schneik us.i] # I looked through THE book and didn't see anything that seemed
| 10864 [ben_tilly ho] Tsk, tsk, there are two authors.
| 10865 [cpine firaxi] And their last names are....
| 10866 [schneik us.i] # >
| 10869 [ben_tilly ho] Oops. :-(
+ 10870 [tarod home.c] I believe you're looking for the "Authorization" header.

^ What would happen if matz was hit by a bus WAS: PEP? Ruby
10824 [alex_maranda] Matz I wish you a long and happy life. This is a copycat of a post
10826 [matz zetabit] Since Ruby is the source of my joy (in computer field at least), I'm

^ RubyChangeRequest #U002: new proper name for Hash#indexes, Array#indexes
10830 [matz zetabit] I have to admint `indexes' is not good name, since its behavior
+ 10831 [matz zetabit] Oops, I shouldn't have assigned RCR number by myself.
| 10838 [wmwilson01 h] lol, matz, you can do ANYTHING you want ;).
| 10891 [matz zetabit] I don't want be THAT kind of dictator.
+ 10848 [dfan harmoni] How about 'values_of'?
  10851 [sent quality] Excellent.
  10853 [wmwilson01 h] Array#at seems to be most similar, only it just takes 1 argument.  Would it
  + 10854 [wmwilson01 h] Please excuse my crack smoking and replace Array.new(goof) to a = [1, 2, 3]
  + 10885 [matz zetabit] Possible.  The key is here.
    + 10886 [Dave Pragmat] I _think_ I'd prefer #elements_at and #values_at, but I'm not sure.
    | + 10894 [matju cam.or] Of all the solutions proposed, I vote for #values_at, with same semantics
    | + 10896 [dblack candl] Having the single index return a single value, and multiple ones return
    |   + 10907 [sent quality] Thanks. at(0) returns an array element in every
    |   | 10908 [sent quality] Extending Hash#values to accept a list of keys
    |   | 10918 [matz zetabit] Hash#values sounds good to me too.
    |   | 10934 [schneik us.i] #
    |   | 10939 [schneik us.i] #
    |   | 10951 [sent quality] Array#values is fine with me. It's a bit odd that
    |   + 10910 [matju cam.or] Sorry, not really...
    |     10911 [dblack candl] irb(main):001:0> a = [1,2,3,4]
    |     10989 [matju cam.or] What do you mean, would behave like that? The proposed extension would
    |     11004 [dblack candl] I think part of the original discussion was whether to extend #at so
    + 10888 [gnhurst hurs] How do the following three or four choices seem to others?

^ Re: What would happen if matz was hit by a bus
10833 [aseltine cs.] I think we should enclose matz in a protective, impact-resistant,
10836 [spwhite char] I think the BBC in England have some Dalek cases going spare...

^ RCR's
10837 [feldt ce.cha] Great work on RCR for the wiki, Mike. I think an important thing to
+ 10839 [wmwilson01 h] First off, thank you ;)
| 10841 [feldt ce.cha] No, I think your "definitions" are what people expect. Maybe you could
| 10843 [wmwilson01 h] done, I pretty much just cut and pasted what was said above, so let me know
+ 11142 [matju cam.or] wouldn't that be "raise unless arity == 1" ?
  11152 [crippel prim] Actually you are both wrong (the prototypical left/right

^ Programming Ruby...
10840 [ase cs.auc.d] Finally! _The_ Book arrived. I was just wondering David and Andrew, why
10883 [Dave Pragmat] Did you pay extra for Wagner shipping?
10890 [ase cs.auc.d] No!? Damn, I knew I did something wrong. ;-)
10942 [andy toolshe] For others who request the Wagnerian shipping method,

^ Possible bug in Hash implementation
10842 [   xm w3d.ru] First, I want to excuse - because this may be not a bug in ruby, but a bug
+ 10844 [wmwilson01 h] I have an inkling of why this might be, but I'll leave that to someone more
| 10845 [decoux moulo] You can't store a key with a given value of $= and retrieve this same
+ 10850 [matz zetabit] It's not a bug, but I don't think it's your bug either. ;-)

^ ANN: AutoTest
10855 [feldt ce.cha] www.ce.chalmers.se/~feldt/ruby/extensions/autotest

^ Ruby-newby mailing list: Any interest ??
10858 [john_van_v y] now.

^ component architecture for Ruby?
10859 [mjais web.de] just a few thoughts.
10862 [brk jenkon.c] I'll be starting work on the XPCOM port shortly, with assistance from Mark
10871 [kom mail1.ac] I also working on XPCOM staff.
10920 [brk jenkon.c] I'd be happy to cooperate, but I think we must be able to implement

^ Irix build
10863 [jonnalag uiu] I tried building ruby on Irix.
10905 [julian.romer] I have ruby compiled in a couple of SGI box with Irix 6.5.x without
10914 [jonnalag stu] this is what i have

^ extconf.rb, setup.rb, or makefile (was perform. of Dir["**/*"])
10872 [hensh math.m] But as an end user I don't have a choice, right? I need to use the config
10892 [decoux moulo] Yes, because in this case the author of the extension think that this
threads.html
top