Activity
From 09/16/2022 to 09/22/2022
09/22/2022
-
11:55 PM Bug #18960: Module#using raises RuntimeError when called at toplevel from wrapped script
- I guess SEGV is caused by `using` in a method body, which should be prohibited even in a wrapped script.
-
11:41 PM Bug #18960: Module#using raises RuntimeError when called at toplevel from wrapped script
- Thanks! I'll do that and update here once the PR is again ready for review.
-
10:39 PM Bug #18960: Module#using raises RuntimeError when called at toplevel from wrapped script
- We discussed this issue at the dev meeting. No one objected to correcting this behavior, but the proposed PR is unacc...
-
11:52 PM Revision 6e46bf1e (git): Just a star [ci skip]
-
11:46 PM Feature #19010: Follow up of #18996: Support changing irb's autocompletion background
- Briefly discussed at the dev meeting, but we agreed that we need to finish #18996 first.
Here are the opinions exp... -
11:38 PM Feature #18996: Proposal: Introduce new APIs to reline for changing dialog UI colours
- Discussed at the dev meeting. For the API style, how about `Reline.color_config` with a hash object like this?
```... -
11:18 PM Feature #19015: Language extension by a heredoc
- Wow, I am not the only such geek %)
My solution of the similar goal is 7 yo and it'll go to school soon.
```
$ git l... -
05:56 PM Feature #19015: Language extension by a heredoc
- This is a tiny example of SQL.
Note that I'm newbe of SQL (I goooooooogled the syntax/api and the example is never te... -
10:51 AM Feature #19015: Language extension by a heredoc
- one bikeshedding..
Usually syntax-suger in Ruby are mapped into methods whose names are very consistent with the s... -
08:46 AM Feature #19015: Language extension by a heredoc
- I am not sure how serious this is (considering the "Apr 1" notice), but I have somewhat adjacent thought:
In many... -
08:30 AM Feature #19015: Language extension by a heredoc
- Would you mind to add also what's the output to the description? If I understand it well, following will be printed.
... -
07:38 AM Feature #19015: Language extension by a heredoc
- Related I heard:
* [Template literals (Template strings) - JavaScript | MDN](https://developer.mozilla.org/en-US/d... -
03:22 AM Feature #19015 (Open): Language extension by a heredoc
- This propose new heredoc extension with `<<!LANG` like
```ruby
doc = <<!LANG
# description written in lang LAN... -
11:14 PM Feature #18784: `FileUtils.rm_f` and `FileUtils.rm_rf` should not mask exceptions
- We discussed the issue at the dev meeting (for very long time) and agreed to revert it once.
There are two possibl... -
10:57 PM Feature #16122: Data: simple immutable value object
- > I wonder about the “weird name” members…
Oh right. Left a note to self and missed it myself 🤦
I adjusted the te... -
10:45 PM Feature #16122: Data: simple immutable value object
- zverok (Victor Shepelev) wrote in #note-78:
> They are pretty different now ([this part](https://github.com/ruby/rub... -
06:50 PM Feature #16122: Data: simple immutable value object
- @ufuk @nobu Makes sense, right.
I adjusted the PR and removed the unification into the `define_struct` method. They ... -
03:30 AM Feature #16122: Data: simple immutable value object
- As @ufuk wrote 🙏, I don’t think the behavior worth to be kept.
In the case you want a name, you can assign it to a c... -
10:44 PM Feature #19008: Introduce coverage support for `eval`.
- mame (Yusuke Endoh) wrote in #note-11:
> > In the cases where I do care and I want to check coverage of evaled code,... -
10:26 PM Feature #19008: Introduce coverage support for `eval`.
- @jeremyevans0 Thank you for joining the discussion!
jeremyevans0 (Jeremy Evans) wrote in #note-7:
> Considering t... -
10:22 PM Feature #19008: Introduce coverage support for `eval`.
- @ioquatix I found yet another issue. It does not work with oneshot coverage.
```ruby
require "coverage"
Covera... -
09:50 PM Feature #19008: Introduce coverage support for `eval`.
- ioquatix (Samuel Williams) wrote in #note-8:
> > I would prefer 3.
>
> @jeremyevans0 what's the use-case for your... -
09:25 PM Feature #19008: Introduce coverage support for `eval`.
- > I would prefer 3.
@jeremyevans0 what's the use-case for your proposal, because it would be much harder to digest w... -
09:13 PM Feature #19008: Introduce coverage support for `eval`.
- Considering the issues, could we make `eval` coverage optional, maybe by a keyword to `Coverage.start`? I'd prefer i...
-
08:53 PM Feature #19008: Introduce coverage support for `eval`.
- @ioquatix Also I'd like to ask you:
* Please add a document to ext/coverage/coverage.c about the new spec for eval... -
08:46 PM Feature #19008: Introduce coverage support for `eval`.
- We discussed this proposal at the dev meeting, and @matz decided to give it a try.
@ioquatix has been merged the P... -
10:36 PM Misc #18977: DevMeeting-2022-09-22
- We could not discuss all agenda items in time. We will have an extra meeting at 6th Oct.
-
09:47 PM Revision 4e40fdbc (git): YJIT: add chain guards in `guard_two_fixnums` (#6422)
- * Add chain guards in guard_two_fixnums, opt_eq with symbols
* Remove symbol comparison in gen_equality_specialized -
09:47 PM Revision 4b97f1e5 (git): YJIT: Refactor into gen_push_frame (#6412)
- This refactors the "push frame" operation common to both gen_send_iseq
and gen_send_cfunc into its own method. This a... -
09:44 PM Revision 0c9dc01a (git): Skip struct fields whose output differs
- across different environments
-
09:44 PM Revision dfc311c0 (git): Swap the positions of offsetof and type
-
09:44 PM Revision dc5b5364 (git): Bindgen offsetof struct and union with builtin
- except for bit fields.
I made a risky assumption on leading bit fields and just gave up
non-leading bit fields for n... -
09:44 PM Revision 2ce1460c (git): Bindgen sizeof struct and union with builtin
-
09:44 PM Revision 4c6e1556 (git): Bindgen immediate types with builtin
-
09:44 PM Revision 280ff170 (git): Drop c_64 and c_32
-
09:44 PM Revision 5cda5938 (git): Bindgen enum with builtin
-
09:44 PM Revision 2f5b3753 (git): Builtin needs to be baseruby-compatible
-
09:44 PM Revision 591c3c7a (git): Automatically setup bundler of bindgen.rb
- to easily use it with `tool/mjit/bindgen.rb BUILDDIR` instead of using
`make mjit-bindgen`. -
09:44 PM Revision 4e0db2f7 (git): mjit_c.rb doesn't need to be an erb
-
09:44 PM Revision 334b8bd4 (git): Mix manual and auto-generated C APIs
-
09:44 PM Revision 00c441ce (git): Bindgen macro with builtin
-
09:44 PM Revision e81a6124 (git): Auto-generate mjit_c.rb.erb
-
09:44 PM Revision f2bea691 (git): Builtin RubyVM::MJIT::C
-
09:10 PM Feature #19013: Error Tolerant Parser
- Kevin's work has broader goals, e.g. being faster, consuming less memory, which should be free from yacc/bison limita...
-
03:04 AM Feature #19013: Error Tolerant Parser
- The topic of parsing incomplete syntax also came up in Kevin Newton's talk (see https://rubykaigi.org/2022/presentati...
-
08:56 PM Bug #19017 (Open): Net::HTTP may block when attempting to reuse a persistent connection
- Ruby's Net::HTTP code performs a blocking `Net::BufferedIO#eof?` check when attempting to reuse a persistent HTTP con...
-
08:51 PM Revision 88bf8ad6 (git): Allow --enable-yjit on OpenBSD
- yjit uses _Unwind_* functions from libunwind. These functions
are available in libc++abi (which requires libpthread)... -
05:29 PM Revision b5c459d5 (git): Adds a benchmark to measure freezing objects
-
04:47 PM Revision fbaac837 (git): avoid extra dup and pop in compile_op_asgn2
- Co-authored-by: John Hawthorn <[email protected]>
-
04:47 PM Revision aafbc906 (git): avoid extra dup and pop in compile_op_log
- Co-authored-by: John Hawthorn <[email protected]>
- 01:28 PM Revision 4bdd8f2d (git): [ruby/reline] use assert_nothing_raised
- https://github.com/ruby/reline/commit/f08be5da09
- 01:28 PM Revision 696e8914 (git): [ruby/reline] PR changes
- https://github.com/ruby/reline/commit/e8e8d81f47
- 01:28 PM Revision 9d19d910 (git): [ruby/reline] Revert "update version"
- This reverts commit https://github.com/ruby/reline/commit/ce1ac86179e6.
https://github.com/ruby/reline/commit/86602c... - 01:28 PM Revision 224a3ea7 (git): [ruby/reline] update version
- https://github.com/ruby/reline/commit/ce1ac86179
- 01:28 PM Revision 9fb18e63 (git): [ruby/reline] fix vi-operator-arg
- https://github.com/ruby/reline/commit/d42cdb8f91
-
12:07 PM Revision 69130e16 (git): Expand paths used for dumper.rb
- This seems to be needed on Samuel's environment
-
10:22 AM Feature #18630: Introduce general `IO#timeout` and `IO#timeout=` for blocking operations.
- @ko1 I've updated the PR with documentation to address your concerns. Do you have any other concerns?
- 10:19 AM Revision 9434a733 (git): Enable coverage for eval.
-
09:47 AM Bug #19016 (Closed): syntax_suggest is not working with Ruby 3.2.0-preview2
- `syntax_suggest` is merged as default gems in Ruby 3.2.0-preview2. But it's not working yet.
```
$ cat bar.rb
de... - 08:31 AM Revision 4c37eaa9 (git): Update default gems list at 928aeef3301d4dc0de3b80ee80c8ef [ci skip]
-
08:29 AM Revision 928aeef3 (git): [ruby/cgi] Bump up 0.3.3
- https://github.com/ruby/cgi/commit/c1ffa3a428
-
06:50 AM Bug #19014: Backport commits to add the --with-gmp-dir option in the configure script
- Please backport this to also both 2.7 and 3.0 if it can be done easily.
-
06:46 AM Feature #18982: Add an `exception: false` argument for Queue#push, Queue#pop, SizedQueue#push and SizedQueue#pop
- > Is it enough?
Interesting, I never thought of that.
I think I can work with that, but then I think this behav... -
04:50 AM Feature #18982: Add an `exception: false` argument for Queue#push, Queue#pop, SizedQueue#push and SizedQueue#pop
- `Queue#pop(timeout:0)` returns `nil` if Queue is empty. Is it enough? (and forget optional nonblock argument)
-
05:52 AM Feature #18885: End of boot advisory API for RubyVM
- This is awesome. Nice work.
I also like `warmup` as a name. -
05:37 AM Revision f07e651a (git): Mentioned new constants for Process and Socket classes on NEWS.md
-
05:20 AM Revision ec93d09c (git): add rb_execution_context
-
05:20 AM Revision 083b4bb6 (git): add rb_control_frame_t
-
03:54 AM Revision 9058ba21 (git): Binstubs test with relative path seems passing now
-
03:46 AM Bug #18729: Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
- After playing with the committed new behavior, I have noticed some points, and changed my mind (I am sorry for being ...
- 02:42 AM Revision 830b2e21 (git): [rubygems/rubygems] Update GitLab CI template with new one
- GitLab CI now needs the default keyword on specification of image
and before_script.
https://docs.gitlab.com/ee/ci/y... -
02:35 AM Revision 6b0b326e (git): Followed up 796069b2882d8a67ecc36bda7c72affcbad09dae
09/21/2022
-
09:34 PM Revision 56d773dc (git): New page IO Streams (#6383)
- This page provides an overview of IO streams. It's meant to be linked to from many other doc spots. In particular it ...
-
08:43 PM Bug #18886: Struct aref and aset don't trigger any tracepoints.
- Rather than using branch for tracepoints, using a `nop/jmp` instruction which is set or cleared might be a lower impa...
-
07:22 PM Bug #19014 (Closed): Backport commits to add the --with-gmp-dir option in the configure script
-
04:20 PM Bug #19014 (Closed): Backport commits to add the --with-gmp-dir option in the configure script
- Please backport the following three commits for the previous versions of Ruby.
* https://github.com/ruby/ruby/comm... -
06:11 PM Feature #10320: require into module
- I think that trying to require into a module with code that was not designed for it will break things. One example i...
-
05:08 PM Feature #10320: require into module
- byroot (Jean Boussier) wrote in #note-27:
> No, we have absolutely no intention to go with microservices, quite the ... -
12:39 PM Feature #10320: require into module
- @mame
> This approach looks not very robust. If there is a constant Foo defined in the top-level, I think it does n... -
10:26 AM Feature #10320: require into module
- > I guess that the ultimate goal is to modularize the monolith to microservices, and that this proposal is for the in...
-
09:46 AM Feature #10320: require into module
- The proposed PR is simple, small, and appears to have few performance or compatibility issues. So I am basically posi...
-
03:37 PM Revision 369f1668 (git): [ruby/irb] Rewrite on_scan proc to be more readable.
- https://github.com/ruby/irb/commit/da54e7f081
-
03:37 PM Revision 78cb6380 (git): [ruby/irb] Update expected colorize result that were uncolored before
- https://github.com/ruby/irb/commit/52446eb77f
-
03:37 PM Revision 9f686878 (git): [ruby/irb] Scan every single characters in IRB::Color.scan
- https://github.com/ruby/irb/commit/d14e56a65d
-
03:22 PM Revision 2c6fdc4d (git): Improve Ubuntu GitHub Actions (#6413)
- Make the job names more understandable and avoid testing too many
duplicated things. - 01:59 PM Revision c21f820b (git): [ruby/irb] Fix completion tests
- https://github.com/ruby/irb/commit/eb1691f636
-
01:24 PM Revision 6325fc88 (git): [ruby/irb] Handle non-String $LOAD_PATH values more carefully
- In addition to String values, $LOAD_PATH can also take objects that
respond_to the `to_path` method, like Pathname ob... -
01:01 PM Revision 1a2ee4cf (git): Try reordering test-all and test-spec for mswin CI
- Visual Studio 2019 GitHub Actions has been super unstable. Somehow nmake
test-spec triggers rebuilding the interprete... -
12:31 PM Misc #18977: DevMeeting-2022-09-22
- * [Feature #19013] Error Tolerant Parser
* I want to get feedback for the direction and other use cases. -
12:28 PM Feature #19013 (Closed): Error Tolerant Parser
- # Background
Implementation for Language Server Protocol (LSP) sometimes needs to parse incomplete ruby script for... -
10:56 AM Bug #9760: mkmf does not allow for linking against custom libraries when a system library is present
- This is still an issue in the current master (e.g., https://github.com/ruby/openssl/issues/545).
If I understand c... -
10:51 AM Feature #18411: Introduce `Fiber.blocking` for disabling scheduler.
- `io_uring` handles non-blocking read and write system calls using the ring buffer. So even `read_nonblock` and `write...
-
07:12 AM Feature #18411: Introduce `Fiber.blocking` for disabling scheduler.
- Let me confirm that why `write_nonblock` calls a fiber scheduler?
Or does it solve if `write_nonblock` doesn't call ... - 09:07 AM Revision 796069b2 (git): getrlimit adding RLIMIT_NPTS constant.
- 08:35 AM Revision 02e25db6 (git): Add URI.escape and URI.unescape to NEWS-3.0.0 [ci skip]
- 08:15 AM Revision d35bc88b (git): sockopt adding Linux constants, SO_INCOMING_CPU/SO_INCOMING_NAPI_ID.
- 08:10 AM Revision 8cbbc061 (git): openbsd sockets add SO_RTABLE constant
-
08:02 AM Bug #19012: BasicSocket#recv* methods return an empty packet instead of nil on closed connections
- @akr pointed on the PR that this behavior might be desirable for "connection-less" sockets such as `DGRAM`.
That s... - 06:48 AM Revision ec2d1356 (git): Introduces FreeBSD's SO_USER_COOKIE among socketopt's options.
-
06:26 AM Revision 3f387e60 (git): Rescue File.expand_path in MSpecScript#try_load if HOME is unavailable
- mspec tries to load ~/.mspecrc, but some platforms (e.g. WASI) doesn't
have HOME concept, so `~` cannot be expanded a... - 06:23 AM Revision 8a9dfb67 (git): sockets add `TCP_CONNECTION_INFO` and `TCP_KEEPALIVE` constants.
- 06:22 AM Revision 017573c3 (git): socket add FreeBSD's SO_SETFIB constant.
-
06:21 AM Revision e3b17806 (git): [DOC] Tweak the doc for `Process.kill` signature
- Replacing `...` with `*pids` seems to clarify the expected variadic arguments.
Note that the expected arguments are ... -
06:17 AM Revision 76b4305a (git): [DOC] Improve NEWS.md
- Fix missing dot and replace error with ArgumentError.
-
06:03 AM Feature #18951: Object#with to set and restore attributes around a block
- I'm not very familiar with C#, but [Javascript's `with` is deprecated](https://developer.mozilla.org/en-US/docs/Web/J...
-
05:58 AM Feature #18951: Object#with to set and restore attributes around a block
- On the other languages, JavaScript, C#, ... has different meaning (maybe similar to `instance_eval`) so I think the 1...
-
05:25 AM Revision c287deec (git): backup IRBRC environmental variable. It's used by test methods when it's defined.
-
05:25 AM Revision d6e84d97 (git): Fix the missing locale error
-
04:38 AM Revision 1ad1f073 (git): Fix a broken Slack notification
- The matrix doesn't have `os`.
-
02:44 AM Revision 7060b23f (git): proper function prototypes for openssl
- Just to reroute compiler warnings.
-
02:44 AM Revision 437800d3 (git): getenv: is in stdlib.h
- getenv is a very basic function that has been in stdlib.h since
ISO/IEC 9899:1990. There is absolutely zero need for... -
02:44 AM Revision 45741918 (git): reserved_word: just use gperf 3.1 declaration
- The reason why this was commented out was because of gperf 3.0 vs 3.1
differences (see [Feature #13883]). Five years... -
02:44 AM Revision 77c61ae3 (git): cc_new: vm_ci_new's 4th argument is a pointer
- Don't pass boolean.
-
02:44 AM Revision ec5798d2 (git): type pun rb_f_notimplement
- Other functions are already type-punned elsewhere. rb_f_notimplement is
the only exceptional function that appear li... -
02:44 AM Revision 4e64edb6 (git): vm_method_cfunc_is: get rid of ANYARGS
- ANYARGS-ed function prototypes are basically prohibited in C23.
Use __attribute__((__transparent_union__)) instead. -
02:44 AM Revision 8a577cbc (git): cref_replace_with_duplicated_cref_each_frame: returns a pointer
- Why use FALSE here?
-
02:44 AM Revision 2f8012c9 (git): rb_define_method: dedicated overload for rb_f_notimplement
- rb_f_notimplement was type-compatible with VALUE(*)(ANYARGS), but not
any longer in C23. Provide a dedicated path fo... -
02:44 AM Revision 0cd86ffb (git): avoid ANYARGS
- Use macro instead of a static functon. This isn't very amusing but
doing this wihtout a macro (is possibe but) seems... -
02:44 AM Revision 06cb0305 (git): vm_insnhelper.c: add casts
- Why they have not been at the first place? Siblings have proper casts.
-
02:44 AM Revision 406ebb25 (git): obj_refer_only_sharables_p_i: need derefernce
- Clang says "warning: variable 'pcnt' set but not used" here. In fact it
doesn't. The intention is clear that we want... -
02:44 AM Revision 104069e7 (git): syserr_initialize: delete redundant strerror() declaration
- This line issues a warning on clang. strerror is of course a part of
ISO C since its dawn. We practically have neve... -
02:44 AM Revision 45482fea (git): LLVM 15 released
- See https://discourse.llvm.org/t/llvm-15-0-0-release/65099
09/20/2022
-
11:30 PM Revision d3733c2b (git): Guard `--yjit-stats` behind `#[cfg(feature = "stats")]` (#6409)
- * Guard --yjit-stats behind #[cfg(feature = "stats")]
* Only ask for --yjit-stats with dev builds on cirrus CI
* Re... -
10:51 PM Bug #18818: Thread waitq does not retain referenced objects, can lead to use after free.
- @ko1 you mentioned you had some ideas to fix this. What would you like to do?
-
10:49 PM Feature #18630: Introduce general `IO#timeout` and `IO#timeout=` for blocking operations.
- I'm proposing to introduce the following:
```ruby
class TimeoutError < StandardError
end
class IO::TimeoutError < T... -
10:19 PM Misc #18977: DevMeeting-2022-09-22
- - [Feature #19008] Introduce coverage support for `eval`.
- Working implementation.
- Can introduce some challeng... -
10:01 PM Bug #18782 (Closed): Race conditions in autoload when loading the same feature with multiple threads.
- I've confirmed after my PRs, this issue cannot be reproduced on HEAD.
-
09:08 PM Feature #16122: Data: simple immutable value object
- zverok (Victor Shepelev) wrote in #note-75:
> * I am not sure that "naming as a first argument" is a widely used fea... -
06:16 PM Feature #16122: Data: simple immutable value object
- @nobu Thanks!
I've applied all suggestions for the code review, except for [this one](https://github.com/ruby/ruby... -
06:17 PM Revision a8dc49b4 (git): YJIT: Support MAKE=bmake for release build
- This add support for bmake, which should allow building with
`configure --enable-yjit` for the BSDs. Tested on FreeBS... -
02:13 PM Bug #19012: BasicSocket#recv* methods return an empty packet instead of nil on closed connections
- I opened a PoC patch for it: https://github.com/ruby/ruby/pull/6407
-
01:52 PM Bug #19012 (Closed): BasicSocket#recv* methods return an empty packet instead of nil on closed connections
- `man recvmsg(2)` states:
> Return Value
> These calls return the number of bytes received, or -1 if an error occu... -
01:25 PM Revision b3d8ddde (git): Try to ignore a noisy ASAN warning for continuation
-
12:52 PM Revision 2fb900e6 (git): merge revision(s) 035978d7be9bc3819f42f964fe6193d983cce63f,2e324b645e16e67c14de80ea34b1d61165045f22,b6a9e683917745df2822a611fce64df9ae8090a7:
- Pass job-server FDs to bundler tests
---
common.mk | 4 ++--
1 file changed, 2 insertions(+... -
10:58 AM Feature #10320: require into module
- vo.x (Vit Ondruch) wrote in #note-24:
> I'd love to see if RubyGems/Bundler could stop vendoring packages:
>
> ht... -
10:35 AM Revision 967f1251 (git): merge revision(s) c8d94d2797f798e2666a057bb1940e1ffe41b717:
- Now test-bundler nees fake.rb
---
common.mk | 2 +-
1 file changed, 1 insertion(+), 1 delet... - 09:46 AM Revision 6b099328 (git): * 2022-09-20 [ci skip]
-
09:46 AM Revision 6ff627e5 (git): update ubuntu 18.04 for github actions
-
09:46 AM Revision 13354c02 (git): zlib-1.2.11 is removed at zlib.net
-
09:46 AM Revision 302e3668 (git): The tzdata 2022c removed Amsterdam Mean Time
-
09:46 AM Revision 4c7ae840 (git): Use autoreconf -i instead of autoconf
- 07:50 AM Revision b5fdd17c (git): * 2022-09-20 [ci skip]
-
07:50 AM Revision 15615566 (git): The tzdata 2022c removed Amsterdam Mean Time
- 07:09 AM Revision e40fa6c4 (git): [DOC] socket: fix wrong sample addresses (#6372)
- IPv6 link local address is fe80::/10 not ff80::/10:
https://www.rfc-editor.org/rfc/rfc4291.html
Link-Local unic... -
03:55 AM Revision 92b2bc51 (git): merge revision(s) 8794cc62899c6447fa4451489b9e308e2a890595,3ff53c8e04ecc91e0190de6d5950ecce2a2ea188:
- Tentatively put macOS CIs back with adding macOS 12
---
.github/workflows/macos.yml | 99 ++++++++++... -
03:54 AM Revision 9de11fe7 (git): Quiet if the target is already linked the same source
-
02:12 AM Revision 55e540f7 (git): Ignore EPERM which means already being process-leader
-
12:43 AM Revision b4546d26 (git): Fix the trailing comma comment for builtin [ci skip]
- so that it's clear why not args.last but args[1]
09/19/2022
-
10:38 PM Revision 76a0e81f (git): Support trailing commas in builtin
- `foo(Primitive.cexpr!('Qnil'),)` causes SEGV without this change.
-
09:07 PM Revision f8dad616 (git): YJIT: Show --yjit-stats of railsbench on CI (#6403)
- * YJIT: Show --yjit-stats of railsbench on CI
* YJIT: Use --enable-yjit=dev to see ratio_in_yjit
* YJIT: Show maste... -
05:23 PM Feature #10320: require into module
- I'd love to see if RubyGems/Bundler could stop vendoring packages:
https://github.com/rubygems/rubygems/tree/maste... -
08:32 AM Feature #10320: require into module
- @duerst / @shyouhei
The main goal is to avoid accidental dependency. By not exposing some namespaces globally, yo... -
08:25 AM Feature #10320: require into module
- shyouhei (Shyouhei Urabe) wrote in #note-21:
> May I ask someone the problem this ticket is currently trying to addr... -
04:27 PM Misc #18977: DevMeeting-2022-09-22
- * [Feature #18776] Object shapes as new caching system
* YARV interpreter benchmarks are similar speed or faster
... -
04:26 PM Feature #19011 (Open): Improve LSP support in CRuby development itself
- I would like to add a new configure option for improve working with language servers inside CRuby itself.
The summ... -
03:44 PM Revision 26135312 (git): [ruby/psych] Convert some of Parser#parse to Ruby
- This commit just converts some of the parse method to Ruby
https://github.com/ruby/psych/commit/bca7d2c549 -
02:40 PM Revision 12889fad (git): [ruby/bigdecimal] Remove symbol defs in missing.h for old Rubies
- Commit 2885514 added these to support Ruby 2.1. The rb_sym2str function
is defined since Ruby 2.2.
https://github.co... -
02:40 PM Revision a44f48ca (git): [ruby/bigdecimal] Remove array defs in missing.h for old Rubies
- Commit 02b6053 added these to support Ruby 2.0.0. The rb_array_const_ptr
function is defined since Ruby 2.3.
https:/... -
07:34 AM Revision 5883bc7c (git): YJIT: Check if the processor supports --yjit-stats (#6401)
- * YJIT: Add asm comment for incr_counter
* YJIT: Check if the processor supports --yjit-stats -
06:34 AM Revision ae073365 (git): Reduce fork calls in daemon
- The forked child process is a grandchild process from the viewpoint of
the process which invoked the caller process. ... -
06:34 AM Revision 1c938128 (git): Add another test for `Process.daemon`
- Check for that the daemon process is detached, that means it is not a
child and not waitable. -
06:13 AM Revision 7cab7e5f (git): Stop recommending duplicated options [ci skip] (#6400)
- 06:09 AM Revision e75d9636 (git): Only exit if ruby2_keywords and splat together (#6395)
- Before this change railsbench spent less time in yjit than before splat. This brings it back to parity.
-
05:15 AM Revision 12e5e5b5 (git): Fix the option name in the error message [ci skip]
-
03:32 AM Bug #18912: Build failure with Xcode 14 and macOS 13 (Ventura) Beta
- According to the experiments by @katei, the followings are ok.
* `IO.popen`
```ruby
p IO.popen("-") { |f|
if ...
09/18/2022
-
10:20 PM Feature #19010: Follow up of #18996: Support changing irb's autocompletion background
- I agree and support your arguments.
Thank you for the detailed explanation and the reline's reference. -
09:30 PM Feature #19010: Follow up of #18996: Support changing irb's autocompletion background
- kaiquekandykoga (Kaíque Koga) wrote in #note-1:
> Perhaps keeping the current irb's colors as one alternative
`ir... -
05:29 PM Feature #19010: Follow up of #18996: Support changing irb's autocompletion background
- I like the idea of having multiple themes. I use light screen for everything, and I enjoy the way irb is currently di...
-
02:18 PM Feature #19010 (Closed): Follow up of #18996: Support changing irb's autocompletion background
- If the APIs proposed in #18996 (or similar ones) are accepted, we'll be able to configure `irb`'s autocompletion dial...
-
04:09 PM Revision ea224036 (git): Extract UNICODE_DOWNLOADER
-
04:09 PM Revision cc533cb6 (git): Downloader: Define long option aliases
-
04:09 PM Revision a0b0991e (git): Downloader: Define per-class command line options
- Move `Downloader::Unicode` specific options, and parse options after
the downloader specificier. -
04:01 PM Bug #19007: Unicode tables differences from Unicode.org 14.0 data
- https://github.com/nobu/ruby/tree/emoji
-
12:21 PM Revision e2e1058e (git): Include lib/mjit/instruction.rb in a snapshot
- baseruby shouldn't be necessary once a snapshot is built.
-
12:16 PM Revision 45ecc30a (git): Move mjit/instruction.rb rule to common.mk
- as suggested by nobu. We don't really need to generate this for Windows,
but using common.mk whenever possible would ... -
11:42 AM Revision 0ca037b3 (git): Update bindgen crate (#6397)
- to get rid of deprecated indirect dependency, ansi_term
-
11:15 AM Bug #19009: Unable to install pod on M1 Mac
- https://www.youtube.com/watch?v=Nropa9Qj37s&ab_channel=DavidRazmadze
I could find solution in the above video -
09:53 AM Bug #19009 (Third Party's Issue): Unable to install pod on M1 Mac
- see https://bugs.ruby-lang.org/issues/18555#note-6
-
07:12 AM Bug #19009 (Third Party's Issue): Unable to install pod on M1 Mac
- I am trying to install the pod, "CLTying" using the command
platform :ios, '9.0'
target 'Flash Chat iOS13' do... -
10:55 AM Feature #18996: Proposal: Introduce new APIs to reline for changing dialog UI colours
- k0kubun (Takashi Kokubun) wrote in #note-1:
> JFYI, I'm one of the people who are disabling IRB completion, but it... -
10:43 AM Feature #10320: require into module
- May I ask someone the problem this ticket is currently trying to address? I’m confused.
-
05:39 AM Revision a988fe0b (git): Introduce --basedir to insns2vm.rb
- and leverage that to preserve the directory structure under tool/ruby_vm/views
-
05:21 AM Revision 12023c83 (git): Revert "Preserve the directory structure under tool/ruby_vm/views"
- This reverts commit 62ec621f8c7457374d1f08aec97138ac1b7bdf2a.
will revisit this once fixing non-MJIT targets -
05:19 AM Revision 62ec621f (git): Preserve the directory structure under tool/ruby_vm/views
- for nested target directories
-
05:04 AM Revision 0e816e6d (git): Demote mjit_instruction.rb from builtin to stdlib
-
02:47 AM Bug #18912: Build failure with Xcode 14 and macOS 13 (Ventura) Beta
- Thank you, then is it ok if `CFString` has been initialized first?
```diff
diff --git a/file.c b/file.c
index de... -
12:01 AM Feature #19008: Introduce coverage support for `eval`.
- @mame thanks for all your feedback and edge cases. I have this working now (proof of concept).
(1) How to deal wit...
09/17/2022
-
09:35 PM Feature #19008: Introduce coverage support for `eval`.
- I'm against introducing a keyword argument to `eval`. `coverage` implementation should not leak into unrelated code.
-
08:40 PM Feature #19008: Introduce coverage support for `eval`.
- In terms of ERB template coverage, I recently added support to Tilt for it. Tilt is the library used by Sinatra, Roda...
-
10:15 AM Feature #19008: Introduce coverage support for `eval`.
- Basically I am okay to this proposal. When I first created coverage.so, I tried to support eval. But @ko1 objected to...
-
09:56 AM Feature #19008 (Closed): Introduce coverage support for `eval`.
- I'd like to introduce coverage support for `eval`. I mostly only care about the case where an explicit path is given,...
-
03:10 PM Revision 67417e79 (git): Replace revision.tmp with the HAVE_BASERUBY trick
- but without relying on replacement.
This seems to work on OpenBSD as well. -
02:44 PM Revision 39f91bc2 (git): Always generate non-empty revision.h
- Non-GNU make seems to generate empty revision.h, but it doesn't make
sense since https://github.com/ruby/ruby/pull/63... -
02:05 PM Revision 922e61fc (git): Remove git command existence check again
- With 33c6dd2cc89c27bbf406508ec39038a181fb99bc, it's no longer necessary.
This is what I got on openbsd-current:
```... -
01:24 PM Revision 33c6dd2c (git): Fallback to VCS.release_date on VCS::NotFoundError
- when -q is given.
One of the RubyCI servers, freebsd12, had a broken git environment:
```
$ git show
fatal: detecte... -
01:08 PM Revision 1825d367 (git): Skip test_wait on MinGW CI
- This test has been unstable, and it seems like we're not interested in
fixing that for MinGW.
https://github.com/ruby... -
12:16 PM Revision 38a7a13a (git): Auto-generate the release date on version.h from git CommitDate (#6382)
- * Auto-generate the release date on version.h
from git CommitDate
* Generate revision.h on mswin -
11:29 AM Bug #18912: Build failure with Xcode 14 and macOS 13 (Ventura) Beta
- I've been doing some digging around the `TestProcess#test_daemon_noclose` test failure.
Minimum reproducible code is ... -
07:47 AM Bug #18912: Build failure with Xcode 14 and macOS 13 (Ventura) Beta
- Xcode 14 has been released. The all stable versions of Ruby couldn't build with Xcode 14.
We fixed this issue at R... -
09:08 AM Revision afb59710 (git): Merge RubyGems-3.3.22 and Bundler-2.3.22
-
07:55 AM Feature #19006 (Closed): Inconsistent behaviour of autoload in wrapped script
-
05:13 AM Feature #19006: Inconsistent behaviour of autoload in wrapped script
- Rethinking this, `autoload` can fairly easily be patched at the gem level to make this work, without changes at the l...
-
04:42 AM Feature #19006: Inconsistent behaviour of autoload in wrapped script
- > It was never designed to be transitive, nor documented as being transitive, so I don't think the current behavior i...
-
03:55 AM Feature #19006: Inconsistent behaviour of autoload in wrapped script
- When loading `foo.rb` with the `MyModule` wrapper, you are loading the equivalent of:
```ruby
module MyModule
... -
02:35 AM Feature #19006: Inconsistent behaviour of autoload in wrapped script
- This is related to: https://bugs.ruby-lang.org/issues/10320#note-13
-
01:49 AM Feature #19006 (Closed): Inconsistent behaviour of autoload in wrapped script
- Suppose I have two files, `foo.rb` and `bar.rb`:
```ruby
# foo.rb
puts "loading Foo..."
module Foo
autol... -
06:59 AM Revision b3969f76 (git): Merge openssl-3.0.1
- The changes can be found at:
https://github.com/ruby/openssl/compare/v3.0.0...v3.0.1 -
05:06 AM Bug #19003: TracePoint behavior inconsistency in 3.2.0-preview2
- jeremyevans0 (Jeremy Evans) wrote in #note-2:
I just saying this behavior is inconsistent between versions.
Cur... -
05:05 AM Bug #18816: Ractor segfaulting MacOS 12.4 (aarch64 / M1 processor)
- ruby_3_1 99d254d8b025fd952375ed15c345ecc1b806652a merged revision(s) de51bbcb544651fb499dd4cc757a2bf6f3b439cf.
-
05:05 AM Revision 99d254d8 (git): merge revision(s) de51bbcb544651fb499dd4cc757a2bf6f3b439cf: [Backport #18816]
- Use VM Lock when mutating waiting threads list
`rb_thread_wait_for_single_fd` needs to mutate the `waiting_f... -
04:30 AM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
- Thanks! I've confirmed this solves the problem and that the linker adds this argument.
Could this patch be backpor... -
03:10 AM Bug #19005 (Closed): Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
- Applied in changeset commit:git|6898984f1cd1b0375c3da44d7832724489e0e470.
----------
[Bug #19005] dynamic_lookup lin... -
04:10 AM Bug #19007 (Closed): Unicode tables differences from Unicode.org 14.0 data
- I found the header in Unicode Emoji 14.0 data files had changed slightly (and again at 15.0), but `enc/unicode/case-f...
-
03:37 AM Revision ca4cbe59 (git): Move case-folding.rb to tooldir with enc-prefix
-
03:37 AM Revision e9982fd6 (git): Derive UNICODE_EMOJI_VERSION from UNICODE_VERSION
-
03:37 AM Revision 03ce48da (git): Emoji files header changed at 15.0 again
-
03:37 AM Revision 76c00565 (git): Follow emoji data files header change
- The header of emoji data files in UCD, which were moved at 13.0.0, has
been changed since 14.0.0. It seems to be the... -
03:09 AM Revision 6898984f (git): [Bug #19005] dynamic_lookup linker option in external libraries
- The warning against `-undefined dynamic_lookup` is just a warning yet,
and many gems seem to pay no attention to warn... -
02:32 AM Feature #10320: require into module
- @shyouhei
> Pure-ruby codes could perhaps be loaded multiple times side-by-side
Not multiple times, loaded only onc... -
02:00 AM Feature #10320: require into module
- > This NilClass definition, even if reassigning global ::NilClass doesn't have any effect on nil though, isn't it?
Or... -
01:53 AM Feature #10320: require into module
- > I have only quickly skimmed Im, so I may say innacurate things, but it seems to me that what would be desirable wou...
09/16/2022
-
09:45 PM Feature #10320: require into module
- > Loading ActiveRecord::Base won't work because when it tries to dynamic-link libpq.so or libmysqlclient.so or whatev...
-
10:52 AM Feature #10320: require into module
- It is declared that `dlopen` will not fail in such cases.
https://pubs.opengroup.org/onlinepubs/9699919799/functions... -
07:34 AM Feature #10320: require into module
- Pure-ruby codes could perhaps be loaded multiple times side-by-side, but the problem is a DLL.
Loading ActiveRecord:... -
06:52 AM Feature #10320: require into module
- This NilClass definition, even if reassigning global ::NilClass doesn't have any effect on nil though, isn't it?
Or ... -
07:55 PM Feature #18776: Object Shapes
- The performance numbers look good and I'm very happy with the improvements that you've made wrt shape ids being 32 bi...
-
05:58 PM Bug #19003: TracePoint behavior inconsistency in 3.2.0-preview2
- This issue shows a case where you are adding a local tracepoint during global tracepoint processing. There are a coup...
-
05:48 PM Bug #18983: Range#size for beginless Range is not nil.
- Returning Infinity for numeric ranges bounded in either direction is expected (there are tests explicitly for it).
... -
05:25 PM Feature #15371 (Closed): IRB with ARGV
- Applied in changeset commit:git|b07db967441161a84386bcbbb41d990a2f3ad31c.
----------
[ruby/irb] Support --noscript o... - 05:25 PM Revision e3a32abe (git): * 2022-09-17 [ci skip]
-
05:25 PM Revision b07db967 (git): [ruby/irb] Support --noscript option to not use first non-option argument as script
- Also add --script option to turn the option back on.
Previously there wasn't a way to get an interactive IRB session... -
01:47 PM Revision 64200990 (git): [ci skip] Fix typos in documentation in io.c
-
01:25 PM Revision 87463832 (git): merge revision(s) a28e7871e54d7a87afbfd686291c500d71edb7cb:
- Update bundled_gems
Try latest patch to avoid some race on Mac OS X.
---
gems/bundled_gems ... -
01:19 PM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
- Yes, it's only a few gems that previously depended on `-undefined,dynamic_lookup` being present as a linker argument....
-
06:06 AM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
- Ah, Sorry. I misunderstood. I could install other native extensions like ffi, hiredis and eventmachine.
this issue... -
05:59 AM Bug #19005 (Open): Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
- `ruby_3_1` head already fixed a similar issue with bundle loader. But I could reproduce https://bugs.ruby-lang.org/is...
-
05:19 AM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
- I think we can close this issue, unless someone thinks we might want to relax the `configure` check so that the `-und...
-
04:15 AM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
- A related issue was discussed in https://gitlab.kitware.com/vtk/vtk/-/issues/17214#note_385533 in the context of Pyth...
-
04:14 AM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
- nobu (Nobuyoshi Nakada) wrote in #note-5:
> What is the version of ruby you are using?
ruby 2.7.6p219 (2022-04-12... -
03:05 AM Bug #19005 (Feedback): Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
- What is the version of ruby you are using?
-
01:39 AM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
- `ffi-yajl` expects to run `dlopen` to bring in these symbols: https://github.com/chef/ffi-yajl/blob/2ac7f207c0850a762...
-
01:18 AM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
- It's possible this is a problem with the respective gems. In https://github.com/pganalyze/pg_query/issues/255#issueco...
-
12:15 AM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
- I should note that it's also possible to workaround the issue by compiling the interpreter with `DLDFLAGS="-Wl,-undef...
-
11:44 AM Revision 5b735d0b (git): Invalidate i-cache after link_labels (#6388)
-
10:25 AM Misc #18977: DevMeeting-2022-09-22
- - [Feature #18885] End of boot advisory API (byroot)
- The general concept was accepted, but it need a proper name... -
09:54 AM Revision a28e7871 (git): Update bundled_gems
- Try latest patch to avoid some race on Mac OS X.
-
08:05 AM Revision 6ad69944 (git): Omit a DRb test on MinGW
- This test seems to leak a thread and let TestIOWait fail:
https://github.com/ruby/ruby/actions/runs/3065426880/jobs/4... - 06:13 AM Revision 6be430ef (git): * 2022-09-16 [ci skip]
-
06:12 AM Revision 7900a9bd (git): Backport https://github.com/ruby/ruby/pull/6193
- Co-authored-by: Yuta Saito <[email protected]>
- 06:11 AM Revision a62cfce7 (git): * 2022-09-16 [ci skip]
-
06:11 AM Revision 31bc55dc (git): Backport https://github.com/ruby/ruby/pull/6193
- Co-authored-by: Yuta Saito <[email protected]>
-
05:46 AM Revision c8d94d27 (git): Now test-bundler nees fake.rb
- 04:37 AM Revision 3ff65dcd (git): * 2022-09-16 [ci skip]
- 04:37 AM Revision 2387fbfb (git): Fix splat args (#6385)
- * Fix splat args
Cfuncs were not working properly so I disabled them right now.
There were some checks above that w...
Also available in: Atom