67804-69125

67612-68465 subjects 68042-68581

^ defout vs stdout
67804 [ahoward fsl.] can some definitively explain these?  i've read over many of the old posts and
67808 [nobu.nokada ] STDOUT is stdout of the process, DEFOUT is output for in-place
67818 [ahoward fsl.] <dumb>
67822 [matz ruby-la] % man ruby
67830 [ahoward fsl.] this is what i *thought* was meant by 'in-place', but many, many, threads have
67832 [matz ruby-la] No.  $defout is a "default output of print/printf etc." and -i replace
67833 [ahoward fsl.] yes. finally ( ;-) ).

^ ruby-dev summary 19824-19877
67809 [maki rubycol] This is a summary for last week on the ruby-dev mailing list.

^ [FXRuby] How to capture key events
67811 [fugalh falco] I have a simple gui that consists of mostly just a FXText object, and I
67812 [lyle users.s] For most widgets, you can intercept the SEL_KEYPRESS and SEL_KEYRELEASE
67815 [fugalh falco] Thanks, that did the trick! Now, I can't figure out how to let the

^ 未承諾広告*3億円へ一歩!      
67813 [sb29 orient-]                 未承諾広告* 

^ Ruby Weekly News
67821 [Dave Pragmat] Ruby Weekly News: 03/24/2003

