Activity
From 01/26/2022 to 02/01/2022
02/01/2022
-
11:11 PM Bug #18436: Fix Pathname dot directory globbing
- I noticed this change just now. We have some programs which depended on the previous behavior. It loses backward comp...
-
09:27 PM Bug #18560: "Compaction isn't available on this platform" error running PG test suite on ppc64le
- FWIW, TruffleRuby has `Primitive.method_unimplement` specifically to achieve to achieve the same as `rb_f_notimplemen...
-
05:27 PM Bug #18560: "Compaction isn't available on this platform" error running PG test suite on ppc64le
- Thx for the clarification. For now, I have reported the original issue to the PG upstream [1]. Keeping this open shou...
-
08:47 PM Misc #18557: DevMeeting-2022-02-17
- - [Feature #18249] The ABI version of dev builds of CRuby does not correspond to the ABI
- ABI checking for deve... -
08:37 PM Bug #18249: The ABI version of dev builds of CRuby does not correspond to the ABI
- Hello, I’d like to summarize the motivation for this feature and the implementation I proposed.
# Motivation for t... -
08:27 PM Feature #18563: Add "graphemes" and "each_grapheme" aliases
- (I have added to the description an url to matz's original statement)
-
07:44 PM Feature #18563 (Closed): Add "graphemes" and "each_grapheme" aliases
- https://bugs.ruby-lang.org/issues/13780#note-10
> grapheme sounds like an element in the grapheme cluster. How abo... -
07:50 PM Feature #18438: Add `Exception#additional_message` to show additional error information
- I have created another ticket to summarize the final spec of this proposal: #18564.
-
07:49 PM Feature #18564 (Closed): Add Exception#detailed_message
- (This ticket is for recording the final spec of #18438)
## Proposal
I would introduce a method `Exception#detai... -
02:19 PM Feature #17873: Update of default gems in Ruby 3.1
- Eregon (Benoit Daloze) wrote in #note-38:
> Note: Whenever a gem is extracted from stdlib, we should be careful the ... -
02:17 PM Feature #17873: Update of default gems in Ruby 3.1
- Note: Whenever a gem is extracted from stdlib, we should be careful the gem can be installed on older Ruby versions, ...
-
12:56 PM Bug #18443: IO read/write/wait hook bug fixes.
- ruby_3_1 cd4aae430da8303dac9f1be2d1e1b7ce1bc8a458 merged revision(s) f27eb8148f5a72bbacfebfecc7de9305471bb5c9,d75f707...
-
12:56 PM Revision cd4aae43 (git): merge revision(s) f27eb8148f5a72bbacfebfecc7de9305471bb5c9,d75f7078c831d45ab5ba2fae4fbb308d01a21e46,d5836db1b398a7936b0461b3011db66f6cc8c490: [Backport #18443]
- Sync io-console gem.
---
ext/io/console/console.c | 8 ++++++--
test/io/console/t... -
12:53 PM Revision 8177e3b8 (git): Revert "Fix console.c usage of `rb_io_wait`."
- This reverts commit aa3b2c81c8de2e70bd100e92436f15c03523eaf7.
-
12:42 PM Bug #18517: 0 << (2**40) is NoMemoryError but 0 << (2**80) is 0
- ruby_3_1 1f17463dec2ab1535096cb56005a840eae4fea5b merged revision(s) 6a6227e0168b059c3ed34c9f0ace2e5dc2364221.
-
12:41 PM Revision 1f17463d (git): merge revision(s) 6a6227e0168b059c3ed34c9f0ace2e5dc2364221: [Backport #18517]
- Shifting zero always results in zero [Bug #18517]
---
numeric.c | 2 ++
1 file changed, 2 i... -
12:28 PM Misc #16512: Improving `www.ruby-lang.org` reference by merging with `rubyreferences.github.io`
- @hsbt I am up to the task!
There would be a few questions of what's the best way of handling it, I'll prepare the ... -
12:15 PM Misc #16512: Improving `www.ruby-lang.org` reference by merging with `rubyreferences.github.io`
- @zverok Can you handle this? I'll support to migrate your documentation to www.ruby-lang.org or docs.ruby-lang.org.
- 11:07 AM Revision 0b2f6b94 (git): [rubygems/rubygems] Skip "seller shipped" notification after delivery
- If a Shipment has been delivered, there is no point in notifying the
buyer that the seller shipped. Instead, we shoul... -
11:04 AM Revision f6894711 (git): [ruby/io-wait] Exclude rake files from packages
- https://github.com/ruby/io-wait/commit/7be58cd7f4
-
05:38 AM Feature #18462: Proposal to merge WASI based WebAssembly support
- mame (Yusuke Endoh) wrote in #note-4:
> Feel free to ask me if you have a question.
Wow, thanks for putting this ... -
01:59 AM Feature #18462: Proposal to merge WASI based WebAssembly support
- Hi @jez
Here you are: https://github.com/mame/emruby/
In short, please setup emsdk and then try `./configure --... -
05:11 AM Revision ddb9d60f (git): [ruby/io-wait] Make the gem a noop on Rubies older than 2.6
- Ref: https://github.com/mikel/mail/pull/1439
Some gems depend on io-wait, but still support older rubies,
so they ha... - 04:22 AM Revision 804dca7b (git): Update default gems list at fc4fbeef28b1d243e45d7fc8d60778 [ci skip]
-
04:22 AM Revision fc4fbeef (git): [ruby/io-wait] bump up to 0.2.2
- https://github.com/ruby/io-wait/commit/e15a2486b2
-
03:21 AM Revision ec906191 (git): Restore workaround for test_rubygems.rb, It still fails with chkbuild encironment
-
01:39 AM Feature #16663: Add block or filtered forms of Kernel#caller to allow early bail-out
- headius (Charles Nutter) wrote in #note-25:
> Is there a way to prohibit the `to_enum` form? I don't think it will b... -
12:45 AM Feature #16663: Add block or filtered forms of Kernel#caller to allow early bail-out
- Is there a way to prohibit the `to_enum` form? I don't think it will be useful to support since it may vary greatly a...
01/31/2022
-
11:09 PM Revision 6623d60e (git): Try make this more readable and consistent with other targets
-
11:09 PM Revision e53af7d1 (git): Tweaks to freeze bundler CI
- Currently some specs are broken because `rspec-mocks-3.10.3` is used,
which has some breaking changes, apparently.
T... -
11:09 PM Revision 517d7c32 (git): Sync latest Bundler & RubyGems
-
08:45 PM Bug #18562 (Closed): throw_data passed to rescue through require
- When we throw in a require it's incorrectly considered as a raise, making the `T_IMEMO` `throw_data` object accessibl...
-
08:37 PM Bug #18561: Make singleton def operation and define_singleton_method explicitly use public visibility
- Related JRuby pull request that makes singleton method definition always public (in response to the ostruct issue lin...
-
08:29 PM Bug #18561: Make singleton def operation and define_singleton_method explicitly use public visibility
- @marcandre provided a possibly more common case, but I still highly doubt that anyone would expect this to behave dif...
-
07:09 PM Bug #18561 (Closed): Make singleton def operation and define_singleton_method explicitly use public visibility
- Currently nearly all uses of `define_singleton_method` or `def obj.foo` will ignore the caller's frame/cref visibilit...
- 08:20 PM Revision 2b2e3b79 (git): * 2022-02-01 [ci skip]
-
08:20 PM Revision d5c9710b (git): [rubygems/rubygems] Remove encoding pragma from specification.rb
- - it is not used since it is not at the top of the file
- it is not useful anymore
https://github.com/rubygems/rubyg... -
06:54 PM Feature #18462: Proposal to merge WASI based WebAssembly support
- katei (Yuta Saito) wrote:
> For example, CRuby already supports WebAssembly target by Emscripten, but Emscripten hea... -
05:51 PM Feature #18554: Move unicode_normalize to a default gem
- @duerst Thank you for spelling that out. I figured there are some additional nuances to this, since the unicode table...
-
04:38 PM Bug #18560: "Compaction isn't available on this platform" error running PG test suite on ppc64le
- @peterzhu2118 JFYI: If the method body is `rb_f_notimplement`, `Kernel#respond_to?` returns false.
For example, `K... -
04:19 PM Bug #18560: "Compaction isn't available on this platform" error running PG test suite on ppc64le
- I think this is expected. `GC.compact`, `GC.auto_compact=`, `GC.verify_compaction_references` will raise `NotImplemen...
-
03:13 PM Bug #18560 (Closed): "Compaction isn't available on this platform" error running PG test suite on ppc64le
- Trying to execute test suite of `pg` gem on ppc64le, I observe a following error:
~~~
... snip ...
1) GC.com... -
04:09 PM Feature #18370: Call Exception#full_message to print exceptions reaching the top-level
- Would it be feasible for #full_message to accept a String/IO argument to which it writes the parts of the message? So...
-
02:58 PM Feature #18370: Call Exception#full_message to print exceptions reaching the top-level
- I have given it a try, but I faced two non-trivial test failures.
One is TestException#test_cause_exception_in_cau... -
03:58 PM Feature #18438: Add `Exception#additional_message` to show additional error information
- Thank you, it's much clearer now.
Follow-up question: Should #detailed_message include the class of the error
a) ... -
10:31 AM Feature #18438: Add `Exception#additional_message` to show additional error information
- I talked with @matz and @nobu about that.
The current implementation of `Exception#full_message` adds `\e[1m` (i.e... -
02:47 PM Bug #17263: Fiber context switch degrades with number of fibers, limit on number of fibers
- I heard someone ran into this error in a GraphQL-Ruby context, so I thought I'd check out this script on the latest R...
-
02:42 PM Revision 605f2261 (git): Fix heap page iteration in gc_verify_heap_page
- The for loops are not correctly iterating heap pages in
gc_verify_heap_page. -
12:14 PM Feature #18559 (Closed): Allocation tracing: Objects created by the parser are attributed to Kernel.require
- Marking this as a feature, because I think it should be improved but can hardly be considered a bug.
### Repro
... -
10:22 AM Bug #18497: Fiber内でProcess.daemonをするとSegmentation faultが起こる
- ruby_3_1 1c426ddb25e2ccb169720e4f9894605596fe594d merged revision(s) 5c7af72304d0ad33cd3f21b24a4bc44e8acd5b2c,d650b17...
-
10:22 AM Revision 1c426ddb (git): merge revision(s) 5c7af72304d0ad33cd3f21b24a4bc44e8acd5b2c,d650b17686d49c2ce8e6a87039861154e93d4621: [Backport #18497]
- Assuming EXIT_SUCCESS equals 0 is not portable
---
test/ruby/test_fiber.rb | 6 +++---
1 fi... -
09:15 AM Bug #18489: Segmentation fault with ruby 3.1.0 in `active_decorator`
- ruby_3_1 629b9da7dbdcaff04d6dde70f2431396f66e03e5 merged revision(s) f3c77bd480834f2835fe6fef5c0475336248dbde.
-
09:15 AM Revision 629b9da7 (git): merge revision(s) f3c77bd480834f2835fe6fef5c0475336248dbde: [Backport #18489]
- Fix the placeholder subclass entry skipping [Bug #18489]
---
class.c | 3 +--
... -
09:05 AM Bug #18294: error when parsing regexp comment
- I understand it is not easy to fix, and I sure can live with it.
ありがとうMatzさん \^_^ -
02:28 AM Bug #18294: error when parsing regexp comment
- I admit this is a bug and it should be fixed. But implementation-wise, it's difficult to fix. Considering the (small)...
- 06:35 AM Revision 5b0c7b4a (git): Prefer `wait_readable` rather than `IO.select`.
- 06:35 AM Revision bdd3cf00 (git): Fix incorrect minimum read length.
- 06:35 AM Revision aa3b2c81 (git): Fix console.c usage of `rb_io_wait`.
-
05:02 AM Bug #11064: #singleton_methods for objects with special singleton_class returns an empty array
- matz (Yukihiro Matsumoto) wrote in #note-1:
> `nil` does not have its singleton class, but `NilClass` plays the role... -
02:55 AM Bug #11064: #singleton_methods for objects with special singleton_class returns an empty array
- `nil` does not have its singleton class, but `NilClass` plays the role of the singleton class (since `nil` is the onl...
-
03:19 AM Bug #17988: pod update on Mac mini M1 with Big Sur after moving project from iMac. Xcode 12.4
- For the record: we confirmed that this issue was fixed by `gem install ffi -- --enable-libffi-alloc`. See #18555 and ...
-
03:18 AM Bug #18512 (Third Party's Issue): MacOS 12.1 Monterey Bug
- I believe this is the same case as #18555. We confirmed that that issue was fixed by `gem install ffi -- --enable-lib...
-
03:17 AM Bug #18505 (Third Party's Issue): Crash reported while trying to run Cucumber via ruby on macbook air M1 processor
- I believe this is the same case as #18555. We confirmed that that issue was fixed by `gem install ffi -- --enable-lib...
-
03:16 AM Bug #18496 (Third Party's Issue): Segmentation fault at 0x0000000005107620
- I believe this is the same case as #18555. We confirmed that that issue was fixed by `gem install ffi -- --enable-lib...
-
02:23 AM Feature #18515: Add Range#reverse_each implementation
- Dan0042 (Daniel DeLorme) wrote in #note-3:
> I agree with both of those statements, but Integer is the only class th... -
02:17 AM Bug #18475: Yielding an element for Enumerator in another thread dumps core
- ruby_3_1 8e3bce0841497fc00ccdaf45f6583c25720a2d3f merged revision(s) ae5458f228a5477383e9c00425d85d50a3867817.
-
02:16 AM Revision 8e3bce08 (git): merge revision(s) ae5458f228a5477383e9c00425d85d50a3867817: [Backport #18475]
- thread.c: Convert TAG_BREAK to a normal exception at thread top-level
[Bug #18475]
---
test... -
02:15 AM Bug #18468: Tutorial Link for Optionparser is broken
- ruby_3_1 abdd655afd6f3f36553e6bb0d6b3e3eac09ae977 merged revision(s) 92630e2346a221fdfeaa484632938a06765bc6e5.
-
02:15 AM Revision abdd655a (git): merge revision(s) 92630e2346a221fdfeaa484632938a06765bc6e5: [Backport #18468]
- [ruby/optparse] Fix links to the page directory files [Bug #18468]
https://github.com/ruby/optparse/commit/d... -
01:55 AM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
- @anthonyaykut Thank you for your cooperation! Because there are many bug reports about the issue of ffi with M1, this...
-
12:31 AM Bug #18555 (Closed): Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
-
12:45 AM Misc #18557: DevMeeting-2022-02-17
- * [Feature #13110] Byte-based operations for String
* Are there any objections to introduce byteindex, byterindex... -
12:33 AM Bug #18514: ruby 2.6.9's Date#jisx0301 does not support Reiwa
- https://github.com/ruby/ruby/pull/5497.diff
01/30/2022
-
11:18 PM Feature #18515: Add Range#reverse_each implementation
- kyanagi (Kouhei Yanagita) wrote in #note-2:
> In general, I think it would be better to improve `#reverse_each` by u... -
11:10 PM Feature #18438: Add `Exception#additional_message` to show additional error information
- Very happy about this.
mame (Yusuke Endoh) wrote in #note-16:
> Note: the rdoc of `detailed_message` should expli... - 10:59 PM Revision b01657c4 (git): [DOC] Fix case for new sentence.
-
10:38 PM Revision f924e05b (git): [DOC] Fix a typo in the NEWS.md
- Follow up of https://github.com/ruby/ruby/commit/fbb3cab.
-
10:17 PM Revision 99a65e80 (git): [DOC] Enhanced RDoc for io.c (#5460)
- Treats:
Kernel#readline
Kernel#readlines
Kernel#`cmd`
IO#advise
IO.select
IO#ioctl
IO#fc... -
10:13 PM Feature #18368: Range#step semantics for non-Numeric ranges
- > the implication is that `range.step(1)` (using `+`) would have different semantics than `range.each` (using succ); ...
-
09:43 PM Feature #18368: Range#step semantics for non-Numeric ranges
- @zverok if understand correctly, the implication is that `range.step(1)` (using `+`) would have different semantics t...
-
02:12 PM Feature #18368: Range#step semantics for non-Numeric ranges
- Some clarifications after rereading the corresponding [dev.meeting log](https://github.com/ruby/dev-meeting-log/blob/...
-
09:58 AM Feature #18368: Range#step semantics for non-Numeric ranges
- > Here's one idea: how about adding an #increment(n) method. For Numeric, Float, Time, Date, it would be an alias to ...
-
04:15 AM Feature #18368: Range#step semantics for non-Numeric ranges
- > matz: I'd like to allow numeric-type '+', but to deny concatination-type '+'
> matz: we should not modify the beha... -
09:48 PM Feature #16122: Data: simple immutable value object
- I'm quite fond of this proposal--I basically never use Struct unless I specifically need mutability and have been usi...
-
08:57 PM Feature #16122: Data: simple immutable value object
- Eregon (Benoit Daloze) wrote in #note-29:
> ValueStruct or ImmutableStruct or FrozenStruct maybe?
Those are good ... -
08:39 PM Feature #16122: Data: simple immutable value object
- Some more alternatives to get the ideas rolling: `Unit` and `Item` (might be paired with Struct)
I also like `Box`. -
12:53 PM Feature #16122: Data: simple immutable value object
- ValueStruct or ImmutableStruct or FrozenStruct maybe?
ImmutableStruct would probably only make sense if values are m... - 06:47 PM Revision b0bd26ad (git): * 2022-01-31 [ci skip]
-
06:47 PM Revision e75bd8df (git): pend some tests while using to_binary
- ISeqs from ISeq#to_binary/load do not support `keep_script_lines`
now so some tests should be pending tests with
`RUB... -
12:45 PM Feature #18285: NoMethodError#message uses a lot of CPU/is really expensive to call
- I think Ruby users already know well what `#<MyObject:0xXXXXXXXXXXXXXXXX>` means, and using another naming is likely ...
-
03:36 AM Feature #18285: NoMethodError#message uses a lot of CPU/is really expensive to call
- "undefined method 'time' for object Integer" is grammatically incorrect.
It would need to be "undefined method 'time... -
12:32 PM Feature #18370: Call Exception#full_message to print exceptions reaching the top-level
- Great!
@mame Do you plan to make a PR or should I give it a try? -
11:19 AM Bug #18292: 3.1.0-dev `include` cause Module to be marked as initialized
- ruby_3_1 28ec24db4a8201fa624692cdc1cbef9b00489412 merged revision(s) a79c59472df38297c246b27713c277f2edaefa7a.
-
10:08 AM Revision 28ec24db (git): merge revision(s) a79c59472df38297c246b27713c277f2edaefa7a: [Backport #18292]
- Allow include before calling Module#initialize
This is to allow Module subclasses that include modules befor... -
10:07 AM Bug #18469: Backport c764e368bd9c0487e6cc97f8a62e0e0e99a0d7c5
- ruby_3_1 1a1737530bff683041b8f45e7acac8c5c85c4163 merged revision(s) c764e368bd9c0487e6cc97f8a62e0e0e99a0d7c5.
-
10:07 AM Revision 1a173753 (git): merge revision(s) c764e368bd9c0487e6cc97f8a62e0e0e99a0d7c5: [Backport #18469]
- Fix default --jit-max-cache in `ruby --help`
changed at 028f1887c2bfa50dcfc1b623470d6ab1b880fdde
---... -
10:07 AM Bug #18436: Fix Pathname dot directory globbing
- ruby_3_1 e75246c287436621658bc2b8a5f999d8991e7d1d merged revision(s) 5917f49ad03cd3b2c13d3eea85c969a113b83bf8.
-
10:06 AM Revision e75246c2 (git): merge revision(s) 5917f49ad03cd3b2c13d3eea85c969a113b83bf8: [Backport #18436]
- Fix documentation for Dir.glob
Dir.glob("*", File::FNM_DOTMATCH) no longer includes ".." in the
retu... -
10:06 AM Bug #18453: YJIT breaks Rails collection caching
- ruby_3_1 2640161df5cf18d08ec86a0c1b913d4ee99e102a merged revision(s) 5414de4b6e4372af832e338f8eb7a9fe8de17c84.
-
10:06 AM Bug #18434: error_highlight does not work for -e option
- ruby_3_1 20091ccad34904cb5ded13a8787f6662a8e2df68 merged revision(s) 0dc7816c4350683ccd020f5759eee4914de0085d.
-
10:06 AM Bug #18458: Segmentation fault when missing Warning#warn method
- ruby_3_1 d3a2a3c5420fecfee54cbf3fbdd9287bc6c58f03 merged revision(s) 9e0a91d0640600f2dfd7fc1d5fae6667019c9ca5.
-
10:02 AM Revision d3a2a3c5 (git): merge revision(s) 9e0a91d0640600f2dfd7fc1d5fae6667019c9ca5: [Backport #18458]
- Don't segfault if Warning.warn is undefined
Check that there is a method entry for the method before passing... -
10:02 AM Bug #18558 (Closed): Numbered arguments + eval
- Yes, see [Feature #16432].
-
10:01 AM Revision 2640161d (git): merge revision(s) 5414de4b6e4372af832e338f8eb7a9fe8de17c84: [Backport #18453]
- YJIT: Fix SP index with optarg and unordered kwarg
Previously when we were calling a method with an optional... -
10:01 AM Revision 20091cca (git): merge revision(s) 0dc7816c4350683ccd020f5759eee4914de0085d: [Backport #18434]
- Make RubyVM::AST.of work with code written in `-e` command-line
option
[Bug #18434]
---
... -
06:42 AM Bug #18443: IO read/write/wait hook bug fixes.
- I have confirmed the PR https://github.com/ruby/ruby/pull/5473 contains the two whole backports and a partial backpor...
-
01:42 AM Bug #17629 (Closed): macOS, readline compiled with libedit: adding entries to history doesn't work unless Readline.readline is called before populating it
01/29/2022
-
08:34 PM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
- Right, I have an update -- I worked out that `syntax` was also a gem :) so in the end I added:
```
gem "middleman... -
08:16 PM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
- mame (Yusuke Endoh) wrote in #note-9:
> anthonyaykut (Anthony Aykut) wrote in #note-8:
> > and then... `bundle inst... -
05:24 AM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
- anthonyaykut (Anthony Aykut) wrote in #note-8:
> and then... `bundle install`:
>
> ```
...
> Using ffi 1.15.5
... -
07:30 PM Bug #17629: macOS, readline compiled with libedit: adding entries to history doesn't work unless Readline.readline is called before populating it
- Can someone close this ticket? I don't see a possibility to do it myself.
-
07:28 PM Bug #18558 (Closed): Numbered arguments + eval
- ```ruby
def yield_2_args
yield 1, 2
end
yield_2_args { p [eval("_1"), _2] }
```
Running with ruby 2.7.2, ... -
01:59 PM Revision 44c44b9b (git): Ignore warnings at reading debug info for now
- Something seems changed on FreeBSD 13.
-
10:07 AM Revision 67f4729f (git): [Bug#18556] Fallback `MAP_ ANONYMOUS`
- Define `MAP_ANONYMOUS` to `MAP_ANON` if undefined on old systems.
-
08:36 AM Misc #18557 (Closed): DevMeeting-2022-02-17
- # The next dev meeting
**Date: 2022/02/17 13:00-17:00** (JST)
Log: https://github.com/ruby/dev-meeting-log/blob/m... -
08:36 AM Misc #18399 (Closed): DevMeeting-2022-01-13
-
08:32 AM Feature #18370: Call Exception#full_message to print exceptions reaching the top-level
- Discussed on the dev-meeting.
#18367 was accepted, so @matz said "give it a try". Need to create a PR. -
08:32 AM Revision fbb3cab9 (git): Add a NEWS entry about [Feature #16806]
-
08:31 AM Feature #16122: Data: simple immutable value object
- Discussed on the dev-meeting.
@matz is now negative to allow settings. Having various semantics in one Struct clas... -
08:29 AM Feature #16806 (Closed): Struct#initialize accepts keyword arguments too by default
- @nobu already committed the last step at commit:c956f979e5d05900315d2753d5c3b1389af8dae4. Closing.
-
08:10 AM Feature #18438: Add `Exception#additional_message` to show additional error information
- @matz accepted the name `detailed_message`. I'll update and improve my PR (or volunteer is welcome)
Note: the rdoc... -
08:02 AM Feature #18285: NoMethodError#message uses a lot of CPU/is really expensive to call
- Discussed at the dev-meeting but no conclusion.
@akr said the part `0xXXXXXXXXXXXXXXXX` is almost useless, and rou... -
07:28 AM Bug #18556: error: use of undeclared identifier 'MAP_ANONYMOUS'
- https://github.com/ruby/ruby/pull/5506
-
03:08 AM Bug #18556 (Closed): error: use of undeclared identifier 'MAP_ANONYMOUS'
- ruby 3.1.0 fails to build on older versions of macOS such as OS X 10.10.5:
```
gc.c:11141:88: error: use of undec... -
07:07 AM Bug #18512: MacOS 12.1 Monterey Bug
- I'm unsure but you failed to recompile ffi gem because the size of ffi_c.bundle did not change.
Before:
```
{
"... -
12:08 AM Bug #18512: MacOS 12.1 Monterey Bug
- IPS Report:
```
oucl5976@ck1 cf-zendesk % cat ~/Library/Logs/DiagnosticReports/ruby-2022-01-29-000341.ips
{"app_... -
12:06 AM Bug #18512: MacOS 12.1 Monterey Bug
- ```
oucl5976@ck1 ~ % gem uninstall ffi
You have request... -
06:33 AM Revision 90a8b1c5 (git): Remove a typo hash [ci skip]
-
06:29 AM Revision 7672f6a4 (git): mkmf: unify duplicate code in pkg_config
-
06:22 AM Revision b90e56e6 (git): mkmf: pkg_config accepts multiple options
-
06:22 AM Revision 24c7e75d (git): test: backfill coverage for MakeMakefile.pkg_config
-
06:08 AM Bug #18514: ruby 2.6.9's Date#jisx0301 does not support Reiwa
- > Can you confirm with date-2.0.3 ?
Thank you so much.
I tried it, then I get good result!
-
03:01 AM Feature #18490: MakeMakefile.pkg_config should accept multiple options
- Accepted.
Matz.
01/28/2022
-
11:51 PM Bug #18512: MacOS 12.1 Monterey Bug
- [email protected] (Paul Liu) wrote in #note-4:
> gem install ffi --enable-libffi-alloc
> ERROR: While executing g... -
11:39 PM Bug #18512: MacOS 12.1 Monterey Bug
- gem install ffi --enable-libffi-alloc
ERROR: While executing gem ... (Gem::OptionParser::InvalidOption)
invali... -
11:13 PM Feature #18551: Make `Range#reverse_each` to raise an exception if endless
- Eregon (Benoit Daloze) wrote in #note-1:
> OTOH Range operations that work differently for numerics tend to make Ran... -
04:16 PM Feature #18551: Make `Range#reverse_each` to raise an exception if endless
- Yes, this is a useful change. Although wouldn't it be better to prevent `#to_a` instead of only `#reverse_each` ?
... -
01:12 PM Feature #18551: Make `Range#reverse_each` to raise an exception if endless
- I checked the PR, seems a useful change to me.
-
01:11 PM Feature #18551: Make `Range#reverse_each` to raise an exception if endless
- There is no Range#reverse_each currently, only Enumerable#reverse_each, and Enumerable can't know about this.
But ma... -
11:02 PM Feature #18515: Add Range#reverse_each implementation
- In general, I think it would be better to improve `#reverse_each` by using `#pred` (predecessor; the inverse of `#suc...
-
08:04 PM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
- mame (Yusuke Endoh) wrote in #note-7:
> If you are using bundler, try the second one.
>
> ```
> bundle config bu... -
07:51 PM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
- If you are using bundler, try the second one.
```
bundle config build.ffi --enable-libffi-alloc
bundle install
... -
02:02 PM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
- mame (Yusuke Endoh) wrote in #note-5:
> Ah, maybe it is a typo. Could you try `gem install ffi -- --enable-libffi-al... -
07:41 AM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
- Ah, maybe it is a typo. Could you try `gem install ffi -- --enable-libffi-alloc`?
-
04:04 AM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
- mame (Yusuke Endoh) wrote in #note-3:
> Could you try this? https://github.com/ffi/ffi/issues/800#issuecomment-10083... -
02:18 AM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
- Could you try this? https://github.com/ffi/ffi/issues/800#issuecomment-1008308614
-
01:51 AM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
- Attaching my `gem env` output
-
01:47 AM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
- By the way, I have noticed that running
`ruby -e 'require "rbconfig"; pp RbConfig::CONFIG' | grep "cpu"`
gives ... -
01:37 AM Bug #18555 (Closed): Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
- Hi All,
First of all, I am not a programmer or coder so I am having great difficulty solving this puzzle.
Since... - 06:33 PM Revision 1bd033cb (git): * 2022-01-29 [ci skip]
-
06:33 PM Revision 018036c2 (git): Remove assert_equal that will never be run
- `@s1.set_len(3)` will raise so the `assert_equal` will never be ran.
-
03:26 PM Bug #18511: ruby in infinite loop consuming 100% CPU
- > could someone look into the core dump ? Is there any possibility to upload a 55MB file ?
I can't guarantee that ... -
09:47 AM Bug #18511: ruby in infinite loop consuming 100% CPU
- > Depending on your needs, maybe the pure Ruby [json_pure] gem is good enough. If you have performance requirements, ...
- 01:43 PM Revision c26e41c9 (git): * 2022-01-28 [ci skip]
-
01:42 PM Revision e0c5488f (git): Update to ruby/spec@902ab83
-
01:42 PM Revision bb5f7108 (git): Update to ruby/mspec@49adc2f
-
01:40 PM Bug #18518: NoMemoryError + [FATAL] failed to allocate memory for twice 1 << large
- From this log it's clear this issue happens on 3.1.0 macOS:
https://github.com/eregon/rubyspec/runs/4981235909?check... -
01:29 PM Bug #18518: NoMemoryError + [FATAL] failed to allocate memory for twice 1 << large
- Actually I'm not sure this is properly fixed on 3.1.0, it looks brittle, for instance it fails in GitHub Actions on m...
-
09:43 AM Feature #18552 (Closed): Expose `VALUE rb_singleton_class_get(VALUE)` to extensions
- Nevermind, on first read I didn't notice that these were two distinct function. That's good enough I think, no need t...
-
09:33 AM Feature #18554: Move unicode_normalize to a default gem
- Just a few comments, not sure I have thought everything through completely.
One of the motivations for implementin... -
01:03 AM Feature #18554: Move unicode_normalize to a default gem
- Just leaving my :+1: to this idea; not sure how difficult though.
-
06:23 AM Feature #18136: take_while_after
- In today's developer meeting, Matz said the only acceptable name so far was "drop_after" (if he had to choose). He's...
01/27/2022
-
10:42 PM Feature #18552: Expose `VALUE rb_singleton_class_get(VALUE)` to extensions
- > The name rb_singleton_class_get() doesn't seem great though.
Yeah, it could definitely be expose under another n... -
09:15 PM Feature #18552: Expose `VALUE rb_singleton_class_get(VALUE)` to extensions
- A new function seems better than that flag check (which doesn't work on TruffleRuby currently, will always return `fa...
-
05:22 PM Feature #18552: Expose `VALUE rb_singleton_class_get(VALUE)` to extensions
- > Which does seem very clean.
I of course meant "doesn't". Oops.
> In this case, it's exposing yet another oper... -
05:12 PM Feature #18552: Expose `VALUE rb_singleton_class_get(VALUE)` to extensions
- > `!SPECIAL_CONST(obj) && FL_TEST(RBASIC(obj)->klass, FL_SINGLETON);`
> Which does seem very clean.
Beyond cleanl... -
11:57 AM Feature #18552 (Closed): Expose `VALUE rb_singleton_class_get(VALUE)` to extensions
- Right now the only way to check wether an object has a singleton class is to do something akin to:
```c
!SPECIAL_... -
04:49 PM Feature #18554 (Open): Move unicode_normalize to a default gem
- Could we move the rest of unicode_normalize to a default gem?
The recent updates were mostly updating the Unicode ... -
04:22 PM Feature #18339: GVL instrumentation API
- I opened a draft for it: https://github.com/ruby/ruby/pull/5500
@ko1 if you'd like to have a look. -
02:30 PM Bug #18553 (Closed): Memory leak on compiling method call with kwargs
- The following code produces a memory leak:
```ruby
p(foo: 1)
```
It comes from the allocation in `compile.c`:... -
11:54 AM Revision d66e7ec7 (git): [ruby/reline] Add a comment for VK_MENU
- https://github.com/ruby/reline/commit/ee307c2b01
-
11:54 AM Revision f4ee6054 (git): [ruby/reline] The AltGr behaves exactly the same as Ctrl+Alt
- On European keyboards.
https://github.com/ruby/reline/commit/75fe9759a4 -
09:11 AM Bug #18516: Memory leak on aliasing method to itself
- I took the liberty to set the backport field.
I was able to repro on 2.6, 2.7,3.0 and 3.1. However 2.6 is security... -
06:46 AM Bug #18516 (Closed): Memory leak on aliasing method to itself
- Applied in changeset commit:git|e89d80702bd98a8276243a7fcaa2a158b3bfb659.
----------
Fix memory leak at the same nam... -
08:16 AM Revision f511ff3b (git): [ruby/yaml] Add JRuby-specific warning when psych fails
- The error here is confusing for users because JRuby does not use
libyaml and installing it will not help. Instead, JR... -
06:46 AM Revision e89d8070 (git): Fix memory leak at the same named alias [Bug #18516]
- When aliasing a method to the same name method, set a separate bit
flag on that method definition, instead of the ref... -
05:58 AM Feature #18551 (Closed): Make `Range#reverse_each` to raise an exception if endless
- https://github.com/ruby/ruby/pull/5498
Currently, `Range#reverse_each` for an endless range never returns.
```
... -
05:28 AM Revision 7ff1bf31 (git): An alias can suppress method redefinition warning
-
05:00 AM Bug #18517 (Closed): 0 << (2**40) is NoMemoryError but 0 << (2**80) is 0
- Applied in changeset commit:git|6a6227e0168b059c3ed34c9f0ace2e5dc2364221.
----------
Shifting zero always results in... -
05:00 AM Revision 6a6227e0 (git): Shifting zero always results in zero [Bug #18517]
-
04:51 AM Bug #18514: ruby 2.6.9's Date#jisx0301 does not support Reiwa
- I released date-2.0.3 with Reiwa support.
@kouji Can you confirm with [date-2.0.3](https://rubygems.org/gems/date/... - 03:33 AM Revision 99d02cae (git): [ruby/logger] Fix log rotation inter-process lock failed.
- Issue only occurs in JRuby 9.3.0.0 and Windows and the full
console output is:
log rotation inter-process lock faile... -
01:52 AM Feature #18513: Hide patchlevel from `ruby -v`
- https://github.com/ruby/ruby/pull/5496
01/26/2022
-
08:56 PM Feature #13110: Byte-based operations for String
- Seems reasonable to me.
-
01:46 AM Feature #13110: Byte-based operations for String
- Are there any objections to introduce only byteindex and byteoffset?
-
08:28 PM Revision d3d888b9 (git): [lldb] Handle MacOS 64Kb heap pages in the lldb helpers
-
07:42 PM Bug #18511: ruby in infinite loop consuming 100% CPU
- @shenningz
> Is there any way to replace the yajl-ruby C extension with another json extension?
Depending on y... -
07:07 PM Feature #18408: Allow pattern match to set instance variables
- Eregon (Benoit Daloze) wrote in #note-17:
> In practice it should rarely matter because if a clause isn't matched th... -
05:02 PM Revision 1a180b7e (git): Streamline cached attr reader / writer indexes
- This commit removes the need to increment and decrement the indexes
used by vm_cc_attr_index getters and setters. It ... -
04:29 PM Bug #18389 (Closed): `binding.irb` can fail in some classes that implement `context` and `print` methods.
- Applied in changeset commit:git|b6b2e489f10bfc771beae8fa0ee5237613acd18f.
----------
[ruby/irb] Changed to call Kern... - 04:29 PM Revision 3ce97a18 (git): * 2022-01-27 [ci skip]
-
04:28 PM Revision b6b2e489 (git): [ruby/irb] Changed to call Kernel.print
- If you call `binding.irb` on a class defined `#print`, it will crash, so call `Kernel.print`.
Fix [Bug #18389] `bind... -
04:03 PM Bug #18517: 0 << (2**40) is NoMemoryError but 0 << (2**80) is 0
- https://github.com/ruby/ruby/pull/5494
-
03:21 PM Bug #18517 (Closed): 0 << (2**40) is NoMemoryError but 0 << (2**80) is 0
- I've been looking at Integer#{<<,>>} with RHS bignum and long and there are several issues.
This seems a clear bug... -
03:44 PM Bug #18516: Memory leak on aliasing method to itself
- https://github.com/ruby/ruby/pull/5493
-
03:20 PM Bug #18516: Memory leak on aliasing method to itself
- ibylich (Ilya Bylich) wrote in #note-1:
> but if we stop increment `alias_count` on `alias foo foo` the warning appe... -
02:30 PM Bug #18516: Memory leak on aliasing method to itself
- As @nobu mentioned the following code gives no warnings (in verbose mode):
```ruby
class A
def foo; end
ali... -
01:22 PM Bug #18516 (Closed): Memory leak on aliasing method to itself
- The following code produces a memory leak:
```ruby
class A
1.upto(Float::INFINITY) do |i|
define_method(:... -
03:30 PM Bug #18518 (Rejected): NoMemoryError + [FATAL] failed to allocate memory for twice 1 << large
- Repro:
```ruby
exp = 2**40 # also fails with bignum e.g. 2**64
def exc
begin
yield
rescue NoMemoryErr... -
02:45 PM Revision e7141630 (git): Fix typo in assertion in gc.c
-
09:23 AM Revision bffd6cbd (git): Check if `execv` is available for ruby/missing.h
- As MinGW has the declaration, the `dllimport` attribute difference
is warned when compiling missing/*.c without inclu... -
07:52 AM Bug #18501: [BUG] try to mark T_NONE object in RubyVM::InstructionSequence. load_from_binary
- Thanks @tenderlove, your explanation makes sense to me.
From your description we should be able to reproduce with... -
06:56 AM Revision 4010cbfe (git): Use the prefixed pkg-config command
-
05:57 AM Feature #18515 (Closed): Add Range#reverse_each implementation
- PR is ~~https://github.com/ruby/ruby/pull/5489~~ https://github.com/ruby/ruby/pull/8525
Current `Range#reverse_eac... -
05:34 AM Revision 16e75855 (git): Unpoison the cached object in the exact size
-
04:09 AM Revision c925d3b6 (git): [rubygems/rubygems] Fix `force_ruby_platform` ignored when lockfile includes the current specific platform
- https://github.com/rubygems/rubygems/commit/9ca371adf8
-
03:07 AM Bug #18514: ruby 2.6.9's Date#jisx0301 does not support Reiwa
- I prepared to fix this regression.
https://github.com/ruby/date/pull/47
I will release date-2.0.3 for Ruby 2.6 ... -
02:11 AM Bug #18514 (Closed): ruby 2.6.9's Date#jisx0301 does not support Reiwa
-
01:45 AM Bug #18514 (Closed): ruby 2.6.9's Date#jisx0301 does not support Reiwa
- In ruby 2.6.9 (ruby 2.6.9p207 (2021-11-24 revision 67954) [x86_64-darwin20]).
$ ruby -rdate -e 'p Date.new(2019, 5, ... -
01:52 AM Feature #18513: Hide patchlevel from `ruby -v`
- :+1:, patch levels no longer serves us very well.
-
01:05 AM Revision cc8064ba (git): Do not need to print to stderr
-
12:56 AM Revision e953d686 (git): refactoring btest output
- don't duplicate the message, but prepare `out` var to choose
stdout/err. -
12:56 AM Revision cac6fe90 (git): add `--stderr-on-failure` option to test-all
- Now all failure messages are printed to stdout. This option
makes all failure messages printed into stderr.
Also available in: Atom