Activity
From 04/21/2023 to 04/27/2023
04/27/2023
-
09:49 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
- The difference between a dynamically defined `inspect` which can do anything vs `Module#name` which is cached is significant, including but not limited to execution time, exception handling and memory allocations. As already linked, http...
-
03:36 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
- Dan0042 (Daniel DeLorme) wrote in #note-35:
> But let's say it really is too slow to do a `rb_funcall` for each nested namespace;
Module#name is cached (and returns a frozen string) and should likely remain cached.
But you are not... -
01:27 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
- ioquatix (Samuel Williams) wrote in #note-33:
> @Dan0042 unfortunately your proposal doesn't really work for nested classes without major performance issues.
I sort of understand what you mean, but I think it's premature to dismiss a... -
12:35 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
- ioquatix (Samuel Williams) wrote in #note-33:
> doesn't really work for nested classes
Why not? Can you elaborate?
I think @Dan0042's idea is much less invasive than "breaking" Class#name and much more likely to be acceptable.
Es... -
07:00 AM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
- @Dan0042 unfortunately your proposal doesn't really work for nested classes without major performance issues.
-
01:09 AM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
- I also really want the ability to give better names to dynamically created classes. In particular for something that is created once via a registry, like `x = MyTemplate["path/to/file"]`, having `x.new.bad` produce an error like "undefin...
-
09:27 PM Revision f2c36773 (git): Introduce --enable-rjit=disasm
-
08:28 PM Feature #8707: Hash#reverse_each
- > Do we really need it? What is use-cases?
When you have an ordered collection it seems self evident that you may need to iterate in reverse. This would for example back a performant `last(n = 1)` method (#12165)
Would you demand to kn... -
08:16 PM Feature #12165: Hash#first, Hash#last
- Hash should absolutely have a performant last method that doesn't build an intermediate array (`hash.(values|keys).last`). This is connected to having a performant reverse_each (#8707)
-
08:04 PM Feature #19617: Add Method#binding and UnboundMethod#binding, similar to Proc#binding
- Another use-case is simply to match `Proc#binding`. I originally assumed that Method#binding and UnboundMethod#binding already existed. And when I asked several other very knowledgable rubyist's if they knew how to access the enclosed ...
-
06:52 PM Feature #19617: Add Method#binding and UnboundMethod#binding, similar to Proc#binding
- Perhaps I shouldn't have given the Regexp use-case, since there are many other approaches we can (and should) use to audit our regexps. Although that was the immediate trigger for this ticket, it wasn't the first or the most common reas...
-
06:44 PM Feature #19617: Add Method#binding and UnboundMethod#binding, similar to Proc#binding
Eregon (Benoit Daloze) wrote in #note-2:
> Maybe an easier/better/more portable way to do that would be to have a flag to check that all Regexp are linear when they are executed, e.g., by the test suite?
> ...
...
> It could also be...-
12:08 PM Feature #19617: Add Method#binding and UnboundMethod#binding, similar to Proc#binding
- Ah BTW one concern I have with https://github.com/ruby/net-imap/blob/92db350b24c388d2a2104f36cac9caa49a1044df/test/net/imap/regexp_collector.rb is it could only work CRuby due to using RubyVM::InstructionSequence.
That seems problematic... -
04:44 PM Feature #19620 (Open): allow non-module rescue filters that implement the === opertor
- ```ruby
module FooErrorFilter
def self.===(e)
e.message =~ /foo/
end
end
def foo_error_filter
FooErrorFilter
end
begin
raise 'foo error'
rescue foo_error_filter => e
p e.message
end
```
Filter matching ... -
03:42 PM Revision 5cd4f35d (git): [ruby/irb] Simplify Locale#load
- (https://github.com/ruby/irb/pull/571)
* Simplify Locale#load
Instead of loading file content with `MagicFile` and then evaluting it,
we can just use `Kernel.load` to load the file.
* Remove unused optional argument
* Remove unused L... -
02:15 PM Bug #19619: Numbered parameters don't work with method definition with parameters
- Since this doesn't work too, endless and/or singleton method definition doesn't seem to matter.
```ruby
1.times {p _1; def bar; end} #=> 0
1.times {p _1; def bar x; end} #=> nil
```
-
01:16 PM Revision fef8cca8 (git): Merge T_OBJECT case in rb_ivar_delete function
-
11:55 AM Bug #19606 (Closed): addr2line.c broken on Fedora 38
-
11:07 AM Revision a58cae77 (git): [ruby/irb] Stop using MagicFile for printing help messages
- (https://github.com/ruby/irb/pull/573)
`MagicFile` was introduced around v0.9.6, which was like 14~15 years ago.
It was needed because back then we needed to read a file's magic comment
to determine the encoding of it, and read it with ... -
05:52 AM Bug #19611 (Closed): Ruby hangs up with `while true && true`
- Applied in changeset commit:git|c7bacf84f04201787d26e4a4be8aca61ff1e454b.
----------
[Bug #19611] Remove never-reachable branch in logical expression -
03:26 AM Bug #19611: Ruby hangs up with `while true && true`
- Mine:
https://github.com/ruby/ruby/pull/7753
https://github.com/ruby/ruby/pull/7754
kjtsanaktsidis (KJ Tsanaktsidis) wrote in #note-2:
> This code isn't optimal though. A second pass of the peephole optimizer would reduce this do... -
05:52 AM Revision c7bacf84 (git): [Bug #19611] Remove never-reachable branch in logical expression
-
03:32 AM Revision b0cb54a3 (git): Constify `type` and `typed_flag` in `RTypedData`
- These must not be changed once initialized.
- 02:25 AM Revision dd406c5a (git): Skip DW_FORM_GNU_* forms in addr2line.c
- DW_FORM_GNU_ref_alt and DW_FORM_GNU_strp_alt refer to data stored in an
external ELF file specified by a .gnu_debugaltlink attribute. These
attributes are generated by dwz(1), which extracts DWARF data common
amongst several files and st... -
01:19 AM Revision 417eb83b (git): RJIT: Tweak the default call threshold
- This number works better on yjit-bench (ruby-lsp).
-
01:12 AM Revision cbfb5fbb (git): RJIT: Fix unspecified_bits with locals
04/26/2023
-
08:53 PM Feature #19617: Add Method#binding and UnboundMethod#binding, similar to Proc#binding
- Or iterate over all regexps through `ObjectSpace.each_object(Regexp)`? But I suppose it doesn't allow to only look at a specific namespace.
-
05:07 PM Feature #19617: Add Method#binding and UnboundMethod#binding, similar to Proc#binding
- > This would be a useful tool when debugging from the console. As another example, it might be used to scan a code base for dynamically generated regexps which are only reachable via the enclosed local variables and test that they are al...
-
05:02 PM Feature #19617: Add Method#binding and UnboundMethod#binding, similar to Proc#binding
- nevans (Nicholas Evans) wrote:
> For methods defined using the `def` keyword, the binding's local variables might be empty or might be all of the names in the method's locals table, with all values set to `nil`.
Rather, the `binding`... -
07:02 PM Bug #19592 (Closed): Unable to statically link a single extension in 3.2.x and >=3.1.4
- Applied in changeset commit:git|adaff1fc496b6f01fb1c4c812b9b4082618e2f79.
----------
[Bug #19592] Fix ext/Setup support
After [1], using ext/Setup to link some, but not all extensions failed
during linking. I did not know about this op... -
07:02 PM Revision 12070005 (git): Add a CI check for ext/Setup
-
07:02 PM Revision adaff1fc (git): [Bug #19592] Fix ext/Setup support
- After [1], using ext/Setup to link some, but not all extensions failed
during linking. I did not know about this option, and had assumed that
only `--with-static-linked-ext` builds can include statically linked
extensions.
Include the s... -
05:37 PM Bug #19619: Numbered parameters don't work with method definition with parameters
- The result of the last code:
```
undefined method `bar' for #<Object:0x0000000108e20438> (NoMethodError)
``` -
05:32 PM Bug #19619 (Closed): Numbered parameters don't work with method definition with parameters
- This works:
```ruby
class Foo
def bar(baz) = 'foo'
end
p Foo.new.bar('baz')
```
This also works:
```ruby
o = Object.new
o.tap { |obj| def obj.bar(baz) = 'foo' }
p o.bar('baz')
```
Even this works:
```ruby
o =... -
04:52 PM Revision 92466e44 (git): [ruby/irb] Use a more tolerant way to check Locale#find's return
- path
(https://github.com/ruby/irb/pull/572)
https://github.com/ruby/irb/commit/0b648adf38 -
04:39 PM Revision 3340a246 (git): [ruby/irb] Add tests for Locale#find and Locale#load
- (https://github.com/ruby/irb/pull/570)
https://github.com/ruby/irb/commit/710d5b1af5 -
03:06 PM Revision fe0b23b4 (git): [ruby/irb] Remove encoding_aliases.rb
- (https://github.com/ruby/irb/pull/569)
We don't have to load another file to define the legacy encoding aliases
map because there's only one definition of it. We can define it in
locale.rb directly. -
02:54 PM Bug #19427 (Closed): Marshal.load(source, freeze: true) doesn't freeze in some cases
- Applied in changeset commit:git|6339cb70c3bcc54696e98c303dd4b26ed3d57afd.
----------
marshal.c: shallow freeze user objects
When `freeze: true` argument is passed.
[Bug #19427] -
02:54 PM Revision 6339cb70 (git): marshal.c: shallow freeze user objects
- When `freeze: true` argument is passed.
[Bug #19427] -
02:21 PM Revision 78be6696 (git): Wrap `undef_method :a` with `ensure`
-
02:21 PM Revision 96a2e271 (git): `klass == (VALUE)NULL` --> `!klass`
- Co-authored-by: Rafael Mendonça França <[email protected]>
-
02:21 PM Revision 5dd46a34 (git): Test: `defined?(super)` in `BasicObject` returns `nil`
- Ensure it returns `nil` instead of segmentation faulting
-
02:21 PM Revision 1883dc5b (git): defined zsuper: Handle NULL superclass for `BasicObject`
- Prior to this commit, a segmentation fault occurred in `vm_defined`'s
`zsuper` implementation after NULL is returned as `BasicObject`'s superclass.
This fix returns false from `vm_defined` if the superclass is NULL.
For example, the fol... -
10:15 AM Misc #19599: DevMeeting-2023-05-10 @ Matsumoto, Japan
- * [Feature #18885] End of boot advisory API (byroot)
* I'm planning to merge the first optimizations for 3.3
* Are we still good with the `Process.warmup` name? Or would we rather expose something on `GC`?
* [Feature #19236] Allow to... -
08:59 AM Misc #19599: DevMeeting-2023-05-10 @ Matsumoto, Japan
- > [Misc #19608] Being a co-maintainer of the ruby/openssl for the OpenSSL FIPS mode
> ...
Thanks for adding the agenda! Note I opened the issue ticket. And I plan to attend this meeting to explain the topic's context in a later timing o... -
08:58 AM Revision ffce3117 (git): add new debug log line on `rb_ractor_terminate_all`
- to leave the trace.
-
08:57 AM Revision 06b68db7 (git): show a separator even if `ec` is NULL.
- `RUBY_DEBUG_LOG()` doesn't show anything if `GET_EC()` returns NULL,
but print a separator "\t" to make consistent TSV. -
08:57 AM Revision 457824e2 (git): `RUBY_DEBUG_LOG_PID` for `RUBY_DEBUG_LOG()`
- `RUBY_DEBUG_LOG=stderr RUBY_DEBUG_LOG_PID=1 ruby ...` will prints
debug logs with PID. -
08:22 AM Revision b90d87bf (git): We need to checkout before BundledGem.dummy_gemspec checking.
- When newer version released rather than gems/bundled_gems defined,
`spec.version == Gem::Version.new(v)` always abort like:
```
Unexpected versions between bundled_gems:3.0.4 and gemspec:3.1.0
``` -
07:31 AM Bug #19606: addr2line.c broken on Fedora 38
- This is also causing test failures on my machine, because there are tests on the output of the bug reporter - e.g.
```
[17591/23407] TestBugReporter#test_bug_reporter_add = 0.15 s
4) Failure:
TestBugReporter#test_bug_reporter_a... -
07:28 AM Bug #19611: Ruby hangs up with `while true && true`
- After my patch, the instruction sequence for this method is:
```
== disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(1,23)>
0000 jump 4 ( 1)[Li]
0002 putnil
0003 pop
0004 jump ... -
07:26 AM Bug #19611: Ruby hangs up with `while true && true`
- Hm, interesting - it falls into an infinite loop in `iseq_peephole_optimize`, because it's doing useless jump elimination on labels that recursively point to each other.
At the beginning of `iseq_peephole_optimize`, the instruction se... -
04:13 AM Revision 299d17a2 (git): [ruby/irb] Fix Locale's encoding lookup for Japanese encodings
- (https://github.com/ruby/irb/pull/568)
In https://github.com/ruby/irb/commit/3ee79e89adb8e21b63d796e53bcc86281685076d,
`encoding_aliases.rb` was introduced to return the correct encoding object for
`ujis` and `euc` encodings.
However, ... -
04:13 AM Revision 5154d6be (git): Revert "Temporary skipped failing assertions"
- This reverts commit e7cdce83e8c8797c481ccb54c260c0db1e1afa7c.
- 03:46 AM Revision 0c30425e (git): Bump ruby/setup-ruby from 1.146.0 to 1.147.0
- Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.146.0 to 1.147.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Commits](https://github.com/ruby/setup-ruby/compare/55283cc23133118229fd3f97f9336ee23a... -
01:40 AM Feature #19588: Allow Comparable#clamp(min, max) to accept nil as a specification
- The Japanese manual is updated.
https://docs.ruby-lang.org/ja/latest/class/Comparable.html#I_CLAMP
https://github.com/rurema/doctree/pull/2801
04/25/2023
- 11:21 PM Revision bf3ed7e8 (git): [ruby/pp] Remove patch added for Ruby 2.6/JRuby 9.3
- https://github.com/ruby/pp/commit/09dae96129
- 11:21 PM Revision c9b61ec5 (git): [ruby/pp] Skip certain tests for JRuby
- https://github.com/ruby/pp/commit/f7bde31ca9
-
11:21 PM Misc #19599: DevMeeting-2023-05-10 @ Matsumoto, Japan
- * [Feature #19572] Add a new TracePoint event for rescued exceptions (st0012)
* I want to add a new `rescue` event type to `TracePoint`.
* When the event is triggered, `TracePoint#rescued_exception` can be used to access the exc... -
11:56 AM Misc #19599: DevMeeting-2023-05-10 @ Matsumoto, Japan
- * [Bug #19616] Remove ext/readline from Ruby 3.3
* Any opinion about this?
* [Misc #19608] Being a co-maintainer of the ruby/openssl for the OpenSSL FIPS mode
* I'm +1 to this proposal. Does anyone have objection? -
07:05 PM Feature #19617 (Open): Add Method#binding and UnboundMethod#binding, similar to Proc#binding
- When a method is defined dynamically with `define_method`, it would be useful to obtain access to the defining block's binding and the local variables it has captured, based on the defining block's binding. For methods defined using the...
-
05:19 PM Feature #19616: Remove ext/readline from Ruby 3.3
- Oh this is great, I missed it.
+1 from me. -
12:59 PM Feature #19616: Remove ext/readline from Ruby 3.3
- >Would it make sense if we had a readline.rb which is just require "reline"; Readline = Reline?
We already have it: https://github.com/ruby/readline/blob/master/lib/readline.rb -
12:38 PM Feature #19616: Remove ext/readline from Ruby 3.3
- I suspect a fair amount of code still uses `Readline.readline`.
Would it make sense if we had a `readline.rb` which is just `require "reline"; Readline = Reline`?
Then also we would no longer need to maintain https://github.com/ruby/re... -
08:01 AM Feature #19616 (Closed): Remove ext/readline from Ruby 3.3
- We still bundled ext/readline that is GNU Readline wrapper. But we already have reline written by pure Ruby. It's time to remove it from Ruby releases.
Motivation:
* We can skip to install readline or libedit for testing ruby langu... -
03:27 PM Revision 82995d46 (git): Update to ruby/spec@7f6ca5b
-
03:10 PM Feature #19559: Introduce `Symbol#+@` and `Symbol#-@`, and eventually replace boolean arguments with symbols
- @matz 真剣な提案に対して、エイプリルフールネタである可能性を言い出し、貶めているという点で攻撃的です。百歩譲って、エイプリルフールネタであるという可能性がこの人の脳裏に浮かび、どちらとして対処したら良いのか迷ったとしましょう。もし仮にエイプリルフールネタであったとして、それを真面目な提案としてコメントを付けたとしても痛みはありません。逆に、今回のように真面目な投稿に対してエイプリルフールネタであるかもしれないことを言及するのは、極めて失礼なことです。さらに両方の可...
-
04:52 AM Feature #19559: Introduce `Symbol#+@` and `Symbol#-@`, and eventually replace boolean arguments with symbols
- I don't see any problem in Austin's comment (#note-2) neither. Probably there's some misunderstanding (lost in translation?).
If @sawa has any further comment or complaint, contact us in Japanese.
Matz.
-
03:09 PM Revision e3d05001 (git): Workaround CRuby adding x86_64-linux-fake in $LOADED_FEATURES
-
03:09 PM Revision d562663e (git): Update to ruby/spec@7f69c86
-
03:09 PM Revision d3da01cd (git): Update to ruby/mspec@1d8cf64
-
03:06 PM Bug #4040 (Closed): SystemStackError with Hash[*a] for Large _a_
- Applied in changeset commit:git|99c6d19e502b5fdadbd367ae4b6bb3fab850fddc.
----------
Generalize cfunc large array splat fix to fix many additional cases raising SystemStackError
Originally, when 2e7bceb34ea858649e1f975a934ce1894d1f06a6... -
03:06 PM Revision a82a24ed (git): Optimize method_missing calls
- CALLER_ARG_SPLAT is not necessary for method_missing. We just need
to unshift the method name into the arguments.
This optimizes all method_missing calls:
* mm(recv) ~9%
* mm(recv, *args) ~215% for args.length == 200
* mm(recv, *args,... -
03:06 PM Revision 583e9d24 (git): Optimize symproc calls
- Similar to the bmethod/send optimization, this avoids using
CALLER_ARG_SPLAT if not necessary. As long as the receiver argument
can be shifted off, other arguments are passed through as-is.
This optimizes the following types of calls:
... -
03:06 PM Revision 9b4bf02a (git): Optimize send calls
- Similar to the bmethod optimization, this avoids using
CALLER_ARG_SPLAT if not necessary. As long as the method argument
can be shifted off, other arguments are passed through as-is.
This optimizes the following types of calls:
* send... -
03:06 PM Revision af2da641 (git): Optimize cfunc calls for f(*a) and f(*a, **kw) if kw is empty
- This optimizes the following calls:
* ~10-15% for f(*a) when a does not end with a flagged keywords hash
* ~10-15% for f(*a) when a ends with an empty flagged keywords hash
* ~35-40% for f(*a, **kw) if kw is empty
This still copies the... -
03:06 PM Revision f6254f77 (git): Speed up calling iseq bmethods
- Currently, bmethod arguments are copied from the VM stack to the
C stack in vm_call_bmethod, then copied from the C stack to the VM
stack later in invoke_iseq_block_from_c. This is inefficient.
This adds vm_call_iseq_bmethod and vm_cal... -
03:06 PM Revision 99c6d19e (git): Generalize cfunc large array splat fix to fix many additional cases raising SystemStackError
- Originally, when 2e7bceb34ea858649e1f975a934ce1894d1f06a6 fixed cfuncs to no
longer use the VM stack for large array splats, it was thought to have fully
fixed Bug #4040, since the issue was fixed for methods defined in Ruby (iseqs)
back... -
02:52 PM Bug #19427: Marshal.load(source, freeze: true) doesn't freeze in some cases
- Revert https://github.com/ruby/spec/commit/036134c0c6af8e01ae150db5e2ac6c5d70364a10 once this is fixed
-
02:44 PM Bug #19427: Marshal.load(source, freeze: true) doesn't freeze in some cases
- Shallow freezing of TYPE_USERDEF and TYPE_USRMARSHAL is not done:
```
2)
Marshal.load when called with freeze: true returns frozen object having #_dump method FAILED
Expected #<UserDefined:0x00007f241ebb8e58 @a=:stuff, @b=:stuff>.frozen?... -
09:05 AM Misc #19613: Add version information to all function documentation
- FYI, `File.exist?` has been documented before 2.0.
https://docs.ruby-lang.org/en/2.0.0/File.html#method-c-exist-3F
-
06:05 AM Revision e7cdce83 (git): Temporary skipped failing assertions
-
05:46 AM Revision 758063e0 (git): Removed commented-out code
-
05:43 AM Revision 3d5febf6 (git): [ruby/syntax_suggest] Clean up output
- I previously left a comment stating I didn't know why a certain method existed. In investigating the code in `CaptureCodeContext#capture_before_after_kws` I found that it was added as to give a slightly less noisy output.
The docs for A... -
05:43 AM Revision f77dc6fb (git): [ruby/syntax_suggest] standardrb --fix-unsafely spec/spec_helper.rb
- https://github.com/ruby/syntax_suggest/commit/6e266b3b2b
-
05:41 AM Revision 9ccf0a06 (git): [ruby/irb] Add tests for Locale class
- (https://github.com/ruby/irb/pull/566)
https://github.com/ruby/irb/commit/df32e024be -
04:35 AM Bug #19615 (Feedback): ruby psych.so always dynamic links libyaml.so, breaking build when libyaml.so is not in host lib paths
- I can't get well what you are trying exactly.
In the first paragraph:
> When you specify a different path for libraries during build, psych config does work as it tests creating conftest executables, with the linker pointing to t... - 01:58 AM Revision ed887cbb (git): [ruby/set] Update lib/set.rb
- https://github.com/ruby/set/commit/bc59f85f2f
-
01:58 AM Revision 15796ae1 (git): [ruby/set] Expose Set::VERSION
- https://github.com/ruby/set/commit/d39b33f463
- 01:55 AM Revision c301ba0a (git): [ruby/abbrev] Update lib/abbrev.rb
- https://github.com/ruby/abbrev/commit/6fa790eac1
-
01:55 AM Revision 8b9b075b (git): [ruby/abbrev] Expose Abbrev::VERSION
- https://github.com/ruby/abbrev/commit/255ca681c3
- 01:51 AM Revision 85ed226c (git): [ruby/syslog] Improve the version extraction
- https://github.com/ruby/syslog/commit/34da65a002
- 01:51 AM Revision a66c41d6 (git): [ruby/syslog] Raise required_ruby_version
- https://github.com/ruby/syslog/commit/5289373016
-
01:51 AM Revision 117fc8e7 (git): [ruby/syslog] Expose Syslog::VERSION
- https://github.com/ruby/syslog/commit/ff5d72fcb9
04/24/2023
- 10:19 PM Revision 0cc5c595 (git): [rubygems/rubygems] Bump rb-sys
- Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.72 to 0.9.74.
- [Release notes](https://github.com/oxidize-rb/rb-sys/releases)
- [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.72...v0.9.74)
---
updated-depende... -
07:54 PM Revision 0bf10dfd (git): Avoid linking capstone by default
- Workaround for https://github.com/ruby/setup-ruby/pull/501#issuecomment-1520722486
-
07:51 PM Bug #19615 (Feedback): ruby psych.so always dynamic links libyaml.so, breaking build when libyaml.so is not in host lib paths
- Hello,
Before 3.2, libyaml was build statically into psych.so while now it will try to link the one provided during build. When you specify a different path for libraries during build, psych config does work as it tests creating conft... -
07:20 PM Revision f492e3b4 (git): YJIT: Use general definedivar at the end of chains (#7756)
-
07:20 PM Revision f84d94b8 (git): YJIT: Show definedivar exit reasons (#7755)
-
05:41 PM Feature #19559: Introduce `Symbol#+@` and `Symbol#-@`, and eventually replace boolean arguments with symbols
- sawa (Tsuyoshi Sawada) wrote in #note-10:
> Dear moderators
> ...
I object. I would like to know why I’m being asked to remove something that is not offensive or objectionable.
This is completely inappropriate for someone who has be... -
05:23 PM Feature #19559: Introduce `Symbol#+@` and `Symbol#-@`, and eventually replace boolean arguments with symbols
- Dear moderators
Please ban user austin (Austin Ziegler). -
03:42 PM Feature #19559: Introduce `Symbol#+@` and `Symbol#-@`, and eventually replace boolean arguments with symbols
- sawa (Tsuyoshi Sawada) wrote in #note-8:
> @austin (Austin Ziegler) I see that you have logged in. I strongly urge you to remove that sentence or your entire comment.
No. I’m not sure what you find objectionable in my (seriously) not... -
05:55 AM Feature #19559: Introduce `Symbol#+@` and `Symbol#-@`, and eventually replace boolean arguments with symbols
- @austin (Austin Ziegler) I see that you have logged in. I strongly urge you to remove that sentence or your entire comment.
-
04:31 PM Revision 8a132358 (git): [ruby/reline] Revert #335 (Trap TSTP to handle C-z)
- (https://github.com/ruby/reline/pull/535)
This PR was an effort to address #321 (ed_quoted_insert doesn't work
properly) but per the reporter it did not work correctly.
Moreover, it introduced a major regression: Shell job control stop... -
02:37 PM Bug #19416 (Closed): Inconsistent behaviour for Struct.new without any member_names
- Applied in changeset commit:git|f8e7048348d022814736d0a7e49f2f2494db6a2f.
----------
Allow anonymous memberless Struct
Previously, named memberless Structs were allowed, but anonymous
memberless Structs were not.
Fixes [Bug #19416] -
02:37 PM Revision f8e70483 (git): Allow anonymous memberless Struct
- Previously, named memberless Structs were allowed, but anonymous
memberless Structs were not.
Fixes [Bug #19416] -
02:10 PM Revision 73fc8119 (git): [ruby/irb] Simplify the help command's implementation
- (https://github.com/ruby/irb/pull/564)
The current method-redefining approach brings little benefit, makes it
harder to understand the code, and causes warnings like:
> warning: method redefined; discarding old execute
This patch simp... -
02:05 PM Revision 805899dd (git): [ruby/irb] Filter out top-level methods when using `ls
- <Class/Module>`
(https://github.com/ruby/irb/pull/562)
Instead of always printing methods inherited from Class or Module, IRB by
default should filter them out unless `<Class/Module>` is specified to be
either of those. -
06:36 AM Misc #19613: Add version information to all function documentation
- @fulldecent Your tone is unfriendly. Please be more respectful for all developers.
-
02:09 AM Misc #19613: Add version information to all function documentation
- jeremyevans0 (Jeremy Evans) wrote in #note-4:
> Ruby solves this problem by generating separate documentation for each version: https://docs.ruby-lang.org/en/ . If you have questions regarding how methods work for the Ruby version you ... -
05:49 AM Bug #19614: Adopt Semantic Versioning
- > Ruby was created in 1995. That's [...] before most people on Earth today were born.
An issue including age harassment and hostility like this should be banned. It should have been immediately closed/deleted without any discussion what... -
02:59 AM Bug #19614: Adopt Semantic Versioning
- fulldecent (William Entriken) wrote in #note-2:
> I understand that this was discussed and decided in 2013.
> ...
It was yesterday, in Ruby terms, and it still makes sense for the Ruby community. As long as I have to support Ruby 2.7 (... -
02:03 AM Bug #19614 (Rejected): Adopt Semantic Versioning
- We don't use Semantic Versioning.
-
01:54 AM Bug #19614: Adopt Semantic Versioning
- I understand that this was discussed and decided in 2013.
That decision might have made sense in 2013 for the Ruby community.
But that was forever ago.
Maybe back then there was some doubt that everybody would be using SemVer. T... -
01:41 AM Bug #19614: Adopt Semantic Versioning
- This has been discussed and resolved before. See [15456#2](https://bugs.ruby-lang.org/issues/15456#note-2) for a note from one of the release maintainers specifically saying that Ruby is mostly a rolling release.
There are flaws with ... -
12:56 AM Bug #19614 (Rejected): Adopt Semantic Versioning
- Ruby was created in 1995. That's back when the UNIX timestamp was only 9 digits, before Nintendo 64, and before most people on Earth today were born.
Since then, basically everybody else in the software industry has adopted Semantic V... -
04:28 AM Bug #19455 (Closed): Ruby 3.2: wrong Regexp encoding with non-ASCII comments
- Applied in changeset commit:git|a8ba1ddd78544b4bda749051d44f7b2a8a0ec5ff.
----------
Use UTF-8 encoding for literal extended regexps with UTF-8 characters in comments
Fixes [Bug #19455] - 03:48 AM Revision 886986b3 (git): Bump github/codeql-action from 2.2.11 to 2.3.0
- Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.2.11 to 2.3.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)... -
02:27 AM Revision a8ba1ddd (git): Use UTF-8 encoding for literal extended regexps with UTF-8 characters in comments
- Fixes [Bug #19455]
04/23/2023
-
10:10 PM Misc #19613 (Closed): Add version information to all function documentation
-
05:02 PM Misc #19613: Add version information to all function documentation
- Ruby solves this problem by generating separate documentation for each version: https://docs.ruby-lang.org/en/ . If you have questions regarding how methods work for the Ruby version you are using, you should look at the appropriate doc...
-
02:41 PM Misc #19613: Add version information to all function documentation
- fix
-
02:27 PM Misc #19613: Add version information to all function documentation
- still editin issue... hold on a sec
-
02:27 PM Misc #19613 (Closed): Add version information to all function documentation
- Ruby does not properly support semantic versioning. [1]
Therefore, for example, the function File#exist? should specify if this function existed since Ruby 2.0.0, Ruby 3.0.0, Ruby 3.2.0 and if, maybe, Ruby 2.9.4.3.az doesn't support i... - 06:41 PM Revision ec211ad5 (git): [ruby/irb] fix typo in tracer (https://github.com/ruby/irb/pull/565)
- https://github.com/ruby/irb/commit/2f567f3d3e
-
04:26 AM Bug #19612 (Feedback): Embed error
- I suspect the `CC` is different from the compiler used to build the ruby.
-
02:18 AM Bug #19612 (Feedback): Embed error
- Makefile:
```makefile
INC_DIRS=$(HOME)/.rvm/rubies/ruby-3.2.0/include/ruby/
LIB=$(HOME)/.rvm/rubies/ruby-3.2.0/lib/
# Thanks to Job Vranish (https://spin.atomicobject.com/2016/08/26/makefile-c-projects/)
TARGET_EXEC := dotiw
BUI... -
03:01 AM Revision dafbaabc (git): Check the precision of `getrusage` at runtime
04/22/2023
-
12:21 PM Revision c5529aa5 (git): Fix a guard of `Process.times`
- `GETRUSAGE_BASED_CLOCK_PROCESS_CPUTIME_ID` clock uses `getrusage`
always if available as the name states. That is if it is implemented
`getrusage` is available, regardless microseconds in its results. -
12:21 PM Revision 4cff7a92 (git): Fix an example of `Process.times`
- Prior to commit 5806c54447439f2ba22892e4045e78dd80f96f0c, it was "at
least one result with precision beyond milliseconds (with none-zero
microseconds) should exist"; after this commit, "at least one result
should have zero microseconds".... -
06:58 AM Revision 1702b0f4 (git): Remove unused opt_call_c_function insn (#7750)
04/21/2023
-
03:39 PM Feature #19607: Introduce `Hash#symbolize_keys`.
- nobu (Nobuyoshi Nakada) wrote in #note-4:
> I have never needed such operation.
> ...
dealing with data from uncontrolled sources, supporting multiple sources of config data (e.g. YML, JSON, code etc.), and making a less picky interfac... -
01:24 PM Revision de5cd5a6 (git): Use shorter path as `SPEC_TEMP_DIR`
- The temporary directory under the build directory may be too long as a
UNIX socket path. On macOS, the default `TMPDIR` per user is also
very long. -
01:17 PM Revision e956052f (git): Skip when unix socket path is too long
- Eventually the path directly under "/tmp" is complained by `rm_r` in
spec/mspec/lib/mspec/helpers/fs.rb. -
12:50 PM Misc #19608: Being a co-maintainer of the ruby/openssl for the OpenSSL FIPS mode
- @hsbt thanks for your help!
Everyone, any other comments?
-
12:28 PM Revision 39bbbd76 (git): Add rubyspec-capiext on mswin
-
12:20 PM Bug #19611 (Closed): Ruby hangs up with `while true && true`
- Fails to run this code. It hangs up. Ctrl+C does not work.
~~~ruby
def hoge
while true && true
end
end
~~~
Compiling `while true && true; end` will also hangs up
~~~ruby
irb(main):001:0> RubyVM::InstructionSequence.compile... -
07:23 AM Misc #19599: DevMeeting-2023-05-10 @ Matsumoto, Japan
- * [Feature #18368] Range#step semantics change for non-Numeric ranges (zverok)
* Implementation is provided, but no movement is seen in months. Can we agree (or provide the adjustments) on the [final spec](https://bugs.ruby-lang.org/... -
06:22 AM Revision 94a418d0 (git): [ruby/rinda] Expose Rinda::VERSION
- https://github.com/ruby/rinda/commit/fa3865ac48
-
04:46 AM Revision b9b43a10 (git): [ruby/win32ole] Reuse WIN32OLE_VERSION for gem version
- https://github.com/ruby/win32ole/commit/bff3ea8b0b
-
04:21 AM Revision 9702a814 (git): [ruby/fcntl] Expose Fcntl::VERSION
- https://github.com/ruby/fcntl/commit/cb8e414e9f