56051-56542

55817-56326 subjects 56262-56580

^ Ruby compiler
56051 [dcarrera mat] Is there a Ruby compiler?
+ 56052 [rich infoeth] And Andy Hunt is working on a program that will create a
| 56056 [dcarrera mat] Thanks.
+ 56053 [james jamesb] <snip type='enormousSig' />
  56057 [dcarrera mat] Exerb looks great.  Do you know how it deals with external libraries? like
  56075 [alan digikat] There's a link for an english page for exerb somewhere on that page..
  56076 [armin xss.de] ...

^ Stack Traces
56054 [ tom u2i.com] from src/web/template.rb:80:in `match'

^ Q: Would you like to lose your ACCENT?
56058 [jackie_w nom] This is a multi-part message in MIME format

^ sorting partially ordered objects in 1.7.3 fails
56060 [vjoel PATH.B] Is this an intended change?
56065 [decoux moulo] Probably this is this
56069 [batsman.geo ] But the relation is indeed defined in Joel's example, and the exception is not
+ 56070 [decoux moulo] pigeon% ruby -ve 'class C;end;class C1 < C;end;class C2 < C;end; p C1 <=> C2'
| 56085 [vjoel PATH.B] Thanks. I thought sort had changed, but of course it is Class#<=>. So an
+ 56071 [batsman.geo ] I'm stupid.

^ Error writing BLOB in Postgres-DB (via DBI)
56077 [stesch no-sp] Ruby/DBI 0.0.17

^ FXIrb on windows
56079 [martindemell] Is it just me, or does FXIrb not work on windows? When I run it, it
+ 56081 [gilles.filip] I've tested it under Linux only. Improvements are welcome.
+ 56086 [bobx linuxma] Does the same with 1.7.3 on Windows as well.

^ [ANN] ncurses-ruby 0.6
56089 [tpeters inva] ncurses-ruby makes most functions, constants, and external variables of
56225 [pit capitain] Would it be possible to use JTTui (in RAA) on Windows with your
56526 [tpeters inva] No.  Jakub's nice TUI library does not use ncurses-ruby in any way.

^ Windows bitbucket equivalent?
56098 [brian coolna] I'm working over somebody else's Ruby code, and one of the methods used
56099 [nobu.nokada ] nul
56210 [brian coolna] I feel so silly asking, but do you mean along the lines of this?
56212 [james jamesb] I feel so silly asking, but do you mean along the lines of this?
+ 56218 [brian coolna] Works like a charm.  Thanks all around!
+ 56246 [michael_s_ca] No more so that File.open("/dev/null", "w") would create a file named
  56258 [brian coolna] That makes sense.  I was confused, though, because there actually is a
  + 56259 [hal9000 hype] I think NUL is perhaps better written as NUL: (i.e.,
  + 56267 [michael_s_ca] Yeah, like so many other M$ "features", they probably didn't want to

^ Problem with net/http on OS X?
56110 [daniel circu] I'm using the standard OS X 10.2.x install of Ruby.
56112 [bystr mac.co] I experienced the same error on Solaris when doing
56132 [daniel circu] Hmmm. Thanks for the suggestion... but it doesn't change anything. This doesn't surprise me as just running
56171 [ jimm io.com] I'm on OS X 10.2. I started irb and typed "require 'net/http'". No errors.
56181 [daniel circu] That was very useful. Now I simply need to understand why it won't work from inside of BBEdit. It clearly works from irb.
+ 56200 [ jimm io.com] Environment variables, perhaps?
+ 56206 [jim freeze.o] ruby -r net/http -e 0

^ WeRDS, the Weekly Ruby-Doc Summary, for 2002-11-17
56111 [james jamesb] This is WeRDS, the Weekly Ruby-Doc Summary, for 2002-11-17

^ mod_ruby and eruby on MacOS X 10.2
56113 [bystr mac.co] Kinda old question, but anyway -- does anyone have any luck in

^ ruby.dbi
56115 [ted datacomm] 1 #!/usr/local/bin/ruby
56123 [m_libby ands] I don't see any error, your code runs fine for me after I adjust for the
56166 [ted datacomm] I don't get it.
56176 [ted datacomm] Thanks everyone for the help.  Here's what finally worked -- and it's a LOT more "Ruby-ish" than any prior attempts.
56194 [m_libby ands] We'll get you there. :)

^ Ruby Weekly News
56117 [Dave Pragmat] Ruby Weekly News: 11/18/2002

^ ruby-dev summary 18711-18810
56119 [aamine lover] This is a summary of ruby-dev ML in these days.
+ 56120 [aleksei.guze] Aplying zip as an instance method to the module Enumerable makes the method
| + 56124 [matz ruby-la] H,
| | 56127 [aleksei.guze] method
| | 56178 [matz ruby-la] I'm not sure if I get what you mean.  How does it hide errors and
| | 56209 [aleksei.guze] the
| | 56211 [matz ruby-la] But it happens all the time in dynamic languages.  Why this bothers
| | 56213 [aleksei.guze] while
| | 56215 [matz ruby-la] I still don't understand what you mean.  Sorry.
| + 56236 [martindemell] OTOH, the reason I don't like Kernel#zip is that it implies a false
+ 56121 [dblack candl] Do you mean that map_with_index has been rejected on its own, or just
| 56125 [matz ruby-la] map_with_index was rejected just because no one proposed its typical
| + 56128 [gsinclair so] I don't want to be the one to ask, but what's YANGI?
| | 56129 [maili31s cli] Perhaps it might be either
| + 56134 [dblack candl] Hmmmm....  I'll try to think of some examples.  It certainly seems to
|   + 56165 [hal9000 hype] I'd go so far as to say that map_with_index
|   | 56169 [dblack candl] Almost, but in the end we didn't use it.  I can't remember the whole
|   + 56186 [list NOSPAMc] a = ["a", "b", "c", "d"]
|     56188 [dblack candl] And if map_with_index existed, you could define #zip in terms of it
|     56237 [list NOSPAMc] That would only work for objects with #[](integer).  But then you
|     56238 [dblack candl] Yes, although I'd be interested in hearing people's ideas about cases
+ 56135 [dblack candl] Since a is the receiver, it would seem natural to me to have the
| 56144 [bobalex attb] I'm sure most readers of this thread are aware that the snake-language
| + 56154 [dblack candl] [very interesting comments snipped]
| + 56208 [aleksei.guze] and
| + 56224 [pit capitain] Do you know implementations like (from Ruby CVS)
|   56266 [bobalex attb] This is a multi-part message in MIME format.
|   + 56271 [pit capitain] thanks for the clarification. I wasn't sure what you meant by
|   + 56315 [bulatz integ] ruby iterators insert iterator body in CALL STACK between caller code
+ 56138 [pbrannan atd] What are the reasons for avoiding external iterators?  Using zip for
| 56185 [matz ruby-la] Internal iterator is far simpler, and as powerful as external
| 56205 [pbrannan atd] They are useful for more than just parallel iteration; they are also
| 56207 [matz ruby-la] a = [1, 2, 3, 4, 5]
+ 56223 [pit capitain] How are you going to implement it?

^ identing ruby in vim
56131 [briqueabraqu] I'm new to ruby and vim. Is it possible to ask vim to ident a piece
+ 56133 [ted datacomm] set autoindent number ruler tabstop=4
+ 56137 [brailsmt yah] filetype plugin on 		"Turn ftplugins on
  + 56142 [briqueabraqu] I'm really new to vim. After I insert those lines and restart vim,
  | 56143 [uu9r rz.uni-] Move your cursor to the beginning of the block you want to indent, then press
  | 56153 [lists debona] awesome, I'd given up, finally these instructions worked :)
  + 56249 [m mongers.or] My VIM won't eat those commands (version 6.1.213) ...
    56263 [brailsmt yah] Huh?  Do you mean that vim isn't responding to those commands?  It
    + 56272 [brian coolna] piece
    + 56290 [gsinclair so] Setting expandtab and foldmethod in a filetype plugin is indeed appropriate,
      56426 [rando babbli] Many VIM filetype plugins use vim variables to control whether folding
      56439 [austin halos] Actually, the VIM filetype plugin probably shouldn't set the
      + 56444 [gsinclair so] Correct.  The official one doesn't, but most people don't have that :|
      | 56467 [austin halos] You should look for Ruby on Vim.org; I think that's where I got a
      + 56455 [rando babbli] Properly done, the indent file (located in indent/<filetype>.vim) should
        56458 [gsinclair so] Rest assured, that's the way it is now.

^ Explanations of yield for a newbie?
56139 [christopher.] I've been reading the pickaxe book and I think I kind of understand them, but I
+ 56146 [austin halos] Mmm... I'm not sure that I'd actually define it that way. yield
+ 56151 [alan digikat] Think of a block as an anonymous subroutine. Instead of saying

^ WEBrick, Tofu, Div::Div
56140 [ahoward fsl.] rubyists-

^ OS X Jaguar: missing TCP_NODELAY breaks DRb.
56145 [marick testi] There seems to be a glitch with the 1.6.7 Ruby that ships with

^ irb difficulties.
56147 [ted datacomm] Just updated Ruby from CVS, compiled it, and started up irb.
+ 56150 [decoux moulo] * eval.c (rb_add_method): initialize should always be private.
| + 56152 [ted datacomm] But that doesn't solve my problem: irb doesn't work.
| + 56184 [matz ruby-la] I will fix this soon.
+ 56155 [tarasis btop] No pointers, just wanted to say I bumped into this today as well. After
| 56156 [ted datacomm] Yeah.  You can always tell who the pioneers are.  They're the ones with the arrows in their backs. ;->
+ 56157 [lyle users.s] Until irb's maintainer makes an official fix to the CVS sources, you can
  + 56161 [ted datacomm] It worked!  You now have a happy camper (or two) on your hands!
  + 56164 [tarasis btop] Thanks Lyle :)

^ Development Kit for Ruby
56148 [as646 FreeNe] Is there a Ruby 'development kit' similar to Activestate's Perl Dev Kit ?

^ install.rb/setup.rb question
56158 [ptkwt shell1] I want to install a script that will be run as an executable which isn't a
+ 56159 [jim freeze.o] What about using
| + 56163 [ptkwt shell1] Oh, good idea.  It seems to work on Linux.  Does it work on other *nix's
| | 56167 [jim freeze.o] Yes.
| | + 56170 [nobu.nokada ] OTOH, it may cause a security issue.
| | | 56203 [jim freeze.o] Yes. In that case you can use all the options to env and
| | + 56189 [cyclists nc.] Just as a data point, it does NOT work on my vanilla Mandrake 9.0
| |   56204 [jim freeze.o] I'll refrain from any comments about Mandrake.
| + 56338 [pbrannan atd] See [ruby-talk:27508] for a better way.
|   56340 [austin halos] Better only for Unix.
|   56345 [pbrannan atd] The script should still run on other platforms with "ruby -x".
+ 56160 [james jamesb] I copped the essentials from the RDoc install script to create the install
+ 56197 [nobu.nokada ] You mean setup package by Minero Aoki?  If so, that install.rb
  56284 [ptkwt shell1] Yes, that's the one.
  + 56287 [aamine lover] I'm sorry for too late replying...
  + 56294 [jim freeze.o] Thanks for the little dissertation on this.
    + 56295 [gsinclair so] It's just waiting for you to put it in, Jim!  If you have a good grasp of the
    + 56306 [ptkwt shell1] Dunno, but it's a good candidate for the FAQ if it isn't in there.
      56307 [gsinclair so] I dare say this information is worthy of a cohesive document, rather than a
      56366 [ruby-talk wh] I agreed so much with both of the below that I started up a page on Wiki
      + 56367 [brian coolna] I like the install.rb overview.  It's very concise and well-done.  And
      + 56369 [gsinclair so] Great work!  Suggestion: create a Wiki user page for yourself, which contains
      + 56373 [glenn gmlewi] Forgive the intrusion, as I'm new to this list, but would
      | 56384 [ptkwt shell1] Actually, since it's a wiki you can add that yourself by clicking the
      + 56383 [ptkwt shell1] Thanks very much why.  And you did all of this while recovering from
        56392 [ruby-talk wh] Done.  Though I don't plan on covering embedding the interpreter, I
        56394 [glenn gmlewi] Actually, I was thinking of something slightly different...

^ extremly NOW...:-))
56168 [smi007le gmx] i need extremly now a resource to download a german developer kit or sdk for
+ 56179 [james jamesb] oder
+ 56191 [batsman.geo ] Hey, if it were not for German people (and the babelfish), we wouldn't
  56201 [smi007le gmx] kann mir mal jemand den spruch da unten in fein deutsch uebersetzen?
  56240 [dietrich.muc] f deutschsprachige Informationen er Ruby gehe zu www.google.de,

^ Ask your ISP to install ruby
56172 [ptkwt shell1] I was thinking that I'd like to use Ruby to dynamically generte some HTML,
+ 56173 [bobx linuxma] My goodness! My ISP always says "HUH?"...
| 56174 [ted datacomm] Hmmm... aracnet is known in these here parts as a geek {enhanced|friendly) sort of ISP.  This is really nice.
+ 56180 [james jamesb] I asked my ISP to install it (plus mod_ruby), and they said I could compile Ruby
+ 56192 [m_libby ands] Sorry, but my ISP (www.rootr.net) not only already has Ruby installed, but
+ 56202 [austin halos] -austin

^ locking issues with CGI::Session
56175 [emschwar fc.] I'm not sure quite how I got myself into this situation, but I have

^ [FAQ] Indenting Ruby in Vim
56177 [gsinclair so] Q. How can I get Vim to indent Ruby code?

^ Allow *array expansion anywhere in list
56183 [dbrobins dav] Regarding the proposal mentioned in the subject (see also
56187 [matz ruby-la] This is a false assumption.  The reason is it's not encouraged.  If
56536 [angus quovad] Yes, but sometimes you don't design the method, and expansion is useful to
+ 56537 [matz ruby-la] I don't think so.  In my opinion, the latter is far easier to read and
+ 56538 [austin halos] vs.
+ 56539 [alan digikat] If you believe so, why not
+ 56542 [ptkwt shell1] Ummmm... I'd have to answer no.

^ [DBI] How to write BLOBs in a Postgres DB?
56219 [stefan.schol] Are there any (working) examples of writing a BLOB into a
56222 [decoux moulo] pigeon% cat b.rb
+ 56228 [stefan.schol] # ./b.rb
| + 56229 [decoux moulo] Well, apparently you have a problem with your installation. I use
| + 56230 [uu9r rz.uni-] Update to 0.0.18!
|   56234 [stefan.schol] This isn't mentioned in the Changelog.
+ 56231 [stefan.schol] # ./b.rb

^ Mysterious "no block given" error for an iterator
56226 [brian.takita] This is a multi-part message in MIME format.
56227 [decoux moulo] Well, you have a recursive method. For the first call the method has the
56235 [brian.takita] Thank you for your help Guy.

^ Thoughts on generators
56239 [martindemell] I've been looking through the generator threads in the archive, and
+ 56243 [hal9000 hype] [snip long interesting post]
| 56268 [martindemell] Mine too - I just had a quick look at python generators, and they seem
+ 56245 [nat.pryce b1] If the behaviour of SimpleGenerator.new(a) depends on the type of a --
| 56281 [martindemell] Right you are. Something like
+ 56270 [ahoward fsl.] i have been using this.  the iterator is compliments of Pit Capitain.

^ Re: begin/end doesn't behave as expected
56241 [Tim.Hunter s] I think a case statement will do what you want here..
56242 [decoux moulo] For the original message, which is not in [ruby-talk]
56292 [behrends cse] out << if page then

^ Writer and researcher requests your help.
56247 [practice law] This is a multi-part message in MIME format
+ 56248 [peter semant] 1) Beware of people who agree with you
| 56251 [hal9000 hype] 4) and spam not, that ye be not spammed.
| 56252 [peter semant] Damn I clicked on reply to sender and forgot the list was the sender.
| 56253 [hal9000 hype] Heh, that's OK... I assumed you meant to reply
+ 56257 [batsman.geo ] Dear Mr. Lawler,
+ 56260 [Tim.Hunter s] (b.s. snipped)
  56265 [brailsmt yah] I wonder if he gives workshops on the ethics of sending spam...

^ Need help dynamically creating classes.
56250 [pgregory aqs] I have a system at the moment where I create 'things' based on a base
56254 [decoux moulo] This is with ruby 1.7
+ 56255 [dblack candl] def render
| 56256 [decoux moulo] Yes, self :-)
+ 56298 [pgregory aqs] Brilliant, thanks, that is exactly what I needed.
| 56323 [decoux moulo] Well, I don't really know what you want to do, and I've tried to do what
+ 56332 [pgregory aqs] Next question: is it possible to specify arguments to the initialize
  56333 [decoux moulo] Well, you can write
  56334 [decoux moulo] This is stupid, there is a better way
  56349 [pgregory aqs] Spot on! Thanks, that is exactly the sort of thing I'm after.
  56354 [glenn gmlewi] Oh my word!  YES, I am interested!!!  I have always wanted

^ ruby 1.6.8pre + Tk = 100% CPU?
56261 [khindenburg ] I'm using the 1.6.8pre.  I notice that the ext/tk/sample/tkhello.rb uses
+ 56301 [kero chello.] I have the same on a RH 6.2 box, but don't experience it anymore on a RH
+ 56401 [nagai ai.kyu] The problem is due to new event loop procedure on tcltklib.c.
  56437 [khindenburg ] Thanks for the reply; I used 1.6.7 tcltklib.c/tk.rb with 1.7.3 and it
threads.html
top