123593-124369

123367-124043 subjects 123820-124500

^ Ruby interface to gnu date handling library?
123593 [comp.lang.ru] _ First, my apologies. I know I should be able to "just find
123598 [fugalh xmiss] I googled for this the other day too, and failed. My application will
123613 [comp.lang.ru] _ Thanks, that will work just fine. I couldn't even remember what
123713 [eule space.c] "Booker C. Bense" <bbense+comp.lang.ruby.Dec.14.04
123735 [comp.lang.ru] _ Thanks, turns out I'll need it after all.

^ Array#at(selector,...)
123596 [transami run] Is there good reason to have two different methods for this?
+ 123606 [transami run] To help answer my own question. A problem arises with output on single element
+ 123657 [matz ruby-la] Return value, the latter returns an array of specified values.
  123668 [transami run] Ah I see, same difficulty. Thank you.
  123670 [matz ruby-la] If you want both functionality.

^ CGI::Session.new
123612 [xmusil21 stu] when i call CGI::Session.new, ruby answer
123650 [matz ruby-la] A bug.  It's already fixed.  Try newer version.

^ Apache2, FastCGI and Rails on Windows
123614 [Chris.Willia] charset="us-ascii"
+ 123630 [ksibilev bel] I'm running my rails application on the same environment and it works
| 123825 [sarahtanemba] How do you test if fastcgi is working? I know that the apache loaded the
| 123831 [ksibilev bel] Oh, This is quite easy. I assume you have Ruby and RubyForApache
| + 123834 [joaopedrosa ] Kent, you have been very helpful for us Windows users by putting
| | 123835 [rff_rff remo] +1, and I actually got it even before you announced it :)
| | 123845 [curt hibbs.c] Darn it, I wanted to keep this quiet for a while, but this is forcing my
| | + 123849 [rff_rff remo] sorry for spoiling :/
| | | 123874 [curt hibbs.c] Your welcome... and thanks for the vote of confidence!
| | | 123888 [gsinclair so] All the software you need and dead-simple instructions for getting it
| | | 123891 [curt hibbs.c] Your welcome... and thanks for the vote of confidence!
| | | 123892 [curt hibbs.c] Excellent! We can discuss how to get this rolling off-list.
| | + 123861 [ksibilev bel] I'm really sorry about that. I didn't know about your plans. The main
| |   123873 [curt hibbs.c] Excellent! We can discuss how to get this rolling off-list.
| + 123899 [sarahtanemba] May be I did something wrong. I have not been able to run fcgi, and yes,
|   123900 [joaopedrosa ] Please confirm that the files are where they are supposed to be. For
|   + 123901 [Chris.Willia] Sarah,
|   + 123902 [sarahtanemba] the path you specified. Where can I download fcgi.o for mswin32?
|     123905 [joaopedrosa ] It will install the files for you, as long as you provide the
|     123917 [sarahtanemba] Thanks for sharing your experience with me, now I can run Ruby
+ 123631 [sarahtanemba] I went thru all with no luck. I don't think Windows implementation other
  123639 [ksibilev bel] I agree that it doesn't make too much sense to use Apache2 + mod_ruby
  123918 [sarahtanemba] Kent, you are an angel and thanks for your fine contribution.

