Activity
From 02/22/2022 to 02/28/2022
02/28/2022
-
02:55 PM Bug #18476: Call to require stuck forever after receiving EAGAIN on writev when running with zeus
- I looked into this a bit more. And I'm pretty sure this is related to the introduction of the fiber scheduler.
-
02:46 PM Feature #18589: Finer-grained constant invalidation
- So I've been digging more on the constant cache busts happening in our app, beside what I already mentioned, what I f...
- 11:10 AM Revision bec492c7 (git): Update default gems list at eb40ff73bfc8afae1d87e214f31564 [ci skip]
-
11:08 AM Revision eb40ff73 (git): [ruby/securerandom] Bump up v0.2.0
- https://github.com/ruby/securerandom/commit/62ca2828f3
-
09:55 AM Bug #18604 (Third Party's Issue): [BUG] ERROR(VpDivd): space for remainder too small
- After upgrading to Ruby 3.1 one of our statistical dashboards started crashing with a message saying
[BUG] ERR... -
09:14 AM Misc #18591: DevMeeting-2022-03-17
- * [Feature #18576] Rename `ASCII-8BIT` encoding to `BINARY`
- The patch is ready.
- I'd like to make the change... -
08:59 AM Revision bd1507b2 (git): spec: skip ext's extension spec for --with-static-linked-ext
- `resolve_feature_path` doesn't return .so when the given ext is linked
statically by --with-static-linked-ext -
08:04 AM Bug #18590: String#downcase and CAPITAL LETTER I WITH DOT ABOVE
- @duerst Thanks, I have created a PR. https://github.com/ruby/ruby/pull/5607
-
04:29 AM Revision 32f356e8 (git): Fix a typo of macro name
- When the date is 28 Feb in the local timezone and 27 in the UTC,
the leap second info is wrongly calculated, and the ... -
02:40 AM Revision 1cb67905 (git): st.c: Fix a typo in a comment
-
02:39 AM Revision ff3d7b72 (git): Merge RubyGems and Bundler master
02/27/2022
- 09:43 PM Revision 02ead4a8 (git): * 2022-02-28 [ci skip]
-
09:43 PM Revision 28ee1ca7 (git): [DOC] Enhanced RDoc for encoding (#5603)
- Additions and corrections for external/internal encodings.
-
05:04 PM Feature #18603: Allow syntax like obj.method(arg)=value
- IMHO way too complicated and `[]=` seems good enough for this use case.
Also it would be very confusing as the sim... -
02:31 PM Feature #18603: Allow syntax like obj.method(arg)=value
- @sawa - My proposal would be to allow omitting parentheses only if there are no arguments provided, ie. how it is cur...
-
08:17 AM Feature #18603: Allow syntax like obj.method(arg)=value
- I believe in this particular case it would make more sense to have a dual method to `dig`, rather than adding additio...
-
08:03 AM Feature #18603: Allow syntax like obj.method(arg)=value
- Notice that, while `[]` in `[]=` cannot be omitted, `()` in method invocation can be omitted. Are you expecting `()` ...
-
03:14 AM Feature #18603 (Open): Allow syntax like obj.method(arg)=value
- I propose here to allow a syntax like:
```ruby
obj.method(arg) = value
```
It would be translated to the foll... -
12:58 PM Revision 7f434563 (git): fake.rb: Set prefix to `$topdir`
- Not to refer outside the top build directory from rbconfig.
-
12:44 PM Revision 289a4cf6 (git): [DOC] Extend intro/defn of 'transcoding' (#5602)
- * Extend intro/defn of 'transcoding'
-
05:36 AM Bug #18590: String#downcase and CAPITAL LETTER I WITH DOT ABOVE
- mame (Yusuke Endoh) wrote in #note-9:
> I wanted to create a PR to fix the document, but I am unsure what document... -
03:24 AM Feature #18583: Pattern-matching: API for custom unpacking strategies?
- > `# looking into global value isn't exactly elegant, right?`
It's not global, it's Fiber-local, so are $1 and fri...
02/26/2022
-
11:56 PM Feature #18597: Strings need a named method like `dup` that doesn't duplicate if receiver is mutable
- Updated timing check code to be more fair.
-
11:20 PM Feature #18597: Strings need a named method like `dup` that doesn't duplicate if receiver is mutable
- This is my last attempt to show why this named method is needed. The `driver.rb` file shows the patterns that apply t...
- 03:15 PM Revision 1e4ee10f (git): * 2022-02-27 [ci skip]
-
12:50 PM Revision 3e5d7e31 (git): [DOC] Move String.new to allow non US-ASCII characters
-
07:34 AM Revision 0be2049a (git): [DOC] Fix the pseudo code
-
07:23 AM Revision 62c15833 (git): [DOC] Place a non-US-ASCII document in a document-specific script
-
04:27 AM Bug #18602 (Closed): OpenSSL is not available.
- t3rcio (Tercio Oliveira) wrote in #note-4:
> Now I have openssl support.
Great! So this issue can be closed.
... -
03:07 AM Bug #18602: OpenSSL is not available.
I tried your suggestion:
```
You may want to use --with-openssl-include=/path/to/openssl/headers --with-openssl-l...
02/25/2022
-
07:12 PM Revision 26ffda2f (git): [DOC] Enhanced RDoc for some encoding methods (#5598)
- In String, treats:
#b
#scrub
#scrub!
#unicode_normalize
#unicode_normalize!
#encode
#enc... -
06:03 PM Bug #17382 (Open): Segfault in String#inspect
-
10:55 AM Bug #17382: Segfault in String#inspect
- I've attached code that reproduces the issue, along with output and the macOS crash report from my machine. Just run ...
- 05:43 PM Revision 189ac52b (git): * 2022-02-26 [ci skip]
-
05:42 PM Revision e82f5db7 (git): Deprecate the unintentional ability to parse `Symbol`
-
05:40 PM Bug #18169: Local copies of gemified libraries are being released out of sync with their gems
- This happened again in Ruby 3.1. I have not audited the other gems, but at least securerandom was modified in both re...
-
03:45 PM Bug #18602: OpenSSL is not available.
- From your `mkmf.log`:
```
/opt/ruby-3.1.1/ext/openssl/extconf.rb:100: OpenSSL library could not be found. You mig... -
12:41 PM Bug #18602: OpenSSL is not available.
- jeremyevans0 (Jeremy Evans) wrote in #note-1:
> Did you reinstall Ruby after installing openssl/libssl-dev? If so, ... -
01:27 AM Bug #18602 (Feedback): OpenSSL is not available.
- Did you reinstall Ruby after installing openssl/libssl-dev? If so, how did you install Ruby? Can you post the confi...
-
01:20 AM Bug #18602 (Closed): OpenSSL is not available.
- The following exception:
```
ERROR: While executing gem ... (Gem::Exception)
OpenSSL is not available. Instal... -
11:39 AM Revision 8780f15f (git): [ruby/date] Use `assert_deprecated_warn`
- https://github.com/ruby/date/commit/c55004715a
-
11:01 AM Revision 0db5ee51 (git): [ruby/date] Suppress declaration-after-statement warnings
- https://github.com/ruby/date/commit/60bd16009d
-
10:57 AM Revision bb22bc76 (git): [ruby/date] Deprecate the unintentional ability to parse `Symbol`
- https://github.com/ruby/date/commit/d57818f3b3
-
10:52 AM Revision d4f32b6b (git): [ruby/date] Scale timeouts
- https://github.com/ruby/date/commit/2889698e2f
-
10:52 AM Revision 4933d7fe (git): [ruby/date] Update tests
- https://github.com/ruby/date/commit/5a138afce9
-
10:52 AM Revision b5c2a084 (git): [ruby/date] Anchor at beginning of numbers
- https://hackerone.com/reports/1254844
https://github.com/ruby/date/commit/2f7814cc22 -
10:52 AM Revision 1758eade (git): [ruby/date] Anchor at beginning of numbers
- https://hackerone.com/reports/1254844
https://github.com/ruby/date/commit/7ffe25e458 -
10:52 AM Revision d54a3df2 (git): [ruby/date] Separate era from preceding word
- https://github.com/ruby/date/commit/017149e53e
-
10:52 AM Revision c8cddac4 (git): [ruby/date] Use possessive match
- Reduce backtracks at the same character classes arounding an
optional pattern.
https://github.com/ruby/date/commit/1... -
10:52 AM Revision 9f59a2bd (git): [ruby/date] Extracted common leading pattern
- https://github.com/ruby/date/commit/ec86dbbdc1
02/24/2022
-
08:10 PM Revision c19a631c (git): [DOC] Enhancements for encoding.rdoc (#5578)
- Adds sections:
String Encoding
Symbol and Regexp Encodings
Filesystem Encoding
Locale Encoding
I... - 07:12 PM Revision fc7e42a4 (git): Fix yjit readme link pointing to old shopify readme (#5596)
-
06:59 PM Revision 8b3b113d (git): [DOC] Fix typo in yjit docs
- I noticed this yesterday when pairing with Aaron, there was an extra "e"
in "callees". - 06:32 PM Revision 92d553b7 (git): * 2022-02-25 [ci skip]
-
06:31 PM Revision 97001638 (git): Add ABI version to ruby_version tag on Windows
-
02:18 PM Revision 9bd4b2ab (git): Add ABI version to RUBY_LIB_VERSION
- This commit adds the ABI version as build metadata to
RUBY_LIB_VERSION. This will ensure that gems are installed in a... -
01:37 PM Bug #18590: String#downcase and CAPITAL LETTER I WITH DOT ABOVE
- duerst (Martin Dürst) wrote in #note-8:
> > Is it okay?
>
> I reported to Unicode that they should check it an cl... -
09:50 AM Bug #18590: String#downcase and CAPITAL LETTER I WITH DOT ABOVE
- mame (Yusuke Endoh) wrote in #note-7:
> BTW, the rdoc of String#downcase in 3.1 and master is very less informative,... -
03:09 AM Bug #18590: String#downcase and CAPITAL LETTER I WITH DOT ABOVE
- BTW, the rdoc of String#downcase in 3.1 and master is very less informative, and has a broken link (which is maybe th...
-
03:05 AM Bug #18590 (Open): String#downcase and CAPITAL LETTER I WITH DOT ABOVE
- @duerst Let me confirm. The rdoc of 3.1 and master refers to https://www.unicode.org/charts/case/.
> Default Case ... -
03:57 AM Revision b13a7c8e (git): Constant time class to class ancestor lookup
- Previously when checking ancestors, we would walk all the way up the
ancestry chain checking each parent for a matchi... -
03:57 AM Revision 764e4fa8 (git): Never call kind_of with klass=0
02/23/2022
- 05:29 PM Revision 709a6a07 (git): * 2022-02-24 [ci skip]
-
05:29 PM Bug #18599 (Closed): `vm->loaded_features_snapshot` became very inefficient in Ruby 3.1
- Applied in changeset commit:git|b8f0dc59d52266d9fbfc039e2f4b0f727c62baa0.
----------
rb_provide_feature: Prevent $LO... -
05:05 PM Bug #18599: `vm->loaded_features_snapshot` became very inefficient in Ruby 3.1
- I tested the patch against our app, it does solve the problem perfectly, and the time spent in GC during boot is noti...
-
04:09 PM Bug #18599: `vm->loaded_features_snapshot` became very inefficient in Ruby 3.1
- Ok, so my assessment about shared arrays wasn't quite correct. What caused the difference between 3.0 and 3.1 here is...
-
03:58 PM Revision b8f0dc59 (git): rb_provide_feature: Prevent $LOADED_FEATURES from being copied
- [Bug #18599]
`vm->loaded_features` and `vm->loaded_features_snapshot` both share the
same root. When a feature is pu... -
02:13 PM Revision 651b2e59 (git): Use rb_ary_behead for rb_ary_shift
- rb_ary_shift is just a special case of rb_ary_behead where we behead
only 1 element. -
09:27 AM Bug #18590: String#downcase and CAPITAL LETTER I WITH DOT ABOVE
- Thank you for your clarification.
-
08:17 AM Bug #18590 (Closed): String#downcase and CAPITAL LETTER I WITH DOT ABOVE
- andrykonchin (Andrew Konchin) wrote in #note-3:
> Thank you for the suggestion.
>
> I am wondering whether `Strin... -
07:59 AM Bug #18601: Invalid byte sequences in Big5 encodings
- I'll try to take a closer look at this, but it will take a few days, sorry. Please ping me again if you don't hear ba...
- 07:00 AM Revision 43cc4f66 (git): Update bundled gems list at 2022-02-23
-
04:05 AM Bug #18468: Tutorial Link for Optionparser is broken
- #18468 The issue is still present in 3.1.1. I attached a screenshot for reference.
-
02:23 AM Revision 63401b13 (git): Rename the wrong variable name `beg` to `len`
02/22/2022
-
11:40 PM Feature #18598: Add String#bytesplice
- Eregon (Benoit Daloze) wrote in #note-3:
> Shouldn't a text editor use the ropes representation for Strings instead?... -
10:48 AM Feature #18598: Add String#bytesplice
- Shouldn't a text editor use the ropes representation for Strings instead? ( https://en.wikipedia.org/wiki/Rope_(data_...
-
09:21 AM Feature #18598 (Closed): Add String#bytesplice
- I withdrew the proposal of String#bytesplice in #13110 because it may cause problems if the specified offset does not...
-
11:15 PM Bug #18590: String#downcase and CAPITAL LETTER I WITH DOT ABOVE
- Thank you for the suggestion.
I am wondering whether `String#downcase` (when called without arguments) follows only ... -
10:21 PM Bug #18600: Aliased method visibility issue on Ruby 3.1
- I've submitted a pull request to fix this: https://github.com/ruby/ruby/pull/5592
-
09:38 PM Bug #18600: Aliased method visibility issue on Ruby 3.1
- Thanks for the report. I bisected this to commit:71c746379d5872e250d90ae45c585760afaf9516 (which looks like it match...
-
09:03 PM Bug #18600: Aliased method visibility issue on Ruby 3.1
- May be related to https://github.com/ruby/ruby/pull/4149.
-
08:49 PM Bug #18600 (Closed): Aliased method visibility issue on Ruby 3.1
- It seems methods on classes that were originally private in the parent and made public in the child can no longer be ...
-
10:15 PM Bug #18601 (Assigned): Invalid byte sequences in Big5 encodings
- I encoded all unicode codepoints in all encodings:
```
full_string = ((0..0xD7FF).to_a + (0xE000..0x10FFFF).to_a)... -
09:49 PM Revision 68847794 (git): Update ext/-test-/dln/empty/depend
- Dependencies was not updated in
06dab12717a05bf49e4c6dff1d6f5458678d0e00. -
08:31 PM Feature #18597: Strings need a named method like `dup` that doesn't duplicate if receiver is mutable
- At one time there were other folks who cared about this, in #16295, but it feels like I'm the only one now. And it fe...
-
07:49 PM Feature #18597: Strings need a named method like `dup` that doesn't duplicate if receiver is mutable
> `(+some_object.send(a_method)).tap { |value| value << "blah" }`
> or
> `some_object.send(a_method)[email protected] { |value...-
07:10 PM Feature #18597: Strings need a named method like `dup` that doesn't duplicate if receiver is mutable
- Fixed in our extensions lib.
```
class Object
# A chainable name mainly for `String#+@`.
#
def thaw
... -
07:02 PM Feature #18597: Strings need a named method like `dup` that doesn't duplicate if receiver is mutable
- Eregon (Benoit Daloze) wrote in #note-10:
> I meant code in a gem or in some open-source repository, so we can see t... -
06:47 PM Feature #18597: Strings need a named method like `dup` that doesn't duplicate if receiver is mutable
- > and I want it to be as optimized as possible
Also if that's the goal I would also avoid `.tap` and just use a lo... -
06:44 PM Feature #18597: Strings need a named method like `dup` that doesn't duplicate if receiver is mutable
- I meant code in a gem or in some open-source repository, so we can see the context and the need.
That example seem... -
02:56 PM Feature #18597: Strings need a named method like `dup` that doesn't duplicate if receiver is mutable
- Eregon (Benoit Daloze) wrote in #note-8:
> A real-world example would be interesting. But I guess there isn't a comp... -
11:08 AM Feature #18597: Strings need a named method like `dup` that doesn't duplicate if receiver is mutable
- A real-world example would be interesting. But I guess there isn't a compelling one.
-
11:07 AM Feature #18597: Strings need a named method like `dup` that doesn't duplicate if receiver is mutable
- `+@`/`dup_if_immutable` semantics are only safe to use if you know you "own" the receiver and in other words it's OK ...
-
05:37 PM Bug #18599 (Closed): `vm->loaded_features_snapshot` became very inefficient in Ruby 3.1
- A change in how shared arrays behave has caused a fairly major performance regression in `Kernel.require`. In short o...
-
05:00 PM Revision 06dab127 (git): Include ruby.h in empty.c to have ABI version
- I forgot to include this as part of
638fd8774bed27b997f3b634ba8be7aa304be3c3. - 03:18 PM Revision 2dd66e55 (git): * 2022-02-23 [ci skip]
-
03:16 PM Revision 2ea175eb (git): Fix compiler warning for uninitialized variable
- Fixes this compiler warning:
warning: 'loc' may be used uninitialized in this function [-Wmaybe-uninitialized]
... -
02:55 PM Bug #18249 (Closed): The ABI version of dev builds of CRuby does not correspond to the ABI
- Applied in changeset commit:git|3df16924b45adfd88c20ef5fe25b10a1acb82dd7.
----------
[Feature #18249] Implement ABI ... -
02:55 PM Revision 2d5ecd60 (git): [Feature #18249] Update dependencies
-
02:55 PM Revision 638fd877 (git): [Feature #18249] Include ruby.h in extensions to have ABI version
- All shared libraries must have `include/ruby/internal/abi.h` to include
the ABI version. Including `ruby.h` will guar... -
02:55 PM Revision 3df16924 (git): [Feature #18249] Implement ABI checking
- Header file include/ruby/internal/abi.h contains RUBY_ABI_VERSION which
is the ABI version. This value should be bump... -
02:13 PM Feature #18594: Add a #to_h method on URI::Generic
- I'm not opposed, but what do you use the hash for? What's the use case? If it's for serialization, then normally you'...
-
10:58 AM Feature #18596: Enhance the syntax for getting values in existing arrays.
- sawa (Tsuyoshi Sawada) wrote in #note-2:
> This idea is a duplicate of #15950
Actually not, the suggested semanti... -
03:26 AM Feature #18596: Enhance the syntax for getting values in existing arrays.
- jackmaple (maple jack) wrote:
> **Is it possible to make the second parameter also support negative values?**
> `... - 09:52 AM Revision 37d5890e (git): [ruby/reline] Fix support for emacs-ctlx and emacs-meta keymaps
- The existing implementation, given the below .inputrc, erroneously
creates a "C-v" key binding:
set keymap e... -
09:27 AM Misc #18591: DevMeeting-2022-03-17
- * [Feature #18598] Add String#bytesplice
* I withdrew the proposal of String#bytesplice in #13110 because it may... -
09:01 AM Revision 50098f4b (git): [ruby/zlib] [DOC] Fix typo in Zlib.adler32_combine
- https://github.com/ruby/zlib/commit/5e8f0b4164
-
08:08 AM Revision ae8a8b18 (git): [ruby/rdoc] Prefer `require 'cgi/util'` instead of `require 'cgi'`
- RDoc is using only CGI.escape, escapeHTML, and unescape.
We don't have to load the whole source code of cgi gem.
htt... -
04:32 AM Revision a49aae2c (git): [rubygems/rubygems] Resolve cleaned-up error with temporary gemhome
- https://github.com/rubygems/rubygems/commit/623162ad2b
-
02:56 AM Feature #18370 (Closed): Call Exception#full_message to print exceptions reaching the top-level
- Applied in changeset commit:git|35ff545bb689f5af93ac603ea1f512705e0dc249.
----------
Exception#detailed_message is a... -
02:56 AM Feature #18367 (Closed): Stop the interpreter from escaping error messages
- Applied in changeset commit:git|f207f7a193dc4e55820e77388edefb5d8fde18d7.
----------
Do not escape error message
[F... - 02:56 AM Revision 7d81ee42 (git): * 2022-02-22 [ci skip]
-
02:55 AM Revision 25b0577c (git): Factor a "highlight" symbol out
-
02:55 AM Revision eda10e81 (git): Remove unneeded newline from detailed_message
-
02:55 AM Revision 5099f64f (git): Add a test for Exception#detailed_message
-
02:55 AM Revision 4db98643 (git): Let Exception#full_message pass highlight keywords to #detailed_message
- .. even when the argument is not explicitly passed.
-
02:55 AM Revision 89e44668 (git): test/ruby/test_rubyoptions.rb: Make it pass on Windows
-
02:55 AM Revision 98ca99cd (git): The default highlight arguments of Exception#detailed_message is false
-
02:55 AM Revision 35ff545b (git): Exception#detailed_message is added
- Also, the default error printer and Exception#full_message use the
method instead of `Exception#message` to get the m... -
02:55 AM Revision 3af316fa (git): Refactor out rb_decorate_message from print_errinfo
- rb_decorate_message adds bold escape sequences to message, and the class
name of exception (like " (RuntimeError)) of... -
02:55 AM Revision f207f7a1 (git): Do not escape error message
- [Feature #18367]
-
02:55 AM Revision 36e31b09 (git): error.c: Refactoring
- Factor out from rb_error_write the responsibility to check if stderr is
a tty.
Also available in: Atom