119598-120536

119391-123448 subjects 119807-120552

^ [ANN] RedCloth 3.0.0 -- Textile and Markdown Elope!
119598 [ruby-talk wh] RedCloth 3 is out.  You know?  RedCloth?  Perhaps you've heard of it.
+ 119616 [rff_rff remo] I wonder: why add markdown support to RedCloth if it is already
| + 119618 [jgb3 email.b] I can think of one reason: BlueCloth is GPL'd, and RedCloth isn't. If
| | 119624 [tobias.luetk] I just found out that my commercial ruby application ought to be GPL
| | 119627 [rff_rff remo] maybe you could ask the authors to change the license..
| | 119900 [ged FaerieMU] Since the library that I derived Bluecloth from (Markdown.pl) is GPL, I
| + 119620 [ruby-talk wh] on a wiki.)  Or you can mix-n-match.
| | 119633 [jim weirichh] I find this to be the justification for many software features. :-)
| + 119623 [discordantus] I really like the idea of being able to mix markdown and textile...
+ 119655 [Stephan.Kaem] Yes. I use it a lot.
| 119661 [ruby-talk wh] Try the patch below.  Also, for simple transformations like the one
| 120205 [mboes cwazy.] I'm having stack overflows in the regexp engine as well. I applied the patch below but it hasn't solved the problem. On my box (x86-netbsd) tests/images.yml fails with
+ 120394 [angdraug gma] Cool! I checked it over this weekend and it mostly works fine, even a
  120428 [ruby-talk wh] The filter_html stuff is being rewritten to allow you to filter out

^ Ruby Garden [URL symbol] links broken?
119603 [Bil.Kleb nas] This may be old news, but someone pointed me to
119604 [halostatue g] Antispamming. That should be [HTTP ...]

^ Iterating trough hash
119607 [kevin boerge] This is my first ruby day. I started reading the ruby book two hours ago and
+ 119608 [james graypr] #!/usr/bin/env ruby
| + 119612 [ruby brian-s] I think he did not want ordered pairs, and only pairs with unequal members.
| + 119613 [dga lcs.mit.] Canonicalizing the order and making sure that john doesn't
| + 119614 [kevin boerge] No, this programm would iterate like this
|   119619 [Ara.T.Howard] This message is in MIME format.  The first part should be readable text,
|   119632 [discordantus] if the index of the first element that matches [person1, age1] is
|   119648 [Ara.T.Howard] consider the meaning of the h.sort and how ruby will do it by default.
|   + 119651 [michael.deha] This is a really long one, so (being new to the language), I'd
|   | 119652 [michael.deha] Hmm, that's not a good bug there, so I'll pull the "history" thing out
|   | 119653 [ruby brian-s] I think, that this is not each_permutation, but each_ordered_pair_of_elements_in_the_set_except_for_equal_elements.
|   | 119660 [discordantus] oops. I'll try to correct myself now...
|   | 119710 [michael.deha] But that would just be overly silly... :)
|   + 119657 [discordantus] <snip explanation>
+ 119610 [ruby brian-s] as the hash key is unique it should suffice to do it like this.
+ 119617 [Ara.T.Howard] This message is in MIME format.  The first part should be readable text,
+ 119629 [discordantus] Myself, I would add a method to Enumerable. This lets you separate a
+ 119644 [kevin boerge] I'd like to thank everybody who helped me. You enhanced my knowledge about
+ 119717 [gavin refine] It's for arrays, not hashes, but I have a #each_unique_pair method for

^ post headers
119628 [compsci.isi ] This is my first mail to this mailing list;
119730 [Ara.T.Howard] perhaps
119739 [compsci.isi ] Actually i thought my mail did not reach the mailing list and

