[#13161] hacking on the "heap" implementation in gc.c — Lloyd Hilaiel <lloyd@...>
Hi all,
Hi,
On Fri, Nov 02, 2007 at 04:09:53AM +0900, Lloyd Hilaiel wrote:
On Tue, Nov 06, 2007 at 03:15:52AM +0900, Lloyd Hilaiel wrote:
Paul Brannan wrote:
[#13182] Thinking of dropping YAML from 1.8 — Urabe Shyouhei <shyouhei@...>
Hello all.
On 11/3/07, Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
On Nov 3, 2007, at 3:47 PM, Alexey Verkhovsky wrote:
where to start ... to fix the YAML code bugs
Ujwal Reddy Malipeddi wrote:
[#13196] Subscribe to list w/o email — Trans <transfire@...>
I'm now using the ruby-core-google interface to this list, rather then
[#13198] Ruby's Standard Library could use a lead maintainer — "Gregory Brown" <gregory.t.brown@...>
Hi folks,
On Nov 4, 2007, at 11:22 AM, Gregory Brown wrote:
James Edward Gray II wrote:
On 11/4/07, M. Edward (Ed) Borasky <znmeb@cesmail.net> wrote:
[#13206] guessutf 1.0.0 released — Wolfgang Nádasi-Donner <ed.odanow@...>
Dear Ruby designers, developers, and testers!
[#13215] Auto-translating gateway between ruby-core and ruby-dev? — Charles Oliver Nutter <charles.nutter@...>
I for one feel left out of conversations on ruby-dev. Barring my
[#13221] Re: Ruby's Standard Library could use a lead maintainer — Brent Roman <brent@...>
Brent Roman schrieb:
On 11/5/07, Wolfgang N=E1dasi-Donner <ed.odanow@wonado.de> wrote:
Gregory Brown schrieb:
[#13238] performance problem in 1.9 — Paul Brannan <pbrannan@...>
Checked latest 1.9 out of svn last week to run this test.
Paul Brannan wrote:
[#13248] Re: performance problem in 1.9 — Wolfgang Nádasi-Donner <ed.odanow@...>
Is it possible that it has a relationship with my remark about identifying
[#13254] send can't call protected methods, but invoke_method can — David Flanagan <david@...>
Hi,
[#13259] Frightening retry behavior should be deprecated and removed — Charles Oliver Nutter <charles.nutter@...>
Witness:
Hi,
[#13288] Unrecovered memory leak thoughts. — "Roger Pack" <rogerpack2005@...>
So it seems from my trivial analysis that there are instances when
On 11/8/07, Roger Pack <rogerpack2005@gmail.com> wrote:
On Thu, Nov 08, 2007 at 09:13:34PM +0900, Rick DeNatale wrote:
[#13289] Proposal of a new operator for Method and Proc — Jordi <mumismo@...>
Hello, this email is long but I hope you to read it. I think it is worth it.
Jordi wrote:
On Nov 8, 2007 7:03 PM, Gonzalo Garramu=F1o <ggarra@advancedsl.com.ar> wrot=
[#13292] Leak with regexp in method with no local vars. — "Jonas Pfenniger" <zimbatm@...>
The rubyforge -> ml link seems to be down so here is the link :
Also reproducible with
2007/11/9, Ryan Davis <ryand-ruby@zenspider.com>:
[#13305] The document of random algorithm? — sishen <yedingding@...>
Hi, guys. I want to know the detailed algorithm of random number.
[#13315] primary encoding and source encoding — David Flanagan <david@...>
I've got a couple of questions about the handling of primary encoding.
Hi,
Hi,
Yukihiro Matsumoto wrote:
Hi,
Yukihiro Matsumoto wrote:
Hi,
In article <E1IqOZI-0001t7-LT@x31>,
Hi,
[#13347] http compression, zlib agnostic, for 1.9 — Hugh Sasse <hgs@...>
I have revised my http compression (gzip, deflate) patch such that
On Sat, Nov 10, 2007 at 05:28:01AM +0900, Hugh Sasse wrote:
[#13351] Keyword Arguments — Trans <transfire@...>
Peter Vanbroekhoven mentioned this to me and I have to agree. I'd
[#13362] RubyGems imported into 1.9 trunk — Eric Hodel <drbrain@...7.net>
There are a few tests breaking due to rbconfig.rb not matching what ./
On Nov 10, 2007 4:53 PM, Eric Hodel <drbrain@segment7.net> wrote:
On Nov 10, 2007, at 01:21 , Jordi wrote:
Eric,
On Nov 10, 2007, at 15:44 , David Flanagan wrote:
Eric Hodel wrote:
On Nov 11, 2007, at 22:34 , David Flanagan wrote:
[#13363] IO.read, IO#read (and similar methods) - Length Parameter Usage for Non One-Byte Encodings — Wolfgang Nádasi-Donner <ed.odanow@...>
Good morning dear Ruby folks!
[#13368] method names in 1.9 — "David A. Black" <dblack@...>
Hi --
Hi,
Hi --
Yukihiro Matsumoto wrote:
On 11/11/07, Charles Oliver Nutter <charles.nutter@sun.com> wrote:
Austin Ziegler wrote:
David Flanagan wrote:
Hi --
Quoting dblack@rubypal.com, on Mon, Nov 12, 2007 at 06:45:42AM +0900:
Hi -
On Tue, Nov 13, 2007 at 09:40:22PM +0900, David A. Black wrote:
Hi --
Summing it up:
Hi --
On Nov 12, 2007 8:42 PM, David A. Black <dblack@rubypal.com> wrote:
On 12/11/2007, David A. Black <dblack@rubypal.com> wrote:
On Sun, Nov 11, 2007 at 05:50:18PM +0900, Trans wrote:
On Nov 11, 2007 7:01 PM, Matthew Boeh <mboeh@desperance.net> wrote:
On Nov 11, 2007 5:01 AM, Matthew Boeh <mboeh@desperance.net> wrote:
[#13377] Link errors for trunk on Mac OS X — "Lyle Johnson" <fxrubyguy@...>
Apologies in advance if this is a FAQ, but I'm trying to build the
[#13448] Time#== bug? — "Berger, Daniel" <Daniel.Berger@...>
Hi,
[#13457] mingw rename — "Roger Pack" <rogerpack2005@...>
Currently for different windows' builds, the names for RUBY_PLATFORM
On Nov 12, 2007 10:13 PM, Roger Pack <rogerpack2005@gmail.com> wrote:
[#13470] trunk's parse.c fails to compile — "Laurent Sansonetti" <laurent.sansonetti@...>
Hi,
Laurent Sansonetti wrote:
Charles Oliver Nutter wrote:
[#13485] Proposal: Array#walker — Wolfgang Nádasi-Donner <ed.odanow@...>
Good morning all together!
A nicer version may be...
On Wed, 14 Nov 2007, Trans wrote:
Hugh Sasse wrote:
There is one big difference between the actual proposals and my original
[#13498] state of threads in 1.9 — Jordi <mumismo@...>
Are Threads mapped to threads on the underlying operating system in
On Nov 14, 2007, at 11:18 , Bill Kelly wrote:
On Nov 15, 2007 7:33 AM, Eric Hodel <drbrain@segment7.net> wrote:
Jordi wrote:
[#13513] Proc#hash returns different values for same body — Wolfgang Nádasi-Donner <ed.odanow@...>
Hi!
[#13528] test/unit and miniunit — Ryan Davis <ryand-ruby@...>
When is the 1.9 freeze?
On Nov 14, 2007, at 18:43 , Trans wrote:
[#13536] mswin32-vc6 segmentation fault due ruby_in_eval wrong definition — "Luis Lavena" <luislavena@...>
Summary:
Hi,
On Nov 15, 2007 12:44 PM, Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
[#13542] Iconv#iconv returning wrong object — "Dirk Traulsen" <dirk.traulsen@...>
c:\>ri Iconv#iconv
Hi,
Am 15 Nov 2007 um 21:58 hat Nobuyoshi Nakada geschrieben:
Hi,
Am 16 Nov 2007 um 17:07 hat Nobuyoshi Nakada geschrieben:
[#13564] Thoughts about Array#compact!, Array#flatten!, Array#reject!, String#strip!, String#capitalize!, String#gsub!, etc. — Wolfgang Nádasi-Donner <ed.odanow@...>
Good evening all together!
Matz has added Object.tap to Ruby 1.9 which is intended for use in
On Nov 15, 2007 8:14 PM, Wolfgang N=E1dasi-Donner <ed.odanow@wonado.de> wro=
Nikolai Weibull schrieb:
Nikolai Weibull schrieb:
Hi --
Hi --
On Nov 16, 2007 3:19 PM, David A. Black <dblack@rubypal.com> wrote:
Hi --
On Nov 16, 2007 12:40 PM, David A. Black <dblack@rubypal.com> wrote:
On Nov 16, 2007 3:40 AM, David A. Black <dblack@rubypal.com> wrote:
David A. Black wrote:
Hi --
On Nov 16, 2007 12:40 PM, David A. Black <dblack@rubypal.com> wrote:
Rick DeNatale wrote:
murphy schrieb:
Hi --
On 11/16/07, Trans <transfire@gmail.com> wrote:
On Nov 16, 2007, at 8:43 PM, Austin Ziegler wrote:
[#13600] Re: [PATCH] CGI::Session::PStore partitioned directories — Tanaka Akira <akr@...>
In article <473D827F.10909@gmail.com>,
[#13614] Suggestion for native thread tests — "Eust痃uio Rangel" <eustaquiorangel@...>
Hi!
Eust痃uio Rangel wrote:
On Nov 17, 2007 2:02 PM, Charles Oliver Nutter <charles.nutter@sun.com> wrote:
On Nov 17, 2007 2:25 PM, Eust=E1quio Rangel <eustaquiorangel@gmail.com> wro=
[#13618] segfault in ostruct with 1.8.6, where to get help? — "andrew taylor" <aktxyz@...>
Hello folks, not sure if this is the right place...
run it in gdb, see if it gives you a better backtrace (?)
[#13676] Failing to compile trunk under Ubuntu — Brian Candler <B.Candler@...>
I tried compiling trunk yesterday and today, on two different Ubuntu 6.06
[#13685] Problems with \M-x in utf-8 encoded strings — Wolfgang Nádasi-Donner <ed.odanow@...>
Hi!
At 22:01 07/11/18, Wolfgang N〓dasi-Donner wrote:
Martin Duerst schrieb:
[#13688] base64.c vs. base64.rb — Trans <transfire@...>
Hi--
[#13704] Build failure trying to use rb_define_alias on rb_mKernel — "Berger, Daniel" <Daniel.Berger@...>
Hi,
[#13709] Change in system() behaviour — Dave Thomas <dave@...>
In 1.8, system("badcmd") returned false.
[#13741] retry semantics changed — Dave Thomas <dave@...>
In 1.8, I could write:
On Nov 23, 2007 12:06 PM, Dave Thomas <dave@pragprog.com> wrote:
Hi,
Hi,
Dave Thomas wrote:
Dave Thomas wrote:
Charles Oliver Nutter wrote:
Hi,
Yukihiro Matsumoto wrote:
Hi,
Hi,
Chiming in again on this...
In article <10A28D45-97EE-47EB-B98A-1B197F30C0E9@fallingsnow.net>,
In article <6168A472-3688-4D85-AAE1-49A2F376B908@fallingsnow.net>,
[#13781] C-Core-Questions — <saladin.mundi@...>
Hi guys, sorry that I'm posting into the core mailinglist, but in the =
[#13787] Syntax error when using comment between two lines in new method chain syntax — Wolfgang Nádasi-Donner <ed.odanow@...>
Hi!
[#13792] Anyone tried -r debug on OSX? — Dave Thomas <dave@...>
It hangs for me here. I have to kill -9 to stop it.
[#13805] Socket.gethostbyname and Reverse Lookups: A Strange and Terrible Saga — "Bill Kelly" <billk@...>
(with apologies to Hunter Thompson ;)
Re: Import gem to Ruby 1.9
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Tanaka Akira wrote:
>> I think that RubyGems team possibly does not like this kind of logic
>> duplication. Note that it's just a thought of mine. I've heard nothing
>> about this from RubyGems team.
>
> The logic is not identical. RubyGems itself (and yours) is
> accurate but memory consuming. My tiny RubyGems loader is
> not accurate but not memory saving
Agreed.
> They are difficult to unify them.
Might true. The way for letting it be unifyable can introduce some
other constraints I think. For example, adding a rule for Gem
specification that 'gem creator must use 'lib' directory for
require_path in Gem::Specification' or so.
>> Code duplication and independent maintainer as I wrote above.
>
> They cause maintainance cost, but I take it. Any other
> problem?
No other problem I have for now. But I'm still thinking RubyGems team
might not want it. I heard that authors want to keep rubygems for 1.8
and 1.9 in sync. I respect their vision.
Why don't you wait for the response? Can somebody ask it in RubyConf?
>> If it's not evil or worse, just let users use RUBYOPT as a charm to use
>> rubygems. What's the difference? But...
>
> RUBYOPT is not required for using RubyGems.
> disable-rubygems-loader.rb is used for disabling RubyGems.
>
> I know you try to force us to use RUBYOPT for RubyGems. But
> I don't want to define RUBYOPT to simply use a installed
> library.
I can understand it. I too don't want to define RUBYOPT to use my
custom loader instead of RubyGems even if gems are installed by an
administrator.
It's about time we should summarize pros and cons of the ways we can
take. It's a balancing issue, isn't it?
>> Here's my try;
>
> Oops. I tryed with internal version which try to remove
> RubyGems loader.
>
> However I can't reploduce your problem.
>> The last exception is the 'Name crash' I wrote in the previous mail.
>
> I'm not sure what causes your exception.
Sorry. I wrongly set GEM_PATH to another point. This repository
contains gems which has dependencies and causes
Gem::Specification#add_dependency crash. Now I get the same result as
yours.
0% ruby19 -rfoo -e 'require "httpclient"'
/usr/local/lib/ruby/site_ruby/1.9/gemloader.rb:44: warning: already
initialized constant OPS
/usr/local/lib/ruby/site_ruby/1.9/gemloader.rb:94: warning: already
initialized constant Requirement
gemloader.rb intercepted rubygems loading
gemloader.rb intercepted rubygems loading
gemloader.rb intercepted rubygems loading
gemloader.rb intercepted rubygems loading
gemloader.rb intercepted rubygems loading
Anyway, the name crash is not important. Back to the topic,
[ruby-core:12935]
> Would you show me a loader which doesn't work well with my
> loader?
I wrote a proof-of-concept custom loader 'unloadable.rb'.
http://dev.ctor.org/vtr/browser/trunk/lib/unloadable.rb
It (incompletely for now) allows user to unload a library. See the head
of unloadable.rb for the definition of 'unload'.
Here's a script. soap/soap is (still) installed in libdir of 1.9.
httpclient is installed as a gem. prelude.rb is not changed (does not
include infinite loop detection but it won't affect I think).
0% ruby19 -d -runloadable -e 'require "soap/soap"; unload "soap/soap"'
[...]
removing constants: [:XSD, :Iconv, :SOAP]
[...]
0% ruby19 -d -runloadable -e 'require "httpclient/cookie"; unload
"httpclient/cookie"'
[...]
removing constants: [:RbConfig, :Config, :CROSS_COMPILING, :Gem,
:ConditionVariable, :Queue, :SizedQueue, :Forwardable,
:SingleForwardable, :Rational, :Date, :DateTime, :FileUtils, :Etc, :URI,
:WebAgent, :ParseDate]
[...]
RubyGems features are unexpectedly unloaded in the second execution.
For this issue, enabling RubyGems by default without tiny loader solves
the problem.
0% ruby19 -d -rubygems -runloadable -e 'require "httpclient/cookie";
unload "httpclient/cookie"'
[...]
removing constants: [:FileUtils, :Etc, :URI, :WebAgent, :ParseDate]
[...]
> However I'm thinking to update my proposal to use
> [ruby-dev:32161].
Sure. I'll reply to ruby-dev. We run this thread too much so no one
seems to be following here.
It's the best I think if we have such an extension point for custom
loaders and if RubyGems use it instead of replacing require. But as I
wrote in [ruby-core:12827], we don't have enough time to do before 1.9.1
I think. Do you think it happen?
>> Now foo.rb loads gemloader.rb but think when I want to use one of a
>> custom loader (not existing now) I wrote in [ruby-core:12774]. Say
>> signed tarball loader. It might have another repository which has
>> signed tarballs but RubyGems loads a gem instead of it, isn't it?
>
> If a gem is installed, yes. If a gem is not installed, no.
Sure.
For reality, I wrote another proof-of-concept custom loader
'signedloader.rb'
http://dev.ctor.org/vtr/browser/trunk/lib/signedloader.rb
It tries to restrict to load features from configured dirs (libdir,
archdir, sitelibdir, sitearchdir, not including "." and others)
Here's a script. ruby is ruby_1_8 version. ruby19 is trunk version.
For 1.8, httpclient is installed in sitedir. For 1.9, httpclient is
installed as a gem (no httpclient in sitedir).
0% ruby -rsignedloader -e 'require "httpclient/cookie"; p $".find_all {
|f| /httpclient/ =~ f }'
["signedloader:httpclient/cookie.rb"]
0% ruby19 -rsignedloader -e 'require "httpclient/cookie"; p $".find_all
{ |f| /httpclient/ =~ f }'
["/usr/local/lib/ruby/gems/1.9/gems/httpclient-2.1.2/lib/httpclient/cookie.rb"]
I use signedloader.rb to intercept RubyGems to load httpclient so the
second execution should raise a LoadError.
>>> Do you think about that an administrator installs a library
>>> as a gem but an user doesn't want to use it?
>> Hmm. I didn't think about it in detail but yes, it should be a
>> situation I'm wondering about. For example, a Leopard user may want to
>> use mydevelgemloader.rb which only loads gems from ~/mydevel/gems.
>
> In the condition under conflicts between an administrator
> and an user, it is very difficult to solve the problem.
>
> I think (or hope) such conflicting situation is rare.
> An administrators intention, use a installed gem, should be
> used by default.
I can understand your thought (or hope). Once Ruby "core team" (should
be Matz, this time) will decide this rather tight merge with RubyGems as
a design, with knowing this kind of rare issues, I'll live with that in
other way, for example, developing 'easily unloadable loader extension
point' such as your [ruby-dev:32161].
Regards,
// NaHi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
iQEVAwUBRyk72x9L2jg5EEGlAQLPDQf/TbmqdHAAjDlTa7XlqdydwKmJJg+RbTzI
bRb1YoknAqlOI2C3T69mnHFYOcTxMsBgQcN9ytEtxaAh2Gs5Z/ZgD08nqmUrAROr
5K1Y6PRtREHdZHUKdmupVlkGD3BWy5gnuKo5OiDDQqrRAktAM0GYmA2k+Vw3O3yE
cnKleTRdzOYSwVjyXspcaw5Eiq1JFUtXWQwgtoBsqHlzWf/VNsL3aRn0rgG2k3f7
PIlasjHdknM3rxQ7JiNm0x2xccPkwJectQd7orX2f8S/jyvSAk244rGPfnu+RoJy
NGAoRGnxc10pO1G6EzifUBqeBWvGFJiIKHZ+5ODRclvEFWXp6B4w/w==
=p2lo
-----END PGP SIGNATURE-----