Activity
From 05/18/2018 to 05/24/2018
05/24/2018
-
07:33 PM Feature #14097: Add union and difference to Array
- I cannot say that I am a fan of this proposal. To be fair, I'm not a fan of #|.
Arrays are not sets. Trying to t... -
12:08 AM Feature #14097: Add union and difference to Array
- and this is not necessarily related to Feature #14105. I would say that they are two different topics even if both of...
-
12:06 AM Feature #14097: Add union and difference to Array
- @matz
> I am not sure your real intention. Do you want mutating variation of or-operator?
> Or just more readable... -
04:46 PM Feature #14785: Parse guard statements like regular conditionals
- Ah you're right Jeremy, I hadn't thought about that case. I still think it's unexpected though that in your example t...
-
02:12 PM Feature #14785: Parse guard statements like regular conditionals
- jacobevelyn (Jacob Evelyn) wrote:
> I agree the `did_you_mean` message is not good, but I would rather change the be... -
01:34 PM Feature #14785: Parse guard statements like regular conditionals
- I agree the `did_you_mean` message is not good, but I would rather change the behavior so that line of code works and...
-
05:47 AM Feature #14785: Parse guard statements like regular conditionals
- Seems the recent `did_you_mean` omits `result` in that case.
It may be able to improve the message, I guess. -
02:32 PM Revision 506512c0 (git): spec/ruby: fix RUBY_DESCRIPTION check with JIT enabled
- `make test-spec` adds `-r./$(arch)-fake` to pass header options.
But the $(arch)-fake.rb unexpectedly modifies RUBY_D... -
01:25 PM Revision 34d56255 (git): test_rubyoptions.rb: RbConfig::CONFIG['cppflags'] can be nil
- not '' at least on AppVeyor
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63502 b2dd03c8-39d4-4d8f-98ff-823fe69b... -
01:22 PM Feature #2631: Allow IO#reopen to take a block
- The idea of temporary intercepting any output to another IO is worth considering. Though I doubt to name that featur...
-
01:18 PM Feature #14783: String#chars_at / String#bytes_at
- Is the frequency of #bytes_at common? I understand the use case
stated by Stefan (extract multiple indices via one m... -
05:04 AM Feature #14783: String#chars_at / String#bytes_at
- sos4nt (Stefan Schüßler) wrote:
> Because `String#[]` also returns a string in such case:
It's a different, singl... -
12:57 PM Revision 8d988784 (git): test_rubyoptions.rb: allow passing test_verbose
- with -DMJIT_FORCE_ENABLE. With -DMJIT_FORCE_ENABLE, absence of --jit
doesn't mean JIT disabled.
git-svn-id: svn+ssh:... -
08:39 AM Feature #14784: Comparable#clamp with a range
- @nobu
> Why not `[chain.of.calculations, 0].max`?
Because this `chain.of.calculations` in reality could be some... -
04:55 AM Feature #14784: Comparable#clamp with a range
- zverok (Victor Shepelev) wrote:
> 3. Why do you need one-sided clamp at all? Because alternatives is much more wordy... -
06:15 AM Revision 9fa4766e (git): mjit.c: use remove_file in clean_so_file too
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:52 AM Revision 72ad0811 (git): thread_pthread.c: avoid reading th pointer for thread cache
- I suspect GC may free the rb_thread_t (th) pointer by the time
we call register_cached_thread_and_wait.
git-svn-id: ...
05/23/2018
-
09:17 PM Feature #14757 (Closed): [PATCH] thread_pthread.c: enable thread cache by default
- Applied in changeset trunk|r63498.
----------
thread_pthread.c: enable thread cache by default
Since r62466 ("threa... - 09:16 PM Revision fa31e1a4 (git): thread_pthread.c: enable thread cache by default
- Since r62466 ("thread_pthread.c: shorten and fix thread cache implementation"),
our thread cache is no longer buggy w... - 08:58 PM Revision 8a2aa4ed (git): benchmark/bm_*erb*: fix for --measure=size/peak in driver.rb
- benchmark/memory_wrapper.rb will Kernel#load these
scripts, preventing DATA from being initialized, so
use heredoc in... -
08:50 PM Feature #14785: Parse guard statements like regular conditionals
- Interesting. I personally very rarely do assignment of variables
followed by if-conditionals in my ruby code.
Per... -
02:58 PM Feature #14785 (Open): Parse guard statements like regular conditionals
- I just learned that these two pieces of code are not the same:
~~~ ruby
def test
if result = calculate_result
... -
08:44 PM Feature #14784: Comparable#clamp with a range
- Considering that Ranges allow a ruby hacker to omit the end value,
for infinity/endless, since about ... a month or ... -
01:04 PM Feature #14784 (Closed): Comparable#clamp with a range
- **Proposal**
Allow "one-sided" `clamp` to limit only upper bound (and, ideally, only lower too).
Proposed imple... -
08:00 PM Bug #14464: MJIT & MinGW / gcc 7.3.0 seemed ok as of 62337, fail or skip after
- @k0kubun,
I narrowed it down using ruby-loco builds:
```
All ruby 2.6.0dev
(2018-05-21 trunk 63475) [x64-ming... -
12:06 PM Bug #14464 (Closed): MJIT & MinGW / gcc 7.3.0 seemed ok as of 62337, fail or skip after
- Oh, that's very good to know. TBH I don't know which revision fixed the problem, but I'm very happy to know the tests...
-
03:59 PM Bug #14786 (Closed): PTY duplicated "\r" problem on Solaris
- Applied in changeset trunk|r63495.
----------
ext/pty/pty.c: I_FIND before I_PUSH if possible
* ext/pty/pty.c: Chec... -
03:42 PM Bug #14786: PTY duplicated "\r" problem on Solaris
- ext/pty/pty.c にて、以下のように STREAMS モジュールを挿入しています。
~~~
if (ioctl(slavefd, I_PUSH, "ptem") == -1) goto error;
... -
03:30 PM Bug #14786 (Closed): PTY duplicated "\r" problem on Solaris
- Solaris 10 にて、コンパイル時のオプション、実行時の環境やそれらの組み合わせにより、
make test-all にて以下の Failure や Error が出る場合があります。
(r63444 にて確認)
`T... - 03:58 PM Revision 5ce3f8c9 (git): * 2018-05-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:58 PM Revision 26cbe46e (git): ext/pty/pty.c: I_FIND before I_PUSH if possible
- * ext/pty/pty.c: Check whether each STREAMS module is already pushed
or not by using I_FIND ioctl call, before push... -
12:21 PM Misc #14769: DevelopersMeeting20180621Japan
- * [Feature #14781] `Enumerator#generate`: more reasonable version of `Object#enumerate` proposed for the previous mee...
-
10:38 AM Feature #14783: String#chars_at / String#bytes_at
- Hanmac (Hans Mackowiak) wrote:
> why does it return a new string instead of array of strings?
Because `String#[]`... -
10:35 AM Feature #14783: String#chars_at / String#bytes_at
- ```ruby
string = 'hello, world!'
string.chars.values_at(0, 5, 7, 12)
# => ["h", ",", "w", "!"]
string.chars.value... -
10:30 AM Feature #14783: String#chars_at / String#bytes_at
- @sos4nt
why does it return a new string instead of array of strings?
you might like this:
~~~ ruby
string =... -
10:23 AM Feature #14783 (Open): String#chars_at / String#bytes_at
- I just wanted to extract characters at certain indices from a string and noticed that there's no `values_at` counterp...
-
09:47 AM Feature #13581: Syntax sugar for method reference
- Matz, could you give your thoughts on obj::method (with lowercase on right side) syntax?
AFAICT it's synonym to obj.... -
06:56 AM Bug #14782 (Closed): binding.eval("proc") with &:to_s dumps core
- Applied in changeset trunk|r63494.
----------
remove VM_ENV_DATA_INDEX_ENV_PROC.
* vm_core.h (VM_ENV_DATA_INDEX_ENV... -
06:56 AM Revision e6ad53be (git): remove VM_ENV_DATA_INDEX_ENV_PROC.
- * vm_core.h (VM_ENV_DATA_INDEX_ENV_PROC): ep[VM_ENV_DATA_INDEX_ENV_PROC] is
allocated to mark a Proc which is creat... - 05:51 AM Revision b32b2a61 (git): internal.h: export ruby_sized_* for systems w/o malloc_usable_size
- [ruby-core:87232]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:22 AM Feature #14718: Use jemalloc by default?
- > Ideally I would like a new Ruby runtime flag --long-lived that was tuned for long run times (e.g low malloc arena c...
-
03:04 AM Feature #14718: Use jemalloc by default?
- [email protected] wrote:
> normalperson (Eric Wong) wrote:
> > Reading some glibc mailing list (libc-alpha) p... -
12:38 AM Feature #14718: Use jemalloc by default?
- mperham (Mike Perham) wrote:
> If jemalloc 5.1.0 is using too much memory, you can tune its arenas in the same way a... -
12:32 AM Bug #14387: Ruby 2.5 を Alpine Linux で実行すると比較的浅めで SystemStackError 例外になる
- It seems to be reasonable not to rely `pthread_getattr_np()` on `defined(__linux__) && !defined(__GLIBC__)` environme...
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...
Also available in: Atom