Activity
From 05/16/2018 to 05/22/2018
05/22/2018
-
11:39 PM Bug #14772 (Closed): Revision 63453 triggers 3 Active Support test failures
- Closing since https://github.com/rails/rails/pull/32938/commits/0fcb921a65e615c301450d7820b03473acd53898 addressed th...
-
10:43 PM Bug #14464: MJIT & MinGW / gcc 7.3.0 seemed ok as of 62337, fail or skip after
- @k0kubun,
Just ran with 63492, all passed with 5 skips, partial log:
```
1) Skipped:
TestJIT#test_compile_i... -
09:24 PM Feature #14781: Enumerator.generate
- I agree with the proposal and name.
I would like to recommend and suggest you to add it to the next ruby
develope... -
10:23 AM Feature #14781 (Closed): Enumerator.generate
- This is alternative proposal to `Object#enumerate` (#14423), which was considered by many as a good idea, but with un...
-
08:22 PM Feature #14718: Use jemalloc by default?
- If jemalloc 5.1.0 is using too much memory, you can tune its arenas in the same way as glibc:
~~~
MALLOC_CONF=nar... -
04:25 PM Feature #14718: Use jemalloc by default?
- Another graph from a production Rails app:

https:/... -
01:22 AM Feature #14718: Use jemalloc by default?
- On 05/18/2018 10:55 PM, [email protected] wrote:
> Issue #14718 has been updated by bluz71 (Dennis B).
>
>
>... -
03:48 PM Revision 3d90e2ae (git): test_jit.rb: propagate suspicious stderr
- of child ruby process to parent stderr using `Kernel#warn`.
This fixes a warning in {set,get}classvariable as well.
... - 03:39 PM Revision e42b4ae5 (git): * 2018-05-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:39 PM Revision 50c1655a (git): mjit.c: show error message on remove failure
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:11 PM Bug #14782 (Closed): binding.eval("proc") with &:to_s dumps core
- The following program dumps core.
```
def foo
binding.eval("proc")
end
foo(&:to_s)
```
VM_ENV_PROCVAL se... - 12:24 PM Revision db5a6ee4 (git): rename temporary dummy target
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:34 AM Bug #14747: uninitialized constant Gem::PathSupport
- janfri (Jan Friedrich) wrote:
> Hey this is my patch. ;-) I did the same and it worked for me. But for the actual ... -
08:36 AM Bug #14747: uninitialized constant Gem::PathSupport
- duerst (Martin Dürst) wrote:
> I have been able to 'solve' this problem by adding
> ```
> require 'rubygems/path-s... -
07:31 AM Revision bcdf08dd (git): export rb_hash_bulk_insert
- msgpack-ruby requests this function public because they want to
create a hash with bulk key value pairs.
git-svn-id:... -
05:56 AM Bug #14780 (Closed): In function ‘tr_trans’: warning: unused variable ‘old’
- normalperson (Eric Wong) wrote:
> Can you try r63487? It uses the MAYBE_UNUSED macro which I hope
> works for ... -
04:12 AM Bug #14780: In function ‘tr_trans’: warning: unused variable ‘old’
- [email protected] wrote:
> * ruby -v: ruby 2.6.0dev (2018-05-21 trunk 63475) [x86_64-cygwin]
Can you try r6... -
03:59 AM Bug #14780 (Closed): In function ‘tr_trans’: warning: unused variable ‘old’
- I get the following warnings when compiling string.c:
```
compiling string.c
string.c: In function ‘tr_trans’:
... - 01:58 AM Revision 2fd1525b (git): string.c: MAYBE_UNUSED to suppress warnings for `old`
- Building with HAVE_MALLOC_USABLE_SIZE currently makes
SIZED_REALLOC_N ignore the old size arg.
git-svn-id: svn+ssh:/... - 01:42 AM Revision 2be65894 (git): gc.c: use RUBY_DEFAULT_FREE instead of open-coded constant
- Improves readability and makes future changes easier
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63486 b2dd03c... - 01:13 AM Revision 0a4be5be (git): string.c: size hints for free and realloc calls
- Another part of the plan to reduce dependencies on malloc_usable_size:
https://bugs.ruby-lang.org/issues/10238
git-s... - 12:44 AM Revision 1c1ff52f (git): parse.y: use ruby_sized_xfree and SIZED_REALLOC_N
- Another part of the plan to reduce dependencies on malloc_usable_size
which costs us speed: https://bugs.ruby-lang.or...
05/21/2018
- 09:40 PM Revision 4f535798 (git): load.c: use ruby_sized_xfree for calloc-ed RArray VALUE
- IMHO, this increases readability, too, since it's not
immediately clear that the object is on the malloc heap
and not... - 09:21 PM Revision 1588dc84 (git): * 2018-05-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:21 PM Revision b0200a5e (git): array.c: use ruby_sized_free and SIZED_REALLOC_N
- Part of the plan to reduce dependencies on malloc_usable_size
which costs us speed: https://bugs.ruby-lang.org/issues... -
02:32 PM Revision af71ee55 (git): mjit.h: skip accessing mjit_opts if JIT-ed
- We want to skip checking `mjit_opts.wait` for already JIT-ed case.
Optcarrot is slightly improved like 65.20 fps -> 6... - 12:36 PM Revision 0ff7fed7 (git): mention about `goruby` target in help
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:32 PM Revision 2eebf5a1 (git): now can do `make goruby`
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:25 PM Revision 7cdc78e2 (git): ruby.c: localize a variable
- * ruby.c (ruby_init_loadpath_safe): moved libdir to the block
where it is used.
git-svn-id: svn+ssh://ci.ruby-lang... -
12:24 PM Revision 68b87aed (git): ruby.c: runtime_libruby_path
- * ruby.c (runtime_libruby_path): hoisted out platform dependent
routine to get the loaded runtime library path.
c... -
12:00 PM Bug #14772: Revision 63453 triggers 3 Active Support test failures
- https://github.com/rails/rails/issues/32945 has been opened.
-
11:52 AM Bug #14772: Revision 63453 triggers 3 Active Support test failures
- Hi,
Based on the feedback and commit message, I have created `alias_method :range?, :include?` just below the `inc... -
11:32 AM Bug #14747 (Assigned): uninitialized constant Gem::PathSupport
- I have been able to 'solve' this problem by adding
```
require 'rubygems/path-support'
```
at the start (around l... -
09:00 AM Feature #14778 (Feedback): Make Object#dup accept a block
- Not an immediate NG, but curious why we should do this in core, instead of your gem?
Would you mind telling us the... -
06:32 AM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
- [email protected] wrote:
> I tried to change Mike's script to use I/O, and I've created a
> script that works bes... -
05:19 AM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
- Mike,
Yusuke script is still interesting for the datum that a Ruby script with `MALLOC_ARENA_MAX=2` consumed **mor... - 06:20 AM Revision c8d17d71 (git): added `f` for 1 byte FizzBuzz because Hexagony has such feature
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:22 AM Feature #14767: [PATCH] gc.c: use monotonic counters for objspace_malloc_increase
- Юрий Соколов <[email protected]> wrote:
> > Eric Wong <[email protected]> wrote:
> >
> > Reverted for no... -
04:44 AM Bug #14779: Windows - Casing issues - __FILE__, __dir__
- MSP-Greg (Greg L) wrote:
> I guess I'm missing something. The code generating the output shown above is contained i... -
04:07 AM Bug #14779: Windows - Casing issues - __FILE__, __dir__
- So RubyGems is comparing (via `==`) a known path (based on `RbConfig` info) and the location of a gemspec file. One ...
-
03:35 AM Bug #14779: Windows - Casing issues - __FILE__, __dir__
- MSP-Greg (Greg L) wrote:
> Please review my message. This has nothing to do with PATH. I noticed it when in RubyGe... -
03:30 AM Bug #14779: Windows - Casing issues - __FILE__, __dir__
- usa (Usaku NAKAMURA) wrote:
> `__FILE__` (and `__dir__`) is derived from `argv[0]`, or if it's not contain path info... -
03:12 AM Bug #14779 (Rejected): Windows - Casing issues - __FILE__, __dir__
- `__FILE__` (and `__dir__`) is derived from `argv[0]`, or if it's not contain path information, derived from `PATH` en...
-
01:50 AM Bug #14779: Windows - Casing issues - __FILE__, __dir__
- Sorry, just to be clear, the casing in question is the first letter of Ruby in the path.
-
01:48 AM Bug #14779 (Rejected): Windows - Casing issues - __FILE__, __dir__
- For an unknown time, an informational Appveyor repo I have ([here](https://ci.appveyor.com/project/MSP-Greg/appveyor-...
-
12:41 AM Revision 687308cf (git): explicit cast to void* required for %p
- No automatic type promotion is expected for variadic arguments.
You have to do it by hand.
git-svn-id: svn+ssh://c...
05/20/2018
-
09:16 PM Bug #13754: bigdecimal with lower precision that Float
- That is the same problem as here: https://bugs.ruby-lang.org/issues/8826
#/ is the same method as #quo (according to... -
06:55 PM Bug #8826: BigDecimal#div and #quo different behavior and inconsistencies
- How should #div work? The above behavior is still in Ruby 2.5.1.
- 06:36 PM Revision 300524a0 (git): goruby build was broken
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:36 PM Revision 90a5e34a (git): should propagate V to sub make
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:13 PM Revision 9fe9ffb8 (git): goruby build was broken
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:09 PM Revision 466c78d5 (git): * 2018-05-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:09 PM Revision 8d42481e (git): get rid of unused variable warning.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:58 PM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
- Yusuke, your script doesn't create any memory fragmentation, it throws away everything after 1600 and reads the exact...
-
04:17 PM Bug #14387: Ruby 2.5 を Alpine Linux で実行すると比較的浅めで SystemStackError 例外になる
- it's frustrating that this is still open after four months. alpine-ruby-2.5 is borderline unusable with this still i...
-
06:29 AM Bug #14772 (Feedback): Revision 63453 triggers 3 Active Support test failures
- It seems `cover?` semantics, rather than `include?`'s one.
Isn't it possible to define `cover?` too, or make the ali... -
01:17 AM Feature #14778 (Feedback): Make Object#dup accept a block
- I'd like to use `Object#dup` with a block, which is equivalent to `dup.tap`.
An example for `dup.tap` is here.
... -
12:56 AM Feature #14423: Enumerator from single object
- I agree with the abstract reasons, but for exactly those reasons I think #enumerate is a confusing and poorly chosen ...
05/19/2018
-
06:13 PM Feature #14249: Remove str[match_str]
- As Kentaro showed, there are use cases for [], as-in replacement.
It is quite concise so I think it may be useful ... -
03:50 PM Feature #14777: Add Range#offset ?
- Hello. I don't have any strong opinion about this feature, but I guess I would welcome such feature if it used standa...
-
11:17 AM Feature #14777: Add Range#offset ?
- I personally prefer the name .offset() here over .shift(), mostly because
my brain remembers Array shift. But the na... -
09:22 AM Feature #14777 (Open): Add Range#offset ?
- Hi,
As mentioned in https://bugs.ruby-lang.org/issues/14473#note-17 an addition to Range that we find useful is an... -
02:03 PM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
- I tried to change Mike's script to use I/O, and I've created a script that works best with glibc with no MALLOC_ARENA...
-
03:04 AM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
- As discussed in [#14718](https://bugs.ruby-lang.org/issues/14718) I am now a strong supporter of this change.
My p... -
10:43 AM Feature #14423: Enumerator from single object
- @inopinatus I updated the README with [reasoning about name](https://github.com/zverok/object_enumerate#upd-naming). ...
-
05:27 AM Bug #7215: Remaining messages on OpenSSL error queue after Certificate#verify
- Thanks for fixing this issue! It has been resolved on the PostgreSQL side as well: https://git.postgresql.org/gitweb/...
-
03:43 AM Revision 548896c9 (git): iseq.c: Fix segfault when debug is not 0
- * iseq.c (get_insn_info_succinct_bitvector): If
VM_CHECK_MODE is 0, `body->insns_info.positions` is
freed in `rb_... -
02:55 AM Feature #14718: Use jemalloc by default?
- normalperson (Eric Wong) wrote:
> Reading some glibc mailing list (libc-alpha) posts last year,
> I remember exce... -
02:47 AM Revision 6f3bdbf6 (git): vm_core.h: Remove duplicate declaration
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:55 AM Bug #14772: Revision 63453 triggers 3 Active Support test failures
- ActiveSupports's Range#include? is defined as follows:
https://github.com/rails/rails/blob/870766017ab20541a1e3b10... -
01:06 AM Feature #14724: chains of inequalities
- As a mathematician, this suggestion really has my attention.
First, I almost never write a <= b && b < c. What I ... - 12:22 AM Revision e89ba16a (git): * 2018-05-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:22 AM Revision 36b183ce (git): fileutils.rb: split fu_windows?
- * lib/fileutils.rb (FileUtils::StreamUtils_#fu_windows?): select
the method definition for each platforms, and drop...
05/18/2018
-
11:46 PM Bug #14775 (Rejected): Unable to Post CR from my Mac - keep getting the "Segmentation fault" - Abort trap: 6 issue
- ```
/Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json/ext/parser.bundle: [BUG] Segmentation fault
ruby ... -
02:45 PM Bug #14775 (Rejected): Unable to Post CR from my Mac - keep getting the "Segmentation fault" - Abort trap: 6 issue
- Hello team,
Unable to Post CR from my Mac - keep getting the "Segmentation fault" - Abort trap: 6 issue.
Can you ... -
11:02 PM Feature #14423: Enumerator from single object
- > Object#generate to avoid confusing name of #enumerate.
I think #generate as name is problematic too. We may expe... -
10:47 PM Feature #14423: Enumerator from single object
looks like syntactic sugar for yield_self into an enumerator, c.f.
```ruby
1.yield_self { |value| Enumerator.ne...-
03:39 PM Feature #14423: Enumerator from single object
- As asked by @Shyouhei at Ruby dev meeting log, I released it as an [experimental gem](https://github.com/zverok/objec...
-
10:44 PM Feature #14724: chains of inequalities
- Here is the link to the discussion at the developer meeting or rather the
log written:
https://docs.google.com/do... -
10:26 PM Misc #14698: DevelopersMeeting20180517Japan
- Thanks for the link to the log shyouhei!
-
01:27 AM Misc #14698: DevelopersMeeting20180517Japan
- And here you are the log https://docs.google.com/document/d/e/2PACX-1vR2LdBE87iEcEsVuUUr0G2L6LxSPeGMg_0oeHeh0HYmX36iI...
-
09:24 PM Feature #10238: todo: remove dependency on malloc_usable_size
- work-in-progress patch to gc.c (much more todo)
-
06:52 PM Bug #14745: High memory usage when using String#replace with IO.copy_stream
- Good to know the destination buffer to #update helped :>
> But I can imagine `String#exchange!` being a useful to... -
06:12 PM Feature #14767: [PATCH] gc.c: use monotonic counters for objspace_malloc_increase
- [email protected] wrote:
> ```C
> size_t add = ATOMIC_SIZE_EXCHANGE(mc->add, 0);
> size_t sub = ATOMIC_S... -
12:33 PM Feature #14767: [PATCH] gc.c: use monotonic counters for objspace_malloc_increase
- ```C
size_t add = ATOMIC_SIZE_EXCHANGE(mc->add, 0);
size_t sub = ATOMIC_SIZE_EXCHANGE(mc->sub, 0);
```
... -
08:52 AM Feature #14767: [PATCH] gc.c: use monotonic counters for objspace_malloc_increase
- Eric Wong <[email protected]> wrote:
> OK. Also, did we ever consider signed type (`ssize_t`) for malloc
> cou... -
08:29 AM Feature #14767 (Closed): [PATCH] gc.c: use monotonic counters for objspace_malloc_increase
- Applied in changeset trunk|r63463.
----------
gc.c: use monotonic counters for objspace_malloc_increase
atomic_sub_... -
06:09 PM Bug #14774: Segmentation fault with Curb gem
- This may be a duplicate of #12289
-
10:30 AM Bug #14774 (Third Party's Issue): Segmentation fault with Curb gem
- I have reported this as a bug with the gem author, but have reported it here too as the dump mentioned it may be a bu...
-
10:45 AM Feature #14097: Add union and difference to Array
- matz (Yukihiro Matsumoto) wrote:
> I am not sure your real intention. Do you want mutating variation of or-operator?... -
09:13 AM Feature #14758: Add a first-class support for isolated bounded packages / modules / contexts
- dsferreira (Daniel Ferreira) wrote:
> > I guess that this is usually a bad idea, but it depends on what you are us... -
08:19 AM Feature #14758: Add a first-class support for isolated bounded packages / modules / contexts
- grzesiek (Grzegorz Bizon) wrote:
> I guess that this is usually a bad idea, but it depends on what you are using y... -
09:13 AM Feature #14723: [WIP] sleepy GC
- > I'll have to work on increasing granularity of the marking and
> sweeping (which may hurt throughput in apps with... -
07:33 AM Feature #14723: [WIP] sleepy GC
- [email protected] wrote:
> Overall, Sleepy GC gets 169.4 req/sec mean throughput with
> variance of 6.4,... - 08:40 AM Revision f633d282 (git): Revert "gc.c: use monotonic counters for objspace_malloc_increase"
- There were major size regressions I failed to notice before in:
bm_array_sample_100k__6k
bm_array_sa... - 08:29 AM Revision 14fb10a9 (git): gc.c: use monotonic counters for objspace_malloc_increase
- atomic_sub_nounderflow is expensive and objspace_malloc_increase
was showing up near the top of some `perf` profiles.... -
08:04 AM Feature #14718: Use jemalloc by default?
- [email protected] wrote:
> P.S. I doubt that glibc will ever be *fixed* since the current
> behaviour suits th... -
04:10 AM Feature #14718: Use jemalloc by default?
- I agree Mike.
Close this one and implement [#14759](https://bugs.ruby-lang.org/issues/14759) with the caveat to re... -
03:49 AM Feature #14718: Use jemalloc by default?
- Dennis, your results match my results (Ubuntu 18.04, gcc 7.3, glibc 2.27). jemalloc 3.6 is slow but space efficient....
-
03:19 AM Feature #14718: Use jemalloc by default?
- As much as it is a code-smell I too now favour hard-coding `M_ARENA_MAX=2` directly in Ruby whilst the GVL is in effe...
-
03:13 AM Feature #14718: Use jemalloc by default?
- I have taken Mike's script, increased the `THREAD_COUNT` to 20 and run it on my Linux box (Intel i5-4590 quad-core, 1...
-
03:10 AM Feature #14718: Use jemalloc by default?
- @mperham, @mame, @normalperson,
glibc version 2.10 (2009) malloc was changed to favour scalibility in preference t... - 08:01 AM Revision 74724107 (git): thread.c (rb_wait_for_single_fd): do not leak EINTR on timeout
- We must not leak EINTR to users in case a signal hits a
ppoll/select caller right when (or just before) the timeout
e... -
06:02 AM Bug #14772: Revision 63453 triggers 3 Active Support test failures
- How does Active Support extend `Range`?
-
01:13 AM Bug #14772 (Closed): Revision 63453 triggers 3 Active Support test failures
- ## Steps to reproduce:
~~~ text
git clone https://github.com/rails/rails.git
cd rails/activesupport
sudo gem in... -
04:52 AM Bug #14773 (Rejected): SecureRandom.alphanumeric Uses Insecure Underlying Implementation
- You misread random.c.
When those methods are called on `SecureRandom`, as it is not an instance of `Random` but a ... -
02:59 AM Bug #14773 (Rejected): SecureRandom.alphanumeric Uses Insecure Underlying Implementation
- I believe that the implementation of `SecureRandom.alphanumeric` uses an underlying PRNG that is not the same as the ...
-
03:27 AM Feature #11161: Proc/Method#rcurry working like curry but in reverse order
- zverok (Victor Shepelev) wrote:
> > It needs better (practical) usages to show usefulness of this proposal.
>
> @... -
03:24 AM Feature #14390: UnboundMethod#to_proc
- Thank you for the explanation. So as far as I understand what you want to do is not just UnboundMethod#to_proc, but a...
-
01:39 AM Revision c6da9cad (git): Merge RubyGems 2.7.7
- see release details here: https://blog.rubygems.org/2018/05/18/2.7.7-released.html
git-svn-id: svn+ssh://ci.ruby-lan... -
12:40 AM Revision ecedebab (git): tool: fixed shadowing variables
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:38 AM Revision 36bc8c0b (git): tool: removed unused variables
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:37 AM Revision 2b7bde7e (git): redmine-backporter.rb: suppress a warning [ci skip]
- * tool/redmine-backporter.rb (StringScanner.readline): use `true`
to suppress a "literal in condition" warning.
gi... -
12:36 AM Revision 4dc5b6ff (git): parse.y: relax literal in condition warnings
- * parse.y (cond0): do not warn literal boolean (true and false) in
condition expressions, as they are often used as...
05/17/2018
-
11:26 PM Feature #14680: Adding +@ and -@ to hash and array
- If `-@` is supposed to return a frozen *copy*, is that patch really doing that? The tests don't seem to ensure that. ...
-
10:43 PM Feature #14771: Add method to create DNS resource from data string
- The other record where it could be useful would be the TXT record which required to use a chunked string format.
-
01:16 PM Feature #14771: Add method to create DNS resource from data string
- Although I myself have not used/needed Resolv::DNS::Resource yet,
if the proposed #create method does not conflict w... -
12:36 PM Feature #14771: Add method to create DNS resource from data string
- The suggested code should be (missing `resource =`):
```
if klass = Resolv::DNS::Resource.get_class(answe... -
12:34 PM Feature #14771 (Open): Add method to create DNS resource from data string
- I recently played around with DNS over HTTPS.
I found that it's a little bit tricky to generate the appropriate re... -
09:02 PM Feature #14723: [WIP] sleepy GC
- I've now run a lot more batches of Rails Ruby Bench - 100 batches of 10,000 HTTP requests/batch. I am *definitely* se...
-
07:28 PM Misc #14769: DevelopersMeeting20180621Japan
- Please comment with the following format:
```
* [Ticket info] Ticket-Title (proposer)
* Short-comment
```
... -
12:10 PM Misc #14769 (Closed): DevelopersMeeting20180621Japan
- Date: 2018/06/21 (Thu)
Time: 14:00-18:00 (JST)
Place: Cookpad Inc. (Tokyo, Japan)
Sign-up: https://ruby.connpass.c... -
05:31 PM Feature #14718: Use jemalloc by default?
- Yusuke, I'm not sure, I can't explain that. It does get worse as the machine gets larger. A machine with more cores...
- 05:11 PM Revision a2015838 (git): * 2018-05-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:11 PM Revision 320484d0 (git): _mjit_compile_send.erb: disable attr_reader inline
- for now, which was committed in r63333.
Currently trunk's JIT seems to have some wrong behaviors, and this is
the mo... -
04:46 PM Feature #14473: Add Range#subrange?
- I have no particular opinion (neither pro nor con) on the issue itself.
On the comment:
> [..] this adds anothe... -
02:02 PM Feature #14473: Add Range#subrange?
- Hi Matz!
A slightly contrived example - imagine we want to filter candidates for a new job position and harshly re... -
07:38 AM Feature #14473 (Feedback): Add Range#subrange?
- Any (real-world) use-case?
Matz.
-
04:42 PM Feature #11747: "bury" feature, similar to 'dig' but opposite
- matz (Yukihiro Matsumoto) wrote:
> It's not clear to generate either Hash, Array, or Struct (or whatever) to bury a ... -
01:07 PM Feature #14097: Add union and difference to Array
- Thank you for the proposal.
I am not sure your real intention. Do you want mutating variation of or-operator?
Or ... -
12:36 PM Revision 8487c63f (git): rb_parser_printf declaration
- * node.h (rb_parser_printf): delcare as PRINTF_ARGS.
* parse.y (parser_token_value_print): cast to adjust to %c.
gi... -
12:31 PM Misc #14698 (Closed): DevelopersMeeting20180517Japan
-
12:28 PM Misc #14770 (Open): [META] DevelopersMeeting
- A meta ticket to organize DevelopersMeeting tickets.
https://bugs.ruby-lang.org/projects/ruby/wiki#Developer-Meetings -
12:28 PM Bug #14745: High memory usage when using String#replace with IO.copy_stream
- > it looks like @stream_cipher.update can take a second destination arg (like IO#read and friends) and maybe that hel...
-
11:46 AM Feature #14390: UnboundMethod#to_proc
- @shyouhei the point is in gradual enchancing Ruby's approach to functional/declarative chaining.
Let's look at thi... -
06:50 AM Feature #14390 (Feedback): UnboundMethod#to_proc
- > ```
> map(&Hash.instance_method(:dig).rcurry[:foo :bar, :baz])
> ```
What's wrong with `map{|i| i.dig(:foo :... -
11:45 AM Bug #14765: Arguments passed to Open3.popen3() are not interpreted as wildcards
- ```ruby
Open3.popen3("cat", *Dir.glob("*.yml"))
``` -
09:43 AM Bug #14765: Arguments passed to Open3.popen3() are not interpreted as wildcards
- popen3 uses Process.spawn and this does show this in the docs:
commandline : command line string... -
09:27 AM Bug #14765: Arguments passed to Open3.popen3() are not interpreted as wildcards
- Suppose I have a variable
`x = "abc"`
I need to cat a file `abc.yml` I write
` Open3.popen3("cat #{x}.yml")` ... -
09:21 AM Bug #14765: Arguments passed to Open3.popen3() are not interpreted as wildcards
- Besides, the array form is to get rid of the expansion by the shell, which might cause security issues.
-
07:39 AM Bug #14765 (Rejected): Arguments passed to Open3.popen3() are not interpreted as wildcards
- wildcard expansion is done at shell.
If you need shell, specify a command line as one string. -
06:44 AM Bug #14765: Arguments passed to Open3.popen3() are not interpreted as wildcards
- Sorry my bad. That was typing error while raising the issue. Its actually `Open3.popen3()`. Its mentioned correctly i...
-
12:21 AM Bug #14765: Arguments passed to Open3.popen3() are not interpreted as wildcards
- What's `Open3.popen4`?
The bundled library open3.rb does not provide such method.
Maybe a third party's method? -
11:24 AM Feature #14758: Add a first-class support for isolated bounded packages / modules / contexts
- Thank you for your replies Daniel, Robert!
> Also I only test the API. I don't unit test internal modules or class... -
10:50 AM Feature #14105: Introduce xor as alias for Set#^
- gotoken (Kentaro Goto) wrote:
> By the way I recently wrote this set theoretical operation to find all uncommon file... -
09:45 AM Feature #14105: Introduce xor as alias for Set#^
- knu (Akinori MUSHA) wrote:
> I'm afraid aliasing `^` to `xor` is not like aliasing `&` to `intersection` and `|` to ... -
08:52 AM Feature #14105: Introduce xor as alias for Set#^
- I'm afraid aliasing `^` to `xor` is not like aliasing `&` to `intersection` and `|` to `union`, because the latter tw...
-
08:30 AM Feature #14105 (Assigned): Introduce xor as alias for Set#^
-
10:46 AM Feature #14575 (Closed): Switch Range#=== to use cover? instead of include?
- Applied in changeset trunk|r63453.
----------
range.c: === by cover?
* range.c (range_eqq): switch `Range#===` to u... -
07:21 AM Feature #14575: Switch Range#=== to use cover? instead of include?
- Even though we still have compatibility concerns, the performance benefit can be valuable.
Let us try it to see if w... -
10:46 AM Revision 989e07c0 (git): range.c: === by cover?
- * range.c (range_eqq): switch `Range#===` to use `cover?` instead
of `include?`. [Feature #14575]
git-svn-id: svn... -
10:17 AM Feature #14423: Enumerator from single object
- @matz
Basically, `Object#enumerate` is a method for replace _lots_ of `loop` and `while` with proper `Enumerator` (... -
07:03 AM Feature #14423: Enumerator from single object
- I am not sure how much we need such method. Any (real-world) use-case?
Matz.
-
10:08 AM Feature #14697: Introducing Range#% as an alias to Range#step
- I personally am not hugely comfortable with endless Range, but I understand
the reasoning given by mame for it. Ther... -
05:36 AM Feature #14697: Introducing Range#% as an alias to Range#step
- It seems no one has a strong objection against `Range#%`. Accepted.
Matz.
-
09:49 AM Feature #11161: Proc/Method#rcurry working like curry but in reverse order
- > It needs better (practical) usages to show usefulness of this proposal.
@akr I believe the code in my comment pr... -
06:47 AM Feature #11161 (Rejected): Proc/Method#rcurry working like curry but in reverse order
- We discussed this issue at DevelopersMeeting20180517Japan [Misc #14698].
It needs better (practical) usages to sho... -
09:45 AM Misc #14768: Add documentation for || and &&
- Adding more documentation/references is always good IMO, so
+1 on the issue. Perhaps even adding a new page called
... -
08:41 AM Misc #14768 (Open): Add documentation for || and &&
- The Ruby documentation doesn't seem to cover `||` and `&&`.
The only references I could find are:
http://ruby-d... -
08:56 AM Feature #5512 (Rejected): Integer#/ の改訂
- Too big incompatibility. Abandoned.
Matz.
-
08:53 AM Feature #5482 (Rejected): Rubinius as basis for Ruby 2.0
- We are working Ruby 3.0 now.
-
08:51 AM Feature #5400: Remove flip-flops in 2.0
- Finally, we are going to remove it. 2.6 will warn flip-flop usage of ranges.
Matz.
-
08:47 AM Feature #5400: Remove flip-flops in 2.0
- judofyr (Magnus Holm) wrote:
> Nobody knows them. Nobody uses them. Let's just get rid of flip-flops, shall we?
I... -
08:21 AM Misc #14760: cross-thread IO#close semantics
- I feel cross-thread IO#close is not reliable way to interrupt other threads.
So, I implemented IO.copy_stream withou... -
07:40 AM Bug #14345 (Closed): http_proxy setting should respect both parent domain and subdomain
- Applied in changeset trunk|r63452.
----------
http_proxy setting should respect both parent domain and subdomain
UR... -
07:40 AM Revision d50ecb63 (git): http_proxy setting should respect both parent domain and subdomain
- URI::Generic: Respect no_proxy for both parent domain and
subdomains It is now possible to add just the subdomains fo... -
07:27 AM Bug #14450: Enchance MatchData docs
- @stomar
I added you to docs group.
Can you proofread and commit this?
Thanks. -
06:45 AM Feature #13581: Syntax sugar for method reference
- Out of [ruby-core:85038](https://bugs.ruby-lang.org/issues/13581#change-69758) candidates, `.:` looks best to me (fol...
-
05:56 AM Feature #6284 (Open): Add composition for procs
- Considering the combination of OOP and FP, it seems a good idea to adding both forward and reverse combination of pro...
-
05:21 AM Bug #14699: Subtle behaviors with endless range
- Need to be discussed with mrkn before December.
- 04:20 AM Revision 5a1dfb04 (git): vm_trace: implement postponed_jobs as st_table
- st_table allows the use of st_shift to act as an order-preserving
queue while allowing fast lookups to prevent duplic... -
03:48 AM Misc #14764 (Closed): [PATCH] vm_trace: remove rb_postponed_job_t->flags
- Applied in changeset trunk|r63450.
----------
vm_trace: remove rb_postponed_job_t->flags
This field has been taking... - 03:48 AM Revision b86daec2 (git): vm_trace: remove rb_postponed_job_t->flags
- This field has been taking up space for 5 years and never used.
Save 8kb of memory on x86-64 for now. If we ever car... - 03:48 AM Revision 61d4df89 (git): vm_trace.c: spelling fix: PJRR_SUCESS => PJRR_SUCCESS
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:03 AM Feature #14767: [PATCH] gc.c: use monotonic counters for objspace_malloc_increase
- > Btw, I noticed I leftover a ssize_t usage in my patch
> to gc_reset_malloc_info, will fixup if I commit this.
... -
02:42 AM Feature #14767: [PATCH] gc.c: use monotonic counters for objspace_malloc_increase
- [email protected] wrote:
> On last comment, I thought these counters are not reset forever.
> (because I searched only... -
02:25 AM Feature #14767: [PATCH] gc.c: use monotonic counters for objspace_malloc_increase
- sorry I missed the following line.
> ssize_t inc = monoctr_xchg0(&objspace->malloc_params.m);
So no problem.
... -
02:12 AM Feature #14767: [PATCH] gc.c: use monotonic counters for objspace_malloc_increase
- [email protected] wrote:
> The only one problem is, if we have a bug (and it can be. because nobody test malloc/free co... -
01:41 AM Feature #14767: [PATCH] gc.c: use monotonic counters for objspace_malloc_increase
- Honestly speaking, I forget the discussions :p
The only one problem is, if we have a bug (and it can be. because n... -
12:14 AM Feature #14767 (Closed): [PATCH] gc.c: use monotonic counters for objspace_malloc_increase
- gc.c: use monotonic counters for objspace_malloc_increase
atomic_sub_nounderflow is expensive and objspace_malloc_...
05/16/2018
-
11:54 PM Feature #14718: Use jemalloc by default?
- mperham (Mike Perham) wrote:
> I've created a script which attempts to reproduce memory fragmentation.
Great! I ... -
08:12 PM Feature #14718: Use jemalloc by default?
- Yeah, it seems that way. Those results are with jemalloc 3.6.0 (which is what Ubuntu ships), a version 4 years old. ...
-
07:22 PM Feature #14718: Use jemalloc by default?
- mperham (Mike Perham) wrote:
> Results, it shows a significant reduction in RSS when run with jemalloc or MALLOC_ARE... -
06:45 PM Feature #14718: Use jemalloc by default?
- I've created a script which attempts to reproduce memory fragmentation.
~~~
=begin
This script attempts to repro... -
09:13 AM Feature #14718: Use jemalloc by default?
- [email protected] wrote:
> Personally I don't like the prospect of a hard-coded arena
> count deep in the Ruby... -
05:54 AM Feature #14718: Use jemalloc by default?
- mperham (Mike Perham) wrote:
> Dennis, my focus for this issue is fixing the memory bloat problem that plagues 1000s... -
05:29 AM Feature #14718: Use jemalloc by default?
- Dennis, my focus for this issue is fixing the memory bloat problem that plagues 1000s of Rails apps today, not a hypo...
-
05:14 AM Feature #14718: Use jemalloc by default?
- mperham (Mike Perham) wrote:
> An alternative is to tune glibc by reducing the number of arenas. Call this on star... -
05:11 AM Feature #14718: Use jemalloc by default?
- @mperham,
Noah Gibbs has a Discourse based benchmark that could be useful here in regards to producing a test-case... -
11:36 PM Feature #14766: Indicate `find_all` and `select` methods are aliases.
- FYI, I already made the documentation change, it would just need to be cherry picked: https://github.com/frewsxcv/rub...
-
05:40 PM Feature #14766: Indicate `find_all` and `select` methods are aliases.
- Seems to make sense.
Here is a link to the API documentation for Enumerable reduce:
https://ruby-doc.org/core/E... -
04:18 PM Feature #14766 (Closed): Indicate `find_all` and `select` methods are aliases.
- This matches the documentation for `Enumerable::inject` and `Enumerable::reduce` which are also aliases.
https://g... - 09:54 PM Revision 0f0311df (git): thread: reduce GET_THREAD calls
- This allows native_sleep to use less stack (80 -> 64 bytes on
x86-64) for GVL_UNLOCK_BEGIN/END. For future APIs, we ... -
08:39 PM Misc #14762 (Closed): [PATCH] gc.c: use ccan/list
- Applied in changeset trunk|r63447.
----------
gc.c: use ccan/list
This seems to improve the readability of gc.c a s... -
09:42 AM Misc #14762: [PATCH] gc.c: use ccan/list
- [email protected] wrote:
> No strong opinion.
>
> They are memo:
>
> I tried to reorder sweeping list by (a) "ful... -
06:01 AM Misc #14762: [PATCH] gc.c: use ccan/list
- No strong opinion.
They are memo:
I tried to reorder sweeping list by (a) "full page (all slots are living)" an... -
01:09 AM Misc #14762 (Closed): [PATCH] gc.c: use ccan/list
- This seems to improve the readability of gc.c a small amount
and it doesn't have any measurable performance impact.
... - 08:39 PM Revision a3e73d13 (git): gc.c: use ccan/list
- This seems to improve the readability of gc.c a small amount
and it doesn't have any measurable performance impact.
... - 06:55 PM Revision 3f7df231 (git): * 2018-05-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:55 PM Revision db4cba88 (git): lib/optparse.rb: improve docs
- * lib/optparse.rb: [DOC] simplify shell prompt in examples;
other minor improvements.
git-svn-id: svn+ssh://ci.rub... -
05:18 PM Misc #14698: DevelopersMeeting20180517Japan
- ana06 (Ana Maria Martinez Gomez) wrote:
> @shyouhei
>
> > I think there are chances for us to welcome only one p... -
03:04 PM Misc #14698: DevelopersMeeting20180517Japan
- @shyouhei
> I think there are chances for us to welcome only one person but very skeptic if it works for, say, 20... -
01:50 PM Misc #14698: DevelopersMeeting20180517Japan
- Hello, this is my private feeling so please don't take this as a canon.
I think it's a good idea to make the meeti... -
09:31 AM Misc #14698: DevelopersMeeting20180517Japan
- @ko1 I edited my comment, I hope it is fine now. ;)
BTW, is it possible I join the meeting? It would be fine if I ... -
08:01 AM Misc #14698: DevelopersMeeting20180517Japan
- Hi all,
The format is:
```
* [Ticket info] Ticket-Title (proposer)
* Short-comment
```
And I can copy&p... -
01:11 PM Bug #14765: Arguments passed to Open3.popen3() are not interpreted as wildcards
- In console when we write
```stdin, stdout, stderr, wait_thr = Open3.popen3("cat .*.yml")```
All the files with name... -
01:08 PM Bug #14765 (Rejected): Arguments passed to Open3.popen3() are not interpreted as wildcards
- In console when we write
```ruby
stdin, stdout, stderr, wait_thr = Open3.popen4("cat .*.yml")
stdout.readlines
... -
11:06 AM Revision a667fe79 (git): configure.ac: move the checks of _XOPEN_SOURCE on Solaris
- * configure.ac (solaris*): Move the checks of _XOPEN_SOURCE to the
location before r63443, to cover non-GCC compile... -
10:12 AM Bug #14745: High memory usage when using String#replace with IO.copy_stream
- [email protected] wrote:
> I wrote:
> > Finally, I always assumed your example is a contrived case and
> >... -
09:33 AM Bug #14745: High memory usage when using String#replace with IO.copy_stream
- > Yes, this is an unfortunate side effect because of copy-on-write
> semantics of String#replace. If the arg (other_... -
09:22 AM Misc #14764: [PATCH] vm_trace: remove rb_postponed_job_t->flags
- [email protected] wrote:
> no problem. st_table also seems good.
OK, this uses st_table:
https://80x24.org/spew/201... -
05:55 AM Misc #14764: [PATCH] vm_trace: remove rb_postponed_job_t->flags
- no problem. st_table also seems good.
-
03:12 AM Misc #14764: [PATCH] vm_trace: remove rb_postponed_job_t->flags
- Btw, 1000 slots for postponed jobs seems like overkill,
as does the use of atomics.
I think we can use a st_tabl... -
02:56 AM Misc #14764 (Closed): [PATCH] vm_trace: remove rb_postponed_job_t->flags
- ```
vm_trace: remove rb_postponed_job_t->flags
This field has been taking up space for 5 years and never used.
S... -
09:19 AM Bug #5419: FileUtils.cp_rの:preserveの動作
- と思ったけどそれはさすがに大丈夫でした。
```
ruby -rfileutils -e 'include FileUtils; mkdir("d1"); touch("d1/a"); chmod(0500, "d1"); c... -
09:13 AM Bug #5419: FileUtils.cp_rの:preserveの動作
- おお。処理順がそうなっているとすると、書き込み禁止のディレクトリのコピーもできませんね。
-
08:40 AM Bug #5419 (Closed): FileUtils.cp_rの:preserveの動作
- fileutils は github の方に切り出されたので、そっちにチケットを作りました。
https://github.com/ruby/fileutils/issues/21
こっちは閉じとこうと思います。 -
09:07 AM Feature #5522 (Assigned): Numeric#finite?、Numeric#infinite?、Numeric#nan? の追加
- #12039 で Numeric#finite? と #infinite? は導入されました。#nan? はどうしましょう?
-
08:35 AM Bug #5401 (Closed): Ruby 1.9.3 interpreter crash
- I believe we can close this ticket anyway. If anyone can repro, please reopen.
-
07:49 AM Feature #14763: Allow more Enumerable methods to accept method names as symbol arguments
- I think that this is not acceptable due to the backward compatibility.
`[2].all?(:even?)` returns `false` now, but i... -
04:41 AM Feature #14763: Allow more Enumerable methods to accept method names as symbol arguments
- sawa (Tsuyoshi Sawada) wrote:
> I think `reduce` or `inject` taking a method name as an argument was convenient in t... -
04:39 AM Feature #14763: Allow more Enumerable methods to accept method names as symbol arguments
- I think `reduce` or `inject` taking a method name as an argument was convenient in the old days when symbol to proc w...
-
04:05 AM Feature #14763: Allow more Enumerable methods to accept method names as symbol arguments
- Hey Shevegen,
Thank you for your comments. I really apperciate them! I'll respond inline:
shevegen (Robert A. H... -
03:15 AM Feature #14763: Allow more Enumerable methods to accept method names as symbol arguments
- Is there any reason why you did use ":even?" rather
than ":even"?
[2,4,6].all?(:even)
To me symbols with a... -
02:02 AM Feature #14763 (Closed): Allow more Enumerable methods to accept method names as symbol arguments
- Enumerable has a short hand which accepts method names as symbols.
```ruby
(5..10).reduce(:+) #=> 45
```
I'm pr... -
05:32 AM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
- [email protected] wrote:
> This is not desirable in the longer term.
I already had the following comment in ... -
05:03 AM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
- normalperson (Eric Wong) wrote:
> Personally, I prefer using M_ARENA_MAX=1 (via MALLOC_ARENA_MAX
> env) myself, b... -
05:23 AM Bug #14761 (Open): TestThread#test_join_limits hangs up on Solaris 10 with gcc
- Default nil. The key `INT64_MIN` did not found in `RbConfig::LIMITS`.
-
01:31 AM Bug #14761 (Closed): TestThread#test_join_limits hangs up on Solaris 10 with gcc
- Applied in changeset commit:ruby-git|80bf542a6ccc8988e7ac6dbabcfe8955c587d402.
----------
Split TestThread#test_join... -
01:28 AM Bug #14761: TestThread#test_join_limits hangs up on Solaris 10 with gcc
- Does `RbConfig::LIMITS` have `'INT64_MIN'` key?
Or the default `nil`? -
04:11 AM Revision 88cb22e9 (git): configure.ac: move checks of -std=gnu99 and _XOPEN_SOURCE on Solaris
- * configure.ac (ansi_options): On Solaris, "-std=gnu99" should be
appended to CPPFLAGS instead of warnflags and str... -
03:57 AM Revision 52b29a33 (git): configure.ac: revert r63438
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:40 AM Revision a12bfb3b (git): iseq body local variables
- * compile.c, iseq.c: extract body and param.keyword in iseq as
local variables.
git-svn-id: svn+ssh://ci.ruby-lang... -
01:31 AM Revision db5765ba (git): fileutils.rb: remove code for OS/2 emx
- * lib/fileutils.rb (FileUtils#mv): remove code for OS/2 emx, its
support has been dropped yeas ago.
git-svn-id: sv...
Also available in: Atom