12294-12791

12087-13354 subjects 12618-13282

^ String.force_encoding
12294 [david davidf] Nobu has just checked in a String.force_encoding method, which alters
+ 12295 [matz ruby-la] The original #encode was supposed to do
| 12297 [david davidf] I'm glad to hear that you still expect encode to be the common method.
| 12299 [celtic sairy] If I may chime in here, some encoding names include non-symbol symbols,
+ 12298 [duerst it.ao] Sorry for doing half of the work in Japanese.
  12303 [gwtmp01 mac.] In my quick look at the source it seems that
  12304 [duerst it.ao] As said already, there will most probably be a shorter method name

^ Will 1.8.6 remain compiled with VC6?
12305 [luislavena g] Since last year (in July if memory works) there was a discussion about
+ 12306 [halostatue g] This isn't really a core Ruby question. This should be asked on
| + 12307 [luislavena g] Austin, One-Click-Installer rely on official builds made by Ruby-Core
| | 12309 [halostatue g] I don't actually agree here. Curt goes with the VC 6 build because it's
| | 12311 [luislavena g] That was my point.
| | 12359 [ml.chibbs gm] I know this not the right place to post this, but I'll start here
| | + 12362 [celtic sairy] I sent you some mail off-list regarding this. I realise you'll probably
| | + 12363 [luislavena g] I mailed you a few months back regarding OCI... guess it get trapped
| |   12365 [ml.chibbs gm] Maybe.  :-(
| + 12308 [znmeb cesmai] Yes, let's take this to Ruby-Talk so we can all participate. Most of the
| | + 12310 [luislavena g] Maybe you're right, cross-posting this could get more answers from
| | + 12315 [cfis savagex] This is a cryptographically signed message in MIME format.
| |   12316 [luislavena g] I was working on documenting the whole MinGW/MSYS experience, so far,
| |   12317 [cfis savagex] This is a cryptographically signed message in MIME format.
| |   12319 [nobu ruby-la] Of course it does work.  If you were correct, how could I debug
| |   12320 [cfis savagex] This is a cryptographically signed message in MIME format.
| |   12322 [nobu ruby-la] Though I haven't debugged ruby-prof, I've used many other
| + 12318 [cfis savagex] This is a cryptographically signed message in MIME format.
|   12380 [hramrach cen] What's the problem here? The whole point here is that you do want to
|   + 12387 [halostatue g] The CRT 8 files (VS2005) are SxS assemblies, intended to be installed
|   | 12405 [hramrach cen] If the above is supposed to mean that vc8 runtime libraries cannot be
|   | + 12407 [luislavena g] We could go with the MinGW path, which is compatible with msvcrt (and
|   | + 12408 [cfis savagex] This is a cryptographically signed message in MIME format.
|   + 12392 [luislavena g] I see there is no problem using the C/C++ Runtime 2005 redistributable
|   + 12413 [ml.chibbs gm] The problem is that you can't safely mix a Ruby built with
|     12415 [cfis savagex] This is a cryptographically signed message in MIME format.
|     12640 [duerst it.ao] I tried that once, but it was dead slow (about three seconds
|     12660 [znmeb cesmai] Well ... I run it on a 1.3 GHz Athlon T-bird, so it must be something in
+ 12321 [jack jncsoft] If there is a move to a later VC, let me suggest using VC9. I just

^ Need Japanese Help - VRuby & new One-Click Ruby Installer with patch 110
12312 [curt.hibbs g] I'm trying to build a new release of the One-Click Ruby Installer for
12313 [usa garbagec] I check the problem, and contact nyasu-san (author of VRuby/SWin)
12314 [usa garbagec] Hmm, how did you get the binary of ruby, Curt?
12366 [ml.chibbs gm] That must be the problem, because I am using ruby-mswin32.
12367 [usa garbagec] I'm planning to release it.

^ Dir.chdir patch for MS Windows
12328 [Daniel.Berge] Dir.chdir without any arguments will usually raise an error on MS
+ 12340 [luislavena g] Daniel, that will fail on a Corporative environment.
| 12341 [Daniel.Berge] I'm in a corporate environment. Works here.
| 12343 [luislavena g] \Users\Developer
+ 12347 [nobu ruby-la] In 1.9, when ENV['HOME'] isn't set, it will be set using
  12348 [djberg96 gma] Ok. Can we patch that into 1.8.x?

^ gc.c refactoring
12338 [hgs dmu.ac.u] This message is in MIME format.  The first part should be readable text,

^ patch to implement Array.permutation
12344 [david davidf] This is a multi-part message in MIME format.
12345 [matz ruby-la] Thank you.  I tried to implement it, but screwed up.  Please don't

^ a patch for Array.permutation and a generalization of Array.product
12346 [david davidf] This is a multi-part message in MIME format.

^ ruby19 omits program name for missing files
12351 [drbrain segm] $ ruby19 -v

^ system and Errno::ENOENT in 1.9
12352 [drbrain segm] $ ruby -ve 'system "no_such_file"'
12661 [nobu ruby-la] Yes.

^ [Patch] Bug 6400: Time#+ and Time#- not honoring subclass
12371 [ron.leisti g] "Some of the core Time class constructors do not return objects in the

^ Release compatibility/train
12372 [Prashant.Sri] This is a multi-part message in MIME format.
12373 [matz ruby-la] Yes.
12374 [david davidf] Also, if I understand it correctly, Ruby 1.9 will remain an odd version
12376 [Prashant.Sri] Matz and David,
12377 [matz ruby-la] Yes, the versioning scheme has been changed since 1.9, to utilize the
12382 [charles.nutt] Is 1.9.1 now going to be considered a stable release?
12385 [matz ruby-la] We sincerely hope so, although being not sure how big that hope is.
12388 [charles.nutt] So would the recommendation be that people running production
12389 [matz ruby-la] Honestly speaking, 1.9.1 at the end of this year would not be
+ 12391 [ed.odanow wo] If "not be production ready" means, there can be several bugs in it, this is
| 12423 [matz ruby-la] This is the case.
+ 12393 [hgs dmu.ac.u] It sounds like the more people who test it the better.  Is there a
| 12396 [ed.odanow wo] I use usually snapshots from "http://dl.ambiweb.de/mirrors/ftp.ruby-lang.org/",
| 12403 [hgs dmu.ac.u] This message is in MIME format.  The first part should be readable text,
+ 12406 [dblack rubyp] Am I right that 1.9 is mostly a development version toward 2.0?
  + 12410 [rick.denatal] If I understand what Matz said earlier on this thread, not really.
  | + 12416 [charles.nutt] Hmm, that's not what I got. I was still under the impression that 1.9.1
  | | + 12417 [james graypr] I'll be pretty surprised if people don't start porting after a time
  | | + 12419 [rick.denatal] My impression came from Matz's response to you
  | | + 12427 [matz ruby-la] Even though the primary focus of the 1.9.1 release is expose the new
  | |   12608 [ser germane-] charset="iso-8859-1"
  | |   12609 [matz ruby-la] It doesn't, as long as it keeps compatibility to pre-feature-freeze.
  | |   12610 [matz ruby-la] I am vaguely thinking that feature freeze would happen around the end
  | |   12611 [hgs dmu.ac.u] Is my revised http compression patch under consideration?  It's gone
  | + 12426 [matz ruby-la] Right, except that since 1.9 has some incompatibility from 1.8, there
  + 12425 [matz ruby-la] As 1.8 was a development version toward 1.9 ;-)
    12430 [greg cyberfu] You're kidding right?
    12431 [matz ruby-la] No kidding.  I consider myself as a good designer, not a great

^ some typos in doc/comments in repos/ruby/trunk
12375 [eugoss gmail] charset=US-ASCII;
12390 [matz ruby-la] Thank you.  I just did.

^ Re: [SUMMARY] gc.c -- possible logic error?
12378 [sylvain.joye] The problem: Tom Copeland had a memory allocation problem (memory was not

^ discrepancy between String#oct and String#hex
12379 [ryand-ruby z] There appears to be a "feature" in ruby (1.8) in String#oct. Namely,
12381 [matz ruby-la] It's one of the things we have inherited from Perl, oct does interpret

^ Include Rake in Ruby 1.9
12383 [nakahiro sar] RubyGems is about to be merged.  Excellent.  And the next critical
+ 12395 [lukfugl gmai] Will Rake be "fully" bundled (core), or "pre-installed-gem" bundled
| + 12397 [drbrain segm] What difference does this make?
| | + 12398 [blowmage gma] I see the difference as being able to update the library outside of Ruby
| | | 12402 [drbrain segm] Then it doesn't matter which method is chosen, unless you are using
| | + 12399 [lukfugl gmai] I'm mostly thinking of the discussion in the thread regarding
| |   12400 [luislavena g] +1 for Jacob and Mike comments. Having rake as gem gives us the
| + 12409 [vjoel path.b] Does "core" still mean that the lib is built into the interpreter and
|   + 12420 [tmorgan99 gm] If rake is to be included,  perhaps we could replace the Makefile system
|   + 12422 [drbrain segm] I think there's a mixture of terms here.  I took "core" to mean in
+ 12576 [nakahiro sar] Thank you very much for your swift response.  Sorry for long silence.
+ 12582 [charles.nutt] FWIW, on JRuby we install the Rake gem as part of our build/dist
+ 12696 [nakahiro sar] Sorry to keep you waiting.
  12723 [halostatue g] That's a problem, since most people don't work with Rake as a library,
  + 12728 [drbrain segm] This is a feature of gems.
  | 12739 [halostatue g] Only works for a rake stub that uses RubyGems.
  + 12773 [nakahiro sar] When an user newly installs rake with gem command, 'rake' command will
    12778 [halostatue g] RubyGems doesn't do system-specific handling that way. It will try to
    12785 [drbrain segm] RubyGems does not make this check.  It will clobber an existing bin/
    12791 [halostatue g] Ok. That solves the worry that I had, but introduces another worry for

^ tIDENTIFIER and is_local_id()
12401 [Thomas.Enebo] There are a few places where the parser (in trunk and 1.8.x) checks to

^ ruby-1.9 build Sun-sparc-solaris2.9
12404 [hgs dmu.ac.u] Things went very smoothly.  I did
12421 [steven lumos] I think this is just some dumb fallback feature of pkg-config.  E.g.

^ rdoc patch
12411 [david davidf] This is a multi-part message in MIME format.
+ 12428 [drbrain segm] Thanks.  Can you file a bug in the RDoc project?  It may get lost
+ 12429 [lukfugl gmai] Do we really want to be catching and suppressing all Exceptions there?
  12432 [drbrain segm] Probably, since RDoc is light in the tests department, I'd have to

^ REXML + RSS
12412 [ser germane-] Hey,
12565 [kou cozmixng] In <200710041028.18294.ser@germane-software.com>
+ 12607 [ser germane-] charset="iso-8859-1"
+ 12633 [kou cozmixng] In <200710120845.31082.ser@ser1.net>

^ Performance Issues with nil, true, false as Hash Keys (1.8.6)
12414 [matthias wae] This is a followup of [ruby-talk:272146].
12424 [nobu ruby-la] Perhaps, `if (IMMEDIATE_P(a))' equals it and would be faster a bit.

^ Patch for configure.in
12418 [rbrown gento] It changes the default RUBY_LIB_PREFIX from being $prefix/lib/ruby to

^ Re: Compile error for HEAD
12529 [naruse airem] First I tried
12530 [naruse airem] Oops, i used old libruby.so.

^ Re: arbitrary Unicode characters in identifiers?
12531 [ed.odanow wo] Even if not recommended, it is sometimes helpful (O.K. - it makes fun too ;-) )
12532 [ed.odanow wo] Sorry - question went to wrong thread :-(

^ Quick Enumerable#sort_by internals question
12533 [Daniel.Berge] In enum.c there's this bit of code in the sort_by_i function.
12534 [dooby d10.ka] $res = $k = nil # reduce warnings (daz)

^ Re: Why does def return nil?
12537 [zimbatm oree] Classes don't return nil but the last used object. Try : class X;
12540 [zimbatm oree] Another argument against using Symbols is that you will grow the
+ 12543 [halostatue g] No, because the Symbol is instantiated by def foo anyway.
+ 12544 [Daniel.Berge] I suppose it might also mean refactoring undef_method and remove_method.
+ 12559 [ryand-ruby z] You're doing that simply by defining the method in the first place.
  12597 [zimbatm oree] Hm, thanks for the insight (and Austin Ziegler too).
  12615 [brent mbari.] Ryan,

^ Ordered Hashes in 1.9?
12539 [mneumann nte] It really seems that 1.9 got ordered hashes by default. Can anyone
12542 [matz ruby-la] Yes, it preserves order of keys inserted.
+ 12546 [mental rydia] What data structure is used to track the insertion order?  It seems like
| 12548 [lopx gazeta.] It's linked hash, every hash entry has *fore and *back fields.
+ 12549 [david davidf] Is this an implementation detail, or is it part of the specification?
| + 12551 [vjoel path.b] A related question: what does the following output?
| | 12553 [matz ruby-la] Hash order does not affect equivalence.
| | 12554 [eric sempere] still in austin   busy  work
| | 12555 [eric sempere] oops  wrong email  please ignore
| + 12552 [matz ruby-la] That's the point we have to discuss with other implementers before
| + 12557 [murphy rubyc] If it becomes specification, we might want to add Array-style handling
|   12560 [eric.mahurin] I would guess that the implementation of the ordering is a linked
|   12561 [david.stokar] To clarify, the ordering is not on the key, but on the order of insertion.
+ 12556 [murphy rubyc] Very nice!
  + 12558 [matz ruby-la] Your observation is right.
  + 12563 [now bitwi.se] I'd rather have leaner classes than a #methods method that returned
    12567 [murphy rubyc] Well, Hashes and all symbol tables use st_table, which is highly

^ Bug in win32ole
12547 [cwaters netw] I found a bug in win32ole when it is used to extract information from an

^ [PATCH] to let Ruby 1.9 to process signals while blocked in ext/readline
12550 [brent mbari.] This is a multi-part message in MIME format.
12562 [david.stokar] This also affects rails webrick... Start webrick with a wrong db setting and

^ Re: net/http.rb, patch, possible bug, test problem
12564 [hgs dmu.ac.u] That's the way I found out how to do it -- i.e. it seems a popular

^ Revised net/http patch
12566 [hgs dmu.ac.u] This message is in MIME format.  The first part should be readable text,

^ $" and require
12568 [tmorgan99 gm] I have a question about the footnote comment in the Pickaxe book, regarding
+ 12569 [drbrain segm] $ ruby19 -vrfileutils -e 'p $"'
+ 12570 [murphy rubyc] irb(main):001:0> require 'set'
  + 12571 [murphy rubyc] ...
  + 12572 [drbrain segm] For backwards compatibility.  Its in the ruby-core archives.

^ File::Stat#grpowned? is wrong
12573 [lists bertra] user $ ls -lad /etc/asterisk /etc/cron.daily/

^ unsubscribe
12574 [cyrus_dev ho] unsubscribe

^ Marshal.dump doesn't dump string encoding
12575 [david davidf] Matz,
12577 [matz ruby-la] We know.  It's going to be dumped soon.

^ Possible memory leak in ruby-1.8.6-p110??
12578 [znmeb cesmai] I haven't had a chance to narrow this down in enough detail yet, but
12595 [znmeb cesmai] 1. It works fine on 32-bit.
12596 [hgs dmu.ac.u] Is it worth trying -O2, -O1 ?
+ 12600 [tmorgan99 gm] This morning, I noticed 110 was replaced by 111
| 12601 [luislavena g] There was a security fix (Net:HTTP with secure connections) and the
+ 12602 [znmeb cesmai] Eventually I might do that. I'll be testing the "-g" without "-pg" at
  12606 [hgs dmu.ac.u] OK, thought it might be scripted and easy to run over night.
  12612 [znmeb cesmai] Well -- removing "-pg" left the issue in place, so it's something to do
  12613 [hgs dmu.ac.u] gcc (GCC) 4.1.1

^ iconv enhancement in Ruby 1.9
12579 [eugoss gmail] I noticed Ruby 1.9 had the class Iconv improved. In 1.9 it became
12580 [nobu ruby-la] Once I thought to use a block for exception handling.
12583 [duerst it.ao] When I first had a look at the Iconv class in Ruby,
12585 [nobu ruby-la] This idea is that Iconv#iconv and others yields error info on

^ ruby.exe exit code 255
12581 [dsears gmail] A little background: I'm trying to get Ruby on Rails running under

^ Broken Ruby/ODBC due rbconfig COMMON_MACROS
12584 [luislavena g] I'm trying to pin-point the problem we have compiling ruby-odbc 0.9995
12586 [usa garbagec] We just hit a Platform SDK's bug.

^ Confusion about arities
12587 [charles.nutt] It seems like a number of methods have unexpected arities. For example,
12589 [drbrain segm] The -1 arity exposes the argument checking implementation, which is
12591 [charles.nutt] Ideally we'd be able to use (and present) the actual arity to do
+ 12592 [ryand-ruby z] charset=US-ASCII;
+ 12594 [drbrain segm] The information is there, but I don't see a way to automatically make
  12603 [charles.nutt] Ok, I understand now.
  12614 [drbrain segm] NODE_CREF could have nd_argc holding the calling convention as it
  12616 [charles.nutt] Yeah, seems like it would be a good thing to do. Only took me about

^ MatchData#select rdoc and arity incorrect
12588 [charles.nutt] ~/NetBeansProjects/jruby $ ri MatchData#select
+ 12590 [drbrain segm] is out of date.
| 12593 [ryand-ruby z] charset=US-ASCII;
+ 12604 [matz ruby-la] The code was wrong.  Perhaps I was confusing MatchData to provide

^ [PATCH] adds __file__ and __line__ methods to Methods and Procs
12598 [brent mbari.] This is a multi-part message in MIME format.

^ private method dispatch changes dropped from 1.9?
12599 [david davidf] I'm guessing that these mean that the plans to alter the method name
12605 [matz ruby-la] Yes, it was too radical.

^ Question about heap_slots in gc.c
12617 [h.lai chello] I'm trying to modify the Ruby interpreter's garbage collector. At the
+ 12620 [hgs dmu.ac.u] static int heap_slots = HEAP_MIN_SLOTS;
+ 12648 [sylvain.joye] What are you trying to do ? I did some experimental work on the current GC,
  12649 [h.lai chello] I'm trying to improve the Ruby GC's copy-on-write friendliness. You can
  12651 [matz ruby-la] Moving marking bits to separate bitmap tables makes Ruby's GC more COW
threads.html
top