17198-25638

16927-25521 subjects 17391-25625

^ enhancing Ruby error messages for out of the bound constant Fixnum?
17198 [gc mandrakes] When you try to use out-of-the-bound octal values with Perl, you get a
+ 17199 [hal9000 hype] \067/,"x")'
| + 17200 [dblack candl] _123456x90_
| + 17247 [gc mandrakes] 95% of the time, you'll shoot yourself in the foot without knowing that it
+ 17201 [dblack candl] Actually this isn't base-related.  The reason it doesn't parse is that
+ 17203 [matz ruby-la] It considers the pattern /\068/ as \06 (octal 6) and following "8".
| + 17204 [dblack candl] Actually I'm not sure there's any difference, except that Perl gives
| + 17248 [gc mandrakes] Definitely, when you write \067 and then \068, you don't expect that one
|   + 17249 [kero d4050.u] Like
|   + 17265 [dblack candl] I'm still not getting what the difference is, other than a warning
|     17328 [gc mandrakes] Yes, sorry, there is no difference, I just used the word "parse" following
|     17389 [matz ruby-la] Sorry.
+ 17312 [ecashin terr] It's a shame.  Ruby is right that eight is not an octal digit, so when
+ 25514 [ecashin terr] It's a shame.  Ruby is right that eight is not an octal digit, so when

^ /* */ comments
17206 [Dave Pragmat] Over on http://www.rubygarden.org, dv posted a patch to parse.y that
+ 17207 [spwhite char] Rebarbative. With "#", comment blocks are easy enough already.
| + 17210 [ms iastate.e] Sure. Though the question is always, what do we give up in order to make
| | 17217 [daniel longb] I never used =begin =end yet,  but someone pointed out that they have to
| | + 17218 [matz ruby-la] =begin and =end are rather for documentation.  I don't recommend to
| | | + 17221 [   xm w3d.ru] I vote for it (rather /*...*/ or /#...#/ - first is better imho)
| | | | 17225 [ameuret bloc] This is a block of comment lines
| | | | 17230 [seanacarley ] I also believe block comments would be a good addition to the language and
| | | | 17235 [mjl emsi.pri] Which brings us to some kind of preprocessor, doesn't it?
| | | | + 17237 [Dave Pragmat] Wouldn't it be nice if you could use the same syntax for this as you
| | | | | + 17238 [Dave Pragmat] Or even the wonderful
| | | | | + 17245 [hal9000 hype] Point taken, Dave...
| | | | |   + 17246 [Dave Pragmat] True, and I'm not necessarily against /* .. */ (as long as they nest
| | | | |   + 17257 [gnhurst hurs] This made me realize that we may not be able to (easily) have
| | | | |   | + 17258 [billk cts.co] Hmm, suppose this might happen much ?
| | | | |   | | + 17259 [glen enabled] What about something like this?
| | | | |   | | + 17365 [gnhurst hurs] I'm not sure there is an easy way around this.
| | | | |   | |   17372 [ugly-daemon ] Would this be a problem using %q{ ... }??
| | | | |   | + 17291 [seanacarley ] I don't think these situations should be too difficult to handle.
| | | | |   |   17298 [siigron sii.] Since everyone seem to think multiline comments
| | | | |   |   17304 [Dave Pragmat] Comments are probably more useful as lexical, not syntactic
| | | | |   |   17313 [mdemello ruf] That's neat - it'd also let you comment out blocks of code quickly and
| | | | |   |   17314 [ecashin terr] I don't mind looking like C, but creeping featurism is a problem to be
| | | | |   + 17315 [ecashin terr] Right on.  It doesn't jive with ruby's consistency as a dynamic, OO
| | | | |   + 25507 [ecashin terr] Right on.  It doesn't jive with ruby's consistency as a dynamic, OO
| | | | |     + 17316 [ecashin terr] .... but there's always m4 for folks who really feel the need for a
| | | | |     + 25509 [ecashin terr] I don't mind looking like C, but creeping featurism is a problem to be
| | | | |       25638 [hgs dmu.ac.u] #!/usr/local/bin/ruby -w -p
| | | | + 17256 [djkea2 mugca] I seriously hope not, yuck !
| | | + 17232 [dblack candl] # {
| | |   17252 [dlh mail.com] /#I_don't_need_this_now
| | |   + 17253 [jjenning ste] heyyyy.... that looks pretty cool!
| | |   + 17255 [hal9000 hype] I find this somewhat confusing... do you mean
| | + 17358 [daniel longb] I added nested comment support to that little bit that I did.
| |   17371 [ugly-daemon ] %q{ ... } nests.
| |   17373 [dblack candl] See [ruby-talk:17279] and [ruby-talk:17285] on %{}; also
| + 17211 [ruby jamesbr] Err, well, aethetics aside, having a simple way to block-comment
|   + 17220 [billk cts.co] Not with a decent editor  ;-p
|   + 17231 [spwhite char] You pretty much have to go through every line anyway to make sure there's
|     + 17233 [feldt ce.cha] If you want opionion here is one more: I'm mildly positive. Sure, it would
|     | + 17244 [hal9000 hype] 1. The idea of a block comment is somewhat
|     | + 17262 [ruby jamesbr] If there were to be a multiline comment syntax ,is
|     + 17274 [elderburn mi] #if 0    // this code sux :-) - wks(20010704)
|       17290 [seanacarley ] This is not a gotcha if we allow nested comments.
+ 17251 [sean-ruby-ta] <engineering hat>
| 17268 [matz ruby-la] Only if Guy Hurst's concern (which I have too) in [ruby-talk:17257]
| + 17269 [dblack candl] Whoops, maybe that means I'm too late to weigh in against /* */ :-)
| | + 17275 [hal9000 hype] Maybe, maybe not. I'm with you on this.
| | + 17322 [simon netthi] A few days ago, I posted about the language-dev mailing list which
| |   17375 [matz ruby-la] Thank you for the information.  It's good to have a forerunner.
| |   + 17407 [elderburn mi] Which IMO is more than sufficient. If you want to have an end-user manual,
| |   + 17428 [matt lickey.] I don't think it is worth introducing (the complexity of a) new syntax
| |     17438 [siigron sii.] I agree. Honestly, how often do you use inline comments in
| + 17276 [sean-ruby-ta] I've been thinking about this too.  I think what we need to do
+ 17261 [alwagner tca] I surely don't want to offend anyone, but this thread is like dozens of
| 17278 [neumann s-di] And hopefully Ruby users "Use one editor well" :-)
| + 17279 [neumann s-di] Has someone told, that we have already something like
| | + 17285 [dblack candl] The other problem is that then you have strings lying around out of
| | | 17302 [neumann s-di] Thanks, I forgot that issue.
| | + 17300 [ms iastate.e] Should note here that when you use %{...} some processing of the
| + 17335 [ser germane-] This prompts me to mention to those of you who aren't familiar with 'boxes',
+ 17336 [dblack candl] After reading and participating in the blitz of comment-ary on this, I
  17339 [gnhurst hurs] Yes, regarding pure non-nested multi-line comments.