^ Ruby Wiki engine w/ability to upload files
123626 [Bil.Kleb NAS] Another internal project team would like to start
+ 123632 [michael.deha] I haven't found one either...  I'd like one.
| 123634 [zoso foton.e] TWiki is very powerful, but the code is not very good. However, it's easy
| 123635 [michael.deha] Regarding the Ruwiki vs Instiki, etc -- do any support the idea of
| 123636 [halostatue g] Yes, but in Ruwiki I do not at this point have an authentication
| 123641 [michael.deha] Ok, thanks ... will check it out (and maybe even submit some patches
+ 123633 [halostatue g] There is a patch for this for Instiki. Ruwiki will have it later in 2005.
| 123658 [medalliance ] The file upload patch for instiki works great.  We've been using it for
| + 123685 [ptkwt aracne] When will this go from being a patch to being included in an Instiki
| + 123710 [Bil.Kleb NAS] Shoot.  I saw a brief mention of this patch, but it didn't register
+ 123686 [tamc2 cam.ac] I've written* a wiki based on webrick and redcloth that allows
  123699 [johnwilger g] Sounds interesting. Be sure to make an announcement when it goes up

^ no-argument sort()
123637 [alex deletem] I tried the code below- I thought
+ 123640 [ jimm io.com] [a, b] != ["a", "b"]
+ 123642 [batsman.geo ] static int
  123645 [alex deletem] <source snip>
  123649 [matz ruby-la] Performance compromise.
  + 123651 [flgr ccan.de] Is it considered a bug that it is not yet documented?
  | 123655 [matz ruby-la] I don't call it a bug.  Documentation volunteers are welcome.
  + 123653 [mneumann nte] Can we document this in enum.c and/or array.c, where this applies? Any
  + 123659 [transami run] Sorry, how does that provide better performance? Simply b/c it can't be
  | 123660 [flgr ccan.de] It does not need to go through method lookup and so on.
  | 123666 [transami run] I see. Thanks. If I may then, perhaps there is prudence in having Ruby support
  + 123677 [bob.news gmx] "Yukihiro Matsumoto" <matz@ruby-lang.org> schrieb im Newsbeitrag
    123679 [vjoel PATH.B] IIRC, subclasses of builtin types keep the same basic structure in

^ 64-bit integers in Ruby/DL
123638 [jamis_buck b] Okay, you C gurus out there. Here's a stumper.
+ 123652 [flgr ccan.de] As far as I know Ruby/DL does not yet work properly on 64 bit platforms.
| 123656 [jamis_buck b] Well, I'm actually on a 32-bit system. But gcc supports a 64-bit
+ 123707 [bugmenot wor] I don't know very much about Ruby/DL but can't you just define a struct that
  123722 [jamis_buck b] Well, structs in Ruby/DL are implemented as pointers to structs. You

^ problem with Resolv.rb
123647 [pat.eyler gm] class NS < DomainName
123671 [akr m17n.org] Tanaka Akira
123673 [pat.eyler gm] Tanaka,

^ inline tests in ruby/test/*.rb
123648 [mneumann nte] Some files like lib/set.rb or lib/tsort.rb have their test cases defined

^ [ANN] rand.rb 0.9: Random access methods for Enumerables
123661 [kig misfirin] weeks back with Christian Neukirchen. It's very simple, but we hope
+ 123676 [r_mueller im] its a bit OT, but I'd like to know, how you test the methods above.
| + 123711 [kig misfirin] Short answer: I don't. Bad, yes.
| + 123871 [kig misfirin] Here's a method for testing bias in array shuffle. I'd be interested in
|   123914 [glenn.parker] Here's an alternative that measures shuffle offsets and visibly shows
+ 123709 [nspring cs.w] def shuffle!
| + 123712 [ruby brian-s] I don't know if the first proposed solution is valid, because it depends on how
| + 123715 [kig misfirin] Thank you, changing #shuffle! to that and #shuffle to dup.shuffle!
| + 123730 [m44rt3n yaho] I made this a function a few days ago and it seems to be a lot faster.
|   + 123765 [transami run] def shuffle!
|   | 123776 [m44rt3n yaho] Just a very small test: (code below)
|   | 123787 [transami run] Hmm.. Interesting. Do you mind changing version 3 to use a tmp variable, like
|   | 123808 [m44rt3n yaho] That's a lot faster, indeed!
|   + 123766 [nobu.nokada ] It wouldn't be uniform.  An element which was close to the head
|     123777 [m44rt3n yaho] I tested this, by shuffeling an array [1..10] 100000 times and the
+ 123716 [transami run] I wonder. Do others see #pick in relation to #pop and #push as I do? Might
+ 124127 [martindemell] When I've needed this, I've found it more useful to define

^ [Tk] Bug on TkBindTag.new_by_name ?
123667 [email55555 g] It seems to me that there is a bug on TkBindTag.new_by_name.
123770 [nagai ai.kyu] Yes. You are right.

^ Rdoc + WindowMaker
123683 [martin.anker] rdoc, and generates a WindowMaker menu from it. So in windowmaker when

^ File#each_byte returns only the first 300 bytes
123687 [niko.schwarz] windows.
123688 [ryco gmx.net] I seem to remember you need to tell Ruby to open files in binary modes

^ Re: [BUG] unknown node type 0 - SERIOUS ENOUGH TO MIGRATE AWAY FROM RUBY?
123694 [andrew walro] This is a long standing bug in Ruby, and has been reported hundreds of times
+ 123695 [peter semant] The problem is that if you cannot reproduce the bug on demand then how
| + 123696 [andrew walro] 1) It's not that kind of bug. Its not reprodicible in that way. Programmers
| | + 123697 [andrew walro] Thanks matz. That certainly looks a likely candidate.
| | + 123728 [timsuth ihug] They weren't ignored. The '[BUG] unknown node type 0' error is the common
| |   123742 [joe.vandyk b] What I don't get is how entering white space or newlines can cause or fix
| |   + 123744 [matz ruby-la] Because it's often caused by GC invoked at certain timing, even mere
| |   | 123759 [akr m17n.org] I have some idea to ease debugging such bugs.
| |   + 123848 [comp.lang.ru] _ It doesn't 'fix it' it just hides it. It may be weird, but that
| + 123771 [steven.jenki] Andrew didn't say he couldn't reproduce it.
+ 123731 [flori nixe.p] No, the message alone doesn't say very much, because it's printed if a
| + 123741 [joe.vandyk b] But the code sample is worthless.  What fails on my machine works on someone
| | 123748 [flori nixe.p] No, it's not. It's the only way to find out which code in the execution
| + 123772 [hal9000 hype] I haven't seen this bug in a while, but it was a very strange one for
| + 123775 [ruby-lists l] but then again nor is a duplicated useless moaning response in reply is
|   123840 [flori nixe.p] That's called a race condition. And believe me, I would rather have sent
+ 123747 [cyclists nc.] I have in the past been successful at fixing these kinds of problems (albeit

^ Regex extraction
123702 [slr2777 cs.r] I'm writing an application that parses log files, specifically gaim html log
+ 123704 [bob.news gmx] "Scott Rubin" <slr2777@cs.rit.edu> schrieb im Newsbeitrag
| 123705 [craig.m.mora] On replacing &amp; -- This code will replace a few other items that
+ 123750 [awushu gmail] with &.

^ IOWA book (was ADV: Want to write...)
123703 [khaines enig] My head has been in a hole for the last several weeks due to many _bad

^ FAQ for comp.lang.ruby
123717 [hal9000 hype] RUBY NEWSGROUP FAQ -- Welcome to comp.lang.ruby!  (Revised 2004-10-16)

^ Can I make a new function like attr_accessor?
123719 [pjack sfaf.o] I'm writing a program that has a bunch of components I'd like
+ 123721 [itsme213 hot] It may be useful to look at this Ruby version of property change connectors
+ 123723 [tamc2 cam.ac] class Class
| 123779 [bob.news gmx] "Thomas Counsell" <tamc2@cam.ac.uk> schrieb im Newsbeitrag
+ 123724 [sera fhwang.] It's quite possible, and a very useful way to add domain-specific

^ Re: Can I make a new function like attr_accessor? (solved)
123732 [pjack sfaf.o] Thanks.  If nothing else, I've changed to underscores for
123733 [james graypr] Observable does support multiple listeners, just FYI.
123737 [vjoel PATH.B] If he's talking about standard ruby Observable, then yes it does support

^ Does the tk extension support 64bit on Linux?
123736 [jim freeze.o] [root@op2 root]# ruby -e 'require "tk"'
123757 [michael.deha] Jim,

^ SOAP Username/Password
123738 [lispamateur ] I am trying to access a SOAP service described by a WSDL. Pinging goes
123751 [lispamateur ] It is an Apache Axis Server. The parameter description is

^ P2P application in 15 lines of Python posted on slashdot
123740 [slonik.az gm] slashdot published an article on someone's
+ 123743 [intinig gmai] I was going to post the same message :)
| 123773 [rff_rff remo] ruby -rwebrick -e 'WEBrick::HTTPServer.new(:DocumentRoot=>".").start'
| 123780 [mailing-list] How about
| 123783 [ruby brian-s] I hope sort is not implemented as quicksort ;)
| 123785 [mailing-list] static VALUE
| 123788 [decoux moulo] uln% grep qsort util.h
| 123792 [mailing-list] Then hope Ruby's implementation of qsort is any good ;-),
| 123797 [ruby brian-s] So just out of interest, what kind of sort is ruby using?
| 123812 [mailing-list] Seems to be your standard memory-swap optimized quicksort, using its own
+ 123781 [flgr ccan.de] I did this 9.5 hours ago. Compared to the python one it is not
| 123789 [flgr ccan.de] Here we go. Thanks to Mauricio FernáÏdez for helping out with cutting
| + 123832 [dga lcs.mit.] Nice use of drb.
| + 123945 [flgr ccan.de] Another new version, binary files can be transfered to and from Win32,
+ 123811 [ruby-talk wh] I am saddened that they failed to mention ducks.  Ducks, or, more
  123889 [eule space.c] No matter how much you might be off topic, I always enjoy reading your

^ [OFF] New Smalltalk Release
123756 [steven_todd_] I know this is a bit off topic but because ruby and smalltalk are so
+ 123760 [sdate everes] Is there any plan of porting it on Linux/Windows ?
| 123774 [rff_rff remo] I think the point of ambrai ST is to be "The SmallTalk For OSX".
+ 123809 [lyle.johnson] I can see that it's in beta right now, and the download is free, but
  123913 [lyle.johnson] Replying to myself: Someone from Ambrai notified me that they're

^ Kernel.local_variables question
123761 [jos catnook.] Consider
123762 [sdate everes] Which version of ruby and which platform?
123764 [jos catnook.] ruby 1.8.2 (2004-07-29) [i386-freebsd6]
123767 [nobu.nokada ] It works for me.
123768 [jos catnook.] Nevermind, it would help if I called foo, which I wasn't. Duh.

^ RDoc- Merging docs, ri <filename>
123763 [vanweerd gma] 1.  is there a way to generate rdoc so you can do "rdoc <filename>. I
123842 [pragdave gma] If you use the web interface (lloking at the HTML) it shows you the

^ Ruby support
123782 [Bil.Kleb NAS] I had a brief scare the other day when I asked

^ String.scan - catching overlapping patterns with lookahead
123784 [bvschmid gma] in another string (including somewhat overlapping occurrences). Then I
+ 123790 [bob.news gmx] "Ardanwen" <bvschmid@gmail.com> schrieb im Newsbeitrag
+ 123791 [dblack wobbl] Are you sure about the benchmarks?  I got results that suggest that
  + 123795 [bob.news gmx] "David A. Black" <dblack@wobblini.net> schrieb im Newsbeitrag
  + 123799 [bvschmid gma] First time trying to use ruby's benchmark module. Doing something
    123806 [bvschmid gma] Ugh. I need to learn how to preserve indentation in google groups :P.

^ [SUMMARY] Learning Tic-Tac-Toe (#11)
123793 [james graypr] In an interesting contrast, this quiz generated a lot of good discussion, but
123800 [ruby brian-s] Thanks for the writeup james. I have to correct this paragraph here, as the
123805 [james graypr] You're correct, of course.  I was trying not to over-complicate my

^ [Tk] Multi-events sequence binding?
123794 [email55555 g] It seems to me that Ruby/Tk does not support multi-events sequence binding ?
+ 123798 [email55555 g] Tk.root.bind( [ 'a', 'b', 'c' ]) { }
| 123864 [nagai ai.kyu] Please use TkVirtualEvent class or TkVirtaulEvent::PreDefVirtEvent class.
+ 123863 [nagai ai.kyu] No. Ruby/Tk supports event sequences.

^ selector namespaces in 2.0 ?
123801 [itsme213 hot] Will 2.0 have (or is it likely to have) selector namespaces?
123810 [binary42 gma] Not sure if it answers the question but,

^ World's Smallest P2P App in 15 lines
123802 [jd nospam.co] This 15-line python script claims to be "the world's smallest P2P
123803 [jd nospam.co] This is what I get for not refreshing the ruby thread in Thunderbird

^ Use of ruby in different areas I've not seen discussed here before?
123804 [just-for-new] Of course I may have overreadi, but at least I can not remember having
+ 123807 [lymans gmail] I wasn't one of them, but several of the members of the Universities
+ 123818 [Bil.Kleb NAS] Maybe we're not talking about the same thing, but I thought
| + 123821 [belorion gma] I started a rubyforge (http://rubyforge.org/projects/rgenetic/)
| + 123883 [just-for-new] May I ask what domain that is. Are you allowed to show some example
|   123895 [Bil.Kleb NAS] Computational Fluid Dynamics (see website below).
|   123903 [just-for-new] Well sorry, I'm afraid I'm an illegal thing ;-)
+ 123890 [eule space.c] I did a semester project lately in Ruby (or rather as a C extension to

^ Testing global variables for existence?
123813 [x4 danisch.d] I need to set a global variable (e.g. $configfile ) to a default value
123814 [decoux moulo] With defined?
123816 [x4 danisch.d] Thanks! :-)

^ Ruby Cocoa (OS X) questions: deployment & interface builder
123815 [michael.deha] Folks,
+ 123822 [mailinglists] I agree here. I also tried to do a cocoa binding for Eiffel and
| 123827 [steven_todd_] Not to sound like an employee of the company or anything (I'm not It's
| 123854 [michael.deha] Steven ---
+ 123824 [tamc2 cam.ac] I don't know him, and haven't tried it, but
+ 123858 [devel nicrea] Actually, I've wrapped a number of ruby apps. If done right, ruby apps
  + 123859 [michael.deha] Swweeeeeeeeeeeet ......  I love this mailing list
  + 123943 [ryan.platte ] apps
    123966 [devel nicrea] I've intermixed your original article with the content of the post. I
    124334 [mikkel helen] I seem to have problems using the boot.cpp you posted earlier. Being a
    124349 [nobu.nokada ] Seems -framework option shouldn't be used to compile.
    124356 [mikkel helen] That did the trick!
    124369 [nobu.nokada ] You need to pay attention to the order of libraries and

^ WEBrick testing
123817 [mneumann nte] Could the appended file be added to the Ruby distribution as
123885 [gotoyuzo not] Hmm, fork is a pain for Windows users;)

^ commit2html.rb or rss2html.rb
123819 [Bil.Kleb NAS] The other month we hooked Dave's commit2rss.rb script up
123839 [pragdave gma] My Dr Dobbs article has a trivial program to do exactly that.
123867 [Dave PragPro] My Dr Dobbs article has a trivial program to do exactly that.
threads.html
top