[#19064] Fwd: [ruby-dev:36523] Re: Encoding.default_internal — Martin Duerst <duerst@...>
There has been some disconnect lately between ruby-dev and ruby-core
On Oct 1, 2008, at 5:09 AM, Martin Duerst wrote:
On Wed, Oct 1, 2008 at 9:46 AM, James Gray <james@grayproductions.net> wrote:
[#19075] Request For Removal: No Operator Concatenation — James Gray <james@...>
I'm disappointed that Ruby still supports this goofy syntax:
On Wed, Oct 1, 2008 at 1:58 PM, James Gray <james@grayproductions.net> wrote:
On Wed, Oct 1, 2008 at 1:08 PM, Gregory Brown <gregory.t.brown@gmail.com> wrote:
On Oct 1, 2008, at 1:15 PM, Jim Freeze wrote:
On Wed, Oct 1, 2008 at 1:29 PM, James Gray <james@grayproductions.net> wrote:
On Oct 1, 2008, at 1:37 PM, Jim Freeze wrote:
On Oct 1, 2008, at 11:42 AM, James Gray wrote:
On Wed, Oct 1, 2008 at 2:45 PM, Eric Hodel <drbrain@segment7.net> wrote:
On Wed, Oct 1, 2008 at 2:10 PM, Gregory Brown <gregory.t.brown@gmail.com> wrote:
On Oct 1, 2008, at 2:17 PM, Jim Freeze wrote:
On Wed, Oct 1, 2008 at 2:25 PM, James Gray <james@grayproductions.net> wrote:
On Oct 1, 2008, at 12:30 PM, Jim Freeze wrote:
Hi,
On Oct 1, 2008, at 10:33 PM, Yusuke ENDOH wrote:
[#19127] Autoload and class definition — Tomas Matousek <Tomas.Matousek@...>
I've found an interesting corner case of autoload behavior, which I think i=
[#19132] [Feature #615] "with" operator — Lavir the Whiolet <redmine@...>
Feature #615: "with" operator
Hi,
On Mon, Oct 06, 2008 at 10:46:49AM +0900, Nobuyoshi Nakada wrote:
On Mon, Oct 06, 2008 at 10:56:23PM +0900, Paul Brannan wrote:
On Mon, Oct 6, 2008 at 3:34 PM, Trans <transfire@gmail.com> wrote:
Hi --
On Tue, Oct 07, 2008 at 05:47:23AM +0900, David A. Black wrote:
Hi --
[#19168] [Bug:1.9] rubygems depend on test/unit/ui/console/testrunner — "Yusuke ENDOH" <mame@...>
Hi,
On Oct 7, 2008, at 07:43 AM, Yusuke ENDOH wrote:
Eric Hodel wrote:
[#19225] Module.freeze vs Object.freeze — Curt Hagenlocher <curth@...>
What's the difference between Module.freeze and Object.freeze? They seem t=
[#19242] Regexp Order Matters in 1.9 — James Gray <james@...>
I'm just curious, why does this work:
[#19250] default_internal encoding — Dave Thomas <dave@...>
I'm documenting default_internal for the PickAxe, and have a couple of
Hi,
On Oct 9, 2008, at 6:06 PM, Michael Selig wrote:
On Fri, 10 Oct 2008 13:09:31 +1100, James Gray <james@grayproductions.net>
On Wed, Oct 8, 2008 at 3:52 PM, Paul Brannan <pbrannan / atdesk.com> wrote:
On Fri, Oct 10, 2008 at 10:30:31AM +0900, Michael Selig wrote:
Paul Brannan wrote:
Charles Oliver Nutter wrote:
[#19294] [Bug #634] Time parsing works in 1.8 but not 1.9 — Aaron Patterson <redmine@...>
Bug #634: Time parsing works in 1.8 but not 1.9
Issue #634 has been updated by tadayoshi funaba.
[#19298] [Feature #639] New String#encode_internal method — Michael Selig <redmine@...>
Feature #639: New String#encode_internal method
Hi,
[#19304] 1.9, encoding & win32 wide char support — Lloyd Hilaiel <lloyd@...>
hello,
[#19315] [Feature #643] __DIR__ — Thomas Sawyer <redmine@...>
Feature #643: __DIR__
[#19332] Can I confirm a change to source file encoding — Dave Thomas <dave@...>
A month ago, if I had
[#19342] [Bug #649] Memory leak in a array assignment? — Henri Suur-Inkeroinen <redmine@...>
Bug #649: Memory leak in a array assignment?
On Tue, Feb 3, 2009 at 8:44 PM, Brent Roman <brent@mbari.org> wrote:
[#19343] Yet another block semantic/syntax question — "David A. Black" <dblack@...>
Hi --
[#19350] Net::HTTP.post_form bug : can't post form to correct uri which contains QueryString(QueryString part are lost) and revise — Klesh <kleshwong@...>
Hi,
You are trying to use GET-style query params instead of POSTing the
Dear Matt
From my experience, it's simply easier to process requests that way,
Thanks,
2008/10/17 Matt Todd <chiology@gmail.com>:
On Oct 19, 2008, at 8:55 AM, mathew wrote:
[#19373] capture_io in minitest — Tanaka Akira <akr@...>
capture_io changes $stdout.fileno.
[#19378] Constant names in 1.9 — Dave Thomas <dave@...>
When Ruby makes the tIDENTIFIER/tCONSTANT test, it looks to see if the =20=
Hi,
On Oct 18, 2008, at 8:32 AM, Yukihiro Matsumoto wrote:
Hi,
[#19385] [Bug #657] Thread.new { fork } — "James M. Lawrence" <redmine@...>
Bug #657: Thread.new { fork }
[#19388] [Bug #663] Benchmark.measure outputs different result when executed using command line "ruby -e ..." — Artem Vorozhtsov <redmine@...>
Bug #663: Benchmark.measure outputs different result when executed using command line "ruby -e ..."
[#19397] [Feature #666] Enumerable::to_hash — Marc-Andre Lafortune <redmine@...>
Feature #666: Enumerable::to_hash
Issue #666 has been updated by Yukihiro Matsumoto.
Hi,
Thank you for this explanation. If I understand correctly, you want methods
Hi,
Thank you for your response
On Wed, 22 Apr 2009 05:45:06 +0900
[#19410] rb_errinfo() vs rb_rubylevel_errinfo() — Paul Brannan <pbrannan@...>
What is the difference between these two functions?
Hi,
On Wed, Oct 22, 2008 at 12:34:19AM +0900, SASADA Koichi wrote:
[#19413] Is this expected, or should I report it? — Dave Thomas <dave@...>
Given
[#19422] Now that lambda has more powerful arguments... — Dave Thomas <dave@...>
is there anything that
Dave Thomas schrieb:
On Wed, Oct 22, 2008 at 04:01:45AM +0900, Dave Thomas wrote:
Hi --
On Wed, Oct 22, 2008 at 04:38:19AM +0900, David A. Black wrote:
Hi --
On Oct 21, 2008, at 4:24 PM, David A. Black wrote:
Hi --
[#19446] confused by this catch table — Paul Brannan <pbrannan@...>
irb(main):001:0> require 'internal/proc'
[#19458] Should Method@instance_methods reveal protected methods? — Dave Thomas <dave@...>
The RDoc says it just returns public methods, but
[#19465] [Bug #680] csv.rb: CSV.parse is too late when encoding is mismatch — Takeyuki Fujioka <redmine@...>
Bug #680: csv.rb: CSV.parse is too late when encoding is mismatch
Hi,
A default for the source encoding has been discussed quite a long
Hi,
Hi,
Hi,
Hi,
On Sun, 26 Oct 2008 17:26:32 +1100, Nobuyoshi Nakada <nobu@ruby-lang.org>
Hi,
On Sun, 26 Oct 2008 23:34:26 +1100, Nobuyoshi Nakada <nobu@ruby-lang.org>
Hi,
On Mon, 27 Oct 2008 16:07:54 +1100, Nobuyoshi Nakada <nobu@ruby-lang.org>
Hi,
On Mon, 27 Oct 2008 17:27:57 +1100, Nobuyoshi Nakada <nobu@ruby-lang.org>
Hi,
On Mon, 27 Oct 2008 20:55:32 +1100, Nobuyoshi Nakada <nobu@ruby-lang.org>
Hi,
On Oct 27, 2008, at 7:07 AM, Nobuyoshi Nakada wrote:
Hi,
On Oct 24, 2008, at 1:52 AM, Martin Duerst wrote:
On Oct 24, 2008, at 8:06 AM, James Gray wrote:
On Sat, 25 Oct 2008 00:07:13 +1100, James Gray <james@grayproductions.net>
On Oct 26, 2008, at 6:48 PM, Michael Selig wrote:
[#19468] [Bug:1.9] failures of test/minitest — Nobuyoshi Nakada <nobu@...>
Hi,
[#19478] Ruby 1.8.7 Throwing "Too many open files" Exception lately??? — "C.E. Thornton" <admin@...>
Group,
[#19487] [ANN] Sipper 1.1.3 Released — "Nasir Khan" <rubylearner@...>
1.1.3 of SIPr pronounced as Sipper has been released earlier this month.
[#19504] Is the stabby proc gone? broken? — "David A. Black" <dblack@...>
Hi --
[#19523] Too Many Files Error -- Test Case Produced. — "C.E. Thornton" <admin@...>
Core,
[#19555] Managing 1.9 threads in extensions — Dave Thomas <dave@...>
I'm trying to pin down the rules for folks who write extensions for
[#19561] Was there a feature freeze on October 25th? — Dave Thomas <dave@...>
Curious authors want to know... :)
[#19564] Ruby 1.9.1 preview1 is out — "Yugui (Yuki Sonoda)" <yugui@...>
Hi all,
[#19566] GC thought — "Roger Pack" <roger.pack@...>
Here is a recent patch I've been experimenting with--for any advice. [1]
On Tue, 28 Oct 2008 17:02:17 +0900, Roger Pack wrote:
> Letting the program continue execution during the mark phase could cause
On Wed, Oct 29, 2008 at 01:04:52AM +0900, Roger Pack wrote:
2008/10/28 Paul Brannan <pbrannan@atdesk.com>:
Robert Klemme wrote:
Robert Klemme wrote:
[#19578] [Bug #691] Time::zone_utc? does not follow rfc2822 — Chun Wang <redmine@...>
Bug #691: Time::zone_utc? does not follow rfc2822
[#19583] [Bug #694] eof? call on a pty IO object causes application to exit — Dave Thomas <redmine@...>
Bug #694: eof? call on a pty IO object causes application to exit
[#19590] [Feature #695] More flexibility when combining ASCII-8BIT strings with other encodings — Michael Selig <redmine@...>
Feature #695: More flexibility when combining ASCII-8BIT strings with other encodings
Hi,
At 07:14 08/10/31, Michael Selig wrote:
Hi
[#19599] Future of Continuations — "r. schempp" <ruben.schempp@...>
Hi,
On Wed, Oct 29, 2008 at 06:54:06PM +0900, r. schempp wrote:
r. schempp schrieb:
[#19604] test failure in r20022 — Mike Stok <mike@...>
I noticed this failure in my morning build of ruby trunk on my laptop:
[#19610] [Bug 1.9] gem_prelude.rb always require rubygems — Yukihiro Matsumoto <matz@...>
Hi,
[#19618] Result of backticks — Jim Deville <jdeville@...>
`echo disc world` returns "disc world\n"
[#19634] performance issues with --enable-pthread on Solaris. — Paul van den Bogaard <Paul.Vandenbogaard@...>
Introduction
[#19660] Odd TypeError in inject (1.9.1 preview 1) — "David A. Black" <dblack@...>
Hi --
On Fri, Oct 31, 2008 at 5:20 AM, David A. Black <dblack@rubypal.com> wrote:
Hi,
On Fri, Oct 31, 2008 at 8:40 AM, Nobuyoshi Nakada <nobu@ruby-lang.org>wrote:
[#19668] [Bug #703] string output duplication occurs if the same file descriptor written to in different threads — Roger Pack <redmine@...>
Bug #703: string output duplication occurs if the same file descriptor written to in different threads
Hi,
[ruby-core:19497] [Bug #641] GC patch to cache the most recent heap for is_pointer_to_heap
Issue #641 has been updated by Narihiro Nakamura.
Hi.
It seems interesting :)
I tried it with 1.9
But this not appeared speed up.
----
$ cat bm_ruby-core_19301.rb
require 'benchmark'
require 'pp'
GC::Profiler.enable
a = []
1_000_000.times { a << [3] }
pp Benchmark.measure { 33.times { GC.start }}
GC::Profiler.report
$ % ./ruby-trunk/ruby bm_ruby-core_19301.rb
#<Benchmark::Tms:0x9686cb8
@cstime=0.0,
@cutime=0.0,
@label="",
@real=2.24389553070068,
@stime=0.0,
@total=2.2,
@utime=2.2>
GC 42 invokes.
Index Invoke Time(sec) Use Size(byte) Total Size(byte) Total Object GC Time(ms)
1 0.032 539600 622592 31122 0.00000000000000028257
2 0.040 1080240 1097728 54873 0.40000000000000018874
3 0.052 1931380 1949696 97461 0.39999999999999968914
4 0.076 3469980 3489792 174447 1.20009999999999950049
5 0.124 6236160 6258688 312858 2.00020000000000042206
6 0.200 11212040 11239424 561834 4.00029999999999930083
7 0.340 20181700 20217856 1010646 6.80040000000000244285
8 0.408 20222720 20332544 1016379 6.80040000000000066649
9 0.476 20222720 20348928 1017198 6.40039999999999942304
10 0.540 20222720 20365312 1018017 6.80049999999999776890
11 0.608 20222720 20381696 1018836 6.80040000000000066649
12 0.676 20222720 20398080 1019655 6.80040000000000510738
13 0.744 20222720 20414464 1020474 6.00039999999999817959
14 0.804 20222720 20430848 1021293 6.80040000000000244285
15 0.872 20222720 20447232 1022112 6.40039999999999675850
16 0.936 20222720 20463616 1022931 6.40040000000000652847
17 1.000 20222720 20480000 1023750 6.00039999999999906777
18 1.060 20222720 20496384 1024569 6.80040000000000333102
19 1.128 20222720 20512768 1025388 6.40040000000000919300
20 1.192 20222720 20529152 1026207 6.40039999999999054126
21 1.256 20222720 20545536 1027026 6.40039999999999675850
22 1.320 20222720 20561920 1027845 6.80040000000000066649
23 1.388 20222720 20578304 1028664 6.40040000000000475211
24 1.452 20222720 20594688 1029483 6.80050000000000931522
25 1.520 20222720 20611072 1030302 7.20040000000000013358
26 1.592 20222720 20627456 1031121 6.80040000000000333102
27 1.660 20222720 20643840 1031940 6.40040000000000919300
28 1.724 20222720 20660224 1032759 6.80049999999999155165
29 1.792 20222720 20676608 1033578 6.40040000000000297575
30 1.856 20222720 20692992 1034397 6.80040000000000777192
31 1.924 20222720 20709376 1035216 6.80039999999999000835
32 1.992 20222720 20725760 1036035 6.80039999999999977831
33 2.060 20222720 20742144 1036854 6.80049999999998178168
34 2.128 20222720 20758528 1037673 6.80039999999999356106
35 2.196 20222720 20774912 1038492 6.80040000000002020641
36 2.264 20222720 20791296 1039311 6.40040000000000208757
37 2.328 20222720 20807680 1040130 7.20049999999998480149
38 2.400 20222720 20824064 1040949 6.80039999999999711378
39 2.468 20222720 20840448 1041768 6.80039999999998023839
40 2.536 20222720 20856832 1042587 7.20050000000000522959
% ./ruby1.9_cach/ruby bm_ruby-core_19301.rb
#<Benchmark::Tms:0x9686c2c
@cstime=0.0,
@cutime=0.0,
@label="",
@real=2.26782369613647,
@stime=0.01,
@total=2.26,
@utime=2.25>
GC 42 invokes.
Index Invoke Time(sec) Use Size(byte) Total Size(byte) Total Object GC Time(ms)
1 0.032 539940 622592 31122 0.39999999999999991118
2 0.044 1080320 1097728 54873 0.40000000000000007772
3 0.056 1931440 1949696 97461 0.40010000000000034426
4 0.084 3470040 3489792 174447 1.20009999999999950049
5 0.132 6236240 6258688 312858 2.00010000000000021103
6 0.220 11212100 11239424 561834 3.60020000000000006679
7 0.376 20181760 20217856 1010646 6.40039999999999764668
8 0.440 20222580 20332544 1016379 6.40039999999999764668
9 0.504 20222580 20348928 1017198 6.80049999999999688072
10 0.572 20222580 20365312 1018017 6.80039999999999800195
11 0.640 20222580 20381696 1018836 7.20040000000000279812
12 0.712 20222580 20398080 1019655 6.80049999999999510436
13 0.780 20222580 20414464 1020474 6.80039999999999711378
14 0.848 20222580 20430848 1021293 6.40040000000000031122
15 0.912 20222580 20447232 1022112 6.40039999999999498215
16 0.976 20222580 20463616 1022931 6.80040000000000333102
17 1.044 20222580 20480000 1023750 6.80039999999999711378
18 1.112 20222580 20496384 1024569 7.20050000000000167688
19 1.184 20222580 20512768 1025388 6.80039999999999089653
20 1.252 20222580 20529152 1026207 6.80039999999999533742
21 1.320 20222580 20545536 1027026 7.20049999999999990052
22 1.392 20222580 20561920 1027845 6.80039999999999000835
23 1.460 20222580 20578304 1028664 6.80039999999999356106
24 1.528 20222580 20594688 1029483 7.20049999999999812417
25 1.600 20222580 20611072 1030302 7.20039999999998858726
26 1.672 20222580 20627456 1031121 6.40039999999999231761
27 1.736 20222580 20643840 1031940 7.20049999999999723599
28 1.808 20222580 20660224 1032759 6.80040000000000954827
29 1.876 20222580 20676608 1033578 6.80039999999999267288
30 1.944 20222580 20692992 1034397 6.80050000000000132161
31 2.012 20222580 20709376 1035216 6.80040000000001310099
32 2.080 20222580 20725760 1036035 7.20039999999999569269
33 2.152 20222580 20742144 1036854 6.40040000000002162750
34 2.216 20222580 20758528 1037673 6.80050000000000398614
35 2.284 20222580 20774912 1038492 6.40040000000001718661
36 2.348 20222580 20791296 1039311 7.20040000000000013358
37 2.420 20222580 20807680 1040130 6.80039999999998112656
38 2.488 20222580 20824064 1040949 6.80050000000000753886
39 2.556 20222580 20840448 1041768 6.80040000000002020641
40 2.624 20222580 20856832 1042587 6.80040000000000244285
----------------------------------------
http://redmine.ruby-lang.org/issues/show/641
----------------------------------------
http://redmine.ruby-lang.org