^ ruby community
17208 [joe vpop.net] You might remember that thread on "ensure block not being called" that
17260 [ser germane-] I'd hate to confuse the issue, but thread-safedness affects more than just

^ Ruby 1.6.4 Win32 .exe installer question
17212 [feoh fourfuz] Folks;
+ 17213 [Dave Pragmat] Can you run 'irb' from a command prompt?
| 17214 [feoh fourfuz] It runs in cygwin _just fine_ that's a perfectly suitable work around for now.
+ 17369 [eli waite.ad] I have a similar problem with RubyWin 1.6.4 not being able to find my source
+ 25526 [eli waite.ad] I have a similar problem with RubyWin 1.6.4 not being able to find my source
  17370 [feoh fourfuz] I neglected to report it but found this same thing.
  17376 [Dave pragmat] Andy dropped me an e-mail from vacation (which took some doing, as I
  17457 [masaki.suket] Sorry, this seems to be the problem from RubyWin with Cygwin Ruby.

^ Ruby 1.6.4 Win32 .exe installer
17215 [aleksei.guze] Why cygwin?
17216 [feoh fourfuz] FWIW it runs fine under the "MS-DOS Prompt" too.
17219 [aleksei.guze] I use mswin in command prompt. I don't like RubyWin. And I don't
17319 [YuriLeikind ] Because what is packaged into this nice Ruby distribution

^ [:->] babelfish Japanese => English attempt
17222 [billk cts.co] Thought some others might find this a bit amusing (too.)  I'd downloaded and installed
+ 17223 [decoux moulo] You have a better translator, for URL, at
+ 17243 [hal9000 hype] ʤ shoes
+ 17263 [tsyk yk.rim.] You might know, but there are three kinds of character codes in Japan,
  17264 [s3225202 stu] Use UTF-8
  17266 [tsyk yk.rim.] Yes, That's right if the application would handle.

^ Getting variable name
17224 [bombadil wan] @foo -> 'foo'
+ 17226 [dsafari xtra] I'm going to go out on a limb here and assume you can't because that
| 17227 [aleksei.guze] # -----Original Message-----
+ 17229 [decoux moulo] Well, you can have the same of the symbol

^ Functional style in Ruby
17228 [hgs dmu.ac.u] In the light of people having discussed the use of

^ JAOO Dates confirmed
17234 [Dave Pragmat] If you're thinking of dropping in on the Ruby tutorial at JAOO

^ Re: "cvs commit" from within ruby
17236 [WYS helbling] Oops, it was not the cygwin1.dll neither.

^ Bug with $= and regexps?
17239 [tom linuxbri] Could someone explain this behaviour to me?
17270 [matz ruby-la] a bug (shortest explanation I ever see).
17272 [matz ruby-la] ..and here's the patch for it.

^ Ruby Mascot/logo
17240 [kpowick trid] Having viewed each of the proposed Ruby mascots, by far, the one I believe
+ 17242 [cmatheson3 y] Hey,
+ 17317 [kpowick on.a] I think that reflection could work against the language.  I really don't
  + 17341 [hal9000 hype] as
  | 17388 [matz ruby-la] Can you keep secret?  Don't tell this to Nintendo.
  | 17451 [hal9000 hype] Ha... funny, very funny. Truth is stranger than fiction.
  + 17357 [dnm pobox.co] Since I haven't cast my mascot vote yet, and since there's
    + 17363 [gnhurst hurs] May I ask how your company came to decide upon their 'mascot' ?
    + 17364 [ruby jamesbr] My concern is that the anime association may cast Ruby as a geek-niche
      + 17367 [siigron sii.] Oh dear, you are SO right! We wouldn't like to end up like some other
      | + 17368 [feoh fourfuz] In fact, a mascot that's particularly cool or interesting (not necessarily
      | | 17374 [gnhurst hurs] Ok, I can see it now: Walter the Ruby code-snippet, "clean-cut" ;-)
      | + 17453 [ruby jamesbr] Perhaps, but there is a thin line between whimsical and juvenile.
      + 17390 [simon netthi] Win over the geeks first, and the suits second. After all, the suits

