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] ...
6299 [transfire@gm] That's unfortuate, my modus operandi is literal and sincere (albiet no
6296 [cmills@fr es] What is T_BLKTAG used for? I see it in the Ruby sources, but the
6297 [matz@ru y- a] It's sentinel marker to denote non-object value type (T_NODE etc).
6315 [calamitates@] I've encountered a bit of a problem when I was trying out Ruby's numeric
+ 6321 [matju@ar en ] 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@no ch rl] 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@ar a3 ] 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@ru y] 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 cc ] module Foo
6489 [ocean@m2 cc ] But, maybe, is this enough for now?
6578 [ocean@m2 cc ] 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 ky ] Thank you for your modification. I've committed it.
[ ruby-Bugs-2669 ] Segfault in 1.8.3, rb_file_join, file.c
6326 [noreply@ru y] Bugs item #2669, was opened at 2005-10-18 18:41
[ ruby-Bugs-2672 ] IO.popen unreliable on win32
6330 [noreply@ru y] Bugs item #2672, was opened at 2005-10-19 11:35
Re: IO.popen unreliable on win32
6331 [usa@ga ba ec] 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@ga ba ec] Sorry for my poor English.
[ ruby-Bugs-2689 ] two typos in erb(1)
6337 [noreply@ru y] 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@mo lo] Well I don't have access to HP/UX but yes, the bundled C compiler can be
| 6340 [ocean@m2 cc ] 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@ru y] 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@ru y] Bugs item #2696, was opened at 2005-10-22 03:44
+ 6346 [decoux@mo lo] * if your version of bison is < 2 (bison --version) : remove parse.c and
+ 6347 [decoux@mo lo] Just for my curiosity : it's Ubuntu Breezy ?
6345 [ocean@m2 cc ] (2005/10/21 21:29)
[PATCH] Enumerator Docs
6348 [james@gr yp ] ...
6354 [matz@ru y- a] The patch will be applied to 1.8 branch. Thank you!
6357 [james@gr yp ] ...
soap is using its own deprecated method ?
6350 [transfire@gm] soap/wsdlDriver.rb: def create_driver(servicename = nil, portname = nil)
6352 [nakahiro@sa ] Thank you for your interest to soap4r.
6476 [nakahiro@sa ] 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@ru y] Bugs item #2705, was opened at 2005-10-23 23:07
6363 [matz@ru y- a] 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@la ] 1.
+ 6360 [jcarbaut@la ] sorry, it was ruby/ext/tk/lib/tk/menu.rb !
+ 6361 [matz@ru y- a] 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@ru y] 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@mo lo] 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] ...
+ 6387 [matz@ru y- a] 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@fr es] A C version could be created using the regular extension mechanisms.
6422 [matju@ar en ] 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@fr es] I don't see why not. But using GCD as an example the C version would
| 6444 [matju@ar en ] 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@ar en ] // a remainder function such that div2(a,b)*b+mod(a,b) = a and for
| | 6504 [cmills@fr es] -Charlie
| + 6509 [kero@ch ll .] From using Date, I found the same. for other applications, the snippet
+ 6445 [matju@ar en ] Well, do it, and tell how faster you can get it to be. I wonder how faster
6373 [daniel.amela] ...
6374 [nobu.nokada@] It is not thread-safe.
6375 [daniel.amela] ...
6379 [nobuyoshi.na] (class<<self;self end).send(:define_method, :__inst_eval_temp__, block)
+ 6380 [Ara.T.Howard] class Object
+ 6381 [daniel.amela] ...
Crash in Tk demo of Ruby 1.9.0 CVS
6376 [jcarbaut@la ] I tried the demos in /ruby/ext/tk/sample/demos-en/widget
6382 [ocean@m2 cc ] (2005/10/25 08:19)
6383 [nobuyoshi.na] The patch changes garbage_collect() to return now whether
6384 [ocean@m2 cc ] OK, I'll commit this.
6386 [nobuyoshi.na] Sorry, I suspect it might have to return Qtrue also when
6388 [ocean@m2 cc ] Sorry, I have fixed.
[ ruby-Bugs-2714 ] YAML dumps core (with pp)
6385 [noreply@ru y] 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@ru y] Bugs item #2715, was opened at 2005-10-24 23:01
6390 [matz@ru y- a] I'm not sure if it's OK to replace environ by _NSGetEnviron() since
+ 6392 [drbrain@se m] There must be some other issue because I built ruby 1.8.3 out-of-the-
| 6393 [matz@ru y- a] So, there must be something different between yours and Blair's.
+ 6394 [shyouhei@ic ] [5:42PM shyouhei]% grep ruby.c ../ruby-1.8-head/CVS/Entries
+ 6546 [blair@or aw ] 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
6391 [wink@sa il e] I would like to first apologize in advance for posting to the core as a
+ 6417 [daniel.amela] ...
+ 6423 [pit@ca it in] Yes. Please keep us informed.
+ 9506 [matz@ru y- a] _THREAD_SAFE means the platform has running pthread library. I am not
9508 [sur.max@gm i] ...
6396 [ysantoso-rub] Would you accept a patch to provide nested Exception?
6397 [lukfugl@gm i] def example
+ 6398 [jim@we ri hh] 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@mb ri ] I'm the guy that presented the Robotic Underwater Marine Laboratory at
6402 [james@gr yp ] ...
6403 [akr@m1 n. rg] 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@gr yp ] 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@se m] 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@dm .a .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@sa il e] ...
6421 [matz@ru y- a] The patch requires some name tweaking since it is revealing some
6443 [wink@sa il e] My opinion would be that we should leave 1.8 alone, but if you would
6449 [matz@ru y- a] Since YARV (thus Ruby2) is a slightly different language from Ruby 1.8,
6465 [wink@sa il e] 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@se m] 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@gr yp ] ...
+ 6431 [Daniel.Berge] Very nice James. Good work.
| 6433 [Daniel.Berge] Me again.
| + 6434 [james@gr yp ] ...
| + 6435 [drbrain@se m] Or just "wiki[:wiki_index] ||= "
| 6436 [james@gr yp ] I prefer the more explicit version, for empty arrays. Everybody has
| 6461 [dooby@d1 .k ] home_page = WikiPage.new( String.new("DazButcher"),
| 6463 [james@gr yp ] [1, 2, 3]
+ 6432 [vjoel@pa h. ] s/seens/scenes/
+ 6439 [matz@ru y- a] [ruby-core:06434] merged. Thank you.
6441 [james@gr yp ] I didn't know that. You should adjust the docs to indicate that.
Identifying instance methods in trace_func
6437 [ntalbott@gm ] 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] ...
+ 6448 [nobuyoshi.na] Where is it?
| + 6451 [ruby-core@ha] ...
| | 6453 [nobu.nokada@] Yes, no other attachments.
| + 6452 [ruby-core@ha] ...
| + 6454 [ruby-core@ha] ...
| + 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@no ch rl] 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] ...
6457 [decoux@mo lo] 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@ru y] Bugs item #2727, was opened at 2005-10-27 23:44
Wilderness: Beta of IDBG -- Installs debug code in sources
6468 [ruby-core@ha] ...
csv.rb a start on refactoring.
6469 [hgs@dm .a .u] ...
+ 6470 [Ara.T.Howard] ...
| + 6471 [james@gr yp ] 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@gr yp ] I'm just mentioning what I remember reading. Of course, it's quite
| | + 6484 [james@gr yp ] 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@gr yp ] \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@gr yp ] Only if \G is the first character in the expression. ;)
| | | 6492 [james@gr yp ] 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@gr yp ] No. I tried it on a single line (see other post).
| | + 6491 [james@gr yp ] Here's the hyper-optimized version with an example of how he uses it
| | 6493 [james@gr yp ] #!/usr/local/bin/ruby -w
| | 6496 [Ara.T.Howard] it __is__ promising!
| | + 6499 [james@gr yp ] 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@gr yp ] Never mind. You are also strip()ing the input before you hand it to
| | + 6502 [james@gr yp ] module CSV2
| | | 6505 [Ara.T.Howard] wow. nice work james! i'd hate to have to fix that expression - but it's
| | | 6506 [james@gr yp ] Thanks.
| | | 6515 [hgs@dm .a .u] ./ruby18/test/csv/test_csv.rb
| | + 6524 [james@gr yp ] I'm building a test suite for the new library, including all the edge
| | + 6525 [hgs@dm .a .u] Did you notice my post about this? Ruby-core:06515
| | | 6527 [james@gr yp ] Sure did. Thank you.
| | + 6526 [Ara.T.Howard] ah... my mistake. i meant to test
| | 6528 [james@gr yp ] Ah, I forgot to glance at the grammar. The above pretty much proves
| | 6529 [Ara.T.Howard] yup.
| | 6530 [james@gr yp ] You have a good point there. You've talked me into it.
| | 6531 [hgs@dm .a .u] If there are isolated \n chars then one could assume that \n is the
| | 6532 [james@gr yp ] Or we can just honor $/ and read normally. ;) I guess that's kind
| + 6472 [hgs@dm .a .u] Oh, sorry about that. I'll have to have a poke about in the config.
+ 6475 [nakahiro@sa ] Thanks.
+ 6477 [hgs@dm .a .u] Lots of times. :-) most of the changes seem to be near the "noise
+ 6478 [hgs@dm .a .u] OK, all tests pass now. I missed the ? off respond_to? on lines 274