^ win32ole and ole_methods
119658 [djberg96 hot] This question falls into the, "I'm just curious as to why this is"
119729 [masaki.suket] Because in order to get the other information about the methods.
119997 [logancapaldo] That seems a little overkill, why not just some_array.sort { |a, b|
+ 120027 [rff_rff remo] well, but why should'nt it have a reasomnable default for the sort
| 120127 [masaki.suket] If I can define the reasonable "<=>" method and it should have
+ 120102 [masaki.suket] Yes, you are right. Or more simply, some_array.sort_by{|a| a.name}.

^ Re: getting started with rails for win32
119663 [botp delmont] //

^ Ruby and Mozilla?
119665 [hal9000 hype] Is there any Ruby code out there that can interact with Mozilla
+ 119666 [jamesUNDERBA] I'm doing something like that myself, with qmail, spamassasin, and Ruby.
| 119686 [hal9000 hype] As am I.
| 119719 [jamesUNDERBA] I have full access to my mail server, and had two motivations o try to
| 119723 [todd.bradley] Rather than worrying about dealing with Mozilla, why don't you take a
| 119772 [hal9000 hype] Yes, well, I wasn't really looking for a Moz-specific solution...
| + 119780 [steven.jenki] Here's what I do: I run my own courier-imap server on a linux box. Every
| + 119782 [rasputnik he] Bet you're popular with your ISP :)
| | 119787 [hal9000 hype] I've played with the client stuff quite a bit, and it's not hard.
| | 119795 [rasputnik he] Ah, but we're talking about a *proxy* not a server -
| + 119783 [jamesUNDERBA] I took a quick look at Gurgitate, which appears to be intended for use
|   120018 [sl33p3r free] On my system, gurgitate-mail is called by postfix (in place of
|   120058 [jamesUNDERBA] Sweet, thanks for the info.
+ 119670 [jk microgala] intestines. However, once you got it running you will be awarded with
| 119687 [hal9000 hype] Thanks for this very interesting link.
| 119716 [gavin refine] Insofar as 3 ~= 4 ? :)
| 119733 [hal9000 hype] For sufficiently large values of 3, yes. :)
+ 119707 [sl33p3r free] a Ruby mail filter, that allow to write rules as ruby code ....

^ How to post header and cookies using HTTP.post
119673 [compsci.isi ] I want to know how headers are to be formatted so that I can

^ Ruby Portal Community Framework?
119679 [dion almaer.] If you were to create a Slashdot-esque site in Ruby, are there any
+ 119681 [ruby 3cn.com] But it registered on 2004-08-27
| 119804 [zoso foton.e] Hmmmm.... it has released no files, no webpage and no commits to CVS...
+ 119697 [rff_rff remo] It seem that here in rubyland people mostly use weblog engines or wikis.
  119769 [angdraug gma] Dmitry Borodaenko
  119793 [rff_rff remo] dmitri, are you still working on it?

^ scan returning matchdata
119680 [transami run] Wouldn't it be more useful if String#scan returned an array of MatchData?
119699 [dblack wobbl] I don't think so; most of the time, for me anyway, the array elements
119706 [transami run] Right. The only caveat being that an "mscan" can do thinks #scan cannot. So

^ [ANN] Rubymine.org
119682 [dross code-e] I've released Rubymine, a place where rubyists can obtain great
119722 [gltewalt yah] Thanks Mr. Ross.
119726 [dross code-e] You're welcome. Please tell me if any errors or ui design changes if
+ 119727 [merkoth gmai] nice site, indeed.
| 119736 [dross code-e] Agreed, its just a simple css file I need to change, I was switching
+ 119737 [ehames gmail] Very nice website, but there are no ruby signs at all!
  119740 [dross code-e] Are you referring to the lack of content, or the colors? I'll probably
  119745 [ehames gmail] I refer to the colors. But, that's only my impression. I like the red
  119830 [dross code-e] Are the default colors acceptable now? :)
  119862 [ehames gmail] Much better! But, the "plus" arrows are still blue!
  119871 [dross code-e] erm, I thought I uploaded a different arrow.. I'll look into it. I also
  119952 [merkoth gmai] waaaaayyy better than before! It really cool, good job ;)
  120065 [todd.bradley] Looks cool.  But I'm so confused by the high number of
  120068 [jamesUNDERBA] ruby-doc.org for documentation
  120114 [sera fhwang.] True. In theory, you get lots of diversity for the price of having to

