Activity
From 06/26/2022 to 07/02/2022
07/02/2022
-
11:42 PM Feature #18894 (Open): Object#make_shareable
- I'm proposing a callback method for when one calls `Ractor.make_shareable(obj)`, the same way `Marshal.dump(obj)` cal...
-
11:02 PM Bug #18893 (Closed): Don't redefine memcpy(3)
- It is Undefined Behavior, by any standard ever issued.
See what I have in my system right now:
```
alx@asu... -
02:17 PM Misc #18891: Expand tabs in C code
- One more solution would be:
4. Do not use broken editors.
¯\\\_(ツ)\_/¯
Should be at least listed here as an option. -
05:57 AM Misc #18891 (Closed): Expand tabs in C code
- # Problem
There's no way to handle tab/space-mixed indentation of CRuby's C code properly in VSCode. It impacts the ... -
06:11 AM Bug #18892 (Closed): ARGF.lineno starts from 2 when the file has shebang
- Since ruby 3.0, `ARGF.lineno` starts from 2 if the file has shebang.
Following example has `#!/usr/bin/env ruby`, ... -
05:01 AM Feature #17753: Add Module#namespace
- @ioquatix (Samuel Williams)
The non-negative part of your code looks pretty much convoluted. To simplify your code (... -
12:03 AM Feature #17753: Add Module#namespace
- ```ruby
class Class
def name(offset = nil)
return super() unless offset
parts = super().split('::')
i... -
01:48 AM Bug #18890 (Closed): parse.y: pattern label is newline-sensitive if it is dynamic
- The two patterns in the code below behave differently:
```ruby
def f(obj)
case obj
in foo:
0
true...
07/01/2022
-
04:13 PM Feature #17753: Add Module#namespace
- ioquatix (Samuel Williams) wrote in #note-21:
> ```ruby
> class A::B::C::MyClass; end
>
> A::B::C::MyClass.name(0) #... -
06:52 AM Feature #17753: Add Module#namespace
- @tenderlovemaking what about some kind of "uplevel" concept for name:
```ruby
class A::B::C::MyClass; end
A::B... -
11:52 AM Bug #18882: File.read cuts off a text file with special characters when reading it on MS Windows
- Actually, `NEED_NEWLINE_DECORATOR_ON_READ_CHECK()` and `do_writeconv()` set `O_TEXT` or `O_BINARY` always on each I/O.
-
11:47 AM Bug #18882: File.read cuts off a text file with special characters when reading it on MS Windows
- alanwu (Alan Wu) wrote in #note-9:
> So potentially, someone could use Fiddle or some C extension
> to call `_set_f...
06/30/2022
-
09:20 PM Bug #18794: Windows - intermittent SEGV TestObjSpace#test_reachable_objects_during_iteration
- This test is still causing intermittent failures. I tried it locally, and (of course) it did not SEGV.
I modified t... -
09:14 PM Misc #18888: Migrate ruby-lang.org mail services to Google Domains and Google Workspace
- Thanks for the information.
We are not going to use Google Domains to send emails, but we may reconsider it. -
08:31 PM Misc #18888: Migrate ruby-lang.org mail services to Google Domains and Google Workspace
- Not sure if this applies to your situation, but a very quick warning based on my own experience: we use a Google Doma...
-
03:22 AM Misc #18888 (Closed): Migrate ruby-lang.org mail services to Google Domains and Google Workspace
- Currently mail services of ruby-lang.org including mailing lists are running on an aged server, and we have to replac...
-
02:54 PM Bug #18889 (Third Party's Issue): Segmentation fault in sequel/adapters/odbc.rb
- This isn't a Ruby bug, or a Sequel bug, the crash is in `libiodbc.2.dylib` according to the backtrace. You probably ...
-
11:53 AM Bug #18889 (Third Party's Issue): Segmentation fault in sequel/adapters/odbc.rb
- https://github.com/jeremyevans/sequel/issues/1888
It appeared after upgrade the OS to
Darwin 21.5.0 Darwin Ker... -
01:20 PM Misc #18691: An option to build Ruby with build only flags not propagated to `rbconfig.rb`.
- I just renamed this ticket's title from "An option to run `make rbconfig.rb` in a different directory" to "An option ...
-
08:37 AM Misc #18691: An option to build Ruby with build only flags not propagated to `rbconfig.rb`.
- nobu (Nobuyoshi Nakada) wrote in #note-12:
> jaruga (Jun Aruga) wrote in #note-10:
> > I tested. And I see that the... -
10:58 AM Feature #18814: Ractor: add method to query incoming message queue size
I created a PR for this issue: https://github.com/ruby/ruby/pull/5973-
10:49 AM Feature #17679: Ractor incoming channel can consume unlimited resources
- Thanks @phigrofi for the hint! Definitely looks like an interesting way out of this.
-
10:44 AM Feature #17679: Ractor incoming channel can consume unlimited resources
- I created a different issue, which would help to query to incoming queue size from outside of a ractor: https://bugs....
-
09:27 AM Feature #18885: End of boot advisory API for RubyVM
- Another possible optimization I just found:
Strings have a lazily computed `coderange` attribute in their flags. S... -
07:32 AM Bug #18877 (Closed): parse.y: escaped space inconsistently allowed after assignment
- Applied in changeset commit:git|982cda9a3e908c7ab49632c46f4b1e3c0219f9f2.
----------
[Bug #18877] Let `lex_ctxt` not... -
03:26 AM Misc #18836: DevMeeting-2022-07-21
- * [Misc #18888] Migrate ruby-lang.org mail services to Google Domains and Google Workspace
* We are planning to ...
06/29/2022
-
12:26 PM Bug #18881: IO#read_nonblock raises IOError when called following buffered character IO
- There needs to be documentation to cover the corner cases no matter what. Wouldn't it be better to document the curr...
-
08:02 AM Bug #18881: IO#read_nonblock raises IOError when called following buffered character IO
- Basically yes. Some edge cases can be considered though (e.g. IO#flush could also reset this, IO#pread could be spec...
-
07:39 AM Bug #18881: IO#read_nonblock raises IOError when called following buffered character IO
- Do you mean that once character oriented methods are called, all byte oriented methods always fail?
(Possibly reset ... -
06:09 AM Bug #18881: IO#read_nonblock raises IOError when called following buffered character IO
- nobu (Nobuyoshi Nakada) wrote in #note-4:
> @shyouhei Even without any conversion?
Yes. "Byte oriented and chara... -
05:21 AM Bug #18881: IO#read_nonblock raises IOError when called following buffered character IO
- @shyouhei Even without any conversion?
This is an example on macOS.
```shell
$ ruby -v -e 'r, w = IO.pipe; r.set... -
05:12 AM Bug #18881: IO#read_nonblock raises IOError when called following buffered character IO
- @nobu Yes but wouldn't it be nice if IO#read_nonblock also raises on Linux?
-
05:07 AM Bug #18881 (Rejected): IO#read_nonblock raises IOError when called following buffered character IO
- It is an expected behavior.
On Windows, text/binary conversion is used by default, and `ungetc` pushes back the char... -
10:03 AM Misc #18691: An option to build Ruby with build only flags not propagated to `rbconfig.rb`.
- jaruga (Jun Aruga) wrote in #note-10:
> I tested. And I see that the `make install` also needs the `ARCH_FLAG` to bu... -
08:08 AM Bug #18887 (Closed): documentation for protected methods
- I think it is correct before the change.
Which is correct?
https://github.com/ruby/ruby/commit/962a3247b1b7677093... -
06:05 AM Bug #18886: Struct aref and aset don't trigger any tracepoints.
- With some minor changes the best performance I could get is around 20% cost:
```
| |compare... -
03:23 AM Bug #18886: Struct aref and aset don't trigger any tracepoints.
- Here is my performance comparison:
Firstly, with no changes (should be identical, shows some variance).
```
> ... -
02:19 AM Bug #18886 (Closed): Struct aref and aset don't trigger any tracepoints.
- Given the following program, `thing.name` and `thing.shape` don't trigger `c_call` trace points (or any trace points ...
-
05:13 AM Bug #18884 (Closed): parse.y: inconsistent parsing of "if" after "class"
- Applied in changeset commit:git|685efac05983dee44ce2d96c24f2fcb96a0aebe2.
----------
[Bug #18884] `class` cannot be ... -
01:03 AM Misc #18834: Significant change in loop speeds (regressing using while loop on ARM chips)
- Attached are both the Intel and ARM rbconfigs.
**Note:** both have the ruby version installed through ASDF and run...
06/28/2022
-
01:21 PM Feature #18885 (Closed): End of boot advisory API for RubyVM
- ### Context
Many optimizations in the Ruby VM rely on lazily computed caches: Strings coderange, constant caches, ... -
12:21 PM Feature #18559: Allocation tracing: Objects created by the parser are attributed to Kernel.require
- So I tried adding a `frame` before the ISeq is compiled: https://github.com/ruby/ruby/pull/5998
It somewhat works ... -
07:25 AM Bug #18883: parse.y: trailing comma cannot coexist with star
- As far as I understand, trailing comma is an equivalent of `*_` (unpack the rest and drop it):
```ruby
x, = [1, 2, ... -
03:44 AM Bug #18883 (Rejected): parse.y: trailing comma cannot coexist with star
- The following code is a syntax error:
```ruby
*x, y, = 1, 2 # syntax error, unexpected '='
```
although the f... -
03:54 AM Bug #18884 (Closed): parse.y: inconsistent parsing of "if" after "class"
- There is a corner case where `if` inconsistently causes a syntax error:
```ruby
# syntax error, unexpected `if' ... -
03:38 AM Bug #18878: parse.y: Foo::Bar {} is inconsistently rejected
- > Is there a more descriptive error message, or is `SyntaxError` the only output provided?
This is the actual erro... -
02:09 AM Bug #18882 (Rejected): File.read cuts off a text file with special characters when reading it on MS Windows
- You can use `File.binread`.
-
12:17 AM Bug #18876 (Closed): OpenSSL fails to autoload in --with-static-linked-ext builds
06/27/2022
-
04:48 PM Bug #18878: parse.y: Foo::Bar {} is inconsistently rejected
- Is there a more descriptive error message, or is `SyntaxError` the only output provided?
-
04:40 PM Bug #18882: File.read cuts off a text file with special characters when reading it on MS Windows
- Huh, Ruby might be exposing a C runtime behavior here.
Assuming I'm reading the call graph right, and there
isn't som... -
03:10 PM Bug #18882: File.read cuts off a text file with special characters when reading it on MS Windows
- magynhard (Matthäus Johannes Beyrle) wrote in #note-7:
> alanwu (Alan Wu) wrote in #note-5:
> Might be nice if File... -
02:46 PM Bug #18882: File.read cuts off a text file with special characters when reading it on MS Windows
- alanwu (Alan Wu) wrote in #note-5:
> `File.read` (actually `IO.read`) interprets the file based on the
> external e... -
02:30 PM Bug #18882: File.read cuts off a text file with special characters when reading it on MS Windows
- alanwu (Alan Wu) wrote in #note-5:
> `File.read` (actually `IO.read`) interprets the file based on the
> external e... -
02:19 PM Bug #18882: File.read cuts off a text file with special characters when reading it on MS Windows
- `File.read` (actually `IO.read`) interprets the file based on the
external encoding, which is a function of the plat... -
02:14 PM Bug #18882: File.read cuts off a text file with special characters when reading it on MS Windows
- > it behaves correctly on Linux, i expect not to need to use binary mode
I think binary mode is a no-op on Linux t... -
02:02 PM Bug #18882: File.read cuts off a text file with special characters when reading it on MS Windows
- This is Windows-specific, and there is not an error condition to check for reporting on this.
The distinction betwee... -
01:44 PM Bug #18882: File.read cuts off a text file with special characters when reading it on MS Windows
- chrisseaton (Chris Seaton) wrote in #note-1:
> Don't you need to use binary mode to read these characters?
As it ... -
12:47 PM Bug #18882: File.read cuts off a text file with special characters when reading it on MS Windows
- Don't you need to use binary mode to read these characters?
-
11:12 AM Bug #18882 (Rejected): File.read cuts off a text file with special characters when reading it on MS Windows
- When using File.read to read a text file (in this case a javascript file) with special characters, the content is cut...
-
06:59 AM Bug #18876: OpenSSL fails to autoload in --with-static-linked-ext builds
- i install cocoapods succeed, tks.
so i only need update opessl.rb file in `destroot/bundle/lib/ruby/site_ruby/3.1... -
03:36 AM Bug #18876: OpenSSL fails to autoload in --with-static-linked-ext builds
- Try the patch I posted on:
/Users/didi/Documents/CocoaPods-app/destroot/bundle/lib/ruby/site_ruby/3.1.0/rubyge... -
03:25 AM Bug #18876: OpenSSL fails to autoload in --with-static-linked-ext builds
- and [11:01:21] [rubygems-update-3.3.15] Patching: destroot/bundle/bin/gem is replace `#!/Users/didi/Documents/CocoaPo...
-
03:17 AM Bug #18876: OpenSSL fails to autoload in --with-static-linked-ext builds
- ruby version changed to 3.1.2 still error ~
Here is the file I refer to, https://github.com/CocoaPods/CocoaPods-ap... -
02:31 AM Bug #18876 (Open): OpenSSL fails to autoload in --with-static-linked-ext builds
- I had some [issues](https://github.com/ruby/openssl/pull/520) building OpenSSL
and the Ruby wrapper, but I was able ... -
12:28 AM Bug #14246: Inconsistent C source code indentation
- ioquatix (Samuel Williams) wrote in #note-16:
> Does this policy apply to the formatting of default gems too?
I d... -
12:21 AM Bug #18881: IO#read_nonblock raises IOError when called following buffered character IO
- Not looking at the implementation but sounds like an issue of Linux side to me. The error message seems intentional.
06/26/2022
-
04:35 PM Bug #18881 (Rejected): IO#read_nonblock raises IOError when called following buffered character IO
- The following example code works as expected on Linux but raises an `IOError` on Windows:
``` ruby
r, w = IO.pipe... -
04:26 PM Bug #18880 (Closed): IO#sysread on Windows does not validate arguments
- When passing an invalid number of bytes to read, such as `-1` , to `IO#sysread` on Linux, an `ArgumentError` is raise...
-
04:09 PM Bug #18879 (Closed): missing linker flag "-framework Security" for macOS 10.7 .. 10.9
- Applied in changeset commit:git|fc8020c68eb9f640185a1bce322eba6605bde151.
----------
[Bug #18879] Fix macOS version ... -
01:19 PM Bug #18879 (Closed): missing linker flag "-framework Security" for macOS 10.7 .. 10.9
- it looks target OS version detection in ./configure fails. (10.7 <= ver < 10.10)
macOS's AvailabilityMacros.h does... -
01:06 PM Bug #18878 (Assigned): parse.y: Foo::Bar {} is inconsistently rejected
- The following source doesn't parse:
```ruby
Foo::Bar {}
```
despite the following:
```ruby
bar ... -
12:57 PM Bug #18877 (Closed): parse.y: escaped space inconsistently allowed after assignment
- The following source inconsistently parses:
```ruby
x = \ 42
```
though this one not:
```ruby
\ 42
```
...
Also available in: Atom