Activity
From 10/06/2019 to 10/12/2019
10/12/2019
-
11:51 PM Bug #13446: refinements with prepend for module has strange behavior
- Fixing this first requires fixing #16242, which allows including a module that uses prepend and is refined. However,...
-
11:47 PM Bug #16242: Refinements method call to failed
- This issue is specific to modules that are refined and use prepend. The reason it does not work:
1. Refining a mod... - 03:54 PM Revision 6ee2fb50 (git): * 2019-10-13 [ci skip]
-
03:51 PM Revision a5ecf7e0 (git): dir.c (join_path_from_pattern): check NULL from malloc
- Coverity Scan points out that all the return values of GLOB_ALLOC_N are
NULL-checked except this call. -
03:49 PM Revision 90b9900d (git): io.c (rb_update_max_fd): fail with a negative file descripter
- Coverity Scan points out that ext/socket/unixsocket.c may pass -1 to
rb_update_max_fd. I'm unsure whether it can hap... -
01:44 PM Revision ebc2198d (git): re.c (match_set_string): add a check for memory allocation
- Found by Coverity Scan
-
01:09 PM Revision 7ebf9da7 (git): Also moved fallback definition of __has_attribute
-
12:14 PM Revision cb14c4a5 (git): missing/setproctitle.c: remove nonsense NULL check
- If fmt is NULL, ptitle is uninitialized and used.
SETPROCTITLE(3bsd) says "If fmt is NULL, the process title is resto... -
11:39 AM Feature #16249: Dir#empty? and File#empty?
- Personally I think I have wanted/needed this in the past. It has not been
that important to me to suggest it myself,... -
10:59 AM Feature #16249: Dir#empty? and File#empty?
- ```c
return rb_dir_s_empty_p(rb_cDir, rb_str_dup(dirp->path));
```
This checks a directory named the current... -
09:48 AM Feature #16249 (Open): Dir#empty? and File#empty?
- I don't think it is a super-valuable addition (as nobody complained about it, or I can't find similar proposals), but...
-
09:47 AM Revision f4055647 (git): Suppress deprecation warnings of MD5 from Xcode 11.1
-
09:14 AM Revision 04333da7 (git): Suppress "clobbered" warnings by gcc 9.2.0
-
08:47 AM Revision 710bc003 (git): Moved RB_METHOD_DEFINITION_DECL to intern.h
- This macro is used here before defined in ruby.h.
-
08:39 AM Feature #15923: New independent string without memcpy
- I've implemented string bindings using growing ruby string. It was a bit tricky - I had to use `rb_protect`. I will l...
-
05:58 AM Revision 6333020f (git): atime may not updated unless strictatime is set on macOS Catalina
- Cited from mount(8):
```
strictatime
Always update the file access time when reading from a
file. Wi... - 05:03 AM Revision 92df7d98 (git): Import CSV 3.1.2 (#2547)
-
04:25 AM Revision d6e68bb2 (git): Use `warn` with `uplevel:` instead of `caller`
- 03:07 AM Revision f6a666a1 (git): * 2019-10-12 [ci skip]
- 03:07 AM Revision 412cd567 (git): Import REXML 3.2.3 (#2548)
10/11/2019
-
05:26 PM Misc #16232: DevelopersMeeting20191017Japan
- * [Feature #13683] Add strict Enumerable#single
* Matz didn't like the `single` name but we have a proposal for `#... -
03:53 PM Bug #16189 (Closed): Some rubygems tests failed when run across 0:00 UTC
- This appears to be fixed by commit:6f522455bf801acefcd2ade0b2e4a2fef3cb70a4.
-
12:43 PM Revision c8666637 (git): io.c (NUM2IOCTLREQ): Accept a value more than INT_MAX
- ioctl accepts int as request arguments on some platforms, but some
requests are more than INT_MAX, e.g., RNDGETENTCNT... -
12:39 PM Revision 9e4a53fe (git): test/ruby/test_rubyoptions.rb (test_encoding): skipped on Android
- On Android, nl_langinfo() always returns UTF-8 even when LANG is C.
-
12:13 PM Revision f3c4e620 (git): test/test_syslog.rb (test_log): skipped on Android
- On Android 28, LOG_PERROR is defined, but not implemented yet.
This change skips Syslog#log explicitly. -
07:32 AM Bug #16133: 2.5 --> 2.6: backwards incompatible change in MalformedCSVError
- This is already closed.
"Third Party's Issue" is one of the close statuses. -
07:26 AM Bug #16133: 2.5 --> 2.6: backwards incompatible change in MalformedCSVError
- may close with `Won't resolve` probably, coz of this:
https://github.com/ruby/csv/issues/104 -
04:50 AM Revision d6c80876 (git): Use `bind_call` instead of `bind` and `call`
-
04:48 AM Revision ddfb306e (git): win32.c: Remove unused calls to StartSockets (#2312)
- NtSocketsInitialized behavior changed in e33b1690, requiring
a call to rb_w32_sysinit for starting Windows Sockets.
... -
02:34 AM Feature #15323: [PATCH] Proposal: Add Enumerable#filter_map
- Could this take argument as well? I'd be keen for something in the spirit of `Enumerable#grep` but where an (optiona...
-
02:20 AM Revision 7cc1cd3d (git): Module#define_method: Add UnboundMethod to expected classes
-
02:16 AM Revision 9c24ce55 (git): Reduce the minimum string buffer size from 127 to 63 bytes
-
02:15 AM Revision 0ca4f749 (git): Right size the numtable in insn_make_insn_table to VM_INSTRUCTION_SIZE
-
12:33 AM Revision 87958520 (git): set real path to __FILE__ and __dir__ in Binding#irb
- When reading Binding#irb, the file of the calling source is reflected in __FILE__ and __dir__.
10/10/2019
-
10:58 PM Bug #15979 (Rejected): URI.parse does not validate components
- This is not a bug, and not related to validation. The reason for the behavior is that `URI.parse` uses an RFC 3986 p...
-
09:59 PM Bug #16143: BOM UTF-8 is not removed after rewind
- I've reviewed the pull request. I found a problem.
-
09:10 PM Bug #16092 (Closed): [doc] precedence of modifier-rescue
- Applied in changeset commit:git|29c1e9a0d4c855781853f0ad41b0125f42cf504d.
----------
Document the difference between... -
08:45 PM Revision 29c1e9a0 (git): Document the difference between expressions and statements [ci skip]
- In the grammar, all expressions are statements, but not all
statements are expressions. Some parts of the grammar ac... -
08:15 PM Bug #16127 (Closed): Delegates to BasicObject do not work
- Applied in changeset commit:git|2322c94dd65c0247b103e2f91411e37458e1466d.
----------
Support delegates for BasicObje... - 08:15 PM Revision ddb0267e (git): * 2019-10-11 [ci skip]
-
08:15 PM Revision 2322c94d (git): Support delegates for BasicObject
- For BasicObject, bind the Kernel respond_to? instance method to the
object and call it instead of calling the method ... -
02:39 PM Bug #16135: Segmentation fault in Ruby 2.6.1
- Is there any update on this ?
-
02:22 PM Revision 41719096 (git): mjit_worker.c: Add `-lm` to the C compiler in MJIT on Android
- To avoid:
cannot locate symbol "modf" referenced by .../_ruby_mjit_XXX.so" -
02:21 PM Revision f845e1bc (git): ext/syslog/extconf.rb: add -llog for Android
- Otherwise, requiring syslog results in:
cannot locate symbol "__android_log_print" referenced by "syslog.so" -
02:18 PM Revision a886d5cb (git): test/ruby/test_file_exhaustive.rb: check the owner of the root directory
- The root directory may be owned by the current user, for example, in
chroot environment. -
12:02 PM Revision c144d721 (git): Skip very time consuming test [Bug #16196]
-
10:59 AM Revision 9c0cd5c5 (git): Prefer rb_gc_register_mark_object
- * ext/openssl/ossl_asn1.c (Init_ossl_asn1): prefer
`rb_gc_register_mark_object`, which is better for constant
obj... -
10:59 AM Revision 0131fab7 (git): Slimed down test runtime by stressing openssl.so only [Bug #16196]
-
09:15 AM Revision 3f413896 (git): forgot to delete unused #incude line
-
08:49 AM Revision 2d393bf1 (git): guard rb_fatal against non-GVL call
- Suggested by ko1. rb_fatal requires GVL so just in case one lacks,
print that information and let the process die. ... -
08:10 AM Revision f1ce4897 (git): make rb_raise a GVL-only function again
- Requested by ko1 that ability of calling rb_raise from anywhere
outside of GVL is "too much". Give up that part, mov... -
08:10 AM Revision d96f04d7 (git): add "[FATAL]" marker on abort
- Indicate that the situation is fatal.
-
07:48 AM Revision 0b26f56a (git): Remove unreachable step level `[ci skip]`
-
07:25 AM Bug #16196 (Closed): `RUBY_DEBUG=gc_stress ruby -ropenssl` dumps core
- Applied in changeset commit:git|203b7fa1ae8cc40d41c38d684f70b3fea7fae813.
----------
Guard static variable first
* ... -
06:44 AM Bug #16196: `RUBY_DEBUG=gc_stress ruby -ropenssl` dumps core
- I still observe this behaviour. Can someone confirm?
-
07:25 AM Revision 203b7fa1 (git): Guard static variable first
- * ext/openssl/ossl_asn1.c (Init_ossl_asn1): register the static
variable to grab an internal object, before creatin... -
06:09 AM Bug #15794: Can not start Puma with Rails after bundle install
- dohaibac (Bac Do) wrote:
> I resolved my issue, it due to some versions of my gems. I updated my gem to the latest v... -
05:51 AM Revision 6f522455 (git): [rubygems/rubygems] Do not compare with unreliable Gem::Specification::TODAY
- https://gist.github.com/ko1/a88834d744a0682711dab53fd9015a04#file-brlog-trunk-nopara-20191005-235153-L393-L472
https... -
05:51 AM Revision dc2b3019 (git): [rubygems/rubygems] Restrict possible date range
- https://github.com/rubygems/rubygems/commit/1bd77f53df
-
05:51 AM Revision 717b72a8 (git): [rubygems/rubygems] Optimize Gem::Package::TarReader#each
- https://github.com/rubygems/rubygems/commit/1de8f39ac4
-
05:21 AM Revision 495ebd6e (git): Now error.o needs thread.h
-
05:11 AM Bug #16248 (Closed): Unclear semantics of the "numbered parameter is already used" error
- Applied in changeset commit:git|c2065c64cb198d5b53a5ecdf9638d064f6fec2e2.
----------
Fixed numbered parameter check
... -
12:42 AM Bug #16248 (Closed): Unclear semantics of the "numbered parameter is already used" error
- Numbered parameters now have an underscore as a prefix:
``` ruby
->{ _1 }.call(1)
=> 1
```
And it's not allow... -
05:07 AM Revision c2065c64 (git): Fixed numbered parameter check
- * parse.y (struct local_vars): moved numbered parameter NODEs for
nesting check to separate per local variable scop... -
05:07 AM Revision a23b6390 (git): negative_size_allocation_error never returns
-
03:07 AM Revision 9c3153e0 (git): allow rb_raise from outside of GVL
- Now that allocation routines like ALLOC_N() can raise exceptions
on integer overflows. This is a problem when the ca...
10/09/2019
-
11:53 PM Revision 25100c46 (git): lhs of pattern matching expression of should have a value
-
04:08 PM Revision 42edb056 (git): extracted declare_under
-
03:59 PM Revision 8dc5fe6e (git): Simplify rb_define_module_id
- 03:14 PM Revision ecf6c040 (git): * 2019-10-10 [ci skip]
-
03:13 PM Revision 9b919885 (git): fix memory corruption in old GCC
- This typo introduced memory corruption when __builtin_add_overflow
is not available but uint128_t is. GCC before 5 a... -
02:46 PM Revision bb71a128 (git): Prefer st_is_member over st_lookup with 0
- The st_is_member DEFINE has simpler semantics, for more readable code.
-
02:39 PM Revision 29e6782f (git): Share ruby_sighandler_t definition
-
02:22 PM Revision 891cbd66 (git): signal.c: save the original sighandlers for fatal signals
- On Android, a signal handler that is not SIG_DFL is set by default for
SIGSEGV. Ruby's install_sighandler inserts Ru... -
02:02 PM Revision dd477df4 (git): error.c (rb_bug_for_fatal_signal): renamed from rb_bug_context
- Just refactoring.
The name "rb_bug_context" is completely unclear for me.
(Can you see that "context" means "machine... -
01:57 PM Revision b9cf58d2 (git): signal.c (ruby_abort): move the definition for refactoring
- The three functions for fatal signals, sigbus, sigsegv, and sigill, are
a family. The definition of ruby_abort had i... -
11:16 AM Feature #16246: require with an optional block that is evaluated when requiring fails
- :)
I kind of like the idea (ok ok a bit of self-patting by me, so ...).
I think my primary objective was more m... -
05:54 AM Feature #16246 (Open): require with an optional block that is evaluated when requiring fails
- I have some code like this:
```ruby
begin
require "foo"
rescue LoadError
puts "You need to install foo in ... -
11:00 AM Feature #16245: Add interfaces to count and measure size all IMEMO objects
- I like this API more, however `RubyVM` has been under discussion in https://bugs.ruby-lang.org/issues/15752 regarding...
-
10:49 AM Feature #16245: Add interfaces to count and measure size all IMEMO objects
- To be honest I think the best spot for this is `RubyVM.stat`
perhaps:
```
RubyVM.stat
{
:global_method_st... -
10:52 AM Misc #16232: DevelopersMeeting20191017Japan
- [Feature #16245] Add interfaces to count and measure size all IMEMO objects (Sam Saffron)
- Would love to see this... -
08:46 AM Revision 6f11c3b3 (git): Check '[ci skip]' at job level
-
08:21 AM Bug #16008: Ripper hshptn node drops information
- It works in this case, but not generic.
My WIP patch is https://github.com/nobu/ruby/tree/ripper.value -
06:52 AM Feature #16244: Add a Time#before? and Time#after? method
- I think the answer to the question 'which is clearer, more obvious, etc.' cannot be answered objectively. Sawa's exam...
-
05:03 AM Revision d0e30fc9 (git): vm_eval.c (rb_adjust_argv_kw_splat): avoid memcpy with zero length
- A method call is often with `argc = 1` and `argv = &v` where v is a
VALUE, and some functions shift the arguments by ... -
03:41 AM Revision b439ee1b (git): Remove uselsess shebang
- as the file is not executable anyway.
-
03:25 AM Revision 12d05537 (git): Update required_ruby_version to 2.4.0
-
03:25 AM Revision 2d001003 (git): Improve performance of Array#sum with float elements (#1555)
- The declaration of local variable in loop, it will initialize local variable for each run of the loop with clang gene...
-
03:12 AM Revision a14cc07f (git): avoid returning NULL from xrealloc
- This changeset is to kill future possibility of bugs similar to
CVE-2019-11932. The vulnerability occurs when reall... -
03:12 AM Revision 7e0ae169 (git): avoid overflow in integer multiplication
- This changeset basically replaces `ruby_xmalloc(x * y)` into
`ruby_xmalloc2(x, y)`. Some convenient functions are al... -
03:12 AM Revision a220410b (git): annotate malloc-ish functions
- Make them gcc friendly. Note that realloc canot be __malloc__
attributed, according to the GCC manual. -
03:12 AM Revision 2f3b4029 (git): fix arity mismatch
- Seems nobody has actually used this macro. Such an obvious typo.
- 12:08 AM Revision 59cfa2d1 (git): * 2019-10-09 [ci skip]
-
12:08 AM Revision e078352a (git): lldb_cruby.py: fixed inspecting string [ci skip]
- Show the size of String.
To see the whole contents even after NUL char:
```
(lldb) rp str
(const char [5]) $1 = "x"... -
12:08 AM Revision 98131f14 (git): lldb_cruby.py: fixed embedded string ptr [ci skip]
- Use GetLocation to get the address of embedded array.
10/08/2019
-
11:34 PM Feature #16029: Expose fstring related APIs to C-extensions
- I think when it gets called it expects to reuse the memory allocated by the cstr eventually
https://github.com//b... -
11:07 AM Feature #16029: Expose fstring related APIs to C-extensions
- @sam.saffron Unless I'm missing something, that's exactly what `rb_fstring_new / rb_fstring_cstr` does.
```
VALUE... -
11:26 PM Feature #16244: Add a Time#before? and Time#after? method
- sawa (Tsuyoshi Sawada) wrote:
>You should not be writing like that. You should either do somthing like
>
> ```
... -
09:35 PM Feature #15323: [PATCH] Proposal: Add Enumerable#filter_map
- jonathanhefner (Jonathan Hefner) wrote:
> Eregon (Benoit Daloze) wrote:
> I would expect to get a value for every v... -
07:28 PM Feature #16245: Add interfaces to count and measure size all IMEMO objects
- Do you think it would be possible for this new API to not rely on whether there is bytecode/iseqs?
That way, it coul... -
05:55 PM Feature #16245: Add interfaces to count and measure size all IMEMO objects
- Personally I love introspection so I am all in favour of giving ruby people
lots of tools to play with internal. I a... -
04:38 PM Bug #16008: Ripper hshptn node drops information
- I believe this issue comes from `new_unique_key_hash`, which expects the `kw_args` member of the `hshptn` node to be ...
-
02:56 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
- > Good call :)
> For Arm CI, let's try it when we have a chance, to unify what tools we use.
Yes, first let's try... -
01:33 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
- > We might be able to run arm32 (ARM 32-bit) using multilib on arm64 (ARM 64-bit) on Travis too, as we have already b...
-
11:25 AM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
- > That's a nice feature. Possibly we can drop Drone to simplify the situation if we can give up arm32 support (not su...
-
02:17 AM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
- > There is "Azure pipelines" CI too.
We already dropped that in favor of GitHub Actions.
> This is today's blog... -
02:31 PM Bug #11275 (Closed): RFC3986_Parser accepts invalid URIs containing %
- Applied in changeset commit:git|7909f06212ae8df6ba7203f8152292a190b2b33a.
----------
Check for invalid hex escapes i... -
02:30 PM Revision 7909f062 (git): Check for invalid hex escapes in URI#query=
- Fixes [Bug #11275]
-
08:04 AM Revision 8feb8c9b (git): Packed delayed token elements
-
02:21 AM Revision 11b6ff12 (git): more use of RbConfig::LIMITS
- `8 * RbConfig::SIZEOF` ... is not straight.
-
12:28 AM Bug #9822 (Closed): Ruby doesn't respect system OpenSSL configuration
- After some research by @ioquatix, OpenSSL 1.1.0+ should now work correctly and we should not need this setting. If t...
- 12:06 AM Revision dd0c75fd (git): Import changes from ruby/bigdecimal (#2531)
- Sync to ruby/bigdecimal@92356ba71c6bd325b0ab618c634a7aecf8cdc767
10/07/2019
-
11:34 PM Feature #16244: Add a Time#before? and Time#after? method
- Jeremy Evans is right about this.
But I agree that your second example
```
birthday > thirteen_years_ago
```
... -
07:43 PM Feature #16244: Add a Time#before? and Time#after? method
- jeremyevans0 (Jeremy Evans) wrote:
> I would guess the `>` and `<` symbols are probably more understandable to p... -
05:07 PM Feature #16244: Add a Time#before? and Time#after? method
- stevendaniels (Steven Daniels) wrote:
> Comparing times using `>` and`<` can be pretty confusing.
This is subject... -
04:47 PM Feature #16244 (Open): Add a Time#before? and Time#after? method
- Comparing times using `>` and`<` can be pretty confusing.
I'd like to propose `Time#before?` and `Time#after?` me... -
10:52 PM Feature #16245: Add interfaces to count and measure size all IMEMO objects
- sam.saffron (Sam Saffron) wrote:
> Koichi introduced an experimental gem: https://github.com/ko1/iseq_collector
>
... -
10:07 PM Feature #16245: Add interfaces to count and measure size all IMEMO objects
- An alternative design could be to add 1 extra object to the heap
RubyVM::NonMaterializedInstructionSequences (size... -
10:02 PM Feature #16245 (Open): Add interfaces to count and measure size all IMEMO objects
- Koichi introduced an experimental gem: https://github.com/ko1/iseq_collector
It allows:
ObjectSpace.each_iseq{|... -
10:41 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
- Just for your information.
This is today's blog from Travis CI. It's about supporting ARM 64-bit.
https://blog.tr... -
10:30 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
- There is "Azure pipelines" CI too.
> BTW, I feel that we have too many CIs currently. Too many CIs brings too many... -
10:25 PM Feature #16029: Expose fstring related APIs to C-extensions
- I think the larger change here is allowing for a new type of API.
From a performance perspective the people using... -
09:27 PM Bug #7021 (Closed): WEBrick::HTTPUtils.parse_header "normalizing" white space of cookie values.
- Pull request merged: https://github.com/ruby/webrick/pull/23
-
09:25 PM Bug #8542 (Closed): BigMath::exp modifies its first argument
- Pull request was merged: https://github.com/ruby/bigdecimal/pull/150
-
09:24 PM Bug #8274 (Closed): No tests for PKCS7::write_smime
- Pull request was merged: https://github.com/ruby/openssl/pull/268
-
08:51 PM Revision 59c3b1c9 (git): Add section to extension.rdoc for backwards compatibility macros [ci skip]
- These macros should make it easier to C extensions to switch to
the Ruby 2.7 C-API *_kw functions, but still have the... -
08:51 PM Revision c0eae130 (git): Note RB_PASS_EMPTY_KEYWORDS and RB_SCAN_ARGS_EMPTY_KEYWORDS will be removed
- There is no need for these in Ruby 3.0, and the plan is to
remove them. -
07:56 PM Revision 055a85d3 (git): Update NEWS with Module#ruby2_keywords and a few other things
-
07:28 PM Revision 6abcd357 (git): Do not free too many pages.
- Sweep step checks `heap_pages_freeable_pages`, so compaction should do
the same. -
07:10 PM Revision 058db33c (git): Move empty pages to the tomb
- I think we need to be moving empty pages to the tomb after they become
empty. -
06:35 PM Feature #16147: List Comprehensions in Ruby
- sammomichael (Samuel Michael) wrote:
> I also have added rudimentary support for nested comprehensions.
>
... -
01:01 PM Feature #16147: List Comprehensions in Ruby
- I also have added rudimentary support for nested comprehensions.
# Build Matrix from nested loop
`p $l[[for x in... -
05:57 PM Revision 0a2f04e1 (git): Eliminate second GC pass for eliminating T_MOVED
- `T_MOVED` is a linked list, so we can just iterate through the `T_MOVED`
objects, clearing them out and adding them t... - 03:00 PM Revision d8b6f585 (git): * 2019-10-08 [ci skip]
-
03:00 PM Revision 7abb0277 (git): Fix typo [ci skip]
- pointed out by ruby-trunk-changes
-
02:37 PM Revision 468184a9 (git): Allow ruby2_keywords to be used with bmethods
- There are libraries that use define_method with argument splats
where they would like to pass keywords through the me... -
10:33 AM Revision 3374e145 (git): Write yaml and json under destdir and print to stdout
-
10:05 AM Revision 96753e84 (git): Create info.yml and info.json
- - `info.yml` is for ruby/www.ruby-lang.org/_data/releases.yml
- `info.json` is meta data for users of snapshot -
10:03 AM Revision bb86611c (git): Remove `-s3` option
- It will not use in `ruby/actions`, and `default=tmp` is not correct.
-
08:58 AM Bug #16243: case/when is slower than if on MRI
- The original benchmark allocates quite a bit, if we change it to just sum elements, the difference is around 20%:
``... -
06:47 AM Bug #16243: case/when is slower than if on MRI
- Interesting.
I tried a couple approaches, but couldn't get significant results.
* `checkmatch` with call cache
h... -
07:14 AM Revision f4252f64 (git): Version 0.0.3
-
07:04 AM Feature #16155 (Closed): Add an Array#intersection method
-
06:57 AM Feature #16155: Add an Array#intersection method
- Implementation is currently based on `Array#&`, which is elegant but might end up allocating a whole bunch of arrays ...
-
05:18 AM Feature #16155: Add an Array#intersection method
- Hi all,
I've added an initial implementation of this based on `Array#&` on github (https://github.com/ruby/ruby/pu... -
06:59 AM Revision c8542ab4 (git): Add: Array#intersection method
- 05:16 AM Revision d4ec37f6 (git): * 2019-10-07 [ci skip]
-
05:15 AM Revision a9e9cd20 (git): Flush console just after printing
-
05:15 AM Revision 13611681 (git): Use built-in Win32API on JRuby
- It's fixed for JRuby dedicatedly.
-
05:15 AM Revision 309f6a77 (git): Swap expected and actual correctly
-
02:23 AM Feature #13683: Add strict Enumerable#single
- +1
I actually have this as `single` in my own code, but `only` sounds fine also. I'd want a non-raising version (p... -
12:44 AM Feature #16240 (Rejected): Are all objects and methods marshalable
- see https://redmine.ruby-lang.org/issues/4818
10/06/2019
-
11:14 PM Feature #16231: Add #location to Net::HTTPResponse
- Seems like a good first issue, I'd like to take this up if there's any interest in having it.
-
08:43 PM Feature #15323: [PATCH] Proposal: Add Enumerable#filter_map
- Eregon (Benoit Daloze) wrote:
> but to me it sounds surprising that a method with `filter` in its name filters diffe... -
07:22 PM Feature #15323: [PATCH] Proposal: Add Enumerable#filter_map
- Isn't `enum.filter_map { |e| ... }` supposed to be (according to the name) the same as `enum.map { |e| ... }.filter {...
-
07:16 PM Feature #15323: [PATCH] Proposal: Add Enumerable#filter_map
- nobu (Nobuyoshi Nakada) wrote:
> IIRC, at the last meeting (20190522), the conclusion was that this method should se... -
08:14 PM Feature #13683: Add strict Enumerable#single
- matz (Yukihiro Matsumoto) wrote:
> Hmm, I don't like the name `single`. Besides that, I think it may be useful for d... -
04:41 PM Feature #16146: Array .difference allow custom comparison
- Dan0042 (Daniel DeLorme) wrote:
> What you're asking for is a O(n²) operation. I'm not sure it's a good idea to make... -
04:15 PM Bug #16243 (Closed): case/when is slower than if on MRI
- This comes from a discussion on a PR on Sidekiq: https://github.com/mperham/sidekiq/pull/4303
This benchmark:
```... -
09:20 AM Bug #16161: tailcall_optimization may be disabled after r67315
- Oh I've pushed wrong commit on https://github.com/ruby/ruby/pull/2528 .
I retry to push my working branch on https:/... -
07:00 AM Bug #16161: tailcall_optimization may be disabled after r67315
- I created Pull-Request https://github.com/ruby/ruby/pull/2528
-
08:01 AM Revision ddf5020e (git): Revert "tailcall optimization again (#2528)"
- This reverts commit f62f90367fc3bce6714e7c34cbd040e14e43fe07.
-
07:56 AM Feature #15824: respond_to pattern for pattern match
- The implementation can be very simple.
(I don't know whether `NODE_METHREF` is suitable.)
```diff
diff --git a/c... -
07:52 AM Revision f62f9036 (git): tailcall optimization again (#2528)
- This is follow up of r67315.
-
07:33 AM Bug #16242 (Closed): Refinements method call to failed
- Refinements method call to failed with `prepend`.
## No problem
```ruby
module M
# Methods that you want ... -
06:30 AM Feature #15747 (Rejected): `(..1).last(2)` should return array but raise TypeError
- Now, I think this proposal doesn't make sense.
So I reject it. thank you. -
06:23 AM Revision 6525d3bc (git): test/dtrace/helper.rb: Etc.getgrnam may return nil on some platforms
- 02:49 AM Revision 2ca353c2 (git): * 2019-10-06 [ci skip]
-
02:39 AM Revision 2409667a (git): time.c: Fix some bugs about WIDEVALUE
- WIDEVALUE differs from VALUE in 32bit platform, but some codes assume
that they are the same.
There is `#define STRU...
Also available in: Atom