^ GridFlow 0.7.1
67826 [matju sympat] Here is a new release of GridFlow (a multi-dimensional dataflow processing
67905 [bruce codedb] matju,

^ What kind of book is PickAxe?
67840 [dcarrera mat] The recent discussion about PickAxe made me wonder, what kind of book
+ 67845 [muellerix gm] I'd say that it's a mixture of the first to categories, but it defenitely
+ 67854 [batsman.geo ] [1]  > - Tutorial  (e.g. _Learn_Ruby_in_21_days_)
+ 67895 [gsinclair so] The three categories you list combine to form perhaps a slim majority
+ 67897 [comp.lang.ru] _ Here's how I divide my books.
  67920 [botp delmont] I like all.
  68064 [comp.lang.ru] - - Didn't mention it because I haven't read it.

^ External iterators all nice and neat (was: Re: Iterate over two lists in parallel)
67849 [vangczung ya] I don't know about generators, but for traversing a collection, my
+ 67850 [vangczung ya] catch(:iter_done) {
| 67868 [pbrannan atd] I think the problem is that you are returning directly from your
+ 67872 [batsman.geo ] batsman@tux-chan:/tmp$ expand -t 2 u.rb
  67886 [vangczung ya] Not quite. ;)  Array#shift returns nil when the collection is empty, so
  67887 [vangczung ya] Whoops.  On testing it, you're right.  The first call *does* spit out

^ Pls lets work together
67856 [patric_manbo] Patric Manbo

^ Re: West Nile Virus < Anna Kournikova Virus, get protected.
67858 [Venus9613q d] This is a multi-part message in MIME format.

^ ruby-fcgi: proposed patch
67859 [B.Candler po] Here is a patch against Moonwolf's excellent ruby-fcgi-0.8.2, inspired by
+ 67871 [moonwolf moo] ruby-fcgi-0.8.3 released
| 67876 [B.Candler po] Small but important documentation note, the following line
+ 67908 [ahoward fsl.] <snip description of much work>

^ Change request: return value from 'trap'
67860 [B.Candler po] I notice that in ruby-1.6.8, the return value from 'trap' is nil if the
67864 [matz ruby-la] Sounds nice.  Taken.

^ [FXRuby] FXGLViewer and textures
67867 [debitsch t-o] Windows 2000
67874 [lyle users.s] Yes, you need to make the GL viewer's context the "current" context

^ Garbage collector problems
67877 [jaen saul.ee] stack (continuous, grows downwards) as a reference
+ 67878 [decoux moulo] plruby (procedure language for PostgreSQL) fix this (for its *particular*
+ 67903 [nobu.nokada ] If a function which holds Ruby objects may be called from
  67935 [decoux moulo] The problem is not the name
  67947 [nobu.nokada ] I meant that other (rb_ prefixed) name would be nice to export,
  67969 [pbrannan atd] I think I agree.  Non-static functions should have names that are
  67971 [decoux moulo] No, Init_heap() is called by ruby_init().

^ file IO slow in Rubyinstaller 1.6.8-8
67879 [greg brondo.] This might be an old question, but why is file IO so so slow in the
+ 67901 [bobx linuxma] Because the is a known problem that 1.7.3 fixes. Try the 1.8 series if you
+ 67902 [ruby-talk wh] Check http://rubygarden.org/ruby?WindowsInstaller.  I see a 1.7.3-7 link

^ question about include and modules
67880 [mhm26 drexel] ruby -v
67931 [decoux moulo] Add these lines
67936 [batsman.geo ] Is this because array.c uses rb_include_module instead of
67939 [decoux moulo] No, the problem is with the internal of ruby. When you add a module in
67940 [batsman.geo ] [great explanation]
+ 67941 [decoux moulo] Well, you can perhaps change this behavior with a judicious use of
+ 67957 [matz ruby-la] It is implementation issue, but I don't think it would be fixed,
  67959 [batsman.geo ] The fact that this hasn't bitten badly people out there seems to

^ (none)
67881 [deaconebosel] DEAR IN CHRIST,

^ Inheriting from WIN32OLE
67882 [ashokiitm ya] Can anyone tell me why this does not work?
67904 [nobu.nokada ] I got the error, Unknown OLE server : `Micro.SoftManager'.
+ 67921 [sdate everes] Nobu,
| 67925 [nobu.nokada ] Hmm, I tried with WIN32OLE distributed with 1.8, it is very
| 67962 [sdate everes] Which distribution are you refering to ?
| 68104 [nobu.nokada ] CVS head.
+ 67932 [ashokiitm ya] I run WIN32OLE 0.5.0
  67960 [sdate everes] How did you find it out ?
  69125 [ashokiitm ya] I looked in the release notes :)

^ (none)
67883 [deconebosele] DEAR IN CHRIST,

^ (none)
67885 [deconebosele] DEAR IN CHRIST,

^ Recursive methods allowed in Ruby?
67888 [kpd krishnad] Does Ruby allow recursive methods? For example, in Java you can have a
+ 67889 [B.Candler po] Dir.foreach lists "." (current directory" and ".." (parent directory) which
| 67891 [gfb tonesoft] For this particular case, it is much easier to use class Find (require
| 67893 [kpd krishnad] Thanks Gennady, Martin & Brian! I'm back on track now...
+ 67890 [Ephaeton gmx] I assume you run into an endless loop on '.', the current directory.

^ [ANN] FXRuby-1.0.21 Now Available
67898 [lyle knology] All,

^ [EG] multiton design pattern
67899 [ahoward fsl.] i did this so many times i decided to put it in one place.  i've found
+ 67910 [vjoel PATH.B] Like a multiton truck? ;)
+ 67934 [batsman.geo ] Is 'multiton' a standard term?

^ tee in ruby while catching status
67900 [lists debona] I'm wondering how I would write a program such as 'tee' in ruby while
67930 [B.Candler po] Unfortunately for you, no. The exit status is returned to the parent process
67968 [lists debona] I need to see the output to the screen while doing it. :/
+ 67976 [bob.news gmx] def doit(command)
| 67994 [lists debona] Thanks for your help so far guys.
| 67997 [lists debona] I managed to sort it out :)
| 68001 [lists debona] I take it back, I didn't.
| + 68003 [lists debona] Guess I'm talking to myself here, but I seem to have solved the problem
| + 68004 [bruce codedb] select( readArray [, writeArray [errorArray [timeout]]] ) ->
+ 68009 [B.Candler po] I usually stick this in the background, then run 'tail -f make.out' when I'm

^ [Q] changing a stream of 'print' method to a string
67906 [kwa kuwata-l] I have a question.
+ 67907 [dcarrera mat] I'm not sure I understand your question, but the code you are trying to
+ 67909 [gsinclair so] def print_list(list, out=STDOUT)
  + 67929 [B.Candler po] Or you can just do
  + 67938 [kwa kuwata-l] Thank you, Gavin.

^ Conditionally make a method private?
67915 [thinker5555 ] I've googled this one, as well as looking in Pickaxe and Ruby Way, and I
+ 67916 [jj5412 earth] Would a Factory pattern work better in this case? I.e. have a base
| 67918 [thinker5555 ] It would indeed work, but I was hoping to be able to keep it down to one
| 67922 [jj5412 earth] You must also consider the maintainability of the code. I'm sure you
| 67924 [thinker5555 ] I understand what you mean.  I think I was trying too hard to conserve
| 67948 [dblack super] Don't forget that the class variable @@status will be shared by any
| 68012 [thinker5555 ] Actually, if I understand what you are saying, this is EXACTLY what I want.
| 68036 [batsman.geo ] But in a way it *is* global, as there's only one class attribute, it is
| 68097 [thinker5555 ] True.  And that's pretty much what I need.  One to be shared among all, (as
| 68112 [batsman.geo ] Just that :)
+ 67926 [kentda stud.] They can, but remember that methods such as private are methods on the
  68011 [thinker5555 ] Ah!  I believe I understand.  Thank you for this!
  68038 [batsman.geo ] Now that you know how to do it, are you sure that's what you *really*

^ I NEED YOUR ASSISTANCE
67923 [hajir.m.abac] Dear Sir,

^ [ANN] mhttp - simple C based module implmentation for HTTP
67928 [piers ompa.n] Announcing the first release of mhttp for Ruby - version 0.01

^ how to raise warning?
67937 [drejewic wsi] how to raise warning? I would like to show up warning as below
67944 [B.Candler po] Not a direct answer, but you can test $VERBOSE (or $-v or $-w) to see if

^ [BUG?] Dir.glob and space in folders names
67942 [ oct zoy.org] oct@baillet:~/temp$ mkdir "foo bar"
67943 [decoux moulo] it's corrected in 1.8
67946 [ oct zoy.org] Guy,
68007 [gsinclair so] Ruby 1.8 hasn't been finalised yet.  You can download a preview

^ Ruby Readline extension
67945 [tim bates.id] I have a few gripes with the Ruby interface to GNU readline.

^ How can one implement composition of functions in Ruby?
67951 [sdieselil ya] I'm deliberating about what language to choose: Ruby or Python. One of
+ 67954 [dblack super] def compose(f,g)
+ 67963 [jbritt ruby-] Not to discourage the use of Ruby, but is there a reason you don't just pick
+ 67964 [whitton atla] Ruby does a fine job at functional programming. You can even do partial
+ 68008 [gsinclair so] This is probably more a Python idiom than a Ruby idiom, since in

^ NETRuby?
67956 [revision17 p] I've been looking around for information about NETRuby (Ruby for

^ What are the differences between Ruby's blocks and Python's lambdas?
67961 [sdieselil ya] See subject.
+ 67965 [whitton atla] A lambda is simply an anonymous function. Ruby has lambdas as well, but they're
+ 67966 [nemo hellotr] As was mentioned, Ruby has lambdas, but they are commonly called "procs".
| 67967 [batsman.geo ] There's one thing Ruby's closures do and Python's cannot, as described in
| 67975 [pbrannan atd] make_counter = proc { |start|
| 67983 [batsman.geo ] Don't know Python, was just copying something I thought was agreed on :)
| 67986 [pbrannan atd] I don't know for sure, but I suspect that it's not much slower than
| 68040 [batsman.geo ] I had the feeling Ruby could be faster essentially *because* the work
| + 68049 [B.Candler po] I think what you want is to add a singleton method to the current object
| | 68050 [decoux moulo] class << self; self end
| | 68052 [B.Candler po] That's fine, but then how do I define the method in the singleton class
| | 68053 [decoux moulo] class << self; self end.instance_eval { define_method(m,x) }
| | 68055 [B.Candler po] I tried 'class <<a; def zzz; end; end' but it doesn't help.
| | 68057 [decoux moulo] I don't understand sorry. You have the response in [ruby-talk:68053] (the
| | 68070 [B.Candler po] I apologise, I missed that because at a glance it seemed to be what I had
| | 68079 [ptkwt shell1] I guess I'm not quite catching this....  but there does seem to be
| | 68677 [B.Candler po] I have just added
| + 68051 [bob.news gmx] "Mauricio Fern疣dez" <batsman.geo@yahoo.com> schrieb im Newsbeitrag
+ 68019 [me privacy.n] The main one is that a Python lambda can only contain
  + 68029 [hal9000 hype] lambdas?
  | 68074 [paul prescod] Note that these are limitations of Python's lambda keyword. Lambda is
  + 68032 [aspitz stude] This discussion is scaring me. There's a big, huge, fundamental
    68033 [botp delmont] ?:O
    68034 [botp delmont] [snipped lots of good sample code]..

^ HPUX and ruby 1.8preview2 compile error
67970 [brett_willia] I'm trying to compile ruby 1.8-preview2 for HPUX 11.0.  I get these errors if I
67972 [decoux moulo] It's corrected in the CVS version, perhaps you must use this version
67973 [brett_willia] Thanks for the quick response, I will try that immediately.

^ Programming Ruby in more formats?
67974 [fxn hashref.] Are the LaTeX sources, or a dvi, ps, or pdf version of "Programming Ruby"
67982 [digibren mac] as far as I know there is only the HTML or XML versions available
+ 68010 [ jupp gmx.de] EHLO
+ 68039 [kentda stud.] cvs -d :pserver:anonymous@rubygarden.org:/usr/local/repository
  68116 [fxn hashref.] Excellent!

^ Hurd and ruby 1.8preview2
67977 [manfred topp] i have compiled ruby 1.8preview2 on Hurd.
67978 [nobu.nokada ] What trouble did you have exactly?
67984 [manfred topp] the ruby-1.8.0/ext/dl/extconf.rb didn't make the makefile.
68102 [nobu.nokada ] This exception should be rescued.
68152 [manfred topp] here is the output from your example.

^ When modruby/eruby isn't available
67979 [ptkwt shell1] I'm not a web programming expert, so please bear with me...
+ 67980 [pate eylerfa] I like using PageTemplate and running the script as a CGI.
+ 67981 [ruby-talk wh] A few templating systems take YAML documents directly.

^ Need help running RDE on WIN2000
67985 [jim freeze.o] Ok, now that I have got the right version. :)
68002 [djberge qwes] Sounds like a bug to me.  Check the Bugs section of the sourceforge page
68013 [jim freeze.o] Could it be particular type of ruby binary that I installed?
68062 [jim freeze.o] rde0996e   # brings up gui but crashes when try to run a program

^ syntax
67987 [offstuff aon] in c++ I can write ``i++幹.
+ 67988 [pabs pablotr] i +=3D 1
+ 67989 [michael_s_ca] i += 1
+ 67990 [Stephan.Kaem] how about
  67995 [bob.news gmx] class Fixnum
  + 67999 [rodrigo.berm] irb(main):006:0> class Fixnum
  | 68005 [hal9000 hype] Rodrigo,
  + 68006 [dcarrera mat] That doesn't work, but '1.succ' does.
    68017 [mike ratdog.] But surely the original poster was really trying to get something like

^ [RFC] PingExternal behavior in net-pingsimple - down hosts
67992 [djberge qwes] I noticed a fatal flaw in the PingExternal class in net-pingsimple.  If

^ How do immediate values work?  (implementation question)
67993 [nemo hellotr] It was always my understanding that immediate values could not have
68015 [matz ruby-la] Yes, I thought performance matters for most of Ruby users.  If we come

^ Regular Expresison in Method Problem
67996 [nick.robinso] def calc(inValue)
+ 67998 [dblack super] It gives that error message because you've dynamically assigned to a
| 68076 [nick.robinso] ah....doh...thanks for that!
+ 68000 [Ephaeton gmx] Because in Ruby, constants start with an uppercase letter.

^ ANN: Ruby-MacX alpha
68014 [digibren mac] I've made a static binary of ruby for Macintosh OS X. It's in a disk
68016 [digibren mac] sorry forgot to mention this is a binary of 1.8-preview2

^ What is going on with free ride?
68018 [aleksv attbi] Does anybody knows when something new will be released?
+ 68041 [batsman.geo ] 2003-03-09 09:56  ljulliar
+ 68056 [rich infoeth] The whole project team encountered real-world commitments which has

^ case not calling class' '===' method?
68020 [ptkwt shell1] maybe I'm missing something obvious...
+ 68022 [tim bates.id] Case uses the === operator the opposite way around to what you might expect.
+ 68023 [matz ruby-la] In a code like
  68028 [ptkwt shell1] Thanks matz.  Could you explain why it is done this way?
  68030 [nemo hellotr] Thanks matz.  Could you explain why it is done this way?
  68072 [ptkwt shell1] Makes sense...  Thanks for the explanation.

^ [Q] pack
68021 [dcarrera mat] Could someone tell me where I can find a reference to the 'pack' function?
68024 [tim bates.id] In the Pickaxe. ;) Try
68025 [dcarrera mat] Sigh.
68026 [tim bates.id] No trouble - by coincidence, it was precisely that method that I was last

^ Debugging Ruby itself.
68027 [john.carter ] For various reasons I'm using the CVS latest version of Ruby....
68043 [batsman.geo ] Does the bug look like the phantom one I found?
68071 [drbrain segm] To reduce the likelihood of it being GCC's fault, compile ruby and any
68075 [batsman.geo ] This is what I found in my case...

^ Anyone ever confused by Array#slice! method?
68031 [hal9000 hype] I just realized a minute ago why every time I
68035 [matz ruby-la] All but reverse!, sort!, and exit!
+ 68037 [botp delmont] In this regard, can any kind soul post any docs/wikis on all banged methods
+ 68068 [hal9000 hype] But of course you know all this, Matz. :)
threads.html
top