6009-6637 subjects 6473-6830
^ Ruby 1.8.3, Gems, Rake and Syck
6284 [transfire gm] George Moschovitis tried to send me a gem to try out and it would not install.
+ 6285 [halostatue g] Yes. This problem has been noted as something originating with 1.8.3
| 6286 [transfire gm] Okay thanks Austin!
+ 6287 [mailinglists] He is a brave man, but this is not very clever if you want to share
+ 6292 [ryand-ruby z] Why is this being sent to core? Please refrain from being off topic
6293 [transfire gm] Ryan, where do you think it should go?
6294 [ryand-ruby z] Well gosh... it seems to be a rubygems issue... so I'd think an
6295 [transfire gm] Really? Did you read the previous posts?
6298 [ruby-core wh] The problem is my fault, I should have a method call for specifying if a
6299 [transfire gm] That's unfortuate, my modus operandi is literal and sincere (albiet no
6296 [cmills frees] What is T_BLKTAG used for? I see it in the Ruby sources, but the
6297 [matz ruby-la] It's sentinel marker to denote non-object value type (T_NODE etc).
^ Integer#** weirdness
6315 [calamitates ] I've encountered a bit of a problem when I was trying out Ruby's numeric
+ 6321 [matju arteng] What should happen after coercion? if i do 2**aMatrix, is it required that
| 6323 [calamitates ] I suppose it's only defined for square matrices. And indeed, through power
+ 6328 [discordantus] Note that the error is generated in rational.rb. Rational.rb does the
6329 [calamitates ] I was aware where the error was generated (even looked at the code), but I
6334 [joe notcharl] For now, you could reopen Rational in your class to add a wrapper to rpower.
6335 [discordantus] With the copious aliases (alii?) that are in that area, I didn't at
^ How to disable X(tensions)?
6320 [janus area31] in the latest release you dropped the possibility to tell ruby to build
^ [ ruby-Bugs-2666 ] CGI::initialize_query() doesn't handle a HTTP OPTIONS request properly
6322 [noreply ruby] Bugs item #2666, was opened at 2005-10-18 17:18
^ YAML RDoc problem (was Re: Kernel rdoc HTML file not being created when rdoc is run on 1.8.3)
6324 [ruby-core wh] This could be caused by the :nodoc: I have on Kernel in lib/yaml.rb. Is
6327 [gsinclair gm] The only way I could answer is to try some techniques on a small test
6488 [ocean m2.ccs] module Foo
6489 [ocean m2.ccs] But, maybe, is this enough for now?
6578 [ocean m2.ccs] I'll simply remove :nodoc: in yaml.rb. (The conversasion between ryan and _why seems not
^ [PATCH] improve some Ruby/Tk extconf.rb messages
6325 [george.marro] I've cleaned up some of the pthread related messages in Ruby/Tk's
6349 [nagai ai.kyu] Thank you for your modification. I've committed it.
^ [ ruby-Bugs-2669 ] Segfault in 1.8.3, rb_file_join, file.c
6326 [noreply ruby] Bugs item #2669, was opened at 2005-10-18 18:41
^ [ ruby-Bugs-2672 ] IO.popen unreliable on win32
6330 [noreply ruby] Bugs item #2672, was opened at 2005-10-19 11:35
^ Re: IO.popen unreliable on win32
6331 [usa garbagec] Ruby on win32 does not use MSVCRT's _popen() yet.
6332 [Daniel.Berge] "Note: The _popen function returns an invalid file handle, if used in a
6333 [nobu.nokada ] Usa intended to say "already it hasn't been used for a long
6336 [usa garbagec] Sorry for my poor English.
^ [ ruby-Bugs-2689 ] two typos in erb(1)
6337 [noreply ruby] Bugs item #2689, was opened at 2005-10-20 13:56
^ Help/Ruby 1.8.3/HP-UX/[BUG] Bus Error
6338 [tad.bochan b] Just had Ruby 1.8.3 installed on our HP-UX box, and it seems to be
+ 6339 [decoux moulo] Well I don't have access to HP/UX but yes, the bundled C compiler can be
| 6340 [ocean m2.ccs] Or, maybe using ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.3.tar.gz ?
+ 6342 [Ara.T.Howard] i haven't compiled on hp-ux for quite a while - but my experience on that
^ RñÇ. : Help/Ruby 1.8.3/HP-UX/[BUG] Bus Error
6341 [tad.bochan b] I don't understand at all what you mean about Bison (I'm a relative unix
^ [ ruby-Bugs-2695 ] WSDLDriver breaks when remote proc starts with cap
6343 [noreply ruby] Bugs item #2695, was opened at 2005-10-21 19:27
^ [ ruby-Bugs-2696 ] strange crash with require on 1.8.3 x86_64 linux
6344 [noreply ruby] Bugs item #2696, was opened at 2005-10-22 03:44
+ 6346 [decoux moulo] * if your version of bison is < 2 (bison --version) : remove parse.c and
+ 6347 [decoux moulo] Just for my curiosity : it's Ubuntu Breezy ?
^ Re: RñÇ._:_Help/Ruby_1.8.3/HP-UX/[BUG]_Bus_Error
6345 [ocean m2.ccs] (2005/10/21 21:29)
^ [PATCH] Enumerator Docs
6348 [james graypr] charset=US-ASCII;
6354 [matz ruby-la] The patch will be applied to 1.8 branch. Thank you!
6357 [james graypr] charset=US-ASCII;
^ soap is using its own deprecated method ?
6350 [transfire gm] soap/wsdlDriver.rb: def create_driver(servicename = nil, portname = nil)
6352 [nakahiro sar] Thank you for your interest to soap4r.
6476 [nakahiro sar] Please call WSDLDriverFactory#create_rpc_driver instead of
6481 [transfire gm] I did exactly that and it's working fine. Thanks.
^ ri doc for Fixnum >> not right shift ?
6351 [transfire gm] fix >> count => integer
^ Re: [ ruby-Bugs-2702 ] IO#sysread incorrectly raises EOFError if underlying call to read(2) returns 0
6356 [Ara.T.Howard] ERRORS
^ [ ruby-Bugs-2705 ] Handle prompts with newlines in irb auto-indentation mode
6358 [noreply ruby] Bugs item #2705, was opened at 2005-10-23 23:07
6363 [matz ruby-la] Where can I find the "attached patch"?
6372 [mailing-list] Forgot to check the file upload thingy. It¡Çs on the tracker now. Sorry
6378 [nobuyoshi.na] - ind = prompt(@context.prompt_i, ltype, indent, line_no).size +
^ Two bugs in 1.9.0 CVS (Was: Re: How do I do a bug report ?)
6359 [jcarbaut lap] 1.
+ 6360 [jcarbaut lap] sorry, it was ruby/ext/tk/lib/tk/menu.rb !
+ 6361 [matz ruby-la] Thank you for the report. These bugs will be fixed soon.
^ [ ruby-Bugs-2708 ] CGI read_multipart implementaion can create Tempfiles for files less than 10KB
6362 [noreply ruby] Bugs item #2708, was opened at 2005-10-24 15:44
6367 [Ara.T.Howard] is my mailer or the noaa spam filters eating something - or is there no
6368 [decoux moulo] no attachment : it's only on rubyforge.org
6369 [Ara.T.Howard] i realized after - thanks guy.
^ [PATCH] lib/rational.rb documentation
6364 [gsinclair gm] Please inspect and commit the following patch.
+ 6370 [gsinclair gm] D'oh!!! I forgot .document, just like James did a few days ago.
| 6371 [nobu.nokada ] Also, the patch is broken due to (presumably) your MUA.
| 6377 [gsinclair gm] Thanks for spotting it. The patch is attached this time. Both files
+ 6387 [matz ruby-la] Merged. Thank you.
^ Time for built-in Rational and Complex classes?
6365 [gsinclair gm] There has been some support for, but no comment on, RCR #260 ("Make
6366 [Ara.T.Howard] rational and complex support certainly would gain scientific users.
6416 [cmills frees] A C version could be created using the regular extension mechanisms.
6422 [matju arteng] I think that just recoding the GCD in C would make a big difference that
6424 [gsinclair gm] Wouldn't it be a matter of doing a direct port from the current Ruby
+ 6429 [cmills frees] I don't see why not. But using GCD as an example the C version would
| 6444 [matju arteng] The case of gcd and Rational is different from the case of Complex in that
| 6450 [gsinclair gm] I've no idea of the details, but a major performance boost for
| + 6503 [matju arteng] // a remainder function such that div2(a,b)*b+mod(a,b) = a and for
| | 6504 [cmills frees] -Charlie
| + 6509 [kero chello.] From using Date, I found the same. for other applications, the snippet
+ 6445 [matju arteng] Well, do it, and tell how faster you can get it to be. I wonder how faster
^ instance_eval/instance_exec discussion
6373 [daniel.amela] At RubyConf, matz talked about introducing a new method 'instance_exec'. I
6374 [nobu.nokada ] It is not thread-safe.
6375 [daniel.amela] Maybe, care to explain why?
6379 [nobuyoshi.na] (class<<self;self end).send(:define_method, :__inst_eval_temp__, block)
+ 6380 [Ara.T.Howard] class Object
+ 6381 [daniel.amela] Agreed. I guess my definition of 'thread safe' is different than yours.
^ Crash in Tk demo of Ruby 1.9.0 CVS
6376 [jcarbaut lap] I tried the demos in /ruby/ext/tk/sample/demos-en/widget
6382 [ocean m2.ccs] (2005/10/25 08:19)
6383 [nobuyoshi.na] The patch changes garbage_collect() to return now whether
6384 [ocean m2.ccs] OK, I'll commit this.
6386 [nobuyoshi.na] Sorry, I suspect it might have to return Qtrue also when
6388 [ocean m2.ccs] Sorry, I have fixed.
^ [ ruby-Bugs-2714 ] YAML dumps core (with pp)
6385 [noreply ruby] Bugs item #2714, was opened at 2005-10-25 04:48
^ [ ruby-Bugs-2715 ] [PATCH] 1.8.3 ruby.c doesn't compile on OS X due to missing char **environ
6389 [noreply ruby] Bugs item #2715, was opened at 2005-10-24 23:01
6390 [matz ruby-la] I'm not sure if it's OK to replace environ by _NSGetEnviron() since
+ 6392 [drbrain segm] There must be some other issue because I built ruby 1.8.3 out-of-the-
| 6393 [matz ruby-la] So, there must be something different between yours and Blair's.
+ 6394 [shyouhei ice] [5:42PM shyouhei]% grep ruby.c ../ruby-1.8-head/CVS/Entries
+ 6546 [blair orcawa] This is a follow up note to all the replies to my original bug report.
6547 [nobuyoshi.na] "UNIX style environment variable memory map" means that elements of
^ Threading performance
6391 [wink saville] I would like to first apologize in advance for posting to the core as a
+ 6417 [daniel.amela] Yes, I would be interested in _using_ such a system :) Contributing at the
+ 6423 [pit capitain] Yes. Please keep us informed.
+ 9506 [matz ruby-la] _THREAD_SAFE means the platform has running pthread library. I am not
9508 [sur.max gmai] We can dynamically include a module in a class as...
^ Nested Exception
6396 [ysantoso-rub] Would you accept a patch to provide nested Exception?
6397 [lukfugl gmai] def example
+ 6398 [jim weirichh] Generally you want nested exceptions to when locally handling a low level
+ 6401 [ysantoso-rub] At this point, you lost the original 'Random error' exception. The
^ Re: Digest Articles 6370-6395 (3/3) (ruby-core ML)
6400 [brent mbari.] I'm the guy that presented the Robotic Underwater Marine Laboratory at
^ [PATCH] Pathname.exists?()
6402 [james graypr] charset=US-ASCII;
6403 [akr m17n.org] Ruby prefer exist? over exists?.
+ 6404 [transfire gm] Speaking of which, pathname is VERY slow. I had to stop using it in
| 6405 [Daniel.Berge] Do you have an example you can share where its performance was poor?
| 6406 [transfire gm] require 'benchmark'
| 6408 [gsinclair gm] Would a good solution be to implement Pathname in C?
| 6409 [transfire gm] That certainlu couldn't hurt, though in looking at the code and in
+ 6407 [james graypr] Oops. I guess it's me who has the wrong behavior. Thanks for the
^ Pathname#join is slow (Was: Re: [PATCH] Pathname.exists?())
6410 [drbrain segm] No, it would hurt, writing it in C would make it more difficult to
+ 6411 [Daniel.Berge] I was never under the impression that it was meant to be fast. Just useful.
+ 6413 [Ara.T.Howard] amen. heavy string manpulation and c do not belong in the same sentence.
+ 6414 [transfire gm] I think that's the problem though.
+ 6415 [gsinclair gm] The implementation I had in mind would use the Ruby String methods
6418 [transfire gm] Well someone might want to give that a go. I tightened Pathname up
6425 [gsinclair gm] That's a shame. It's worth investigating exactly what causes the
6426 [hgs dmu.ac.u] Yes, it is a nice interface.
^ Wilderness: Can the ENTIRE Ruby-Core Archive Be Download?
6412 [ruby-core ha] Considering how much I learn from the various discussions
^ [Patch] Refactoring eval.c into eval.c, thread.c, thread.h & eval.h
6419 [wink saville] This refactors eval.c into eval.c, thread.c, thread.h & eval.h. I want
6421 [matz ruby-la] The patch requires some name tweaking since it is revealing some
6443 [wink saville] My opinion would be that we should leave 1.8 alone, but if you would
6449 [matz ruby-la] Since YARV (thus Ruby2) is a slightly different language from Ruby 1.8,
6465 [wink saville] Yes I'll work on improving the current threading and hopefully Ruby in
^ Wilderness: I am working of a TAGS Extension - We Have One?
6420 [ruby-core ha] I am working on a debugging tool for C/C++ Programs using Ruby.
6427 [Daniel.Berge] Would any of Ryan Davis' "Zen" tools be of any help?
6428 [drbrain segm] I think he wants something like irb and RDoc's parsing tools.
6440 [ruby-core ha] I have already modified a public domain copy of CTAGS ('C' Version)
^ [PATCH] PStore Documentation
6430 [james graypr] charset=US-ASCII;
+ 6431 [Daniel.Berge] Very nice James. Good work.
| 6433 [Daniel.Berge] Me again.
| + 6434 [james graypr] charset=US-ASCII;
| + 6435 [drbrain segm] Or just "wiki[:wiki_index] ||= "
| 6436 [james graypr] I prefer the more explicit version, for empty arrays. Everybody has
| 6461 [dooby d10.ka] home_page = WikiPage.new( String.new("DazButcher"),
| 6463 [james graypr] [1, 2, 3]
+ 6432 [vjoel path.b] s/seens/scenes/
+ 6439 [matz ruby-la] [ruby-core:06434] merged. Thank you.
6441 [james graypr] I didn't know that. You should adjust the docs to indicate that.
^ Identifying instance methods in trace_func
6437 [ntalbott gma] I've found something weird...
6438 [nobu.nokada ] t = eval("self",binding).kind_of?(klass) ? '#' : '.'
^ Wilderness: I Have formatted README.EXT into an HTML Document
6442 [ruby-core ha] I have taken README.EXT (English Version Only) and have reformatted
+ 6448 [nobuyoshi.na] Where is it?
| + 6451 [ruby-core ha] As an attachment! -- Apparently only 'rext.css' actually got sent?? :-(
| | 6453 [nobu.nokada ] Yes, no other attachments.
| + 6452 [ruby-core ha] NOW this is wierd -- 'Ruby_Extensoion_Manual.html' is there when I send
| + 6454 [ruby-core ha] Do you have to send the message with HTML Enabled for a Html Attachment
| + 6456 [halostatue g] It might be easier to put them in a public webspace. If you don't have
| + 6462 [nobu.nokada ] I don't think so.
+ 6459 [halostatue g] -austin
+ 6460 [mailing-list] How did you do the conversion? I¡Çm attaching a slight rewrite of the
6464 [ruby-core ha] I will try to incorporate any changes -- Howerver it appears that it
6466 [mailing-list] Sure. This is something that¡Çs been laying in my ~/doc dir for a while.
^ OT: What does Wilderness mean?
6446 [joe notcharl] Whatever"?
6447 [ruby-core ha] It a "Tag" Line -- The first time I asked a question. It started "I am
^ Wilderness: OK - Let us Try to sending it (not as a reply)
6455 [ruby-core ha] I am sorry - I don't understand this problem
6457 [decoux moulo] Not sure, but what is the size of the file that you are trying to send ?
^ Re: Wilderness: Yes- Message is long (983 lines) -- Problem??
6458 [ruby-core ha] Yes - That may be the problem -- The file is '983' Lines Long -- Is
^ [ ruby-Bugs-2727 ] XMLRPC::ParseContentType#parse_content_type raises non-XMLRPC exception
6467 [noreply ruby] Bugs item #2727, was opened at 2005-10-27 23:44
^ Wilderness: Beta of IDBG -- Installs debug code in sources
6468 [ruby-core ha] As I am just starting to explore Ruby Core -- I found a need to Follow
^ csv.rb a start on refactoring.
6469 [hgs dmu.ac.u] This message is in MIME format. The first part should be readable text,
+ 6470 [Ara.T.Howard] This message is in MIME format. The first part should be readable text,
| + 6471 [james graypr] I wondering if we're going about this all wrong. Mastering Regular
| | 6474 [Ara.T.Howard] i haven't looked at it - but isn't that impossible, by definition, since
| | + 6479 [james graypr] I'm just mentioning what I remember reading. Of course, it's quite
| | + 6484 [james graypr] This is a pretty good size section of the book that goes into much
| | 6485 [Ara.T.Howard] i dunno. but isn't perl's m//g exactly equivalent to ruby's s.scan(%r//) ?
| | 6486 [james graypr] \G is a boundary assertion that matches only where the last match
| | 6487 [Ara.T.Howard] yeah i know.. but this seems completely equivalent, though it might perhaps
| | + 6490 [james graypr] Only if \G is the first character in the expression. ;)
| | | 6492 [james graypr] Uh, that didn't make any sense. \G must be the first thing matched
| | | 6494 [Ara.T.Howard] you are right of course. the strscan library has the behaviour i was thinking
| | | 6495 [james graypr] No. I tried it on a single line (see other post).
| | + 6491 [james graypr] Here's the hyper-optimized version with an example of how he uses it
| | 6493 [james graypr] #!/usr/local/bin/ruby -w
| | 6496 [Ara.T.Howard] it __is__ promising!
| | + 6499 [james graypr] Which one of those is more correct must be debatable. I didn't see a
| | | + 6500 [Ara.T.Howard] i think you need both - otherwise
| | | + 6501 [james graypr] Never mind. You are also strip()ing the input before you hand it to
| | + 6502 [james graypr] module CSV2
| | | 6505 [Ara.T.Howard] wow. nice work james! i'd hate to have to fix that expression - but it's
| | | 6506 [james graypr] Thanks.
| | | 6515 [hgs dmu.ac.u] ./ruby18/test/csv/test_csv.rb
| | + 6524 [james graypr] I'm building a test suite for the new library, including all the edge
| | + 6525 [hgs dmu.ac.u] Did you notice my post about this? Ruby-core:06515
| | | 6527 [james graypr] Sure did. Thank you.
| | + 6526 [Ara.T.Howard] ah... my mistake. i meant to test
| | 6528 [james graypr] Ah, I forgot to glance at the grammar. The above pretty much proves
| | 6529 [Ara.T.Howard] yup.
| | 6530 [james graypr] You have a good point there. You've talked me into it.
| | 6531 [hgs dmu.ac.u] If there are isolated \n chars then one could assume that \n is the
| | 6532 [james graypr] Or we can just honor $/ and read normally. ;) I guess that's kind
| + 6472 [hgs dmu.ac.u] Oh, sorry about that. I'll have to have a poke about in the config.
+ 6475 [nakahiro sar] Thanks.
+ 6477 [hgs dmu.ac.u] Lots of times. :-) most of the changes seem to be near the "noise
+ 6478 [hgs dmu.ac.u] OK, all tests pass now. I missed the ? off respond_to? on lines 274