^ Ruby code generation: string vs. AST based (2.0 or beyond)
119683 [itsme213 hot] Code generation in ruby is great.
+ 119688 [hal9000 hype] I'm very much in favor of that. I think it is planned, but I don't think
+ 119746 [drbrain segm] Not released just yet, but using ParseTree (a soon to be released
+ 119784 [tpeters inva] It would be an exciting feature. But I sriously doubt that AST
| 119791 [itsme213 hot] eval
+ 119812 [drbrain segm] Ok, ParseTree is now released, see ruby-talk:119807.  If you need
  119814 [mailinglists] But he would still need a "BuildTree".
  119817 [drbrain segm] You could emit Ruby code out the other end, instead of reloading the

^ new spam at the wiki
119685 [haaktu gmail] been checking my pages and it looks like we've got a new spammer on board.
119708 [jim weirichh] Wow.  This shows up as a blank line when viewing the page diffs.  I totally
119748 [see message.] Why isn't the Wiki password-protected so that only authorised users
+ 119753 [jamesUNDERBA] Please take a look at the mailing list archives, searching on "wiki
+ 119754 [ryco gmx.net] Well, the main reason is, I guess,  that it's against the 'Wiki Way'.
  119756 [cc1 cec.wust] More evidence of descrimination against robot kind!
  119758 [Ara.T.Howard] how about generating a jpg of a password and requiring the editor to enter it.
  + 119764 [michael.deha] this would block the bots i think.
  | + 119770 [belorion gma] I've seen a couple of wiki's that have Honeypots embedded in them.
  | + 119771 [Ara.T.Howard] a jpg and an mp3 then?  ;-)
  | + 119774 [mailing-list] What possibilities do they have in altering the contents of the pages?
  |   + 119775 [belorion gma] Someone who simply has really poor eyesight can configure their
  |   | 119797 [rff_rff remo] there even those funky braille console (I knew someone who used that)
  |   + 119776 [dougkearns g] Well if we don't put 'roadblocks' like these in the way, just as many as
  + 119766 [rff_rff remo] see archives :)

^ When is a key not a key?
119690 [dave burt.id] I hesitate to write because some of my code here is pretty evil, but this
119692 [bob.news gmx] "Dave Burt" <dave@burt.id.au> schrieb im Newsbeitrag
119695 [dave burt.id] Of course, that makes perfect sense.

^ xmlrpc and https.
119698 [miro easyspe] Has anyone tried to use the xmlrpc client with https?
120536 [mneumann nte] Ruby does not have keyword arguments!

^ Finalizers...
119702 [mneumann nte] Are finalizers (ObjectSpace.define_finalizer) executed atomicly? Or can
+ 120352 [angus quovad] [Michael Neumann <mneumann@ntecs.de>, 2004-11-10 13.23 CET]
+ 120425 [pbrannan atd] I believe finalizers are only called from the garbage collector, and the
| 120427 [mneumann nte] hm, if you allocate objects inside the finalizer, the garbage collector
| 120430 [pbrannan atd] Oh, my bad.  The during_gc flag is cleared before the finalizers are
+ 120457 [discordantus] % ruby <<EOP

^ Pickaxe and rb_create_new_instance
119703 [dave.baldwin] The rb_create_new_instance function is described in Pickaxe 2, but when
+ 119705 [decoux moulo] rb_class_new_instance
+ 119721 [dave pragpro] Aarrgh - the example code uses rb_class_new_instance, but it looks like

