Activity
From 05/21/2018 to 05/27/2018
05/27/2018
-
10:13 PM Misc #14769: DevelopersMeeting20180621Japan
- * [Bug #14387] Ruby 2.5 を Alpine Linux で実行すると比較的浅めで SystemStackError 例外になる (koshigoe)
* CRuby uses `pthread_getatt... -
08:07 PM Feature #14788 (Open): `Hash#keys` Could Accept a Block
- Sometimes I only need to fetch *some* of the keys from a Hash. With the current `Hash#keys` implementation, this requ...
-
02:49 PM Bug #14464: MJIT & MinGW / gcc 7.3.0 seemed ok as of 62337, fail or skip after
- @k0kubun,
> Thanks for letting me know that
Not being a c type, it's the least I can do. I often feel like a... -
09:52 AM Revision 96e6eb38 (git): Specs must keep working on older versions and other implementations
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:33 AM Revision f13b0fd8 (git): jit_support.rb: debug check_support stderr
- rubyci freebsd11zfs doesn't pass this check. I want to know the stderr.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
05:52 AM Revision 783e2b57 (git): st.c: remove redundant export declaration
- rb_hash_bulk_insert is added to official C API in r63488. It's no longer
exported only for MJIT.
git-svn-id: svn+ssh... - 05:47 AM Revision 9aefa90c (git): * 2018-05-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:47 AM Revision 6d389356 (git): jit_support.rb: cahce JIT support check
- * Before
make test-all -C .ruby-svn TESTS="../test/ruby/test_jit.rb" 22.40s user 5.38s system 91% cpu 30.196 total
...
05/26/2018
-
12:56 PM Bug #14464: MJIT & MinGW / gcc 7.3.0 seemed ok as of 62337, fail or skip after
- Thanks for letting me know that. I also confirmed r63479 doesn't pass the tests but r63480 does. So somehow r63480 fi...
05/25/2018
-
10:57 PM Feature #14787: Show documents when completion
- I am fine with the suggestion.
If possible, a configuration option for IRB would be nice for people
to decide on ... -
10:44 PM Feature #14787 (Closed): Show documents when completion
- The "irb/completion" provides completion for classes, modules, symbols, and methods. This patch provides a new featur...
-
08:48 PM Misc #12474: Wishlist for Windows Unix compatibility features
- > Remove a file which is opened by another process
Fall Creators Update added FILE_DISPOSITION_POSIX_SEMANTICS.
h... -
04:09 PM Bug #14742: Deadlock when autoloading different constants in the same file from multiple threads
- It looks like the fix was un-reverted in r63392. Thank you for working on this, Eric!
-
05:46 AM Feature #14785: Parse guard statements like regular conditionals
- ```ruby
def test
result = calculate_result and return result
# ...
end
```
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...
Also available in: Atom