Activity
From 08/19/2019 to 08/25/2019
08/25/2019
-
08:47 PM Bug #14121 (Closed): test-all - rename duplicate classes for consistent test count
- Commited in commit:dd3851d2786412de019350a11e749c56fa5a07cc.
-
08:45 PM Bug #14102 (Rejected): Date.strptime ignores constraints provided by day name
-
08:41 PM Bug #14069 (Rejected): Document order of elements in Set
-
08:40 PM Bug #14053 (Closed): Problem with case/when menus in ruby 2.5.0dev (2017-10-25) [x86_64-linux] - semi-random tracebook of different errors (NODE_STR, NODE_ARGS etc...) and also segfaults sometimes
-
08:36 PM Bug #13970 (Rejected): Base64 urlsafe_decode64 unsafe use of tr.
- I don't think this is a bug. Most pure Ruby code assumes and does not check that method arguments respond to all methods that the code expects them to respond to. It's generally considered a smell to take code like:
```ruby
def foo(... -
08:24 PM Bug #14028 (Closed): RubyVM logic backported into Ruby 2.3 tests
-
08:20 PM Bug #14010 (Closed): RubyVM logic in forwardable backported to 2.3, not removed
-
08:20 PM Bug #13980: Rounding failure on i686 (i386).
- Does this rounding error still occur on Fedora i686?
-
08:16 PM Bug #13917 (Rejected): Comparable#clamp is slower than using Array#min,max.
-
08:02 PM Bug #13700 (Closed): Enumerable#sum may not work for Ranges subclasses due to optimization
- Applied in changeset commit:git|e496e96547b64c3a2fa6f285c3bc9bd21a245ac6.
----------
Document that Enumerable#sum may not respect redefinition of Range#each
It already documented that it may not respect redefinition
of Integer#+.
Fixe... -
07:53 PM Revision b4dfac2c (git): Fix ArgumentError in expand_tabs.rb
- This fixes the following in my environment:
misc/expand_tabs.rb:29:in `=~': invalid byte sequence in US-ASCII (ArgumentError)
This switches from =~ to start_with? as a regular expression is
not actually needed here. -
07:50 PM Revision e496e965 (git): Document that Enumerable#sum may not respect redefinition of Range#each
- It already documented that it may not respect redefinition
of Integer#+.
Fixes [Bug #13700] -
07:17 PM Bug #13688: Thread overflow hangs ruby (not responding ^C)
- This bug still occurs in the master branch. Attached is a patch that fixes it by checking for interrupts before calling the thread's proc.
-
06:28 PM Bug #13675: Should Zlib::GzipReader#ungetc accept nil?
- If we want to fix `IO#ungetc`, attached is a patch that will fix it.
-
06:19 PM Bug #13674 (Closed): BigDecimal comparison with Float::INFINITY is erroneous in 2.2.x and 2.3.x
-
06:13 PM Bug #13612 (Closed): Segmentation Fault
-
06:06 PM Bug #13441 (Closed): building - GIT variable, ruby, rubygems tests
-
06:05 PM Bug #13171 (Rejected): URI::FTP path has a trailing slash when just hostname and scheme provided
- This doesn't appear to be a bug, even if the behavior is slightly inconsistent between URI::HTTP and URI::FTP. If you can show an actual problem caused by the inconsistency, please reply.
-
06:00 PM Bug #13431 (Closed): sample/drb/http0*.rb is not working.
- Applied in changeset commit:git|71d97a5ef80a23b0bb1005570ed059580981a467.
----------
Fix sample/drb/http0serv.rb
Previously, trying to use this would result in:
undefined method `uri' for #<DRb::HTTP0::ServerSide:0x00000aec9f1637f8> (... -
05:56 PM Revision 71d97a5e (git): Fix sample/drb/http0serv.rb
- Previously, trying to use this would result in:
undefined method `uri' for #<DRb::HTTP0::ServerSide:0x00000aec9f1637f8> (NoMethodError)
Also, use a relative require to load sample/drb/http0.rb.
Fixes [Bug #13431] -
05:11 PM Bug #12961: Bad value for range using infinity for Date or Time
- I've submitted a pull request to allow `-Float::Infinity...Date.today`: https://github.com/ruby/date/pull/13
-
03:52 PM Feature #16128 (Open): Would it be possible for ruby to warn about case/when menu options separated by a trailing, but accidental ','?
- I was not sure whether the following behaviour is a bug or not, so I filed this under "feature", mostly because
this may change existing behaviour; and even if I think the current behaviour in this context may not make a
lot of sense, ... -
02:08 PM Revision 365e5b38 (git): configure.ac: Improve icc_version guessing for non-icc environment
- icc_version was wrongly defined as "__ICC" on non-icc C compiler, which
caused a warning:
```
./configure: line 8211: test: __ICC: integer expression expected
```
This change adds a sed commend to delete "__ICC". -
01:16 PM Revision 11f7c30f (git): configure.ac: fix the guess of icc_version
- The icc_version guessing was accidentally disabled because of
61885c9b7ca8ccdaf53d7c365fbb86bad3294d88; `AC_PROG_CC_C99` changes
CC like "icc -std=c99", and `AS_CASE(["x$CC"], [xicc],` does not match.
The variable `icc_version` is event... -
11:44 AM Misc #16125: Remove the reserved member from rb_data_type_t as the addition of the compactor callback pushed it over a single cache line
- nobu (Nobuyoshi Nakada) wrote:
> methodmissing (Lourens Naudé) wrote:
> ...
Thanks for the clarification Nobu - I was thrown off by the `pahole` report which did not recognize the consumed element. Would it still make sense to formally... -
11:10 AM Revision fa5f7771 (git): Drop duration from AppVeyor notification
- The format is a little weird, and not so helpful either.
-
10:29 AM Revision 6944a1aa (git): lib/webrick.rb: use require_relative for webrick/utils.rb
- `require "webrick/utils.rb"` should load `lib/webrick/utils.rb`, but on
some CI machines, it wrongly loads `test/webrick/utils.rb`, which caused
circular require warning:
https://rubyci.org/logs/rubyci.s3.amazonaws.com/ubuntu/ruby-maste... -
09:27 AM Revision c775ab5e (git): `local_path?` is a class method [ci skip]
-
07:59 AM Revision cc6fe152 (git): tool/lib/vcs.rb: explicitly fail when notes/commits is not available
-
07:10 AM Bug #16127 (Closed): Delegates to BasicObject do not work
- The delegate library does not currently handle BasicObject targets, since it assumes the target responds to `respond_to?`. The attached patch works around the issue by binding the Kernel `respond_to?` instance method to the target and t...
-
07:06 AM Bug #13264: Binding#irb does not work in context of frozen object
- This is still a bug in the master branch of irb. I've submitted a pull request to fix it by using a delegate: https://github.com/ruby/irb/pull/24
-
04:58 AM Revision 1b03d2d7 (git): Revert workaround
-
02:39 AM Revision 5decf66a (git): Inspect dynamic symbol as well as static symbol
-
02:38 AM Revision b341e98b (git): Simplified f13a00f5b4 [ci skip]
-
02:24 AM Revision f13a00f5 (git): Export all commits as ChangeLog when no starting commit is found [ci skip]
-
12:23 AM Bug #13249: Access modifiers don't have an effect inside class methods in Ruby >= 2.3
- The warning discussed has not been added yet. Attached is a patch that implements it. While it passes `make check`, there may be corner cases it doesn't handle. I would appreciate review of the changes to `vm_cref_set_visibility`.
...
08/24/2019
-
09:51 PM Misc #16125: Remove the reserved member from rb_data_type_t as the addition of the compactor callback pushed it over a single cache line
- methodmissing (Lourens Naudé) wrote:
> I'm wondering what the `reserved` member was originally intended for, given introducing the `dcompact` member basically already broke binary compatibility by changing the struct size from `64` -> `... -
12:45 PM Misc #16125 (Rejected): Remove the reserved member from rb_data_type_t as the addition of the compactor callback pushed it over a single cache line
- References PR https://github.com/ruby/ruby/pull/2396
I noticed that since the introduction of the `GC.compact` API, struct `rb_data_type_t` spans multiple cache lines with the introduction of the `dcompact` function pointer / callback... -
09:08 PM Misc #16126 (Closed): Fix small docs inconsistencies
- Applied in changeset commit:git|04735c48ab44c97cbfd5a5cd37f9a1696e2f5a2b.
----------
Minor documentation fixes [ci skip]
From zverok (Victor Shepelev)
Fixes [Misc #16126] -
09:07 PM Misc #16126: Fix small docs inconsistencies
- Thanks for the patch, I will merge it shortly.
-
05:35 PM Misc #16126 (Closed): Fix small docs inconsistencies
- The patch with some small-ish fixes:
* Enumerator refers to `#enum_for`/`#to_enum` under `Kernel`, while in fact they are documented under `Object`;
* `Kernel#warn` has outdated call sequence;
* `ClosedQueueError` is not mentioned in ... -
09:05 PM Revision 04735c48 (git): Minor documentation fixes [ci skip]
- From zverok (Victor Shepelev)
Fixes [Misc #16126] -
04:09 PM Revision e1c991f8 (git): Move Object#hash rdoc to hash.c [ci skip]
- This gets RDoc to pick up the documentation correctly.
Problem pointed out by zverok (Victor Shepelev). - 03:51 PM Revision cf5516de (git): * 2019-08-25 [ci skip]
-
03:50 PM Revision 03ee12a3 (git): Add workaround (2nd try)
- https://rubyci.org/logs/rubyci.s3.amazonaws.com/gentoo/ruby-master/log/20190824T153002Z.fail.html.gz
```
/home/gentoo/chkbuild/tmp/build/20190824T153002Z/ruby/tool/lib/vcs.rb:577:in `export_changelog': cannot find the beginning revision ... -
03:04 PM Misc #16124 (Assigned): Let the transient heap belong to objspace
-
12:43 PM Misc #16124: Let the transient heap belong to objspace
- The global method cache note references PR https://github.com/ruby/ruby/pull/2302
-
12:41 PM Misc #16124 (Rejected): Let the transient heap belong to objspace
- As per comment from Nobu in https://github.com/ruby/ruby/pull/2303#issuecomment-523248875 , I took an initial stab @ a tighter integration between objspace and the transient heap in https://github.com/ruby/ruby/pull/2400
### Benefits
... -
02:56 PM Bug #13102: Confusing method name: Set#delete?
- Eregon (Benoit Daloze) wrote:
> This is at least inconsistent with Array#delete, which could be used for the same case as above but doesn't end with a `?`.
This is not exactly true, as `Set#delete?` returns self and not the item if d... -
06:45 AM Bug #13102: Confusing method name: Set#delete?
- This is at least inconsistent with Array#delete, which could be used for the same case as above but doesn't end with a `?`.
I don't think there are many good examples for predicates with side effects, is it?
A good part of the Set AP... -
03:27 AM Bug #13102 (Rejected): Confusing method name: Set#delete?
- I don't think this is a bug, I believe it is intentional. Using `?` for mutating methods is uncommon, but not wrong. You can use these like predicate methods, which is probably why they end in `?`:
```ruby
if set.delete?(object)
... -
02:17 PM Revision df348310 (git): Add workaround for some CIs
- https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian8/ruby-master/log/20190824T093005Z.fail.html.gz
```
branches:
* trunk
remotes/origin/trunk
```
and
```
fatal: Remote branch master not found in upstream origin
``` -
12:26 PM Revision 5d5502dc (git): Fix typos
-
11:31 AM Revision 571ffcd6 (git): ext/psych/yaml/api.c: Suppress a "variable set but not used" warning
- ```
compiling ../.././ext/psych/yaml/api.c
../.././ext/psych/yaml/api.c: In function 'yaml_document_delete':
../.././ext/psych/yaml/api.c:1122:7: warning: variable 'context' set but not used [-Wunused-but-set-variable]
} context;
... -
10:57 AM Feature #16113: Partial application
- > If `#curry` gets support for keyword arguments, would it suffice for this case
I don't think so, unfortunately.
1. Of my examples, it covers only `JSON.parse`
* It doesn't cover non-keyword arguments, which, I believe, it sho... -
10:37 AM Feature #16122: Data: simple immutable value object
- > What would a simple implementation of `Struct::Value.new` look like in Ruby code?
Oh, I've probably answered the wrong question... But I am not quite sure I understand yours.
Theoretically, it is just something like this (ignorin... -
10:17 AM Feature #16122: Data: simple immutable value object
- @Eregon, here is rendered version of class' docs: https://zverok.github.io/ruby-rdoc/Struct-Value.html
Basically, it is what is said on the tin: like Struct, just leaner. -
06:55 AM Feature #16122: Data: simple immutable value object
- This sounds interesting to me.
What would a simple implementation of Struct::Value.new look like in Ruby code?
I'm not quite sure what the available API is since it's all described as Struct - some methods. -
07:22 AM Revision 97ad7862 (git): Add debug print
- matser branch not found on some CIs
https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian9/ruby-master/log/20190824T063005Z.fail.html.gz
```
fatal: Remote branch master not found in upstream origin
``` -
06:14 AM Bug #13948 (Closed): Segfault instead of recursion depth error
-
05:10 AM Feature #12093: Eval InstructionSequence with binding
- > does this suffice your use case?
Interesting, I'll need to investigate this - it certainly has potential.
My use case is for experimental tracing work, and I basically want to be
able to pre-compile original source with added in... -
03:21 AM Bug #12702 (Rejected): DRb client fails when calling out-of-process remote method with a block
- This is a bug in your code, you are not calling `DRb.start_service` in the client program. The client program needs a DRb server running in order to handle the sending-block-to-remote-method case. See the example in the "Client code" s...
-
02:36 AM Bug #12649 (Third Party's Issue): DateTime method calls hang
-
02:35 AM Bug #12615 (Closed): Pathname#rename does not work across filesystem boundaries.
-
02:34 AM Bug #12494 (Closed): win32/resolv.rb may add outdated nameservers
-
02:28 AM Bug #12453 (Closed): 2.3.1p112 version running demo of array methods about 3x slower than running it with 2.2.0p0 version
-
01:57 AM Feature #16120: Omitted block argument if block starts with dot-method call
- Hi,
> So I strongly believe all these feature requests should to be considered together in order to make a decision.
Agreed. And, #15723 (a numbered parameter) is only one proposal that is all-purpose, though I don't like it so mu... -
12:59 AM Feature #16120: Omitted block argument if block starts with dot-method call
- I think there's a misunderstanding because this proposal doesn't collide with existing parser behavior. `[].each{ .method }` is currently a SyntaxError.
@osyo wrote:
> However, I think it is difficult to parse in the following cases.... -
01:20 AM Revision fe83ed47 (git): Try to fix `make dist` error on chkbuild
- https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian9/ruby-master/log/20190823T213004Z.fail.html.gz
https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian8/ruby-master/log/20190824T003006Z.fail.html.gz -
12:30 AM Feature #16123: Allow calling a private method with `self.`
- Here is a script to help demonstrate the inconsistency, where `self.bar = 123` is allowed by `self.bar` is not.
```ruby
class Foo
def foo
self.bar = 123 # allowed
self.bar # raises
end
private
attr_accessor ...
08/23/2019
-
11:51 PM Feature #16113: Partial application
- I like Hanmac's idea.
``` ruby
Klass.:meth.curry.()
```
Seems very close to:
``` ruby
Klass.:meth.w()
```
I know it has previously been said that `#curry` is a bit of an easter egg. Would it be acceptable to add keyword... -
11:42 PM Feature #16120: Omitted block argument if block starts with dot-method call
- A bit of an aside, but it's often just as fast to do two iterations with small collections, since the shorthand parses faster.
posts.map(&:author).map(&:name)
I agree with osyo that it seems this proposal collides with existing... -
03:36 PM Feature #16120: Omitted block argument if block starts with dot-method call
- hi.
Its soo good idea.
However, I think it is difficult to parse in the following cases.
```ruby
[10, 20, 30].map{
# 42.to_s(16)
# or
# pp 42
# argument1.to_s(16)
pp 42
.to_s(16)
}
```
-
03:22 PM Feature #16120 (Rejected): Omitted block argument if block starts with dot-method call
- How about considering this syntax for implicit block parameter:
```
[10, 20, 30].map{ .to_s(16) } #=> ["a", "14", "1e"]
```
Infinite thanks to @maedi for [the idea](https://bugs.ruby-lang.org/issues/15723#note-19)
This proposal i... -
11:06 PM Feature #16123: Allow calling a private method with `self.`
- I may not completely understand the issue description. What is the inconsistency? (That is a honest
question, by the way; I am not fully understanding the issue domain.)
I am not even entirely sure what a private attribute writer is ... -
09:03 PM Feature #16123 (Closed): Allow calling a private method with `self.`
- ## Problem
There is an inconsistency between calling a private attribute writer being allowed with `self.value =` syntax and `self.value` not being allowed on a private attribute writer.
Calling a private method in this way can be ... -
10:41 PM Feature #15815: Add option to raise NoMethodError for OpenStruct
- Personally I found the proposed signature confusing, more when taking in account that OpenStruct calls:
```ruby
os = OpenStruct.new(a: 1, exception: true)
# vs
os = OpenStruct.new({a: 1}, exception: true)
```
> I'd like t... -
10:35 PM Bug #12356 (Assigned): Vector covector incorrect multiplication with another vector.
- I don't think this is a bug, but I'll let marcandre make the determination. `Vector` can't be multipled with `Vector`, you get an error. You can multiple a `Vector` by a `Matrix` and vice-versa by design, and `Vector#covector` returns ...
-
10:10 PM Bug #12353 (Closed): Regression with Marshal.dump on ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
-
10:06 PM Bug #12123 (Open): FileUtils.ln_s create a '.symlink' file not a symbolic link on windows
- This is still a bug in master. I have filed a pull request upstream to fix it: https://github.com/ruby/fileutils/pull/39.
-
08:52 PM Bug #12112 (Closed): Resolv.getname with IPv6 noop
-
08:47 PM Bug #11935 (Closed): Date.new returns inconsistent errors when passed invalid arguments
-
08:47 PM Misc #15298 (Closed): Inconsistent date errors
-
08:42 PM Bug #11667 (Closed): Ruby process crashes when TracePoint.new(:raise) is enabled and SystemStackError is raised
-
08:16 PM Bug #16121: Stop making a redundant hash copy in Hash#dup
- I split up the patch into the 4 attached patches, because I realized there were a few changes that could be emphasized independently, each with their own description of the change. Hopefully that will make the optimization itself in the...
-
05:11 PM Bug #16121 (Closed): Stop making a redundant hash copy in Hash#dup
- ## Problem
I noticed while profiling object allocations that Hash#dup was allocating 2 objects instead of only 1 as expected. I looked for alternatives for comparison and found that `Hash[hash]` created a copy with only a single obje... -
05:43 PM Misc #15996: DevelopersMeeting20190829Japan
- * [Feature #16113] Partial application: `fetch(urls).map(&JSON.:parse.w(symbolize_names: true))`
* [Feature #16122] `Struct::Value`: simple immutable value object -
09:13 AM Misc #15996: DevelopersMeeting20190829Japan
- * [Feature #15991] Allow questionmarks in variable names
* Proposal: Allow `?` in variable names
* In #5781, matz is explicitly against an instance variable that ends with `?`
* How about allowing only local variables ?
-
02:44 AM Misc #15996: DevelopersMeeting20190829Japan
- * [Feature #15955] UnboundMethod#apply
* The ticket proposes a shortcut to `unbound_method.bind(obj).call(args...)` without allocation of a Method object. There are some use cases, and looks reasonable to me. What do you think? -
12:56 AM Misc #15996: DevelopersMeeting20190829Japan
- * [Feature #16115] Keyword arguments from method calls or ignore extra hash keys in splat
* It proposes a triple splat (`foo(***opt)`) to pass a keyword hash with filtering out unknown keywords. What do you think? -
05:40 PM Feature #16122 (Closed): Data: simple immutable value object
- ## Intro (original theoretical part of the proposal)
**Value Object** is a useful concept, introduced by Martin Fowler ([his post](https://martinfowler.com/bliki/ValueObject.html), [Wikipedia Entry](https://en.wikipedia.org/wiki/Value... - 04:41 PM Revision b38ab0a3 (git): * 2019-08-24 [ci skip]
-
04:10 PM Revision d5b917d5 (git): Named numbered parameter indexes
-
03:38 PM Feature #16119: Optimize Array#flatten and flatten! for already flattened arrays
- Hanmac (Hans Mackowiak) wrote:
> i see in your patch that you not only check for `Array` but for `to_ary` too, which is nice
Right, but that is just preserving the current behaviour. So the `ary.flatten! if ary.any?(Array)` workarou... -
03:32 PM Feature #16119: Optimize Array#flatten and flatten! for already flattened arrays
- duerst (Martin Dürst) wrote:
> However, I expect this to be slower on arrays that are 'almost flat', i.e.
> ...
The optimization handles this case by doing a quick `ary_memcpy` of everything up to the first nested array to avoid redund... -
07:41 AM Feature #16119: Optimize Array#flatten and flatten! for already flattened arrays
- i see in your patch that you not only check for `Array` but for `to_ary` too, which is nice
@shevegen :
instead of `[input]` i would use `Array(input)` that doesn't create an extra array if input is already one -
06:31 AM Feature #16119: Optimize Array#flatten and flatten! for already flattened arrays
- I use .flatten and .flatten! quite a lot in my ruby code, often setting the
initial input from ARGV but also from other sources, such as used from other
ruby classes, w hen I need to have an array - often something like:
def foo... -
02:02 AM Feature #16119: Optimize Array#flatten and flatten! for already flattened arrays
- I was afraid that this would be an optimization for flat arrays, but increase time for nested arrays. But that's not the case, because at the bottom, there will be flat arrays, and flattening these will be faster.
However, I expect th... -
03:21 PM Feature #15915: `@1` cannot be achieved in meta-programming
- I'm negative to add `ID_NUMPARAM`.
As `rb_is_numparam_id` is not used, and `rb_is_numparam_name` can be implemented without `rb_symname_type`. -
04:41 AM Feature #15915: `@1` cannot be achieved in meta-programming
- Here is an experimental patch.
-
11:52 AM Revision 2e28b367 (git): [ruby/stringio] Fixed a typo
- https://github.com/ruby/stringio/commit/b249631c433f800c979be2705bf63555075db2fc#commitcomment-34804150
https://github.com/ruby/stringio/commit/998d6257fb -
09:05 AM Revision d9b73dcc (git): Remove github_action_linux tag from bundler examples.
- Maybe it has fixed at 5a384e2c08704dc7af9d8d3bdfc475eb8c0723aa
-
08:20 AM Revision 3b55394b (git): Ensure all default gems have an gem folder
- Even if they don't ship with any executables. This makes rbinstall
behaviour consistent with rubygems `gem install --default` command. -
07:54 AM Bug #16117: ruby2.6.3(x86) use fiddle faild to load dll in windows7
- Problem solved:
the dll i used compiled by MinGW, the dll need libstdc++-6.dll, after I add **-static-libgcc -static-libstdc++** compile flag to the dll, problem solved! -
04:57 AM Revision 1c5a2682 (git): Simplify expand_tabs.rb file selection
-
04:00 AM Revision a5b809e9 (git): Check metadata a bit more
-
03:28 AM Feature #15955: UnboundMethod#apply
- Here is a benchmark:
```
class Foo
def foo
end
end
meth = Foo.instance_method(:foo)
obj = Foo.new
10000000.times { meth.bind(obj).call } # 1.84 sec
10000000.times { meth.apply(obj) } # 1.04 sec
``` -
02:40 AM Feature #15955: UnboundMethod#apply
- Hi @nelhage and @darkdimius :-)
I'm attaching a patch for `UnboundMethod#apply(obj, *args, &blk)` as a shortcut to `.bind(obj).call(*args, &blk)` without allocation of a Method object.
I have heard the same situation as Sorbet for ... -
03:27 AM Revision 650cd245 (git): Hoisted out get_digest_obj_metadata
-
01:11 AM Bug #11466 (Closed): Memory leak in win32 fill_random_bytes_syscall
- If `fill_random_bytes_syscall` were to leak memory, then this Ruby code should show the leak:
```ruby
i = 0; while true; puts i if (i+=1) % 10000000; SecureRandom.bytes(1) end
```
As this shows no leak even with with 600000000 it... -
12:53 AM Feature #16115: Keyword arguments from method calls or ignore extra hash keys in splat
- Thank you for proposing ideas. They are interesting to me.
As you said in your second example, it is only possible in callee side: changing the method definition to accept a dummy `**` argument.
```
def hello(who:, **)
end
he... -
12:47 AM Feature #11322: OpenUri: RuntimeError: HTTP redirection loop
- I don't think this is a bug. As 0x0dea (D.E. Akers) pointed out, other programs work the same way. However, I think cookie handling in open_uri could be a useful feature. Attached is a patch that implements the necessary support.
I... - 12:46 AM Revision 9ffb0548 (git): * 2019-08-23 [ci skip]
-
12:45 AM Revision 1d6a31f3 (git): Make AppVeyor notification similar to Travis
08/22/2019
-
11:58 PM Feature #16119 (Closed): Optimize Array#flatten and flatten! for already flattened arrays
- ## Problem
When doing an object profile from stackprof, I noticed object allocations being made from `Array#flatten!` which was unlike other in-place methods like `Array#uniq!` and `Array#compact!`. In this case, I wanted to optimize... -
08:26 PM Feature #16118 (Open): Array .difference allow custom comparison
- Hello!
I wanted to know if there's any plan to implement the ability to define comparison between individual items in arrays.
Here is where I originally asked the question on Stack Overflow: https://stackoverflow.com/questions/5731... -
07:56 PM Feature #16115: Keyword arguments from method calls or ignore extra hash keys in splat
- > I think this could open up some possibilities (or a can of worms).
Some can call it a feature, other may call it a bug. :-)
In regards to keyword arguments, though, I would wait a bit and see
how/if https://bugs.ruby-lang.org/is... -
12:01 PM Feature #16115 (Open): Keyword arguments from method calls or ignore extra hash keys in splat
- Just a thought, feel free to insta-close as stupid.
Currently you can do this:
```
def hello(who:)
puts "Hello, #{who}"
end
opts = { who: 'world' }
hello(who)
```
Or:
```
def hello(who:, **_extra_opts) # without e... -
03:32 PM Bug #11152 (Closed): Resolv::DNS should use Search Domains provided in /etc/resolv.conf by default
-
03:27 PM Bug #10965 (Feedback): logger.rb may not daily rotate
-
02:10 PM Revision fd20b321 (git): Make GitHub Actions Slack notification consistent
- with Travis, rather than AppVeyor.
Formerly it was made similar to AppVeyor to provide some normal set of
CI failure notification. But for some reason people preferred a shorter
variant and introduced a1d606c079f6c3d1779d885e0bf2e399125... - 01:47 PM Revision efc89703 (git): * expand tabs. [ci skip]
- Tabs are expanded because previously the file did not have any tab indentation.
Please update your editor config, and use misc/expand_tabs.rb in the pre-commit hook. -
01:46 PM Revision a4d389d8 (git): Improve the description of MJIT cancel-all [ci skip]
-
01:13 PM Misc #16112: Reduce the possibility of "expand tabs" commit occurrences
- This ticket was resolved with commit:15eaedf805fb2727c79a6c59af6d5f6c2a6d634b.
In addition to that, since people have often objected to "expand tabs" against files which are not related to VM / MJIT (debugging MJIT needs to see prepro... -
12:30 PM Misc #16112 (Closed): Reduce the possibility of "expand tabs" commit occurrences
- Applied in changeset commit:git|15eaedf805fb2727c79a6c59af6d5f6c2a6d634b.
----------
Add misc/expand_tabs.rb ported from auto-style.rb
This is implemented to close [Misc #16112] because all other options got
at least one objection, and... -
11:24 AM Misc #16112: Reduce the possibility of "expand tabs" commit occurrences
- > I like option 3 because it is optional and something I would use. I don't personally like using tabs.
Okay, I'm going to implement this one because nobody has objected to it and all other options had objections from somebody.
> .... -
05:03 AM Misc #16112: Reduce the possibility of "expand tabs" commit occurrences
- k0kubun (Takashi Kokubun) wrote:
> * It would reduce the number of problems for editors like Sublime Text, VSCode, and Atom.
I'm surprised some of the currently most popular editors can't handle such situations. I'm not using one o... -
12:24 PM Revision 15eaedf8 (git): Add misc/expand_tabs.rb ported from auto-style.rb
- This is implemented to close [Misc #16112] because all other options got
at least one objection, and nobody has objected to this solution.
This code is a little complicated for the purpose, but that's just
because it includes some histo... -
12:22 PM Bug #16117: ruby2.6.3(x86) use fiddle faild to load dll in windows7
- **testmml_win.rb code:**
```ruby
require 'fiddle'
require 'fiddle/import'
if ARGV.length < 1
puts "Missing libPath argument..."
puts "Usage: ruby HostTest2.rb libPath"
puts "Sample: ruby HostTest2.rb /home/Protocol... -
12:21 PM Bug #16117 (Rejected): ruby2.6.3(x86) use fiddle faild to load dll in windows7
- I have a dll build by MinGW32 in windows7, in ruby2.2, I could use fiddle dlload this dll success, but in the same system, use 2.6.3 failed to dlload this dll, always report No such file or direcoty.
**///////// Ruby2.2 success load t... -
12:01 PM Bug #16116 (Closed): ruby2.6.3(x86/x64) use win32ole could not new Object, return 0x80070057
- I build a RubyTest.dll by C#, In ruby2.2, I could use WIN32OLE.new to create ole object, but in the same system under ruby2.6.3, it failed to create ole object by WIN32OLE.new, is there any different between ruby 2.2 and ruby 2.6.3 in WI...
-
11:59 AM Bug #14716: SecureRandom throwing an error in Ruby 2.5.1
- I have the same issue running ruby 2.6.3 on MacOS 10.14.6 while using guard on a rails project:
```
13:43:07 - INFO - Running: spec/features/foo_spec.rb
Running via Spring preloader in process 17829
Randomized with seed 57737
Ca... -
11:39 AM Revision 0a74fac9 (git): merge revision(s) fd0e3bd2497d4e796b719c7b7154dc3c945f87b1: [Backport #14834]
- fix VC 2013 compile error
It seems the compiler does not support VLAs.
See also: https://ci.appveyor.com/project/ruby/ruby/builds/26392589/job/px6nuiuw4e78weg1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2... -
11:28 AM Bug #15992: An exception breaks monitor state and cause deadlock
- ruby_2_6 r67749 merged revision(s) 9557069299ac3b96691040a541afa65761a724ad.
-
11:28 AM Revision fbb96f1b (git): merge revision(s) 9557069299ac3b96691040a541afa65761a724ad: [Backport #15992]
- Avoid creating Hash objects per each mon_synchronize call (#2393)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:04 AM Misc #16114: Naming of "beginless range"
- This shows that there are only two real problems in computer science:
- Giving things proper names
- Documenting code after the code has been written
- Off by one errors
:P
From the candidates, I somewhat like mrkn's suggestio... -
04:58 AM Misc #16114: Naming of "beginless range"
- duerst (Martin Dürst) wrote:
> mrkn (Kenta Murata) wrote:
> ...
Oops! The correct candidates are "a range unbounded below" and "a range unbounded above".
Thanks.
-
03:49 AM Misc #16114: Naming of "beginless range"
- mrkn (Kenta Murata) wrote:
> Other candidates from mathematics:
> ...
Shouldn't this be "a range not bounded below"?
> - lower-unbounded range
> ...
Same thing here.
-
12:01 AM Misc #16114: Naming of "beginless range"
- I know that it is an awkward word, but it came from `Range#begin` and `Range#end`. IMO, you can call it as you like.
-
07:36 AM Feature #15864: Proposal: Add methods to determine if it is an infinite range
- > Having `begin?` and `end?` instead of `beginless?` and `endless?` would be more natural, and easy to comprehend.
Agreed. Moreover, `Range#begin` and `#end` just work.
-
03:23 AM Feature #15864: Proposal: Add methods to determine if it is an infinite range
- Having negative meaning in the method name would make it complicated. Having `begin?` and `end?` instead of `beginless?` and `endless?` would be more natural, and easy to comprehend.
In fact, the given use case:
```ruby
def search... -
12:07 AM Feature #15864: Proposal: Add methods to determine if it is an infinite range
- Other candidates from mathematical terms:
- `unbounded?` for checking whether `begin` or `end` is `nil`
- `lower_unbounded?`, `left_unbounded?`, or `unbounded_below?` for checking whether `begin` is `nil`
- `upper_unbounded?`, `righ... -
12:47 AM Misc #15996: DevelopersMeeting20190829Japan
- * [Feature#14183] "Real" keyword argument
* Jeremy and I agreed with Jeremy's proposal. I'd like to ask for matz's final confirmation. -
12:09 AM Misc #15996: DevelopersMeeting20190829Japan
- - [Feature #15864] Proposal: Add methods to determine if it is an infinite range
- I proposed some candidates from mathematical terms -
12:24 AM Revision d8d8015b (git): Remove footer from message to Slack
08/21/2019
-
11:58 PM Misc #16114: Naming of "beginless range"
- Other candidates from mathematics:
- a range bounded below
- lower-unbounded range
- left-unbounded range
If we use "unbounded" for the minimum value of a range, we should rephrase "endless" with the following candidates:
- a ... -
11:34 PM Misc #16114 (Open): Naming of "beginless range"
- #14799 introduces a "beginless range" to complement the already existing "endless range". However, "beginless" isn't an existing word in English. Since the term for something without a beginning is "beginingless", I'd propose renaming "...
-
11:06 PM Bug #10520 (Closed): Resolv fails on additional resources when quering address records
- This should be fixed by commit:2b2450ba4bee563e33af0325b7fde8cb1bfd6899.
-
10:57 PM Revision a1d606c0 (git): Show short message to Slack
-
10:21 PM Revision 1940347f (git): Use () instead of {} for nmake
-
10:03 PM Revision 2d8d6345 (git): `--fomart progress` is default. It's duplicated.
-
10:02 PM Revision 0b0fedad (git): Introduce test-bundler-parallel task.
-
09:15 PM Bug #11636: super in instance_eval in a method defined in a module is invoked with a wrong receiver
- This is still a bug in the master branch. Attached is a patch that
fixes it, making the behavior for super in instance_eval in method
in module the same as super in `instance_eval` in method in class,
raising a `TypeError`.
This i... -
09:02 PM Revision 80082183 (git): Always check multiline termination
- 08:36 PM Revision 8d804e41 (git): Add abs to Matrix (#2199)
-
08:09 PM Revision 48fdc37a (git): IRB's multiline history is enable only when Reidline mode
-
03:55 PM Misc #16112: Reduce the possibility of "expand tabs" commit occurrences
- k0kubun (Takashi Kokubun) wrote:
> Thanks for your comment, Jeremy. Your opinion makes sense except:
> ...
Basically, I am in favor of removing the "expand tabs" commits (stop trying to enforce whitespace). However, if we do keep the ... -
03:18 PM Misc #16112: Reduce the possibility of "expand tabs" commit occurrences
- Thanks for your comment, Jeremy. Your opinion makes sense except:
> 2) I'm against this. If we do keep the "expand tabs", then it should be applied to modified lines as well as new lines, so that we move in the direction of fewer tabs... -
02:51 PM Misc #16112: Reduce the possibility of "expand tabs" commit occurrences
- Here are my opinions on the options:
0) I'm in favor of this. I certainly encourage the use of spaces over tabs, but auto commits for indentation changes are unnecessary and I don't think the benefit outweighs the cost.
1) I'm aga... -
01:59 PM Misc #16112: Reduce the possibility of "expand tabs" commit occurrences
- There's Option 5; altering commits in pre-receive hook on server side. But I think successful `git push` should never make future `git pull` fail. It is a very surprising behavior and would confuse committers. So I'm rejecting this optio...
-
01:12 PM Misc #16112: Reduce the possibility of "expand tabs" commit occurrences
- > I would love it if (1) can happen.
> ...
However, it's something worth considering.
>
> ...
Despite the Vim's default behavior which shows the mixed indentation well, my Vim configuration had shown it weirdly (well, I couldn't find ... - 03:20 PM Revision 6bdb65c0 (git): * 2019-08-22 [ci skip]
-
03:19 PM Revision a9638511 (git): Hoisted out rb_id_metadata
-
03:19 PM Revision 74c6662a (git): Hoisted out rb_digest_namespace
-
02:13 PM Revision c030cec7 (git): Debug GitHub context on broken notification
- sometimes Slack notification footer becomes just " at ".
It seems like `github.event.head_commit` is missing. Let me debug the
context. -
02:06 PM Misc #15996: DevelopersMeeting20190829Japan
- * ~~[Misc #16112] Reduce the possibility of "expand tabs" commit occurrences~~
* Never mind. Resolved before the MTG thanks to @jeremyevans's comment. -
09:51 AM Bug #15992: An exception breaks monitor state and cause deadlock
- 9557069299ac3b96691040a541afa65761a724ad is a follow up commit to ease memory consumption impact of f91879a7b548284c93743168acfd11e3d2aeefac. I think it should be backported too.
-
07:20 AM Revision 3df9f3cc (git): Separated initializing IDs
-
05:14 AM Bug #10471 (Closed): Still DST bug in logger
- From some testing, it appears this issue no longer occurs in the current version of logger. If you can reproduce this issue with the current version of logger, please post a self contained example showing the problem.
-
04:31 AM Revision 4419b5db (git): The investigation is going on...
-
04:26 AM Revision 81dfe3c4 (git): Enable more Time TZ tests on OpenBSD
-
03:52 AM Bug #10460 (Closed): Segfault instead of stack level too deep
- This appears to have been fixed between 2.4 and 2.5, as the example no longer has a segfault on 2.5, 2.6, 2.7.0-preview1, or the master branch.
-
03:49 AM Bug #10436: ruby -c and ripper inconsistency: m(&nil) {}
- This bug still occurs in the master branch. Attached is a patch that fixes the problem by overriding `Ripper::SexpBuilder#on_method_add_block`. This isn't a very clean way to fix it, but I was not able to figure out a way to fix it by ...
08/20/2019
-
11:25 PM Feature #14915: Deprecate String#crypt
- Okay, it is considered deprecated, but the removal won't happen in the near future. Thank you, I see!
-
03:10 AM Feature #14915: Deprecate String#crypt
- I believe the current documentation and code is intentional. I think it is best to consider `String#crypt` deprecated even if we are not emitting warnings for it and we do not have immediate plans to remove it. I would still like to rem...
-
02:57 AM Feature #14915: Deprecate String#crypt
- @jeremyevans0 Let me confirm the state of this ticket. The current rdoc says:
```
Please do
not use this method any longer. It is legacy; provided only for
backward compatibility with ruby scripts in earlier days.
...
If fo... - 11:10 PM Revision a230e65e (git): [bundler/bundler] Freeze time to avoid failures at midnight
- Specify just a string
set @built_at as nil before testing
https://github.com/bundler/bundler/commit/578ec96c9c -
11:10 PM Revision 1c277452 (git): [bundler/bundler] Share test fixtures with parallel_tests
- https://github.com/bundler/bundler/commit/a38161c5be
-
11:10 PM Revision 10011f43 (git): [bundler/bundler] Try to use RunTimeLogger for parallel_tests
- https://github.com/bundler/bundler/commit/faccc522d1
-
11:10 PM Revision ace88852 (git): [bundler/bundler] Parallelize test suite
- https://github.com/bundler/bundler/commit/23007cb107
-
10:58 PM Revision ede77d82 (git): [bundler/bundler] Fix a couple of typos
- https://github.com/bundler/bundler/commit/52b6b94068
-
10:58 PM Revision 1120bacd (git): [bundler/bundler] Remove the :ruby exclusion tag
- Our current set of specs is the same for all supported rubies, and we
should keep it that way.
https://github.com/bundler/bundler/commit/c9dc0f6f2c -
10:58 PM Revision bcc4ac92 (git): [bundler/bundler] Remove another 1.8.7 specific bit
- https://github.com/bundler/bundler/commit/8c7942d2c6
-
10:58 PM Revision 5ea08883 (git): [bundler/bundler] Remove old rubies stuff no longer needed
- https://github.com/bundler/bundler/commit/36fb3287f4
-
09:16 PM Bug #10419 (Closed): ruby 2.1.3 kackes during IO.readlines of huge file
- I was able to reproduce this on `ruby 1.9.3p551 (2014-11-13) [i386-mingw32]`, but not on any `[x64-mingw32]` compiled Ruby. I installed ruby `2.6.3p62 (2019-04-16 revision 67580) [i386-mingw32]` and was no longer able to reproduce the e...
-
08:40 PM Bug #10407 (Closed): Update gc stack marking for m68k
- This appears to have been fixed in commit:c0766464e9ef13418cc719acd674f363b79db29a.
-
08:33 PM Bug #10388: Operator precedence problem in multiple assignment (massign)
- I tried working on this a couple weeks ago and I don't believe the current LALR(1) parser can support it. Attempting to modify the parser to support the behavior you desire leads to many shift/reduce or reduce/reduce conflicts. It is p...
-
08:20 PM Bug #10290 (Closed): segfault when calling a lambda recursively after rescuing SystemStackError
- I was able to reproduce the segfault in ruby 2.3 and 2.4, but not in 2.5, 2.6, 2.7.0-preview1, or the master branch, so I think this problem is fixed. If this problem still occurs for you, please reply with your environment details.
-
08:11 PM Bug #10126 (Closed): Dir.home encoding is incorrect on Windows
-
07:40 PM Feature #14183: "Real" keyword argument
- I've completed work on my keyword-argument-separation branch, and now `make check` passes without any emitted warnings in my environment. To get some early CI testing of this, I have submitted it as a GitHub pull request: https://github...
-
04:26 PM Bug #16111 (Closed): Combining default positional and keyword arguments is resulting in a `to_hash` method call
-
02:26 PM Bug #16111: Combining default positional and keyword arguments is resulting in a `to_hash` method call
- Ok, the situation with keyword parameters is now making more sense, despite not being ideal. Since ruby 3 should implement a fix (backwards compatible or not) I am happy for this issue to be closed.
Thanks to those who commented to b... - 04:04 PM Revision 864f23a4 (git): * 2019-08-21 [ci skip]
-
04:04 PM Revision 88b1f2da (git): `rp(obj)` shows func, file and line. (#2394)
- rp() macro for debug also shows file location and function name
such as:
[OBJ_INFO:rb_call_inits@inits.c:73] 0x000056147741b248 ... -
03:21 PM Bug #14716: SecureRandom throwing an error in Ruby 2.5.1
- Hi,
I am having same issue while running seed data (ruby 2.6.3). I am having it while uplaoding attachments.
```
/Users/myuser/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.0.rc2/lib/active_support/core_ext/securerandom.rb:39:in `bas... -
02:58 PM Revision d10e28b8 (git): Skip tests on Actions if [ci skip]
- It seems that we cannot easily apply job-level [ci skip].
Therefore this commit skips only Tests step if it's [ci skip]. -
01:33 PM Revision 235d810c (git): Deprecate alerting multiple channels
- Some CIs report to two channels, and some others report to only one.
This makes it consistent. Only alert channel should be alerted. -
01:08 PM Revision 95570692 (git): Avoid creating Hash objects per each mon_synchronize call (#2393)
-
12:47 PM Bug #9115: Logger traps all exceptions; breaks Timeout
- There're also rescue-clauses for `check_shift_log` and `@dev.write(message)`.
They may raise various exceptions and logger.rb never knows that.
Explicitly passing those exceptions are general way, but are there any exceptions other t... -
06:45 AM Bug #9115: Logger traps all exceptions; breaks Timeout
- See the code again before discuss.
```ruby
def write(message)
begin
synchronize do
if @shift_age and @dev.respond_to?(:stat)
begin
check_shift_log
rescue
... -
10:29 AM Revision af121720 (git): Removed unused literal assignments [ci skip]
-
10:29 AM Revision 7a07c54b (git): Subjects may contain a comma [ci skip]
-
08:26 AM Misc #16112: Reduce the possibility of "expand tabs" commit occurrences
- I second what Alan said, editing Ruby source with my editor is a nightmare.
On another note, the main objection for getting rid of tabs once and for all seem to be `git blame`, so I wonder wether `git filter-branch` was considered.
... -
08:00 AM Revision 73af1c4d (git): [rubygems/rubygems] Use `RbConfig::CONFIG['rubylibprefix']`
- It is defined since ruby 1.9.2.
https://github.com/rubygems/rubygems/commit/84981ca908 -
07:07 AM Revision dd58c4ba (git): Investigation of a sporadic error at Github Actions
-
01:28 AM Feature #16113: Partial application
- An aside, but I took a stab at a pure Ruby implementation of keyword argument currying: https://gist.github.com/havenwood/db041566abeac894602c188c77374040
``` ruby
['{"aim":true}', '{"impossible":false}'].map &JSON.:parse.curry.(symb... -
12:46 AM Revision 5a384e2c (git): Fix some bundler specs (#2380)
- * These seem to consistenly pass already
* Show actual command when running `make test-bundler`
Current the setup command that installs the necessary gems for testing
bundler was printed, but not the actual command that runs the tests....
08/19/2019
-
11:55 PM Bug #15989: irb-1.1.0.pre.1 crashes on using arrow up, home and delete
- @maciej.mensfeld In latest revisions of IRB and Reline, this problem can't be reproduced. Maybe it's fixed.
-
11:31 PM Revision aa03de8b (git): Treat two types "do" correctly
- A "do" what has followed a token what has EXPR_CMDARG is for a block,
and in other cases "do" is for "while", "until" or "for". -
07:45 PM Bug #16098 (Closed): SEGV with RUBY_ISEQ_DUMP_DEBUG=to_binary make check
- Applied in changeset commit:git|dc0e45e39b37556af8abf6cdb0180e2973041931.
----------
Update moved objects in original_iseq
Without doing this, enabling a TracePoint on a method could lead to use
of moved objects. This was found by runn... -
07:44 PM Revision dc0e45e3 (git): Update moved objects in original_iseq
- Without doing this, enabling a TracePoint on a method could lead to use
of moved objects. This was found by running
`env RUBY_ISEQ_DUMP_DEBUG=to_binary make test-all`, which sets
orignal_iseq then runs the compaction tests and the tracep... -
06:46 PM Misc #16112: Reduce the possibility of "expand tabs" commit occurrences
- I would love it if (1) can happen. Editors like Sublime Text, VSCode and Atom cannot
distinguish between indent size and tab size, so they have trouble handling the
current style. I use Sublime and have to set my indentation size to 8 ... -
09:12 AM Misc #16112: Reduce the possibility of "expand tabs" commit occurrences
- Option 4 is not a lethal tab killer, but nevertheless a good thing to have.
-
08:42 AM Misc #16112: Reduce the possibility of "expand tabs" commit occurrences
- My (weak) vote goes to 1, or 0 (just drop "expand tabs" :-).
-
08:09 AM Misc #16112 (Closed): Reduce the possibility of "expand tabs" commit occurrences
- ## Problem
* While we agreed to use only spaces for indentation of C code in [Bug #14246], we sometimes hit "expand tabs" commit when we just edit a part of existing lines with hard tab indentation.
* "expand tabs" commit bothers peopl... -
05:14 PM Revision 19b0161b (git): Check whether syscall(2) is deprecated by actual warnings
-
05:14 PM Revision 588b74e8 (git): Check for minimum required OSX version earlier
-
05:14 PM Revision 9ee770a2 (git): Bail out if unsupported old MacOSX is required
-
05:14 PM Revision af2c8d28 (git): Fixed the check for OSX version
- Should compare minimum required version, and with the particular
macro defined for each version. Also made the error messages
consistent. - 05:05 PM Revision e6b72e8c (git): retrieve current path on macOS
-
04:45 PM Bug #16111: Combining default positional and keyword arguments is resulting in a `to_hash` method call
- I think that either way, resolving it may not be trivial/simple right now; if you
look at mame's linked in issue above at #14183, it mentions 19 (somewhat) related
issues concerning keyword arguments. Jeremy also pointed out some bugs ... -
08:22 AM Bug #16111: Combining default positional and keyword arguments is resulting in a `to_hash` method call
- Ok, thanks for the reply. That now makes more sense. I understand why the last positional argument is type-checked but surely trying to convert it using `param#to_hash` is a step too far? Doing so basically means that the last positional...
-
06:13 AM Bug #16111: Combining default positional and keyword arguments is resulting in a `to_hash` method call
- > I would like to know why the method to_hash is being called
A method call that accepts keywords checks if the last argument is a Hash or not. The check includes attempting to convert it by using `to_hash`. This is the behavior you... -
05:47 AM Bug #16111 (Closed): Combining default positional and keyword arguments is resulting in a `to_hash` method call
- Combining default positional and keyword arguments is resulting in a `to_hash` method call when I don't believe it should be. It's affecting some code I am writing. The full details of the behaviour I'm describing can be seen in the atta...
-
04:24 PM Feature #15982: Remove y2racc and racc2y
- Yes, the stable racc has them, but
1. They were never shipped in Ruby, so if they won't be shipped, nobody should miss them.
2. It is not clear if they outputs are useful or reliable, so why to ship them if you can't tell they are us... - 03:21 PM Revision 1408f159 (git): * 2019-08-20 [ci skip]
-
03:17 PM Revision 8df25214 (git): io.c: make ioctl_req_t int in Android
- The second argument of ioctl seems to be int in Android.
Android is not a supported platform, but this one-line change allows
ruby to build by Android NDK r20. -
02:28 PM Bug #16110: Doesn't detect deadlock on Ruby 2.4 and 2.5 on Windows
- Is this specific to 32 bit builds of 2.4 & 2.5? I think 64 bit builds all function as expected...
-
12:23 PM Feature #16113: Partial application
- the Devs should maybe look at `#curry` for this, currently it doesn't support a way to curry keyword arguments
-
11:11 AM Feature #16113: Partial application
- Personally I dislike this proposal primarily due to the name alone. I don't think
a method named .m is good in this context.
We do have short named methods here and there, of course, such as "p" or "pp",
but I feel that these cases ... -
10:07 AM Feature #16113 (Open): Partial application
- **Preface:** One of the main "microstructures" of the code we use is chaining methods-with-blocks; and we really love to keep those blocks DRY when they are simple. Currently, for DRY-ing up simple blocks, we have:
* `foo(&:symbol)`
... -
10:37 AM Revision 45bed285 (git): Reduce sub-shell and use `&&` instead of `;`
-
09:43 AM Revision 8882986d (git): Drop duplicated sample code (#2389) [ci skip]
- * Drop duplicated sample code
* Drop another style sample
https://github.com/ruby/ruby/pull/2389#issuecomment-522489520
* Update sample list -
09:37 AM Revision 209ea85b (git): Make portable for standalone test-unit gem.
- * It can invoke test-unit with envutil.rb
* refute_match of test-unit couldn't handle String instance. -
09:16 AM Revision 9b330200 (git): Remove unused variable to suppress warning (#2388) [ci skip]
- ```
sample/observ.rb:30: warning: assigned but unused variable - clock
``` -
09:13 AM Revision 97c377e2 (git): Mark Travis osx cron-only
- because it has often hanged like
https://travis-ci.org/ruby/ruby/jobs/573691637,
and we also have almost the same test suite on GitHub Actions now, which
seems to be stable in `make check` so far. -
09:00 AM Revision cda86644 (git): Update a sample code (#2387)
- Kernel#inspect does not call #to_s now
To follow https://github.com/ruby/ruby/commit/fd7dc23d281f38a71fa7f9c32812cd468c4b1788 -
08:52 AM Revision 355acbaf (git): Update the canonical repository url
- 08:36 AM Revision 6dd9736c (git): crash report on mac little update
- displaying vm info as Linux and FreeBSD.
checking libproc as it is present only from 10.5 version.
https://github.com/ruby/ruby/pull/2384 -
08:30 AM Revision 605d2ce9 (git): Accurate a sample to show having some ext (#2385)
-
07:39 AM Revision 45454bdb (git): Prefer Regexp#=~ to Regexp#match when the RHS may be nil
-
07:32 AM Revision b4daa442 (git): Use modifier for pid_t
-
07:18 AM Revision 8108594f (git): unsigned int should have enough bits for rb_thread_shield_waiting
-
07:09 AM Misc #16109 (Closed): Normalize legacy tag names
- And this is the current `git ls-remote`. Now it looks more consistent.
## after
```
$ git ls-remote origin
1bd60c66d385142d08f678f8a9563c311cfc3fe8 HEAD
1bd60c66d385142d08f678f8a9563c311cfc3fe8 refs/heads/master
ab6... -
07:08 AM Misc #16109: Normalize legacy tag names
- Done. Here's the full operation log:
```
$ git push origin :v1_3_1_
remote: To git@github.com:ruby/ruby.git
remote: - [deleted] v1_3_1_
To git.ruby-lang.org:ruby.git
- [deleted] v1_3_1_
$ git push origi... -
06:39 AM Misc #16109: Normalize legacy tag names
- I'm going to apply this. I captured the current status of git.ruby-lang.org/ruby.git.
## before
```
$ git ls-remote origin
c5db4c28f9349eb296a360dc08d6b88be66916d1 HEAD
c5db4c28f9349eb296a360dc08d6b88be66916d1 refs... -
06:55 AM Revision 1bd60c66 (git): Fix FL_USER19
- * include/ruby/ruby.h: cast via `unsigned int` explicitly, to get
rid of signed extension by implicit integer promotion. - 06:37 AM Revision 4515bcc9 (git): Omit version.h when merging
-
06:35 AM Bug #15793: Please backport 7b7043e5da8589e01b94575d4ed647e909e5c875
- ruby_2_5 r67748 merged revision(s) f4fe2a76b0564e8e572936dec3bd724ac22b7a44.
- 06:35 AM Revision bad64833 (git): merge revision(s) f4fe2a76b0564e8e572936dec3bd724ac22b7a44: [Backport #15793]
- merge revision(s) 7b7043e5da8589e01b94575d4ed647e909e5c875: [Backport
#15793]
eliminate use of freed memory
rb_io_fptr_finalize_internal frees the memory region.
===============... -
06:01 AM Revision c5db4c28 (git): cont.c: remove unused STACK_GROW_DIR_DETECTION
- to suppress a waring for "unused variable"
-
05:59 AM Revision 6c2aa868 (git): Roughly retry `brew update`
- as it failed randomly https://github.com/ruby/ruby/runs/196712109
-
05:51 AM Feature #15743 (Closed): RubyVM should be renamed to CRuby
- Applied in changeset commit:git|39a43d9cd09f8c880d0a70d9cb8ede6d7e6ef583.
----------
Make it as clear as possible that RubyVM is MRI-specific and only exists on MRI (#2113) [ci skip]
* Make it clear as possible that RubyVM is MRI-speci... -
05:51 AM Revision 39a43d9c (git): Make it as clear as possible that RubyVM is MRI-specific and only exists on MRI (#2113) [ci skip]
- * Make it clear as possible that RubyVM is MRI-specific and only exists on MRI
* See [Bug #15743].
* Use "CRuby VM" instead of "Ruby VM" for clarity.
* Use YARV rather than "CRuby VM" for documenting RubyVM::InstructionSequence
* Avoi... -
05:43 AM Revision d76be10d (git): missing/memcmp.c: suppress a `-Wparentheses` warning
- 05:34 AM Revision 1f3f50fb (git): * expand tabs. [ci skip]
-
05:34 AM Revision 574a9edf (git): Set flag to allow unprivileged users to create symlinks (#2381)
- * [Win32] set flag to allow unprivileged users to create symlinks
-
01:44 AM Feature #15215: HTTPS server name indication (SNI): explicit server_name in Net::HTTP
- aspettl (Aaron Spettl) wrote:
> I still like to have this feature. Any opinion on this? Especially @naruse as a maintainer of lib/net/http(s).rb?
> ...
+1 as well -
01:17 AM Bug #16108 (Rejected): gsub gives wrong results with regex backreferencing and triple backslash
- This is a designed behaviour. A backslash character is first cooked by the ruby interpreter (to handle `\'` etc), then cooked again by gsub's own preprocessor (to handle `\1` etc). You have to understand exactly what is going on to pla...
-
01:07 AM Revision bc1e2271 (git): lib/rdoc/markup/parser.rb: remove a unused variable initialization
-
12:47 AM Revision 4c133689 (git): Make AppVeyor notification colors consistent
- It was using the same one as original AppVeyor's notification, but it's
just inconsistent with others like Travis and GitHub Actions. -
12:41 AM Revision d106f082 (git): Stop reporting test-bundled-gems results
- by marking continue-on-error.
I dropped it to test Slack notification, and I finished to test it.