[#105450] [Ruby master Feature#18228] Add a `timeout` option to `IO.copy_stream` — "byroot (Jean Boussier)" <noreply@...>
SXNzdWUgIzE4MjI4IGhhcyBiZWVuIHJlcG9ydGVkIGJ5IGJ5cm9vdCAoSmVhbiBCb3Vzc2llciku
11 messages
2021/09/27
[ruby-core:105206] [Ruby master Bug#18159] Integrate functionality of dead_end gem into Ruby
From:
duerst <noreply@...>
Date:
2021-09-12 02:00:53 UTC
List:
ruby-core #105206
Issue #18159 has been updated by duerst (Martin D=FCrst). Target version set to 3.1 Assignee set to matz (Yukihiro Matsumoto) schneems (Richard Schneeman) wrote in #note-2: > For additional context for anyone who could not see the presentation, I u= ploaded my RubyKaigi talk as unlisted on YouTube https://youtu.be/DfGG77zVV= R4. This is now also available 'officially' at https://youtu.be/oL_yxJN8534. > Skip ahead for a demo of `dead_end` parsing source code at 12:51. And the= n, I do a walk-through of how the algorithm internals works from 15:08 unti= l the end. I think in this issue, what's more important than the parser or algorithm u= sed is how to integrate it into Ruby. My guess is that the easiest way woul= d be to integrate it in the same way as the 'did_you_mean' and 'error_highl= ight' gems. @schneems: Can you look at whether an integration similar to did_you_mean' = and 'error_highlight' is easy/possible? I've put this on the agenda of this= week's dev meeting (issue #18122, Thursday Japan time), so any additional = information we can get before would be great. ---------------------------------------- Bug #18159: Integrate functionality of dead_end gem into Ruby https://bugs.ruby-lang.org/issues/18159#change-93612 * Author: duerst (Martin D=FCrst) * Status: Open * Priority: Normal * Assignee: matz (Yukihiro Matsumoto) * Target version: 3.1 * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN ---------------------------------------- Missing 'end' errors are difficult to fix. We should integrate the function= ality of the dead_end gem (https://github.com/zombocom/dead_end) into Ruby = similar to how we integrated did_you_mean. It would greatly help programmin= g Ruby, in particular for beginners. See also Ruby Kaigi Takeout 2021 talk by Richard Schneeman https://rubykaig= i.org/2021-takeout/presentations/schneems.html. -- = https://bugs.ruby-lang.org/ Unsubscribe: <mailto:[email protected]?subject=3Dunsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>