Project

General

Profile

Activity

From 08/04/2018 to 08/10/2018

08/10/2018

07:58 PM Feature #6284: Add composition for procs
I used this proposal along with #14781 for a fun solution to a problem proposed in the #ruby irc channel: https://gis... shan (Shannon Skipper)
02:03 PM Feature #14975: String#append without changing receiver's encoding
Oh, I see, you are changing the encoding of the buffer to match the argument, then appending it. Interesting, I didn'... ioquatix (Samuel Williams)
02:01 PM Feature #14975: String#append without changing receiver's encoding
It's not the receiver that's frozen, it's the argument. If the argument is frozen, `force_encoding` will fail. Not on... ioquatix (Samuel Williams)
01:39 PM Feature #14975: String#append without changing receiver's encoding
ioquatix (Samuel Williams) wrote:
> The logic you've given above is too idealistic unfortunately:
>
> ```
> [11]...
jeremyevans0 (Jeremy Evans)
06:40 AM Feature #14975: String#append without changing receiver's encoding
One more thing to consider. If we add `rb_str_append2`, should we be more strict? Rather than doing implicit conversi... ioquatix (Samuel Williams)
06:19 AM Feature #14975: String#append without changing receiver's encoding
So, I think what happened was I ran `make test` on older trunk. I rebased and changed implementation to be `rb_str_ap... ioquatix (Samuel Williams)
05:52 AM Feature #14975: String#append without changing receiver's encoding
Just to make it crystal clear, changing the behaviour of `rb_str_append` affects all other functions which call it. T... ioquatix (Samuel Williams)
05:51 AM Feature #14975: String#append without changing receiver's encoding
So, as a preface: without introducing (yet another) method, we are left with changing the behaviour of existing metho... ioquatix (Samuel Williams)
04:39 AM Feature #14975: String#append without changing receiver's encoding
> The problem with that is that single BINARY encoding string can then cause havok in your application, since any str... ioquatix (Samuel Williams)
04:33 AM Feature #14975: String#append without changing receiver's encoding
The logic you've given above is too idealistic unfortunately:
```
[11] pry(main)> x = "Foobar".freeze ...
ioquatix (Samuel Williams)
04:23 AM Feature #14975: String#append without changing receiver's encoding
ioquatix (Samuel Williams) wrote:
> IMHO, anyone relying on this behaviour is walking on fire. But, you are right, t...
jeremyevans0 (Jeremy Evans)
03:50 AM Feature #14975: String#append without changing receiver's encoding
@jeremyevans0 I agree with you. It's a problem.
Just for completeness, here is the error you talk about:
```rub...
ioquatix (Samuel Williams)
03:02 AM Feature #14975: String#append without changing receiver's encoding
Making `String#<<` not change the encoding of the receiver may cause backward compatibility issues (raising an except... jeremyevans0 (Jeremy Evans)
01:32 AM Feature #14975: String#append without changing receiver's encoding
That makes total sense, so it seems like we are in agreement, when the receiver is BINARY, we can append anything to ... ioquatix (Samuel Williams)
01:16 AM Feature #14975: String#append without changing receiver's encoding
ioquatix (Samuel Williams) wrote:
> > Changing String#<< and String#concat is not acceptable.
>
> Since the curre...
shyouhei (Shyouhei Urabe)
01:09 PM Feature #14609: Let `Kernel#p` without an argument print the receiver
ko1 (Koichi Sasada) wrote:
> Hanmac: do you rely on this behavior?
Me? not so much, in general i don't trust the ...
Hanmac (Hans Mackowiak)
07:03 AM Feature #14609: Let `Kernel#p` without an argument print the receiver
Hanmac: do you rely on this behavior?
ko1 (Koichi Sasada)
11:44 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
> Right, interrupts make it unpredictable. We can control
I think as long as it's documented which APIs might caus...
ioquatix (Samuel Williams)
09:33 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
We discussed about naming.
```
X IoThread.new{}
X GreenThread.new{}
X Thread::Green.new{} #124 “most likely ca...
ko1 (Koichi Sasada)
11:37 AM Feature #11076: Enumerable method count_by
As Naruse in DevelopersMeeting20180809 mentioned: It is a histogram function.
How about ```histogram_by``` (and for ...
janfri (Jan Friedrich)
10:53 AM Bug #10554 (Rejected): preview2 fails to generate prelude.c
Ruby 2.2.0 is already released. If you still have an issue, Can you submit another issue?
Thanks,
hsbt (Hiroshi SHIBATA)
10:51 AM Misc #10791 (Assigned): [PATCH 1/1] Remove unnecessary passing value from doc for Observable
hsbt (Hiroshi SHIBATA)
09:26 AM Feature #14844: Future of RubyVM::AST?
I'm really curious what's the purpose of this module and why wasn't in developed in collaboration with the maintainer... bozhidar (Bozhidar Batsov)
09:22 AM Feature #14187 (Closed): `make test` and `make check` to run all test suites
Applied in changeset commit:ruby-git|163b830d70dabe629816bf7ecf8e5ad3bd511c3e.
----------
common.mk: "make check" no...
mame (Yusuke Endoh)
08:59 AM Feature #14187: `make test` and `make check` to run all test suites
ioquatix (Samuel Williams) wrote:
> I've been working on PRs for MRI, and I got bitten by `make test` not running al...
naruse (Yui NARUSE)
08:47 AM Feature #14187 (Open): `make test` and `make check` to run all test suites
I changed "make check" to run all tests. But I don't change "make test" yet because of naruse's objection. So I kee... mame (Yusuke Endoh)
08:42 AM Feature #14187 (Closed): `make test` and `make check` to run all test suites
Applied in changeset trunk|r64270.
----------
common.mk: "make check" now runs test-spec
Currently there are many "...
mame (Yusuke Endoh)
07:36 AM Feature #14187: `make test` and `make check` to run all test suites
I've been working on PRs for MRI, and I got bitten by `make test` not running all tests. I wish it was the simple def... ioquatix (Samuel Williams)
07:13 AM Bug #11913: make fails when using a custom build directory
I ran into this problem, and I think it was because I had tried building in the root directory. I did `make clean` an... ioquatix (Samuel Williams)
07:08 AM Misc #14981 (Closed): DevelopersMeeting20180913Japan
Please comment your favorite ticket numbers you want to ask to discuss with your *SHORT* comment or summary.
(your s...
ko1 (Koichi Sasada)
06:28 AM Bug #13598 (Assigned): mutex_m: Missing info in the doc
hsbt (Hiroshi SHIBATA)
06:27 AM Bug #13972 (Assigned): [PATCH] document File.{setuid?,setgid?,sticky?} support for IO objects
hsbt (Hiroshi SHIBATA)
05:37 AM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
Ruby use generally falls into one of two categories: short-lived or very long-lived.
For short-lived Ruby scripts ...
bluz71 (Dennis B)
02:22 AM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
[email protected] wrote:
> Hmm. Thank you. Now I am very faintly negative because
> MALLOC_ARENA_MAX=2 ruby...
normalperson (Eric Wong)
02:07 AM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
normalperson (Eric Wong) wrote:
> [email protected] wrote:
> > Yes the question is, what exactly is the value...
shyouhei (Shyouhei Urabe)
01:42 AM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
[email protected] wrote:
> Yes the question is, what exactly is the value of
> MALLOC_ARENA_MAX that a user s...
normalperson (Eric Wong)
12:51 AM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
normalperson (Eric Wong) wrote:
> [email protected] wrote:
> > One question: is it possible to cancel the eff...
shyouhei (Shyouhei Urabe)
05:18 AM Bug #14969 (Closed): Process.groups が返す GID が重複している場合がある
Applied in changeset trunk|r64265.
----------
process.c: fix rubyspec of Process.groups
getgroups(2) may return a G...
mrkn (Kenta Murata)
04:53 AM Bug #14969 (Assigned): Process.groups が返す GID が重複している場合がある
mrkn (Kenta Murata)
02:12 AM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
[email protected] wrote:
> I guess you are reinventing libuv?
> It claims to support Windows.

I guess usa ...
normalperson (Eric Wong)
12:48 AM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
I guess you are reinventing libuv?
It claims to support Windows.
I don't say we should use it but it might be worth...
shyouhei (Shyouhei Urabe)

08/09/2018

06:31 PM Bug #14979: Invalid argument - ruby_setenv(SURVEY) (Errno::EINVAL)
Interesting. My Linux-environment, in ruby via ENV, has 810 entries and
I have no problem.
How did you clear the ...
shevegen (Robert A. Heiler)
01:40 PM Bug #14979 (Closed): Invalid argument - ruby_setenv(SURVEY) (Errno::EINVAL)
The error occurs with Ruby 2.5.1-2 (x64) on windows as well as with an old Ruby 1.9.3 (x86) on windows, when setting ... tvw (Thomas Volkmar Worm)
06:15 PM Feature #11076: Enumerable method count_by
`group_count`? It's half-way between `group_by` and `count` baweaver (Brandon Weaver)
07:58 AM Feature #11076: Enumerable method count_by
In today's developer meeting, Matz understood the need for the feature but didn't like the name. One point he made w... knu (Akinori MUSHA)
05:52 PM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
[email protected] wrote:
> One question: is it possible to cancel the effect of
> M_ARENA_MAX ? Given @mame'...
normalperson (Eric Wong)
11:35 AM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
One question: is it possible to cancel the effect of M_ARENA_MAX ? Given @mame's corner case, it might be desirable ... shyouhei (Shyouhei Urabe)
02:30 PM Feature #14914: Add BasicObject#instance_exec_with_block
ioquatix (Samuel Williams) wrote:
> What about some kind of currying? i.e. binding the block to the block you want t...
jeremyevans0 (Jeremy Evans)
08:07 AM Feature #14914: Add BasicObject#instance_exec_with_block
What about some kind of currying? i.e. binding the block to the block you want to instance exec. ioquatix (Samuel Williams)
11:59 AM Feature #14954: Add :wait option to RubyVM::MJIT.pause
> once there is some profiling (e.g. branch profiling, type profiling, value profiling, etc)
This part didn't mak...
k0kubun (Takashi Kokubun)
10:12 AM Feature #14954: Add :wait option to RubyVM::MJIT.pause
Just a thought:
Pausing MJIT for benchmarks, even microbenchmarks, might have quite unintended effects once there is...
Eregon (Benoit Daloze)
09:58 AM Feature #14954 (Closed): Add :wait option to RubyVM::MJIT.pause
committed in r64250 k0kubun (Takashi Kokubun)
11:27 AM Feature #14975: String#append without changing receiver's encoding
> Changing String#<< and String#concat is not acceptable.
Since the current behaviour is underspecified, I feel li...
ioquatix (Samuel Williams)
11:25 AM Feature #14975: String#append without changing receiver's encoding
I didn't know about StringIO being an option. I will investigate it. ioquatix (Samuel Williams)
10:20 AM Feature #14975: String#append without changing receiver's encoding
Just FYI, StringIO behaves what you want.
```
irb(main):002:0> require'stringio'
=> false
irb(main):004:0> sio=...
naruse (Yui NARUSE)
09:03 AM Feature #14975: String#append without changing receiver's encoding
The motivation sounds reasonable.
Changing `String#<<` and `String#concat` is not acceptable.
Adding `String#append...
naruse (Yui NARUSE)
06:17 AM Feature #14975: String#append without changing receiver's encoding
@nobu Thanks for updating. ioquatix (Samuel Williams)
11:09 AM Bug #14974: "if" statement executes wrong branch
> occurs only when a nonsense assignment like foo = foo is used.
Could happen because of a typo or the brain-assoc...
shevegen (Robert A. Heiler)
10:48 AM Misc #10836 (Assigned): Add Documentation to Regexp
hsbt (Hiroshi SHIBATA)
10:47 AM Misc #11712 (Assigned): [PATCH] ext/openssl/ossl_ssl.c: nodoc for private methods
hsbt (Hiroshi SHIBATA)
10:46 AM Bug #12252 (Assigned): Clarify Thread exception handling documentation.
hsbt (Hiroshi SHIBATA)
10:45 AM Feature #14347 (Assigned): Explain How Symbols Differ From Strings in Symbol's Rdoc
hsbt (Hiroshi SHIBATA)
10:44 AM Feature #14377 (Rejected): Improve documentation for `OpenSSL::X509::Store#verify_callback=` and `OpenSSL::SSL::SSLContext#verify_callback=`
hsbt (Hiroshi SHIBATA)
10:44 AM Bug #14408 (Assigned): Add hash argument description for GC.stat and GC.latest_gc_info document
To. ko1
Can you confirm an attached patch?
hsbt (Hiroshi SHIBATA)
10:43 AM Bug #14483 (Assigned): Enchance Method docs
hsbt (Hiroshi SHIBATA)
10:43 AM Misc #14610 (Assigned): Enhance Proc docs
hsbt (Hiroshi SHIBATA)
10:43 AM Bug #14436 (Assigned): Enchance yield_self docs
hsbt (Hiroshi SHIBATA)
10:42 AM Bug #14450 (Assigned): Enchance MatchData docs
hsbt (Hiroshi SHIBATA)
09:45 AM Misc #10339 (Closed): normalize reference to Timeout::Error
hsbt (Hiroshi SHIBATA)
08:57 AM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
> Uh oh, really? I saw rb_w32_set_nonblock() has is_pipe() check
> and {Get,Set}NamedPipeHandleState calls, already,...
usa (Usaku NAKAMURA)
08:52 AM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
[email protected] wrote:
> BTW, Windows does not have nonblocking pipe.

Uh oh, really? I saw rb_w32_set_non...
normalperson (Eric Wong)
08:30 AM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
BTW, Windows does not have nonblocking pipe.
Yes, we may be able to write emulation layer with overlapped I/O functi...
usa (Usaku NAKAMURA)
08:57 AM Feature #8382 (Assigned): Format OpenStruct YAML dump and create getters and setters after load.
hsbt (Hiroshi SHIBATA)
08:56 AM Bug #5418: Some properties of WEBrick::HTTPRequest could be malformed
As Rails did, webrick seems to need introduce TRUSTED_PROXIES. naruse (Yui NARUSE)
08:53 AM Bug #6773 (Rejected): "You may have encountered a bug in the Ruby interpreter or extension libraries."
Ruby 1.9.3 is EOL status. Please try with Ruby 2.4 or 2.5. hsbt (Hiroshi SHIBATA)
08:49 AM Feature #11258 (Closed): add 'x' mode character for O_EXCL
Applied in changeset trunk|r64245.
----------
add 'x' mode character for O_EXCL
[Feature #11258]
Patch by cremno (c...
znz (Kazuhiro NISHIYAMA)
08:49 AM Feature #14007 (Closed): open mode 'x' to raise error if file exists
Applied in changeset trunk|r64245.
----------
add 'x' mode character for O_EXCL
[Feature #11258]
Patch by cremno (c...
znz (Kazuhiro NISHIYAMA)
08:42 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
[email protected] wrote:
> Also, do you think you can make Ruby's native timeout safe? My
> understanding i...
normalperson (Eric Wong)
08:25 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Also, do you think you can make Ruby's native timeout safe? My understanding is that it was a bit unpredictable. With... ioquatix (Samuel Williams)
08:04 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
I agree with everything being said here.
However, just to point out, async doesn't support per-operation timeouts ...
ioquatix (Samuel Williams)
08:41 AM Feature #5987 (Closed): IPAddr#initialize should display the invalid address when raising ArgumentError
Applied in changeset trunk|r64244.
----------
Include the input in the message when raising InvalidAddressError
[Fe...
knu (Akinori MUSHA)
08:29 AM Bug #14970 (Closed): -i option doesn't work for multi-byte-char filenames on Windows Ruby2.5.1
Applied in changeset trunk|r64243.
----------
io.c: fix non-ascii filename inplace edit
* io.c (argf_next_argv): co...
nobu (Nobuyoshi Nakada)
08:22 AM Bug #5897 (Rejected): RubyからWinAPIのCreateProcessを使ったときに引数を間違えるとバグがでる
本日の開発者会議でこのチケットを議論しましたが、このAPIはFFIの薄いラッパなので、特に[BUG]を防ぐ予定はないとのことでした。 mame (Yusuke Endoh)
07:55 AM Bug #13167 (Assigned): Dir.glob is 25x slower since Ruby 2.2
h.shirosaki (Hiroshi Shirosaki)
07:50 AM Feature #14944: Support optional inherit argument for Module#method_defined?
I think this is a good idea. Accepted.
Matz.
matz (Yukihiro Matsumoto)
07:10 AM Feature #14717 (Closed): [PATCH] thread: allow disabling preempt
ko1 (Koichi Sasada)
06:55 AM Feature #14973: Proposal of percent literal to expand Hash
For debugging purposes, you could have a method like this:
```ruby
class Binding
def dump(*syms)
pp syms....
knu (Akinori MUSHA)
06:44 AM Feature #14877 (Rejected): Calculate age in Date class
I don't think the calculation of age from the birthday is not a responsibility of `Date` class.
There may be a chanc...
matz (Yukihiro Matsumoto)
06:42 AM Misc #14921: DevelopersMeeting20180809Japan
- [Feature #14914] Add BasicObject#instance_exec_with_block aycabta (aycabta .)
06:13 AM Misc #14921: DevelopersMeeting20180809Japan
One more issue which would be awesome to get some input on would be https://bugs.ruby-lang.org/issues/14975 if you ha... ioquatix (Samuel Williams)
05:05 AM Misc #14921: DevelopersMeeting20180809Japan
[Misc #14907] io.c: do not close inherited FDs by default akr (Akira Tanaka)
06:31 AM Misc #14907: [PATCH] io.c: do not close inherited FDs by default
We discuss this issue at today's meeting.
We agree we can challenge to change the default.
Then, we can see actua...
akr (Akira Tanaka)
06:13 AM Feature #14887 (Closed): Array#delete_if does not use #delete
matz (Yukihiro Matsumoto)
06:13 AM Feature #14887: Array#delete_if does not use #delete
It is intentional optimization for time & space. Besides that a subclass of Array (or String) is generally not a good... matz (Yukihiro Matsumoto)
04:06 AM Feature #14916: Proposal to add Array#===
Like I just mentioned in https://bugs.ruby-lang.org/issues/14869#note-13, would you consider changing this to run the... timriley (Tim Riley)
02:23 AM Feature #14916: Proposal to add Array#===
> I believe this would, while taking a minor speed hit, give much greater flexibility and duck-typing compatibility t... osyo (manga osyo)
04:03 AM Feature #14869: Proposal to add Hash#===
This is looking like a really positive improvement, thank you!
Would you consider taking this one step further and...
timriley (Tim Riley)
02:09 AM Feature #14869: Proposal to add Hash#===
> Much like the suggestion in the Array topic, would it be a good idea to leverage to_hash? In Ruby this means that a... osyo (manga osyo)
03:52 AM Misc #14937: [PATCH] thread_pthread: lazy-spawn timer-thread only on contention
> Btw, using POSIX timers is a solution for this; because
> timer_settime(2) is async-signal safe and I can call it...
normalperson (Eric Wong)

08/08/2018

08:51 PM Feature #14869: Proposal to add Hash#===
I had mentioned this in the `Array#===` topic for consideration: https://bugs.ruby-lang.org/issues/14916#note-6
In...
baweaver (Brandon Weaver)
08:46 PM Feature #14916: Proposal to add Array#===
I've noticed that this will always return false if the other value is not an array:
(line 4011 of patch)
```ruby
...
baweaver (Brandon Weaver)
01:21 PM Feature #14916: Proposal to add Array#===
> I think there is a potential incompatibility here, due to changing the behavior of #===.
> The fact Module#=== doe...
osyo (manga osyo)
08:23 PM Feature #14975: String#append without changing receiver's encoding
I think this should be filed under Feature simply because it may change
existing functionality.
shevegen (Robert A. Heiler)
03:35 AM Feature #14975: String#append without changing receiver's encoding
One other option would be to add `String#append` which preserves encoding. ioquatix (Samuel Williams)
03:15 AM Feature #14975 (Rejected): String#append without changing receiver's encoding
I'm not sure where this fits in, but in order to avoid garbage and superfluous function calls, is it possible that `S... ioquatix (Samuel Williams)
06:37 PM Feature #6284: Add composition for procs
matz (Yukihiro Matsumoto) wrote:
> We need more discussion if we would add combination methods to the `Symbol` class...
shan (Shannon Skipper)
02:28 PM Feature #14426 (Closed): [PATCH] openssl: reduce memory allocation in OpenSSL::Buffering#do_write
The patch is now in ruby/openssl (upstream)'s master branch and Ruby trunk.
For the record, the GitHub Pull Reques...
rhenium (Kazuki Yamaguchi)
01:45 PM Misc #14921: DevelopersMeeting20180809Japan
- [Feature #14973] Proposal of percent literal to expand Hash
aycabta (aycabta .)
11:22 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
[snipping some bits, because I can only speak to what I know]

On Wed, 8 Aug 2018 at 18:50, Eric Wong <normalperso...
phluid61 (Matthew Kerwin)
08:53 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
[email protected] wrote:
> I've been playing around with my gem async and I've come to
> the conclusion tha...
normalperson (Eric Wong)
01:21 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Eric that is a great update.
I've been playing around with my gem async and I've come to the conclusion that it is...
ioquatix (Samuel Williams)
09:33 AM Bug #14945: [PATCH] thread.c (blocking_region_end): clear ubf before unregister_ubf_list
[email protected] wrote:
> ko1 (Koichi Sasada) wrote:
> > One off topic question. `list_empty()` is thread-safe?
>
...
normalperson (Eric Wong)
05:53 AM Bug #14945: [PATCH] thread.c (blocking_region_end): clear ubf before unregister_ubf_list
ko1 (Koichi Sasada) wrote:
> One off topic question. `list_empty()` is thread-safe?
Sorry it should be safe (I mi...
ko1 (Koichi Sasada)
05:51 AM Bug #14945: [PATCH] thread.c (blocking_region_end): clear ubf before unregister_ubf_list
:+1:
One off topic question. `list_empty()` is thread-safe?
ko1 (Koichi Sasada)
08:37 AM Bug #14976 (Closed): /usr/local/lib/ruby/gems/2.6.0/gems/fluentd-1.2.4/lib/fluent/event.rb:193: [BUG] Segmentation fault at 0x0000000000000000 ruby 2.6.0preview1 (2018-02-24 trunk 62554) [x86_64-linux]
[root@sh_02 fluentd]# fluentd -c /alidata/install/fluentd/conf/datahub.conf
2018-08-08 16:31:29 +0800 [info]: parsin...
booboowei (booboo wei)
08:04 AM Feature #14717: [PATCH] thread: allow disabling preempt
[email protected] wrote:
> I don't think it is good idea to support
> `Thread#preemptible=false` because someone can m...
normalperson (Eric Wong)
05:39 AM Feature #14717: [PATCH] thread: allow disabling preempt
# The following is the fact I want to clear
(fix me if my understanding is wrong)
I believe this proposal is eq...
ko1 (Koichi Sasada)
07:52 AM Misc #14962: [PATCH] thread_pthread: stop trying to deal with cancellation
[email protected] wrote:
> I don't know about these deleted code. Who introduced?

Looks like akr did, but no reasoni...
normalperson (Eric Wong)
06:35 AM Misc #14962: [PATCH] thread_pthread: stop trying to deal with cancellation
I don't know about these deleted code. Who introduced?
ko1 (Koichi Sasada)
06:31 AM Bug #14898: test/lib/test/unit/parallel.rb: TestSocket#test_timestamp stuck sometimes
> Oh, different test, that is test_timestampns getting stuck.
sorry.
> ko1: is frontier also on Docker?
No....
ko1 (Koichi Sasada)
06:27 AM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
> The question then becomes: What happens when Guilds land?
I have an optimistic opinion.
If transient heap succe...
ko1 (Koichi Sasada)
06:10 AM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
sam.saffron (Sam Saffron) wrote:
> Koichi / Nobu
>
> Is there any chance we can merge this in and even backport ...
ko1 (Koichi Sasada)
06:07 AM Feature #14955: [PATCH] gc.c: use MADV_FREE to release most of the heap page body
off-topic `:p`:
If we have a lightweight communication channel between user-process and OS, we can choose this tec...
ko1 (Koichi Sasada)
03:10 AM Bug #13407: We have recv_nonblock but not send_nonblock... can we add it?
We can close this issue, as there exists a satisfactory alternative. ioquatix (Samuel Williams)
03:08 AM Misc #10783: String#concat has an "appending" behavior
I also agree that this is confusing, and the only way to fix it would really be to rename `concat` to `append`. There... ioquatix (Samuel Williams)
03:01 AM Feature #14033: Add String#append
I would like to propose to extend this method to be binary safe.
If the destination string uses `Encoding::BINARY`...
ioquatix (Samuel Williams)

08/07/2018

11:04 PM Bug #14974: "if" statement executes wrong branch
jeremyevans0 (Jeremy Evans) wrote:
> This appears to be a duplicate of #14897.
Yes, it is already fixed in trunk....
mame (Yusuke Endoh)
06:44 PM Bug #14974 (Closed): "if" statement executes wrong branch
This appears to be a duplicate of #14897. jeremyevans0 (Jeremy Evans)
06:32 PM Bug #14974 (Closed): "if" statement executes wrong branch
I've stumbled over a rather weird bug where Ruby 2.5+ executes an `else` branch of a condition when it should not. Th... kratob (Tobias Kraze)
07:22 PM Misc #14937: [PATCH] thread_pthread: lazy-spawn timer-thread only on contention
> > or I will have to revert and reintroduce timer-thread :<
>
> reverted for now :< r64203

Btw, using POSIX t...
normalperson (Eric Wong)
05:08 PM Feature #14967: Any type
I do not have any particular opinion about "Any Type" as of yet,
neither pro or con, but just as to what Mr. Beaver ...
shevegen (Robert A. Heiler)
04:07 PM Feature #14973: Proposal of percent literal to expand Hash
I can not read japanese but I believe I can understand part of this
proposal (the ruby code examples).
If I unde...
shevegen (Robert A. Heiler)
03:12 PM Feature #14973 (Closed): Proposal of percent literal to expand Hash
## 概要
変数名から `{ 変数名: 変数の値 }` という Hash を定義するための %記法の提案です。
以前からちょくちょく[提案されていた](https://bugs.ruby-lang.org/issues/145...
osyo (manga osyo)
12:56 PM Bug #14866 (Closed): [PATCH] add missing test for WEBrick::HTTPAuth::Htgroup
Applied in changeset trunk|r64216.
----------
Add missing test for WEBrick::HTTPAuth::Htgroup.
[Bug #14866][ruby-...
hsbt (Hiroshi SHIBATA)
12:30 PM Bug #14964: [MJIT] missing builtin methods
ok, I attached full build logs and my env vars.
output_witharch_81.txt - ```--with-arch-64='barcelona'``` or ```AR...
ahorek (Pavel Rosický)
07:20 AM Bug #14972 (Closed): Net::HTTP inconsistently raises EOFError when peer closes the connection
If chunked transfer encoding is used, and the peer closes the connection while the caller is reading data, then the `... joshc (Josh C)
07:12 AM Bug #14971 (Closed): error: implicit declaration of function ‘rb_vm_call0
I get the errors below when making `make up install-nodoc`.
I'm not at v64208.
```
compiling vm.c
In file inclu...
duerst (Martin Dürst)
04:12 AM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
[email protected] wrote:
> All of the test-all failures show something similar to:
> ```
> [Errno::ENOENT] exce...
normalperson (Eric Wong)
02:44 AM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
@normalperson Eric,
The zip of all the logs is at
https://ci.appveyor.com/api/buildjobs/pwyhyvkao2nssxy1/artifa...
MSP-Greg (Greg L)
01:47 AM Bug #14969: Process.groups が返す GID が重複している場合がある
(シェルスクリプトの uniq と違って) ruby の uniq は sort 済みかどうかに依存していないので、 `.sort.uniq` よりも `.uniq.sort` の方が良いと思います。 znz (Kazuhiro NISHIYAMA)

08/06/2018

11:54 PM Bug #14964: [MJIT] missing builtin methods
> ARCH_FLAG="-march=barcelona" works, but it isn't propagated to CFLAGS, so it doesn't have the desired effect. I thi... k0kubun (Takashi Kokubun)
11:00 PM Bug #14964: [MJIT] missing builtin methods
ARCH_FLAG="-march=barcelona" works, but it isn't propagated to CFLAGS, so it doesn't have the desired effect. I think... ahorek (Pavel Rosický)
11:42 PM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
[email protected] wrote:
> The build log is at
> https://ci.appveyor.com/api/buildjobs/d0s8pbatmb7ax667/log
>
...
normalperson (Eric Wong)
10:04 PM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
@normalperson
The patch was fine, but the Appveyor build stopped.
Earlier, r64206 built fine, and I added the p...
MSP-Greg (Greg L)
09:22 PM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
> > https://bugs.ruby-lang.org/issues/14968
>
> Updated patch on top of r64203 since I restored timer-thread :<
...
normalperson (Eric Wong)
05:42 AM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
> Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
> https://bugs.ruby-lang.org/issues/14968

Upda...
normalperson (Eric Wong)
04:46 AM Bug #14968 (Closed): [PATCH] io.c: make all pipes nonblocking by default
Crap, I always planned to have something like this for [Feature #13618]
(auto-Fiber); but introducing a race conditi...
normalperson (Eric Wong)
07:13 PM Misc #14907: [PATCH] io.c: do not close inherited FDs by default
Updated patch to default close_others to false
normalperson (Eric Wong)
06:27 PM Feature #14938: Provide API to get same result as ruby -wc
> This warning dispatches on_arg_ambiguous method.
> It dispatches on_parse_error method.
How can I find the li...
mtsmfm (Fumiaki Matsushima)
03:50 PM Bug #14966: 2.5 branch - Appveyor failures - backport missed line
My fork passed on Appveyor:
https://ci.appveyor.com/project/MSP-Greg/ruby/build/7#L4336
MSP-Greg (Greg L)
02:42 PM Misc #14921: DevelopersMeeting20180809Japan
* [Feature #14944] Support optional inherit argument for Module#method_defined? jeremyevans0 (Jeremy Evans)
05:03 AM Misc #14921: DevelopersMeeting20180809Japan
* [Bug #14968] io.c: make all pipes nonblocking by default

* [Misc #14937] timer-thread elimination depends on [B...
normalperson (Eric Wong)
03:11 AM Misc #14921: DevelopersMeeting20180809Japan
[Feature #14967] Any type - Adds a wildcard type, primarily for use in Pattern Matching type syntaxes
This would b...
baweaver (Brandon Weaver)
02:32 PM Feature #14916: Proposal to add Array#===
I think there is a potential incompatibility here, due to changing the behavior of #===.
The fact `Module#===` doesn...
Eregon (Benoit Daloze)
12:46 PM Bug #14970 (Closed): -i option doesn't work for multi-byte-char filenames on Windows Ruby2.5.1
Z:\>touch あ
Z:\>ruby -v
ruby 2.5.1p57 (2018-03-29 revision 63029) [i386-mingw32]
Z:\>ruby -i.bak -pe p あ
-e:1: wa...
tksotn (TAKASHI OOTANI)
09:08 AM Feature #13904 (Closed): getter for original information of Enumerator
Applied in changeset trunk|r64205.
----------
enumerator.c: Introduce Enumerator::ArithmeticSequence
This commit in...
mrkn (Kenta Murata)
08:11 AM Bug #14969: Process.groups が返す GID が重複している場合がある
つまり、
・specを直すに賛成である
・ただ、API docで Process.groups.sort.uniq がふつうの使い方みたいに教えてあげるのが親切と思う
の2つが意見です
kosaki (Motohiro KOSAKI)
08:08 AM Bug #14969: Process.groups が返す GID が重複している場合がある
Process.groupsが
・結果が昇順にソートされている保証はない(OS依存)
・Effective gidが入っているかどうかはOS依存
・重複するIDはそのままarrayに入っていることもあれば、重複が取り除かれている...
kosaki (Motohiro KOSAKI)
08:03 AM Bug #14969: Process.groups が返す GID が重複している場合がある
Process.groupsはgetgroups(2)のラッパってことで、重複を省くなどの余計なことはしない、に一票です。
idコマンドの結果を期待値にしているspecの方にそもそも無理を感じます。なので、specの方をいじる、でよ...
mame (Yusuke Endoh)
07:53 AM Bug #14969 (Closed): Process.groups が返す GID が重複している場合がある
Ubuntu 16.04 から 18.04 にアップグレードした環境で以下の ruby spec が失敗することに気づきました。
```
1)
Process.groups gets an Array of the gids...
mrkn (Kenta Murata)
05:32 AM Misc #14937: [PATCH] thread_pthread: lazy-spawn timer-thread only on contention
> > http://ci.rvm.jp/results/trunk@P895/1173951

> or I will have to revert and reintroduce timer-thread :<

r...
normalperson (Eric Wong)
04:52 AM Misc #14937: [PATCH] thread_pthread: lazy-spawn timer-thread only on contention
> http://ci.rvm.jp/results/trunk@P895/1173951

Damnit, this is because IO#gets on blocking pipes doesn't
hit rb...
normalperson (Eric Wong)
03:09 AM Feature #14967 (Open): Any type
In Scala, there's the concept of an Any type which can be used to match anything.
The implementation of which is q...
baweaver (Brandon Weaver)

08/05/2018

11:37 PM Bug #14966 (Closed): 2.5 branch - Appveyor failures - backport missed line
A while ago, @hsbt committed r62990, and the following line was in `test\test_tmpdir.rb`:
```
TRAVERSAL_PATH.dele...
MSP-Greg (Greg L)
10:53 PM Feature #14869: Proposal to add Hash#===
I recently got permission to repurpose the `Any` gem, which gives us this:
```
require 'any'
case {id: 1, name...
baweaver (Brandon Weaver)
10:16 PM Bug #14964: [MJIT] missing builtin methods
Could you test configuring ARCH_FLAG instead of CFLAGS/CXXFLAGS? I'm not sure which variable should be used for -mtun... k0kubun (Takashi Kokubun)
03:57 PM Bug #14964: [MJIT] missing builtin methods
after some investigation, I found the problem is my build options
this builds successfully
```
rb_mjit_header_ok...
ahorek (Pavel Rosický)
02:00 PM Bug #14964: [MJIT] missing builtin methods
> Is it a known problem?
No, thanks to report.
> Maybe GCC isn't supported on Windows yet?
I intend to suppo...
k0kubun (Takashi Kokubun)
01:52 PM Bug #14964: [MJIT] missing builtin methods
I'm using MSYS1 that could be a problem, but I don't see any difference or a reason why it shouldn't work. You don't ... ahorek (Pavel Rosický)
01:13 PM Bug #14964: [MJIT] missing builtin methods
@ahorek
The most recent ruby-loco build (MinGW) passed all tests and had the following output when running test_ji...
MSP-Greg (Greg L)
12:32 PM Bug #14964: [MJIT] missing builtin methods
> [...] I can compile the lastest Ruby 2.5.1 with the same options.
> Maybe GCC isn't supported on Windows yet? [......
shevegen (Robert A. Heiler)
11:00 AM Bug #14964 (Closed): [MJIT] missing builtin methods
I'm having trouble building Ruby 2.6 on Windows.
this is the first error:
```
building rb_mjit_header.h
rb_mjit...
ahorek (Pavel Rosický)
08:06 PM Misc #14962 (Closed): [PATCH] thread_pthread: stop trying to deal with cancellation
Applied in changeset trunk|r64197.
----------
thread_pthread: stop trying to deal with cancellation
We don't use pt...
normalperson (Eric Wong)
06:25 PM Bug #14965 (Third Party's Issue): Segmentation fault at 0x0000000000000000
I had installed rabbit (`$ gem install rabbit`) and created this file
```Markdown
# NES
```
I then run `$...
brunjact (Bruno Jacquet)
05:40 PM Bug #13167: Dir.glob is 25x slower since Ruby 2.2
@h.shirosaki, thanks for your work on this. I tested your patch 0001-dir.c-performance-fix-with-braces.patch (ruby he... ahorek (Pavel Rosický)
11:00 AM Bug #14350: Strange behavior for Array.min in ruby 2.5.0
ruby_2_5 r64195 merged revision(s) 61766. nagachika (Tomoyuki Chikanaga)
06:30 AM Misc #14921: DevelopersMeeting20180809Japan
I am in Narita and I will try to come to the meeting. The only reason why I won't make it is because I get lost on th... ioquatix (Samuel Williams)

08/04/2018

04:22 PM Feature #14916: Proposal to add Array#===
I recently got permission to repurpose the `Any` gem, which gives us this:
```
require 'any'
case ['Foo', 25]
...
baweaver (Brandon Weaver)
03:55 PM Feature #14869: Proposal to add Hash#===
I would agree with `===` being more useful than `<=`, as `case`, `all?`, `grep`, and other methods use it implicitly.... baweaver (Brandon Weaver)
 

Also available in: Atom