Activity
From 11/12/2020 to 11/18/2020
11/18/2020
-
10:13 PM Bug #17308 (Closed): RubyVM::InstructionSequence.compile_file doesn't use the same default encoding than Kernel.load
- Applied in changeset commit:git|4a5c42db88d30532bd4fbcdff89615ebf961d2a2.
----------
Make RubyVM::InstructionSequenc... -
08:45 PM Bug #17308: RubyVM::InstructionSequence.compile_file doesn't use the same default encoding than Kernel.load
- I submitted a pull request to make RubyVM::InstructionSequence.compile_file use same encoding as Kernel#load: https:...
-
10:12 PM Revision 4a5c42db (git): Make RubyVM::InstructionSequence.compile_file use same encoding as load
- This switches the internal function from rb_parser_compile_file_path
to rb_parser_load_file, which is the same intern... - 10:11 PM Revision fee00737 (git): * 2020-11-19 [ci skip]
- 10:11 PM Revision ce3c9a34 (git): Fix USE_TRANSIENT_HEAP macro usage in hash.c
- Additionally fix some typos in transient heap.
-
07:02 PM Bug #17321 (Closed): Having a singleton class makes cloning imperfect
- Fixed by commit:ebb96fa8808317ad53a4977bff26cf755d68077e.
-
05:06 PM Feature #17333: Enumerable#many?
- >We already have `none?`, `one?`, `any?` and `all?`, which translate into `== 0`, `== 1`, `> 0` and `== self.size`.
`... -
01:48 PM Feature #17333: Enumerable#many?
- ITYM `> 1`. 😉
-
01:12 PM Feature #17333: Enumerable#many?
- Pull Request is here:
https://github.com/ruby/ruby/pull/3785 -
01:01 PM Feature #17333: Enumerable#many?
- okuramasafumi (Masafumi OKURA) wrote:
> Currently we need to write something this:
>
> ```ruby
> [1, 2, 3].cou... -
12:58 PM Feature #17333 (Open): Enumerable#many?
- `Enumerable#many?` method is implemented in ActiveSupport.
https://api.rubyonrails.org/classes/Enumerable.html#metho... -
04:18 PM Feature #17312: New methods in Enumerable and Enumerator::Lazy: flatten, product, compact
- @p8
> I was really suprised that `#last` isn't implemented in Enumerable while `#first` is.
It is natural.
T... -
03:31 PM Feature #17312: New methods in Enumerable and Enumerator::Lazy: flatten, product, compact
- I was really suprised that #last isn't implemented in Enumerable while #first is.
-
03:34 PM Feature #13381: [PATCH] Expose rb_fstring and its family to C extensions
- After trying to use the new functions in `json` and `messagepack` I realized we overlooked something entirely.
The... -
10:32 AM Bug #17332 (Closed): No error when using endless method definitions with `self.` setters
- Seems to have been fixed since preview1:
```
[05:29][~]$ ruby -v -e 'def self.foo=() = 1'
ruby 3.0.0dev (2020-11... -
08:55 AM Bug #17332 (Closed): No error when using endless method definitions with `self.` setters
- With ruby 3.0.0 preview1, endless method definitions can be used for setter methods with explicit receiver:
```rub... -
07:28 AM Revision dc3a65bd (git): [ruby/net-smtp] Bump version to 0.2.1
- https://github.com/ruby/net-smtp/commit/6e5c09dcc4
-
07:27 AM Revision 6e487719 (git): Update TypeProf to 0.6.1
-
05:26 AM Revision 1301bd8c (git): Update documentation for Ripper.{lex,tokenize,sexp,sexp_raw} [ci skip]
-
05:16 AM Feature #17276 (Closed): Ripper stops tokenizing after keyword as a method parameter
- Applied in changeset commit:git|cd0877a93e91fecb3066984b3fa2a762e6977caf.
----------
Support raise_errors keyword fo... -
05:15 AM Revision cd0877a9 (git): Support raise_errors keyword for Ripper.{lex,tokenize,sexp,sexp_raw}
- Implements [Feature #17276]
-
01:52 AM Revision a776032e (git): Move the declaration into the function
- instead of 'do not call it directly.' comment.
-
01:14 AM Bug #17021: "arm64" and "arm" are mixed in RbConfig on Apple silicon
- I heard that config.guess claims it "arm", while `uname -m` reports "arm64".
First of all, `$host_cpu` and others ar... -
01:04 AM Bug #17331: Let Fiber#raise work with transferring fibers
- We could also make this automatically determine whether the fiber is yielding or transferring and choose the appropri...
-
12:50 AM Bug #17331 (Closed): Let Fiber#raise work with transferring fibers
- It would be useful to use `raise` on transferring fibers just as we can with yielding fibers.
I've added a `transf... -
12:32 AM Feature #17326: Add Kernel#must! to the standard library
- jez (Jake Zimmerman) wrote in #note-16:
> A colleague pointed out that `or_else` has the nice property that it could... -
12:06 AM Feature #17326: Add Kernel#must! to the standard library
- A colleague pointed out that `or_else` has the nice property that it could replace the `||=` for default initializing...
- 12:05 AM Revision 519062b3 (git): Add Fiddle 1.0.2 to NEWS
- 12:05 AM Revision 0915a020 (git): Update Fiddle's dependencies
- 12:05 AM Revision fcd680fb (git): [ruby/fiddle] Remove needless return
- https://github.com/ruby/fiddle/commit/50e02f9445
- 12:05 AM Revision aa22b665 (git): [ruby/fiddle] Bump version
- https://github.com/ruby/fiddle/commit/74b65cb858
- 12:05 AM Revision 5c7ef89d (git): [ruby/fiddle] test: suppress shadowing outer local variable warning
- https://github.com/ruby/fiddle/commit/cf168680a2
- 12:05 AM Revision ceccc165 (git): [ruby/fiddle] Remove needless workaround
- It's fixed in upstream.
https://github.com/MSP-Greg/ruby-loco/issues/4
https://github.com/ruby/fiddle/commit/2ae0ff4934 - 12:05 AM Revision 3b385c33 (git): [ruby/fiddle] Add workaround for ruby head for mingw
- https://github.com/ruby/fiddle/commit/bb227c206d
- 12:05 AM Revision 821cfa74 (git): [ruby/fiddle] Use msys2_mingw_dependencies
- https://github.com/ruby/fiddle/commit/fee175a8ff
- 12:05 AM Revision e2770129 (git): [ruby/fiddle] Use ruby_xcalloc() instead of ruby_xmalloc() and memset()
- https://github.com/ruby/fiddle/commit/6d24fb5438
- 12:05 AM Revision 1867088d (git): [ruby/fiddle] Remove needless rescue
- GitHub: fix GH-15
Reported by Eneroth3. Thanks!!!
https://github.com/ruby/fiddle/commit/f3d70b81ec - 12:05 AM Revision aff5eace (git): [ruby/fiddle] Add workaround for RubyInstaller for Windows
- See comment for details.
https://github.com/ruby/fiddle/commit/0c76f03dc4 -
12:05 AM Revision 307388ea (git): [ruby/fiddle] Add a "pinning" reference (#44)
- * Add a "pinning" reference
A `Fiddle::Pinned` objects will prevent the objects they point to from
moving. This is ... - 12:05 AM Revision e2dfc0c2 (git): [ruby/fiddle] Add support for specifying types by name as String or Symbol
- For example, :voidp equals to Fiddle::TYPE_VOID_P.
https://github.com/ruby/fiddle/commit/3b4de54899 - 12:05 AM Revision ae7b5354 (git): [ruby/fiddle] Add TYPE_CONST_STRING and SIZEOF_CONST_STRING for "const char *"
- Add rb_fiddle_ prefix to conversion functions.h to keep backward
compatibility but value_to_generic() isn't safe for ...
11/17/2020
-
11:24 PM Feature #17326: Add Kernel#must! to the standard library
- jeremyevans0 (Jeremy Evans) wrote in #note-14:
> But the fact that there should be a high bar is something I would ho... -
09:46 PM Feature #17326: Add Kernel#must! to the standard library
- jez (Jake Zimmerman) wrote in #note-13:
> jeremyevans0 (Jeremy Evans) wrote in #note-12:
>
> > the benefit of add... -
09:12 PM Feature #17326: Add Kernel#must! to the standard library
- jeremyevans0 (Jeremy Evans) wrote in #note-12:
> the benefit of adding it is smaller than the cost of adding another... -
08:50 PM Feature #17326: Add Kernel#must! to the standard library
- This method is trivial to write in Ruby. While it can be useful even in codebases that do not use static typing, I t...
-
07:46 PM Feature #17326: Add Kernel#must! to the standard library
- I really don't want to add new syntax for something that can already be expressed in normal Ruby code.
I wanted to b... -
03:44 PM Feature #17326: Add Kernel#must! to the standard library
- Just an aside note: not saying something against, or for the proposal, I can't help noticing that abandoned "method r...
-
03:20 PM Feature #17326: Add Kernel#must! to the standard library
- I don't think I can agree with the `|.` operator, but having the raise in a block would make a lot of sense to me.
... -
06:35 AM Feature #17326: Add Kernel#must! to the standard library
- I like this syntax :
`task|.raise.mailing_params|.raise.fetch('template_context')`
As you said it's consistent wi... -
11:13 PM Revision 64926d50 (git): test/net/smtp - use TCPSocket when UNIXSocket unavailable
- 10:17 PM Revision 2ef3b979 (git): NEWS: Add --backtrace-limit option [ci skip]
-
09:58 PM Revision 898aff95 (git): Remove NEWS entry about taint deprecation warnings [ci skip]
- JunichiIto on GitHub correctly pointed out this is no longer
accurate due to the change to not display deprecation wa... -
08:30 PM Misc #17329 (Closed): Doc for pattern match?
- Ah, I confused both sites. Closing this then.
-
06:32 PM Misc #17329: Doc for pattern match?
- > Who has access to do that?
If you mean access to ruby-doc.org, I believe it is one-person project. Last time I w... -
06:09 PM Misc #17329: Doc for pattern match?
- Ohh, glad to see it's there, not updated.
There have been many improvements by @BurdetteLamar, we should definitel... -
10:02 AM Misc #17329: Doc for pattern match?
- (As an aside note, I really believe Ruby needs some kind of "Documentation working group", the current state of thing...
-
10:00 AM Misc #17329: Doc for pattern match?
- Funny.
Here: https://docs.ruby-lang.org/en/master/doc/syntax/control_expressions_rdoc.html#label-case+Expression w... -
01:59 AM Misc #17329 (Closed): Doc for pattern match?
- Is there an official doc for pattern matching?
I note that `case` in https://ruby-doc.org/core-2.7.2/doc/syntax/co... -
07:04 PM Feature #17278: On-demand sharing of constants for Ractor
- In #17323#note-5, ko1 mentioned there is a possibility to provide "fork" model. So I tried thinking if it could apply...
- 06:53 PM Revision 0829f147 (git): * 2020-11-18 [ci skip]
-
06:52 PM Revision 5e3259ea (git): fix public interface
- To make some kind of Ractor related extensions, some functions
should be exposed.
* include/ruby/thread_native.h
*... -
06:37 PM Feature #17325: Adds Fiber#cancel, which forces a Fiber to break/return
- n.b. I consider this to be related, at least in spirit, to https://bugs.ruby-lang.org/issues/595. I consider this ana...
-
04:25 PM Feature #17325: Adds Fiber#cancel, which forces a Fiber to break/return
- Like I wrote above, I think I'd like to change my PR so that `terminated_fiber.cancel` returns `nil` or `false` inste...
-
03:45 PM Feature #17325: Adds Fiber#cancel, which forces a Fiber to break/return
- one more update to alternatives
-
03:40 PM Feature #17325: Adds Fiber#cancel, which forces a Fiber to break/return
- added more to alternatives
-
03:20 PM Feature #17325: Adds Fiber#cancel, which forces a Fiber to break/return
- Added some other alternatives to the description.
-
03:02 PM Feature #17325: Adds Fiber#cancel, which forces a Fiber to break/return
- Thanks for taking a look at this, Benoit. I agree it's not obvious why this is necessary with Fiber#raise, so I'll tr...
-
04:28 PM Feature #17312: New methods in Enumerable and Enumerator::Lazy: flatten, product, compact
- > But even with Enumerator the recursive aspect still represents a compatibility problem.
I am not sure about its ... -
04:14 PM Feature #17312: New methods in Enumerable and Enumerator::Lazy: flatten, product, compact
- I understand the thinking behind #flatten; if `ary.flatten` is possible then why not `ary.to_enum.flatten`? It should...
-
03:50 PM Feature #17312: New methods in Enumerable and Enumerator::Lazy: flatten, product, compact
- @mame @Dan0042 Oh, you are right, starting to think from `Enumerable::Lazy` perspective I've missed a huge incompatib...
-
04:07 PM Feature #17276: Ripper stops tokenizing after keyword as a method parameter
- Eregon (Benoit Daloze) wrote in #note-2:
> jeremyevans0 (Jeremy Evans) wrote in #note-1:
> > Maybe we could support... -
10:10 AM Feature #17276: Ripper stops tokenizing after keyword as a method parameter
- jeremyevans0 (Jeremy Evans) wrote in #note-1:
> Maybe we could support keyword arguments in `Ripper.lex` and `Ripper... -
05:17 AM Feature #17276: Ripper stops tokenizing after keyword as a method parameter
- Ripper records errors, but `Ripper.tokenize` and `Ripper.lex` cannot return them. Here's how you can handle errors w...
-
02:24 PM Bug #17197: Some Hash methods still have arity 2 instead of 1
- Ah, I was wrong.
mame (Yusuke Endoh) wrote in #note-6:
> IMO, this is a bug since 1.9.0 because `Hash#select` looks ... -
01:37 PM Bug #17197: Some Hash methods still have arity 2 instead of 1
- Eregon (Benoit Daloze) wrote in #note-8:
> Check if the block uses arity 1 and warn that it should instead use `|k,v... -
12:55 PM Feature #17330: Object#non
- It reminded me https://bugs.ruby-lang.org/issues/12075#change-57152.
-
12:49 PM Feature #17330 (Open): Object#non
- (As always "with core" method proposals, I don't expect quick success, but hope for a fruitful discussion)
### Rea... -
12:45 PM Bug #17021: "arm64" and "arm" are mixed in RbConfig on Apple silicon
- Maybe, `uname -m` (and tool/config.guess) returns "arm", then `RUBY_UNIVERSAL_ARCH` replaces target_cpu only?
-
12:35 PM Bug #17021: "arm64" and "arm" are mixed in RbConfig on Apple silicon
- As I have no access to Apple silicon machines, can anyone share config.log file on that platform?
-
10:20 AM Bug #17021: "arm64" and "arm" are mixed in RbConfig on Apple silicon
- This seems a clear bug, at least `host_cpu` and `build_cpu`.
`arm` means 32-bit and is already used e.g. on Linux to... -
12:20 PM Bug #11213: defined?(super) ignores respond_to_missing?
- https://github.com/ruby/ruby/pull/3777
-
10:25 AM Feature #17314: Provide a way to declare visibility of attributes defined by attr* methods in a single expression
- phluid61 (Matthew Kerwin) wrote in #note-9:
> ``` ruby
> attr_accessor :x, :y #=> ?
> ```
This is exactly why ... -
10:23 AM Feature #17314: Provide a way to declare visibility of attributes defined by attr* methods in a single expression
- marcandre (Marc-Andre Lafortune) wrote in #note-8:
> I would also like `alias_method x, y` to return `x` so we could... -
07:55 AM Feature #17314: Provide a way to declare visibility of attributes defined by attr* methods in a single expression
- Dan0042 (Daniel DeLorme) wrote in #note-7:
> +1
>
> Ever since ruby 2.1 when `def` was improved to return a Symbo... -
04:30 AM Feature #17314: Provide a way to declare visibility of attributes defined by attr* methods in a single expression
- I would also like `alias_method x, y` to return `x` so we could write `protected alias_method :foo, :bar`
-
09:05 AM Revision 0683912d (git): Skip tests related TLS with Windows platform.
-
05:17 AM Revision cada6d85 (git): Import net-smtp-0.2.0 from https://github.com/ruby/net-smtp
-
02:32 AM Bug #17305 (Closed): rb_rescue2() seems to loop forever if given a non-module for rescued exceptions on <= 2.6.6
- I bisected the fix to commit:a569bc09e25a2ba813d0bec1228d9ff65330a3db. We definitely don't want the entire commit. ...
- 12:41 AM Revision fcc88da5 (git): configure.ac: fix for upcoming autoconf-2.70
- The failure initially noticed on `autoconf-2.69d` (soon to become 2.70):
```
$ ./configure
./configure: line 8720: s... -
12:39 AM Feature #13381 (Closed): [PATCH] Expose rb_fstring and its family to C extensions
- Applied in changeset commit:git|ef19fb111a8c8bf1a71d46e6fcf34b227e086845.
----------
Expose the rb_interned_str_* fa... -
12:39 AM Revision ef19fb11 (git): Expose the rb_interned_str_* family of functions
- Fixes [Feature #13381]
-
12:08 AM Feature #17328 (Rejected): Extend `un.rb` to be usable by everyone
- You can run it as `ruby run.rb`.
11/16/2020
-
10:41 PM Revision 68ffc8db (git): Set allocator on class creation
- Allocating an instance of a class uses the allocator for the class. When
the class has no allocator set, Ruby looks f... -
10:41 PM Revision ebb96fa8 (git): Fix singleton class cloning
- Before this commit, `clone` gave different results depending on whether the original object
had an attached singleton... -
10:37 PM Bug #17197: Some Hash methods still have arity 2 instead of 1
- @Dan0042 How would we warn that case? Check if the block uses arity 1 and warn that it should instead use `|k,v|` or ...
-
02:04 PM Bug #17197: Some Hash methods still have arity 2 instead of 1
- So when you have a bug that is troublesome to fix because it may result in large incompatibility... rather than "just...
-
07:59 AM Bug #17197: Some Hash methods still have arity 2 instead of 1
- This story is rather different from `Hash#each` in #14015.
`Hash#each` has yielded an array that has a key and a val... -
10:34 PM Bug #17302 (Closed): The TracePoint API does not allow setting multiple line traces within the same method (ISEQ)
- Applied in changeset commit:git|084e7e31b257f6ac859769553b4c1c6ca2930152.
----------
remain enabled and line specifi... -
10:33 PM Revision 084e7e31 (git): remain enabled and line specified trace points
- If two or more tracepoints enabled with the same target and with
different target lines, the only last line is activa... -
08:14 PM Feature #16786: Light-weight scheduler for improved concurrency.
- I am happy with `Fiber.set_scheduler`. I'm also happy with `Fiber.scheduler=` (canonical Ruby style) but I accept and...
- 05:38 PM Revision 1271782f (git): * 2020-11-17 [ci skip]
- 05:38 PM Revision 1ee8d4b0 (git): Fix typo on Proc docs
-
04:00 PM Feature #17328: Extend `un.rb` to be usable by everyone
- This has the potential to introduce security issues. Avoiding security issues by not automatically loading files in ...
-
02:37 PM Feature #17328 (Rejected): Extend `un.rb` to be usable by everyone
- I've opened the PR here: https://github.com/ruby/ruby/pull/3771, although if you need me to submit a patch just let m...
-
03:55 PM Feature #17314: Provide a way to declare visibility of attributes defined by attr* methods in a single expression
- +1
Ever since ruby 2.1 when `def` was improved to return a Symbol, I've always wondered why the same was not done ... -
01:30 PM Misc #16778: Should we stop vendoring default gems code?
- Not that I'm no longer interested, but it sounds like it'd be wasted work.
Even if the reason for rejection doesn'... -
01:14 PM Revision 0f37f384 (git): [DOC] Fixed a typo [ci skip]
-
12:53 PM Feature #17326: Add Kernel#must! to the standard library
- Since this feature is reminiscent of the safe navigation operator `&.`, I think it would be good if we can make the n...
-
12:25 PM Feature #17326: Add Kernel#must! to the standard library
- Given that Ruby 3 will ship with RBS which will be supplanted with a type-checker based on RBS (Steep) soon, I expect...
-
07:33 AM Feature #17326: Add Kernel#must! to the standard library
- I like this feature as a tiny tool for debugging and assertion.
When I encounter `undefined method 'foo' for nil:Nil... -
06:25 AM Feature #17326: Add Kernel#must! to the standard library
- There is `not_nil!` in Crystal https://github.com/crystal-lang/crystal/blob/master/src/object.cr#L223
-
12:31 AM Feature #17326: Add Kernel#must! to the standard library
- - Yes I think we need this feature (except the name)
- Re: naming, the rule of a bang method is:
> A bang... -
12:12 PM Feature #17327: The Queue constructor should take an initial set of items
- Agreed with @byroot (actually I was going to note the same, he beat me to it).
I would also like to note that dif... -
09:11 AM Feature #17327: The Queue constructor should take an initial set of items
- I agree that the constructor should take an enumerable rather than variadic arguments, as it would be consistent with...
-
08:44 AM Revision 8985add9 (git): Update TypeProf to 0.5.2
-
08:44 AM Revision bcd29fed (git): Update TypeProf to 0.5.1
-
08:44 AM Revision 57ab779a (git): Update RBS to 0.17.0
-
08:24 AM Feature #17312: New methods in Enumerable and Enumerator::Lazy: flatten, product, compact
- I think `Enumerable#compact` is trivial and maybe useful.
In regard to `Enumrable#flatten`, I agree with @Dan0042's ... -
07:59 AM Feature #17323: Ractor::LVar to provide ractor-local storage
- Dan0042 (Daniel DeLorme) wrote in #note-4:
> The problem with the example above is that it's too magical to have a v... -
02:01 AM Revision 0ba096df (git): Fix a link [ci skip]
-
01:59 AM Revision ef82a0ef (git): Fix links [ci skip]
11/15/2020
-
11:25 PM Bug #17124 (Closed): Wrong "ambiguous first argument" warning
- Applied in changeset commit:git|f5bb9115a7f69c32089b9b970933c3507fb9f82b.
----------
Use more specific warning for a... -
08:28 AM Bug #17124: Wrong "ambiguous first argument" warning
- I think your wording is a big improvement 👍
I think you've paid the cost already with your diff, we should reap th... -
06:11 AM Bug #17124 (Feedback): Wrong "ambiguous first argument" warning
- marcandre (Marc-Andre Lafortune) wrote in #note-3:
> I hadn't thought of `method /a /x` or `method /a /<newline>othe... -
11:25 PM Revision f5bb9115 (git): Use more specific warning for ambiguous slash
- Fixes [Bug #17124]
-
10:59 PM Feature #17325: Adds Fiber#cancel, which forces a Fiber to break/return
- This sounds like Thread#kill but for Fiber.
However, Fiber is cooperative so it seems this shouldn't be needed.
W... -
08:48 PM Feature #17325: Adds Fiber#cancel, which forces a Fiber to break/return
- I've updated the description to 1) better describe the motivation and 2) match the PR's current behavior when a Fiber...
-
05:35 AM Feature #17325: Adds Fiber#cancel, which forces a Fiber to break/return
- updated description and github PR
-
10:50 PM Feature #17327: The Queue constructor should take an initial set of items
- That all makes sense to me.
-
10:13 PM Feature #17327: The Queue constructor should take an initial set of items
- I'm not worried about `Queue.new(worklist)` or `Queue.new(*worklist)`, so that's fine if more people feel that way. I...
-
10:11 PM Feature #17327: The Queue constructor should take an initial set of items
- What about a way to bulk add items, e.g. `q.concat` or whatever is the same for Array, and maybe it would be best to ...
-
10:07 PM Feature #17327: The Queue constructor should take an initial set of items
- https://github.com/ruby/ruby/pull/3768
-
10:06 PM Feature #17327 (Closed): The Queue constructor should take an initial set of items
- I often create a `Queue` and then process it with a set of concurrent workers in threads. I end up writing:
```rub... - 10:45 PM Revision 45fd53e0 (git): * 2020-11-16 [ci skip]
- 10:44 PM Revision fd46ff9d (git): NEWS: merge Range and Regexp being frozen [doc]
-
05:51 AM Bug #17146 (Closed): Queue operations are allowed after it is frozen
-
05:48 AM Bug #17158 (Closed): Ractor Segfault when using shell and puts
-
05:48 AM Bug #17304 (Closed): Ruby stuck calling sched_yield on fork
- 01:04 AM Revision cd50ff80 (git): * 2020-11-15 [ci skip]
-
12:59 AM Revision 0433f5ae (git): Functions defined in headers should be static inline
11/14/2020
-
11:15 PM Feature #17326 (Closed): Add Kernel#must! to the standard library
- # Abstract
We should add a method `Kernel#must!` (name TBD) which raises if `self` is `nil` and returns `self` oth... -
10:45 PM Feature #17325: Adds Fiber#cancel, which forces a Fiber to break/return
- I also created a github PR at https://github.com/ruby/ruby/pull/3766.
-
10:43 PM Feature #17325: Adds Fiber#cancel, which forces a Fiber to break/return
- This is my first big foray into the ruby C API, so I hope it makes sense what I was trying to do. Did I handle `vm_fi...
-
10:43 PM Feature #17325 (Closed): Adds Fiber#cancel, which forces a Fiber to break/return
Calling `Fiber#cancel` will force a fiber to return, skipping rescue and catch blocks but running all ensure blocks...-
09:34 PM Feature #14781: Enumerator.generate
- @chrisseaton I do!
Everything that is good for the community is good by me. -
08:55 PM Feature #14781: Enumerator.generate
- @zverok are you making available the code in https://github.com/zverok/enumerator_generate available under the same l...
-
10:22 AM Revision 311a66b7 (git): Update TypeProf to 0.5.0
-
01:41 AM Bug #17318: Raising float to the power of other issue
- That depends on your purpose or background of the problem. In non-math situations, `power(a, b)` should not return an...
11/13/2020
-
11:26 PM Feature #17100: Ractor: a proposal for a new concurrent abstraction without thread-safety issues
- `send` is a term traditionally used in the actor context. We'd like to experiment how it works well (or bad) for Rubu...
-
10:18 AM Feature #17100: Ractor: a proposal for a new concurrent abstraction without thread-safety issues
- Thank you for the detailed explanation, that makes sense to me.
I am sure it will result in some confusion, but hopef... -
08:15 AM Feature #17100: Ractor: a proposal for a new concurrent abstraction without thread-safety issues
- # `Ractor#send` naming issue
Recent weeks I'm thinking about the name of `Ractor#send`.
Matz and I discussed poss... -
11:17 PM Bug #17318: Raising float to the power of other issue
- deXterbed (Manoj Mishra) wrote in #note-3:
>
> that still raises the question, how exactly am i supposed to calcul... -
05:09 PM Bug #17318: Raising float to the power of other issue
- deXterbed (Manoj Mishra) wrote in #note-3:
> ```
> def raise(a, b)
> return -((a.abs)**b) if a < 0
> a**b
> ... -
04:59 PM Bug #17318: Raising float to the power of other issue
- Also see #16677 w/r edge cases.
-0.4**0.9 #=> -0.4383832905540869
-0.4.to_f**0.9 #=> (-0.4169272... -
03:43 PM Bug #17318: Raising float to the power of other issue
- mame (Yusuke Endoh) wrote in #note-2:
> It is due to precedence of operators unary minus and `**`.
>
> `x**y` calcul... -
08:38 PM Feature #17315: Hash #transform
- to_h works for me even though it is unintuitive a name for monadic mapping a hash. I wish we had a common name funct...
-
07:53 PM Feature #17323: Ractor::LVar to provide ractor-local storage
- Would it be possible to somehow have ractor-local variables that are automatically dereferenced instead of having to ...
-
07:13 PM Feature #17322: Deprecate `Random::DEFAULT` and introduce `Random.default()` method to provide Ractor-supported default random generator
- Eregon (Benoit Daloze) wrote in #note-6:
> I think `rand`, etc should use a thread-local `Random` instance (and threa... -
05:23 PM Feature #16786: Light-weight scheduler for improved concurrency.
- Dan0042 (Daniel DeLorme) wrote in #note-71:
> Fiber.schedulers[Thread.current] = sch
It seems weird to me to ... -
05:17 PM Feature #16786: Light-weight scheduler for improved concurrency.
- Would this be too crazy?
Fiber.schedulers #=> Hash
Fiber.schedulers.default = sch
Fiber.schedulers[T... -
05:20 PM Bug #17310: Closed ractors should die
- Sorry for the side discussion.
I think this is the important point to discuss:
Eregon (Benoit Daloze) wrote in ... -
05:17 PM Bug #17310: Closed ractors should die
- ko1 (Koichi Sasada) wrote in #note-9:
> > It is convenient to Ractor.new { ... }.take, but we could have Ractor#join... -
05:07 PM Misc #17319: Rename Random.urandom to os_random and document random data sources
- zofrex (James Sanderson) wrote in #note-6:
> I think that people reading "raw_seed" are likely to think that either ... -
01:20 PM Misc #17319: Rename Random.urandom to os_random and document random data sources
- I don't think `raw_seed` is name that does a good job of communicating what this method does and what it can be used ...
-
03:14 AM Misc #17319: Rename Random.urandom to os_random and document random data sources
- How about `Random.raw_seed(size)`?
-
04:46 PM Revision 78262105 (git): Use rb_attr_get() for hidden ivar
- rb_ivar_get() can issue an uninitialized ivar warning. We never want to
issue warnings about hidden ivars as they are... -
04:32 PM Feature #17312: New methods in Enumerable and Enumerator::Lazy: flatten, product, compact
- What would be the interaction between Array#flatten and Enumerable#flatten ?
It's a big compatibility problem if fla... -
04:16 PM Feature #17298: Ractor's basket communication APIs
- A comment about naming... my first impression was that a "basket" is a container with multiple objects to transmit be...
-
03:06 PM Bug #14726 (Closed): wrong message when superclass is not a Class
- Applied in changeset commit:git|ce9beb9d20187c861462282460b998684759e5e7.
----------
Improve error message when subc... - 03:06 PM Revision 1bd98ee2 (git): * 2020-11-14 [ci skip]
-
03:06 PM Revision ce9beb9d (git): Improve error message when subclassing non-Class
- Fixes [Bug #14726]
-
12:17 PM Revision 6d059674 (git): Update to ruby/spec@b0b7f53
-
12:17 PM Revision acbe7aa1 (git): Update to ruby/mspec@f8b0618
-
05:19 AM Bug #17324: You may have encountered a bug in the Ruby interpreter or extension libraries.
- gundamseedw (J Wong) wrote in #note-1:
> gundamseedw (J Wong) wrote:
> > i've attached the crash report log.
> >
> >... -
04:19 AM Revision 69c5474e (git): Fixup 957efa95cc12c608705a5663256226f022ea6c7f
-
04:01 AM Feature #14922: Resolv getaddresses ignores AAAA records for IPv6
- I've submitted my patch as a pull request: https://github.com/ruby/resolv/pull/1
-
03:52 AM Feature #11322: OpenUri: RuntimeError: HTTP redirection loop
- I've submitted the patch as a pull request, with a test: https://github.com/ruby/open-uri/pull/1
-
03:06 AM Revision e70a1d9b (git): Revert https://github.com/ruby/webrick/pull/44
- Because the test for this change was still broken.
- 02:38 AM Revision c046cc1d (git): * 2020-11-13 [ci skip]
- 02:36 AM Revision 37e5b367 (git): [ruby/webrick] add mime type of extention .mjs
- https://github.com/ruby/webrick/commit/45d68f9eba
-
02:35 AM Revision 957efa95 (git): [ruby/webrick] Allow empty POST and PUT requests without content length
- RFC 7230 section 3.3.3 allows for this.
Fixes #30
https://github.com/ruby/webrick/commit/069e9b1908
11/12/2020
-
09:31 PM Feature #17322: Deprecate `Random::DEFAULT` and introduce `Random.default()` method to provide Ractor-supported default random generator
- In JRuby and in TruffleRuby, Random instances are thread-safe (i.e., they use synchronization internally).
Also, `ran... -
02:39 AM Feature #17322: Deprecate `Random::DEFAULT` and introduce `Random.default()` method to provide Ractor-supported default random generator
- It sounds rather intuitive to me that `rand` etc. are not sharable among ractors. It is their nature to mutate proce...
-
02:26 AM Feature #17322: Deprecate `Random::DEFAULT` and introduce `Random.default()` method to provide Ractor-supported default random generator
- > Maybe Ractor#[] (like Thread#[]) ?
yes, it is one option (but I don't like this, make a new ticket soon about i... -
02:24 AM Feature #17322: Deprecate `Random::DEFAULT` and introduce `Random.default()` method to provide Ractor-supported default random generator
- ko1 (Koichi Sasada) wrote in #note-2:
> > Why not introduce general-purpose per-ractor variables first, instead of ma... -
02:15 AM Feature #17322: Deprecate `Random::DEFAULT` and introduce `Random.default()` method to provide Ractor-supported default random generator
- > Why not introduce general-purpose per-ractor variables first, instead of magical method that interacts with the crr...
-
01:58 AM Feature #17322: Deprecate `Random::DEFAULT` and introduce `Random.default()` method to provide Ractor-supported default random generator
- Why not introduce general-purpose per-ractor variables first, instead of magical method that interacts with the crren...
-
01:48 AM Feature #17322 (Closed): Deprecate `Random::DEFAULT` and introduce `Random.default()` method to provide Ractor-supported default random generator
- `Random::DEFAULT` a default random generator used by `rand`, `srand`, `Array#shuffle` without a given random generato...
-
07:17 PM Bug #17324 (Third Party's Issue): You may have encountered a bug in the Ruby interpreter or extension libraries.
- The crash information includes:
```
Crashed Thread: 4 thread_pool.rb* Dispatch queue: com.apple.security... -
07:08 PM Bug #17324: You may have encountered a bug in the Ruby interpreter or extension libraries.
- gundamseedw (J Wong) wrote:
> i've attached the crash report log.
>
> im using
>
> Rails 5.2.4.4
> Puma 5.0.4... -
07:04 PM Bug #17324 (Third Party's Issue): You may have encountered a bug in the Ruby interpreter or extension libraries.
- i've attached the crash report log.
im using
Rails 5.2.4.4
Puma 5.0.4
Ruby 2.5.8 -
06:44 PM Feature #17323: Ractor::LVar to provide ractor-local storage
- marcandre (Marc-Andre Lafortune) wrote in #note-2:
> - deep-copying the cache is probably faster than having to reca... -
06:24 PM Feature #17323: Ractor::LVar to provide ractor-local storage
- I'm curious for better use cases.
The above example is not very convincing:
- there's no much use in sending this o... -
05:07 PM Feature #17323: Ractor::LVar to provide ractor-local storage
- Another advantages compare with current API is,
* we don't need to care about variable name.
* we can make ractor... -
04:55 PM Feature #17323 (Closed): Ractor::LVar to provide ractor-local storage
- Ruby supports thread and fiber local storage:
* `Thread#[sym]` provides *Fiber* local storage
* `Thread#thread_va... -
02:39 PM Revision 63258664 (git): spec/ruby/core/file/utime_spec.rb: XFS seems to have Year 2038 problem
- https://rubyci.org/logs/rubyci.s3.amazonaws.com/rhel8/ruby-master/log/20201112T123004Z.fail.html.gz
```
1)
File.utime... -
12:35 PM Revision 028d52bb (git): [ruby/date] Numeric already includes Comparable
- https://github.com/ruby/date/commit/f6140df0ad
-
12:35 PM Revision 33574d57 (git): [ruby/date] Updated timezones from timeanddate.com
- https://github.com/ruby/date/commit/f08175e34d
-
12:34 PM Revision 81dece54 (git): [ruby/date] Honor timezones from timeanddate.com
- https://github.com/ruby/date/commit/d20380fc55
-
12:34 PM Revision d65f1140 (git): [ruby/date] Fixed the script file name to update zonetab.list
- https://github.com/ruby/date/commit/3c002b1daa
-
12:34 PM Revision 0fdcb947 (git): [ruby/date] [DOC] declate DateTime class is deprecated
- https://github.com/ruby/date/commit/58ca6e6a3e
-
12:05 PM Revision e8f8e63f (git): Backport cosmetic changes from upstream repo that is ruby/rdoc
-
12:05 PM Revision ffc8cf12 (git): Fixed typo
-
10:27 AM Revision 0d52dce3 (git): strip trailing spaces and adjusted indents [ci skip]
-
10:16 AM Bug #17320 (Closed): Is 'make realclean' supposed to work?
- Of course `configure` must be execute prior trying to run `make something`. Oh my. Sorry for the noise.
-
08:40 AM Misc #17319: Rename Random.urandom to os_random and document random data sources
- I hear what you're saying about communicating that it is not coming from `/dev/random`. It's hard to communicate all ...
-
12:20 AM Misc #17319: Rename Random.urandom to os_random and document random data sources
- Also until very recently (until version 5.6), Linux kernel has had distinct /dev/random and /dev/urandom. Some peopl...
-
12:06 AM Misc #17319: Rename Random.urandom to os_random and document random data sources
- +1 for doc update. Naming wise, ruby is rather POSIX-centric. For instance it has IO.select which works on Windows ...
- 08:00 AM Revision 98de98fb (git): * 2020-11-12 [ci skip]
-
07:59 AM Revision a237617a (git): array.rb: Remove unnecessary phrase from rdoc
- A fix to 54fb8fb62a30c7b60ab6443a62821f6f8bc479c4
-
07:59 AM Revision a02ba604 (git): array.rb: show examples whether `Array#shuffle!` has side effect or not
- Partially revert 54fb8fb62a30c7b60ab6443a62821f6f8bc479c4
-
05:35 AM Feature #17316: On memoization
- marcandre (Marc-Andre Lafortune) wrote in #note-5:
> > What about allowing Kernel#instance_variable_set to take a bl... -
01:19 AM Bug #17310: Closed ractors should die
- Ractor is designed to manage blocking operations by
* receive
* yield and take
and they can be multiplex with ... -
01:07 AM Bug #17310: Closed ractors should die
- > It is convenient to Ractor.new { ... }.take, but we could have Ractor#join for that purpose, and that would also wo...
Also available in: Atom