Project

General

Profile

Activity

From 05/14/2018 to 05/20/2018

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...
karatedog (Földes László)
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. karatedog (Földes László)
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 U.Nakamura
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 U.Nakamura
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 U.Nakamura
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 svn[bot]
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 U.Nakamura
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... mperham (Mike Perham)
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... jnardone (joe nardone)
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...
nobu (Nobuyoshi Nakada)
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.
...
hkdnet (Ko Sato)
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 ... inopinatus (Joshua GOODALL)

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 ...
shevegen (Robert A. Heiler)
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... lucasbuchala (Lucas Buchala)
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...
shevegen (Robert A. Heiler)
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...
owst (Owen Stephens)
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... mame (Yusuke Endoh)
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...
bluz71 (Dennis B)
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). ... zverok (Victor Shepelev)
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/... larskanis (Lars Kanis)
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_...
yui-knk (Kaneko Yuichiro)
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...
bluz71 (Dennis B)
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 yui-knk (Kaneko Yuichiro)
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...
yahonda (Yasuo Honda)
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 ...
Student (Nathan Zook)
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 svn[bot]
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...
nobu (Nobuyoshi Nakada)

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 ...
nobu (Nobuyoshi Nakada)
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 ...
abhinayy (Abhinay Yellanki)
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...
shevegen (Robert A. Heiler)
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...
inopinatus (Joshua GOODALL)
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... zverok (Victor Shepelev)
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...
shevegen (Robert A. Heiler)
10:26 PM Misc #14698: DevelopersMeeting20180517Japan
Thanks for the link to the log shyouhei! shevegen (Robert A. Heiler)
01:27 AM Misc #14698: DevelopersMeeting20180517Japan
And here you are the log https://docs.google.com/document/d/e/2PACX-1vR2LdBE87iEcEsVuUUr0G2L6LxSPeGMg_0oeHeh0HYmX36iI... shyouhei (Shyouhei Urabe)
09:24 PM Feature #10238: todo: remove dependency on malloc_usable_size
work-in-progress patch to gc.c (much more todo)
normalperson (Eric Wong)
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...
normalperson (Eric Wong)
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...
normalperson (Eric Wong)
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);
```
...
nobu (Nobuyoshi Nakada)
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...
normalperson (Eric Wong)
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_...
normalperson (Eric Wong)
06:09 PM Bug #14774: Segmentation fault with Curb gem
This may be a duplicate of #12289 MatzFan (Brian Cohen)
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... MatzFan (Brian Cohen)
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?...
duerst (Martin Dürst)
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...
grzesiek (Grzegorz Bizon)
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...
dsferreira (Daniel Ferreira)
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...
normalperson (Eric Wong)
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,...
normalperson (Eric Wong)
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...
Eric Wong
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....
Eric Wong
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...
normalperson (Eric Wong)
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...
bluz71 (Dennis B)
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.... mperham (Mike Perham)
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... bluz71 (Dennis B)
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... bluz71 (Dennis B)
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...
bluz71 (Dennis B)
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...
Eric Wong
06:02 AM Bug #14772: Revision 63453 triggers 3 Active Support test failures
How does Active Support extend `Range`? nobu (Nobuyoshi Nakada)
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...
yahonda (Yasuo Honda)
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 ...
nobu (Nobuyoshi Nakada)
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 ... [email protected] (Steven Hay)
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.
>
> @...
shyouhei (Shyouhei Urabe)
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... shyouhei (Shyouhei Urabe)
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...
hsbt (Hiroshi SHIBATA)
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 nobu (Nobuyoshi Nakada)
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 nobu (Nobuyoshi Nakada)
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...
nobu (Nobuyoshi Nakada)
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...
nobu (Nobuyoshi Nakada)

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. ... rab (Rob Biedenharn)
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. ioquatix (Samuel Williams)
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...
shevegen (Robert A. Heiler)
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...
ioquatix (Samuel Williams)
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...
ioquatix (Samuel Williams)
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... noahgibbs (Noah Gibbs)
07:28 PM Misc #14769: DevelopersMeeting20180621Japan
Please comment with the following format:
```
* [Ticket info] Ticket-Title (proposer)
* Short-comment
```
...
ko1 (Koichi Sasada)
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...
hsbt (Hiroshi SHIBATA)
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... mperham (Mike Perham)
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 svn[bot]
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...
k0kubun (Takashi Kokubun)
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...
shevegen (Robert A. Heiler)
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...
owst (Owen Stephens)
07:38 AM Feature #14473 (Feedback): Add Range#subrange?
Any (real-world) use-case?
Matz.
matz (Yukihiro Matsumoto)
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 ...
briankung (Brian Kung)
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 ...
matz (Yukihiro Matsumoto)
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...
nobu (Nobuyoshi Nakada)
12:31 PM Misc #14698 (Closed): DevelopersMeeting20180517Japan
naruse (Yui NARUSE)
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
naruse (Yui NARUSE)
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... janko (Janko Marohnić)
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...
zverok (Victor Shepelev)
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 :...
shyouhei (Shyouhei Urabe)
11:45 AM Bug #14765: Arguments passed to Open3.popen3() are not interpreted as wildcards
```ruby
Open3.popen3("cat", *Dir.glob("*.yml"))
```
nobu (Nobuyoshi Nakada)
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...
Hanmac (Hans Mackowiak)
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")` ...
Rushyanth (Rushyanth reddy)
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. nobu (Nobuyoshi Nakada)
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.
akr (Akira Tanaka)
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... Rushyanth (Rushyanth reddy)
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?
nobu (Nobuyoshi Nakada)
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...
grzesiek (Grzegorz Bizon)
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...
knu (Akinori MUSHA)
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 ...
gotoken (Kentaro Goto)
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... knu (Akinori MUSHA)
08:30 AM Feature #14105 (Assigned): Introduce xor as alias for Set#^
naruse (Yui NARUSE)
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...
nobu (Nobuyoshi Nakada)
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...
matz (Yukihiro Matsumoto)
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...
nobu (Nobuyoshi Nakada)
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` (...
zverok (Victor Shepelev)
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.
matz (Yukihiro Matsumoto)
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...
shevegen (Robert A. Heiler)
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.
matz (Yukihiro Matsumoto)
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...
zverok (Victor Shepelev)
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...
akr (Akira Tanaka)
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
...
shevegen (Robert A. Heiler)
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...
sos4nt (Stefan Schüßler)
08:56 AM Feature #5512 (Rejected): Integer#/ の改訂
Too big incompatibility. Abandoned.
Matz.
matz (Yukihiro Matsumoto)
08:53 AM Feature #5482 (Rejected): Rubinius as basis for Ruby 2.0
We are working Ruby 3.0 now. hsbt (Hiroshi SHIBATA)
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.
matz (Yukihiro Matsumoto)
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...
nobu (Nobuyoshi Nakada)
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...
akr (Akira Tanaka)
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...
naruse (Yui NARUSE)
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...
naruse (Yui NARUSE)
07:27 AM Bug #14450: Enchance MatchData docs
@stomar
I added you to docs group.
Can you proofread and commit this?
Thanks.
hsbt (Hiroshi SHIBATA)
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... matz (Yukihiro Matsumoto)
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... matz (Yukihiro Matsumoto)
05:21 AM Bug #14699: Subtle behaviors with endless range
Need to be discussed with mrkn before December. naruse (Yui NARUSE)
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...
Eric Wong
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...
normalperson (Eric Wong)
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...
Eric Wong
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 Eric Wong
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.

...
normalperson (Eric Wong)
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...
normalperson (Eric Wong)
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.
...
ko1 (Koichi Sasada)
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...
normalperson (Eric Wong)
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...
ko1 (Koichi Sasada)
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_...
normalperson (Eric Wong)

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 ...
mame (Yusuke Endoh)
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. ... mperham (Mike Perham)
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...
jeremyevans0 (Jeremy Evans)
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...
mperham (Mike Perham)
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...
normalperson (Eric Wong)
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...
bluz71 (Dennis B)
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... mperham (Mike Perham)
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...
bluz71 (Dennis B)
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...
bluz71 (Dennis B)
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... frewsxcv (Corey Farwell)
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...
shevegen (Robert A. Heiler)
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...
frewsxcv (Corey Farwell)
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 ...
Eric Wong
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...
normalperson (Eric Wong)
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...
normalperson (Eric Wong)
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...
ko1 (Koichi Sasada)
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.
...
normalperson (Eric Wong)
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.
...
Eric Wong
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 svn[bot]
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...
stomar (Marcus Stollsteimer)
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...
naruse (Yui NARUSE)
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...
ana06 (Ana Maria Martinez Gomez)
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...
shyouhei (Shyouhei Urabe)
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 ...
ana06 (Ana Maria Martinez Gomez)
08:01 AM Misc #14698: DevelopersMeeting20180517Japan
Hi all,
The format is:
```
* [Ticket info] Ticket-Title (proposer)
* Short-comment
```
And I can copy&p...
ko1 (Koichi Sasada)
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...
Rushyanth (Rushyanth reddy)
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
...
Rushyanth (Rushyanth reddy)
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...
ngoto (Naohisa Goto)
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
> >...
normalperson (Eric Wong)
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_...
janko (Janko Marohnić)
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...
normalperson (Eric Wong)
05:55 AM Misc #14764: [PATCH] vm_trace: remove rb_postponed_job_t->flags
no problem. st_table also seems good. ko1 (Koichi Sasada)
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...
normalperson (Eric Wong)
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...
normalperson (Eric Wong)
09:19 AM Bug #5419: FileUtils.cp_rの:preserveの動作
と思ったけどそれはさすがに大丈夫でした。
```
ruby -rfileutils -e 'include FileUtils; mkdir("d1"); touch("d1/a"); chmod(0500, "d1"); c...
knu (Akinori MUSHA)
09:13 AM Bug #5419: FileUtils.cp_rの:preserveの動作
おお。処理順がそうなっているとすると、書き込み禁止のディレクトリのコピーもできませんね。 knu (Akinori MUSHA)
08:40 AM Bug #5419 (Closed): FileUtils.cp_rの:preserveの動作
fileutils は github の方に切り出されたので、そっちにチケットを作りました。
https://github.com/ruby/fileutils/issues/21
こっちは閉じとこうと思います。
mame (Yusuke Endoh)
09:07 AM Feature #5522 (Assigned): Numeric#finite?、Numeric#infinite?、Numeric#nan? の追加
#12039 で Numeric#finite? と #infinite? は導入されました。#nan? はどうしましょう? mame (Yusuke Endoh)
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. mame (Yusuke Endoh)
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...
nobu (Nobuyoshi Nakada)
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...
sunnyrjuneja (Sunny Juneja)
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... sawa (Tsuyoshi Sawada)
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...
sunnyrjuneja (Sunny Juneja)
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...
shevegen (Robert A. Heiler)
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...
sunnyrjuneja (Sunny Juneja)
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 ...
normalperson (Eric Wong)
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...
bluz71 (Dennis 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`. ngoto (Naohisa Goto)
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...
ngoto (Naohisa Goto)
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`?
nobu (Nobuyoshi Nakada)
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...
ngoto (Naohisa Goto)
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 ngoto (Naohisa Goto)
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...
nobu (Nobuyoshi Nakada)
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...
nobu (Nobuyoshi Nakada)

05/15/2018

11:16 PM Feature #14718: Use jemalloc by default?
Hi Yusuke, I'm sorry if this hasn't been approached the right way.
**The Problem**: Many large Rails apps have a m...
mperham (Mike Perham)
08:43 AM Feature #14718: Use jemalloc by default?
> [email protected] wrote:
> > An alternative is to tune glibc by reducing the number of arenas. Call this on start...
normalperson (Eric Wong)
07:17 AM Feature #14718: Use jemalloc by default?
@mame I agree this is a problem it makes it slightly more complex to install Ruby. Ideally the build process could de... sam.saffron (Sam Saffron)
03:49 AM Feature #14718: Use jemalloc by default?
I've already said to Shyouhei, his patch has a problem: configure script fails on an environment where jemalloc is un... mame (Yusuke Endoh)
08:48 PM Revision a930a064 (git): * 2018-05-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:48 PM Revision 577002ef (git): Change logic to check _XOPEN_SOURCE on Solaris
* configure.ac: Change logic to check _XOPEN_SOURCE on Solaris.
With _XOPEN_SOURCE, "-std=gnu99" may also be added ...
ngoto (Naohisa Goto)
03:02 PM Bug #14761: TestThread#test_join_limits hangs up on Solaris 10 with gcc
In the above situation when the test fails, `RbConfig::LIMITS['INT64_MIN']` is `nil`. ngoto (Naohisa Goto)
02:38 PM Bug #14761 (Open): TestThread#test_join_limits hangs up on Solaris 10 with gcc
After splitting the test, TestThread#test_join_limit_negative_INT64_MIN fails.
i.e. `limit=RbConfig::LIMITS['INT64_M...
ngoto (Naohisa Goto)
02:31 PM Bug #14761 (Closed): TestThread#test_join_limits hangs up on Solaris 10 with gcc
Applied in changeset trunk|r63437.
----------
Split TestThread#test_join_limits into peaces
* test/ruby/test_thread...
ngoto (Naohisa Goto)
02:21 PM Bug #14761 (Open): TestThread#test_join_limits hangs up on Solaris 10 with gcc
On Solaris 10, sparc architecture, when compiling ruby (r63417) by GCC (version 4.6.2), TestThread#test_join_limits d... ngoto (Naohisa Goto)
02:31 PM Revision 80bf542a (git): Split TestThread#test_join_limits into peaces
* test/ruby/test_thread.rb (TestThread#test_join_limit_*): Split
TestThread#test_join_limits for investigating hang...
ngoto (Naohisa Goto)
10:51 AM Revision 6189f226 (git): signal.c: follow up r63435
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:38 AM Feature #14758: Add a first-class support for isolated bounded packages / modules / contexts
Hi Robert,
I agree that we should not change current ruby behaviour.
I see the proposal as an extra functionality...
dsferreira (Daniel Ferreira)
09:03 AM Feature #14758: Add a first-class support for isolated bounded packages / modules / contexts
I am mostly neutral to somewhat against it; not because of the
additional information, but because of the **restrict...
shevegen (Robert A. Heiler)
08:37 AM Feature #14758: Add a first-class support for isolated bounded packages / modules / contexts
Sorry. I just corrected the typo:
`private_constant :Foo`
should read:
`private_constant :Bar`
dsferreira (Daniel Ferreira)
08:33 AM Feature #14758: Add a first-class support for isolated bounded packages / modules / contexts
Hi Grzegorz,
My proposal regarding the implementation of Internal Interfaces (internal access modifier) https://bu...
dsferreira (Daniel Ferreira)
07:56 AM Feature #14758 (Open): Add a first-class support for isolated bounded packages / modules / contexts
While one of the core principles of Ruby is to extend the language in a way it is a most useful and convenient tool t... grzesiek (Grzegorz Bizon)
10:12 AM Misc #14698: DevelopersMeeting20180517Japan
Please discuss what cross-thread IO#close semantics should be
for threads stuck in IO.select and IO.copy_stream:
h...
normalperson (Eric Wong)
10:11 AM Revision 0c91f109 (git): vm_core.h (rb_execution_context_t): interrupt_mask size to match interrupt_flag
rb_atomic_t is 32-bit on 64-bit platforms (including the popular
x86-64 Linux), so save 4 bytes on this structure. T...
Eric Wong
10:10 AM Revision ff6520b0 (git): Added workaround to fileutils for `make btest` without rbconfig.
Followed up r63430.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
10:04 AM Misc #14760 (Assigned): cross-thread IO#close semantics
I wrote about cross-thread IO#close in ruby-core, but I'm not sure if it's a bug
or not to have missing support for ...
normalperson (Eric Wong)
08:25 AM Feature #14759 (Open): [PATCH] set M_ARENA_MAX for glibc malloc
Not everybody benefits from jemalloc and the extra download+install
time is not always worth it. Lets make the user...
normalperson (Eric Wong)
08:08 AM Revision f50051ad (git): configure.ac: maybe with jemalloc
* configure.ac (--with-jemalloc): accept `maybe` (other than `yes`
and `no`), check for jemalloc and use it if poss...
nobu (Nobuyoshi Nakada)
07:46 AM Revision c3b77e70 (git): generic_erb.rb: get rid of fileutils
* tool/generic_erb.rb: get rid of FileUtils.touch, not to depend
on fileutils.rb which will depend on rbconfig.rb w...
nobu (Nobuyoshi Nakada)
07:45 AM Revision 02c1358b (git): share :cause variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:12 AM Feature #14757: [PATCH] thread_pthread.c: enable thread cache by default
Oops, I forgot to squash the patch and only sent the second part :x
Anyways, it is trivial:

```
--- a/thread_pt...
normalperson (Eric Wong)
12:48 AM Feature #14757 (Closed): [PATCH] 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 b...
normalperson (Eric Wong)
05:53 AM Revision 60fbe013 (git): Retry to merge fileutils-1.1.0.
* Revert "Revert "Merge fileutils-1.1.0.""
This reverts commit 84bb8e81c25d4d7d6020c3acfbbc36e9064200fa.
* Add...
hsbt (Hiroshi SHIBATA)
04:35 AM Revision a95369b3 (git): -Wno-cast-function-type
GCC 8.1+ introduced this warning in -Weverything. It does
shed some lights on something, but rather annoying than
us...
shyouhei (Shyouhei Urabe)
04:16 AM Revision 84bb8e81 (git): Revert "Merge fileutils-1.1.0."
This reverts commit 99da3d2570e110d3024039102205f6d64174bf5e.
The change caused the following build failure:
```
......
mame (Yusuke Endoh)
03:49 AM Revision 4e09f414 (git): thread.c: enable ppoll for FreeBSD 11.0 and later
FreeBSD 11.0+ supports ppoll, so we may use it after accounting
for portability differences in how it treats POLLOUT ...
Eric Wong
01:29 AM Revision a687547a (git): -test-/wait_for_single_fd: fix -Wformat-security warning
Oops
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
01:22 AM Revision 6f960986 (git): Merge fileutils-1.1.0.
This version was migrated JRuby paches.
https://github.com/ruby/fileutils/pull/18
git-svn-id: svn+ssh://ci.ruby-la...
hsbt (Hiroshi SHIBATA)
12:08 AM Revision ee1b07b6 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:08 AM Revision f4e451ce (git): test_io_wait_uncommon: new test for uncommon file types
This should make portability problems more apparent when we try
using ppoll with rb_wait_for_single_fd on FreeBSD or ...
Eric Wong

05/14/2018

11:51 PM Revision b6f9a605 (git): test_wait_for_single_fd.rb: remove with_pipe helper
IO.pipe natively accepts a block, nowadays.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63422 b2dd03c8-39d4-4d...
Eric Wong
11:51 PM Revision 863e24b2 (git): test_wait_for_single_fd: ensure this works with kqueue
Regardless of future features, this needs to work with
kqueue descriptors across platforms.
Today this will be usefu...
Eric Wong
11:42 PM Revision baaf3ba1 (git): test_wait_for_single_fd.rb: relax test for newer FreeBSD
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
11:40 PM Revision 3bc10457 (git): * 2018-05-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:40 PM Revision cda10c6d (git): io.c: cleanup copy_stream wait-for-single-fd cases
Avoid paying unnecessary setup and teardown cost for rb_fdset_t
on platforms (Linux) with good poll() support. This ...
Eric Wong
08:42 PM Feature #14723: [WIP] sleepy GC
I wrote:
> For tracking GC statistics, we should probably keep them in
> rb_execution_context_t instead of current...
normalperson (Eric Wong)
04:31 PM Feature #14718: Use jemalloc by default?
mperham (Mike Perham) wrote:
> Shyouhei, I'm very happy with only the change in default. I believe that will signif...
wyhaines (Kirk Haines)
03:58 PM Feature #14718: Use jemalloc by default?
Shyouhei, I'm very happy with only the change in default. I believe that will significantly improve the runtime of 1... mperham (Mike Perham)
08:30 AM Feature #14718: Use jemalloc by default?
sam.saffron (Sam Saffron) wrote:
> - On Linux X64 default to downloading a validated (using SHA1) tcmalloc/jemallo...
bluz71 (Dennis B)
07:53 AM Feature #14718: Use jemalloc by default?
Review wanted:
```diff
Index: trunk/configure.ac
===============================================================...
shyouhei (Shyouhei Urabe)
07:33 AM Feature #14718: Use jemalloc by default?
> You can explicitly specify --with-jemalloc, for a long time. I don't see any practical reason why that's insufficie... sam.saffron (Sam Saffron)
06:42 AM Feature #14718: Use jemalloc by default?
shyouhei (Shyouhei Urabe) wrote:
> You can explicitly specify `--with-jemalloc`, for a long time. I don't see any p...
bluz71 (Dennis B)
03:16 AM Feature #14718: Use jemalloc by default?
You can explicitly specify `--with-jemalloc`, for a long time. I don't see any practical reason why that's insuffici... shyouhei (Shyouhei Urabe)
02:14 AM Feature #14718: Use jemalloc by default?
shyouhei (Shyouhei Urabe) wrote:
> This literally means we have to bug fix jemalloc. Please no.
It's a judgement...
bluz71 (Dennis B)
12:09 AM Feature #14718: Use jemalloc by default?
mperham (Mike Perham) wrote:
> You control the exact version and any resulting bugs.
This literally means we have...
shyouhei (Shyouhei Urabe)
01:54 PM Feature #14249: Remove str[match_str]
A use in replacement may look intuitive.
```
s = "Cage"
s["age"] = "heese"
p s
#=> "Cheese"
```
gotoken (Kentaro Goto)
10:57 AM Feature #14249: Remove str[match_str]
I believe "abc".include?("ab") is much clearer than "abc"["ab"].
Are there real usages of it?
I guess the main conc...
Eregon (Benoit Daloze)
08:43 AM Bug #14747: uninitialized constant Gem::PathSupport
Sorry to be late with my reply
hsbt (Hiroshi SHIBATA) wrote:
> I fixed this problem at r63377. I think that this ...
duerst (Martin Dürst)
08:33 AM Bug #14756 (Closed): `Exception` may cause SEGV when `#backtrace` returns a string
Applied in changeset trunk|r63417.
----------
error.c: check redefined backtrace result
* error.c (rb_get_backtrace...
nobu (Nobuyoshi Nakada)
12:12 AM Bug #14756 (Closed): `Exception` may cause SEGV when `#backtrace` returns a string
This code causes SEGV, because `print_backtrace` expects second argument to be an array but a string is given.
```...
yui-knk (Kaneko Yuichiro)
08:33 AM Revision 6f0de6ed (git): error.c: check redefined backtrace result
* error.c (rb_get_backtrace): check the result of `backtrace` even
if the method is redefined. [ruby-core:87013] [...
nobu (Nobuyoshi Nakada)
08:14 AM Feature #14739: Improve fiber yield/resume performance
Here is the test which shows coroutine arguments and `coroutine_transfer` result.
https://github.com/kurocha/corou...
ioquatix (Samuel Williams)
08:05 AM Feature #14739: Improve fiber yield/resume performance
@ko1 I would suggest we make a Ruby specific version, but we can also try to make generic static library so that it c... ioquatix (Samuel Williams)
07:49 AM Feature #14739: Improve fiber yield/resume performance
sorry I missed comments.
How to ship with this library? bundle it or download by others?
(this is similar discuss...
ko1 (Koichi Sasada)
07:40 AM Feature #14739: Improve fiber yield/resume performance
Does this change move us any closer to being able to ship fibers between threads? sam.saffron (Sam Saffron)
06:39 AM Revision 1e8ff0de (git): Update test-unit 3.2.8 for bundled gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
03:30 AM Revision 6c7fe8eb (git): * 2018-05-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:30 AM Revision 4f3c4c7d (git): RSTRING_PTR is not guaranteed to be char*-aligned
This commit eliminates (char **)RSTRING_PTR(...) like usages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@634...
shyouhei (Shyouhei Urabe)
 

Also available in: Atom