^ Ruby/GTK
17241 [alwagner tca] Is there a separate list for Ruby/GTK?  If not, where would be the best place

^ extension and GC
17254 [maverick cs.] I am writing an extension X in C. It creates a new class which inherits from
17267 [matz ruby-la] I don't think I can answer properly withough looking your extension
17271 [maverick cs.] Wow! That works so well that I don't even need to call super in my
17273 [matz ruby-la] Ah, how do you going to hold dbm reference?  RHash structure has no
17277 [maverick cs.] If I understand what you mean by "dbm reference" correctly, then this is

^ Ruby/Gtk and Postgres extensions problem
17280 [bombadil wan] I am having problems with Ruby/Gtk and Ruby/Postgres combination. Errors

^ Inheritance
17281 [aleksei.guze] I need to define four classes ( do not ask why but I really need it
17282 [decoux moulo] Well, difficult to reply if you don't want to say why :-(
17283 [aleksei.guze] # -----Original Message-----
17284 [decoux moulo] I've said that it was not possible to reply, without knowing what you want
+ 17286 [aleksei.guze] What I want to do could be expressed in pseudo-C++.
| 17287 [decoux moulo] Why do you need this ?
| 17288 [aleksei.guze] I have hardware, wich in case of division be zero generates an
| 17289 [decoux moulo] Why not something like this
| 17292 [aleksei.guze] # module MyException
| 17293 [Dave Pragmat] It tests internally using rb_obj_is_kind_of, but doesn't dispatch to
| 17294 [aleksei.guze] # It tests internally using rb_obj_is_kind_of, but doesn't
| 17296 [Dave Pragmat] Could well be. I was just explaining why it was documented the way it
+ 17472 [matju sympat] Could you please tell us what causes the constant ZeroDivisionError to be
  17473 [hal9000 hype] It's my understanding that constants... aren't.
  17474 [hal9000 hype] % ruby -e'X=3; p X; X = 5; p X'

^ 
17295 [aleksei.guze] I found a solution.
17297 [decoux moulo] Why ???
17299 [aleksei.guze] #
17301 [decoux moulo] because you think in C++, perhaps
17303 [aleksei.guze] #

^ FL_EXIVAR
17305 [japetersen w] What means the FL_EXIVAR flag (defined in ruby.h)?

^ Block between DEFER_INTS and ALLOW_INTS
17306 [japetersen w] What is the meaning if a block of code is between DEFER_INTS and ALLOWINTS.
+ 17323 [decoux moulo] Just look at rubysig.h
+ 17355 [japetersen w] I haven't looked at the thread-stuff so far.

^ Re: Extension building
17307 [ecashin terr] Why not?  One reason is simplicity.  Simplicity and consistency is one

^ FXRuby Table and Cells
17308 [ rc duria.de] how do I get a FXTableItem from FXTable for a given row/column? I want to
17325 [barry_shultz] I asked the same question on foxgui-users not too long ago.

^ Re: ` (back tick) on Win32 machines
17309 [Stephan.Kaem] postings...

^ FXRuby How to delete a window?
17310 [doe nowhere.] How do I delete a window created at runtime so it's removed from ist parent

^ RubyUnit and names clashes
17311 [max malva.co] I have two independent utilities with corresponding unit tests.

^ GUI tool suggestions for GUI targetted at low res TV display?
17318 [steve-clruby] I am progressing with a "media box" project - and its time to start with

^ Embedding ruby and the artistic license
17320 [llothar mail] I want to embed ruby in a commercial application. Which will perhaps

^ Distribute Extensions how ?
17330 [sol123 msn.c] I have developed some extensions for win32 and want to distribute
+ 17334 [ljohnson res] This is a multi-part message in MIME format.
+ 17350 [neumann s-di] Do that at Rubys Application Archive (RAA) at http://www.ruby-lang.org/en/raa.html.

^ SIGUSR1/2 ?
17331 [onge mcs.anl] I'm embedding ruby into an application that already uses SIGUSR1 and
17332 [decoux moulo] Have you tried to re-install your sighandler after the call to
17337 [emilong midw] I didn't try that, but I think it may be difficult.  I'm using a library
17338 [Dave Pragmat] Could you trap the USR1 in some Ruby code, and then invoke your
17340 [onge mcs.anl] I guess the main problem is that I don't have access to the library's
17342 [wjl mindless] Initialize the library you're using.
17346 [onge mcs.anl] First, I'd like to say that this is a brilliant solution and I really like
+ 17347 [wjl mindless] ...)
| 17349 [onge mcs.anl] It looks like ruby is raising a signal exception when it gets a
+ 17362 [matz ruby-la] Well, it's required to handle signals within Ruby.  Hmm, maybe there's

^ UNIX Sockets
17343 [ng zabelt.ne] I never did Socket stuff in C before.
+ 17344 [jjenning ste] did you check after it finished to see if there was a pipe laying around? because you never closed the UNIXServer.
+ 17345 [Dave Pragmat] The file shouldn't exist when you call UNIXServer.open.
+ 17602 [ng zabelt.ne] Yes, and I'm wondering whether it is normal or not, that the file will
+ 25585 [ng zabelt.ne] Yes, and I'm wondering whether it is normal or not, that the file will

^ Adding a method to a class at the top-level
17348 [gc mandrakes] Comrades,
+ 17351 [Dave Pragmat] consistency.
| 17353 [gc mandrakes] All right :-), yet the conclusion of my message was, can we find a more
| 17354 [Dave Pragmat] Well, if 'define_method' wasn't private,
+ 17361 [matz ruby-la] * def Class#method .. end ??
| 17403 [gc mandrakes] Yes, I agree, # would be confusing.
| 17408 [matz ruby-la] Since "define_method" is just a cheap imitation of "def", due to
+ 17394 [hipster xs4a] class Aap
  17405 [gc mandrakes] Not every readable IMHO... and it is also longer (in characters) than the
  17406 [gnhurst hurs] hmm.

^ Re: RubyDoc.  was /* */ comments
17377 [Dave Pragmat] OK, this is where I make myself unpopular.
+ 17378 [feldt ce.cha] vacation this weekend so you'll have to wait a while more. Maybe someone
| 17465 [matju sympat] I think comments should not be part of the AST proper, but be available as
+ 17380 [jweirich one] Actually, I agree whole-heartedly.  I like this idea.
  + 17386 [Dave Pragmat] Agreed. In fact, in the current implementation any comment immediately
  + 17446 [jkaurin home] JavaDoc is not real restrictive in its formatting requirements,
  + 25548 [jkaurin home] JavaDoc is not real restrictive in its formatting requirements,

^ newbee: Java -> Ruby
17381 [uwe.matthaeu] class MyMerge implements MyInterface extends MyBase
17382 [WYS helbling] module MyInterface

^ wavlength design question
17383 [jjenning ste] "myWavFile.wav".wavlength
17387 [aleksei.guze] #
17468 [matju sympat] I think this is a good idea and that I'd like to participate somewhat to
threads.html
top