Project

General

Profile

Activity

From 09/07/2018 to 09/13/2018

09/13/2018

08:35 PM Feature #14097: Add union and difference to Array
Funny idea with the picture. :D shevegen (Robert A. Heiler)
07:09 AM Feature #14097: Add union and difference to Array
The final proposal seems reasonable. Accepted.
Matz.
matz (Yukihiro Matsumoto)
08:33 PM Feature #15022: Oneshot coverage
I think the consensus at the last ruby developer meeting in September 2018 was to go for
it ( https://docs.google.co...
shevegen (Robert A. Heiler)
04:23 PM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Thread::Light sounds ok to me personally. I think the more informal name "Lite"
may have some people wonder about th...
shevegen (Robert A. Heiler)
09:22 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
[email protected] wrote:
> The latest proposal includes time slice scheduling, so it is
> not a cooperative thread...
normalperson (Eric Wong)
08:17 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
The latest proposal includes time slice scheduling, so it is not a cooperative thread. I object to the name `Thread::... matz (Yukihiro Matsumoto)
04:07 PM Feature #15112: Introducing the short form of `STDERR.puts expr.inspect`.
I agree with both what Kenta Murata and what Jeremy Evans wrote (to explain,
I have no personal preference; I think ...
shevegen (Robert A. Heiler)
07:28 AM Feature #15112: Introducing the short form of `STDERR.puts expr.inspect`.
mrkn (Kenta Murata) wrote:
> I sometimes write `STDERR.puts obj.inspect` to print debug message to standard error.
...
jeremyevans0 (Jeremy Evans)
07:04 AM Feature #15112: Introducing the short form of `STDERR.puts expr.inspect`.
`#warn` writes to `STDERR`. What about `warn_p` or something similar?
duerst (Martin Dürst)
06:15 AM Feature #15112 (Assigned): Introducing the short form of `STDERR.puts expr.inspect`.
I sometimes write `STDERR.puts obj.inspect` to print debug message to standard error.
I want to write it as `STDERR....
mrkn (Kenta Murata)
03:53 PM Misc #15109: Improve safe navigation operator's docs
I think it is good to have more documentation. I would however
had perhaps replace the word Python with Ruby (or Duc...
shevegen (Robert A. Heiler)
03:49 PM Feature #15113: Show warnings on unused blocks with Enumerable#all? any? one? none?
I think nobu committed it already (if it is the same one)
https://git.ruby-lang.org/ruby.git/commit/?id=384fda18b8...
shevegen (Robert A. Heiler)
07:05 AM Feature #15113 (Closed): Show warnings on unused blocks with Enumerable#all? any? one? none?
Let Array#any? (and related enumerable methods alike) to express warnings in case blocks are left unused.
**Backgr...
fursich (Onishi Koji)
01:59 PM Revision 402001d6 (git): iseq.c: prefix rb_ to non-static iseq functions
I assume we always prefix rb_ to non-static functions to avoid conflict.
These functions are not exported and safe to...
k0kubun (Takashi Kokubun)
01:47 PM Bug #15116 (Closed): Fixing issues detected by an Analysis tool.
When running a code analysis tool including several sub tools (mainly Coverty [1]), some issues were detected by it.
...
jaruga (Jun Aruga)
12:29 PM Revision 519c62fd (git): vm_insnhelper.h: drop OPT_CALL_FASTPATH macro support
because cc->call is NULL by default and it is not overridden by
vm_search_super_method if OPT_CALL_FASTPATH is 0. So ...
k0kubun (Takashi Kokubun)
12:06 PM Feature #6823 (Closed): Where/how should ruby-mode issues be reported?
Applied in changeset trunk|r64734.
----------
Remove old ruby-mode.el
Use emacs bundled ruby-mode.el instead.
[Feat...
znz (Kazuhiro NISHIYAMA)
12:06 PM Revision f03e68ed (git): Remove old ruby-mode.el
Use emacs bundled ruby-mode.el instead.
[Feature #6823] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
znz (Kazuhiro NISHIYAMA)
11:10 AM Revision 384fda18 (git): warn unused blocks with Enumerable#all? any? one? none?
[Fix GH-1953]
From: Koji Onishi <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64733 b2dd03...
nobu (Nobuyoshi Nakada)
11:00 AM Revision cff6bdfc (git): Make qsort_r() flavor detecting work if qsort_r() is a macro
On FreeBSD we're going to switch to the GNU-ish version of qsort_r().
POSIX is also considering standardizing that on...
nobu (Nobuyoshi Nakada)
10:59 AM Revision 38122275 (git): thread.c: fix -Wformat warning where uint64_t is not unsigned long
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:56 AM Feature #15111: Make the number of arguments of `Hash#merge` variable
If no argument is given to `Hash#merge`, the receiver itself is returned. In this way, `Hash` instance can revieve `A... liwii (Koki Ryu)
05:57 AM Feature #15111 (Closed): Make the number of arguments of `Hash#merge` variable
# Abstract
Make the number of arguments of `Hash#merge` variable.
# Background
In many websites such as Stack ...
liwii (Koki Ryu)
08:45 AM Bug #15084 (Closed): Backport r64476
naruse (Yui NARUSE)
08:17 AM Misc #14981: DevelopersMeeting20180913Japan
* [Feature #15114] Ruby で定義したメソッドに `&:hoge` を渡しても refinements が有効にならない aycabta (aycabta .)
08:16 AM Misc #14632: [ANN] git.ruby-lang.org
Current status is here:
1. Migrate toolchain like `tool/make-snapshot` to git.ruby-lang.org from svn.ruby-lang.org...
hsbt (Hiroshi SHIBATA)
08:14 AM Bug #15114 (Closed): Ruby で定義したメソッドに `&:hoge` を渡しても refinements が有効にならない
## 概要
Ruby 2.4 で以下のように『refinements で追加したメソッドが `&:twice` で呼び出せる』ようになりました。
```ruby
# 新しく String#twice を refineme...
osyo (manga osyo)
07:53 AM Bug #13167: Dir.glob is 25x slower since Ruby 2.2
> 0001-dir.c-performance-fix-with-braces.patch
> It would be more similar to trunk behavior than #13873 implementati...
naruse (Yui NARUSE)
07:53 AM Bug #13167: Dir.glob is 25x slower since Ruby 2.2
Thank you for the patch, let's try, please commit the patch for braces. nobu (Nobuyoshi Nakada)
07:53 AM Bug #14908: Enumerator::Lazy creates unnecessary Array objects.
I'm the original author of Enumerator & Yielder and I don't think I particularly intended to make `<<` accept many ar... knu (Akinori MUSHA)
07:43 AM Bug #11984: DateTime.parse can parse invalid datetime string
Is it a specification? When you pass 'fg4534253dd' to `DateTime#parse`, [`parse_ddd`](https://github.com/ruby/ruby/bl... long_long_float (kazuki niimi)
07:33 AM Feature #14739: Improve fiber yield/resume performance
Hi, ioquatix.
I send an invitation of the ruby core team. Please check it.
hsbt (Hiroshi SHIBATA)
07:25 AM Feature #14739: Improve fiber yield/resume performance
OK, it sounds reasonable. We will give you commit privilege.
Matz.
matz (Yukihiro Matsumoto)
07:26 AM Feature #14888 (Assigned): Add trace point for eval (and related functions)
nobu (Nobuyoshi Nakada)
07:15 AM Misc #14956 (Closed): Remove staled branches in svn repository
I removed them from branches directory now.
https://svn.ruby-lang.org/repos/ruby/branches/
hsbt (Hiroshi SHIBATA)
06:20 AM Misc #14956: Remove staled branches in svn repository
I think you can just move them to under tags. knu (Akinori MUSHA)
06:19 AM Misc #14956: Remove staled branches in svn repository
```
half-baked-1.9
KEIJU
KOSAKO
matzruby
mvm
new_gc
rexml_adds_tests
ricsin
RUBY
ruby_m17n
SER
SHIGEO
SP...
hsbt (Hiroshi SHIBATA)
07:12 AM Revision 26a11ae7 (git): Revert "vm_insnhelper.h: simplify EXEC_EC_CFP implementation"
This reverts commit r64711, because EXEC_EC_CFP on JIT-ed code does not
call jit_func with the patch when catch_excep...
k0kubun (Takashi Kokubun)
06:49 AM Revision 8bc5c172 (git): thread.c: fix -Wformat warning
../thread.c:1219:18: warning: format specifies type 'unsigned long' but the argument has type 'rb_hrtime_t'
(ak...
k0kubun (Takashi Kokubun)
06:39 AM Revision bada0d24 (git): vm_insnhelper.h: simplify EXEC_EC_CFP implementation
and possibly memory access for iseq->body may be reduced.
No significant impact for performance on Optcarrot.
* bef...
k0kubun (Takashi Kokubun)
06:16 AM Feature #14609: Let `Kernel#p` without an argument print the receiver
I vote for #tapp.
Matz.
matz (Yukihiro Matsumoto)
06:04 AM Feature #14609: Let `Kernel#p` without an argument print the receiver
How about:
```ruby
self.P
```
:P
nobu (Nobuyoshi Nakada)
05:44 AM Feature #4475: default variable name for parameter
I have one idea. We can use `\it` (backslash-it) or `\1` instead of `it`. `\1` means the first argument and `\n` refe... long_long_float (kazuki niimi)
04:53 AM Revision 14ad11a9 (git): node.h: removed unused macros
* node.h (enum node_type): removed unused macros which redefine the
same name enum values, and probably had ended t...
nobu (Nobuyoshi Nakada)
03:46 AM Revision 6925c9c6 (git): move canary-related statements into macros
This is mostly cosmetic. Should generate a slightly readable
vm.inc output.
git-svn-id: svn+ssh://ci.ruby-lang.org...
shyouhei (Shyouhei Urabe)
01:45 AM Revision 63130b23 (git): appveyor.yml: increase timeout for vs
vs140 tends to die with 10s timeout on TestThreadQueue#test_queue_with_trap
https://ci.appveyor.com/project/ruby/ruby...
k0kubun (Takashi Kokubun)
01:43 AM Revision 8a7b4b39 (git): thread.c (rb_thread_atfork): reinitialize current th->interrupt_lock
Another thread may be holding th->interrupt_lock while our
current thread calls fork. Therefore we must reinitialize...
Eric Wong
01:34 AM Feature #15085: Decrease memory cache usage of MJIT
I see. Thank you for the experiment and taking time for the investigation. k0kubun (Takashi Kokubun)
12:10 AM Feature #15085 (Rejected): Decrease memory cache usage of MJIT
I am sorry in advance, I've decided to withdraw this ticket and its patch.
I tried to reveal what's going on and exp...
wanabe (_ wanabe)

09/12/2018

10:32 PM Bug #15050: GC after forking with fibers crashes
@normalperson
Eric,
Sorry been busy with 'this is a bigger mess than I thought' kinds of things.
I just ran ...
MSP-Greg (Greg L)
08:49 PM Bug #15050 (Closed): GC after forking with fibers crashes
Applied in changeset trunk|r64703.
----------
share VM stack between threads and fibers if identical in size
ec->vm...
normalperson (Eric Wong)
09:12 PM Feature #15074: Create 'official' C API documentation on ruby-doc.org
[email protected] wrote:

> @hsbt what do you think about writing the docs within C API
> files like `r...
normalperson (Eric Wong)
08:49 PM Revision 12409ad2 (git): fiber: fix crash on GC after forking
Remove the remainder of ROOT_FIBER_CONTEXT use and unnecessary
differences between the root and non-root fiber. This...
Eric Wong
08:49 PM Revision d40694de (git): cont.c (fiber_memsize): do not rely on ROOT_FIBER_CONTEXT
We can check if the fiber we're interested in is the
th->root_fiber for the owner thread, so there is no need to use
...
Eric Wong
08:49 PM Feature #15095 (Closed): [PATCH] share VM stack between threads and fibers if identical
Applied in changeset trunk|r64703.
----------
share VM stack between threads and fibers if identical in size
ec->vm...
normalperson (Eric Wong)
08:49 PM Revision 7ae24709 (git): cont.c (ec_set_vm_stack): avoid needless casting
Am I missing something, here? Casting was totally unnecessary
and ugly...
[ruby-core:88929]
git-svn-id: svn+ssh://...
Eric Wong
08:49 PM Revision c99b9eb0 (git): share VM stack between threads and fibers if identical in size
ec->vm_stack is always allocated with malloc, so stack cache for
root fiber (thread stack) and non-root fibers can be...
Eric Wong
08:32 PM Misc #14981: DevelopersMeeting20180913Japan
* [Feature #13618] auto-fiber name, is "Thread::Coro" OK?
How should Mutex work between coroutines?
Queue/SizedQue...
normalperson (Eric Wong)
08:32 PM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
> It goes on top of my coro-r64610 branch posted at [ruby-core:88800]:
> https://public-inbox.org/ruby-core/2018090...
normalperson (Eric Wong)
06:43 PM Misc #15109 (Closed): Improve safe navigation operator's docs
Reason: [current docs](http://ruby-doc.org/core-2.5.1/doc/syntax/calling_methods_rdoc.html) look this way (in "Receiv... zverok (Victor Shepelev)
04:05 PM Revision 2bd4c514 (git): * 2018-09-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:05 PM Revision c0f62450 (git): [DOC] aseq.each always return self [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:37 PM Revision 351b8a32 (git): time.c split time_utc_or_local
* time.c (time_utc_or_local): split into time_s_mkutc and
time_s_mktime without utc flag.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
01:32 PM Revision f7b0a791 (git): _mjit_compile_pc_and_sp.erb: forget about memcpy [ci skip]
because using memcpy here actually made performance worse.
In Optcarrot,
* for loop
fps: 55.90428960597268
fps: 57.2...
k0kubun (Takashi Kokubun)
12:14 PM Revision db4c91be (git): .travis.yml: run ruby/spec version guards check in parallel
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:51 AM Revision 98fa0ab4 (git): [DOC] Modify descriptions for ArithmeticSequence
[ci-skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
08:36 AM Revision 1595421c (git): [DOC] Add the documentation of ArithmeticSequence
[ci-skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
07:48 AM Feature #14982: Improve namespace system in ruby to avoiding top-level names chaos
Please allow me to humbly present [this design and implementation of import semantics](https://gitlab.com/lloeki/pak)... lloeki (Loic Nageleisen)
07:35 AM Revision 11ff6569 (git): enumerator.c: Fix ArithmeticSequence for complex step
Make sure Enumerator::ArithmeticSequence#each to work well
for a complex step value.
This reverts commit ca47fb329a1...
Kenta Murata
07:01 AM Revision f677ba88 (git): deduce versioned tools from CC
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:52 AM Revision ca47fb32 (git): Revert "enumerator.c: Fix ArithmeticSequence for complex step"
This reverts commit 0a0f8238d02a2dfff4cd2892408e14cb826cec7e.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6469...
Kenta Murata
05:44 AM Feature #14136: Implement #empty? on more classes
bozhidar (Bozhidar Batsov) wrote:
> > Yeah, in this case I'd argue that it's better to use some `top-level` methods ...
jeremyevans0 (Jeremy Evans)
05:12 AM Feature #14136: Implement #empty? on more classes
bozhidar (Bozhidar Batsov) wrote:
> phluid61 (Matthew Kerwin) wrote:
> > mikegee (Michael Gee) wrote:
> > >
> > ...
bozhidar (Bozhidar Batsov)
05:09 AM Feature #14136: Implement #empty? on more classes
phluid61 (Matthew Kerwin) wrote:
> mikegee (Michael Gee) wrote:
> >
> > I am proposing that all classes that impl...
bozhidar (Bozhidar Batsov)
05:35 AM Revision 0a0f8238 (git): enumerator.c: Fix ArithmeticSequence for complex step
Make sure Enumerator::ArithmeticSequence#each to work well
for a complex step value.
git-svn-id: svn+ssh://ci.ruby-l...
Kenta Murata
04:04 AM Revision 0f6708eb (git): resurrect the string to expect modifications
String#freeze can be redefined to be destructive. While such
redefinition is definitely weird, it should be possible...
shyouhei (Shyouhei Urabe)
03:39 AM Revision 02b52b27 (git): make opt_str_freeze leaf
Simply use DISPATCH_ORIGINAL_INSN instead of rb_funcall. This is,
when possible, overall performant because method d...
shyouhei (Shyouhei Urabe)
02:22 AM Bug #15103 (Rejected): undecipherable nil error for `+`
nobu (Nobuyoshi Nakada)
01:55 AM Revision 33c8171c (git): make opt_case_dispatch leaf
This instruction can be written without rb_funcall. It not only boosts
performance of case statements, but also makes...
shyouhei (Shyouhei Urabe)

09/11/2018

11:01 PM Feature #15074: Create 'official' C API documentation on ruby-doc.org
@hsbt what do you think about writing the docs within C API files like `ruby.h`, `intern.h` and `extension.h` itself ... v0dro (Sameer Deshmukh)
12:38 AM Feature #15074: Create 'official' C API documentation on ruby-doc.org
Alright. I think its a matter of adding the extension.rdoc file to the ruby-doc.org sources and then push changes to ... v0dro (Sameer Deshmukh)
09:55 PM Bug #15105 (Closed): `rb_debug_inspector_open` breaks lazy proc optimization
Calling `rb_debug_inspector_open` inside a block that uses lazy proc optimizations breaks the implementation. r60397... tenderlovemaking (Aaron Patterson)
04:16 PM Bug #15103: undecipherable nil error for `+`
Never mind, I found the error. Please close this.
They were not operationally exact.
This ``while num >= modk + r...
jzakiya (Jabari Zakiya)
04:02 PM Bug #15103 (Rejected): undecipherable nil error for `+`
I am experiencing the following error in a method I rewrote that makes no sense whatsover.
Here's the original met...
jzakiya (Jabari Zakiya)
03:14 PM Revision bddc28b2 (git): * 2018-09-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:14 PM Revision 0325145f (git): _mjit_compile_insn.erb: move pc on JIT cancel
if and only if it's not moved yet, to avoid potential bugs in the future.
_mjit_compile_send.erb: ditto
git-svn-id:...
k0kubun (Takashi Kokubun)
03:12 PM Bug #15082: Memory leak in net/http/response and net/http/header
Thanks for pointing this PR. I ran it again with this specific memory_profiler version and there is no memory leaks.
...
alexis (Alexis Bernard)
05:16 AM Bug #15082: Memory leak in net/http/response and net/http/header
@alexis Look into this PR https://github.com/SamSaffron/memory_profiler/pull/59
Once merged this PR should fix th...
chopraanmol1 (Anmol Chopra)
02:38 PM Revision 9f6e9b40 (git): mjit_worker.c: atomically print main message and \n
To attempt to fix CI failure on rubyci freebsd:
https://rubyci.org/logs/rubyci.s3.amazonaws.com/freebsd11zfs/ruby-tru...
k0kubun (Takashi Kokubun)
02:10 PM Revision 6e3fe890 (git): bare_instructions.rb: use Hash#fetch to read attr
to raise descriptive KeyError instead of NoMethodError in case these
attrs are accidentally removed.
git-svn-id: svn...
k0kubun (Takashi Kokubun)
01:48 PM Revision 10ff0a2b (git): _mjit_compile_insn.erb: prefer insn.always_leaf?
rather than `trace_enablable_insns` which is hard to maintain.
This would make performance bad because new branches ...
k0kubun (Takashi Kokubun)
12:53 PM Revision 67bd8fb3 (git): _mjit_compile_pc_and_sp.erb: skip moving pc
when catch_except_p is false and insn.always_leaf? is true (never makes
arbitrary method call in the insn).
On Optca...
k0kubun (Takashi Kokubun)
11:26 AM Revision 24e30ef7 (git): transform_mjit_header.rb: add static to Init_*
as well, to make CI succeed with VM_CHECK_MODE > 1.
vm_insnhelper.c: drop unnecessary MJIT_HEADER ifdef. This is int...
k0kubun (Takashi Kokubun)
11:09 AM Revision 0f3bd3e6 (git): test_jit.rb: show extra debug info for #test_unload_units
failure
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
11:05 AM Revision 6f7fafbf (git): random.c: prefixed fill_random_bytes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:01 AM Revision db40f678 (git): vm_insnhelper.c: stop unnecessarily using rb_sprintf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
10:58 AM Revision 30011cbb (git): vm_insnhelper.c: fix -Wformat-security on rb_bug
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
09:48 AM Revision c2bfb4e9 (git): add new instruction attribute called leaf
An instruction is leaf if it has no rb_funcall inside. In order to
check this property, we introduce stack canary wh...
shyouhei (Shyouhei Urabe)
09:46 AM Revision ecda2d23 (git): * 2018-09-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:46 AM Revision 1a38555c (git): Use https instead of http
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:18 AM Feature #15092 (Rejected): Provide step count in Range constructor
mrkn (Kenta Murata)
01:16 AM Feature #15092: Provide step count in Range constructor
OK I'm convinced this is probably a bad idea since `step` returns an `ArithmeticSequence`
and is not a property of `...
v0dro (Sameer Deshmukh)
01:03 AM Feature #15092: Provide step count in Range constructor
We've already have Emuerator::ArithmeticSequence in trunk.
Please use it.
mrkn (Kenta Murata)
12:10 AM Bug #13931: correct install_name of libruby on macOS (libruby.2.5.0.dylib -> libruby.2.5.dylib)
Requesting backport to 2.4
https://github.com/Homebrew/homebrew-core/pull/31967#issuecomment-420100406
tmm1 (Aman Karmani)

09/10/2018

11:21 PM Misc #14981: DevelopersMeeting20180913Japan
* [Feature #13167] Dir.glob is 25x slower since Ruby 2.2 (ahorek)
* improves performance of a glob pattern with br...
ahorek (Pavel Rosický)
07:59 PM Bug #15088: Leaky behaviour when GC disabled
Thank you @normalperson & @ko1 for taking a look and for the explanation here 😀 william101 (William Tabi)
07:18 PM Bug #15097: Gem install fails on Ruby 2.5.1 with Cygwin (get_dns_server_list undefined)
nobu (Nobuyoshi Nakada) wrote:
> I can't reproduce it, with the trunk and 2.5.2 in the repository, using
Thanks f...
caspercg (Casper G)
09:31 AM Bug #15097: Gem install fails on Ruby 2.5.1 with Cygwin (get_dns_server_list undefined)
I can't reproduce it, with the trunk and 2.5.2 in the repository, using
```
$ LANG=C i686-pc-cygwin-gcc -v
Using...
nobu (Nobuyoshi Nakada)
03:52 AM Bug #15097 (Assigned): Gem install fails on Ruby 2.5.1 with Cygwin (get_dns_server_list undefined)
Compiled and installed Ruby 2.5.1 on Cygwin, and now gem install fails with:
~~~ ruby
ERROR: While executing gem...
caspercg (Casper G)
01:05 PM Revision 90245094 (git): appveyor.yml: try VS140
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:35 AM Revision 67dba250 (git): signal.c: consider non-sigaltstack platforms
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:23 AM Feature #15074: Create 'official' C API documentation on ruby-doc.org
At first, `ruby-doc.org` is not our `official` web resource. It's a third party resource.
But `ruby-doc.org` maybe...
hsbt (Hiroshi SHIBATA)
04:23 AM Revision 991e95bb (git): util.c: removed extra #endif [Bug #15091]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:21 AM Revision ef92aa9a (git): util.c: fix ruby_qsort with qsort_s
* util.c (ruby_qsort): __STDC_VERSION__ may not be defined even if it
is available. fixed duplicate definitions wh...
nobu (Nobuyoshi Nakada)
01:43 AM Revision 5679d0c5 (git): there is no such predefined macro. check build before commit!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura

09/09/2018

06:42 PM Feature #15095: [PATCH] share VM stack between threads and fibers if identical
Koichi Sasada <[email protected]> wrote:
> On 2018/09/10 2:26, Eric Wong wrote:
> > Sorry, I mean they can share VM st...
normalperson (Eric Wong)
06:03 PM Feature #15095: [PATCH] share VM stack between threads and fibers if identical
On 2018/09/10 2:26, Eric Wong wrote:
> Sorry, I mean they can share VM stack cache; not the in-use VM stack.

It ...
ko1 (Koichi Sasada)
06:03 PM Feature #15095: [PATCH] share VM stack between threads and fibers if identical
On 2018/09/10 2:31, Eric Wong wrote:
> OK, I thought that was the case. But no plans to use `const' here
> in the...
ko1 (Koichi Sasada)
05:32 PM Feature #15095: [PATCH] share VM stack between threads and fibers if identical
[email protected] wrote:
> normalperson (Eric Wong) wrote:
> > Also, why cast in ec_set_vm_stack?
> > https://80x24....
normalperson (Eric Wong)
05:32 PM Feature #15095: [PATCH] share VM stack between threads and fibers if identical
[email protected] wrote:
> > ec->vm_stack is always allocated with malloc, so stacks for root
> > fiber (thread stack)...
normalperson (Eric Wong)
03:50 PM Feature #15095: [PATCH] share VM stack between threads and fibers if identical
normalperson (Eric Wong) wrote:
> Also, why cast in ec_set_vm_stack?
> https://80x24.org/spew/20180909080140.16293...
ko1 (Koichi Sasada)
03:48 PM Feature #15095: [PATCH] share VM stack between threads and fibers if identical
> ec->vm_stack is always allocated with malloc, so stacks for root
> fiber (thread stack) and non-root fibers can be...
ko1 (Koichi Sasada)
08:12 AM Feature #15095: [PATCH] share VM stack between threads and fibers if identical
Also, why cast in ec_set_vm_stack?
https://80x24.org/spew/[email protected]/raw
I've barely touch...
normalperson (Eric Wong)
07:56 AM Feature #15095 (Closed): [PATCH] share VM stack between threads and fibers if identical
ec->vm_stack is always allocated with malloc, so stacks for root
fiber (thread stack) and non-root fibers can be sha...
normalperson (Eric Wong)
03:46 PM Revision 73e7cdeb (git): * 2018-09-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:46 PM Revision 7785f579 (git): .travis.yml: separate ruby/spec on old version
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:43 PM Bug #15088 (Rejected): Leaky behaviour when GC disabled
Thank you Eric.
This is my 2nd experiment:
```
...
# adding the following code to original trial code.
GC.st...
ko1 (Koichi Sasada)
02:01 PM Feature #15093: Retrive Array elements with infinite ranges specified by Float::INFINITY
This could be fixed, at least in theory, but in practice this is no longer an issue: use endless range
```
a[0......
marcandre (Marc-Andre Lafortune)
09:24 AM Feature #15093: Retrive Array elements with infinite ranges specified by Float::INFINITY
I can not say much about the reasoning (I am neutral there) but
I agree in one regards - if we use a large number, w...
shevegen (Robert A. Heiler)
03:04 AM Feature #15093 (Open): Retrive Array elements with infinite ranges specified by Float::INFINITY
Currently in Ruby head (2.6) the following gives an error:
~~~ ruby
2.6-head :001 > a = [1,2,3,4]
# => [1, 2, 3, 4...
v0dro (Sameer Deshmukh)
01:57 PM Feature #15092: Provide step count in Range constructor
v0dro (Sameer Deshmukh) wrote:
> Advantages of changing the constructor:
> * Makes it easy to read test code for so...
marcandre (Marc-Andre Lafortune)
09:19 AM Feature #15092: Provide step count in Range constructor
> Wouldn't the result be [1, 4, 7, 10, 13]?
Off-by-one is ... common. :)
A bit more on topic, Float::INFINITY i...
shevegen (Robert A. Heiler)
03:37 AM Feature #15092: Provide step count in Range constructor
v0dro (Sameer Deshmukh) wrote:
> I would like to propose making changes to the Range constructor so that a user can ...
v0dro (Sameer Deshmukh)
03:36 AM Feature #15092: Provide step count in Range constructor
> Wouldn't the result be [1, 4, 7, 10, 13]?
Ah yes. My bad. Editing the description. Thank you.
v0dro (Sameer Deshmukh)
03:12 AM Feature #15092: Provide step count in Range constructor
v0dro (Sameer Deshmukh) wrote:
> And I want the values `1`, `4`, `7`, `10` and `12`, I can simply specify a Rang...
duerst (Martin Dürst)
02:59 AM Feature #15092: Provide step count in Range constructor
Advantages of changing the constructor:
* Makes it easy to read test code for someone new to Ruby.
* Consistency in...
v0dro (Sameer Deshmukh)
02:42 AM Feature #15092 (Feedback): Provide step count in Range constructor
No need to change the constructor. Instead of:
```
Range.new 0, Float::INFINITY, 3
```
Use the shorter
```
...
marcandre (Marc-Andre Lafortune)
02:28 AM Feature #15092 (Rejected): Provide step count in Range constructor

I would like to propose making changes to the Range constructor so that a user can specify
a `step` count along wi...
v0dro (Sameer Deshmukh)
01:06 PM Bug #15091: [solaris] encdb.h.tmpl segfault
thanks @nobu
but now I have an error
```
error Unknown version qsort_s
```
the build passed without this lin...
ahorek (Pavel Rosický)
07:49 AM Bug #15091 (Closed): [solaris] encdb.h.tmpl segfault
Applied in changeset trunk|r64661.
----------
util.c: qsort_s in C11
* configure.ac: macro for C11 to use qsort_s.
...
nobu (Nobuyoshi Nakada)
12:48 PM Revision 1050c08d (git): Add latest version gcc-8 case to Travis CI
[Fix GH-1937]
Co-authored-by: Jun Aruga <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64667...
nobu (Nobuyoshi Nakada)
12:48 PM Revision c3c73ba2 (git): .travis.yml: branches only for travis-ci
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:42 PM Revision f419aa7b (git): thread.c: get rid of false warnings by gcc-8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:51 AM Revision c09fc47a (git): Fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:12 AM Bug #15050: GC after forking with fibers crashes
Koichi Sasada <[email protected]> wrote:
> Ok. We need to avoid this kind of crash.
>
> https://bugs.ruby-lang.org/i...
normalperson (Eric Wong)
08:50 AM Revision 64b326c2 (git): spec/ruby/library/socket/addrinfo: require for SocketSpecs
Otherwise, I get NameError when running these IPv6 tests individually
or in parallel.
git-svn-id: svn+ssh://ci.ruby-...
Eric Wong
07:49 AM Revision 432af3e6 (git): * 2018-09-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:49 AM Revision 8e9a8c04 (git): util.c: qsort_s in C11
* configure.ac: macro for C11 to use qsort_s.
* util.c (ruby_qsort): fix for C11 qsort_s. the comparison function
...
nobu (Nobuyoshi Nakada)
05:28 AM Feature #14927: Loading multiple files at once
nobu (Nobuyoshi Nakada) wrote:
> Doesn't the order matter?
Very often, it does not. If it does, one can always re...
marcandre (Marc-Andre Lafortune)
04:33 AM Feature #14927: Loading multiple files at once
shevegen (Robert A. Heiler) wrote:
> In the event that the project may be relocated, here is the
> copy/paste outco...
nobu (Nobuyoshi Nakada)
03:33 AM Feature #14183: "Real" keyword argument
After working a lot on `**{}`, I still strongly believe that we must maintain conversion of keyword arguments to posi... marcandre (Marc-Andre Lafortune)
03:27 AM Bug #15078: Hash splat of empty hash should not create a positional argument.
mame (Yusuke Endoh) wrote:
> I'd like to agree with you, but also really like to fix #15052. Do you find a good sema...
marcandre (Marc-Andre Lafortune)
02:31 AM Feature #15074: Create 'official' C API documentation on ruby-doc.org
Alright. So as a first step can you please tell me how it would be possible to create
this page for the C API? Or ma...
v0dro (Sameer Deshmukh)

09/08/2018

10:12 PM Bug #15091: [solaris] encdb.h.tmpl segfault
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/15091
> ```
> https://www.oracle.com/technetwork/se...
normalperson (Eric Wong)
04:31 PM Bug #15091 (Closed): [solaris] encdb.h.tmpl segfault
gcc -v
```
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/gcc/7/lib/gcc/x86_64-pc-solaris2.11/7.3...
ahorek (Pavel Rosický)
02:35 PM Feature #14927: Loading multiple files at once
I thought about creating a new issue but then I remembered that
the issue here refers to a similar use case that I w...
shevegen (Robert A. Heiler)
06:50 AM Feature #15085: Decrease memory cache usage of MJIT
As long as I can see from the benchmark result for the improved case, it looks good. But at least I would like to see... k0kubun (Takashi Kokubun)
02:44 AM Revision 7671126d (git): Use `&.` after `&.`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:09 AM Revision edc4df32 (git): * 2018-09-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:09 AM Revision e83c3083 (git): test/ruby/test_thread.rb: join threads in each test
Leaky thread detection doesn't happen frequently, enough
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64658 b2d...
Eric Wong

09/07/2018

09:03 PM Bug #15088: Leaky behaviour when GC disabled
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/15088

> 100_000.times do |i|
> "to_sym_#{i}".to...
normalperson (Eric Wong)
03:59 PM Bug #15088 (Rejected): Leaky behaviour when GC disabled
Hello
I've observed some leaky behaviour when creating dynamic Symbols ("string".to_sym) when GC is disabled. Crea...
william101 (William Tabi)
04:36 PM Bug #15078: Hash splat of empty hash should not create a positional argument.
marcandre (Marc-Andre Lafortune) wrote:
> First, I hope we can agree that `any(**{})` and `any(**Hash.new)` should h...
mame (Yusuke Endoh)
03:07 PM Bug #15087: Segmentation fault with splat and block
Good catch. My patch for #15052 will fix this issue. mame (Yusuke Endoh)
02:58 PM Bug #15087 (Closed): Segmentation fault with splat and block
The following code produces segmentation faults in Ruby 2.5.0, 2.5.1, and 2.6.0dev (2018-09-07 trunk 64656). This cod... jacobevelyn (Jacob Evelyn)
02:37 PM Revision 3c08f507 (git): ext/objspace/object_tracing.c (freeobj_i): fix missing assignment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:48 PM Feature #15066: Documentation and providing better API for accessing Complex numbers functions in C extensions

>
> > > Isn't it enough to just use rb_funcall() to call Ruby methods on Complex numbers?
>
> > Calling Ruby m...
v0dro (Sameer Deshmukh)
01:43 PM Revision 5af7cda5 (git): tool/node_name.rb: rewrote without flip-flop
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:28 AM Revision 164a93c8 (git): object_tracing.c: register TracePoint objects
* ext/objspace/object_tracing.c (trace_object_allocations_start): to
prevent TracePoint objects from GC, register t...
nobu (Nobuyoshi Nakada)
03:42 AM Revision 68df2b08 (git): test/ruby/test_ast.rb: assert error messages too
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:39 AM Revision 32aeb3dd (git): Refactor test
[Fix GH-1946]
From: Josh Cheek <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64653 b2dd0...
nobu (Nobuyoshi Nakada)
03:23 AM Revision 8eb96c61 (git): ext/objspace/object_tracing.c (freeobj_i): no lookup before delete
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:16 AM Revision 870c296d (git): * 2018-09-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:16 AM Revision 4ff0ce6a (git): ext/objspace/object_tracing.c: get rid of aliasing pointers
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
 

Also available in: Atom