Activity
From 05/13/2020 to 05/19/2020
05/19/2020
-
09:41 PM Bug #16852: Refining Enumerable fails with ruby 2.7
- I can confirm this bug. It was introduced in commit:a0579f3606561a74e323f6193b9504c06845236c, which fixed prepending...
-
08:15 PM Feature #16848: Allow callables in $LOAD_PATH
- > In other words should the "omitted extension" handling be done inside or outside of the resolver?
In my opinion ... -
03:40 PM Feature #16848: Allow callables in $LOAD_PATH
- I really love this idea; it's simple yet powerful. I do have a few questions though.
1) How would this API handle .r... -
01:09 PM Revision feb8dc55 (git): Include wchar.h before wrapping memchr
- On mingw, wmemcpy() is defined as an inline function using
memcpy(), and the static inline wrapper causes a warning.
... -
09:45 AM Feature #16891: Restore Positional Argument to Keyword Conversion
- Instead of restoring all positional hash argument to keyword argument conversion, how about adding new implicit maybe...
-
03:56 AM Feature #16891: Restore Positional Argument to Keyword Conversion
- > Assuming we did not remove ruby2_keywords until a equally efficient replacement exists (which I'm assuming will be ...
-
03:19 AM Feature #16891: Restore Positional Argument to Keyword Conversion
- Dan0042 (Daniel DeLorme) wrote in #note-12:
> An idea: it may be worth sub-dividing "Positional Hash Argument to Key... -
01:43 AM Feature #16891: Restore Positional Argument to Keyword Conversion
- An idea: it may be worth sub-dividing "Positional Hash Argument to Keyword Argument Conversion" into
### a) Overflow... -
01:07 AM Feature #16891: Restore Positional Argument to Keyword Conversion
- sam.saffron (Sam Saffron) wrote in #note-10:
> I agree many gems already work, but we have built ourselves a time bom... -
12:21 AM Feature #16891: Restore Positional Argument to Keyword Conversion
- I agree many gems already work, but we have built ourselves a time bomb here.
`ruby2_keywords` is certainly going to... -
08:49 AM Bug #16780 (Closed): Net::FTP PUT command issuing Net::ReadTimeout too quickly
- Applied in changeset commit:git|5e81e8675a020ecd493620a4ff38db8fcf4b972a.
----------
Ignore exceptions when closing ... -
08:45 AM Bug #16780: Net::FTP PUT command issuing Net::ReadTimeout too quickly
- koshigoe (Masataka SUZUKI) wrote in #note-3:
> The `Net::FTP#close` suppresses exception about `Socket#shutdown` and... -
08:48 AM Revision 5e81e867 (git): Ignore exceptions when closing data connections [Bug #16780]
- Patch by koshigoe (Masataka SUZUKI). Thanks!
-
06:22 AM Revision 1f063abb (git): add static modifier to rb_ary_aref2 func
-
03:59 AM Feature #16897: General purpose memoizer in Ruby 3 with Ruby 2 performance
- Alternative proposal
```ruby
def bar(*args, **kwargs)
end
def foo(*args)
bar(*args)
args
end
args = foo(1, ... -
02:47 AM Feature #16897: General purpose memoizer in Ruby 3 with Ruby 2 performance
- Expanded proposal:
```ruby
def foo(...args)
bar(...)
args
end
args = foo(1, 2, {1 => 2}, a: 7, b: 9)
args.c... -
03:54 AM Revision 79292b30 (git): Make builtin loader sources by Ripper
-
03:16 AM Feature #16791: Shortcut for Process::Status.exitstatus
- nobu (Nobuyoshi Nakada) wrote in #note-7:
> That executes `exit(nil)` and results in `TypeError`.
Ah, interesting, I... -
02:02 AM Feature #16898: Modify the syntax of -> lambda expressions in ruby3
- I get your point. But to my eyes, `==>` is even uglier. It's easily confused with other operators which do not corres...
05/18/2020
-
11:57 PM Revision 6efb9fe0 (git): Allow references stored in the VM stack to move
- We can update these references too, so lets allow them to move.
-
10:51 PM Bug #16811 (Closed): [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html This application has requested the Runtime to terminate it in an unusual way. Please cont
-
10:47 PM Bug #16831 (Closed): Running `Pathname#glob` with `File::FNM_DOTMATCH` option loses `.` and `..`
-
10:46 PM Bug #16834 (Closed): rb_profile_frame_classpath only recognize class singleton methods, not module singleton methods
-
10:44 PM Feature #16838: Enumerator::ArithmeticSequence missing allocator for #clone and #dup
- `ArithmeticSequence.new` and `ArithmeticSequence.allocate` being undefined was definitely a deliberate change in comm...
-
10:37 PM Bug #16840: Decrease in Hash#[]= performance with object keys
- Running your example code, I see a speedup between 2.5 and 2.6, but a slowdown in 2.7 and in master.
```
ruby 2.5... -
05:32 PM Misc #16775: DevelopersMeeting20200514Japan
- mame wrote:
> [...] We'll hold an extra meeting at 26th.
\o/ - 03:59 PM Revision 9ee66d2b (git): * 2020-05-19 [ci skip]
-
03:58 PM Revision 6c1a51da (git): Skip some tests if extracted from tarball (again)
- Fix up previous commit
ref
9aa75795f9f438d5c874d8e418c3c7cdd63024fa,
38002a8adbd98266426940d829429a30af0622a4, and
0... -
03:41 PM Feature #16894: Integer division for Ruby 3
- I am not necessarily against such a change per se, but I think it would come with a
high cost right now. It should pe... -
02:45 PM Feature #16891: Restore Positional Argument to Keyword Conversion
- sam.saffron (Sam Saffron) wrote in #note-8:
> To me the big question @matz needs to answer is "do we want gems to wor... -
07:10 AM Feature #16891: Restore Positional Argument to Keyword Conversion
- To me the big question @matz needs to answer is "do we want gems to work on both 3.X and 2.X?"
Personally I 100% su... -
02:18 PM Revision 1f011ccc (git): Skip some tests if extracted from tarball (again)
- ref 9aa75795f9f438d5c874d8e418c3c7cdd63024fa
-
12:25 PM Revision 185f49f9 (git): Fixed RDoc formatting [ci skip]
-
08:42 AM Revision cf31e980 (git): Fix a typo [ci skip]
-
08:36 AM Feature #16898: Modify the syntax of -> lambda expressions in ruby3
- Maybe my expression has some problems, sorry, it has been modified, in fact, what I want to say is that the existing ...
-
01:19 AM Feature #16898: Modify the syntax of -> lambda expressions in ruby3
- Not going to join the ugliness debate but I doubt if the proposed new syntax technically possible. It would be much ...
-
06:42 AM Revision 3bada920 (git): Simplify maybe_special_const_class_p
-
06:38 AM Revision b16a2aa9 (git): Reduce code size for rb_class_of
- by inlining only hot path.
=== mame/optcarrot ===
$ benchmark-driver -v --rbenv 'before --jit;after --jit' benchmar... - 05:39 AM Revision afd84c58 (git): Document how to enable USDT method entry/exit tracepoints
-
05:21 AM Revision 0e5a58b6 (git): Mark some JIT-ed functions as COLDFUNC
- Put some functions which are unlikely to be called on JIT in
.text.unlikely section to improve hot code's locality. -
03:42 AM Revision c0cd474d (git): Prefer dedicated enum over int
- 03:40 AM Revision acf61e85 (git): * 2020-05-18 [ci skip]
-
03:28 AM Revision b02c10b2 (git): built-in method call must not have a receiver
-
01:44 AM Feature #16899: Add method `Array#both_end`
- Thanks for feedbacks.
shan (Shannon Skipper) wrote in #note-1:
> I think #both_ends reads better in the plural fo... -
12:59 AM Feature #16899: Add method `Array#both_end`
- Why not start as a gem? There are things not possible without core changes, but it seems this requested feature need...
-
12:38 AM Misc #16805: Coroutine's license is unclear
- Looks good to me.
-
12:21 AM Bug #16780: Net::FTP PUT command issuing Net::ReadTimeout too quickly
- I'm facing the same problem.
The `Net::FTP#close` suppresses exception about `Socket#shutdown` and `Socket#read`.
...
05/17/2020
-
11:04 PM Feature #16898: Modify the syntax of -> lambda expressions in ruby3
- matz (Yukihiro Matsumoto) wrote in #note-3:
> "Ugliness is in the eye of the beholder". Could you explain why the cur... -
09:50 PM Feature #16898: Modify the syntax of -> lambda expressions in ruby3
- matz (Yukihiro Matsumoto) wrote in #note-3:
> "Ugliness is in the eye of the beholder".
``` ruby
-> (;x) { x = 1... -
06:03 PM Feature #16898: Modify the syntax of -> lambda expressions in ruby3
- To me, this
``` ruby
-> lightness { lightness }
```
Is prettier than
```ruby
lambda { |lightness| lightne... -
07:55 AM Feature #16898: Modify the syntax of -> lambda expressions in ruby3
- "Ugliness is in the eye of the beholder". Could you explain why the current syntax is ugly?
In any case, if we cha... -
06:04 AM Feature #16898 (Open): Modify the syntax of -> lambda expressions in ruby3
- Hello ruby team.
Can we modify the syntax of lambda expressions in ruby3?
The current definition of lambda expressi... -
09:21 PM Feature #16899: Add method `Array#both_end`
- I think `ary.values_at(0,-1)` does the job pretty well.
-
06:33 PM Feature #16899: Add method `Array#both_end`
- I think #first_last would be a better name as well; primary reason being that we
already have #first and #last.
I... -
05:54 PM Feature #16899: Add method `Array#both_end`
- I think #both_ends reads better in the plural form. Or #first_last harkens to #min_max and is unambiguous. Other opti...
-
04:51 PM Feature #16899 (Open): Add method `Array#both_end`
- Add a method that gets both the first and the last elements of an array: `Array#both_end`.
## Current Status
So... -
06:57 PM Feature #16894: Integer division for Ruby 3
- I'd really rather not deal with Floats unless absolutely necessary.
Raku (Perl 6) and Clojure's default division t... -
04:04 PM Feature #16891: Restore Positional Argument to Keyword Conversion
- IMHO, Update from ruby 2 to ruby 3, it should be a BIG major version, it was expected to breaking some things, right?...
-
03:44 AM Feature #16891: Restore Positional Argument to Keyword Conversion
- > You could argue that we could remove non-symbol keyword arguments in 2.7.2, but I think that change is way too larg...
-
12:01 PM Revision fa7addeb (git): Fix typos [ci skip]
-
10:26 AM Revision 9f18b139 (git): [ruby/reline] Add a test of autowrap for yamatanooroti
- https://github.com/ruby/reline/commit/38676ba8c2
-
10:26 AM Revision f56e05fa (git): [ruby/reline] Remove unnecessary TODO commnet
- https://github.com/ruby/reline/commit/23c67fb7b3
-
10:26 AM Revision fc2a121c (git): [ruby/reline] If history-size isn't numeric, it should be 500
- https://tiswww.case.edu/php/chet/readline/readline.html#IDX25
> If an attempt is made to set history-size to a non-n... -
10:26 AM Revision dc0cdf43 (git): [ruby/irb] Version 1.2.4
- https://github.com/ruby/irb/commit/d7c5fb0273
-
10:03 AM Revision bd8aa047 (git): Removed useless implementation tests
-
09:34 AM Bug #16852: Refining Enumerable fails with ruby 2.7
- hi.
Thanks for issues :)
I got the same error when `include M` after `refine M`.
```ruby
module M; end
class... -
09:10 AM Revision dc57136f (git): Removed PRNG implementation details from the test
- 09:01 AM Revision 6e7551a5 (git): * 2020-05-17 [ci skip]
-
08:59 AM Bug #16680: Symlink folder in $LOAD_PATH does not work with autoload
- Eregon (Benoit Daloze) wrote in #note-3:
> One issue is that `$LOAD_PATH` entries might not necessarily exist.
So... -
07:34 AM Revision 968d6df4 (git): Added --test-order=nosort option
- Run tests in the order given in the command line.
05/16/2020
-
06:21 PM Feature #16891: Restore Positional Argument to Keyword Conversion
- Dan0042 (Daniel DeLorme) wrote in #note-1:
> IMHO there's one consideration that's more important than all others. T... -
08:37 AM Revision 2c3c6c96 (git): Defer initialization
- Defer initialization of extension libraries, loading prelude files
and requiring files, and skip if dump options are ... -
08:36 AM Revision 9e67a38f (git): Fallback to built-in UTF-8 for miniruby
- Source code encoding is defaulted to UTF-8 now too.
-
08:35 AM Revision 8c3a60df (git): leakchecker.rb: show test name
- When multiple autoclose IO objects are leaked too.
-
08:28 AM Feature #16781: alias :fold :reduce
- shan (Shannon Skipper) wrote in #note-2:
> I was surprised to hear this, since I think of "reduce" as most popular.
... -
08:20 AM Misc #16775: DevelopersMeeting20200514Japan
- We've hold a dev-meeting at 14th, but could go through only half topics. We'll hold an extra meeting at 26th.
Log... -
06:30 AM Feature #16894: Integer division for Ruby 3
- The following is meant to be an objective assessment of the proposal, taking no stand on approval, or not.
The pro... -
03:26 AM Feature #16894: Integer division for Ruby 3
- Just FYI, I've made these patches for division recently.
https://github.com/ruby/ruby/compare/master...nobu:feature/... -
01:43 AM Feature #16894: Integer division for Ruby 3
- fwiw, array indexing code likely wouldn't need changed.
``` ruby
a = ["zero", "one", "two"]
a[1/2] # "zero"
a... -
01:35 AM Feature #16897: General purpose memoizer in Ruby 3 with Ruby 2 performance
- Yes I can get this to work with hacks like this:
```ruby
def memoize_26(method_name)
cache = {}
uncached = "#{m... -
12:25 AM Feature #16897: General purpose memoizer in Ruby 3 with Ruby 2 performance
- You should be able to have similar performance by using `ruby2_keywords` and keeping the method definition the same. ...
-
12:14 AM Feature #16897 (Open): General purpose memoizer in Ruby 3 with Ruby 2 performance
- ```ruby
require 'benchmark/ips'
module Memoizer
def memoize_26(method_name)
cache = {}
uncached = "#{met...
05/15/2020
-
11:51 PM Misc #16895: Request for cooperation: Try your applications/libraries with master branch and debug options
- Make first paragraph read a bit better.
-
11:47 PM Misc #16895: Request for cooperation: Try your applications/libraries with master branch and debug options
- Updated from latest edits.
-
02:36 PM Misc #16895: Request for cooperation: Try your applications/libraries with master branch and debug options
- Samuel and Eregon rewrote a description. Thank you!
-
09:13 AM Misc #16895 (Closed): Request for cooperation: Try your applications/libraries with master branch and debug options
- ## Summary
If you maintain a Ruby application or library, please consider testing with the Ruby `master` branch, i... -
10:08 PM Feature #16894: Integer division for Ruby 3
- IMHO this is completely unrealistic for compatibility, and very clearly not worth breaking all the code (even more so...
-
05:39 PM Feature #16894: Integer division for Ruby 3
- > It'd be great if division in Ruby matched what we all learned in school.
In my time it was C++ or Java at school... -
03:34 PM Feature #16894: Integer division for Ruby 3
- I was just pointing out that other languages recognized this issue and only fairly recently chose to make syntax chan...
-
09:52 AM Feature #16894: Integer division for Ruby 3
- Here's a good read on the thoughts and motivation behind Python changing it: https://www.python.org/dev/peps/pep-0238/
-
09:22 AM Feature #16894: Integer division for Ruby 3
- jzakiya (Jabari Zakiya) wrote in #note-7:
> Ruby already has ``a.div b`` for explicit integer division.
Thanks, I ha... -
08:43 AM Feature #16894: Integer division for Ruby 3
- jzakiya (Jabari Zakiya) wrote in #note-7:
> Ruby already has ``a.div b`` for explicit integer division.
Also `a.q... -
06:38 AM Feature #16894: Integer division for Ruby 3
- Ruby already has ``a.div b`` for explicit integer division.
Nim also uses ``a div b`` for integer division.
Cry... -
04:39 AM Feature #16894: Integer division for Ruby 3
- Thanks for the responses!
Re 0.5 vs 1/2r: In my experience, developers use floats way more than rationals.
Re "... -
04:04 AM Feature #16894: Integer division for Ruby 3
- What would you do when you want integer division? Have you thought of it? ~~`(a / b).round`~~ `(a / b).floor`is not a...
-
03:43 AM Feature #16894: Integer division for Ruby 3
- > 1) Why 0.5 and not 1/2r
I'm for 1/2r. -
03:42 AM Feature #16894: Integer division for Ruby 3
- I would bet that a majority of Rubyists would agree that `1/2 == 0` is an unfortunate choice. Either `0.5` or `1/2r` ...
-
03:29 AM Feature #16894: Integer division for Ruby 3
- Sorry, for the edits, first issue! Changed normal to floating point.
-
03:20 AM Feature #16894 (Assigned): Integer division for Ruby 3
- Hi Ruby team,
It'd be great if division in Ruby matched what we all learned in school.
``` ruby
1 / 2 == 0.5
... -
09:14 PM Revision cc525d76 (git): [ci skip] Enhanced rdoc for String.new (#3067)
- * Per @nobu review
* Enhanced rdoc for String.new
* Respond to review -
09:12 PM Revision 24739c62 (git): [ci skip] Rdoc enhancements for Array (#3063)
- * Per @nobu review
* Rdoc enhancements for Array
* Responses to review - 09:12 PM Revision a3cd0152 (git): * 2020-05-16 [ci skip]
-
09:11 PM Revision d4698079 (git): [CI skip] Enhance rdoc intro for Hash (#3056)
- * Per @nobu review
* [CI skip] Enhance rdoc intro for Hash
* Tweak call-seq for Hash.new
* Tweak call-seq for Hash... -
08:26 PM Feature #16791: Shortcut for Process::Status.exitstatus
- Dan0042 (Daniel DeLorme) wrote in #note-6:
> `exec` only works as a tail-call at the end of the script. Most of the ... -
07:38 PM Bug #16896 (Closed): MakeMakefile methods should be private
- Right now they are public, and since mkmf.rb does `include MakeMakefile` it defines a lot of public methods on all ob...
-
03:06 PM Feature #16786: Light-weight scheduler for improved concurrency.
- Hi, I am a Ruby user that would probably vote for
``` ruby
Fiber do
end
```
only if I see the poll back then.
... -
03:10 AM Feature #16786: Light-weight scheduler for improved concurrency.
- @ioquatix I was well represented by Martin-sensei (@duerst).
The fiber created by `Fiber() do ...end` does context-s... -
02:41 PM Bug #16853: calling bla(hash, **kw) with a string-based hash passes the strings into **kw (worked < 2.7)
- @sylvain.joyeux
Hi! I read [your comment in the discuss RubyOnRails](https://discuss.rubyonrails.org/t/new-2-7-3-... -
11:20 AM Feature #16891: Restore Positional Argument to Keyword Conversion
- First of all, I'm really sorry for bothering many people about this change. And I'd like to really thank you @jeremy...
-
04:03 AM Feature #16891: Restore Positional Argument to Keyword Conversion
- Dan0042 (Daniel DeLorme) wrote in #note-1:
> Also I believe there's a fifth aspect that deserves consideration for r... -
03:45 AM Feature #16891: Restore Positional Argument to Keyword Conversion
- Dan0042 (Daniel DeLorme) wrote in #note-1:
> ## Non-Symbol Keyword Argument
>
> Previously one could trust that `foo... -
01:23 AM Feature #16891: Restore Positional Argument to Keyword Conversion
- IMHO there's one consideration that's more important than all others. The following code _must_ work in ruby 2.8/3.0
... -
08:45 AM Revision a9b2014d (git): Fix a typo [ci skip]
-
07:35 AM Bug #16854 (Closed): Using (...) when the method name is a keyword generates error
- Applied in changeset commit:git|71c166e11e761dcaaa943f9b94da38f86ada1bdb.
----------
Fixed argument forwarding in re... -
06:00 AM Bug #16854: Using (...) when the method name is a keyword generates error
- It results in a syntax error, right?
https://github.com/ruby/ruby/pull/3112 -
05:59 AM Revision 71c166e1 (git): Fixed argument forwarding in reserved word method [Bug #16854]
-
05:54 AM Revision e89b8750 (git): fix for multi-run test.
- TestAutoload#test_source_location can't run multiple test-run so
that use assert_separately().
repro command:
make y... -
02:12 AM Misc #16893 (Closed): Create Rosetta Code page on website
- I've been doing some [Rosetta Code](http://rosettacode.org/wiki/Rosetta_Code) tasks recently, and thought it would be...
-
01:26 AM Bug #16892 (Closed): Reconsider the test directory name for scheduler
- Applied in changeset commit:git|6fa8455ebbf457e5d8752295a8d6380146636c0c.
----------
Move `test/scheduler` -> `test/... -
12:22 AM Bug #16892: Reconsider the test directory name for scheduler
- I am happy to move it to `test/fiber`.
-
12:14 AM Bug #16892 (Closed): Reconsider the test directory name for scheduler
- `test/scheduler` is broke the convention of test directory. We use only `class` or `module` name excepts `ruby` and `...
- 01:26 AM Revision 6fa8455e (git): Move `test/scheduler` -> `test/fiber` [Bug #16892][ruby-core:98366].
-
12:08 AM Misc #16890 (Rejected): [Ruby Keywords and Ruby 3.0 release] Feedback to matz and the ruby core team
- You should comment it to https://discuss.rubyonrails.org/t/new-2-7-3-0-keyword-argument-pain-point/
We are going t...
05/14/2020
-
09:00 PM Feature #16851: Ruby hashing algorithm could be improved using Tabulation Hashing
- @byroot
> I'd suggest running the hash related benchmarks included in ruby's repo: https://github.com/ruby/ruby/tree... -
08:30 PM Feature #16891 (Rejected): Restore Positional Argument to Keyword Conversion
- Based on feedback from Rails-core, Matz has decided to postpone full separation of keyword and positional arguments (...
-
07:28 PM Misc #16890: [Ruby Keywords and Ruby 3.0 release] Feedback to matz and the ruby core team
- The discussion at https://discuss.rubyonrails.org/t/new-2-7-3-0-keyword-argument-pain-point/74980/2
is already quite... -
07:20 PM Misc #16890 (Rejected): [Ruby Keywords and Ruby 3.0 release] Feedback to matz and the ruby core team
- As some folks may already have read/heard, matz is asking for feedback.
He specifically asked this in regards to t... -
04:23 PM Bug #16787: [patch] allow Dir.home to work for non-login procs when $HOME not set
- Attaching version "v7-rebased-2020-05-14" of the patch. This version corresponds to the **rebase-only** changes pushe...
-
04:22 PM Revision 39365b46 (git): Merge pull request #3047 from mame/suppress-backtrace
- Add `--suppress-backtrace=num` option to limit the backtrace length
- 04:22 PM Revision 531e4a35 (git): * 2020-05-15 [ci skip]
-
04:21 PM Revision 7f86ad61 (git): test/scheduler: suppress warnings
- https://rubyci.s3.amazonaws.com/debian/ruby-master/log/20200514T123004Z.log.html.gz
```
/home/chkbuild/chkbuild/tmp/... -
03:06 PM Feature #16254: MRI internal: Define built-in classes in Ruby with `__intrinsic__` syntax
- An even better example, `dir.rb` could be used in TruffleRuby & other implementations easily:
https://github.com/rub... -
02:57 PM Feature #16254: MRI internal: Define built-in classes in Ruby with `__intrinsic__` syntax
- As an example, https://github.com/ruby/ruby/blob/d7d0d01401a8082e514eb2cb3cec5410e7acba7d/trace_point.rb could be use...
-
02:42 PM Feature #16254: MRI internal: Define built-in classes in Ruby with `__intrinsic__` syntax
- Some examples of `Primitive.name` used in TruffleRuby:
https://github.com/oracle/truffleruby/blob/af97b03a55b757688a... -
01:44 PM Bug #16889: TracePoint.enable { ... } also activates the TracePoint for other threads, even outside the block
- Maybe `enable(&block)` should behave like `enable(target: block); disable`?
-
01:37 PM Bug #16889 (Closed): TracePoint.enable { ... } also activates the TracePoint for other threads, even outside the block
- ```ruby
threads = []
inspects = []
trace = TracePoint.new(:line) do |tp|
threads << Thread.current
inspects ... -
12:33 PM Feature #16827: C API for writing custom random number generator that can be used as Random objects
- IMHO it's not nice to replace a nice Ruby-level API by a C API one.
Is there a benchmark of how much is it slower wi... -
08:08 AM Feature #16827: C API for writing custom random number generator that can be used as Random objects
- Sounds OK. Go ahead.
Matz.
-
12:27 PM Misc #16803: Discussion: those internal macros reside in public API headers
- ko1 (Koichi Sasada) wrote in #note-12:
> Please respect current convention `rb_`/`RB_` are called in ruby interprete... -
10:58 AM Revision d7d0d014 (git): Endless method definition including `rescue` modifier
-
10:57 AM Revision 634eeb43 (git): Removed trailing spaces [ci skip]
-
10:51 AM Misc #16805: Coroutine's license is unclear
- Are you happy adding the following to `LEGAL`:
```
coroutine::
Where specified, these files are licensed und... -
10:50 AM Bug #16814: Segmentation fault in GC while running test/ruby/test_fiber.rb on s390x
- @mame I have merged the light weight concurrency patch, and it included some changes to these tests to make them less...
-
10:44 AM Feature #16786: Light-weight scheduler for improved concurrency.
- Using latest master:
```ruby
class Scheduler
def fiber(&block)
fiber = Fiber.new(blocking: false, &block)... -
09:25 AM Feature #16786: Light-weight scheduler for improved concurrency.
- ioquatix (Samuel Williams) wrote in #note-34:
> Thanks Matz.
>
> > since the fiber created by the method is not t... -
08:50 AM Feature #16786: Light-weight scheduler for improved concurrency.
- Thanks Matz.
> since the fiber created by the method is not the original fiber at all.
Can you clarify "not the ori... -
07:22 AM Feature #16786: Light-weight scheduler for improved concurrency.
- Accepted for experimentation.
We still have some concerns, for example, mixture with blocking and non-blocking fib... -
07:16 AM Feature #16786: Light-weight scheduler for improved concurrency.
- > I don't think we should refer this kind of result because the voted people does not know concerns.
I think you are... - 10:10 AM Revision 0e3b0fcd (git): Thread scheduler for light weight concurrency.
-
09:32 AM Feature #16822 (Rejected): Array slicing: nils and edge cases
-
04:52 AM Feature #16822: Array slicing: nils and edge cases
- I don't think the benefit of changing outweighs the pain of incompatibility. Rejected.
Matz.
-
08:49 AM Feature #16847: Cache instruction sequences by default
- Julia uses `~/.julia/compiled/vX.Y` directory to store precompiled cache files.
-
02:58 AM Feature #16847: Cache instruction sequences by default
- I think python changed that default mostly because it can be annoying to see all .py files give rise to .pyc
files i... -
08:42 AM Feature #16832: Use #name rather than #inspect to build "uninitialized constant" error messages
- Sounds OK. Let's see how it works.
Matz.
-
08:41 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
- LGTM (including `--backtrace-limit`).
Matz.
-
08:19 AM Revision 336119df (git): extlibs.rb: fixed Downloader.cache_file call and return value
- `cache_dir` is an optinal argument but not a keyword argument, and
the return value is a `Pathname`. -
08:15 AM Revision 0a52015d (git): Constified code_loc_gen
-
04:51 AM Feature #16815: Implement Fiber#backtrace
- Accepted.
Matz.
-
04:36 AM Misc #16778 (Feedback): Should we stop vendoring default gems code?
- We still wait for the PoC of this issue.
-
04:29 AM Feature #15921: R-assign (rightward-assignment) operator
- hi.
I have summarized the expected behavior and the actual behavior with right assignment.
see: https://gist.gith... -
03:27 AM Revision 4a620aff (git): Restore class variable setting for tests
-
03:27 AM Revision 03a492fe (git): Initialize Reline callbacks when test suit starts
-
03:27 AM Revision 68a7c8ad (git): Reline callbacks can take nil
-
03:27 AM Revision ca1f6b3e (git): Delete inner text buffer after tests
-
03:27 AM Revision 978e691c (git): Restore Readline.completion_case_fold in test
-
12:35 AM Feature #16855: Add a tracepoint for warnings
- please write a specification of your proposal. there is only a code, test and motivation.
-
12:11 AM Revision 35bbbc75 (git): clean-up .bundle directory in bundled_app
-
12:11 AM Revision d4acf254 (git): Use the gemspec in build_dir directly
05/13/2020
-
09:17 PM Feature #16254: MRI internal: Define built-in classes in Ruby with `__intrinsic__` syntax
- ko1 (Koichi Sasada) wrote in #note-10:
> * (1) how to manage the code?
> * MRI repository?
Yes, that's fine, a... -
08:18 PM Bug #16853: calling bla(hash, **kw) with a string-based hash passes the strings into **kw (worked < 2.7)
- > This change was deliberate and mentioned in the 2.7.0 release announcement:
I missed this specific implication of ... -
03:39 PM Bug #16853 (Rejected): calling bla(hash, **kw) with a string-based hash passes the strings into **kw (worked < 2.7)
- This change was deliberate and mentioned in the 2.7.0 release announcement:
```
Non-symbols are allowed as keywor... -
12:31 PM Bug #16853: calling bla(hash, **kw) with a string-based hash passes the strings into **kw (worked < 2.7)
- Hmm. I am confused about the example though.
Isn't
bla "some" => "string"
actually
bla( { "so... -
12:00 PM Bug #16853 (Rejected): calling bla(hash, **kw) with a string-based hash passes the strings into **kw (worked < 2.7)
- The following code
~~~
def bla(hash = {}, **kw)
puts "H: #{hash}"
puts "K: #{kw}"
end
bla "some" =>... -
07:41 PM Feature #16855: Add a tracepoint for warnings
- Eregon (Benoit Daloze) wrote in #note-3:
> Maybe another angle for this would be to make the `instance variable @foo... -
07:04 PM Feature #16855: Add a tracepoint for warnings
- Maybe another angle for this would be to make the `instance variable @foobar not initialized` shown even with the def...
-
06:58 PM Feature #16855 (Rejected): Add a tracepoint for warnings
- Eregon (Benoit Daloze) wrote in #note-1:
> I'm afraid I don't see the point of a TracePoint for this if warnings can... -
06:57 PM Feature #16855: Add a tracepoint for warnings
- I'm afraid I don't see the point of a TracePoint for this if warnings can already be hooked via `Warning.prepend Some...
-
05:40 PM Feature #16855 (Rejected): Add a tracepoint for warnings
- I would like to add a tracepoint for warnings. I want to do this so that DidYouMean can suggest fixes for instance v...
-
06:44 PM Feature #16786: Light-weight scheduler for improved concurrency.
- Really looking forward to this API, it's _very_ promising.
What exactly are the implications of enter_blocking_regio... -
07:00 AM Feature #16786: Light-weight scheduler for improved concurrency.
- note that I missed:
> If any mutex is acquired by a fiber, then a scheduler is not called; the same behaviour as blo... -
06:58 AM Feature #16786: Light-weight scheduler for improved concurrency.
- ioquatix (Samuel Williams) wrote in #note-26:
> > non-blocking fiber creation API
>
> It was voted by community, str... -
06:25 AM Feature #16786: Light-weight scheduler for improved concurrency.
- Add clarification about introducing new hooks.
-
04:47 AM Feature #16786: Light-weight scheduler for improved concurrency.
- Specify the root fiber is also blocking.
-
04:46 AM Feature #16786: Light-weight scheduler for improved concurrency.
- > non-blocking fiber creation API
It was voted by community, strongly in favour of `Fiber do ... end`. If you think ... -
06:36 PM Bug #16856 (Closed): Structs accepting keyword arguments issue a warning with Ruby 2.7
- I believe this was fixed in #16801, which is already marked as required for backport to 2.7. With the master branch, ...
-
06:11 PM Bug #16856 (Closed): Structs accepting keyword arguments issue a warning with Ruby 2.7
- This code is issuing a warning with Ruby 2.7, but should not:
``` ruby
class NotFine < Struct.new(:x)
def init... -
05:32 PM Bug #16854: Using (...) when the method name is a keyword generates error
- Interesting find and explanation.
-
04:42 PM Bug #16854 (Closed): Using (...) when the method name is a keyword generates error
- Although I wouldn't generally recommend it, naming a method `true` is allowed. However, in combination with the new a...
-
05:22 PM Bug #16850: Object#hash doesn't behave as documented
- Thanks for the insight into bypass vs deoptimization.
Of course if you override #hash and #eql? to return true for... -
01:35 AM Bug #16850: Object#hash doesn't behave as documented
- Dan0042 (Daniel DeLorme) wrote in #note-4:
> Would it be feasible to raise some sort of error when trying to redefin... -
01:14 AM Bug #16850 (Closed): Object#hash doesn't behave as documented
- Applied in changeset commit:git|de29a022acb93691dfc50db852cb04f763565072.
----------
Document that #hash is not call... -
01:11 AM Bug #16850: Object#hash doesn't behave as documented
- Would it be feasible to raise some sort of error when trying to redefine Integer#hash ?
Not just for this case, but ... -
12:46 AM Bug #16850: Object#hash doesn't behave as documented
- +1 The updates LGTM.
Matz.
- 03:51 PM Revision 65c5a395 (git): * 2020-05-14 [ci skip]
-
03:44 PM Revision 8bd27c54 (git): ext/json/parser/prereq.mk: remove type-limit warning if char is unsigned
- Ragel generates a code `0 <= (*p)` where `*p` is char.
As char is unsigned by default on arm and RISC-V, it is warned... -
03:14 PM Bug #6087: How should inherited methods deal with return values of their own subclass?
- > * A method that seems to return a new array that is directly related to the receiver, should return an instance of ...
-
03:06 PM Feature #15771: Add `String#split` option to set `split_type string` with a single space separator
- That optimization is nice to have, but I think the point of this ticket is that it's currently not possible to have a...
-
08:49 AM Feature #16847: Cache instruction sequences by default
- Also I forgot to mention. Python 3 no longer store this cache alongside source files, but in a subdirectory.
Pytho... -
08:47 AM Feature #16847: Cache instruction sequences by default
- > How cache is effective and how large cache storage is needed depend an application.
Of course there is some vari... -
03:48 AM Feature #16847 (Feedback): Cache instruction sequences by default
- How cache is effective and how large cache storage is needed depend an application.
But Ruby don't have enough examp... -
06:47 AM Revision 87662134 (git): [ruby/openssl] Ruby/OpenSSL 2.2.0
- https://github.com/ruby/openssl/commit/41587f69e1
-
06:47 AM Revision cc26638c (git): [ruby/openssl] ssl: temporarily remove SSLContext#add_certificate_chain_file
- Let's revert the changes for now, as it cannot be included in the 2.2.0
release.
My comment on #257:
> A blocker is... -
06:47 AM Revision 6f008c9d (git): [ruby/openssl] pkey: add PKey#inspect and #oid
- Implement OpenSSL::PKey::PKey#oid as a wrapper around EVP_PKEY_id().
This allows user code to check the type of a PKe... -
06:47 AM Revision a7145c3d (git): [ruby/openssl] Fix signing example to not use Digest instance
- https://github.com/ruby/openssl/commit/033fb4fbe4
-
06:47 AM Revision c85789f9 (git): [ruby/openssl] Look up cipher by name instead of constant
- https://github.com/ruby/openssl/commit/b08ae7e73d
-
06:47 AM Revision b44cc9f0 (git): [ruby/openssl] Remove 'mapping between Digest class and sn/ln'
- This is not present in the referenced files anymore, and not useful to most users
https://github.com/ruby/openssl/co... -
06:47 AM Revision 0b2c70ea (git): [ruby/openssl] Look up digest by name instead of constant
- https://github.com/ruby/openssl/commit/b28fb2f05c
-
06:47 AM Revision 3f8665fe (git): [ruby/openssl] Add Marshal support to PKey objects
- https://github.com/ruby/openssl/commit/c4374ff041
-
05:50 AM Revision fcd25762 (git): Stop always inlining not-optimized get/setivar
- As we have the optimization in _mjit_compile_ivar.erb, we don't use
these functions if we successfully optimize ivars... -
04:49 AM Revision 61d451d6 (git): ext/bigdecimal/bigdecimal.c, ext/date/date_core.c: undef NDEBUG
- `#define NDEBUG` produces "macro redefined" warnings when it is already
defined via cppflags -
04:45 AM Revision 3bca1b6a (git): ext/openssl/ossl.h: Remove a variable that is used only in assert
- It produces "unused variable" warnings in NDEBUG mode
-
03:33 AM Misc #16805: Coroutine's license is unclear
- Sure.
-
01:57 AM Revision b68dab86 (git): ext/fiddle/extconf.rb: Fix the condition of libffi <= 3.1
- ver is [3, 1, 0] which is not less then or equal to [3, 1]
-
01:48 AM Feature #16851: Ruby hashing algorithm could be improved using Tabulation Hashing
- Interesting!! @ana06 Do you need any help?
Matz.
-
01:01 AM Revision de29a022 (git): Document that #hash is not called for certain core classes [ci skip]
- Fixes [Bug #16850]
Also available in: Atom