^ Hi
119711 [compsci.isi ] Can some one please tell me how to encode the headers(HTTP request) in the call
+ 119785 [dougkearns g] require 'net/http'
+ 119788 [discordantus] It's optional. If you want to include additional http headers, like
  119828 [compsci.isi ] What if i want to send cookies;
  119838 [discordantus] Set-Cookie: NAME=VALUE; expires=DATE;
  119839 [compsci.isi ] Thanx for ur response;
  + 119840 [haaktu gmail] breastfeeding is only best for babies.
  | + 119842 [barry.shultz] May I suggest using a simple tracing tool like tcptrace to see what the
  | + 119846 [compsci.isi ] Thanx
  |   119847 [haaktu gmail] i was hoping you'd look at http_access2. if you have downloaded
  + 119849 [discordantus] indeed, I can see now that I answered the wrong question... Still, I'm
    119865 [compsci.isi ] Yeah Edwin

^ installing ruby-dbi for mysql
119715 [r_mueller im] I want to use ruby-dbi with mysql.
119718 [sera fhwang.] Whenever I have to do this it takes me a couple of tries to get it
119720 [r_mueller im] Well......

^ Converting nil to NULL in a C extension
119741 [djberg96 hot] static VALUE foofoo(int argc, VALUE* argv, VALUE self)
119743 [jgb3 email.b] foo = NIL_P(rbFoo) ? NULL : StringValuePtr(rbFoo);

^ automatically call function on attribute set
119742 [Joseph.V.Lau] I have a class that represents an airplane.  This class has a bunch of data
+ 119747 [Ara.T.Howard] check out
+ 119757 [mneumann nte] You should use an Observer.
+ 119773 [vjoel PATH.B] Another approach is the observable lib on RAA
| 119927 [joe.vandyk b] What is the difference between self.x and @x?
| + 119932 [lukfugl gmai] self.x, sends either the :x or :x= method to self, depending if it's
| + 119934 [vjoel PATH.B] In ruby, assigning to an instance variable @x like
|   120082 [joe.vandyk b] Ok.  In general, it's best to use self.x as opposed to @x?
|   120094 [vjoel PATH.B] Depends. I tend to use @x as rarely as possible, so that subclasses can,
+ 119926 [joe.vandyk b] Aha!  Thanks for the response you guys.  I knew that there was a pattern

^ hook for class creation
119750 [itsme213 hot] Is there a hook method called whenever a new class is created i.e.
119759 [flgr ccan.de] You can try Object.inherited, but I'm not sure if it will get called
+ 119761 [itsme213 hot] Ah. Considering your suggestion I realized that I really wanted a hook for
+ 119762 [jgb3 email.b] What about just putting the initialization code in the class definition?
  119853 [bob.news gmx] "Jamis Buck" <jgb3@email.byu.edu> schrieb im Newsbeitrag

^ Graphical Debugger
119755 [ruby brian-s] I know that freeride has a graphical ruby debugger. I really like debuggers with a gui (coming from delphi) but I also really love editing my code with xemacs. Is there something like a stand alone graphical debugger, or some devious mode to make my xemacs a ruby debugging gui?
+ 119760 [tobias.luetk] You will like eclipse with the ruby plugin
| 119763 [mailinglists] He will also like Arachno Ruby.
| 119777 [ruby brian-s] Thanks for the suggestions.
+ 119781 [debertin umn] At one time I worked on getting Ruby support into DDD, but it was too
| 119789 [ruby brian-s] Thank you Dan,
+ 119790 [flgr ccan.de] Do you really need it to be graphical? I have written a simple debugging
  119975 [ruby brian-s] Thanks for the comment. I like the rubydb.el idea. But I've got no time doing ruby right now, so I hope to play around with both solutions later.

^ Persistence framework
119768 [imobachgs gm] We're looking for a good persistence framework for Ruby. We have tried
+ 119779 [mneumann nte] Which drawbacks? What are your needs?
| 119798 [rff_rff remo] now you should look for 'Og' wich is ndb.succ :)
+ 119843 [ gm navel.gr] Check out the 'Og' persistence framework included in Nitro.
  120034 [imobachgs gm] Thank you for all your anwsers. Now I'll try some of them. Oh, also I

^ [ANN] rq-1.0.0
119786 [Ara.T.Howard] URLS

^ A Wiki/Spam Report
119796 [jim weirichh] I've been helping the RubyGarden folks deal with some of the wiki spam
+ 119803 [see message.] Nice one!
+ 119806 [rff_rff remo] <snipall>
| 119820 [jim weirichh] No, they've been manually done.  Visions of automatic rollback are still
+ 119813 [billk cts.co] ... er... my Perl is very rusty... I concur with the <shudder>... :)
| 119821 [jim weirichh] [... perl code thankfully elided ...]
+ 119816 [Ara.T.Howard] how about an 'invitation' process: you can invite me, and then i can invite
+ 119831 [transami run] Jim. Thanks for the update.
| 119832 [transami run] There's a section specific to protecting wikis.
+ 119895 [bg-rubytalk ] I always hear about accessibility issues when the idea of Captchas comes
  + 119911 [rff_rff remo] I heard that. I even heard it for things I'd never had thought could be
  | 119935 [jim weirichh] There have been only a few updates today at all, and none of them were
  | 119970 [jamesUNDERBA] I thought this amusing (note to non USA folks: Thursday is a federal
  | 119978 [jan spam.spa] (note to USA folks: it's also a holiday in most other countries that
  | + 119985 [sroberts uni] Here in Canada Rememberance Day isn't a stat holiday, we have to work.
  | | + 119998 [jwkenne attg] Most ordinary folk in the US work, too, but it's a holiday for federal
  | | + 120020 [robert.mcgov] Certainly not in the UK Sam
  | | | 120045 [rasputnik he] You get to not talk for two minutes, what more do you want?
  | | + 120023 [Stephan.Kaem] It's not a holiday day in Germany, not even in part of it. My calendar
  | | | 120024 [Peter.Vanbro] It is the Dutch abreviation for World War I (WereldOorlog I).
  | | | 120025 [hal9000 hype] Ahh, live and learn.
  | | | 120028 [Peter.Vanbro] Here it is still called "Armistice Day", or Wapenstilstand in Dutch (wapen
  | | + 120046 [ruby brian-s] Regards,
  | + 119996 [mailinglists] What does WOI mean ? War on Iraq ? You already have a Falludscha
  | + 120059 [jamesUNDERBA] Well, there ya go.
  + 119944 [hal9000 hype] Good point. There used to be a blind reader of this list that I knew.

^ array.each restart when array is changed
119799 [kevin boerge] How to restart a "each" iteration when the iterated array is changed? I do
+ 119800 [kevin boerge] As I re-read my post, I find it a bit ambituous. It is not important that
+ 119801 [Ara.T.Howard] This message is in MIME format.  The first part should be readable text,
+ 119808 [sdate everes] Because 'a' does not automagically cast to Fixnum.
| 119854 [bob.news gmx] "Shashank Date" <sdate@everestkc.net> schrieb im Newsbeitrag
+ 119809 [cyclists nc.] irb(main):006:0> alpha = 'a'
+ 119855 [angus quovad] [Kevin Böògens <kevin@boergens.de>, 2004-11-10 23.48 CET]
| 119856 [batkins57 gm] How does this work?  Does 'retry' recall the method associated with its block?
| 119861 [angus quovad] [Bill Atkins <batkins57@gmail.com>, 2004-11-11 13.49 CET]
| 119867 [flgr ccan.de] Wow, this might be very powerful. Using it we can implement a custom
| 119868 [decoux moulo] From the "ruby user guide"
| 119870 [flgr ccan.de] Thank you, I have not read the Ruby User Guide (maybe I should now that
+ 119857 [bob.news gmx] "Kevin Böògens" <kevin@boergens.de> schrieb im Newsbeitrag
| 119864 [dblack wobbl] Do you mean array += ["Hello santa clause"]  ?  (See my earlier
| 119875 [bob.news gmx] "David A. Black" <dblack@wobblini.net> schrieb im Newsbeitrag
+ 119863 [flgr ccan.de] I would just do ('a' .. 'z').to_a.first(gets.to_i)
  120079 [kevin boerge] Call me stupid, but I don't find this function in the ruby book
  120083 [mkhan lextra] what function? you might mean #..
threads.html
top